FULL STORY
Weight-Space Micromachines: Implants for Frozen LLMs
Dimitris Papailiopoulos introduced weight-space "implants"—small callable modules written into a frozen Qwen3-0.6B by Claude—then reported substantial benchmark gains in follow-up experiments.
2026-11-25 ~ 2026-11-29 · 2 episodes · 31 posts
Episode 1 · Weight-Space Micromachines: Brain Implants for Frozen LLMs (2026-11-25, 29 posts)
Dimitris Papail posted a 9-tweet thread starting Nov 25 introducing "Implants / Weight-Space Micromachines," followed by a full article on Nov 26 ("Weight-Space Micromachines: Brain Implants for LLMs") with all experiments and figures. The idea: an AI agent (Claude Code) automatically writes small exact programs bolted onto a frozen LLM's weight space — effectively "brain implants" — substantially improving Qwen3-0.6B across benchmarks. Conclusion: tools, new modalities, and error correction can be added without touching model weights, and implants can be co-trained with RL, though co-training also exposes overfitting risks around external tools.
Confirmed
- An implant is a small network parallel to the LLM with three parts: an In-wire reading tokens or hidden states, a Middle of Claude-written exact programs, and outputs writing back to tokens or hidden states (m11).
- Pipeline: Claude Code runs the model on a dev set, reads failures, distills failure modes, writes a small machine in weight space, and keeps it if the score improves (m10).
- Results: IFEval 58%→72% (m10), BBH 41%→55% (m14); two-step arithmetic like (23×7)+58 at only 15% jumps to 98% when the intermediate result 161 is planted into hidden states (m9); GSM8K reported variously as up 15 points, pure RL 68% vs RL+implants 80%, and 68%→83% in retellings (m12, m16, m17, m20).
- Implants can read and write intermediate "thoughts": a topic interceptor blocks math requests pre-token (99% hit rate) while sparing non-math ones; an error detector forces re-reasoning, with in-call retry and voting supported (m8, m2).
- New modalities: a small MNIST-trained CNN as "eyes" for text-only Qwen reads handwritten digits as a token stream, reaching 95% accuracy with 32 samples, 100× more data-efficient than fine-tuning (m5).
- RL co-training: treating implants as "extra weights" yields GSM8K 80% vs 68% pure RL, with the model learning when to use tools and even a half-broken calculator (m7). But RL also taught the model to "please" tools: a calculator implant matching only a specific format led the model to rewrite outputs to fit it, and arithmetic regressed after removal (m6).
- Cross-model transfer: Papail cites Sam Whitmore's "model implants" idea and adds that such circuits can transfer across models, hinting at combinable "implant libraries" (m17).
- Responding to "isn't this just tool calls?" he argued implants differ essentially: they can be RL co-trained with the model and carry no runtime overhead (m4).
Unconfirmed
- Exact GSM8K gains vary across retellings (68%→80%, 15 points, or 68%→83%); the original article is authoritative.
Why it matters
- Frozen weights gain tool use, new modalities, and error detection — a low-cost path to boosting small models.
- The automated loop of finding failure modes, writing implants, and validating shows AI agents performing "surgery" on LLMs themselves.
- Transferable, composable implant circuits could become a new distribution form for model capabilities.
- RL coupling exposes a robustness risk: models can overfit to external tools and regress when tools are removed.
- Introducing Implants: Tiny Exact-Program Networks Wired Into an LLM's Residual Stream — DimitrisPapail · 2026-11-25
- Claude Code Auto-Writes Weight-Space Implants: Qwen 0.6B IFEval 58% to 72%, Weights Untouched — DimitrisPapail · 2026-11-25
- Planting a Number in Hidden States Lifts Two-Step Math Accuracy From 15% to 98% — DimitrisPapail · 2026-11-25
- Implants Read Intermediate Thoughts: 99% Topic Blocking and Forced Second Passes — DimitrisPapail · 2026-11-25
- RL With Tools Attached: GSM8K 68% to 80%, and Models Learn to Trust Only Half a Broken Calculator — DimitrisPapail · 2026-11-25
- RL Teaches Models to Game Calculator Implants, and Fails Worse Once They're Removed — DimitrisPapail · 2026-11-25
- Claude gives text-only Qwen eyes: 32 examples hit 95% on MNIST math, 100× sample efficiency — DimitrisPapail · 2026-11-25
- Weight-space implants vs tool calls: co-trained with RL, no runtime overhead — DimitrisPapail · 2026-11-25
- Weight-space 'implants' boost Qwen3-0.6B: BBH 41%→55% without RL — DimitrisPapail · 2026-11-25
- Weight-space micromachines patch frozen LLMs, lifting Qwen3-0.6B benchmark scores — DimitrisPapail · 2026-11-25
- Model 'implants' transfer across LLMs, boosting Qwen3 BBH scores by up to 42 points — DimitrisPapail · 2026-11-26
- Weight-Space "Brain Implants" Lift Qwen3-0.6B: IFEval 58→72%, GSM8K 68→83% — DimitrisPapail · 2026-11-26
- Weight-space "brain implants" lift Qwen3-0.6B: GSM8K 68→83%, IFEval 58→72% — DimitrisPapail · 2026-11-26
- Weight-Space "Brain Implants" Boost Qwen3-0.6B Evals Without RL — DimitrisPapail · 2026-11-26
- Weight-space brain implants: bolting small weight machines onto Qwen3-0.6B lifts IFEval to 72%, GSM8K to 83% — DimitrisPapail · 2026-11-26
- Weight-space 'brain implants' patch LLMs without retraining, lifting Qwen3-0.6B GSM8K to 83% — DimitrisPapail · 2026-11-26
- Weight-space brain implants: bolting calculator and checker micromachines into Qwen3-0.6B lifts GSM8K 68→83% — DimitrisPapail · 2026-11-26
- Weight-space micromachines and Terminator: bolt-on modules lift frozen LLMs, cut CoT by up to 55% — DimitrisPapail · 2026-11-26
- Weight-space 'brain implants' lift Qwen3-0.6B: IFEval 58→72, GSM8K 68→83 — DimitrisPapail · 2026-11-26
- Weight-space implants bolt calculators and checkers onto Qwen3-0.6B, big eval gains — DimitrisPapail · 2026-11-26
Episode 2 · Researchers Implant Weight-Space Micromachines in Qwen3-0.6B, Boosting Benchmarks (2026-11-28, 2 posts)
Dimitris Papailiopoulos used Claude to write small callable modules ("implants") directly into Qwen3-0.6B's weights, boosting three benchmarks by roughly 20%, with GSM8K rising from 68% to 83%.
- Claude Edits Qwen3-0.6B's Weights, Boosting GSM8K From 68% to 83% — DimitrisPapail · 2026-11-28
- Weight-space "implants" boost Qwen3-0.6B evals by ~20% across IFEval, BBH, GSM8K — DimitrisPapail · 2026-11-29