English

SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion

Machine Learning 2026-04-21 v2

Abstract

Recursive (looped) Transformers decouple computational depth from parameter depth by repeatedly applying shared layers, providing an explicit architectural primitive for iterative refinement and latent reasoning. However, early looped Transformers often underperform non-recursive baselines of equal compute. While recent literature has introduced more effective recursion mechanisms to mitigate this gap, existing architectures still operate at a fixed, full-token resolution, neglecting the potential efficiency of computing over compressed latent representations. In this paper, we propose SpiralFormer, a looped Transformer that executes recurrence under a multi-resolution recursion schedule. We provide probing evidence that multi-resolution recursion enables the model to learn hierarchical dependencies by inducing iteration-wise functional specialization across different scales. Empirically, SpiralFormer achieves better parameter and compute efficiency than both looped and non-looped baselines across model scales from 160M to 1.4B, establishing sequence resolution as a potential axis for scaling recursive architectures.

Keywords

Cite

@article{arxiv.2602.11698,
  title  = {SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion},
  author = {Chengting Yu and Xiaobo Shu and Yadao Wang and Yizhen Zhang and Haoyi Wu and You Wu and Rujiao Long and Ziheng Chen and Yuchi Xu and Wenbo Su and Bo Zheng},
  journal= {arXiv preprint arXiv:2602.11698},
  year   = {2026}
}
R2 v1 2026-07-01T10:33:14.674Z