Looped Transformers decouple computational depth from parameter count, and prior studies have demonstrated promising performance gains with increased computation. However, systematic design principles for configuring these models under strict iso-parameter and iso-FLOP constraints remain scarce. We contribute to this direction by improving information flow in looped models and systematically studying loop parameter configurations. Specifically, we refine this information flow via gated inner-loop state updates and a cross-stage residual connection. Building on this design, controlled studies identify a configuration combining a single-pass Core depth of 25%-35% of the total unrolled depth with reallocating saved parameters into extra routed experts per layer, improving performance at zero extra compute while preserving compatibility with existing training infrastructure. Evaluated after 1T pre-training tokens, our 69B MLA and 51B KDA Mixture-of-Experts models outperform budget-matched non-recurrent baselines by an average of 1.16 and 2.29 percentage points across four benchmarks, respectively. Further reproduction experiments on a common backbone with a 200B-token training budget show that our method achieves lower perplexity than other looped methods. Code for these reproduction experiments is available at https://github.com/lxi01766/Scaling-Looped-MoE-Language-Models-under-Matched-Budgets-Information-Flow-and-Parameter-Allocation.
Figures & tables
Figure 1: Main results and comparison with existing looped models. (a) Benchmark gains in percentage points (pp) over corresponding non-loop baselines after 1T tokens with MLA or KDA attention. (b) Training LM loss and final validation PPL on Dolma 3 Mix with a common GQA-MoE backbone, trained for 200B tokens.
Figure 2: Overview of our looped model with R Core passes. P , Fω , and C denote the Prelude, shared Core, and Coda; all Core passes share weights ω . Given token embeddings Embed(x) , the first pass receives e~=NE(e) directly. For t≥2 , boundary normalization Nt−1 precedes the gated fusion operator M , which combines the previous state with the fixed input e~ (dashed path; Section 3.2 ). The cross-stage residual connection adds the raw Prelude output e to hR before C produces z . Output-head operations are omitted.
Figure 3: Training LM loss after 170B tokens under iso-parameter and iso-FLOP budgets, with 20 unrolled layers and parameter capacity restored via uniform expert-pool expansion (Section 4.2 ). Colors group configurations with the same total number of Core layer executions and fixed Prelude and Coda depths. Point labels give the Core depth ratio ρ as a percentage, followed by loss. The run with three iterations and 18 Core layer executions diverged (loss 6.931539 ) and is omitted from the plotted range.
Strategy
Δ Val. Avg.
Δ MMLU
Δ CMMLU
Ours
0.0000
0.0000
0.0000
Depth–Width
−0.0007
+0.0025
−0.0198
Attn–FFN
+0.0112
+0.0323
+0.0217
Strategy
Δ GSM8K
Δ FullStack Bench
Δ OWT2
Ours
0.0000
0.0000
0.0000
Depth–Width
+0.0019
+0.0141
−0.0009
Table 1: Changes in validation loss relative to Ours. Negative values indicate improvements, while positive values indicate degradation. Δ Val. Avg. denotes the change in the unweighted mean loss across our 20 held-out validation sets, with five representative sets shown individually.
Figure 4: Effect of parameter restoration across Core depth ratios ρ . All models have 20 unrolled layers and two Core iterations ( R=2 ). Values are training LM loss after 170B tokens. Green: uniform layer-wise expert expansion; blue: no restoration. The dashed line marks the non-recurrent baseline; circles identify each curve’s best configuration.
Attention
Model
MMLU
CMMLU
C-Eval
BBH
Avg.
Baseline
70.44
75.96
76.31
48.09
67.70
MLA
Ours
71.03 (+0.59)
76.35 (+0.39)
77.09 (+0.78)
50.95 (+2.86)
68.86 (+1.16)
Baseline
68.69
74.92
73.83
44.24
65.42
KDA
Ours
70.63 (+1.94)
76.50 (+1.58)
75.39 (+1.56)
48.32 (+4.08)
67.71 (+2.29)
Table 2: Main results at 1T training tokens. Scores are percentages (higher is better); parentheses show gains in pp. Avg. is the unweighted mean of all four benchmarks.
Method
Parameters (B)
Dolma Val PPL ↓
LAMBADA PPL ↓
Active
Total
83.89B
200B
83.89B
200B
Baseline
0.80
7.406
9.3692
8.4948
8.8334
6.7623
Parcae
0.81
7.430
9.2175
8.3596
8.2774
6.6870
SMELT
0.81
7.361
9.2050
8.3567
8.3895
6.4837
Ours
0.81
7.427
9.1839
8.3109
8.0987
6.2286
Table 3: Comparison on the common GQA-MoE backbone. Active parameter scales are approximate unrolled execution counts; total parameters count shared weights once. Both are reported in billions. Column groups report PPL at 83.89B and 200B training tokens; lower is better.
Variant
Val. loss ↓
Train loss ↓
Non-recurrent baseline
1.848004
1.626291
Full method
1.801952
1.586823
No cross-stage residual
1.832668
1.608155
Additive fusion
1.804715
1.588480
Concatenation + random
1.810110
1.592462
Table 4: Component ablations near 100B tokens. Lower losses are better; validation loss is the unweighted mean across the 20 held-out validation sets. Concatenation + random applies concatenation-based linear fusion from a random initial state. Other components are retained unless specified.
Model
Params (B)
Val. loss ↓
Train loss ↓
Active
Total
mHC
1.3
14.5
1.810356
1.591382
mHC + Loop
1.3
11.9
1.784440
1.572306
Table 5: mHC comparison near 100B tokens. Active and total parameter counts are reported in billions (shared weights counted once, without parameter restoration). Validation loss is the unweighted mean across the 20 held-out validation sets; training loss is averaged over a window near 100B tokens.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Setting
Value
Sequence length
8,192 tokens
Micro batch size
1
Global batch size
1,024→4,096→8,192
Precision
BF16
Optimizer
Muon with AdamW parameter groups
Base learning rate
7.5×10−4
Appendix
Table 6: Training hyperparameters for the 1T-token main experiment with KDA attention. Learning rates are base values before parameter-group scaling.
Method
Layout
Active / total
Experts/layer
Expert width
Q heads
KV heads
Baseline
15 independent blocks
0.80 / 7.406
128
768
16
8
Ours
2+4×2+5
0.81 / 7.427
176
768
16
8
Parcae
2+4×2+5
0.81 / 7.430
176
768
16
8
SMELT
4+8×2+4
0.81 / 7.361
192
480
10
5
Appendix
Table 7: Architectures used in the common-backbone comparison. Layouts follow Prelude + Core × iterations + Coda notation. Active and total parameter scales are in billions; active scales are approximate unrolled counts. Expert width denotes the intermediate dimension.
Setting
Value
Training tokens
200B
Sequence length
4,096
Global batch size
2,048 sequences
Precision
BF16
Optimizer
AdamW
Peak learning rate
3×10−4
Appendix
Table 8: Shared training settings for method comparisons. Method-specific weight-decay assignments are described in Appendix B.3 .
Looped language models repeat a set of transformer layers through depth, reducing memory costs and providing natural early-exit points at loop boundaries. However, looped models do not scale as favorably as standard transformers with unique layers. We compare standard and Mixture-of-Experts (MoE) transformers, with and without looping, and find two main results. First, we find Looped-MoE models scale better than the standard baseline while dense looped models do not. We trace this to routing divergence between loops: in Looped-MoE models, different experts are activated on each pass through the same shared layers, recovering expressivity without additional parameters. Our second finding is that looped models have better compute-quality trade-offs with early exits than standard models. Because each loop ends with the same layers that produce the final output, loop boundaries are superior exit points, as confirmed by earlier output convergence at these points. In sum, we provide a clear direction for scaling looped models: a Looped-MoE model with early exits can not only beat standard transformers at scale, but also enable significant memory and inference savings with minimal degradation in quality.
Ryan Lee, Jacob Biloki, Edward J. Hu +1
USC Information Sciences Institute · Netflix · Independent Researcher
Mixture-of-Experts (MoE) and looped architectures scale models along two orthogonal axes, namely parameter capacity and effective depth. However, mainstream looped architectures rely on dense backbones that couple parameter count with per-token FLOPs, which makes it impossible to isolate the effect of iterative computation under matched budgets. To this end, we present LoopMoE, a looped MoE language model that integrates sparse routing with iterative weight-shared computation through two designs. The first is IterAdaLN, which resolves weight-sharing symmetry via a modulation signal jointly conditioned on the iteration index and the per-token hidden state. The second is a capacity-balancing strategy that recovers the attention-to-FFN active parameter ratio of well-tuned non-looped references. Together, these designs enable the first strictly controlled, head-to-head evaluation of a looped MoE against a Vanilla MoE under identical total parameters, per-token FLOPs, and active sublayer ratios. At the 3B scale, LoopMoE outperforms the Vanilla MoE on 8 of 9 downstream benchmarks with an average improvement exceeding 1 point. At the 9B scale, LoopMoE continues to outperform the matched Vanilla MoE, indicating that the architectural gain persists at larger scale. Our work establishes a controlled synthesis of sparsity and recurrence, and suggests a promising direction for looped language models.
Wenkai Chen, Tianshu Li, Wenyong Huang +3
Hong Kong University of Science and Technology (Guangzhou) · Huawei Technologies Co.,Ltd.
Looped Transformers introduce recurrent depth as a new scaling axis for LLMs: by repeatedly applying shared Transformer blocks, they increase effective depth without increasing parameter count. However, the benefits of looping remain unclear for large MoE LLMs under FLOPs-matched comparisons. The main reason is that the gains from additional iterations diminish quickly and can even turn into degradation, so the extra FLOPs spent on looping yield little substantial improvement. Consequently, prior work typically settles on two loops. We identify two main obstacles to scaling looped MoE. First, looping inherits and amplifies the curse of depth: hidden-state variance grows with each iteration as residual updates accumulate, which destabilizes deep recurrence and causes representations to drift. Second, looped MoE suffers from expert selection collapse: routers repeatedly select the same experts across loops, so extra iterations add computation without adding computational diversity. Guided by this diagnosis, we propose LOOM, built on a single principle: each loop should contribute new computation while keeping the recurrent state stable. LOOM stabilizes recurrence by scaling residual updates to bound variance growth and re-injecting the input embedding at every loop, and diversifies it through per-loop routers that engage different experts and a Looping Residual that carries earlier outputs forward. Experiments across 100M-1.7B models show stable scaling to 9-12 loops. Under near-iso-FLOP, the 700M model performs best at 5 loops, reducing perplexity from 18.36 to 16.54 and improving average zero-shot accuracy from 38.84% to 39.53% over the non-looped baseline. Without FLOP matching, the 1.7B model trained on 60B tokens peaks at 9 loops, reducing perplexity from 9.62 to 7.77 and improving average zero-shot accuracy from 42.4% to 47.7%. Code is available https://github.com/hed-ucas/LOOM.
Di He, Pengxiang Li, Da Chang +3
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences · Peng Cheng Laboratory · University of Chinese Academy of Sciences +5