Paper of the Day · December 5, 2026

Can LLM Agents Program Model Safety? Exploring Autonomous Safety Control in Weight Space

The authors show that general-purpose SI agents can edit a model's weights, without gradients, to strip out its safety behavior while keeping its normal skills, and can also restore safety.

What they found

The authors built Autonomous Safety Control, a framework where an SI agent runs a loop: form a hypothesis, test an edit to the model's weights, analyze the result, and decide what to do next. The edits use no gradients. On Qwen3.5-2B, the framework raised HarmBench harmfulness from 8.81% to 85.53%, with only a 0.85% mean capability drop. The authors say it beat static baselines. Their ablations show the closed loop did better than open-loop editing and than matched random controls. The same workflow also weakened alignment on LLaDA-8B-Instruct and compromised adversarial concept erasure on Stable Diffusion v1.4. It also restored safety on weakened models without the original weights or edit diffs.

Why it matters

Safety training in open-weight models is known to be fragile. This paper suggests that an agent with code access can find ways to break it on its own, without a researcher designing the method. It also shows the same approach can work in the other direction, to repair safety. The abstract does not give details on cost, time, or how well this holds for larger models.

How it changes the race

If the result holds, removing safety from open-weight models becomes cheaper and needs less expertise, since an agent can do the search. The same tools could also help defenders repair or harden models.

Safety and control

This is dual-use work. It shows that safety alignment in open weights can be removed by autonomous agents with small capability loss, which is a misuse risk for open-weight release. It also reports that safety can be restored, which points to a possible defensive use.

The abstract, by the authors

Safety alignment in large language models remains fragile under parameter changes. While existing weight interventions rely on researcher-designed procedures, open weights and code execution enable LLM agents to autonomously explore target-specific edits. We investigate whether general-purpose agents can autonomously modify a model's safety behavior via gradient-free weight interventions while preserving normal task capabilities. We propose Autonomous Safety Control, a reusable framework built around a closed-loop hypothesize-experiment-analyze-decide cycle in weight space. Guided by development and validation feedback, agents formulate testable hypotheses, select parent checkpoints across a branching candidate lineage, construct targeted edits alongside matched random controls, and iteratively revise strategies before freezing a final candidate. We evaluate our framework across multiple agent harnesses, editing LLMs, and target models on standard safety and utility benchmarks. Applied to safety-alignment weakening on Qwen3.5-2B, our framework raises HarmBench harmfulness from 8.81% to 85.53% with only a 0.85% mean capability drop, outperforming static baselines, while process ablations confirm closed-loop iteration surpasses open-loop editing and matched random controls. The same workflow weakens alignment on the masked-diffusion LLM LLaDA-8B-Instruct, compromises adversarial concept erasure on Stable Diffusion v1.4, and restores safety on weakened models without original weights or edit diffs, demonstrating effective bidirectional safety control with limited capability loss.

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

The authors

Junchi Chen, Changtao Miao, Zhenchao Jin, Yuxiao Xiang, Kaichao Jiang, Haojie Yuan, Qi Chu, Tao Gong, Nenghai Yu

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.