Decoy Direction Optimization 提出免微调的事后防御对抗 LLM 消融攻击

HuggingFace Daily Papers(社区热门论文)·2026-09-14 08:00·2天前
AI 导读

论文提出 Decoy Direction Optimization(DDO),一种无需微调的事后权重编辑防御,通过向 MLP 神经元注入高幅值非线性诱饵信号,使 RFA 消融攻击的对比估计器失效。

HuggingFace Daily Papers(社区热门论文)
51AI 编辑部评分,满分 100

Decoy Direction Optimization 提出免微调的事后防御对抗 LLM 消融攻击

2026-09-14 08:00· 2天前
AI 导读

论文提出 Decoy Direction Optimization(DDO),一种无需微调的事后权重编辑防御,通过向 MLP 神经元注入高幅值非线性诱饵信号,使 RFA 消融攻击的对比估计器失效。

Safety guardrails in open-weight language models can be readily bypassed using Refusal Feature Ablation (RFA), a technique that identifies and projects out a linear refusal direction from the residual stream, often achieving a high attack success rate (ASR) while preserving model capability. Defending against these attacks typically requires computationally expensive safety finetuning for every new checkpoint. We introduce Decoy Direction Optimization (DDO), a fast, post-hoc weight-editing defense that requires no base-model finetuning. Our approach is based on a simple mechanistic insight: ablation attacks rely on contrastive estimators to find the refusal direction.

Rather than trying to hide the true refusal circuitry, DDO actively injects a high-magnitude, nonlinear decoy signal into the network's MLP neurons. When an attacker attempts to locate the refusal direction, the decoy corrupts their estimator, tricking them into ablating a harmless orthogonal feature while the actual safety mechanism remains intact. We prove a spectral bound formalizing this effect and evaluate DDO across six model families, achieving <10% ASR under standard RFA. On Llama-3-8B-Instruct, DDO remains comparable to trained defenses under adaptive multi-phase attacks (65% vs. 58% worst-case ASR) and reduces Heretic weight-level attack ASR from 88.7% to 18%, all at 30 to 450 times lower optimization cost per configuration than the trained baselines.

来源:HuggingFace Daily Papers(社区热门论文)· arxiv.org