One Model, Two Paths: Balancing Single-Pass and Looped Performance in Language Models

Jiarun Shen, Lei Zhao, Xiao Li
10/24/2026
cs.CL

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2026model,
  title  = {One Model, Two Paths: Balancing Single-Pass and Looped Performance in Language Models},
  author = {Jiarun Shen and Lei Zhao and Xiao Li},
  year   = {2026},
  eprint = {2610.33517},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.33517v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.33517.svg)](https://codeofpaper.com/paper/2610.33517)

Discussion