Surgery for Smart AI: Letting a Super-Model Rewrite Another's Brain
Original paper: Keel: A Frontier Model Teaches a Vision-Language Model by Rewriting Its Weights
"Think of a master watchmaker peering into a malfunctioning pocket watch and precisely adjusting its internal gears. Instead of replacing the whole mechanism, the master surgeon-model tweaks specific microscopic weights inside the smaller AI, instantly curing its tendency to get stuck in endless repetitive loops."
This breakthrough allows us to fix major logical flaws in smaller, efficient AI models without expensive retraining or slowing them down. It means developers can quickly upgrade deployed AI assistants on the fly, making them smarter and more reliable at zero extra per-token cost.
- Small reasoning AI models often get trapped in frustrating, repetitive thought loops.
- Keel uses a frontier AI model as an agent to surgically edit neural weights.
- The fix requires no retraining and preserves the model's speed and cost.
📑 Original arXiv Technical Abstract
Can a frontier model repair a vision-language model (VLM) by rewriting its weights? Small reasoning VLMs such as Qwen3.5 need such a repair: in thinking mode they fall into loops on many image questions, repeating themselves until the token limit, spending the whole budget and losing the answer. The usual remedies act on the decoding, leaving the looping model as it was, or must be told what to change. Yet the cause is written in the weights. Keel, the first agentic weight-editing method for VLMs on image tasks, finds and removes it there. Told only the symptom, an editor, a frontier multimodal LLM acting as an agent, locates the cause, edits the weights and tests them, with a failure census and instruments showing it the failing images and where the VLM attends; among several editors, the harness keeps only edits that clearly reduce the failure without lowering accuracy on questions no editor saw. The repair needs no training, keeps the model's size and per-token cost, and applies to already-edited weights. The editors expose where the loops live: from the original weights, independent editors on both models trace them to the attention outputs of the middle layers, and the smaller VLM stops consulting the image inside a loop. On Qwen3.5-0.8B and Qwen3.5-2B, across six image benchmarks from visual mathematics to GUI grounding, the edit removes most loops on every benchmark and shortens answers, and the edited models are significantly more accurate than the thinking models on average; the larger one gains most on GUI grounding, a task absent from the practice questions. Because the repair lives in the weights, it combines with budget forcing where held-out questions favor it: on the best available weights, Keel has the best average accuracy on both models, significantly above every training-free baseline we compare on the larger one.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.