Learning from Recurrence: Internalizing Depth-Induced Preferences in Looped Language Models
Abstract
A looped language model repeatedly applies the same block to its hidden state before predicting each token. The number of passes is its recurrent depth. Increasing this depth gives the model more computation per token with the same parameters. Can the shared block learn from the predictions it makes at greater depth? Following prior work, we retrofit pretrained OLMo-2-1B with a shared recurrent block and continue mid-training over varying recurrent depths. In the four-pass model, additional passes mainly redistribute probability among tokens that already rank highly after one pass. We use the continuations generated at greater depth to train only the shared block through a single pass, without reference answers or correctness filtering. We call this transfer preference write-back. Write-back further improves one-pass and multi-pass accuracy on most tasks. At their target depths, the updated models outperform a non-recurrent control matched for mid-training data and token budget on all six mathematical reasoning benchmarks, with a mean relative gain in accuracy of up to 46.2% across tasks. At four-pass inference, one-pass training outperforms full-depth training on the same targets in the model with input injection. This advantage disappears in the matched model without injection. On GSM8K, using the updated block only on passes two through four recovers nearly the entire four-pass gain, showing that an update learned in one pass can improve later applications of the same block.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- 22 pages, 6 figures
Related papers
Evaluating Ukrainian Grammatical Competence in Language Models: Probability Versus Prompting
Shared title terminologycs.CLDmytro Babarytskyi, Oleksandr Babarytskyi, Vadym Savanevych
DiCALM: Converting Autoregressive Convolution-Attention Language Models into Discrete Diffusion Language Models
Shared title terminologycs.CLPhong Le, Ngoc-Quan Pham, Dat Quoc Nguyen
Contextual language representations link narrative processing to language and literacy in children
Shared title terminologycs.CLDongyi He, Tian Jiang, Nizhuan Wang et al.
Pitfalls of Dependency-Ready Decoding for Masked Diffusion Language Models
Shared title terminologycs.CLLina Berrayana, Christopher Malon, Yoichi Ishibashi et al.
Multimodal Safety Evaluation of Vision-Language Models in Japanese
Shared title terminologycs.CLSu Myat Noe, Hisami Suzuki, Kouta Nakayama et al.
NORMCRAFT: Cultural Norm Generation for Context-Aware Language Model Alignment
Shared title terminologycs.CLTangyuan Zhang, Zhuang Li, Fatemeh Shiri et al.