Skip to main content
QUICK REVIEW

[Paper Review] SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion

Chengting Yu, Xiaobo Shu|arXiv (Cornell University)|Feb 12, 2026
Advanced Neural Network ApplicationsComputer Science0 citations
TL;DR

SpiralFormer introduces multi-resolution recursion in looped Transformers, enabling hierarchical, scale-dependent dependencies and improved efficiency over both looped and non-looped baselines across 160M–1.4B scales.

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.

Motivation & Objective

  • Investigate whether multi-resolution recursion can make looped Transformers learn hierarchical dependencies.
  • Develop SpiralFormer to compress tokens into latent slots and operate across resolutions within recursion.
  • Show that coarse-to-fine, shared-core recursion yields better compute/parameter efficiency than full-resolution looping.
  • Provide empirical evidence across model scales (160M–1.4B) that multi-resolution recursion improves performance and efficiency.

Proposed method

  • Adopt Middle-cycle architecture with pre/loop/post blocks and a shared loop core.
  • Introduce multi-resolution recursion by downsampling to chunk-level latents, processing with a shared core, and upsampling back to token length, with strict autoregressive causality via a right-shift.
  • Define a resolution schedule {r_t} to vary effective sequence length L_t during iterations.
  • Use MeSH or Anchor topology updates to fuse per-iteration updates into the running state.
  • Implement causal down/up-scaling with chunking, offset, and attention-based down/up-scaling mechanisms.
  • Evaluate with pretraining decoder-style Transformers on the Pythia suite (160M–1.4B) and compare to Baseline and LoopedFormer across compute and parameter budgets.

Experimental results

Research questions

  • RQ1Does multi-resolution recursion enable looped Transformers to learn hierarchical dependencies not captured by full-resolution looping?
  • RQ2Can a shared core operating over compressed latent representations achieve better parameter and compute efficiency than traditional looped or non-looped architectures?
  • RQ3How does the resolution schedule impact model performance and scaling behavior?
  • RQ4What is the impact of recurrence ratio on validation loss and capacity in SpiralFormer?
  • RQ5Do attention patterns shift coherently across loop iterations as resolution increases, indicating hierarchical reasoning?

Key findings

  • SpiralFormer achieves better parameter and compute efficiency than both looped and non-looped baselines across 160M–1.4B scales.
  • A coarse-to-fine multi-resolution schedule consistently reduces FLOPs (≈7–11% at certain sizes) while maintaining or improving perplexity and downstream accuracy.
  • At matched parameter counts, SpiralFormer-L reduces FLOPs by ~3–10% and improves perplexity and few-shot accuracy (e.g., 1.4B: 14.08→13.13 FLOPs; 51.93→54.37 5-shot).
  • Attention probes show cross-loop shifts: higher-resolution loops become more selective (lower entropy) and exhibit stronger locality (higher Local Attention Mass).
  • Cross-loop attention dynamics are weaker in full-resolution LoopedFormer, suggesting the hierarchical pattern is tied to the multi-resolution design rather than looping alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.