Optimizer Evolution in Next-Generation LLM Training: From Gradient Descent to Orthogonalized Updates

    Optimizers are often treated as a solved problem in deep learning, yet they directly determine convergence speed, training stability, and compute efficiency in large-scale model pretraining. This article reviews the design logic of optimizers: the problems they solve, why classical methods fall short, how momentum and adaptive methods evolved, and why orthogonalized update methods are gaining attention in large-scale training. It also offers practical engineering guidance for teams training or fine-tuning models.

    Optimizer Evolution in Next-Generation LLM Training: From Gradient Descent to Orthogonalized Updates

    1. Introduction: Why Optimizers Deserve Their Own Discussion

    As recent technical disclosures about next-generation large model training have emerged, the novel optimizers used in these training runs have become a focal point of industry discussion. Compared to model architecture and data engineering, optimizers are often regarded as a “mature component,” but in reality they directly determine convergence speed, training stability, and the effective utilization of compute. In pretraining tasks that consume tens of thousands of GPU-hours, even a few percentage points of efficiency improvement from an optimizer translates into a significant cost saving.

    Building on this technical trend, this article systematically reviews the design logic of optimizers: what problems they solve, why classical methods are insufficient, how momentum and adaptive methods evolved, and why a new generation of methods—represented by orthogonalized updates—has emerged in large-scale training.

    2. The Role of the Optimizer: A “Navigation Strategy” for Deep Learning Training

    The goal of training a neural network is to minimize a loss function. A classic analogy helps: imagine a blindfolded person placed in a mountain range whose goal is to reach the valley floor. They have two sources of information:

    • The loss function: tells you the “altitude” at your current position—how badly the model performs under the current parameters;
    • The gradient (computed via backpropagation): tells you the direction of the slope under your feet—which direction of parameter change will reduce the loss.

    The optimizer is the walking strategy in the brain: it decides which direction to step next and how large each step should be. A good strategy typically needs to handle two things well.

    2.1 Controlling Step Size (The Learning Rate Problem)

    If the steps are too large, you may leap over the valley floor onto the opposite hillside, causing the loss to oscillate without converging. If the steps are too small, training advances extremely slowly and wastes enormous compute. Advanced optimizers adaptively adjust the step size: moving faster across flat regions and slowing down in steep areas near a minimum.

    2.2 Escaping Bad Terrain (Local Optima and the Ravine Problem)

    High-dimensional loss surfaces are far from smooth; they contain many local depressions and long, narrow ravines. Relying solely on the current gradient to determine direction makes it easy to get stuck in a small pit halfway down, or to bounce back and forth between the walls of a ravine while making little progress.

    3. The Evolution of Classical Methods

    3.1 Stochastic Gradient Descent (SGD): The Simplest Strategy

    The idea behind SGD can be traced back to the 19th-century mathematician Cauchy’s work on optimization. It takes small steps along the current negative gradient direction, in an extremely simple form:

    1. # Pseudocode
    2. for each batch:
    3. g = compute_gradient(batch)
    4. w = w - lr * g

    SGD’s implicit assumption is that the parameter update is a “massless particle” sliding on the loss surface—it can instantly accelerate from rest to full speed and instantly stop. This is physically unintuitive and leads to practical inefficiency: in a narrow ravine, gradient magnitudes differ drastically between the steep and gentle directions, so SGD oscillates along the steep direction while creeping along the gentle one.

    3.2 Momentum: Adding Inertia to the Particle

    To address this, Soviet mathematician Boris Polyak proposed the famous Heavy Ball Method in 1964. Its core idea is highly intuitive: give the sliding particle “mass” and “inertia.” The update considers not only the current gradient but also an exponentially weighted average of past gradients:

    1. v = beta * v + g
    2. w = w - lr * v

    Inertia works in two ways: first, in a ravine, the oscillating components that alternate in direction cancel each other out through historical averaging; second, the consistent components along the gentle direction accumulate and amplify, accelerating progress. This is vividly described as “a heavy ball rolling downhill is not easily tripped by small pits.” The subsequent Nesterov Accelerated Gradient further introduced a “lookahead” mechanism—first taking a trial step along the momentum, then computing the gradient at the lookahead point to correct the direction—achieving theoretically better convergence rate guarantees.

    3.3 Adaptive Methods: A Customized Learning Rate per Parameter

    Adaptive optimizers such as Adam maintain, in addition to momentum, an exponential moving average of squared gradients. This approximates the historical gradient magnitude of each parameter and is used to scale the learning rate per parameter:

    1. m = beta1 * m + (1 - beta1) * g # first moment: momentum
    2. v = beta2 * v + (1 - beta2) * g ** 2 # second moment: gradient magnitude
    3. w = w - lr * m / (sqrt(v) + eps)

    Sparse parameters with consistently small gradients receive relatively larger effective step sizes, while the opposite are scaled down. Thanks to its robustness to hyperparameters, Adam has long held the mainstream position in large model training.

    4. A New Direction: Why Orthogonalized Updates Matter

    In recent years, the industry has proposed a new class of methods (represented by a novel optimizer whose core ideas have been publicly discussed in the research community): instead of only asking “which direction to go and how fast,” they ask “whether the geometric shape of the update is healthy.”

    The key observation is that Adam’s element-wise operation of dividing the first moment by the square root of the second moment distorts the geometric structure of the update vector, causing updates to be unevenly distributed in parameter space. These new methods apply orthogonalization to the update matrix after momentum—for example, approximately projecting the update onto an orthogonal basis via matrix factorization—so that update magnitudes become more balanced across directions.

    Schematically, the update procedure can be summarized as:

    1. m = beta * m + g # momentum accumulation
    2. u = orthogonalize(m) # approximate orthogonalization of the update
    3. w = w - lr * u / normalize(u) # apply after RMS normalization

    The reported benefits include:

    1. A flatter spectral distribution of update directions, preventing a few dominant directions from “monopolizing” the step-size budget;
    2. Reduced sensitivity to learning rate hyperparameters and greater stability in later training stages;
    3. In publicly reported practice on large-scale language model pretraining, better loss curves under the same compute budget, or equivalent quality with less compute.

    Of course, these methods come with costs: orthogonalization involves matrix factorization-type operations, and the additional memory and compute overhead must be weighed in engineering. Moreover, in certain task settings (such as vision tasks or small-scale models), their advantage over Adam is not always significant, and ablation experiments should be conducted for specific scenarios.

    5. Engineering Practice Recommendations

    For teams that need to train or fine-tune models themselves, the following path can serve as a reference:

    • Small-scale fine-tuning and rapid validation: prefer Adam-family optimizers, whose hyperparameters are mature and behavior is predictable;
    • Large-scale pretraining or compute-cost-sensitive scenarios: compare convergence curves of momentum-based, adaptive, and orthogonalized optimizers on small-scale proxy experiments before deciding whether to switch;
    • Hybrid strategies: a common industry practice is to use different optimizers at different training stages or for different parameter groups, balancing early-stage stability with late-stage efficiency;
    • Supporting engineering: optimizer states often consume memory on the same order as the parameters themselves. Techniques such as sharded optimizer states across distributed workers and low-precision optimizer states are essential for large-scale training.

    6. Conclusion

    From Cauchy’s plain gradient descent, to Polyak’s Heavy Ball Method, to the emergence of adaptive methods and orthogonalized updates, the evolution of optimizers is fundamentally a history of continually refining physical intuition about the parameter update process. Optimizer-level breakthroughs in next-generation large model training remind us that beyond model architecture, the training algorithm itself still holds enormous room for optimization. For developers, understanding the first principles behind these methods is more valuable than memorizing the name of any specific one—because the next paradigm shift may well be born from rethinking these foundational questions.