--- language: - en license: apache-2.0 base_model: thinkingmachines/Inkling-2-Mini pipeline_tag: text-generation library_name: transformers tags: - looped-transformer - moe - recursive-self-improvement - inkblot-2-mini - rse-looper --- # Inkblot-2-mini **`Inkblot-2-mini`** is an edited checkpoint of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini), built with [`rse_looper`](https://github.com/eelbaz/Recursive-Self-Improving-Loopers) by **Eric E., Tensorbend.ai Research**. > **TL;DR.** `Inkling-2-Mini` runs Layers 6–17 three times per token by default. Overriding the loop depth to 4 passes at inference time drops unmodified Base to `3.1%` on math and GSM8K with `95.3%` repeat loops. `rse_looper` edits only the `327` BF16/FP32 loop-control weights (memory gates, MoE routers, short convolutions, and attention output projections; `0.84%` mean change) while leaving all `24.4B` quantized experts untouched. Compared directly against untouched **default 3-pass Base**, `Inkblot-2-mini` improves locked `DeepScaleR-Test` (`50.0% → 68.8%` at 3 passes; `70.3%` at 4 passes, `n=64`), `LiveCodeBench v6` (`34.4% → 40.6%`, `n=32`), `GSM8K` (`93.8% → 96.1%` at 4 passes, `n=128`), and `MMLU` (`82.5% → 83.5%`, `n=285`), with exact identical parameters (`26,386,412,544`). - **Code, tests & 4-page paper:** [`github.com/eelbaz/Recursive-Self-Improving-Loopers`](https://github.com/eelbaz/Recursive-Self-Improving-Loopers) - **Architecture:** `Inkling2LoopForCausalLM` (`26.39B` total / `3.4B` active, 24 layers, 128 MoE experts top-8) - **Weight integrity:** Exact `1,244` safetensors keys, `327` BF16/FP32 tensors edited, `0` expert or vision weights changed. ![Two-step local RSI recipe and blind test accuracy](assets/fig1_recipe_and_gains.png) --- ## Blind Held-Out Benchmarks (Compared Directly Against Default 3-Pass Base) | Locked Benchmark (Sample Size) | Passes | Default Base | `FP-Solve` (0-Backprop) | **`Inkblot-2-mini`** | Gain vs. Base 3-Pass | |---|---:|---:|---:|---:|---:| | **DeepScaleR-Test** (`n=64`, `2048` tok) | 3-Pass | 50.0% (`32/64`) | 50.0% (`32/64`) | **68.8%** (`44/64`) | **+18.8 pp** | | **DeepScaleR-Test** (`n=64`, `2048` tok) | 4-Pass | 3.1% (`2/64`*) | 42.2% (`27/64`, `0%` rep) | **70.3%** (`45/64`, `0%` rep) | **+20.3 pp** | | **DeepScaleR-Test** (`n=64`, `2048` tok) | 5-Pass | 18.8% (`12/64`*) | 34.4% (`22/64`) | **65.6%** (`42/64`, `0%` rep) | **+15.6 pp** | | **GSM8K** (`n=128`, test) | 3-Pass | 93.8% (`120/128`) | **96.9%** (`124/128`, `0%` rep) | 94.5% (`121/128`) | **+3.1 pp** | | **GSM8K** (`n=128`, test) | 4-Pass | 3.1% (`4/128`*) | 95.3% (`122/128`, `0%` rep) | **96.1%** (`123/128`, `0%` rep) | **+2.3 pp** | | **LiveCodeBench v6** (`n=32`, live tests) | 3-Pass / 4-Pass | 34.4% / 3.1%* | 37.5% / 37.5% | **40.6% / 40.6%** (`0%` rep) | **+6.2 pp** | | **2025–2026 Olympiad** (`n=64`) | 3-Pass / 4-Pass | 20.3% / 0.0%* | 21.9% / 17.2% | **32.8% / 34.4%** | **+14.1 pp** | | **MMLU** (`n=285`, 57 subjects) | 3-Pass / 4-Pass | 82.5% / 74.7%* | 81.4% / 81.1% | **83.5% / 83.2%** | **+1.0 pp** | | **ARC-Challenge** (`n=300`, test) | 3-Pass / 4-Pass | **94.3%** / 90.0%* | **94.3%** / 93.0% | 94.0% / **93.7%** | -0.3 pp | | **HellaSwag** (`n=300`, val) | 3-Pass / 4-Pass | 61.7% / 59.7%* | 61.7% / 61.3% | 61.0% / **63.3%** | **+1.6 pp** | | **WinoGrande** (`n=300`, val) | 3-Pass / 4-Pass | 68.7% / 60.7%* | **70.0%** / 67.0% | 67.0% / 64.7% | **+1.3 pp** | *\*Base 4-pass and 5-pass rows reflect overriding `Inkling-2-Mini`'s default 3-pass depth via `LoopConfig(num_passes=4/5)`. Evaluations use fixed public slices (`n=32–300`), greedy decoding, and open deterministic grading (`rse_looper/grader.py`); independent third-party reproduction is welcomed.* ![Layer 17 sign flip and zero-backprop repair](assets/fig2_layer17_and_fpsolve.png) ![Multi-generation climb to Inkblot-2-mini and broad benchmark proof](assets/fig3_multigen_and_benchmarks.png) --- ## Quick Start ```python import torch from transformers import AutoTokenizer, Inkling2LoopForCausalLM from rse_looper import LoopConfig, install_midstack_loop_forward model_id = "Ex0bit/Inkblot-2-mini" tok = AutoTokenizer.from_pretrained(model_id) model = Inkling2LoopForCausalLM.from_pretrained( model_id, dtype=torch.bfloat16, device_map="auto", experts_implementation="grouped_mm" ).eval() # Optional: run 4 passes cleanly without repeat loops install_midstack_loop_forward(model, LoopConfig(num_passes=4)) ```