Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior

Zeyi Huang, Xuehai He, LiLiang Ren, Yiping Wang, Baolin Peng +6 more
5/26/2026
cs.LGcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

We study Latent Recurrent Transformer (LRT), a lightweight augmentation of autoregressive transformers that reuses a high-level source-layer hidden state from the previous token as recurrent memory for the next token. Because this source state is already computed during ordinary decoding, LRT adds a cross-layer recurrent latent pathway across positions without inserting pause tokens or extra depth loops, and the standard attention mechanism and KV-cache interface are preserved. To pretrain this recurrence at scale without sequentially unrolling the transformer, we introduce interleaved parallel training: a single full-sequence initialization forward pass builds a shared buffer; then disjoint position subsets are refined in parallel and written back, so that all tokens receive recurrent-memory-aware supervision at roughly 2 times baseline compute. Across nanochat style backbones and a wide range of tokens-per-parameter budgets, LRT improves both language-modeling loss and in-context learning under matched effective compute while adding as little as 0.3% parameters.

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. 3 weaker matches are hidden by default — 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{huang2026latent,
  title  = {Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior},
  author = {Zeyi Huang and Xuehai He and LiLiang Ren and Yiping Wang and Baolin Peng and Hao Cheng and Shuohang Wang and Pengcheng He and Jianfeng Gao and Yong Jae Lee and Yelong Shen},
  year   = {2026},
  eprint = {2605.26797},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.26797v1}
}

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/2605.26797.svg)](https://codeofpaper.com/paper/2605.26797)

Discussion