Navigation überspringen
For years, AdamW has been the default optimizer behind every LLM training run on the planet.
0:00 / 17:47

For years, AdamW has been the default optimizer behind every LLM training run on the planet.

Deliriumm

@0xDeliriumm8773 Follower

Auf X besuchen

14.600 Aufrufe

For years, AdamW has been the default optimizer behind every LLM training run on the planet. A new optimizer called Muon is twice as computationally efficient - and the core idea is embarrassingly elegant: orthogonalize the momentum matrix. The same singular value decomposition that powers every matrix operation inside transformer attention layers, turned into the optimizer itself. Adam treats all parameters as one flat vector, ignoring the matrix structure entirely. Muon sees the 2D shape and amplifies rare gradient directions that Adam misses - the directions that capture nuanced patterns in data. Full SVD is too expensive to run every step, so Muon approximates it with Newton-Schulz iterations: five rounds of matrix multiplications that push all singular values toward one without ever computing the decomposition. Pure GPU-native operations, no overhead. For stable training at scale they added QK-clip - if attention logits exceed a threshold, rescale the query and key projection weights per head. DeepSeek's multi-head latent attention gets its own variant called MuonClip that handles shared rotary key matrices without double-rescaling. 18 minutes. Bookmark & watch today. The optimizer that might replace AdamW inside every LLM training pipeline.

10 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Alexandru-Andrei Rotaru

    @rotaruzaurul

    I am genuinely impressed by the solution's technical ingenuity. However, I want to point out a broader issue that has been bothering me for a while: the math is decoupled from real-world practicalities, and that has profound drawbacks. How is an algorithm (more efficient) genuinely better when I spend most of my time figuring out regression and improvements in the verticals of the task domain? No amount of clever math will fix the fact that your dataset underrepresents certain cases. To make an analogy, if you make one flight more fuel-efficient to cut CO2 emissions, you end up optimising a local element, while more and more people travel because of "less costly flights", cancelling the savings or even increasing overall CO2 emissions. From what I can tell, we keep making "one flight more fuel efficient" (a.k.a. smarter training algos), while the overall trustworthiness and commercial viability of the products don't really improve, and may even get worse.

    5 Likes

  • Profilbild von Michael

    @Michael50718149

    New? muon has been around for a while

    5 Likes

  • Profilbild von Jia-Bin Huang

    @jbhuang0604

    Bro…

    5 Likes

  • Profilbild von Dev Patel

    @devnp2007

    i learnt so much in these 17 minutes though it will take time to full absorb in , great video !!

    3 Likes

  • Profilbild von Hudson Gouge

    @HudsonGouge

    lol. Are you from 2024?

    2 Likes

  • Profilbild von karter

    @nomotvation

    the part that gets left out: muon only covers the 2d matrices. embeddings, biases, norms still run on adamw in practice. so it's a hybrid, not a replacement. that changes what the 2x claim can mean.

    1 Like

  • Profilbild von ReignSwords

    @ReignSwords

    The SVD angle is what makes it click for me — instead of letting momentum drift in every direction, Muon keeps the update close to orthogonal. Curious how much of that 2x holds up outside large transformer runs, though — has anyone seen it shine on smaller models too?

  • Profilbild von Alex

    @alex_smmr

    Awesome! 🔥🔥🔥

  • Profilbild von shubh

    @subham_dev_ai

    I can understand every bit of this .

  • Profilbild von AI Quanting

    @AIQuanting

    Is the 2x figure from the original small runs, or has anyone shown it holding at frontier scale? That's the part I keep looking for. Optimizer wins have a habit of shrinking as the token budget grows.