Explore the research collection
2 entries · Follow this search
- Paper
Decoding Looped Transformers Better for (Almost) Free
Looped Transformers repeatedly execute a shared block across recurrent loops; each loop yields an intermediate representation decodable for the same next token, but standard decoding discards earlier states. Because earlier loops embody less computation, recurrence inherently supplies aligned weak-and-strong prediction pairs without auxiliary models or external training. LoopCD is a training-free contrastive decoding framework that guides token selection by contrasting the final prediction with an earlier recurrent pass — in logit space with one extra output pass (LoopCD-Logits) or in hidden-state space with zero output overhead (LoopCD-Hidden). Across four looped Transformer families it delivers consistent gains at full recurrent depth: LoopCD-Logits raises Ouro-2.6B-Thinking's AIME 2024 pass@1 from 61.88% to 73.33%, and LoopCD-Hidden lifts Huginn's HumanEval pass@1 from 22.56% to 31.71%. The gains enable halving the number of recurrent loops while still matching or exceeding full-depth unguided baselines, reducing forward FLOPs by 22.5%-48.2%. Enrichment (2026-11-24, from co-author Ruixiang Zhang's X post, Nov 24 2026): LoopCD applied to Thinking Machines' Inkling-2-Mini, which loops 3x per token, refining a weaker Pass 1 prediction into a stronger Pass 3 and discarding the rest - LoopCD instead contrasts Pass 3 against Pass 1 at decoding time. Headline result, closed-book factuality (AA-Omniscience v1.1, public 300): score -9.0 -> -3.4 and non-hallucination rate 66.5% -> 71.8%, where TML's launch post reportedly found extra loops leave that metric flat. Other gains vs the author's own best-effort reproduction (NOT vs official numbers): ARC-AGI v2 47.8% -> 55.0% (public eval), MRCR v2 8-needle 43.3% -> 48.9%, SWE-Bench Pro v2 Hard 77.5% -> 80.4%, Terminal Bench v2.1 64.0% -> 67.4%, DeepSWE v1.1 42.4% -> 45.1%. Flags, as entered: all new numbers are first-party (author's X post + attached results table, not a new arXiv version - the paper is still v1, Oct 1 2026); the green gains are vs the author's own reproduction, and LoopCD remains BELOW the official figure on some benchmarks (DeepSWE official 48.2%, Terminal Bench official 71.6%); the X post itself was unreadable directly (hard 403 bot wall in the cloud browser) and its text was read via a fresh device-browser task (logged-out view; only 2 of 4 replies visible), with the arXiv record verified directly. Cross-references: ID 1767 (theory companion for why LoopCD-style guidance works in looped models), staged slot 28 LoopRes (loop-aware residuals as a finetuning route into loops), ID 656 (Inkling model card). For the user's 250M stack: LoopCD is a decoding-side option that only applies to a looped model - his current 3:1 SWA hybrid does not loop, so this is not a drop-in; the LoopCD-Hidden variant (zero output overhead) is the one to note if he ever tests a looped variant.
- Paper
Training-Free Looped Transformers
Lightweight wrapper re-applies a contiguous mid-stack block of a frozen LM. Naive block reapplication usually degrades; treating a pre-norm block as a forward Euler step and replacing one large update with damped/RK sub-steps helps. Single out-of-the-box recipe (3-stage Runge–Kutta at the mid 4 layers; block-mode for dense, layer-mode for MoE so expert routing does not thrash) over 7 families and 45 (model, benchmark) cells. Qwen3-4B-Instruct +2.64 pp MMLU-Pro and +2.01 GPQA-Main; Qwen1.5-MoE-A2.7B-Chat +2.30 ARC-Challenge; Qwen3-30B-A3B-Instruct +1.14 CommonsenseQA; Moonlight-16B-A3B-Instruct +1.20 OpenBookQA. ~20k H100 hours. No official code on abs.