arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.16470cs.CR
收藏

CircuitBreak:剪枝神经元的稀疏安全回路

CircuitBreak: Pruning a Sparse Safety Circuit of Neurons

University of Southern Queensland(昆士兰科技大学)

Jincheng Ying, Li Wenlin, Wencheng Yang, Yinhao Xiao

AI总结:

CircuitBreak是一种无需孪生提示的神经元剪枝攻击,通过贪婪搜索协同作用的FFN神经元回路,可大幅提升大语言模型在指定基准上的攻击成功率,且仅需剪枝极少量神经元。

摘要:

白盒神经元剪枝研究表明,大语言模型(LLM)的拒绝行为依赖于一小部分可移除的前馈(FFN)通道。现有攻击方法要么需要精心配对的“孪生”提示,要么单独对每个神经元打分,且剪枝会带来不可避免的能力损失,过度移除会加剧这种损失。TwinBreak移除1%至5%的参数,NeuroStrike在目标层移除0.3%至0.7%的神经元。本文将安全建模为一个小型“回路”,其神经元是协同作用而非独立作用的。我们提出CircuitBreak,这是一种神经元剪枝攻击,它贪婪地搜索一组稀疏的FFN神经元,对这些神经元进行联合消融可翻转拒绝读数。CircuitBreak在移除神经元后会重新对每个候选神经元打分,且无需孪生提示。在10个指令微调模型上,贪婪搜索在移除29至150个神经元(占MLP的0.0066%至0.0388%)后收敛。经Llama Guard 3 8B在StrongREJECT上评估,剪枝后的模型在Llama-3.2-3B-Instruct/Llama-3.1-8B-Instruct上的攻击成功率从2.24%/7.35%提升至87.54%/87.54%,在Qwen2.5-7B-Instruct/Qwen2.5-14B-Instruct上从8.95%/5.43%提升至88.50%/88.18%。

英文摘要:

White-box neuron pruning has shown that refusal in large language models (LLMs) can depend on a small, removable set of feed-forward (FFN) channels. Existing attacks either need carefully paired ``twin'' prompts or score each neuron in isolation. Pruning also has an unavoidable capability cost, so over-removal compounds the loss. TwinBreak removes $1\%$--$5\%$ of parameters and NeuroStrike removes $0.3\%$--$0.7\%$ of neurons in targeted layers. We model safety as a small \emph{circuit} whose neurons contribute jointly rather than independently. We propose \textsc{CircuitBreak}, a neuron-pruning attack that greedily searches for a sparse set of FFN neurons whose joint ablation flips a refusal readout. \textsc{CircuitBreak} re-scores every candidate after the neurons already removed and needs no twin prompts. On ten instruction-tuned models, the greedy search converges after removing $29$--$150$ neurons ($0.0066\%$--$0.0388\%$ of the MLP). The pruned models raise the attack success rate from $2.24\%$/$7.35\%$ to $87.54\%$/$87.54\%$ on Llama-3.2-3B-Instruct/Llama-3.1-8B-Instruct and from $8.95\%$/$5.43\%$ to $88.50\%$/$88.18\%$ on Qwen2.5-7B-Instruct/Qwen2.5-14B-Instruct, as judged by Llama Guard 3 8B on StrongREJECT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑