One Model, Two Paths: Balancing Single-Pass and Looped Performance in Language Models
Shen, Jiarun, Zhao, Lei, Li, Xiao
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Oct-27-2026
- Country:
- Asia (0.28)
- Genre:
- Research Report (1.00)
- Industry:
- Energy (0.46)
- Health & Medicine (0.34)
- Technology: