{
  "id": 1464,
  "kind": "paper",
  "title": "How Depth Growth and Looping Shape In-Context Learning in Language Models",
  "summary": "Question: do looped and depth-grown language models merely save compute and parameters, or does reusing computation across depth change what the model learns to rely on? The paper tests the hypothesis that (soft) parameter reuse creates a shared inductive bias toward learning from context rather than from weights, studying how in-context learning (ICL) is acquired, retained, and mechanistically supported. Setup: pretrained LMs at 360M, 1.7B, and 3B (main comparison: 36-layer dense reference, all models trained on the same 100B tokens in the same order, matched optimizer-step budget and final inference FLOPs), plus controlled RegBench (unseen formal languages) and Omniglot tasks that pit context against fixed in-weights associations. Methods compared: the dense baseline; LIDAS depth growth (the authors' earlier method: start from 4 layers and periodically duplicate the central 4-layer block, copying weights and AdamW moments without resetting the learning-rate schedule; growth uses shallower networks early, saving an estimated 26% of training FLOPs at 3B and 22% at 360M/1.7B); and a looped model (Loop 10-8x2-10: 36 layer applications but only 28 unique layers, ~2.45B unique parameters at the 3B scale). Findings: (1) Context use - grown and looped models show larger early-to-late token-loss reductions than dense, and the grown model also reaches lower absolute late-token loss; both beat dense on few-shot GSM8K at every shot count, with the LIDAS gap widening as demonstrations increase, ending about +7 points above baseline at 8 shots (~19% vs ~12% strict exact match, per the review thread); on RegBench both predict unseen formal languages more accurately, the advantage emerging within the first string. (2) Acquisition and retention - on Omniglot tasks where a fixed class-label solution competes, grown and looped models retain higher ICL accuracy (about 0.75-0.80 vs ~0.70 for dense late in training) alongside lower in-weights accuracy, and when labels are reassigned in every sequence they acquire ICL earlier than the dense reference. (3) Mechanism - tracing the 12 strongest final induction heads in the 3B LIDAS model backward through training, 10 descend from just two heads (L2H9 and L2H10) in the initial 4-layer network; duplication clones these circuits across depth at 4-layer intervals, and in the looped model the same heads fire periodically across passes through the shared block. Ablating the top-20% induction-ranked heads drops 19-task few-shot F1 by 0.08 in dense vs 0.18 in LIDAS vs 0.28 in Loop, with correspondingly larger late-token-loss increases - causal evidence that grown/looped models rely more heavily on induction heads, though function-vector heads remain important. Caveats: pretraining at all three scales uses a single random seed; the looped model gives up unique capacity and trails dense slightly on MMLU (38.32% vs 39.15%); and the RegBench looped gains used width d=256 vs d=128 for the dense baseline, which skews that comparison. No author code released (training builds on Hugging Face's public nanotron framework). Joins the catalog's looped-models cluster as its mechanism paper: depth reuse propagates early induction heads across layers, which is why grown and looped models lean on context - complements ID 1548's looped-LM training recipes and ID 928's looped-MoE scaling laws. Author-thread additions (Kapl, 2026-11-04): the backbone is SmolLM3, pretrained from scratch; at 3B the grown and looped models beat the dense baseline on all long-context benchmarks tested (RULER, HELMET, NoLiMa) while matching it on the short-context suite. Induction heads emerge in opposite order - top-down in the baseline, bottom-up in grown/looped models - and end stronger (higher prefix-matching score); ablating them raises FineWeb-Edu NLL by an amount that grows with token position for grown/looped models but stays flat for the baseline. On the Garg et al. random-linear-regression task the grown model shows better in-context prediction alongside MORE memorization, so the context-over-weights bias is task-dependent for growth (the looped model shows less in-weights learning and higher accuracy there).",
  "body": "",
  "notes": "License: paper CC BY 4.0 (license icon on the arXiv record); code: none released by the authors - flagged. Shared via @che_shr_cat X thread 2026-10-31 (status 2116654841183506714); full review: https://arxiviq.substack.com/p/how-depth-growth-and-looping-shape First author's own launch thread: @KaplFer, 2026-11-04 (status 2117991138011578806). Series works cited in that thread: arXiv 2512.08819, arXiv 2602.16490.",
  "url": "https://arxiv.org/abs/2610.31421",
  "links": [],
  "authors": [
    "Ferdinand Kapl (Technical University of Munich",
    "Helmholtz AI",
    "Munich",
    "Munich Center for Machine Learning (MCML))",
    "Kaitlin Maile (Google",
    "Paradigms of Intelligence Team)",
    "Stefan Bauer (Google",
    "Johannes von Oswald (Google"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv preprint",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-01T00:00:00.000Z",
  "verified_at": "2026-11-01T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1765"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T17:24:18.007Z",
  "updated_at": "2026-11-04T23:06:40.477Z",
  "page": "https://papers.projxon.ai/entries/1464",
  "markdown": "https://papers.projxon.ai/entries/1464.md",
  "api": "https://papers.projxon.ai/api/entries/1464",
  "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": 793,
      "kind": "paper",
      "title": "Context Language Models",
      "summary": "Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.",
      "url": "https://arxiv.org/abs/2609.37725",
      "authors": [
        "Rulin Shao",
        "Shannon Zejiang Shen",
        "Junjie Oscar Yin",
        "Yuetai Li",
        "Minheng Wang",
        "Hamish Ivison",
        "Radha Poovendran",
        "Nathan Lambert",
        "Teng Xiao",
        "Mike Lewis",
        "Wen-tau Yih",
        "Luke Zettlemoyer",
        "Pang Wei Koh"
      ],
      "tags": [
        "agents",
        "long-context",
        "context-management",
        "rl",
        "multi-agent",
        "inference",
        "caching"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/793",
      "markdown": "https://papers.projxon.ai/entries/793.md",
      "api": "https://papers.projxon.ai/api/entries/793"
    },
    {
      "id": 1288,
      "kind": "paper",
      "title": "Learning to Learn a Language",
      "summary": "PFLM (Prior-Fitted Language Model) is a 300M-parameter byte-level transformer pretrained ONLY on samples from a synthetic non-linguistic prior, never seeing a word of any real language. The prior is a distribution over recurrent structural causal models: each training sequence is generated by a freshly drawn SCM (latent state evolving through a random graph of structural equations, one token per step), so the model never sees the same 'language' twice and the only way to predict continuations is to infer the language from the prefix — meta-learning by construction (prior-fitted networks à la TabPFN, extended to language). Prior samples share natural-text statistical signatures: Zipfian frequencies, slow entropy-rate convergence, long-range dependence. With frozen weights, given real text prefixes PFLM learns to predict languages in context: on Wikipedia in six languages (English, Chinese, Hindi, Arabic, Japanese, Korean), bits per byte falls from the uniform 8 to 0.9–2.4 at 1M bytes of context. Given numerals, it learns to count, compare magnitudes, and add approximately; it predicts deterministic sequences (Rudin-Shapiro, prime indicator, Kolakoski); it compresses six non-text domains (source code to speech) below gzip and PPMd.",
      "url": "https://arxiv.org/abs/2610.05879",
      "authors": [
        "Lennart Carstens-Behrens",
        "Holger Fröhlich"
      ],
      "tags": [
        "pflm",
        "prior-fitted-language-model",
        "synthetic-data",
        "meta-learning",
        "compression"
      ],
      "venue": "arXiv",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-07T00: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/1288",
      "markdown": "https://papers.projxon.ai/entries/1288.md",
      "api": "https://papers.projxon.ai/api/entries/1288"
    },
    {
      "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": 871,
      "kind": "paper",
      "title": "Towards Looped Models Done Right — Part II: Rethinking at Fixed Points",
      "summary": "Looped LMs need not pay for every loop: they can scale by adding FLOPs at constant memory, and the key is the loop's fixed point. Three fixed-point ideas: (1) Fixed-Point Shortcuts — what fixed points buy in training (pre-train, post-train) and inference (prefill, decoding). Terminal KV sharing: each prefix token keeps only its last-loop KV (reuse the KV from the last loop), discarding intermediate loops; with depth sampling it keeps 4 of 12 KV banks with at most 0.85% perplexity increase from 100M (21.5B tokens) to 1.6B (344B tokens). A model trained at one fixed depth breaks under sharing (red rows) — sharing works only when states settle (95% of tokens stable by loop 8) because deep draws train on a nearly settled prefix KV. Proven: both training-read and sharing-read reach the same fixed point and same next-token prediction when the prefix KV converges and each token's update is a contraction (Lemma 1). (2) Learned depth prior — prediction feedback moves draws toward depths that predict well, an entropy term keeps the deep draws that form fixed points, a budget term holds mean depth; at 1.6B with the shared cache it averages 60.0 (level with the 59.9 fixed-depth reaches with a 3x larger cache), while at 1.6B/344B tokens the looped model beats a 4-block Transformer by 8.9 average points and lands within 1.5 pts of a 12-block model needing 3x memory. (3) OrthoInj (orthogonal input injection) — projects out the injected-input component so input conditioning stays constant across loops; lowest loss and val PPL, highest downstream average at every scale. Also: terminal KV sharing lets a distilled student prefill by predicting the endpoint (1.79x faster prefill of an 8K prompt at 1.6B, keeps 93% of teacher downstream score); truncated BPTT with depth sampling matches full backprop (backprop window b=4 under the PLN-5 prior) and covers both pre-fixed-point training and the endpoint gradient; fixed-point reuse for RL skips the redundant second pass by reusing the rollout's final states and applying the block once (2x faster scoring/backward on GSM8K and MBPP+, pass@1 within run-to-run variation). Limits: models reach 1.6B, one training seed per configuration, larger scales and real-world feasibility untested.",
      "url": "https://arxiv.org/abs/2610.06833",
      "authors": [
        "Benhao Huang",
        "Chufan Shi",
        "Junlin Chen",
        "Shicheng Wen",
        "Zhengzhong Liu",
        "Eric Xing",
        "Xuezhe Ma"
      ],
      "tags": [
        "looped-lms",
        "fixed-points",
        "kv-cache-sharing",
        "truncated-bptt",
        "learned-depth-prior",
        "orthogonal-injection",
        "weight-tying"
      ],
      "venue": "arXiv 2610.06833 (cs.LG), submitted 5 Oct 2026, CC BY 4.0; alphaXiv pre-release 2 Oct 2026",
      "source": "web",
      "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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/871",
      "markdown": "https://papers.projxon.ai/entries/871.md",
      "api": "https://papers.projxon.ai/api/entries/871"
    },
    {
      "id": 1085,
      "kind": "paper",
      "title": "Sparse Layers are Critical to Scaling Looped Language Models",
      "summary": "Looped language models repeat a set of transformer layers through depth, reducing memory costs and providing natural early-exit points at loop boundaries. However, looped models do not scale as favorably as standard transformers with unique layers. We compare standard and Mixture-of-Experts (MoE) transformers, with and without looping, and find two main results. First, we find Looped-MoE models scale better than the standard baseline while dense looped models do not. We trace this to routing divergence between loop…",
      "url": "https://arxiv.org/abs/2605.09165",
      "authors": [
        "Ryan Lee",
        "Jacob Biloki",
        "Edward J. Hu",
        "Jonathan May"
      ],
      "tags": [
        "looped-lm",
        "sparse-layers",
        "scaling",
        "early-exit",
        "2605.09165"
      ],
      "venue": "arXiv / cs.LG",
      "source": "arxiv",
      "license": "arXiv non-exclusive / check PDF",
      "published_year": 2026,
      "added_at": "2026-09-29T20:34:19.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 10,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1085",
      "markdown": "https://papers.projxon.ai/entries/1085.md",
      "api": "https://papers.projxon.ai/api/entries/1085"
    }
  ]
}
