Inkling-2-Mini Decision (eltokh7/inkling-2-mini-decision)

Should we have System 1.5 models?

A System 1.5 adaptive-depth decision model built on thinkingmachines/Inkling-2-Mini (26.4B total / 3.4Bโ€“5.4B active MoE).

Instead of generating chain-of-thought prose or JSON, it reads a state and a set of typed questions (choice, noul yes/no, or score) in one forward pass and outputs calibrated probabilities โ€” with zero output tokens. Its middle 12 layers run in a loop 1 to 5 times (24 to 72 logical layers): easy questions stop after 1 pass, while hard multi-step questions automatically keep looping before answering.


Why This Exists (The Short Version)

  • System 1 decision models (single forward pass, zero tokens) are fast and calibrated, but spend the exact same compute on trivial routing and hard multi-step policy questions.
  • System 2 reasoning models (chain-of-thought tokens) adapt compute to difficulty, but pay a huge latency tax generating text.
  • System 1.5 (this model) loops its internal layers in latent space and uses a lightweight Layer-17 halting head (~0.05 ms) to stop early when it's confident โ€” getting both zero-token speed on routine questions and deeper multi-pass thinking on hard ones.

Headline Results

Benchmark What it tests v1 (3 loops) v3 (current, up to 5 loops) Reference baselines
decision-v7/test ($n=1{,}440$) Routine business / policy / classification decisions 85.56% 86.67% (L5) Kev-27B (27B dense): 86.3%
hard-v1/test ($n=1{,}088$, untrained OOD) Hard multi-hop, long-policy, tradeoff, numeric 66.82% 71.42% (L3) / 71.14% (L5) Kev-9B v1 (9B dense): 58.4%
hard-v1/dev ($n=1{,}083$, untrained OOD) Same hard OOD suite (dev split) 66.67% 69.16% (L3) / 67.13% (L5) Kev-9B v1: 58.2% ยท Jev: 78%

Four Key Findings

  1. Beats 27B-dense Kev-27B on routine decisions with ~5ร— fewer active parameters: Accuracy on decision-v7/test climbs strictly monotonically across all 5 loops: 82.92% (L1) โ†’ 85.42% (L2) โ†’ 86.18% (L3) โ†’ 86.46% (L4) โ†’ 86.67% (L5).
  2. Massive latent reasoning gains on unseen hard tasks (hard-v1/test):
    • Overall: 47.98% (L1) โ†’ 63.24% (L2) โ†’ 71.42% (L3) / 71.14% (L5) (+23.4 pp just from looping internally, zero tokens generated).
    • hard_long_policy: 24.0% (L1) โ†’ 67.5% (L3) โ†’ 70.0% (L5) (+46.0 pp).
    • hard_multi_hop: 40.8% (L1) โ†’ 68.0% (L3) โ†’ 70.4% (L5) (+29.6 pp).
    • hard_tradeoff: 96.5% ยท hard_judge: 74.5% ยท hard_probability: 73.4%.
  3. Broke Inkling-2-Mini's pre-trained 3-loop ceiling: Base Inkling-2-Mini was pre-trained with fixed num_passes = 3, so running Loops 4โ€“5 zero-shot collapsed (63.5% โ†’ 59.5% โ†’ 46.1%). By unfreezing Inkling's internal recurrence controllers (*_message_gate) and MoE routers with 5-loop training, Loop 5 jumped from 46.1% โ†’ 71.14% (+25 pp) on hard-v1/test.
  4. Adaptive halting knows when to stop (and when not to):
    • On routine decision-v7/test (mode="balanced"): 50.8% of questions exit after Loop 1 (avgL = 2.41), scoring 86.39% with only 6 / 1,440 (0.42%) fixable early-exit errors.
    • On hard OOD hard-v1/test (mode="balanced"): automatically routes 89.4% of questions past Loop 1 (avgL = 3.62, 69.03% acc, 2.21% fixable errors).

Comparison on untrained hard-v1


How It Works

Input (state + question + options)
  โ””โ”€โ–ถ Layers 0โ€“5 (run once) โ”€โ”€โ–ถ saved anchor state (pre_h)
        โ””โ”€โ–ถ Loop core: Layers 6โ€“17 (run 1 to 5 times)
              โ€ข On pass k > 1, resets to pre_h while feeding pass k-1's hidden
                states back into every looped layer via learned message_gate controllers
              โ€ข Layer-17 DynamicHaltingHead (~0.05 ms) checks embeddings,
                inter-loop state drift ||h_k - h_{k-1}||, and confidence
              โ€ข Confident? Exit now. Unsure? Loop again.
        โ””โ”€โ–ถ Layers 18โ€“23 (run ONCE at the chosen loop)
              โ””โ”€โ–ถ Two-stage JointSchemaHead โ”€โ”€โ–ถ calibrated probabilities

What We Changed & Trained

  • 78.7M surgical dynamic parameters (all merged cleanly into standalone BF16 weights โ€” no peft required at inference):
    • r = 64 attention LoRA (35.0M params)
    • Unfrozen *_message_gate recurrence controllers (28.3M params โ€” the low-rank GRU-like gates that mix current and previous-loop states inside layers 6โ€“17)
    • Unfrozen MoE routers (7.08M params across all 24 layers, allowing different experts to activate on Loop 1 vs. Loop 5)
    • Unfrozen block_attn_res (127K), message_input (111K), and final_norm (4.6K)
  • Decision & halting heads (heads.pt):
    • JointSchemaHead: cross-attends <decide> and option tokens to input evidence, self-attends across options to compare them, and outputs calibrated probabilities.
    • CoreGateHead: fast Layer-17 confidence probe.
    • DynamicHaltingHead: learned Layer-17 halting policy that sees embeddings, inter-loop state drift ($|h_k - h_{k-1}|$), entropy/margin, and loop index.
  • Training data (30,288 questions, up to 4k context, zero overlap with any eval split):
    • 51.1% (15,491) real Kev decision questions (decision-v3, decision-v2, longstate-v2, ambiguity-v1, night2, devtools-v1)
    • 35.5% (10,742) real human-authored NL reasoning questions converted to decision schema (ReClor, FOLIO, StrategyQA, MMLU-Pro)
    • 13.4% (4,055) Python-verified hard reasoning tasks (exact calendar/business-day arithmetic, 4โ€“7 hop dependency graphs, 2kโ€“3.5k-token multi-clause policy engines, multi-constraint tradeoffs, expected-value/sufficiency checks)
    • Zero exposure to decision-v7/{cal,dev,test} or hard-v1/{dev,test}.
  • Training objective (5-loop BPTT):
    1. Multi-loop deep supervision (label-smoothed CE + Brier loss) with 1.5ร— amplification on Loops 2โ€“5 whenever Loop 1 is wrong, teaching deeper loops to specialize in error correction.
    2. Monotonic Latent Self-Correction Loss penalizing loop-to-loop regression.
    3. Rao-Blackwellized Exact-Utility Halting RL (zero-variance analytical gradient over all 5 halting depths maximizing accuracy minus compute cost minus a penalty for fixable early errors) + asymmetric counterfactual oracle-halt BCE.
    4. Conformal Risk Control (95% Clopper-Pearson upper confidence bounds fit on decision-v7/calibration) for principled early-exit presets.

Quickstart

pip install "transformers>=5.24.0" torch huggingface_hub
from modeling import InklingDecisionModel

model = InklingDecisionModel.from_pretrained("eltokh7/inkling-2-mini-decision")

out = model.decide(
    state="Customer email: 'My card was charged twice for order #4821 yesterday. Please refund.'",
    questions={
        "route": {
            "type": "choice",
            "instructions": "Which team should handle this ticket?",
            "criteria": {
                "billing": "Duplicate charges, refunds, invoices",
                "tech": "Bugs, login issues, crashes",
                "sales": "Pricing, upgrades, quotes",
            },
        },
        "urgent": {
            "type": "noul",
            "instructions": "Does this require immediate escalation?",
        },
    },
    mode="balanced",  # "fast", "balanced", "strict", or "full"
    max_loops=5,      # set to 3 for a lower latency ceiling
)
print(out)

Each returned entry includes answer, confidence, probabilities, loops_used, halt_score, and latency_ms.


Detailed Benchmarks

1. Accuracy Across Loops 1 โ†’ 5

Split $n$ Loop 1 (24L) Loop 2 (36L) Loop 3 (48L) Loop 4 (60L) Loop 5 (72L) Best ฮ” vs. L1
decision-v7/dev 1,468 82.08% 85.15% 85.22% 85.69% 85.69% +3.61 pp
decision-v7/test 1,440 82.92% 85.42% 86.18% 86.46% 86.67% +3.75 pp
hard-v1/dev (untrained OOD) 1,083 42.57% 61.59% 69.16% 67.77% 67.13% +26.59 pp
hard-v1/test (untrained OOD) 1,088 47.98% 63.24% 71.42% 70.31% 71.14% +23.44 pp

2. Early-Exit Tradeoffs & Gross Flip Matrix (vs. Loop 5)

"Fixable early errors" = questions where the model exited early with the wrong answer, but Loop 5 would have gotten it right. "Lucky early exits" = exited early with the right answer where Loop 5 was wrong.

Split & Halting Policy Acc Avg Loops L1 Exit L5 Exit Fixable Early Errors Lucky Early Exits
v7/test โ€” Conformal balanced (h >= 0.99) 86.39% 2.41 50.8% 28.9% 6 / 1,440 (0.42%) 2
v7/test โ€” CoreGateHead (ฯ„ >= 0.85) 86.53% 2.00 64.8% 20.1% 14 / 1,440 (0.97%) 12
hard-v1/test โ€” Conformal balanced (h >= 0.99) 69.03% 3.62 10.6% 51.9% 24 / 1,088 (2.21%) 1
hard-v1/test โ€” CoreGateHead (ฯ„ >= 0.95) 70.04% 4.02 11.7% 66.3% 12 / 1,088 (1.10%) 0

3. Wall-Clock Latency (RTX PRO 6000 Blackwell, torch.compile, v7/test avg 223 tokens)

Mode Median (p50) Mean Notes
Fixed Loop 1 (24L) 65.6 ms 70.1 ms 2.09ร— faster than Loop 3
Fixed Loop 2 (36L) 100.2 ms 107.0 ms 1.37ร— faster than Loop 3
Fixed Loop 3 (48L) 136.8 ms 146.3 ms Baseline full 3-pass
Early Exit (ฯ„ = 0.90, 3-loop cap) 81.4 ms 97.4 ms 1.68ร— faster median than Loop 3
Batched (bs = 8, causal_conv1d) 27.9 / 61.4 ms/q โ€” 35.8 / 16.3 q/s (Loop 1 / Loop 3)

Limitations

  • OOD calibration gap: In-distribution calibration is tight (v7/test ECE 0.028, 0.42% fixable early errors), but under sharp distribution shift (hard-v1), Loop 1 is still overconfident on a small slice of questions (~1โ€“2% fixable early errors at strict thresholds). For high-stakes OOD workloads, use mode="strict" or mode="full".
  • Raw date/calendar arithmetic: Multi-way date subtraction (hard_temporal_numeric) improved substantially over v1 (42.2% โ†’ 52.6% on hard-v1/dev), but still trails dedicated code/tool execution.
  • Peak depth on OOD: While Loop 5 shines on decision-v7/test (86.67%) and hard_long_policy (70.0%), hard-v1 overall peaks around Loop 3 (71.42%) and plateaus through Loop 5 (71.14%).

License

Apache 2.0 (inherited from thinkingmachines/Inkling-2-Mini).

Downloads last month
109
Safetensors
Model size
26B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for eltokh7/inkling-2-mini-decision

Finetuned
(34)
this model

Space using eltokh7/inkling-2-mini-decision 1