Best-of-Depth: Learning Exploratory Dynamics in Looped Transformers
Shota Takashiro, Takeshi Kojima, Masanori Koyama, Kohei Hayashi, Yusuke Iwasawa
Key points
From the paper's conclusion- These results support training recurrent computation for solution discovery along its trajectory.
Abstract
Looped Transformers extend inference-time computation through repeated latent-state updates, but final-depth training does not directly encourage useful intermediate alternatives. We introduce Best-of-Depth (BoD), which trains a recurrent trajectory as a candidate set by minimizing prediction loss across depths. Different valid targets can be matched at different depths without architectural changes or depth-specific labels. An exact-match analysis connects this objective to solution coverage. On N-Queens completion and graph coloring, BoD improves coverage over final-depth and intermediate-supervision objectives. N-Queens coverage reaches 91.03%, versus 45.75% for final-depth training. Further experiments show discovery beyond the training depth and recovery of solutions withheld from teacher pools on familiar inputs. Fine-tuning a pretrained looped language model with BoD yields higher pooled code-generation success than final-depth training when programs are generated separately at evaluated fixed depths. These results support training recurrent computation for solution discovery along its trajectory.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Decoding Looped Transformers Better for (Almost) FreearXiv · 2026
- LoopFold: Parallelizing Recurrent Depth in Looped TransformersarXiv · 2026
- Adaptive Semantic Branching: Disagreement-Localized Cross-Trajectory Regeneration for Reasoning Candidate ExpansionarXiv · 2026
- How Depth Growth and Looping Shape In-Context Learning in Language ModelsarXiv · 2026
- Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-ExpertsarXiv · 2026
- ARLoop: Fully-Open Pre-trained Looped Transformers with Attention ResidualsarXiv · 2026