Recurloop Transformer: Superposition Across Depth and Tokens
Recurloop Transformer: Superposition Across Depth and Tokens
Recurloop Transformer outperforms standard and recurrent baseline models within the 113M to 1.3B parameter range, achieving up to a 2.39-fold increase in FLOP efficiency (2.0-fold without duplicate data), and improving code execution speed by 1.64 to 1.85 times. At 1.3B parameters, Recurloop Transformer surpasses Qwen3.5-2B-Base in multiple benchmarks.
Published on Dec 2
Authors:
,
,
,
,
,
,
,
,
Abstract
Scaling large language models has relied on growing parameters, data, and compute together, leaving open how far efficiency can be pushed at fixed parameter count, in both finite-data and fresh-data regimes. A natural route is superposition, reusing shared weights for multiple computation steps along the two orthogonal dimensions of autoregressive modeling. Vertical depth loops iterate shared layers within each token, while horizontal cross-token loops pass each position's final state to the next token. Unifying both promises compounding gains, yet naive single-stream composition creates a representational conflict between token identity and carried history, trailing a plain Looped baseline at matched compute. Guided by ablations and mechanistic analysis, we introduce the Recurloop Transformer, combining gated RMS-rescaled feedback, asymmetric two-stream multiplexing, and a periodic multi-pass schedule, where preserving an unperturbed token pathway enables cleaner information fusion between current tokens and carried history. Across 113M-1.3B parameters, Recurloop outperforms standard and looped baselines at every scale under matched tokens and FLOPs, delivering up to 2.39x FLOP efficiency (2.0x without data repetition), higher effective dense capacity, and 1.64x-1.85x H100 wall-clock training speedups. At 1.3B, Recurloop also achieves substantially stronger entity tracking and scratchpad-free code execution while surpassing Qwen3.5-2B-Base on the ten-task mean and all four math and coding benchmarks. Full-prefix decoding with Parallel KV caching aligns inference with training, adding +7.6 points at 1.3B while retaining 87%-93% of single-pass decode speed. We release all models, data, and code.
View arXiv page View PDF GitHub 3 Add to collection
Get this paper in your agent:
hf papers read 2612.03907
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash
Models citing this paper 4
Text Generation • 0.1B • Updated about 24 hours ago • 60 • 2zgcagi/Recurloop-113M
Text Generation • 1B • Updated about 24 hours ago • 55 • 2zgcagi/Recurloop-1.3B
Text Generation • 0.4B • Updated about 24 hours ago • 56 • 2zgcagi/Recurloop-400M
Text Generation • 0.8B • Updated about 24 hours ago • 56 • 2zgcagi/Recurloop-766M
Datasets citing this paper 1
zgcagi/ZGCM-Recurloop-Data
Preview • Updated 1 day ago • 12 • 2
Spaces citing this paper 0
No Space linking this paper
Cite arxiv.org/abs/2612.03907 in a Space README.md to link it from this page.
Collections including this paper 1
Source: Hugging Face Daily Papers · huggingface.co