Inkling-2-Mini-AntiLoop

A surgical, weight-level anti-looping & agentic reliability release of thinkingmachines/Inkling-2-Mini that cures verbatim repetition, semantic rumination, and cross-turn agentic TOOL_CALL_LOOP induction — with zero sampling workarounds and no 4,096-token thinking cap — while keeping all 1,124 NVFP4/MXFP8 routed experts, vision tower, DSpark drafter, and tokenizer 100% byte-identical.

AntiLoop Family (3 Sibling Repositories)


Headline Gains over Official thinkingmachines/Inkling-2-Mini

  • Full MATH-500 (500/500): 98.00% (490/500) (#1 across all 5 tested models, up from 96.60%, -80% caps, 2.0× faster).
  • GPQA Diamond (198/198): 76.26% (151/198) (+12.62 pts over 63.64%, caps cut 32.3% → 1.5% (-95%), 5.2× faster).
  • IFEval (541/541, Google Official): 85.58% prompt strict / 88.49% inst strict (+6.28 / +7.55 pts, loops cut 39.9% → 9.6%, 2.0× faster).
  • HumanEval / HumanEval+ (164/164, EvalPlus): 95.73% / 88.41% (0.0% caps, loops cut 18.3% → 0.6%, 4.3× faster).
  • Cross-Turn Agentic Tool Loops (eval_tool_loops, 36 cases): 35/36 (97.2%) (#1 overall, up from 22/36; 4/4 live multi-turn tasks with 0 blind streak, 5/5 progressing negative controls).
  • Overall Speedup: 2.7× faster end-to-end across all 6 full public benchmarks (13,130s → 4,893s) at T = 0.0 / T = 0.6 without truncating deep reasoning.

5-Way Full Public Tier 1 Benchmark (8,515 Completions, 0% Contamination)

Evaluated apples-to-apples on the same radiance engine (2× Radeon AI PRO R9700, tp=2, tp-wire=exact, kv-cache-dtype=i8, effort=0.9, no artificial 4,096-token thinking cap). All 5 models graded with official evalplus.evaluate, Google Research instruction_following_eval, and math_verify. Full contamination audit (0 exact overlap across all 1,463 unique prompts) and raw summaries are included in Chris0105/Inkling-2-Mini-AntiLoop-LoRA.

Full Public Benchmark (0% Contam.) Official Orig Unbound v2.1 Orig Unbound v3 (Prime) Official + AntiLoop (This Model) Unbound + AntiLoop
Total Wall-Clock (All 6 Suites) 13,130s (3.65h) ~14,200s 9,415s (2.62h) 4,893s (2.7× faster) 4,348s (3.0× faster, 2.2× vs v3)
eval_tool_loops (36 cases) 22/36 20/36 30/36 (L4f 2/4, Tetris fail) 35/36 (#1, L4f 4/4, L4g 5/6) 34/36 (L4f 4/4, L4g 4/6)
HumanEval / HumanEval+ (164) 93.9% / 87.8% (18.3% loop) 93.3% / 87.8% (14.6% loop) 96.3% / 90.9% (3.1% loop, 383s) 95.7% / 88.4% (0.0% cap, 0.6% loop, 141s) 98.17% / 92.07% (#1, 0.0% cap, 122s)
Full MATH-500 (500/500) 96.60% (5.6% loop) 97.20% (4.0% loop) 97.80% (2.6% loop) 98.00% (#1, 0.6% cap, 1.2% loop) 97.20% (0.6% cap, 0.4% loop)
IFEval Prompt / Inst Strict (541) 79.3% / 80.9% (39.9% loop) 78.7% / 80.6% (41.2% loop) 86.88% / 88.73% (24.6% loop) 85.58% / 88.49% (9.6% loop, 4.3% cap) 85.03% / 88.61% (10.0% loop, 4.6% cap)
GPQA Diamond (198/198) 63.64% (32.3% cap, 2,620s) 62.63% (31.8% cap, 3,380s) 78.28% (9.6% cap, 4,143 tok, 1,614s) 76.26% (+12.6, 1.5% cap, 505s) 71.72% (+9.1, 2.0% cap, 478s)
AIME 24+25 T=0.0 (60, 32K) 76.67% (23.3% cap, 1,624s) 85.00% (13.3% cap, 1,386s) 90.00% (8.3% cap, 6,921 tok, 960s) 73.33% (6.7% cap, 734s) 81.67% (0.0% cap, 3,370 tok, 434s)
AIME 24+25 T=0.6 avg@4 (240) 87.9% / maj 91.7% (10.0% cap) 85.4% / maj 95.0% (14.2% cap) 90.0% / maj 96.7% (8.8% cap, 3,604s) 83.8% / maj 90.0% / pass 95.0% (1.7% cap, 1,821s) 81.7% / maj 86.7% / pass 93.3% (2.9% cap, 1,806s)

Honest Pareto Note vs. Unbound v3 (Prime): Unbound v3 retains 2–3× longer thinking chains (at the cost of 2.5–6× higher residual loops/caps and 2.2× slower wall-clock speed), giving it an edge on Olympiad math (AIME) and PhD science (GPQA). AntiLoop wins decisively on Full MATH-500 (98.0%), Coding (HumanEval 98.2% / HumanEval+ 92.1%), Cross-Turn Agentic Tool Loops (35/36 vs 30/36), lowest loop/cap rates on every suite, and fastest runtime — while working cleanly at T = 0.0 greedy with no thinking-length cap.


What Changed (Byte-Exact BF16 Attention Splice)

  • Modified: 120 BF16 attention linear matrices only (wq_du, wk_dv, wv_dv, wo_ud, gate_attn across 24 layers), merged in FP64 from a native rank-32 LoRA (r = 32, lora_alpha = 32.0, merge_scale = 1.00, mean relative Frobenius delta 0.289%, max 0.415%).
  • 100% Byte-Identical (--verify-full): All 1,124 remaining checkpoint tensors — every NVFP4 and MXFP8 routed expert, router gate, embedding table, LM head, vision tower, DSpark drafter (mtp.safetensors), and tokenizer — are verified bit-for-bit identical to thinkingmachines/Inkling-2-Mini.

Method Summary

Inside Inkling-2-Mini's verbatim reasoning loops and stripped-<think> multi-turn TOOL_CALL_LOOP sequences, token probabilities saturate near $p \approx 0.997$, causing standard DPO's logit gradient $(1 - p) \approx 0.003$ to vanish by ~350–1,000×. We cure this via two-stage surgical refinement:

  1. Onset-Masked Smooth Unlikelihood (-log(1 - 0.999 p) applied strictly from onset - 64 onward) + Length-Normalized DPO on verified verbatim/semantic loops.
  2. Multi-Objective L = 4608 Refinement across 7 cross-turn TOOL_CALL_LOOP families (L4a–L4g), anti-lazy & table-grounding pairs, and 440+ Forward-KL capability anchors (including explicit tools=[...] slots and DEEP_PRODUCTIVE reasoning).

Quick Start

Drop-in replacement for thinkingmachines/Inkling-2-Mini in radiance, vLLM, SGLang, or Transformers. No repetition penalties, temperature hacks, or 4,096-token thinking caps required:

# Convert to radiance .rad container (with DSpark drafter + vision tower):
rad-convert /path/to/Inkling-2-Mini-AntiLoop -o inkling2-text.rad \
  --recipe /opt/radiance/share/radiance/recipes/inkling2-mini-i8.recipe \
  --draft-model /path/to/Inkling-2-Mini-AntiLoop \
  --kv-cache-dtype i8 --max-ctx 1048576

rad-convert --add-vision inkling2-text.rad \
  /path/to/Inkling-2-Mini-AntiLoop \
  -o inkling2-mini-antiloop-i8.rad
Downloads last month
22
Safetensors
Model size
26B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Chris0105/Inkling-2-Mini-AntiLoop

Finetuned
(157)
this model