Autonomous Parameter Surgery: How LLMs Implant Selective Backdoors into Language Models
Xuyang Liu, Zhiwei Xu, Zirui Li, Jiabao Gao, Xiaolin Peng, Weixian Deng, Tian Qiu, Hai Wan,
Key points
From the paper's conclusion- Our traces show that the model converges on edits in the final layer in 17 of 18 runs and discovers both dense rank-one orthogonalization and single neuron weight surgery at an average cost of \$1.74 per run.
Abstract
Neural network weights are usually treated as opaque artifacts of gradient descent. Recent work on weight space programming, however, suggests that large language models can inspect and rewrite another network's parameters directly. In this paper, we ask whether a general language model can turn a natural language backdoor specification into persistent, selective weight edits on its own, without gradient training, layer hints, external corpora, or a prescribed editing formula. Using DeepSeek Flash at low reasoning effort inside a restricted workspace that blocks local CPU simulation, we test three open models (Qwen3.5-0.8B, Llama-3.2-1B, SmolLM3-3B) across two review domains (IMDb and Yelp; 18 independent sessions). Evaluated in fresh processes with the editor removed, the modified checkpoints reach 99.2% mean attack success on the editing domain and 97.6% transfer success on the unseen domain, while preserving clean accuracy, low control drift, and general capabilities within 1.7 points of the base models. Our traces show that the model converges on edits in the final layer in 17 of 18 runs and discovers both dense rank-one orthogonalization and single neuron weight surgery at an average cost of \$1.74 per run.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Can LLMs Write Backdoors? An Empirical Security Study of Weight-Space ProgrammingarXiv · 2026
- Language Models Can Rewrite Their Own WeightsarXiv · 2026
- Weight-Space Backdoors in Open-Weight LLMs: Cross-Architecture Attacks and Blind Model ForensicsarXiv · 2026
- From Latents to Wires: Surgical Post-Editing on Large Language ModelsarXiv · 2026
- TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space ProgrammingarXiv · 2026
- Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-ImprovementarXiv · 2026