LT2: Linear-Time Looped Transformers

Chunyuan Deng, Yizhe Zhang, Rui-Jie Zhu, Yuanyuan Xu, Jiarui Liu +2 more
5/20/2026
cs.LG

No official code found. Best implementation: chili-lab/LT2 (49 stars, BSD-3-Clause, last commit 2026-07-27).

Abstract

Looped Transformers (LT) have emerged as a powerful architecture by iterating their layers multiple times before decoding the final token. However, pairing them with full attention retains quadratic complexity, making them computationally expensive and slow. We introduce LT2 (Linear-Time Looped Transformers), a family of looped architectures that replace quadratic softmax attention with subquadratic, linear-time attention. We study two variants: LT2-linear with linear attention and LT2-sparse with sparse attention. We find that looping uniquely synergizes with these variants: it enables iterative memory refinement in linear attention and progressively expands the effective receptive field in sparse attention. We formalize these benefits theoretically and demonstrate consistent empirical gains across controlled recall, state-tracking, and language modeling tasks. We then explore LT2-hybrid, which combines different attention variants in a looped setting. Two variants are especially promising: LT2-hybrid (GDN+DSA), which interleaves linear and sparse attention to maximize efficiency and matches the standard looped transformer's quality at fully linear-time cost; and LT2-hybrid (Full+GDN), which interleaves GDN with a small fraction of full attention layers to maximize quality, surpassing the standard looped transformer in both performance and efficiency. We also show how to convert a pre-trained LT into an LT2-hybrid model. With about 1B tokens of training, our converted model, Ouro-hybrid-1.4B, outperforms industry-level 1B models and is competitive with industry-level 4B models while retaining the speed benefits of linear-time attention. Together, these results show a clear path toward making looped transformers more scalable and advancing efficient, capable small language models.

View on arXivView PDF

Code Implementations(1)

chili-lab/LT2Community25%
BSD-3-Clause

Official Codebase: LT2: Linear-Time Looped Transformers.

492Shell, PythonMay 18, 20262 months agoBSD-3-Clause
architecturelanguage-model

Cite this paper

@article{deng2026lt,
  title  = {LT2: Linear-Time Looped Transformers},
  author = {Chunyuan Deng and Yizhe Zhang and Rui-Jie Zhu and Yuanyuan Xu and Jiarui Liu and T. S. Eugene Ng and Hanjie Chen},
  year   = {2026},
  eprint = {2605.20670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.20670v1}
}

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

Discussion