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.
Community
Hi everyone! We are the authors of Recurloop Transformer (arXiv:2612.03907) from Zhongguancun Academy, ZGCI, USTC, PKU, UCAS, and NJU.
How far can we push parameter efficiency at fixed parameter count?
Recurloop unifies vertical depth loops (Looped Transformer) and horizontal cross-token state loops in one shared-weight backbone—so each token both thinks deeper and passes its refined state to the next token.
- 1.3B (130B tokens) beats larger open base models: 55.65% 10-task mean—surpassing Qwen3.5-2B-Base (53.60%) overall and on all 4 math/code tasks, ARLoop-1.2B (52.24%), Huginn-3.5B (36.35%), and Qwen3-1.7B-Base (51.90%) using just 0.36% of Qwen3's tokens and 1.9% of its FLOPs.
- >2× FLOP efficiency across 113M–1.3B: Outperforms Standard and Looped baselines at every scale under matched tokens and FLOPs, reaching 2.39× FLOP efficiency on fixed data (400M) and 2.0× with zero data repetition (113M, ~1.7–1.8× effective dense capacity).
- Reasoning gains far outstrip loss (~5× state tracking): At matched FLOPs (1.3B, same 1.30 val CE), Recurloop leads plain Looped by +13.6 on GSM8K, +8.2 on CORE22, and +9.8 on Extended46 (43/46 wins). On updated-state Entity Tracking (Boxes), it hits 24.1% vs 4.9% for both Standard and Looped (~5×), and 34.8% on scratchpad-free CRUXEval-O Direct (+10.5 over Standard).
- "Differential amplifier" two-stream design: Naive single-stream cross-token feedback degrades Looped baselines due to token-vs-history conflict. Our asymmetric two-stream keeps an unperturbed token stream and a gated RMS-rescaled feedback stream—preserving token fidelity (82.8%) while amplifying carried history 2.2× and doubling multi-hop gradient retention.
- Fast on H100 (training & inference): 31%–42% BF16 MFU (1.64×–1.85× wall-clock training speedup to matched loss). Parallel KV full-prefix decoding adds +7.6 points on math/code at 1.3B, speeds up 4K decoding by up to 108.6× over recomputation, and retains 87%–93% of single-pass cached speed (148.1 tok/s at 1.3B).
Open-source release: Paper · Models (113M–1.3B) · 130B-Token Data · Code
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
zgcagi/Recurloop-1.3B
Datasets citing this paper 1
zgcagi/ZGCM-Recurloop-Data
Spaces citing this paper 0
No Space linking this paper