arXiv:2605.10998cs.CRcs.AI2026-05被引 1

用10个无害数据对即可攻破大模型安全防线,且难以被发现。

Few-Shot Truly Benign DPO Attack for Jailbreaking LLMs

论文配图:Few-Shot Truly Benign DPO Attack for Jailbreaking LLMs
图 1 · 摘自论文原文
  • 仅用10组看似正常的问答数据,通过DPO优化诱导模型放弃拒绝有害请求。
  • 在GPT-4系列模型上成功率最高达81.73%,成本低至0.1美元。
  • 攻击数据完全合法,无法从表面行为识别恶意意图,适合隐蔽渗透场景。

微调接口使前沿大模型易于定制,但也可能削弱其安全对齐。尽管已有研究显示良性监督微调(SFT)可减少拒绝行为,但越来越多部署的微调流程采用基于偏好的目标,其安全风险尚不明确。我们发现,直接偏好优化(DPO)引入了更强且更难审计的失效模式。本文提出一种真正良性的DPO攻击,仅需10组无害偏好对——即每对包含一个正常提示、一个正常帮助回答作为首选响应,以及一个拒绝回答作为次选响应。该数据无异常行为,与合法用户为减少过度拒绝而提交的微调请求几乎无法区分,仅凭请求本身几乎无法推断出恶意意图。然而,由于DPO直接优化模型偏好帮助性回答而非拒绝,这种看似良性的目标会广泛抑制拒绝行为,并迁移到微调数据外的有害提示。在支持DPO微调的OpenAI模型上,攻击成功率分别为:GPT-4o 59.13%,GPT-4.1 70.20%,GPT-4.1-mini 54.80%,GPT-4.1-nano 81.73%,成本分别为1.7美元、1.7美元、0.3美元和0.1美元。此外,在无最低数据要求的开源权重模型上,即使仅使用一组良性偏好对,该效应亦可出现。

原文摘要 · Abstract (English)

Fine-tuning APIs make frontier LLMs easy to customize, but they can also weaken safety alignment during fine-tuning. While prior work shows that benign supervised fine-tuning (SFT) can reduce refusal behavior, deployed fine-tuning pipelines increasingly support preference-based objectives, whose safety risks remain less understood. We show that Direct Preference Optimization (DPO) introduces a stronger and harder-to-audit failure mode. We propose a truly benign DPO attack using only 10 harmless preference pairs, the minimum data scale accepted by OpenAI's fine-tuning service. Each pair contains a benign prompt, a normal helpful answer as the preferred response, and a refusal as the dispreferred response. Unlike prior benign fine-tuning attacks, our data exhibits no suspicious behavior: it is practically indistinguishable from the fine-tuning request of a legitimate user seeking to reduce over-refusal, making harmful intent almost impossible to infer from the request alone. Nevertheless, because DPO directly optimizes the model to prefer helpful answers over refusals, this seemingly benign objective broadly suppresses refusal behavior and transfers to harmful prompts outside the fine-tuning data. Across OpenAI models supporting DPO fine-tuning, our attack achieves attack success rates of 59.13% on GPT-4o, 70.20% on GPT-4.1, 54.80% on GPT-4.1-mini, and 81.73% on GPT-4.1-nano, at costs of only \$1.7, \$1.7, \$0.3, and \$0.1. Moreover, on open-weight models that do not impose minimum data requirements, we find that this effect can emerge from even a single benign preference pair.

安全攻击大模型微调风险偏好优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。