Loop Deeper or Branch Wider? Final-Loop Mixtures for Looped Language Models
Jonathan Williams, Wenhao Chai, Esin Türeci, Karthik R. Narasimhan
Abstract
Looped language models reuse one block of layers several times per token, thus the usual way to give them more compute is running another loop. Unfortunately, each extra loop helps less as models get deeper. Going from two to three loops lowers perplexity by 4.9% in our 150M-parameter model but by only 1.1% at 500M. We ask whether this compute is better spent branching wider than looping deeper. Our final-loop mixture runs the last loop twice in parallel, from the usual hidden state and from a learned offset of it, and mixes the two next-token predictions with a learned gate. A mixture with loops costs as much to train per token as a plain model with loops, so we compare the two directly, trained on the same 10B tokens of FineWeb-Edu. Across models with 150M to 500M parameters, the mixture is better in 5 of 6 in-distribution and all 6 out-of-distribution settings, and its lead grows with depth. In a control at 150M and 250M, it also beats a plain -loop model grown from the same checkpoint with the same weight on its final prediction. Because its two branches run side by side, the mixture needs 14-29% less time per generated token than the deeper model at batch size one, with the same key-value cache. The mixture's gains come mostly from rare, hard-to-predict words, which lifts accuracy on language-modeling and cloze benchmarks.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
Related papers
Data Diversity Matters: How Varied Data Mixtures Lead to Robust Pretrained Language Models for Luxembourgish
Shared title terminologycs.CLAnne-Marie Lutgen, Felicia Körner, Alistair Plum et al.
DLA: Decomposed Latent Attention for Looped Language Models
Shared title terminologycs.CLZhenhe Wu, Weihua He, Xinlai Kang et al.
Global Patterns of English: Accent Variation and Language Relationships in Self-Supervised Speech Representations
Shared title terminologycs.CLTuukka Törö, Antti Suni, Juraj Šimko
From Intervention to Skill: Evolving Small--large Language Model Collaboration
Shared title terminologycs.CLZhenning Shi, Ran Wei, Ning Song et al.
Romanized Hindi Reveals a Model-Dependent Safety Asymmetry in Open-Weight Language Models
Shared title terminologycs.CLBibek Nagpal, Shrisay Shandilya, Soham Kumar et al.
Semantic irreversibility: how language models learn the arrow of time from syntax to reasoning
Shared title terminologycs.CLJunang Li, Weishun Zhong