Blog · NeurIPS 2026

Scaling MoEs in practice

Hyperparameter transfer across MoE architectures with the maximally scale-stable parameterization

This post accompanies our NeurIPS 2026 paper How to Scale Mixture-of-Experts, joint work with Leena Chennuru Vankadara, Luke Hayward, Sebastian Bordt and Alessandro Breccia. The theory post, coming soon, derives μP for MoEs from its principles, shows that μP is not fully scale stable in MoEs, and extends these principles by further desiderata, which leads to MSSP. It characterizes the limiting training dynamics for arbitrary MoE scaling paths.

IN SHORT

Choosing the hyperparameters of a large training run is hard. One can predict them with scaling laws, or tune them on small models and transfer them to large scales. Nearly all frontier language models are now mixture-of-experts (MoE) models, and MoEs add scaling axes beyond width and depth, namely the number of experts, their width and how many of them are active. To transfer hyperparameters in MoEs, we therefore need to know how they scale along any scaling path through this space.

Earlier work on transfer in MoEs [1][2] operated under the assumption that μP would transfer its desirable properties to MoEs. We derive μP for MoEs from its principles and show that it is not fully scale stable, because the expert aggregation operation breaks transfer under μP. Extending the principles of μP by further desiderata leads to the correction which we call the Maximally Scale-Stable Parameterization (MSSP). MSSP covers arbitrary scaling paths, from a fixed number of experts to many fine-grained or many large experts, for SGD, AdamW and Muon.

In this post, by standard scaling, we mean the usual practice: every weight initialized with variance 1/fan-in, one global AdamW learning rate and ε = 10−8 for all layers, no layerwise multipliers or ε scaling, and the learning rate retuned at every width. Our standard-scaling runs otherwise match MSSP, with the same MoE architecture and QB load balancing.

What we show

Figure 1. Clean learning-rate transfer from small to large scale in MSSP. Learning-rate transfer under MSSP across width (left) and depth (right), stars at the optimum, darker is larger. Left: Regime III Transformer MoE (many large experts, 8 layers), QB load balancing, 2.5B tokens, one seed, widths N = 256 to 2048. Right: Regime III at N = 256 (M = 8, K = 4) with 1/L residual scaling, auxiliary-loss load balancing, 2.5B tokens, one seed, depths L = 8 to 128. In both, every scale has its optimum at the same grid point.
Validation loss improvement over standard scaling after 10B tokens against width 256 to 2048, for μP and MSSP with many fine-grained and many large experts. With many fine-grained experts, μP and MSSP both rise from 0.02 to 0.06 nats. With many large experts, MSSP rises from 0.016 to 0.029 and μP from 0.003 to 0.012.
Figure 2. MSSP improves performance whenever the number of experts grows. Validation loss improvement over standard scaling after 10B tokens with QB load balancing, one seed, for the scaling paths where the number of experts grows. The learning rate of standard scaling is tuned on a factor-2 grid at every width. μP and MSSP use one learning rate per path, tuned at N = 256 on a grid of comparable resolution (factor 1.67). With many fine-grained experts both improve over standard scaling by 0.06 nats at N = 2048. With many large experts MSSP improves by 0.016 to 0.029 nats and μP by at most 0.012.
Validation loss after 10B tokens against active non-embedding parameters on a log axis, for dense μP Transformers at widths 256 to 4096 and for MoEs along the three scaling paths under MSSP. Many large experts under MSSP lie lowest and reach 2.36 at 1.2 billion active parameters, below dense μP at 1.6 billion.
Figure 3. Empirical MoE scaling-law studies should be repeated using MSSP. Validation loss after 10B tokens against active non-embedding parameters, QB load balancing, one seed. Dense μP Transformers at widths 256 to 4096 and MoEs under MSSP with few large experts, many fine-grained experts and many large experts. At N = 2048, many large experts under MSSP reach 2.36 with 1.2B active parameters, below a dense μP Transformer with 1.6B (2.39). Keeping the number of experts fixed is suboptimal, and many large experts beat many fine-grained experts. The optimal scaling of K needs further ablations at a larger token horizon.

Mixture-of-experts: a richer scaling space

A Transformer block, repeated L times: RMS norm, attention, a residual connection, RMS norm, and the MoE block (dashed) in place of the MLP, with a second residual connection. Legend: active experts in coral, inactive experts in grey.
The MoE block: the input h^(l−1) goes to the router, which scores the M experts, and to the experts (Expert In and Expert Out, each a two-layer MLP of width N_e; active experts in coral, inactive ones in grey). The outputs of the K selected experts are weighted by the router scores φ_i, summed, and added to the residual stream h^l.
Figure 4. The MoE block. Top: a Transformer block, repeated L times, with the MoE block (dashed) in place of the MLP. Right: the MoE block, with the active experts in coral.

While scaling rules like μP are well developed for scaling the width of dense models, nearly all frontier language models are now mixture-of-experts architectures, or MoEs. In an MoE Transformer, the MLP in each block is replaced by several MLPs, called the experts, together with a router, which sends each token to the top K of the M experts (Figure 4). At the same FLOPs per token, adding more experts steadily improves performance [5].

Scaling axes and scaling paths

Figure 5. MoEs add scaling axes beyond width and depth. The scaling axes of an MoE block, growing one at a time: width N. Click to pause.

Compared to dense architectures, MoEs introduce additional scaling axes that must be coordinated jointly with the width N and the depth L: the number of experts M, the expert width Ne, and the number of active experts K (Figure 5).

Nwidth Ldepth Mnumber of experts Neexpert width Kactive experts

The scaling path specifies which of these axes we grow together, and at which relative rates, as we move along the compute axis.

These axes don’t generally commute, so we get a combinatorial space of scaling paths.

Since the axes don’t commute, we start with three canonical scaling paths and then build on what we learn there to generalize to arbitrary scaling paths (Figure 6). In our experiments, and in the rest of this post, they are Regimes I, II and III.

Figure 6. Three canonical scaling paths. The MoE block along the three canonical scaling paths: many large experts.

We consider SGD, Adam, and Muon, each with its own hyperparameters.

SGD η, wd Adam η, ε, β1, β2, wd Muon η, μ, wd

From μP to MSSP

μP follows from three principles, the μ-desiderata. Every layer keeps learning features stably, every layer’s update contributes to the output at maximal scale, and Adam’s ε scales like the gradient it is added to (Appendix A). Applied to an MoE, they give a μP for every scaling path. But the μ-desiderata only constrain the immediate forward contribution of each trainable weight. The expert aggregation and the backward pass also contain terms, and under μP some of them vanish with scale, so the training dynamics still change with width (Appendix B). MSSP extends the μ-desiderata by requiring that every contribution, forward, backward and through the aggregation, stays of order one.

On the three canonical paths, this changes only the initialization of the MoE layer. With few large experts the router starts at zero, with many fine-grained experts the expert outputs are initialized larger, and with many large experts all experts share their initial weights. On a general path, the experts share their initial weights within G ≍ N/Ne groups and are independent across groups. MSSP exists whenever the active expert width K Ne grows at least as fast as N, which includes fixed K with Ne ≍ N. If K Ne grows slower, as for fixed K and fixed Ne, no parameterization in our class is maximally scale stable.

MSSP is a set of scaling rules for the initialization, learning rate and Adam ε of every weight, plus an initialization scheme for the experts. Applied to a model tuned at base width N = 256, it keeps the training dynamics comparable as the model grows.

Weight Regime IN, Ne → ∞ Regime IIN, M, K → ∞ Regime IIIN, M, K, Ne → ∞ General pathK Ne ∈ Ω(N)
Initialization (standard deviation)
Expert groups GMM1N / Ne
Router0∗N−1/2N−1/20∗ if K = o(N), else N−1/2
Expert inN−1/2N−1/2N−1/2, tiedN−1/2, tied in groups
Expert outNe−1/2M1/2Ne−1/2Ne−1/2, tiedN1/2Ne−1, tied in groups
SGD learning rate
RouterN−1M N−11–
Expert in1M N−1M–
Expert out1M NM–
Adam learning rate
Router, expert in, expert out(fan-in)−1
Adam ε
RouterL−1M−1L−1M−1L−1M−1L−1
Expert inN−1L−1M−1L−1N−1M−1L−1M−1Ne−1L−1
Expert outN−1L−1N−1M−1L−1N−1M−1L−1N−1M−1L−1
Muon learning rate
Router, expert in, expert out(fan-out/fan-in)1/2
Block
AggregationK−1, or gates renormalized over the top K
Residual branchL−1
Load balancing
Aux loss†, z-lossaverage over layers
QB expert biasesHP free

MSSP for SGD, AdamW and Muon, MoE weights. All other weights follow μP (hidden weights: initialization (fan-in)−1/2, learning rate (fan-in)−1, ε ∝ N−1L−1). Entries in color are where MSSP departs from μP. Under Muon, each update is scaled by (fan-out/fan-in)1/2 and the base learning rate stays fixed across widths. ε drops out, and the initialization, tying and block rules are the same as for AdamW. SGD learning rates are given for the three canonical paths only (–). ∗With tied experts and a router at zero, deterministic top-K selection sends every token to the same experts, which then receive identical gradients and never separate. Stochastic routing breaks the tie. We recommend Gumbel sampling of the active experts [6], which is uniform at zero initialization and learns the router smoothly instead of through sharp routing flips. Random top-K selection also works, but neither is the default in common MoE code. †On normalized scores, as in DeepSeek-V3 (load-balancing section). The full table, including embeddings, normalization and the unembedding, and the Muon coordinate checks are in Appendix B of the paper.

One could expect that sharing initial weights may harm specialization. But top-K selection sends different tokens to different experts, so the experts see different data and separate during training. After only about 600 steps, the expert diversity under MSSP is actually larger than under independent initialization (μP), and the gap grows with width (Figure 7).

Two experts of a layer
Figure 7. MSSP outperforms μP in terms of expert diversity after only 600 update steps. Expert diversity in Regime III over the first 2000 steps, μP (independent initialization) against MSSP (tied initialization), QB, 2.5B-token runs, mean over MoE layers. Left: mean pairwise cosine distance of the expert outputs, logged every 20 steps. The area between the curves is red where μP is more diverse and green where MSSP is. Drag the slider, or click the plot. Right: two experts drawn as arrows at the angle whose cosine distance equals the measured one, pointing the same way at distance 0 and orthogonal at distance 1, μP in navy and MSSP in coral on top. Tied experts are identical by construction (distance 0), and independent experts are approximately orthogonal, with a distance of 1.000 ± 0.001 at every width. Within the first 20 steps the μP experts become much more similar, down to 0.15 to 0.22, before they separate again.

Without layerwise Adam ε, expert updates vanish

In dense networks the gradient entries of hidden weights typically scale as N−1. In MoEs the expert gradients vanish more aggressively, as N−2. Keeping the expert updates alive at large width then requires high precision and a layerwise ε.

Width exponents of the gradient RMS of the input, router, expert in, expert out and output weights over 1000 steps under MSSP, MLP MoE trained with Adam, Regime II and Regime III. Output near 0 and input and router near minus 1 in both. Expert out near minus 2 in both. Expert in near minus 1 in Regime II and near minus 2 in Regime III.
Figure 8. Gradient entries decay even faster in MoEs than in dense Transformers. Width exponents of the gradient RMS per layer over training under MSSP, MLP MoEs trained with Adam, widths 256 to 2048, 4 seeds. Left: Regime II, where the number of experts grows at a fixed expert width. Right: Regime III, where the expert width grows as well. The output layer's gradient is width-independent and the input and router gradients decay as N−1, as in a dense network. The expert output weights decay as N−2 in both regimes. The expert input weights decay as N−1 in Regime II and as N−2 in Regime III, matching the ε rules in the table.

Adam divides each gradient entry by its running RMS plus ε. As long as ε is small compared to the gradient, it does nothing. Once the gradient falls below ε, the update shrinks with it and the layer stops learning. A global ε = 10−8 is the default almost everywhere.

In MoEs the gradients of different tensors decay at very different rates. We measured the gradient RMS of every tensor of a Regime III Transformer at widths 256 to 2048 and fit its width exponent. Attention and router gradients decay as N−0.8 to N−1.1. The expert input and output weights decay as N−1.8 to N−1.95, close to the predicted N−2, because each expert sees only a fraction K/M of the tokens, each with weight 1/K. Adam normalizes this factor 1/M away from the update, so it changes ε, not the learning rate. Extrapolated, the expert output gradients reach 10−8 at a width of about 4600 under both μP and MSSP, and in the earliest layer already at about 3800. Gradients shrink further over training, so in a long run the crossing comes at even smaller width (Figure 9).

Details of the fit

These fits average steps 91 to 100. Earlier in the warmup the crossing comes sooner. Averaged over steps 11 to 30, the expert output gradients under MSSP cross 10−8 at a width of about 1400, under μP at about 2700. Figure 9 shows where the crossing lies for other values of ε and other steps.

TensorWidth exponentGradient RMS at N = 2048Ratio to ε at N = 2048Crosses ε at width
Figure 9. Without layerwise Adam ε, updates in expert layers vanish at frontier scale. When does a global ε stop expert learning? Gradient RMS per tensor type of a Regime III Transformer MoE (8 layers, QB, 4 seeds), geometric mean over layers, averaged over a window of 10 steps that you choose, fitted over widths 256 to 2048 (solid) and extrapolated (dashed), against a global Adam ε (gray). All 100 steps lie inside the learning-rate warmup. Crossing widths in the table are for the layer mean and, in parentheses, the earliest layer. The extrapolation assumes the power law keeps holding. Hover the chart to read off the gradients at any width. Under MSSP's layerwise ε, each tensor's ε scales like its gradient and the crossing never comes.

From Figure 9 it might look tempting to simply use a tiny global ε such as 10−14. But the gradient entries shrink considerably over the course of training. Hence (a) the critical width is likely much smaller than Figure 9 suggests after 100 steps, and (b) the relative effect of ε on the update size still depends on the width, so it induces width-dependent training dynamics at sufficient scale.

The fix is to scale ε with the gradient scale of each tensor, as in the table above. The ε of the expert weights then carries the factor M−1 that the gradients carry. Simulating a larger model by raising ε to 10−5 in an MLP MoE shows what happens otherwise. With a global ε, the width exponents of the expert updates become time-dependent, and feature and router learning shrink with width. With the layerwise ε, the exponents stay clean. Numerically more stable than shrinking ε is to scale the other terms instead, Adam's moments m and v (equivalently the gradients that enter them), and to keep ε constant. Very small ε values can underflow in low precision.

Load balancing

In our experiments, we compared three different load balancing strategies: 1) the Switch-style auxiliary loss [5] applied directly to unnormalized sigmoid scores, 2) the same loss applied to normalized scores, as in DeepSeek-V3 [7], and 3) QB expert biases [8]. While QB outperforms the auxiliary loss on unnormalized scores, with a gap that grows with width, in line with existing literature [9], the auxiliary loss on normalized scores matches the validation loss of QB at every width (Figure 10).

Validation loss after 2.5B tokens against the learning rate from about 0.0027 to 0.022 for MSSP in Regime III under QB, widths 256 to 2048, with stars at the optimum. Dotted lines mark the best loss with the unnormalized auxiliary loss, well above QB at large width. Dashed lines mark the normalized auxiliary loss, on top of QB.
Figure 10. The auxiliary loss on normalized scores and QB expert biases perform on par. Learning-rate sweep after 2.5B tokens under QB, MSSP in Regime III, widths 256 to 2048 (darker is wider), stars at the optimum. Horizontal lines mark the best loss over the learning rate with an auxiliary loss instead of QB, on unnormalized (dotted) and normalized (dashed) sigmoid scores. The layerwise multipliers were tuned under the unnormalized auxiliary loss, and only the global learning rate was retuned for QB.

The underlying mechanism is rather simple. While top-K selection is invariant to a downward shift in all router logits, it decreases every sigmoid score. The auxiliary loss on unnormalized scores therefore has a degenerate direction, along which it decreases without any change in the balance, and as a consequence, it drives the router logits down over the course of training, even when the load is perfectly balanced. Normalizing the scores, which then sum to one for every token, removes this degeneracy.

Auxiliary lossℒaux = λ M Σi fi Pi,   fi = share of tokens routed to expert i,   Pi = mean of its score σ(zi)
Shift z → z − ctop-K unchanged, so every fi stays, while every σ(zi − c) < σ(zi), so ℒaux decreases
NormalizedP′i = mean of σ(zi) / Σj σ(zj),   Σi P′i = 1,   so at balance ℒbal = λ for any logits

Figure 11 shows this drift. Scaling the weight of the unnormalized loss by K−1 removes its width dependence, but not the drift. The normalization enters only the loss, and the gates in the forward pass stay as they are. Average the per-layer auxiliary and z-losses over the layers, or they grow with depth and dominate the cross-entropy.

Histograms of the router logits of the first MoE layer, before and after the sigmoid, for widths 256 to 2048, in four columns, at the step chosen with the slider. At step 10 all four columns are centered near zero. By step 100, under the auxiliary loss on unnormalized sigmoid scores the logits sit between minus 5 and minus 7, further left for wider models, under the K-inverse-scaled loss all widths sit around minus 6, and under the normalized loss and QB the logits stay centered near zero for all widths.
Figure 11. On unnormalized scores, the auxiliary loss drives the router logits down. Router logits before (top) and after (bottom) the sigmoid over the first 100 steps, logged every 10 steps. First MoE layer of an 8-layer Transformer MoE, MSSP in Regime II, widths 256 to 2048 (darker is wider). The axes of each panel are fixed over the steps. From left: auxiliary loss on unnormalized sigmoid scores, the same with a K−1-scaled weight, the auxiliary loss on normalized scores, and QB expert biases.

This suggests that the gap reported by Wang et al. [9] may, at least in part, be attributed to the unnormalized baseline rather than to the balancing mechanism itself.

Nonetheless, while we observe no performance gap between the normalized auxiliary loss and QB, QB has the practical advantage that it introduces no hyperparameter that must be tuned or rescaled. Its biases enter only the top-K selection, and after each step each expert's bias moves by the amount that would leave it exactly at its share of |B|K/M tokens.

Gate normalization in open models. Most open MoEs renormalize the selected gates to sum to one, with sigmoid scores (DeepSeek-V3, Kimi K2, GLM-4.5) or with softmax scores (Mixtral, Qwen3, Gemma 4, gpt-oss). Some use a softmax over all experts without renormalization, so the gates sum to about K/M at initialization (OLMoE, DeepSeek-V2, Grok-2). On sparse paths this can become a scaling issue as well. Unnormalized sigmoid gates are rare. Llama 4 uses them with K = 1, and Cohere's North-Mini-Code with K = 8. Renormalizing the selected gates over the top K provides the 1/K aggregation factor implicitly. With unnormalized sigmoid scores, as in our experiments, multiply the sum of the gated expert outputs by 1/K explicitly.

Tuning multipliers per tensor class at small width improves performance and transfer

The scaling rules fix how each hyperparameter changes with the width, but not its constant. These constants are the layerwise multipliers, tuned once at the base width and then carried along unchanged. They decide whether the predicted dynamics show up at all.

The reason is that the natural scales of MoE layers are far apart. In Regimes II and III the gradient entries of the expert output weights decay as N−2, while most other layers decay as N−1. In our MLP MoEs, optimal multipliers sat as far as 106 from one. With all multipliers at one, MSSP still has the correct width exponents, but the MoE output is made of different terms than in the tuned model (Figure 13).

For Transformer MoEs, we tuned the learning-rate multipliers once in Regime III at N = 256 with round-robin coordinate descent (Figure 12). The tuned values are far from uniform. The expert-out learning-rate multiplier ended at 128 in Regime III and, after a later retune in Regime II, at 8192 there.

How we tuned

For Transformer MoEs, an exhaustive grid was too expensive, so we tuned the learning-rate multipliers in Regime III at N = 256 and 1B tokens with round-robin coordinate descent, starting from learning-rate multipliers between 2 and 64. Each round sweeps one multiplier over factors 2−4 to 24 with one seed, checks the best factor with three more seeds, and keeps it only if the four-seed mean improves. After the one-dimensional rounds converge, we sweep coupled pairs jointly (embedding and unembedding, expert in and expert out, and the learning rate and initialization of each weight type). The rounds also covered the initialization multiplier of every weight type, but none improved the loss on its own, and the one joint gain in the expert-out initialization was not carried into our final configs. μP and MSSP share the resulting learning-rate multipliers. Only the global initialization multiplier and the attention logit multiplier were tuned separately for each parameterization, by one-dimensional scans over 2−7 to 27 at 2.5B tokens, and the global learning rate last. A random search over the same multipliers at 2.5B tokens improved on all-one multipliers by 0.025 nats in Regime III and 0.045 nats in Regime II, but stayed about 0.03 to 0.04 nats behind round-robin tuning in Regime III. The tuned values are far from uniform. The expert-out learning-rate multiplier ended at 128 in Regime III and, after a later retune in Regime II, at 8192 there.

Figure 12. Layerwise multiplier tuning at small scale improves performance at all scales. The round-robin tuning trace for Regime III at N = 256 and 1B tokens, auxiliary-loss load balancing. The tuning starts from learning-rate multipliers between 2 and 64, not from all ones. Four-seed mean validation loss of the current best multipliers after each accepted round. Rounds whose best factor did not beat the current four-seed mean are skipped. The labels give the factor each round applied to the current value. Most of the gain comes from the global learning rate and the output learning rate, and the 2-D rounds over coupled pairs add another 0.015. The final learning-rate multipliers are the ones in our configs (expert-out ×128, router ×8, output ×8, input ×16). The per-weight initialization rounds found no improvement, and the expert-out initialization ×4 of the last 2-D round is not in the configs.

The scaling rules fix how each term of the aggregated MoE output (Appendix B) scales with width, but not its absolute size. The layerwise multipliers tuned once at base size decide which of these terms dominate at every scale. With all multipliers at one and only the global learning rate tuned, MSSP still has the correct width exponents, but the dynamics are far from those of the tuned model (Figure 13). In the first 50 steps the aggregated MoE output is still mostly its initialization, and afterwards it grows 30- to 40-fold as the init-propagating term takes over. With the tuned multipliers, the initialization is a hundred times smaller, the init-propagating term carries about 90% of the output after 50 steps, and the output stays below 0.2 in RMS. In both, the update of the expert output weights acting on the initial features, the effective-init term, stays below 2% of the output.

Figure 13. Layerwise multipliers change which terms dominate the MoE output. What the aggregated MoE output is made of, with all multipliers at one or tuned. MSSP in Regime II, MLP MoE trained with SGD, zero-initialized last layer, mean over 4 seeds, widths 128 to 2048. Top: hagg and its four terms, each with its RMS and its share of the RMS of hagg (darker is larger, the output itself is 100%). The init-propagating and effective-propagating terms partly cancel later in training, so their shares can exceed 100%. Effective-init and effective-propagating term together form the effective term ΔWt ht. Bottom: the RMS of every term over training at the chosen width. Click the plot or drag the sliders. With all multipliers at one, the initialization carries most of the output for about 50 steps, and then the output grows 30- to 40-fold. With the tuned multipliers, the init-propagating term carries about 90% of the output after 50 steps and the output stays small. The widths barely differ in either case.

Appendix A: Intuition behind μP for dense networks

μP chooses the initialization and the learning rate of every weight so that the output of each layer, and its change during training, stay of order one as the width grows. Both are sums over the fan-in N of the layer, and they grow at different rates.

At initialization the terms Wij xj are independent with mean zero. They add up like a random walk, and by the central limit theorem the sum grows as √N. Initializing W with variance 1/N keeps the output at unit RMS (Figure 14).

Wij ~ 𝒩(0, 1)

RMS of W x =

Wij ~ 𝒩(0, 1/N)

RMS of W x =

Figure 14. CLT scaling: sums of independent entries grow as N1/2. Central-limit scaling at initialization. Top: the N entries of a unit-RMS input x, two rows of W ~ 𝒩(0, 1), and their products Wij xj (coral positive, navy negative, paler is smaller). Their signs are random, so the products partly cancel. Summed over j they give the two outputs h1 and h2 (bar on the right). Bottom: the same sums drawn head to tail. Gray is the running sum over j, the colored arrow is the total, the dashed circle marks unit RMS. Left: the sum grows as √N, and an arrow that leaves the chart ends in a double chevron. Right: the same terms with W ~ 𝒩(0, 1/N) stay at unit RMS. The RMS below each panel is taken over 32 output coordinates.

The update behaves differently. The gradient of W is the outer product dh xpast⊤ of the gradient dh that reaches the layer's output and the activations xpast that came in, so it has rank one. Adam normalizes it entry by entry, so every entry of ΔW has size about the learning rate η, with a sign that follows dhi xpast,j. The update then acts on the next input xfwd. Inputs during training are correlated, so the terms ΔWij xfwd,j mostly share a sign. They add up like a law of large numbers, and ΔW xfwd grows as N instead of √N. Only a learning rate proportional to 1/N keeps it of order one (Figure 15). Hence Adam's learning rate should always scale as 1/fan-in. For Muon, preserving unit RMS norm requires the learning-rate scaling (fan-out/fan-in)1/2 in spectral layers [10].

Adam, η = 0.01

RMS of ΔW xfwd =

Adam, η = 0.64/N

RMS of ΔW xfwd =

Figure 15. LLN scaling: sums of correlated entries grow as N1. Law-of-large-numbers scaling of the update. Top: the gradient dh at two of the layer's outputs (left column) and the past input xpast (top row) form the outer product dh xpast⊤. Adam's first step is a sign step, ΔW = −η sign(dh xpast⊤ + noise), where the noise stands for the other examples in the batch, so the matrix carries the sign pattern of the outer product with some flips. The next input xfwd agrees with xpast in sign on 80% of the coordinates. Multiplying the rows of ΔW by xfwd mostly undoes the signs, so the products ΔWij xfwd,j mostly share one sign, and their sums Δhi (bar on the right, at η = 0.01) grow with N. Bottom: the two outputs of ΔW xfwd drawn head to tail, as in Figure 14. The terms are correlated but not aligned, so the sum drifts. The dashed circle is the limiting update size of the right panel for large N. Left: at a fixed learning rate η = 0.01, ΔW xfwd grows as N, passes the circle near N = 64 and leaves the chart. Right: with η = 0.64/N, equal to the left at a base fan-in of 64, it settles on the circle. The RMS below each panel is taken over 32 output coordinates.

Weight decay should not change with width either. AdamW decouples the weight decay from the gradient update, which is the right way to decay weights under Adam (see this clear explanation). But PyTorch's implementation of AdamW multiplies the decay by the learning rate, W ← W − η λ W. Under μP the learning rate shrinks with model size as 1/fan-in, and the effective weight decay ηλ shrinks with it. To keep the decay width-independent, divide each group's weight decay by its learning-rate multiplier. Dividing also by the peak learning rate keeps the decay fixed when the learning rate is retuned.

Muon replaces each matrix update by its orthogonalized momentum, which fixes the update's spectral norm instead of its entries. We follow NVIDIA's Emerging-Optimizers implementation exactly [11] and scale every update by (fan-out/fan-in)1/2, which keeps it stable in the RMS-to-RMS operator norm. Attention blocks are square and get 1. Muon normalizes the gradient magnitude away, so no ε correction is needed. In an MoE, orthogonalize each expert as its own matrix. Orthogonalizing the stacked expert tensor couples the experts and, after tied initialization, shrinks each expert's update by about M−1/2. Embeddings, the unembedding and normalization gains keep AdamW.

Appendix B: Why μP is not fully scale-stable in MoEs

MoEs contain an aggregation over experts, an operation that does not exist in dense networks. The output of an MoE layer is a sum of scalars times vectors,

Aggregationhagg = Σi ∈ top-K φi hiout
Expert outputhiout = Wi,0 hi,0 + Wi,0 Δhi + ΔWi hi,0 + ΔWi Δhi
Termsinitialization + init-propagating + effective-init + effective-propagating

The routing weights φi are scalars, and every hiout is a vector that comes from its own path through the network, an expert with its own learnable weights Wi on top of its own hidden features hi. Take Regime III, where the number of experts, the number of active experts and the expert width all grow with the width, and let the routing weights of the K active experts sum to one. Under μP the experts are initialized independently, so their initialization and init-propagating terms point in unrelated directions and cancel in the aggregate, while the effective terms of all experts follow the same gradient and add up coherently. After aggregation the terms are unbalanced. MSSP resolves this in Regime III by sharing the initialization. All experts start from the same weights, so their initialization and init-propagating terms point the same way and add up coherently, like the effective terms (Figure 16).

Before aggregation, every active expertAfter aggregation, Σi φi(·) with Σi φi = 1
μP
MSSP
Figure 16. Balanced pre-aggregation terms can become unbalanced post-aggregation. Why μP is not fully scale stable in MoEs, Regime III with M = N/32 experts of width N/2 and K = M/2 active, as in our runs. Left: the three terms of every active expert's output, one arrow per expert, in two dimensions. Right: the aggregated terms Σi φi(·), drawn head to tail, with routing weights between 0.3 and 0.7 normalized to sum to one. The dashed circle marks unit RMS. Independent experts point in random directions, so under μP their initialization and init-propagating terms cancel in the aggregate like the sum in Figure 14 and vanish as N−1/2. The effective terms of all experts follow the same gradient and add up coherently, so they are fine in both. MSSP starts all experts from the same weights, so its initialization and init-propagating terms add up coherently as well. Every term stays order one, before and after aggregation. A picture of the scaling, not measured data.

Tied experts do not stay identical. Top-K selection sends different tokens to different experts, so they separate during training, and after about 600 steps they are more diverse than under μP (Figure 7).

Regime II keeps the expert width fixed, and there MSSP keeps the experts independent and instead initializes the expert output weights larger by a factor √M ∝ N1/2. The initialization and init-propagating terms then grow as N1/2 before aggregation and come out of order one after it. On a general path, tie the experts in G ≍ N/Ne groups, with the same initial weights within a group and independent weights across groups. The growth before aggregation in Regime II never has to materialize. A fused kernel that scales each expert's output by φi/√M while accumulating computes the aggregate directly. We did not need it up to M = 512, and all our runs train stably in BF16 mixed precision, without loss scaling. What matters for training is the effect of each weight's initialization and update on the output. Under μP the initialization and the init-propagating term of the MoE layer vanish with width, so μP induces width-dependent training dynamics in MoEs. MSSP keeps every term of order one and is more scale stable, so we expect better predictability and better hyperparameter transfer under MSSP. The coordinate checks below confirm both (Figure 18).

It is not just the aggregation. An MoE also has several backward paths, through the experts, through the router and through the dense layers around them, and every term in the forward and the backward pass should contribute in a balanced way (Figure 17). The μ-desiderata only ask this of the immediate forward contribution of each trainable weight.

The MoE block next to three cards: the forward contributions (effective and propagating update), the backward contributions (the same decomposition with transposes) and the contributions through the aggregation (initialization, propagating and effective terms summed over experts). For many fine-grained experts under μP, the backward and aggregation cards are marked scale-dependent.
Figure 17. A coordinate check of an MoE has to cover the backward pass and the aggregation. What a coordinate check of an MoE has to cover. The μ-desiderata only ask the immediate forward contribution of each trainable weight to be order one. Under μP with many fine-grained experts, the backward pass and the aggregation receive contributions that vanish with scale, while the forward checks pass.

A coordinate check trains a few widths for a few steps and checks that the quantities which should stay order one do. For MoEs, the useful version is finer than the usual check of activation sizes. For every layer we measure two terms separately, the effective update ‖ΔWt xt‖ of the layer's own weights and the init-propagating update ‖W0 Δxt‖ that reaches it from earlier layers. At every step we fit the width exponent of each term by least squares in log-log space over all widths and seeds. An exponent of zero means the term is order one at every width.

This per-layer check is necessary but not sufficient. In Regime II it passes for μP as well as for MSSP. The failure of μP sits inside the aggregation, so we also decompose the aggregated output of each MoE layer into its initialization, init-propagating, effective-init and effective-propagating terms, as above, and fit a width exponent for each. Under μP in Regime II, the initialization and init-propagating terms vanish as N−1/2. Under MSSP all terms stay at zero (Figure 18, left).

Forward, terms of the aggregated outputWidth exponents of the initialization, init-propagating and effective terms of the aggregated MoE output over 100 steps; under μP the initialization and init-propagating terms sit near minus one half, under MSSP all terms stay near zero.
Backward, terms of the gradient through the expertsWidth exponents of the four terms of the expert-induced gradient on the residual stream over 1000 steps, MLP MoE in Regime III with Adam. Under μP the initialization and init-propagating terms sit at minus 1.5 and the effective-init and effective-propagating terms near minus 1. Under MSSP the init-propagating and effective-propagating terms sit at minus 1.
Figure 18. Only MSSP balances all subterms, both forward and backward, and induces fully scale-stable training dynamics. Coordinate checks, width exponents of each term over training. An exponent of zero means the term is width-independent. Left, forward: Transformer MoEs in Regime II under QB, first MoE layer, widths 256 to 2048, 4 seeds, 100 steps. Under μP the initialization and init-propagating terms of the aggregated output vanish as N−1/2, under MSSP all terms stay at zero. Right, backward: MLP MoEs in Regime III trained with Adam, widths 256 to 2048, 4 seeds, 1000 steps, the four terms of the gradient that reaches the residual stream through the experts. Gradient entries are expected to scale as N−1. Under μP the initialization and init-propagating terms decay as N−3/2, so they vanish relative to the others. Under MSSP every term follows N−1. Its initialization and effective-init terms are exactly zero, because the last layer starts at zero.
The same decomposition applies to the backward pass, where the gradient that reaches the residual stream through the experts splits into initialization, init-propagating, effective-init and effective-propagating terms. Their scaling can be predicted as well. Gradient entries should scale as N−1. Under μP the initialization and init-propagating terms decay as N−3/2 instead and vanish relative to the others, while under MSSP every term follows N−1 (Figure 18, right). The whole check costs four widths, four seeds and 100 steps, all inside the warmup, and catches a wrong initialization or learning-rate exponent before any sweep is launched.

References

  1. J. Małaśnicki, K. Ciebiera, M. Boruń, M. Pióro, J. Ludziejewski, M. Stefaniak, M. Krutul, S. Jaszczur, M. Cygan, K. Adamczewski, et al. μ-Parametrization for mixture of experts. arXiv:2508.09752, 2025.
  2. T. Jiang, B. Bordelon, C. Pehlevan, B. Hanin. Hyperparameter transfer with mixture-of-expert layers. arXiv:2601.20205, 2026.
  3. B. Bordelon, L. Noci, M. B. Li, B. Hanin, C. Pehlevan. Depthwise hyperparameter transfer in residual networks: dynamics and scaling limit. ICLR, 2024.
  4. N. Dey, B. C. Zhang, L. Noci, M. Li, B. Bordelon, S. Bergsma, C. Pehlevan, B. Hanin, J. Hestness. Don't be lazy: CompleteP enables compute-efficient deep transformers. NeurIPS, 2025. arXiv:2505.01618.
  5. W. Fedus, B. Zoph, N. Shazeer. Switch Transformers: Scaling to trillion parameter models with simple and efficient sparsity. JMLR, 2022.
  6. W. Kool, H. van Hoof, M. Welling. Stochastic beams and where to find them: The Gumbel-top-k trick for sampling sequences without replacement. ICML, 2019.
  7. DeepSeek-AI. DeepSeek-V3 technical report. 2024.
  8. J. Su. Travels in MoE 6: promoting load balance via optimal assignment. Blog post, Scientific Spaces (in Chinese), 2026. kexue.fm/archives/11619.
  9. L. Wang, H. Gao, C. Zhao, X. Sun, D. Dai. Auxiliary-loss-free load balancing strategy for mixture-of-experts. arXiv:2408.15664, 2024.
  10. T. Pethick et al. Training deep learning models with norm-constrained LMOs. ICML, 2025. arXiv:2502.07529.
  11. K. Jordan, Y. Jin, V. Boza, J. You, F. Cesista, L. Newhouse, J. Bernstein. Muon: An optimizer for hidden layers in neural networks. kellerjordan.github.io/posts/muon, 2024. NVIDIA, Emerging-Optimizers, 2025.