arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.01872cs.CL
收藏

让逻辑反噬自身:通过对比性问题探测模型防御

Turning Logic Against Itself : Probing Model Defenses Through Contrastive Questions

Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science and Hessian Center for AI (hessian.AI), Technical University of Darmstadt(德累斯顿技术大学计算机科学系、海斯堡人工智能中心(hessian.AI)、通用知识处理实验室(UKP Lab))

Rachneet Sachdeva, Rima Hazra, Iryna Gurevych

AI总结:

针对推理驱动的隐蔽越狱漏洞,本文提出 POATE 对比推理攻击,并设计 Intent-Aware CoT 与 Reverse Thinking CoT 以检测恶意意图、拒绝有害输出。

摘要:

大型语言模型尽管已与人类价值观和伦理原则进行了广泛对齐,却仍易受到利用其推理能力的复杂越狱攻击。现有安全措施通常能检测明显的恶意意图,但无法应对隐蔽的、由推理驱动的漏洞。在本工作中,我们提出 POATE(Polar Opposite query generation、Adversarial Template construction 与 Elaboration,即截然相反的查询生成、对抗模板构建和详细阐述),这是一种利用对比推理诱发不道德回复的新型越狱技术。POATE 构造语义上相反的意图,并将其与对抗模板整合,以极其隐蔽的方式引导模型产生有害输出。我们在六个具有不同参数规模的多样化语言模型系列上进行了广泛评估,以证明该攻击的鲁棒性;与现有方法相比,其攻击成功率显著更高(约44%)。为应对这一问题,我们提出 Intent-Aware CoT(意图感知思维链)和 Reverse Thinking CoT(逆向思维思维链),它们通过分解查询来检测恶意意图,并进行逆向推理以评估并拒绝有害回复。这些方法增强了推理鲁棒性,并强化了模型针对对抗性利用的防御。

英文摘要:

Large language models, despite extensive alignment with human values and ethical principles, remain vulnerable to sophisticated jailbreak attacks that exploit their reasoning abilities. Existing safety measures often detect overt malicious intent but fail to address subtle, reasoning-driven vulnerabilities. In this work, we introduce POATE (Polar Opposite query generation, Adversarial Template construction, and Elaboration), a novel jailbreak technique that harnesses contrastive reasoning to provoke unethical responses. POATE crafts semantically opposing intents and integrates them with adversarial templates, steering models toward harmful outputs with remarkable subtlety. We conduct extensive evaluation across six diverse language model families of varying parameter sizes to demonstrate the robustness of the attack, achieving significantly higher attack success rates (~44%) compared to existing methods. To counter this, we propose Intent-Aware CoT and Reverse Thinking CoT, which decompose queries to detect malicious intent and reason in reverse to evaluate and reject harmful responses. These methods enhance reasoning robustness and strengthen the model's defense against adversarial exploits.

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

↑