AIAny
Icon for item

SMELT: Scaling Laws for Compute-Matched MoE Looped Transformers

Studies looping shared transformer layers in Mixture-of-Experts models under matched budgets and proposes SMELT: loop the middle half twice while matching per-token FLOPs, non-embedding parameters, and KV cache. Shows 6.8–18.0% training-FLOPs savings on the compute-optimal frontier, stronger downstream gains on code and long-context tasks.

Introduction

Why this matters Sharing layers (looping) can increase a model's effective depth at low memory cost, but prior comparisons often conflate depth reuse with extra compute. This paper isolates the architectural effect by matching three critical budgets—per-token FLOPs, total non-embedding parameters, and KV cache—and finds a practical loop recipe (SMELT) for Mixture-of-Experts Transformers that improves scaling behavior and downstream performance.

Key Findings
  • SMELT recipe: loop the middle 50% of layers twice, narrow hidden dimension, increase expert count to recover parameters, scale looped residuals by 1/2, and adjust head size/GQA to preserve KV cache. This keeps per-token FLOPs, non-embedding parameters, and KV cache nearly equal to the unlooped Baseline while adding effective depth.
  • Scaling and compute gains: across four model sizes up to 54B non-embedding parameters and at multiple sparsity levels, SMELT reaches lower validation loss and fits a separate Chinchilla-style scaling law that drops faster with compute and data. On the compute-optimal frontier SMELT saves about 6.8–18.0% of training FLOPs depending on sparsity and compute budget.
  • Downstream and mechanistic evidence: gains transfer beyond validation loss, are largest on code benchmarks, grow with sequence length and in-context examples, and persist across tasks. Mechanistic probes show the second pass reduces an attention sink, redirects attention mass to content-relevant tokens, reuses retrieval coordinates, and amplifies residual writes — suggesting the second visit acts as a refinement step.
Who it's for and trade-offs

Great fit if you build or research large MoE-based language models and can modify architecture and routing: SMELT is practical when you can adjust hidden widths, expert counts, attention head sizing, and GQA settings to enforce budget parity. Look elsewhere if you must stick to dense (non-MoE) stacks, cannot change KV cache/head-size constraints, or prefer architectures where routing divergence across loops is undesirable. Engineering trade-offs include added design complexity (routing, GQA/head adjustments) and reliance on MoE benefits; dense looped models do not show the same scaling advantages.

Information

  • Websitearxiv.org
  • AuthorsShaowen Wang, Ge Zhang, Kairong Luo, Yuhao Wu, Shaofan Liu, Jiaheng Liu, Wenhao Huang, Shen Yan, Jian Li
  • Published date2026/09/01

More Items

Uses budget-matched controls to test whether revisiting parameters itself improves looped Mixture-of-Experts models. The study attributes most gains to network shape, optimizer choice, and added compute instead.

Maps visual and textual context to a probability distribution over natural-language choices, enabling agents to decide without generating each answer token by token. Its set-attention head models option interactions while preserving order invariance.

Stabilizes Gated DeltaNet-2 for long-context training with symmetric erasure and decay-regulated residual writes. The method bounds recurrent state growth by O(√T) while preserving chunkwise parallel computation.