Learning Rate Transfer for Hybrid Transformer-SSM Architectures

Jimin Seo, Gyubok Lee, Yeonsik Jo, Kiwoong Yoo, Yeongoon Kim, Minhae Oh, Jin Woo Koo, Suhwan Kim, Nakyung Lee, Minsik Seol, Idris Nechnech, Jaehyeon Kim, LeeGiho, Jungwoo LeeNeurIPS 2026

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:

  1. Standard Parameterization (SP): Standard $1/\sqrt{d}$ initialization with a single global LR.
  2. Naïve $\mu$P: Applying standard Transformer $\mu$P ($1/d$ hidden initialization and LR scaling) blindly across all blocks, ignoring SSM-specific theory.
  3. Block-wise $\mu$P ($\mu$P-SSM): Applying specialized theoretical SSM scaling rules to the Mamba components.
  4. 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!
Figure 1: The coordinate check and LR transfer disagree on hybrids (MHMH, d=16). Top: mean absolute activation per block after 10 steps on WIKITEXT-103, relative to w=128; dotted line is width invariance, bold line the median over blocks. Bottom: training loss against learning rate on WIKITEXT-2 (2k steps), each width’s optimum dashed and diverged runs open. The diagnostic separates SP from both µP variants, while transfer separates naïve µP, which holds η∗=1.0 at every width, from the other two.
  • 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.
Table 1: Optimal LR at each (scheme, architecture, width); uniform shading within each row means LR transfer to the corresponding widths. Values from 2k-step training on WIKITEXT-2. The SP grid for MM and MTMT starts at η=0.003.
  • 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

Abstract

We study learning rate (LR) scaling for hybrid architectures combining Transformer and State-Space Model (SSM) blocks, a class adopted by several recent production language models. In particular, we focus on the gap between the theoretical scaling rules derived for SSMs under zero-order-hold (ZOH) discretization at infinite width with growing state size, and the field-standard practical implementations using simplified-ZOH Mamba at fixed state size. Surprisingly, in this practical regime hybrid architectures achieve a near-zero LR transfer gap across widths 256-2048 and depths 4-32 up to billion-parameter scale using only the original $\mu$P prescription, even though SSM operations fall outside its Tensor Programs representability conditions and every parameterization we test fails the standard coordinate-check diagnostic of $\mu$P correctness. We attribute this to a two-condition decomposition of LR transfer in hybrid architectures: a global update-to-weight invariance, enforced by $\mu$P's initialization and LR scaling; and a local per-component balance, provided by AdamW's per-parameter normalization. Our observations show that the optimal LR is invariant to width up to $8\times$, that this width invariance holds across depth, sequence length, batch size, and Transformer-to-SSM ratio, and that it transfers to Nemotron-H, a production hybrid outside our custom architecture set. We hope these findings fill the gap between theoretical scaling rules and practical hybrid implementations, and stimulate further research toward bridging it.
BibTeX
@inproceedings{seo2026learning,
  author = {Jimin Seo and Gyubok Lee and Yeonsik Jo and Kiwoong Yoo and Yeongoon Kim and Minhae Oh and Jin Woo Koo and Suhwan Kim and Nakyung Lee and Minsik Seol and Idris Nechnech and Jaehyeon Kim and LeeGiho and Jungwoo Lee},
  title = {{Learning Rate Transfer for Hybrid Transformer-SSM Architectures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=n2jzaVlsoJ},
}
Figure