Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Mechanical Dreams

Mechanical Dreams artwork

NorMuon- Making Muon more efficient and scalable

Jan 7, 202619 minAudio
ShareXLinkedInFacebookWhatsAppEmail

In this episode: • Introduction: The Optimizer Menagerie: Professor Norris and Linda kick off the episode by discussing the explosion of new optimizers in the LLM space. Linda introduces 'NorMuon,' a paper from Georgia Tech and Microsoft that attempts to bridge the gap between the industry standard, AdamW, and the geometric newcomer, Muon. • The Geometry Problem: Why Adam and Muon Fall Short: Linda explains the fundamental trade-off: Adam handles coordinate-wise scaling well but ignores matrix geometry, while Muon fixes the geometry via orthogonalization but suffers from imbalanced update norms across neurons. Norris challenges the necessity of fixing Muon, prompting a discussion on 'condition numbers' versus 'neuron norms.' • The NorMuon Solution: Best of Both Worlds: The hosts dive into the algorithm itself, detailing how NorMuon applies neuron-wise adaptive learning rates (similar to Adam-mini) *after* Muon's orthogonalization step. They discuss the intuition behind using second-order momentum to normalize the disparate scales of neuron updates. • Engineering at Scale: FSDP2 and Distributed Newton-Schulz: The discussion shifts to the systems engineering required to make this work on large clusters. Linda explains how the authors implemented NorMuon under the FSDP2 framework, specifically how they distribute the expensive Newton-Schulz orthogonalization across devices to avoid redundant computation. • Results and Verdict: Efficiency Gains: Norris reviews the empirical results, noting the 21% efficiency gain over Adam on 1.1B parameter models and the impressive memory savings. The episode concludes with a consensus that orthogonalization and adaptive scaling are complementary, not competitive, technologies.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show.

## Introduction: The Optimizer Menagerie

Norris: Welcome back to Mechanical Dreams. You know, Linda, I was scrolling through ArXiv this morning while having my coffee, and I felt a very specific kind of exhaustion. Not physical fatigue, mind you, but 'optimizer fatigue.' Do we really need another one? I miss the days when SGD with Momentum was considered high-tech. Linda: Come on, Professor! You can't be nostalgic for vanishing gradients. The field is moving fast because the models are getting bigger. We can't just stick to the classics forever. Besides, today's paper is exciting because it iterates on the new cool kid on the block: Muon. Norris: Ah, yes. Muon. The optimizer named after a subatomic particle. It uses the Newton-Schulz iteration to orthogonalize updates, if I recall correctly? It’s very fancy linear algebra to basically say, 'let's make the weight matrices behave themselves geometrically.' Linda: Exactly! It’s been making waves as a potential successor to Adam. But here's the catch—and the subject of today's episode. The paper is titled 'NorMuon: Making Muon more efficient and scalable.' It comes to us from Zichong Li and a team at Georgia Tech and Microsoft. Norris: NorMuon. It sounds like a Nordic superhero. 'NorMuon the Scalable.' So, what is the pitch here? Is Muon already broken? It only just got here. Linda: It's not broken, but the authors argue it is unbalanced. See, the industry standard, AdamW, is great because it handles coordinate-wise scaling. It treats every parameter as an individual, making sure they all learn at appropriate rates based on their history. Norris: Right, the second moment estimation. It treats every parameter like an island. Very isolationist. Linda: Precisely. Muon goes the other way—it treats the whole layer as a matrix and fixes its overall geometry. But the authors found a flaw: while Muon fixes the matrix conditioning, it leaves the individual neurons—the rows of those matrices—with wildly different update sizes. Some neurons dominate the learning, while others barely move. Norris: So Muon is essentially a bully to certain neurons. And I assume NorMuon steps in to democratize the process? Linda: That’s a great way to put it! NorMuon tries to combine the orthogonalization of Muon with the neuron-wise adaptive learning rates we see in things like Adam-mini. They claim it bridges the gap between the two philosophies: better geometry *and* balanced neuron updates. Norris: Combining the old guard's adaptivity with the new guard's geometry. In theory, that’s the best of both worlds. In practice, it sounds like a computational nightmare. Did they actually make it efficient, or is this just math for math's sake? Linda: They did! They report over 20% better training efficiency than Adam on 1.1 billion parameter models. It's not just theory; it actually speeds things up. Norris: Twenty percent is a lot of GPU hours saved. Alright, I'm still skeptical about the complexity, but you have my attention. Let's dig into why Muon was bullying those neurons in the first place.

## The Geometry Problem: Why Adam and Muon Fall Short

Norris: So, Linda, last week we were all practically kneeling at the altar of Muon. It was geometric, it was elegant, it used Newton-Schulz iterations... it felt like the future. Now you're telling me it has a 'geometry problem'? I thought geometry was the one thing it actually solved. Linda: That’s the irony, Professor! Muon solves the *matrix* geometry, but it turns out it completely ignores the *neuron* geometry. It’s like fixing the engine of a car but forgetting to inflate the tires. Norris: Okay, let’s back up. We need to distinguish between the old guard—Adam or AdamW—and this new contender. Why do we say Adam falls short on geometry? Linda: Right. So, Adam is what we call a 'coordinate-wise' optimizer. It looks at every single parameter in the neural network individually. It calculates the second moment—basically the variance of the gradients—for that specific number, and scales it. Norris: It treats every weight like it lives on a desert island. No communication with its neighbors. Linda: Exactly. And because it ignores the correlations between weights, the update matrix—the actual step we take in parameter space—can have a terrible 'condition number.' Norris: For the graduate students listening who just panicked at the linear algebra flashback: the condition number is basically the ratio of the largest singular value to the smallest. If it's high, your optimization landscape looks like a long, narrow canyon. You bounce off the walls instead of running down the floor. Linda: Spot on. The authors of the NorMuon paper analyzed this on a 1.1 billion parameter model. They looked at the singular values of the updates produced by raw momentum and AdamW. The curve is steep. A few directions dominate, and the rest are basically noise. It's inefficient. Norris: And this is Muon’s superpower, correct? It forces the update to be orthogonal. Linda: Yes! Muon takes the momentum matrix and runs it through Newton-Schulz iterations to orthogonalize it. Ideally, this makes all the singular values equal to one. It turns that narrow canyon into a nice, smooth bowl. It’s perfect conditioning. Norris: So, I repeat my skepticism: If Muon turns the canyon into a bowl, why are we fixing it? Why isn't the episode over? Linda: Because while the *matrix* looks great globally, the *rows* are a disaster locally. This was the key insight in the paper. They looked at the update norm for each neuron—essentially, how much each specific neuron’s weights were being changed. Norris: Ah, so we're looking at the row-wise statistics now. Linda: Exactly. In Figure 1b of the paper—which is fascinating, by the way—they show that with Muon, the variance in these norms is huge. Some neurons are getting massive updates, screaming changes to their weights, while other neurons are barely moving. Norris: So the team is marching in the perfect direction, but half the team is sprinting and the other half is crawling. Linda: And that leads to 'imbalanced parameter utilization.' If certain neurons dominate the optimization process just because of their scale, we aren't using the full capacity of the network. Interestingly, AdamW—despite its bad condition number—actually keeps these neuron norms pretty uniform. Norris: I see. Adam scales everyone to have roughly the same step size, but ignores the direction. Muon fixes the direction perfectly, but forgets to scale the participants. Linda: That is... actually a perfect summary. Adam gives you uniform effort but bad coordination. Muon gives you perfect coordination but lopsided effort. Norris: It seems obvious in hindsight, doesn't it? We want both. We want the singular values of Muon and the uniform neuron norms of Adam. Linda: And that is exactly where NorMuon enters the chat.

## The NorMuon Solution: Best of Both Worlds

Norris: So, let me get this straight. We’ve established that Muon is great at geometry—it makes the optimization landscape nice and round by orthogonalizing the updates. But, as you pointed out, it has a 'loudness' problem. Some neurons are screaming their updates while others are whispering, and Muon just lets that happen. Linda: Exactly! And that variance in the 'loudness'—or the update norms—means we aren't utilizing the network's capacity efficiently. Some parts of the brain are overworking, and others are just along for the ride. Norris: Which brings us to the hero of the hour. How does NorMuon actually fix this? Is it just slapping Adam on top of Muon and calling it a day? Linda: Not quite, though that is a baseline they tested! The solution is actually more elegant. The authors propose integrating a 'neuron-wise' adaptive learning rate. Think of it as a hybrid between Muon and that Adam-mini paper we discussed a few months back. Norris: Ah, Adam-mini. That was the one that stopped tracking statistics for every single weight and started tracking them for blocks of weights, right? Linda: Spot on. NorMuon does something similar. Here is the recipe: First, you take your momentum matrix and run it through the Newton-Schulz iteration, just like standard Muon. This gives you that nice, orthogonalized update matrix, let's call it $O_t$. Norris: Okay, step one is classic Muon. We have our geometry fixed. But we still have the imbalance. Linda: Right. Step two is where the magic happens. Instead of applying that update directly, NorMuon looks at every single row in that matrix—remember, a row corresponds to a single neuron. It calculates the mean squared value of that row. Norris: So we are measuring the energy of the update for each specific neuron. Linda: Yes! And we accumulate that energy into a second-order momentum state, basically a moving average of how 'loud' that neuron has been over time. Then, step three: we normalize the row by that value. Norris: I see. So if a neuron tries to make a massive update, this second-order momentum catches it and scales it down. And if a neuron is being lazy, it gets scaled up. Linda: Precisely! It forces a uniform update norm across all neurons. So you keep the benefit of Muon—which is that the update matrix has singular values close to one, meaning good conditioning—but you add the benefit of Adam, which is that no single parameter (or in this case, neuron) dominates the learning process. Norris: It sounds like they found a way to make the preconditioning techniques play nice together. Muon handles the inter-dependencies *between* parameters via orthogonalization, and this new normalization handles the scale *of* the parameters. Linda: That is the key insight! The paper argues these aren't conflicting strategies. They are complementary. Muon fixes the shape; NorMuon fixes the scale. Norris: But Linda, I have to ask the question that keeps the accountants awake at night. Memory. We moved away from Adam because storing second-order moments for billions of parameters requires a small mortgage on a GPU cluster. If NorMuon brings back second-order moments, aren't we back to square one? Linda: I was waiting for that! This is the beauty of doing it 'neuron-wise.' In a weight matrix of size $m \times n$, Adam stores $m \times n$ extra values for the variance. But NorMuon only stores one value per row. Norris: So just $m$ extra values? Linda: Exactly. For a typical layer, that is a reduction of factor $n$, which is usually in the thousands. The memory overhead over standard Muon is basically negligible—it's just a tiny vector compared to the massive weight matrices. Norris: Okay, that is clever. You get the stability benefits of adaptive learning rates without paying the 'Adam Tax' on VRAM. Linda: And there is one more detail! Because they normalize the rows, the overall magnitude of the update changes. So they have to rescale the final update to match the RMS norm of Adam, just to keep the learning rate consistent with what we are used to. Norris: Standardizing the units. Very sensible. So, algorithmically, it seems sound. It corrects the physics of the optimization without breaking the memory budget. But an algorithm on paper is one thing; getting this to run on a cluster of A100s without setting them on fire is another. Linda: Oh, and that is where it gets really interesting. They didn't just write down the math; they implemented this using FSDP2—Fully Sharded Data Parallel. And let me tell you, distributing a Newton-Schulz iteration isn't exactly a walk in the park. Norris: I can imagine. Sharding a matrix while trying to orthogonalize it sounds like trying to solve a Rubik's cube that's been cut into pieces and mailed to different houses. Let's take a break, and when we come back, I want to hear how they engineered this beast.

## Engineering at Scale: FSDP2 and Distributed Newton-Schulz

Norris: Alright, Linda, hold your horses. The math is beautiful—I’ll give you that. Orthogonalizing update matrices while normalizing neuron norms... it sounds like optimization poetry. But I have to put my 'Grumpy SysAdmin' hat on for a second. Linda: I knew this was coming. You're worried about the communication overhead, aren't you? Norris: I am! We are talking about large language models here. These weight matrices are massive. If I have to perform a Newton-Schulz iteration—which is essentially matrix multiplication—on every single step, and I have to do it across a cluster of GPUs... isn't that going to grind my training run to a halt? Usually, with FSDP—Fully Sharded Data Parallel—we shard the weights so no single GPU holds the whole matrix. Linda: Exactly. And that is the tricky part with Muon in general. To orthogonalize a matrix, you need the *whole* matrix. You can't just orthogonalize a shard of it independently. The naive implementation—and this is what people have done previously—is that every GPU gathers the full momentum matrix, and then *every* GPU computes the orthogonalization. Norris: Ouch. So if I have 64 GPUs, I’m doing the exact same expensive math calculation 64 times in parallel? That is incredibly wasteful. Linda: Right? It’s a huge waste of FLOPs. But the NorMuon authors did something really clever with their implementation under FSDP2. They realized that since they have to gather the data anyway to do the math, they shouldn't make *everyone* do the math for *every* matrix. Norris: Go on. Linda: They use a load-balancing strategy. First, they sort all the parameter matrices by size. Then, they assign ownership of specific matrices to specific GPUs in a round-robin fashion. So, GPU 1 is responsible for the Query Projection in Layer 1. GPU 2 takes the Key Projection, and so on. Norris: Ah, I see where you're going. It's like a potluck dinner. You bring the salad, I bring the dessert, and we share. We don't both try to bake the same cake. Linda: Exactly! GPU 1 gathers the momentum for its assigned matrix, does the Newton-Schulz orthogonalization locally, and then scatters the result back to the group. No redundant computation. You pay the communication cost, sure, but you save massive amounts of compute. Norris: That handles the 'Muon' part of NorMuon. But what about the 'Nor' part? You still have to do that neuron-wise normalization we just talked about. Doesn't that add another layer of communication complexity? Linda: This is the part that I found super elegant, and it's almost serendipitous. FSDP2 shards parameters row-wise by default. And remember, in these 2D weight matrices, a 'row' corresponds to a single neuron. Norris: Wait... so if the sharding is row-wise, and the normalization is row-wise... Linda: Then the normalization is entirely local! The GPU already holds the complete rows it is responsible for. It can compute the second-order statistics and normalize those neurons without talking to any other GPU. It’s basically free in terms of communication. Norris: Okay, that is convenient. It’s rare that the systems architecture and the mathematical intuition align so perfectly. But surely there is *some* penalty? You can't get all this geometry for free. Linda: There is a little overhead. The communication volume goes up about 33% compared to standard AdamW because of that gather-scatter step for the orthogonalization. But because they overlap the communication with computation, the actual wall-clock time per iteration only increased by about 3%. Norris: 3% slower steps for a 20% gain in training efficiency? I’ll take that trade-off any day of the week. That is surprisingly practical.

## Results and Verdict: Efficiency Gains

Norris: Okay, Linda, I’ve been in this game a long time. I have seen a lot of 'revolutionary' optimizers that promise the moon and deliver a pebble. But I am looking at Table 1 in this paper, and my eyebrows are currently trying to crawl off my face. Twenty-one percent? Linda: Twenty-one point seven-four percent, to be exact! That is the efficiency gain over Adam on their 1.1 billion parameter pre-training run. Basically, NorMuon gets you to the same validation loss over 20% faster than the industry standard. Norris: That is... substantial. Usually, we fight for half a percent and throw a faculty party. But does it scale? Or does it fall apart when the model gets big enough to actually write a decent sonnet? Linda: It holds up surprisingly well. On the 5.4 billion parameter model—which is a respectable size—they still saw a nearly 14% improvement over Adam. And crucially, it outperforms the original Muon by over 11% on the 1.1B model. It’s consistently leading the pack. Norris: Alright, but what is the tax? There is always a tax, Linda. Is this going to take a week to compute a single gradient step because we are doing all this fancy Newton-Schulz matrix math? Linda: That’s the best part! Because of that clever distributed implementation we talked about—where they split the orthogonalization work across the GPUs—the wall-clock time per step is only about 3% higher than AdamW. You barely feel it in the training loop. Norris: So let me get this straight. It converges significantly faster, it doesn't drag its feet on compute time... what about memory? Adam eats VRAM for breakfast. Usually, second-order methods need a second mortgage on your GPU cluster. Linda: NorMuon went on a diet! Remember, Adam stores a second-moment estimate for every single parameter. NorMuon only stores second-order statistics for the *neurons*—just a vector, not a matrix. So it uses about half the memory of AdamW, putting it on par with the original Muon. Norris: Half the memory. That means larger batch sizes or bigger models on the same hardware. That is actually a very compelling verdict. Linda: Exactly. The big takeaway here is that we don't have to choose between the geometric insights of Muon and the adaptive stability of Adam. The authors showed they are complementary. You can orthogonalize the momentum *and* normalize the neurons, and the model absolutely loves it. Norris: Well, consider me skeptical but convinced. It is rare to see a paper that essentially says, 'Why fight when we can just mash the best parts together?' It’s the 'why not both?' meme applied to deep learning optimization. Linda: It really is! And for anyone listening who is tired of babysitting their loss curves, the implementation is open source. It might be time to update your training scripts. Norris: A dangerous precedent, Linda. If things get too efficient, what will I do with all my free time? Anyway, that’s it for this week’s deep dive into NorMuon. Keep your gradients clipped and your dreams mechanical. See you next time.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. You don’t need long context

    Nov 12, 202620 minAudio

    In this episode: • The Context Window Arms Race: Professor Norris and Linda introduce the episode and discuss a new NVIDIA paper challenging the necessity of massive context windows, highlighting the hidden...

    Credit the people on this episode

  2. Scaling Hierarchical Networks

    Nov 11, 202621 minAudio

    In this episode: • Intro and The Bitter Lesson: Introducing the podcast and the Cartesia paper on Hierarchical Networks. • Scaling Ladders and The BPE Comparison: Discussing the compute efficiency gains of 1-stage...

    Credit the people on this episode

  3. Perturbing Inputs Improves Pretraining Distillation

    Nov 10, 202621 minAudio

    In this episode: • Introduction and Standard Distillation: Professor Norris and Linda introduce the podcast and set the baseline for standard knowledge distillation in language models. • The Core Idea of Perturbed...

    Credit the people on this episode

  4. Why is AI-generated language so hard to understand

    Nov 9, 202620 minAudio

    In this episode: • Introduction: The Reader-Patience Budget: Professor Norris and Linda introduce the episode's topic, discussing the growing sentiment that AI-generated text is becoming overly convoluted. • The...

    Credit the people on this episode

  5. Muse Glimmer 30B

    Nov 8, 202622 minAudio

    In this episode: • Introduction & Paper Overview: Professor Norris and Linda introduce the episode and the Muse Glimmer 30B paper, outlining its goal of bringing agentic capabilities to consumer hardware. • Architecture...

    Credit the people on this episode