Number 3 of 12 · November 29, 2026

Scalpel and Brush: Pruning and Targeted Weight Editing of a Small Language Model by a Single LLM Agent

An SI agent can edit a small model's weights to raise a score or prune neurons, but much of the gain can be reproduced by standard methods once they know where the agent edited.

What they found

The authors gave a DeepSeek Harness agent, powered by DeepSeek-V4.1-Flash, three jobs on Qwen2.5-Math-1.5B-Instruct: repair weights, prune MLP neurons, and remove layers with repair. Each job allowed up to 50 dev evaluations, and there were three runs per task. On ordinary differential equations, changing at most 0.0084% of weights raised test BLEU by 24-32% on second-order equations and by a factor of 1.8-2.5 on equations with polynomial right-hand sides. A substitution check showed the higher BLEU reflects notation alignment, not better correctness. Masks removing 12.5-15% of MLP neurons shrank the model by 9.4-11.2% with a mean BLEU loss of at most 0.01, while standard equal-share pruning failed the constraint at all tested shares. On GoEmotions, edits raised macro-F1 from 0.100 to 0.396-0.451 on test. The authors also report that standard procedures without an LLM reproduce much of the performance once given the location and form of the agent's edit.

Why it matters

The paper asks a careful question: how much of a reported agent result is really due to the agent? The authors compare against random edits, prompt instructions and non-agent methods. They also show that a metric gain like BLEU can mean matching notation, not being more correct. That warns readers to check what a score actually measures.

How it changes the race

This is mostly a methods and measurement result. It suggests agents may help find where to edit a model, but the abstract says whether agentic search beats non-agentic search remains open. It tests a small model only.

Safety and control

An agent that edits model weights is a form of SI changing SI, so it needs strong checks. The hidden splits and the substitution check here show why: the visible metric rose without real correctness gains.

The abstract, by the authors

It has recently been shown that an LLM can itself edit the weights of a language model, yet it remains unclear which part of such a result is due to the agent and which part is reproduced by a random edit of the same shape, by an instruction in the prompt, or by a standard procedure without an LLM. We unify repair and pruning as sparse weight edits to optimize a metric we specify, using BLEU as an example: three tasks - targeted weight repair ("brush"), structured MLP neuron pruning ("scalpel", zeroing pruned weights), and layer removal with repair - are assigned to a DeepSeek Harness agent powered by DeepSeek-V4.1-Flash, with up to 50 dev evaluations. We study Qwen2.5-Math-1.5B-Instruct in three independent runs per task, with final evaluation on two hidden splits. On ordinary differential equations, changing at most 0.0084% of weights raised test BLEU by 24-32% on second-order equations and by a factor of 1.8-2.5 on equations with polynomial right-hand sides. An independent substitution check showed that higher BLEU reflects notation alignment rather than improved correctness. Masks that remove 12.5-15% of MLP neurons shrink the model by 9.4-11.2% with mean BLEU loss of at most 0.01 on both hidden splits, whereas standard pruning with equal shares per layer failed the constraint at all tested shares. On seven-class GoEmotions classification, edits raise macro-F1 from 0.100 to 0.396-0.451 on test and from 0.175 to 0.455-0.476 on holdout. A ridge-based classifier written into agent-selected weight rows yields macro-F1 of 0.424 and 0.464. Pruning search with the same evaluation limit removes 15.9% of neurons versus 14-21.4% for agent runs passing the hidden check. Standard procedures without an LLM reproduce much of the performance once given the location and form of intervention found by the agent; a comparison of agentic and non-agentic search remains open.

Quoted from arXiv:2611.33426. The research and its words belong to its authors.

The authors

Sergei Koltcov, Vera Ignatenko, Anton Surkov, Rabie Abdultawab Ramadan

Credit for this research belongs to its authors. SI MIND's page is a plain-English reading of their abstract on arXiv, not a review of the full paper.