Why Matrix Orthogonalization Optimizers Are Becoming the New Choice for Large Model Training

    This article explains why matrix orthogonalization optimizers such as Muon are gaining attention as an alternative to conventional adaptive optimizers for large model training. It covers the memory bottleneck created by element-wise optimizers like Adam, the origin and core principle of matrix-level orthogonalization, the dual benefits in memory usage and convergence speed, the skepticism about whether the approach holds up at scale, and the engineering considerations for evaluating it in practice.

    1. The Cost Dilemma of Large Model Training

    As parameter counts move toward the hundreds of billions and even the trillions, training a large model is no longer as simple as building the network and feeding it data. The real cost bottleneck often lies not in peak compute, but in memory—the same resource that determines how large the model can be, how high the batch size can go, and how long the context length can stretch. In this ongoing battle for memory, the dominant players have long been the adaptive optimizers that almost everyone uses.

    2. The Mechanism and Cost of Traditional Adaptive Optimizers

    For a long time, mainstream training has been dominated by element-wise adaptive optimizers, with Adam as the leading example. Its popularity comes from its strong adaptivity: it automatically adjusts the effective learning rate for each parameter, and it converges stably while being friendly to tune across many tasks.

    But this “elegant adaptivity” comes at a price. Adam maintains statistics separately for every element in the weight matrix. Concretely, beyond the parameters themselves and the gradients, it allocates two additional chunks of memory per parameter:

    • First moment m_t: a moving average of the gradient that captures the update direction;
    • Second moment v_t: a moving average of the squared gradient, used for element-wise adaptive scaling.

    The code below illustrates this:

    1. # Element-wise adaptive update (Adam-like, illustrative)
    2. m = beta1 * m + (1 - beta1) * grad # first moment, must stay resident in memory
    3. v = beta2 * v + (1 - beta2) * grad * grad # second moment, must stay resident in memory
    4. w -= lr * (m / (1 - beta1**t)) / (sqrt(v / (1 - beta2**t)) + eps)

    The key problem is this: in mixed-precision training, these two state variables can be as large as the parameters themselves, or even larger. For a model at the trillion-parameter scale (on the order of 1.6T), simply storing these two momentum states can consume more than ten terabytes of memory. This overhead produces no forward or backward computation value, yet it directly squeezes the room available for batch size and context length. The result is that teams must either shrink batches and add communication and parallelism complexity, or stack more devices—both of which drive up the overall training cost sharply.

    3. The Origin of Matrix Orthogonalization Optimizers

    At its core, optimization is about answering one question: how should the weights be updated? While everyone kept squeezing efficiency within the Adam framework, a different idea emerged from a racing challenge whose goal was to train a mini GPT model to a target loss value with the least compute and time.

    While others around him focused on element-wise adaptive schemes, one researcher took a different path and was the first to implement and publish a method called Muon (widely known in the industry as the “matrix orthogonalization optimizer”). His key finding was that simply orthogonalizing the gradient (or momentum) matrices of the hidden-layer parameters caused the number of training steps needed to reach the target loss to drop off a cliff. This idea quickly broke the racing record at the time and brought the notion of “optimizing matrices as a whole” into the mainstream.

    It is worth noting that orthogonalization is typically achieved through approximate iteration—for example, the classic Newton–Schulz iteration—which pushes the input matrix toward an orthogonal matrix with “balanced scaling across directions” using relatively few matrix multiplications, at a cost far lower than pursuing an exact decomposition.

    4. Core Principle: Element-wise Update vs. Matrix-level Update

    The fundamental difference between the two optimizers lies in the granularity of optimization.

    Adam optimizes element by element. It treats the weight matrix as a table of independent numbers, computing a direction and scaling the step for each element individually—as if every parameter were an island unto itself.

    The matrix orthogonalization optimizer treats the matrix as a whole. In its view, a 1000×1000 weight matrix is an indivisible high-dimensional geometric space. It does not care about the rise or fall of individual elements; instead, it “regularizes” the matrix formed by combining the gradient and momentum into an orthogonal matrix—one whose scaling tends to be consistent across all singular directions, with more balanced directional information—and then adds this matrix to the weights all at once.

    1. # Matrix orthogonalization update (Muon-like, illustrative)
    2. buf = beta * buf + (1 - beta) * grad # maintain only one momentum buffer
    3. O = orthogonalize(buf) # orthogonalize the momentum matrix as a whole
    4. w -= lr * O # update all at once, not element-wise scaling

    This brings a direct engineering benefit: the state variables drop from two to one. The momentum buffer only needs to store matrix-shaped quantities, with no second-moment state required, which significantly reduces memory usage and frees up room for larger batches and longer contexts.

    5. An Intuitive Analogy: Skirmishers vs. Phalanx

    An example with iron balls rolling downhill may make this easier to grasp.

    In Adam’s world, a group of iron balls acts on its own: it must individually specify the next step of each single ball, making adjustments down to the element level. This mechanism is flexible, but also cumbersome and expensive.

    The matrix orthogonalization optimizer, by contrast, first has all the balls line up and form a phalanx, then moves them forward together at a unified pace. The former is like soldiers strolling freely, the latter like troops marching in formation—which “command efficiency” is higher is self-evident. This whole-matrix update lets parameters move in coordination within the matrix space, avoiding the directional chaos and redundant storage that come from element-wise adjustment.

    6. Dual Benefits in Memory and Training Efficiency

    The advantages of the matrix orthogonalization approach can be summarized on two levels:

    • Memory level: the momentum state drops from two copies to one, organized in matrix form, directly easing the tightest memory constraint in large model training and giving batch size and context length more room to maneuver.
    • Convergence level: orthogonalization makes updates more balanced across directions, often reaching the target loss in fewer training steps—which means shorter wall-clock time and lower overall compute consumption.

    It is the combination of these two effects that has led the method to be seen as an important industrial innovation—it not only saves memory but simultaneously optimizes both the “capacity” and the “speed” of training.

    7. From Small Models to Industrialization: Skepticism and Validation

    However, this neat “phalanx-style” advance met with reasonable skepticism from the start.

    The most typical objection is: “Would you really march in a phalanx on the battlefield? You still advance in skirmish lines. So this method may look orderly, but it isn’t actually practical.” Such skepticism is not unfounded—early on, the method was mainly proven on very small models (for example, small models at the hundred-million-parameter level), and it still lacked thorough validation over ultra-large-scale, long-duration training. Whether a whole-matrix update can remain stable and efficient under massive parameter counts and complex task distributions is a question that practice must answer.

    From the perspective of methodological evolution, whether it can truly reach industrialization depends on several key points:

    1. Scalability: whether the benefits and stability still hold when going from hundreds of millions to hundreds of billions or trillions of parameters;
    2. Scope of applicability: it typically applies to the two-dimensional weight matrices of hidden layers, while embedding and output layers often still use traditional adaptive schemes, so a sensible combination is needed;
    3. Engineering ecosystem: orthogonalization iterations introduce additional matrix multiplications and communication, so whether they can work efficiently with existing parallelism strategies, mixed precision, and operator libraries determines whether the method is “worth it.”

    It is precisely through accumulating engineering validation on these fronts that the matrix orthogonalization optimizer moved from a clever idea in a racing challenge to a viable option for large-scale pretraining.

    8. Engineering Considerations in Practice

    If you plan to evaluate this class of methods in your own training, the following points are worth prioritizing:

    • Mix rather than replace entirely: a common approach is to use matrix orthogonalization for hidden layers while keeping adaptive optimizers for the rest, balancing benefits and stability;
    • Watch the cost of orthogonalization iterations: the number of approximate orthogonalization iterations is a tunable trade-off—too few hurts orthogonalization quality, while too many erode the compute savings;
    • Tune jointly with parallelism strategies: since orthogonalization operates on matrices, make sure the matrix structure stays intact and the splitting is sensible under tensor parallelism and pipeline parallelism;
    • Start from a small-scale baseline: first validate the convergence curve and memory behavior at a controllable scale, then scale up gradually to the target size.

    9. Conclusion

    From “fine-grained element-wise adjustment” to “coordinated whole-matrix advancement,” the matrix orthogonalization optimizer represents a shift in thinking about the granularity of optimization. With fewer memory states and more balanced update directions, it offers a path to reducing cost and improving efficiency in large model training that differs from the traditional adaptive route. It does not aim to completely replace the mature solutions that have been used for years; rather, it demonstrates distinctive and pragmatic value in the specific scenario of ultra-large-scale training. For training teams struggling with memory and cost, understanding and evaluating this class of methods may be exactly the key to unlocking new optimization space.