Tuned lens for Inkling 2 Mini (12 layer visits, research release)
A tuned lens for Thinking Machines' Inkling 2 Mini, a looped transformer whose layers 6β17 run three times (48 layer visits per token from 24 layers).
A tuned lens is a small learned translator per layer: it maps a hidden state from the middle of the model into the "language" of the final layer, so the model's own output head can read it. This is the idea from Eliciting Latent Predictions from Transformers with the Tuned Lens (Belrose et al., 2023).
This is not a copy of Inkling. It contains only 12 small translators (2304 Γ 2304 each). You still need the model itself (for example through NDIF).
What's covered
12 of the 48 layer visits: the input of these visits (visit numbers follow the 0β47 order in which they run):
| visit | layer | loop run |
|---|---|---|
| 5 | 5 | prelude |
| 9, 12, 15 | 9, 12, 15 | loop run 1 |
| 21, 24, 27 | 9, 12, 15 | loop run 2 |
| 33, 36, 39 | 9, 12, 15 | loop run 3 |
| 43, 45 | 19, 21 | coda |
layer_visits.json lists the mapping.
Files
| File | Format |
|---|---|
translators.safetensors |
A_{visit} (2304 Γ 2304) and b_{visit} (2304): translated state = A @ h + b, then Inkling's own final norm and output table |
tuned-lens-format/ |
the same translators in the format of the tuned-lens collection (params.pt with {i}.weight = A β I and {i}.bias, indexed in the order of layer_visits.json) |
How it was trained
- Data: 150 passages (TinyStories text and short chat-format questions), ~30 positions each: 4,127 positions per visit (3,303 train / 824 held out).
- Target: Inkling's own prediction at the final layer (KL divergence between the lens's prediction and the model's), using Inkling's real output table and final norm.
- Each translator starts as "no change" (exactly the logit lens) and is trained for 4 epochs with Adam.
Results (held-out passages)
How often the lens's top word matches Inkling's actual final prediction:
| logit lens | this tuned lens | |
|---|---|---|
| prelude (layer 5) | 3% | 57% |
| loop runs 1β3 (layers 9, 12, 15) | 1β5% | 48β60% |
| coda (layers 19, 21) | 12β25% | 66β72% |
Limitations
- Only 12 of 48 visits, read at the input of each visit.
- Small training set (4,127 positions per visit); fp16 weights.
- A tuned lens reads what the model is about to say. In my experiments it did not reveal hidden intermediate reasoning steps; a probe trained on the hidden step itself did.
Code and write-up
- Code (collection + training scripts): https://github.com/Lohitha0607/looped-reasoning
- Blog post: https://lohitha0607.github.io/2026/11/27/looped-reasoning.html
Model tree for loh0607/inkling-2-mini-tuned-lens
Base model
thinkingmachines/Inkling-2-Mini