TL;DR
Training massive hybrid language models—those blending Transformer attention with State-Space Models (SSMs) like Mamba—usually demands expensive hyperparameter tuning every time you scale up. Surprisingly, although SSMs break the mathematical rules of standard scaling theories, the original, unmodified Maximal Update Parameterization ($\mu$P) transfers optimal learning rates from tiny proxy models to billion-parameter hybrids with near-zero error. Why does a "broken" theory work so well in practice? Thank your AdamW optimizer, which quietly balances the chaos behind the scenes.
What Problem Does This Paper Address?
When you make a neural network wider or deeper, its internal dynamics shift, meaning the optimal learning rate (LR) changes. Finding that sweet spot on a massive model via trial-and-error can easily cost more compute than the final training run itself.
For pure Transformers, Maximal Update Parameterization ($\mu$P) solved this: by carefully scaling weight initializations and learning rates by layer width ($d$), you can tune your LR on a cheap, narrow proxy model and transfer it directly to a giant target model.
Recently, production LLMs (like Jamba, Falcon-H1, and Nemotron-H) have shifted toward hybrid architectures, pairing Transformers (great at long-range recall) with SSMs like Mamba (fast and cheap at inference). However, prior theoretical work showed that SSMs violate the mathematical foundations of $\mu$P, prompting researchers to derive complex, component-specific scaling rules ($\mu$P-SSM) assuming infinite width and idealized math. Yet in the real world, engineers use finite widths, AdamW, and simplified Mamba implementations—leaving a glaring gap: how do we actually transfer learning rates for practical hybrid models without retuning at every scale?
Methods
Instead of inventing a complex new parameterization, the authors empirically test existing ones across a wide zoo of custom hybrid architectures—mixing Transformer (T), Mamba (M), and parallel-fused Hybrid (H) blocks—as well as NVIDIA’s production Nemotron-H design. They compare four schemes under AdamW:
- Standard Parameterization (SP): Standard $1/\sqrt{d}$ initialization with a single global LR.
- Naïve $\mu$P: Applying standard Transformer $\mu$P ($1/d$ hidden initialization and LR scaling) blindly across all blocks, ignoring SSM-specific theory.
- Block-wise $\mu$P ($\mu$P-SSM): Applying specialized theoretical SSM scaling rules to the Mamba components.
- Approximated Block-wise $\mu$P: A novel diagnostic hybrid keeping $\mu$P-SSM initializations while reverting unstable SSM LR multipliers back to naïve $\mu$P.
To explain why naïve $\mu$P succeeds where specialized theory stumbles, the authors introduce a two-condition diagnostic decomposition for LR transfer:
- Condition 1 (Global update-to-weight invariance): Keeping the relative size of weight updates ($\|\Delta W\|_F / \|W\|_F$) constant as width grows.
- Condition 2 (Local per-component update balance): Keeping the ratio of update magnitudes between heterogeneous blocks (e.g., Mamba vs. Transformer FFN) consistent across model widths.
Datasets
No new benchmarks were introduced. Training and LR sweeps used standard language modeling corpora: WikiText-2 (2.4M tokens) for rapid sweeps, WikiText-103 (120M tokens) for controlled convergence, and FineWeb-Edu (up to 24.9B tokens) for web-scale validation. Downstream zero-shot capabilities were evaluated on HellaSwag, PIQA, WinoGrande, ARC (Easy/Challenge), and LAMBADA.
Key Insights and Ideas
- The standard diagnostic lies on hybrids: Normally, you verify $\mu$P by running a "coordinate check" to ensure layer activations stay constant as width grows. On hybrids, every tested parameterization fails this check—yet naïve $\mu$P still transfers learning rates cleanly!
- AdamW is the secret hero: Under plain SGD, Mamba and Transformer gradients scale differently with width, requiring custom per-component LR rules. Under AdamW, per-parameter RMS normalization ($g/\sqrt{v}$) makes updates depend on gradient signs rather than magnitudes. Thus, naïve $\mu$P handles global scaling (Condition 1), while AdamW automatically enforces cross-block balance (Condition 2).
- Over-correcting causes a "stacking failure": Theoretical $\mu$P-SSM rules were derived assuming idealized discretization and growing state sizes under SGD. In standard Mamba (simplified discretization, fixed state size $N_x=16$), the expected gradient decay doesn't happen. Applying $\mu$P-SSM's aggressive LR boost on top of AdamW’s normalization double-counts the correction, causing the optimal LR to drift across widths.
Key Results
- Zero-gap width and depth transfer: Across 7 architectures spanning widths 256 to 1024, naïve $\mu$P is the only scheme where the optimal LR ($\eta^* = 1.0$) never shifts. Scaling simultaneously from a ~58M–61M proxy ($w=256, d=8$) up to ~624M–830M ($w=1024, d=32$)—and up to 1.24B parameters ($w=2048$)—yields a 0.0% LR transfer gap. Meanwhile, reusing SP's proxy LR on FineWeb-Edu incurs a 1.1–8.7% loss penalty.
- Out-of-the-box production transfer: Without any custom tuning, naïve $\mu$P achieves a 0.0% transfer gap on NVIDIA's Nemotron-H architecture (which uses Mamba-2, squared-ReLU, and no RoPE) up to 980M parameters, whereas SP suffers a 1.9% penalty.
- Competitive downstream accuracy: A 312M hybrid (
MHMH) trained on 5B FineWeb-Edu tokens using a directly transferred LR achieves 44.1% average zero-shot accuracy, outperforming retrained Pythia-410M (42.4%) and Mamba-370M (41.9%) baselines.
Limitations and Future Work
- Joint scaling limits: Billion-parameter scale (1.24B), full Chinchilla-optimal token horizons (24.9B tokens), and multi-seed sweeps were validated individually due to compute budgets, rather than all three simultaneously in a full grid sweep.
- Untested architectures and optimizers: Mixture-of-Experts (MoE) hybrids and Mamba-3 (which uses complex-valued states outside real-valued $\mu$P rules) remain untested. Furthermore, while element-wise normalizers like AdamW and Sophia transfer cleanly, matrix-orthogonalizing optimizers like Muon did not transfer under their recommended scaling.
- Open theory: Formally proving whether the two-condition decomposition is mathematically sufficient at infinite width—and testing $\mu$P-SSM under true zero-order-hold discretization with growing state sizes—remains open for theorists to tackle.
Summary updated