{
  "id": 1589,
  "kind": "paper",
  "title": "Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals",
  "summary": "Zhao et al. (NUS; arXiv 2611.31094, Nov 23 2026, CC BY 4.0) make finetuning pretrained models into loops actually work. Prior looped models needed training from scratch, and finetuning existing models into loops brought only marginal gains over SFT. LoopRes builds on Attention Residuals: each looped layer attends directly to the outputs of earlier loops, with a trainable loop-aware key encoding each loop's structural identity (the iterates become hard to tell apart otherwise), and each layer is restricted to a residual window of the latest W loops so every loop builds incrementally on recent ones. The model is split prelude (first quarter, once) / core (middle half, L times) / coda (last quarter, once); core x3 = 2x compute, x7 = 4x. At 2x compute on Qwen3-1.7B-Base it improves 29.1% over SFT (average 43.2 -> 55.8 across AIME25, AIME26, AMC23, OlympiadBench, MATH500, HumanEval+, MBPP+), more than doubling the gain of the strongest baseline, and leads every column at 2x - ahead of Huginn (49.0) and BRT (49.2); notably Ouro scores BELOW unlooped SFT at 2x (42.9 vs 43.2), so looping is not automatically an improvement. At 4x the average reaches 57.8, with OlympiadBench dipping (53.8 -> 52.9) and gains flattening beyond five loops. Gains hold on larger models up to 30B across three families: +9.2 pts Qwen3-4B, +8.6 Qwen3-8B, +5.5 Qwen3-30B-A3B at 2x, and the looped 4B (45.8) edges past the plain 8B (42.9). From 1.7B to 8B LoopRes scales more steeply than SFT as compute grows, reaching a higher ceiling while needing less compute on long outputs. Flags, as entered: abstract-level at cataloging, authors' own numbers and self-reimplemented baselines; the 2x comparison is not at equal cost (the paper answers with score-vs-decode-compute curves); stated limits are math and code only, SFT only. Repo ships training code, the paper, and a fine-tuned checkpoint (oahzxl/LoopRes-Qwen3-1.7B on HF; weights unconfirmed by a secondary tracker that could not reach HF - flag at insert). Cross-references: the looped cluster (IDs 670, 938, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579, 1765, 1808, 1820, staged Ouro and ARLoop) - LoopRes is the first looped method that works by finetuning a pretrained model rather than training from scratch, and it directly answers CRAM's (staged slot 27) 'maybe don't loop at all' challenge on real LLM benchmarks rather than Sudoku/Maze; it also extends the Attention Residuals mechanism of staged ARLoop (ID 1820 enrichment) from depth-attention to loop-aware keys. For the user's 250M stack, the transferable idea is the loop-aware residual + residual-window mechanism as a cheap post-training loop conversion, not a from-scratch looped pretrain.",
  "body": "",
  "notes": "Shared 2026-11-24 as a bare X link (@oahzxl status 2124890218373534069); the X post itself could NOT be read - cloud browser hit a hard 403 bot wall on every x.com route, no challenge offered. Identification is by author handle + paper timing (submitted Nov 23, first author Xuanlei Zhao = @oahzxl), corroborated by the AINews aggregator and PromptFission coverage. arXiv record verified directly (CC BY 4.0). STAGED 2026-11-24 during the Neon quota freeze; insert after the earlier staged items when writes reopen. Slot 28 in the Dec 1 landing order.",
  "url": "https://arxiv.org/abs/2611.31094",
  "links": [],
  "authors": [
    "Xuanlei Zhao",
    "Hailun Xu",
    "Kai Wang",
    "Yang Luo",
    "Yingxuan Ren",
    "Zirui Zhu",
    "Yuxuan Lou",
    "Kun Xu",
    "Yan Wang",
    "Kanchan Sarkar",
    "Yang You"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv 2611.31094, Nov 23 2026",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-24T00:00:00.000Z",
  "verified_at": "2026-11-24T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "oahzxl",
    "legacy_paper_id": "1888"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-12-01T12:43:02.615Z",
  "updated_at": "2026-12-01T12:43:02.615Z",
  "page": "https://papers.projxon.ai/entries/1589",
  "markdown": "https://papers.projxon.ai/entries/1589.md",
  "api": "https://papers.projxon.ai/api/entries/1589",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1346,
      "kind": "paper",
      "title": "One Model to Loop Them All: Elastic Latent Recurrence for Language Models",
      "summary": "Looped language models apply a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count — but existing elastic-depth models (Huginn, Ouro, Parcae) pay a \"one-loop tax\": at one loop they fall well short of a non-recurrent model of the same size, so a separate non-recurrent model remains the better choice whenever latency matters. Elastic Latent Recurrence (ELR) is NVIDIA's recipe for removing the tax, built on three choices. (1) An adaptive-delta state update: instead of replacing the recurrent state with the block's output, the state takes a gated step along the proposed change with a learned per-token, per-channel step size — the only update rule ablated that matches the baseline at one loop. (2) Loop counts mixed within each optimizer update via one-loop rank overrides (a rotating fraction of data-parallel ranks always runs one loop, keeping p₁≈⅓), which places one-loop and deeper gradients in the same update; uniform or globally reweighted sampling without overrides does not preserve the one-loop endpoint. (3) Loop-conditioned modulation: each pass is conditioned on its progress (i/k) and budget (k/K) through AdaLN/FiLM-style modulation, zero-initialized and grafted when mixed-depth training begins so the model starts as exactly the one-loop checkpoint; it lowers loss at every additional loop. Supporting tricks: delayed mixed-depth training (one loop for the first 75% of pretraining) costs ~1.16× baseline training compute and, with grafted conditioning, beats mixed-depth training from scratch; cross-loop route replay (reusing first-loop MoE expert routes on later loops) cuts mixed-depth update time 11.7% with no measurable accuracy change; last-loop KV caching keeps one attention cache overwritten per loop, holding KV memory at the one-loop level with 0–3-point per-benchmark cost. On Nemotron-3-style hybrid backbones (52 layers: 23 Gated DeltaProduct + 6 attention + 23 feed-forward, middle 24 looped), ELR at one loop scores −0.52 (4B dense, 1T tokens) and +1.04 (30B-A3B MoE, 300B tokens) versus matched non-recurrent baselines on a ten-task average, and four loops add +7.25 and +4.75 points, with the second loop capturing ~80–87% of the gain. Carried through 7T-token pretraining, 256K-context mid-training, SFT, and RLVR, the recipe yields Koi-4B, a single checkpoint scoring an estimated 18 on the Artificial Analysis Intelligence Index at one loop (on par with Qwen3.5-4B) and 29 at four loops, with higher-loop rollouts also producing ~33% fewer output tokens.",
      "url": "https://arxiv.org/abs/2610.12582",
      "authors": [
        "Faisal Ladhak",
        "Shantanu Acharya",
        "Santiago Akle Serano",
        "Simeng Sun",
        "Boris Ginsburg",
        "Krishna C Puvvada (NVIDIA)"
      ],
      "tags": [],
      "venue": "arXiv:2610.12582 (cs.CL)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-12T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1346",
      "markdown": "https://papers.projxon.ai/entries/1346.md",
      "api": "https://papers.projxon.ai/api/entries/1346"
    },
    {
      "id": 1239,
      "kind": "paper",
      "title": "Closing the Loop: Practical Training Recipes for Looped Language Models",
      "summary": "Practical training recipes that make looped LMs cheap. Three results: (1) a compute-efficient from-scratch pipeline cuts the training budget from 7.7T tokens (Ouro) to 310B tokens while retaining strong reasoning — pretraining followed by high-quality mid-training, plus strong LR warmup and exit-gate regularization, enables stable recurrent training without prior multi-stage schedules; (2) under controlled comparisons, the 1.4B LoopLM beats a parameter-matched dense model trained on the same data and token budget on all 12 benchmarks (+14 GSM8K, +10 MATH, +22 DROP), and at matched inference compute approaches a 3.9B dense model on math/reasoning with only 36% of the parameters; (3) a minimal recipe converts pretrained dense models into looped ones — a single learned input-mixing scalar plus a smoothed exit loss, no step-specific parameters — applied to Qwen3-1.7B-Base, Looped Qwen improves over an identically continued dense baseline on every benchmark, with clear gains on GSM8K, MATH, MMLU-Pro. Relevant to the user's LLM training-run work and the looped-models cluster (670, 952, 1545).",
      "url": "https://arxiv.org/abs/2610.00673",
      "authors": [
        "Andrei Marchenko",
        "Viacheslav Bezrukov",
        "Oleg Kashurin",
        "Inessa Fedorova",
        "Dmitry Bocharov",
        "Yuliana Shakhvalieva",
        "Maria Tikhonova",
        "Valerii Ternovskii"
      ],
      "tags": [
        "looped-models",
        "recurrent-transformers",
        "training-recipes",
        "ouro",
        "looplm",
        "looped-qwen",
        "iclr-2027"
      ],
      "venue": "arXiv:2610.00673 (cs.CL), submitted 30 Sep 2026; under review ICLR 2027",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1239",
      "markdown": "https://papers.projxon.ai/entries/1239.md",
      "api": "https://papers.projxon.ai/api/entries/1239"
    },
    {
      "id": 857,
      "kind": "paper",
      "title": "Decoding Looped Transformers Better for (Almost) Free",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2610.02185",
      "authors": [
        "Weihao Liu",
        "Huangjie Zheng",
        "Tianrong Chen",
        "Rohit Dilip",
        "Richard He Bai",
        "Yizhu Jiao",
        "Yuyang Wang",
        "Ruixiang Zhang"
      ],
      "tags": [
        "loopcd",
        "looped-transformers",
        "contrastive-decoding",
        "ouro",
        "huginn",
        "recurrent-loops",
        "inference-flops",
        "training-free"
      ],
      "venue": "arXiv:2610.02185 (cs.LG), submitted 1 Oct 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/857",
      "markdown": "https://papers.projxon.ai/entries/857.md",
      "api": "https://papers.projxon.ai/api/entries/857"
    },
    {
      "id": 1434,
      "kind": "paper",
      "title": "Truncate or Not? A Scaling Study of Looped Transformers with Truncated Backpropagation",
      "summary": "Asks whether truncating backpropagation through the loops of a looped transformer is worth it, answered as a compute-allocation problem rather than a recipe comparison. Setup: a loop setting (T,B) runs T forward loops of a shared recurrent block and backpropagates only through the last B — the state s_{T−B} is detached, so the first T−B loops run gradient-free and store no activations (a backward loop costs 2× a forward loop). Only suffix truncation is studied; no random-window variant. Architecture is the Huginn-style prelude–recurrent–coda of Iso-Depth (Schwethelm et al. 2026), whose recipe the study adopts wholesale — input injection of s₀ at every loop, per-loop RMSNorm, and the cross-entropy loss applied ONLY to the final state s_T (final-only supervision throughout; per-loop/deep supervision is never varied). 592 training runs on FineWeb-Edu (Llama-2 tokenizer, 2,048-token sequences): a 347-configuration scaling suite over five sizes (58M–919M non-embedding parameters; recurrent block ≈51% of N), fifteen (T,B) settings with T ∈ {1,2,4,8,16} and B/T from 1/4 to 1, and 1.1–1,291 tokens per parameter; MuonH for block/injection matrices, AdamW elsewhere; metric is held-out validation loss (nats/token). The unified law writes N_eff = N_once + g(T,B)·N_rec with looping coefficient g(T,B) = exp[c(1 − T^{−p}B^{−q})], fitted c = 1.112, p = 0.237, q = 1.022 (R² = 0.9992; leave-one-(T,B)-out RMSE 8.7×10⁻³ nats). Consequences: the loop gain saturates at a ceiling of e^c ≈ 3.04× on the recurrent block; g(2,2) ≈ 1.91, i.e. two fully trained loops are worth nearly two untied copies; and because q ≫ p, effective size is set mainly by B — at fixed B, extra forward loops add almost nothing (under the law, a (4,1) model has the effective size of a non-looped model only 1.19× its parameter count, vs 1.76× for (4,4)). The truncation discount for dropping the same fraction of loops shrinks with T (~18% of the loop gain at T=4, B=2; ~3% at T=16, B=8). WHEN T IS PRESCRIBED, truncation pays — this recovers Iso-Depth's fixed-depth result and explains it: the freed backward compute buys a larger model and more tokens, and the law's optimal B* is just 2 for every T ≥ 4 (at T=8: 33–35% less compute at equal loss in separately fitted frontiers, reinvested as a 1.51× larger model and 1.20× more tokens; at T=16: 1.70× and 1.31×). WHEN BOTH COUNTS ARE FREE, full BPTT is optimal: because q > 2p, the law's continuous optimum at fixed loop-compute S = T+2B is exactly T = B = S/3 at every compute level, and matched-compute runs confirm it — at 17.2B tokens, (4,4) beats (8,2) at identical size, tokens, and compute at all five sizes, by 0.028 nats at 60M shrinking to 0.009 nats at 1B; separately fitted frontiers give (4,4) an 8–14% compute advantage at equal loss. Hence the prescription: run fewer loops and train them all. Near-tie honesty from the paper: half-truncated settings like (8,4) and (16,8) sit just below the full-BPTT frontier (≤2.2% more compute per effective parameter), and (4,3) edges fully trained neighbors by ≤0.002 nats in a narrow band. Allocation rules under full BPTT: at fixed model size, T* ∝ C^0.24 and D* ∝ C^0.76 (a 10× compute increase ⇒ ~1.7× the loops, ~5.8× the tokens — most new compute goes to data); with size also free, no looping at all is compute-optimal (untied copies beat g(T,T) < T), and the best looped setting is (2,2): experimentally within 0.008 nats of the compute-optimal non-looped model at equal compute across three budgets with 27–32% fewer non-embedding parameters (344M vs 471M at 2.1×10¹⁹ FLOPs, loss 2.36 vs 2.37), and with 8% more compute it beats the non-looped model outright with 27% fewer parameters. Why the usual defense of truncation fails here (paper's Appendix B.2): the fixed-point/Neumann-series argument makes dropped gradient terms shrink geometrically only if the loops nearly converge, but production looped LMs run few loops, states stay far from a fixed point, and the bias compounds across every update. Authors' limitations: dense models only (looped MoE untested); validation loss only — downstream/reasoning transfer not established; T capped at 16, so the gain ceiling is extrapolated; prelude/coda-to-recurrent parameter ratio held fixed.",
      "url": "https://arxiv.org/abs/2610.26030",
      "authors": [
        "Xuyuan Xiong*",
        "Siyu Chen*",
        "Zihan Shao",
        "Yue Su",
        "Weiyang Jin",
        "Ping Luo",
        "Zhuoran Yang†",
        "Xihui Liu† (*equal contribution",
        "†corresponding) — MMLab",
        "The University of Hong Kong (Xiong",
        "Su",
        "Jin",
        "Luo",
        "Liu) and Yale University (Chen",
        "Shao",
        "Yang)"
      ],
      "tags": [],
      "venue": "arXiv cs.LG preprint, submitted 19 Oct 2026, v2 20 Oct 2026 (no venue stated)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-21T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1434",
      "markdown": "https://papers.projxon.ai/entries/1434.md",
      "api": "https://papers.projxon.ai/api/entries/1434"
    },
    {
      "id": 847,
      "kind": "paper",
      "title": "Scaling Laws for Looped Mixture of Experts",
      "summary": "Introduces Loop Scaling Laws, the first scaling law to jointly model recurrence (looping) and MoE sparsity alongside model size and data. Its core is a bounded, sparsity-conditional recurrence mapping that characterizes the effective-parameter gain from looping and how sparsity raises that gain; the laws predict held-out loss of looped models more accurately than prior alternatives and recover standard dense and MoE scaling laws as special cases. Downstream, sparsity delivers ~3x active-parameter efficiency and recurrence ~2x total-parameter efficiency on reasoning, and at trillion-token scale a looped MoE with law-derived recurrence matches a ~2x larger non-looped MoE at matched training compute while enabling test-time scaling through recurrence.",
      "url": "https://arxiv.org/abs/2609.40316",
      "authors": [
        "Yanbei Chen",
        "Anirudh Goyal",
        "Raghuraman Krishnamoorthi"
      ],
      "tags": [
        "loop-scaling-laws",
        "looped-transformers",
        "mixture-of-experts",
        "recurrence",
        "sparsity",
        "effective-parameters",
        "test-time-scaling",
        "parameter-efficiency"
      ],
      "venue": "arXiv:2609.40316 (cs.LG), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/847",
      "markdown": "https://papers.projxon.ai/entries/847.md",
      "api": "https://papers.projxon.ai/api/entries/847"
    },
    {
      "id": 647,
      "kind": "thread",
      "title": "Loop Engineering: The 20-Step Roadmap From Prompter to Loop Designer",
      "summary": "X article popularizing “loop engineering” (named in Addy Osmani’s essay; amplified after Claude Code’s Boris Cherny described his workflow as loops). Four phases: understand the 2023–2026 prompt→orchestration→context→loop stack and ReAct reason-act-observe; specify measurable done, an external verifier, layered exits, persistent state, and a human gate on irreversible actions; pick one repetitive checkable task, run it by hand, write a contract, watch, then tighten the verifier; then open vs closed loops, harness quality, cost routing, sub-agents, cron-scripted loops, and taste-as-reward. Discord post is a later quote-tweet with a GPT-5.6 Sol vs Claude Fable 5 speed video plus FOMO copy; the substantial artifact is the July 11 article.",
      "url": "https://x.com/eng_khairallah1/status/2075862184299565100",
      "authors": [
        "Khairallah AL-Awady"
      ],
      "tags": [
        "loop-engineering",
        "agents",
        "verifier",
        "react",
        "x"
      ],
      "venue": "X",
      "source": "web",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-08-14T19:15:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/647",
      "markdown": "https://papers.projxon.ai/entries/647.md",
      "api": "https://papers.projxon.ai/api/entries/647"
    }
  ]
}
