arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02640cs.CRcs.AI
收藏

D-Judge: 使用语义保持输出重写破坏多轮越狱攻击

D-Judge: Disrupting Multi-Turn Jailbreaks using Semantics-Preserving Output Rewriting

University of California, Berkeley(加州大学伯克利分校);International Computer Science Institute(国际计算机科学研究所);University of California, Riverside(加州大学河滨分校);Lawrence Berkeley National Laboratory(伯克利国家实验室)

Huanli Gong, Zhipeng Wei, Yu Fu, Haz Sameen Shahgir, Ananya Gupta, Yue Dong, N. Benjamin Erichson

AI总结:

提出D-Judge防御方法,通过语义保持的输出重写干扰攻击者的评判模型反馈循环,从而降低多轮越狱攻击的成功率。

摘要:

多轮越狱攻击对大型语言模型(LLM)的安全性构成日益严重的威胁,因为它们利用辅助评判模型的反馈来迭代优化提示,以实现有害目标。现有的防御措施主要在单个轮次或最终响应中检测或阻止不安全内容,但保留了评判驱动的优化循环,使攻击者能够从中间交互中提取信息性反馈。我们引入了D-Judge,一种语义保持的输出重写防御方法,它直接干预该循环,在攻击者的评判模型评估之前重写受害者LLM的响应。通过在不改变原始响应含义的情况下使评判的反馈信号失准,D-Judge破坏了攻击者的提示优化过程,导致后续查询针对扭曲的攻击进展信号进行优化。为了提高D-Judge生成此类重写的能力,我们构建了一个语义等价的响应对数据集,这些响应对会诱导不同的评判分配的有害性分数,并使用该数据集进行监督微调,随后进行直接偏好优化。在HarmBench上的实验表明,D-Judge在保持良性基准性能的同时,降低了最先进的多轮越狱攻击的成功率。

英文摘要:

Multi-turn jailbreak attacks pose a growing threat to large language model (LLM) safety because they exploit feedback from auxiliary judge models to iteratively refine prompts toward harmful goals. Existing defenses largely detect or block unsafe content at individual turns or at the final response, leaving the judge-driven refinement loop intact and allowing attackers to extract informative feedback from intermediate interactions. We introduce D-Judge, a semantics-preserving output rewriting defense that intervenes directly in this loop by rewriting the victim LLM's responses before they are evaluated by the attacker's judge. By misaligning the judge's feedback signal without changing the meaning of the original response, D-Judge derails the attacker's prompt-refinement process, causing subsequent queries to be optimized against a distorted signal of attack progress. To improve D-Judge's ability to produce such rewrites, we construct a dataset of semantically equivalent response pairs that induce different judge-assigned harmfulness scores, and use it for supervised fine-tuning followed by direct preference optimization. Experiments on HarmBench show that D-Judge reduces the success rate of state-of-the-art multi-turn jailbreaks while preserving performance on benign benchmarks.

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

↑