paper-with-me

Papers

T^2MLR: Transformer with Temporal Middle-Layer Recurrence

2026-07-16 · Ziyang Cai, Xingyu Zhu, Yihe Dong, Yinghui He, Sanjeev Arora arxiv

Transformer reasoning is limited by autoregressive decoding, which repeat edly compresses rich hidden computation through token space and makes it difficult for intermediate reasoning states to persist across time. We in troduce Transformers with Temporal Middle-Layer Recurrence (T2MLR), a transformers-based latent reasoning architecture that fuses a cached middle layer representation from the previous token directly into an earlier layer of the current token position, enabling abstract intermediate computation to persist across decoding steps with little inference overhead. Across natural-language pretraining and multi-hop reasoning finetuning, T2MLR consistently outperforms data- and parameter-matched Transformer base lines. Moreover, applying recurrence to only a localized middle-layer block (as little as 20% of the network) often outperforms full-layer recurrence. Im portantly, T2MLR does not require pretraining from scratch: retrofitting the recurrent pathway into an existing pretrained 1.7B Transformer and briefly finetuning substantially improves math reasoning, lowering the barrier to practical adoption. These results suggest that effective latent reasoning in Transformers does not require looping over all layers as in previous works, but can instead emerge more strongly from targeted middle-layer recurrence.

📄 PDF Abstract BibTeX arXiv:2607.15178

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Intra-Layer Recurrence in Transformers for Language Modeling

2025-05-03 · Anthony Nguyen, Wenjun Lin

Transformer models have established new benchmarks in natural language processing; however, their increasing depth results in substantial growth in parameter counts. While existing recurrent transformer methods address t…

Language ModelingLanguage Modelling

The Topological Trouble With Transformers

2026-04-18 · Michael C. Mozer, Shoaib Ahmed Siddiqui, Rosanne Liu arxiv

Transformers encode structure in sequences via an expanding contextual history. However, their purely feedforward architecture fundamentally limits dynamic state tracking. State tracking -- the iterative updating of late…

Interpreting Affine Recurrence Learning in GPT-style Transformers

2024-10-22 · Samarth Bhargav, Alexander Gu

Understanding the internal mechanisms of GPT-style transformers, particularly their capacity to perform in-context learning (ICL), is critical for advancing AI alignment and interpretability. In-context learning allows t…

In-Context Learning

Investigating Recurrent Transformers with Dynamic Halt

2024-02-01 · Jishnu Ray Chowdhury, Cornelia Caragea

In this paper, we comprehensively study the inductive biases of two major approaches to augmenting Transformers with a recurrent mechanism: (1) the approach of incorporating a depth-wise recurrence similar to Universal T…

DiagnosticLanguage ModelingLanguage ModellingListOps

Modeling Recurrence for Transformer

2019-04-05 · NAACL 2019 6 · Jie Hao, Xing Wang, Baosong Yang, Long-Yue Wang 외

Recently, the Transformer model that is based solely on attention mechanisms, has advanced the state-of-the-art on various machine translation tasks. However, recent studies reveal that the lack of recurrence hinders its…

Machine TranslationTranslation