Jargonautica
How the Machinery Works

Optimiser

Also called: Adam, AdamW, Stochastic Gradient Descent

The component that decides how to apply each update during training. Plain gradient descent takes a fixed-size step downhill; better optimisers adapt the step for each parameter based on its recent history, which makes training faster and much less fussy to configure.

Technical view

Adam and its weight-decay-corrected variant AdamW are the practical default, maintaining per-parameter estimates of the first and second gradient moments. Momentum accelerates along consistent directions and damps oscillation. The optimiser state is typically twice the parameter count in memory, which is a major constraint on large-scale training and the target of sharding techniques. Newer optimisers claim faster convergence but adoption is cautious given the cost of a failed run.


Part of AI Terminology Index, section: How the Machinery Works.

How it connects

Optimiser links to 5 other terms. The faint lines are links between those terms. See it in the full graph.

Gradient DescentGradient DescentLoss LandscapeLoss LandscapeHyperparametersHyperparametersLearning Rate ScheduleLearning Rate Sched…Sharding and ZeROSharding and ZeROOptimiser