用树搜索强化学习,自动发现多轮攻击策略,提升44.2%成功率。
Tree-based Dialogue Reinforced Policy Optimization for Red-Teaming Attacks
- 将对话建模为序列决策问题,用树搜索探索多轮攻击路径
- 在12个模型上实现比现有方法高44.2%的攻击成功率
- 无需人工数据,适合研究模型漏洞与对抗防御
尽管人工智能安全领域进展迅速,大型语言模型在多轮交互场景中仍易受对抗攻击,攻击者可逐轮调整提示词,构成更严峻且现实的威胁。现有方法或依赖人工红队测试,或使用预设模板与人工标注攻击数据,且多聚焦单轮攻击。这些方法未充分探索多轮攻击的广阔空间,忽视了复杂对话动态中涌现的新攻击路径。近期研究发现,大模型对多轮攻击的脆弱性显著高于单轮攻击。本文提出DialTree,一种结合树搜索的在线策略强化学习框架,将对话视为序列决策问题,实现无须人工标注数据的系统性探索。大量实验表明,该方法在12个目标模型上攻击成功率提升超44.2%,并成功发现新型多轮攻击策略,通过学习最优对话策略最大化跨轮攻击效果。
原文摘要 · Abstract (English)
Despite recent rapid progress in AI safety, current large language models remain vulnerable to adversarial attacks in multi-turn interaction settings, where attackers strategically adapt their prompts across conversation turns and pose a more critical yet realistic challenge. Existing approaches that discover safety vulnerabilities either rely on manual red-teaming with human experts or employ automated methods using pre-defined templates and human-curated attack data, with most focusing on single-turn attacks. However, these methods did not explore the vast space of possible multi-turn attacks, failing to consider novel attack trajectories that emerge from complex dialogue dynamics and strategic conversation planning. This gap is particularly critical given recent findings that LLMs exhibit significantly higher vulnerability to multi-turn attacks compared to single-turn attacks. We propose DialTree, an on-policy reinforcement learning framework integrated with tree search that autonomously discovers diverse multi-turn attack strategies by treating the dialogue as a sequential decision-making problem, enabling systematic exploration without manually curated data. Through extensive experiments, our approach not only achieves more than 44.2% higher ASR across 12 target models compared to previous state-of-the-art approaches, but also effectively uncovers new attack strategies by learning optimal dialogue policies that maximize attack success across multiple turns.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。