The Recurloop Transformer paper (arXiv:2612.03907) shipped December 2026 with four open base models, pretraining data, and a GitHub implementation. At 1.3B parameters the authors report a 55.65% mean on a ten-task evaluation suite versus 53.60% for Qwen3.5-2B-Base, while using a fraction of Qwen3 pretraining tokens and FLOPs.
TL;DR: Recurloop in one table #
| Question | Answer per paper and repos |
|---|---|
| Checkpoints | 113M ,400M ,766M ,1.3B onHF collection |
| Code | github.com/zgcagi/Recurloop |
| Core idea | Depth loops pluscross-token feedback withtwo-stream multiplexing |
| Efficiency claim | Up to 2.39× FLOP efficiency vs looped baseline on fixed data |
| Training speed | 1.64×–1.85× H100 wall-clock to matched loss in paper |
| Reasoning highlights | Strong entity tracking andscratchpad-free CRUXEval at 1.3B |
| Decode modes | Cached single-pass vs full-prefix Parallel KV (+7.6 pts math/code) |
Why another looped architecture matters now #
Open-weight labs already ship MoE giants and long-context dense models. Recurloop attacks a different axis: reuse the same unique parameters across more effective compute steps without growing width every layer.
Two familiar ideas collide:
- Vertical loops — aLooped Transformer re-enters shared blocks within one token position (SenseNova Loop preview shows the multimodal spin).
- Horizontal feedback — each token passes arefined hidden state to the next index, similar in spirit torecurrent depth discussions in our**recurrent-depth explainer** .
Naively stacking both in one stream hurt accuracy in the paper ablations: token identity fights carried history. Recurloop adds gated RMS-rescaled feedback, asymmetric two-stream multiplexing, and a periodic multi-pass schedule so one stream stays a clean token pathway.
Architecture in plain language #
Recurloop Transformer architecture diagram showing cross-token feedback and two-stream design Image: Zhongguancun Academy (zgcagi)
Authors describe a shared Transformer core executed multiple times per token, while a feedback stream carries the previous position final state forward. Dynamic Hyper-Connections mix streams during core iterations.
Mechanistic claims from the paper (cite authors, verify in repo):
- Token fidelity stays high on the unperturbed stream (~82.8% in their analysis).
- Carried history amplitude grows ~2.2× versus naive feedback.
- Multi-hop gradients retain roughlydouble compared with broken feedback variants.
If you teach model internals, pair this with recurrent looped transformer infinite depth for historical context on looped stacks predating Recurloop.
Benchmarks: what 55.65% ten-task mean implies #
Recurloop 1.3B benchmark results versus Qwen3.5-2B-Base on ten tasks Image: Zhongguancun Academy (zgcagi)
Headline comparisons from the paper and README:
| Model | Ten-task mean (author table) | Notes |
|---|---|---|
| Recurloop-1.3B | 55.65% | 130B tokens in main 1.3B row |
| Qwen3.5-2B-Base | 53.60% | Larger parameter count |
| ARLoop-1.2B | 52.24% | Prior recurrent competitor |
| Qwen3-1.7B-Base | 51.90% | Older Qwen generation |
Authors emphasize math and coding splits: at matched validation cross-entropy they report double-digit GSM8K and CORE22 gaps versus plain Looped baselines. Entity tracking on updated-state Boxes hits 24.1% vs 4.9% for Standard and Looped in their table—treat as author-evaluated, not independent leaderboard confirmation.
For Qwen readers comparing Alibaba releases, see our Qwen4-35B-A3B open weights coverage. Recurloop competes on efficiency, not on 1M context or multimodal breadth.
Training and inference modes #
Authors ship diagrams for three regimes:
Recurloop training parallel feedback and full-prefix Parallel KV decoding modes Image: Zhongguancun Academy (zgcagi)
- Training — positions run in parallel; feedback isright-shifted one token.
- Cached decoding — one pass per new token with standard KV cache (fastest).
- Full-prefix decoding —K passes each maintain separate KV caches; closer to training, costs more memory.
The paper main generation numbers use K equals 2 with eight shared-core iterations per pass. Full-prefix mode adds +7.6 points on math and code at 1.3B while keeping 87% to 93% of single-pass throughput (148.1 tok/s in their 1.3B example).
Practical takeaway: if you benchmark Recurloop like a normal decoder-only model but train with multi-pass schedules, you may under-report capability.
Install and first generation #
From the official README (GitHub):
git clone https://github.com/zgcagi/Recurloop.git
cd Recurloop
pip install -e .
python -m examples.generate --model zgcagi/Recurloop-113M \
--prompt "The capital of France is" --max-new-tokens 32
Python API path:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
repo = "zgcagi/Recurloop-1.3B"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
repo, trust_remote_code=True, torch_dtype=torch.bfloat16
).cuda().eval()
Add --backend fast when Triton and FlashAttention 2 are installed to exercise the Parallel KV engine.
| Checkpoint | Unique params | Training tokens (card) | Context |
|---|---|---|---|
| Recurloop-113M | ~113M | 10B | 2,048 |
| Recurloop-1.3B | ~1.3B | 130B (paper) | 2,048 |
Training data citation on the 113M card: AI2 Dolma 3 Dolmino Mix. Download hashes are recorded on each model card for reproducibility.
Efficiency claims builders should sanity-check #
Authors report:
- 2.39× FLOP efficiency on a400M fixed-data experiment (with repetition) and2.0× without repetition at113M .
- 41.8% of looped baseline training FLOPs to reach the same validation loss in one 400M setting.
- 31%–42% BF16 MFU on H100 with1.64×–1.85× wall-clock speedups to matched loss.
Reproduce those curves with their released training data and configs before baking numbers into investor slides. Open weights make verification possible—that is the point.
Reasoning without scratchpads #
CRUXEval-style direct code execution scores matter for agent harness teams deciding whether a small model can hold variable state across steps. Authors highlight scratchpad-free gains on CRUXEval-O Direct at 1.3B.
That connects to Anthropic logic-bug finding on the agent evaluation side: small open models that keep state internally may reduce tool-call spam, but they also complicate monitoring—the same trade-off we documented for latent recurrent depth.
What developers are saying on Hugging Face #
Paper submitter USTCKevinF answered early questions on the Hugging Face paper page within hours of upload, emphasizing:
- 1.3B training used130B tokens while beating largerQwen3.5-2B-Base on the cited mean.
- Entity tracking gains (~5× over baselines on Boxes) are disproportionate versus loss improvements—authors argue loops buystructured reasoning , not just perplexity.
HN had only a handful of comments on adjacent crypto threads this run; treat HF author replies as the live builder signal until wider hands-on posts appear.
Comparison anchors on explainx.ai #
| If you use… | Recurloop difference |
|---|---|
| Standard decoder-only | Pays extra compute via loops instead of wider MLP stacks |
| Looped Transformer only | Adds cross-token state; needs two-stream fix |
| Qwen3.5-2B-Base | Smaller unique params in Recurloop-1.3B row but more sequential compute |
| SenseNova Loop 9B | Multimodal + Apache preview vs text-only research release |
Limitations and honest gaps #
- Context 2,048 on released cards—not a long-context challenger.
- Trust remote code required; audit
zgcagimodeling files before production. - License must be read per model card; not automatically permissive for all commercial MaaS shapes.
- Independent replication of ten-task means was not available at publication hour; run
examplesand eval scripts locally.
When to try Recurloop this week #
Good fits:
- Research reproduction onrecurrent architectures with published weights.
- Small-model agent prototypes wherestate passing might trim tool steps.
- Efficiency studies comparingFLOPs per GSM8K point against your current 1B–2B baseline.
Poor fits:
- Multimodal pipelines needing vision towers today.
- 1M-token document agents—use Qwen or other long-context checkpoints instead.
Released artifacts: what ships beyond weights #
The Hugging Face collection advertises 130B-token training data for the family, not only checkpoints. That matters because many “open model” drops ship weights alone, which blocks reproduction of exact loss curves.
The GitHub tree separates concerns maintainers will recognize:
| Path (repo) | Purpose |
|---|---|
| Model definition | Shared core, feedback gates, stream mixing |
| examples/generate | CLI for smoke tests on 113M |
| Fast inference engine | Triton kernels plus CUDA graphs for Parallel KV |
| Evaluation | Scripts tied to OLMES task ids in the paper |
Before you fork for production, read trust_remote_code modules the same way you would audit a custom CUDA kernel drop. Recurloop is research-grade release cadence: useful, but not a vendor SLA.
Hyperparameters the paper keeps fixed across scales
Across 113M to 1.3B, authors emphasize matched token and FLOP budgets when comparing against Standard and Looped baselines. Training uses parallelized positions with feedback shifted right so each token sees the previous refined state without breaking causality. At inference, K equals 2 passes with eight inner core iterations per pass is the headline configuration for reported generation quality.
If you ablate, change one knob at a time:
- Remove cross-token feedback — expect entity-tracking collapse in paper tables.
- Collapse to single stream — authors label this the failure mode that trails plainLooped models.
- Skip full-prefix decode — you may save VRAM but leavemath and code points on the table.
Document those choices in your internal model cards so downstream agent teams know which Recurloop mode powered a demo.
Evaluation discipline #
Authors benchmark against OLMES task suites with pinned snapshots in the appendix. When you blog or tweet scores:
- Pin commit hashes from their eval folder.
- State decode mode (cached vs full-prefix).
- Separate training FLOPs frominference tok/s .
Our FantasticML agent benchmark post shows how noisy agent eval branding can be; apply the same skepticism here.
Related reading on explainx.ai #
Official sources: arXiv:2612.03907, GitHub zgcagi/Recurloop, Hugging Face collection.
Future work readers are already asking about #
HF commenters asked whether Recurloop will scale to 7B without losing stability. Authors point to MFU headroom and two-stream gradient retention metrics as evidence the recipe is not exhausted at 1.3B, but no checkpoint was posted at publication time. Treat 7B as roadmap speculation unless a new card lands.
Another open question is multimodal extensions: SenseNova Loop already looped vision tokens under Apache terms. Recurloop’s December drop is text-only. Hybrid teams might borrow feedback gating ideas while keeping image encoders frozen—worth an experiment, not a documented feature.
Finally, watch license evolution on zgcagi repos. Custom open-weights terms sometimes add revenue caps for hosted inference providers, similar to Amazon Ergo thresholds. Read the card before you bake Recurloop into a multi-tenant MaaS product.
Repository tags, benchmark tables, and hardware notes reflect the December 2026 release; confirm model cards before you ship production agents.