One Model, Two Paths: Balancing Single-Pass and Looped Performance in Language Models
Abstract
Repeating Transformer layers can improve language-model performance without adding parameters. A pretrained model can be adapted to support both single-pass and looped inference by reusing middle-layer weights for additional computation. Because both paths share weights, training to improve looped predictions can degrade single-pass quality. We study joint training strategies using weighted losses on both outputs, with guidance from the frozen original model. Joint supervision substantially reduces single-pass degradation compared to looped-only training, while preserving looped gains over ordinary continued training. Most of this benefit comes from adjusting the single-pass loss weight, with guidance from the frozen original model further improving the looped output. With validation-selected weights, our method preserves single-pass quality within a predefined tolerance of ordinary continued training while improving looped predictions.
Create a lesson
Related papers
Single-Coordinate Activation Steering for Controllable Social Stance in Language Models
Shared title terminologycs.CLNaman Chawla, Chhavi Dhiman
Language Models Keep Abandoned Analyses: Residue and Adaptation after Garden-Path Sentences
Shared title terminologycs.CLXiang Ding
Do Halting Heads Really Save Compute in Looped Language Models?
Shared title terminologycs.CLTsung-Han Wu, Minsuk Heo, Kenny Tan
How Depth Growth and Looping Shape In-Context Learning in Language Models
Shared title terminologycs.CLFerdinand Kapl, Kaitlin Maile, Stefan Bauer et al.
Cola2: Co-Adaptive Hierarchical Language Modeling with Continuous Semantic Compression and Balanced Discrete Generation
Shared title terminologycs.CLHongcan Guo, Yian Zhao, Feng Wang et al.
Exploring Multi-Player Social Games as Verifiable Training Grounds for Large Language Models
Shared title terminologycs.CLKeyu He, Michael Li, Jiarui Liu et al.