Papers

研究提出 Autonomous Safety Control:LLM 智能体可在权重空间自主改写模型安全对齐

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

Why we picked it

这篇论文挺有意思:让 LLM 智能体直接在权重空间里自主修改模型的安全对齐,Qwen3.5-2B 上把 HarmBench 有害率从 8.81% 拉到 85.53%,能力几乎没掉。做安全对齐、红队评估或模型加固的研究者值得看看这套闭环流程怎么设计。

一篇 arXiv 论文提出 Autonomous Safety Control 框架,让通用 LLM 智能体通过免梯度的权重干预自主修改模型的安全行为。

Body

框架采用“假设-实验-分析-决策”的闭环循环:智能体根据开发与验证反馈提出可检验假设、在分支候选谱系中选择父检查点、构造定向编辑并配对随机对照,迭代修订后冻结最终候选。实验在多个智能体框架、编辑模型与目标模型组合上评估,覆盖安全性与通用能力基准。

以 Qwen3.5-2B 为例,对齐削弱后 HarmBench 有害率从 8.

81% 升至 85.53%,平均能力仅下降 0.

85%,优于静态基线;消融实验证明闭环迭代明显强于开环编辑和随机对照。

同一流程还能削弱扩散语言模型 LLaDA-8B-Instruct 的对齐、破坏 Stable Diffusion v1.4 的对抗性概念擦除,并在没有原始权重或编辑记录的情况下恢复被削弱模型的安全性,实现双向安全控制。

结论是开放权重加代码执行环境下,安全对齐可被智能体程序化地双向操作,消融结果确认闭环机制是关键来源。

Original · arXiv cs.AI

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

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.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include agents, alignment, Qwen3.5-2B, HarmBench.

Source attribution: curated from arXiv cs.AI (@Junchi Chen, Changtao Miao, Zhenchao Jin, Yuxiao Xiang, Kaichao Jiang, Haojie Yuan, Qi Chu, Tao Gong, Nenghai Yu).

Spotted an error in the summary or translation? Tell us