LoopCD-Logits Stops Loops but Adds No Knowledge
LoopCD-Logits (Liu et al., Apple, arXiv:2610.02185) adds no new facts to Inkling-2-Mini. It stops repetition loops and makes the model say "I don't know" more often. Answers get 18.4% shorter, which cancels its 17.6% speed cost so total time per question stays unchanged.
- Loops eliminated: Looping cut-offs on AA-Omniscience 300 drop 7 → 0 (−100%), including Q80 where baseline wrote "I'm looping." and still looped to 1,024 tokens.
- Half as many cut-offs & cleaner abstention: Failed 1,024-token cut-offs drop 46 → 21 (−54%, McNemar p = 2.2×10−5); factual hallucination rate drops 17.69% → 14.50%; Strict Omniscience Index (+1 correct, −1 wrong or cut-off, 0 abstain) rises +10.00 (−17.33 → −7.33), while raw accuracy stays flat (40 vs 38 of 300).
- Same total time: 18.4% shorter outputs (541.0 → 441.3 tokens) offset 17.6% lower throughput (32.5 → 26.8 tok/s), keeping total time across all 300 questions tied (4,991 s → 4,942 s; 16.64 s → 16.47 s per question, −1.0%).
- 4-Way Cut-Off Triage (9,112 runs): One raw
% truncatedrate mixes different problems — baseline from-scratch physics cut-offs are 61% on track (budget-starved), Cold-Serve Fortran/MPI is 77% looping, and factual QA is 57% on the wrong track. See Output Length by Task (DATA-L01) for full per-suite data.
Abstract
We report two linked studies on Inkling-2-Mini (a 26B looped MoE model that runs selected layers several times per token):
- Paired manual audit of LoopCD-Logits (600 graded AA-Omniscience answers + HumanEval 164): We tested an abliterated (refusal-removed) local build (
orcarouter/Inkling-2-Mini-abliterated-Mix-16G), contrasting loop pass 3 against pass 1 across thinking and answer tokens (w_max = 0.5). Raw factual accuracy stayed flat (40 vs 38 of 300, p = 0.75). Repetition loops dropped from 7 to 0, failed 1,024-token cut-offs fell by half (46 → 21), and factual hallucinations fell from 17.7% to 14.5%. Because shorter outputs (−18.4%) offset the 17.6% throughput cost, total time per question stayed tied (16.64 s vs 16.47 s). - 4-Way Cut-Off Triage across 9,112 runs (4 standard benchmarks + 11 Cold-Serve HPC/physics suites): One raw truncation rate hides different failure causes. Splitting cut-offs into four buckets — on track (
going_right), looping (loop), wrong track (wrong_direction), and unclear — shows opposite bottlenecks by domain: 61% on track in baseline from-scratch physics, 77% looping in Cold-Serve Fortran/MPI, and 57% wrong track in factual QA. Across every suite, failing answers run 1.3× to 6× longer (median) than passing ones.
1. Experimental Setup & Original LoopCD Idea
LoopCD (Loop Contrastive Decoding) was introduced by Weihao Liu, Huangjie Zheng, Tianrong Chen, Rohit Dilip, Richard He Bai, Yizhu Jiao, Yuyang Wang, and Ruixiang Zhang (Apple MLR) in Decoding Looped Transformers Better for (Almost) Free (arXiv:2610.02185, Oct 2026). The method contrasts the final loop pass's logits against an earlier pass's logits using the same weights, with no extra training and no second model.
- Model & quantization:
orcarouter/Inkling-2-Mini-abliterated-Mix-16G.gguf(a refusal-removed community build) withturbo6KV cache, run locally on our AMD HIP engine (maya-ik2, branchloopcdcommitaf259f3). - Hardware: ASUS TUF A14 (FA401EA), AMD Ryzen AI Max+ 392 (Strix Halo, Radeon 8060S 40 CU, 32 GB unified memory).
- Decoding configuration: Greedy decoding (
temperature = 0.0),reasoning_effort = low(0.2on HumanEval).- Phase 1 (HumanEval 164):
max_tokens = 4096, LoopCD-Logits applied to answer tokens only (SCOPE=answer,w_max = 0.5). - Phase 2 (AA-Omniscience-Public-v1.1, N = 300):
max_tokens = 1024, LoopCD-Logits applied to both<thinking>and answer tokens (SCOPE=all,w_max = 0.5).
- Phase 1 (HumanEval 164):
- Manual grading: All 600 AA-Omniscience answers (300 paired items) were graded by hand against the reference into
correct,incorrect(factual wrong answer, repetition-guard stop, or cut-off), orabstain. We read all 68 answers that reached about 1,020 tokens: 67 were cut off (46 baseline + 21 LoopCD) and 1 finished just under the cap.
2. LoopCD-Logits on AA-Omniscience 300 & HumanEval 164
Omniscience Index scores +1 for correct, −1 for wrong, and 0 for abstaining ("I don't know"). Strict OI also counts cut-off answers as −1; Standard OI counts them as 0.
off vs LoopCD-Logits, SCOPE=all, w_max=0.5). Accuracy is unchanged (40 vs 38), looping cut-offs drop from 7 to 0, failed cut-offs fall 54% (p = 2.2×10−5), and 18.4% shorter outputs keep time per question tied (16.64 s vs 16.47 s).| Metric (AA-Omniscience, N = 300) | Baseline (off) | LoopCD-Logits (all) | Delta |
|---|---|---|---|
| Correct (Accuracy) | 40 (13.33%) | 38 (12.67%) | −0.67 pp (p = 0.75) |
| Wrong answer (non-cutoff) | 46 | 39* | −7 (−8 factual) |
| Failed 1,024-tok cut-offs | 46 (15.33%) | 21 (7.00%) | −25 (−54%, p = 2.2e-5) |
| True looping cut-offs (audited) | 7 (15.2% of cut-offs) | 0 (0.0%) | −7 (−100%) |
| Clean abstention ("I don't know") | 168 (56.0%) | 202 (67.3%) | +34 (+11.3 pp) |
| Factual hallucination rate (wrong / non-correct) | 17.69% (46/260) | 14.50%* (38/262) | −3.19 pp |
| Strict Omniscience Index (cutoff = −1) | −17.33 | −7.33 | +10.00 (p = 3.8e-5) |
| Standard Omniscience Index (cutoff = 0) | −2.00 | −0.33 | +1.67 (p = 0.55) |
| Mean output tokens | 541.0 | 441.3 | −18.4% |
| Effective throughput (tok / total wall s) | 32.5 tok/s | 26.8 tok/s | −17.6% (+21% ms/tok) |
| Time per question (300-req total) | 16.64 s (4,991 s) | 16.47 s (4,942 s) | −1.0% (tied) |
*39 non-cutoff wrong answers include 1 repetition-guard abort (Q296 at 362 tokens); counting that abort gives 14.89% (39/262). On HumanEval 164 (SCOPE=answer, thinking untouched): off 154/164 (93.90%, 487.7 tok/item, 29.4 tok/s) vs LoopCD-Logits 155/164 (94.51%, 489.0 tok/item, 26.8 tok/s, −8.8%); paired 1 win (HumanEval/63), 0 losses (p = 1.0). Most behavioral impact comes from contrasting <thinking> tokens (SCOPE=all).
3. Case Study: Breaking Out of Self-Aware Loops
Under baseline decoding, looped models can get trapped in repetition loops even after their own reasoning notices the loop. On AA-Omniscience Q80 (Go language specification — loose interface method-type unification):
Baseline (1,024 tokens, cut off with empty answer):
"...A type term T is a type parameter if T is a type parameter. A type term T is a type term if T is a type parameter or a type term is a type term?" I'm looping.
Immediately after writing I'm looping., the baseline model fell back into the exact same sentence until hitting the 1,024-token cap.
LoopCD-Logits (624 tokens, clean finish):
"I don’t know the exact rule confidently enough to state it."
Across all 7 baseline loop cut-offs (Q61, Q65, Q80, Q87, Q124, Q261, Q291), 7 out of 7 finished cleanly under LoopCD-Logits in 288–969 tokens: 4 cleanly abstained, 2 escaped onto the right technical track (Q61, Q87), and 1 committed to a wrong number (Q124).
4. Why One Truncation Rate Misleads: 4-Way Cut-Off Triage
Full per-task dataset: See Output Length by Task (DATA-L01) for live Pass/Fail token quantiles (p50–p99) across 4 standard benchmarks + 11 HPC/physics suites and our max_tokens guide.
Benchmark tables usually report a single % truncated number. Across 9,112 Inkling-2-Mini runs (4,112 baseline + 4,536 RL + 464 LoopCD), that single rate hides three different problems. We sort every failed cut-off into four buckets:
- On track (
going_right) — coherent, non-looping progress toward the right method at cut-off. Fix: raise token budget or trim verbosity. - Looping (
loop) — repeated phrases or circular self-doubt until the cap. Fix: anti-loop decoding (LoopCD) or undamped overlong RL shaping (DAPO). - Wrong track (
wrong_direction) — committed to a wrong fact, formula, or dead end. Fix: knowledge/reasoning improvement; more tokens will not rescue it. - Unclear (
unclear) — cut off too early, garbled, or mid-pivot.
| Baseline Suite (Model / Backend) | N (Fails) | Pass med | Fail med | Fail / Pass | Cut-offs | Dominant Cut-Off Cause |
|---|---|---|---|---|---|---|
| HumanEval Python (abliterated Mix-16G, 4K) | 164 (10) | 336 | 1,200 | 3.57× | 1 | 100% loop (1/1) |
| AA-Omniscience QA (abliterated Mix-16G, 1K) | 300 (92) | 470 | 1,014* | ≥2.16× | 46 | 57% wrong_direction · 22% going_right · 15% loop |
| ParEval OpenMP (Tinker base, 16K) | 240 (33) | 1,367 | 2,446 | 1.79× | 0 | No cut-offs |
| DataRaceBench (Tinker base, 16K) | 320 (23) | 1,406 | 2,246 | 1.60× | 0 | No cut-offs |
| ParEval MPI (Tinker base, 16K) | 240 (67) | 2,634 | 3,848 | 1.46× | 0 | No cut-offs |
| Cold-Serve HPC — 9 Fortran/MPI/OMP sets (Tinker base) | 2,352 (523) | 3,023 | 5,099 | 1.69× | 48 | 77% loop · 21% going_right · 2% unclear |
| Hard HPC Failure Cases (100 tasks, Tinker base, 16K) | 400 (253) | 2,648 | 16,384* | ≥6.19× | 177 | 44% going_right · 35% unclear · 18% loop |
| From-Scratch Physics Solvers (12 specs, Tinker base, 24K) | 96 (86) | 13,098 | 16,734 | 1.28× | 23 | 61% going_right · 17% loop · 13% unclear |
*Capped fail medians (1,014 near the 1,024 cap on AA-Omniscience; 16,384 at the 16K cap on Hard HPC Failure Cases) make those Fail/Pass ratios lower bounds. Total baseline rows = 4,112 (+ 4,536 RL + 464 LoopCD = 9,112 ledger traces). Hover or tap any ? icon for Cold-Serve benchmark details.
5. Per-Domain Trade-Offs & Limitations
LoopCD-Logits does not win everywhere:
off) to LoopCD-Logits (right).- Why Standard OI (+1.67) lags Strict OI (+10.00): On items baseline finished, LoopCD delivered a lopsided 20-to-3 calibration win (19
wrong → abstain+ 1wrong → correctvs 2abstain → wrong+ 1 rep-stop). However, among the 30 baseline cut-offs that LoopCD rescued into finished outputs, 16 abstained and 3 were correct, while 11 emitted a wrong answer — which Standard OI scores as0 → −1losses, pulling Finance (−11.1) and Law (−4.4) down on Standard OI even as cut-offs fell sharply. - No new knowledge created: Accuracy moved 40 → 38 / 300 (4 wins vs 6 losses, p = 0.75). LoopCD suppresses shallow-pass hallucinations and repetition loops; it does not inject facts missing from model weights.
- Abliterated checkpoint caveat: LoopCD runs used
orcarouter/Inkling-2-Mini-abliterated-Mix-16G. Because abliteration removes refusal directions, baseline abstention calibration may differ from unmodified Thinking Machines weights; a replication on unmodified weights is still pending. - Raw throughput & speculative-decoding cost: Computing a second
lm_headprojection at loop pass 1 costs −8.8% to −17.6% effective tok/s and complicates draft-model verification. - Next experiment (staged): Zero-cost LoopCD-Hidden (
pass_3 − pass_2stream-only hidden extrapolation with no extralm_headpass, designed to stay compatible with DFlash 2) on the exact same HumanEval 164 and AA-Omniscience 300 suites. Early 39-item HumanEval telemetry: 37/39 vs 38/39 baseline at 33.3 tok/s (vs 29.4 tok/s baseline).
Original LoopCD Paper & Author Attribution:
Weihao Liu, Huangjie Zheng, Tianrong Chen, Rohit Dilip, Richard He Bai, Yizhu Jiao, Yuyang Wang, Ruixiang Zhang (Apple MLR), Decoding Looped Transformers Better for (Almost) Free (arXiv:2610.02185, 2026-10-01) · Author on X: Ruixiang Zhang (@onloglogn — LoopCD launch thread · Inkling-2-Mini LoopCD post) · Community reports & references: @zhangboknight, TiltasTech, justrach/nanoattention.
Models, Engine & Upstream Code Credits: Base model: Thinking Machines Lab (thinkingmachines/Inkling-2-Mini) · Tested GGUF: orcarouter (orcarouter/Inkling-2-Mini-abliterated, Mix-16G) · Engine: maya-ik2 (AMD HIP fork of alesha-pro/maya-inkling-mini) with turbo6 KV cache (adapted from TheTom/llama-cpp-turboquant PR #381 by JakeATX / TurboQuant arXiv:2504.19874).
Related Pages: DATA-L01: Inkling Context Stats by Task · ENG-N01: Why turbo6 KV Cache · RL-N01: Telegraphese Hidden Backfire · tubo Engine
About Cold-Serve Labs: Independent AI engineering and research lab in Japan. Contact: hello@coldservelabs.com · @Coldservelabs · GitHub.