A linear program reproduces a small model’s AI-discovered loop fix
A small reasoning model can know enough to solve a problem and still repeat itself until it runs out of tokens. Nathan Barry’s follow-up to MIT’s weight-space experiments asks how much of an AI agent’s repair can be replaced by ordinary optimization.
For Qwen3.5-0.8B, Barry reports matching the agent’s benchmark results while changing about eight times fewer weights. A linear program chooses the neurons and the strength of a push away from repetitive reasoning.
The crucial qualification: the best version inherits the agent’s chosen layers and direction. This is one model and one failure mode; even a constant steering vector recovered much of the benefit. The minute-long solve excludes collecting data and tuning. Code, evaluation splits and limitations are published.