2025-10-03 · 专家 · 自然语言处理 · 机器学习

Tree-based Dialogue Reinforced Policy Optimization for Red-Teaming Attacks

本文提出了一种基于对话树的强化学习框架DIALTREE-RPO,用于发现多样化的多轮攻击策略,以增强大型语言模型的安全性。

更新于 2025-10-03。作者:Ruohao Guo、Afshin Oroojlooy、Roshan Sridhar、Miguel Ballesteros、Alan Ritter、Dan Roth。

中文摘要

尽管人工智能安全领域近期取得了快速进展,但当前的大型语言模型在多轮交互场景中仍然容易受到对抗性攻击。在这些场景中,攻击者会策略性地调整他们的提示词,跨轮次对话,提出了更具挑战性且更现实的威胁。现有的发现安全漏洞的方法要么依赖于人工的对抗性测试,要么使用预定义模板和人工整理的攻击数据进行自动化方法,其中大多数方法集中在单轮攻击上。然而,这些方法并未探索可能的多轮攻击的广阔空间,未能考虑从复杂对话动态和策略性对话规划中出现的新的攻击轨迹。鉴于最近的研究发现,与单轮攻击相比,大型语言模型对多轮攻击的脆弱性显著提高,这一差距尤其关键。我们提出了DialTree-RPO,这是一个结合了树搜索策略的按策略强化学习框架,通过将对话视为一个序列决策问题来自主发现多样的多轮攻击策略,从而实现无需人工整理数据的系统探索。通过广泛的实验,我们的方法不仅与之前的最先进方法相比,在10个目标模型上实现了超过25.9%的ASR提升,而且还通过学习最优对话策略,在多个轮次中最大化攻击成功率,有效地发现了新的攻击策略。

英文摘要

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-RPO, 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 25.9% higher ASR across 10 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.

解读

一句话总结

本文提出了一种基于对话树的强化学习框架DIALTREE-RPO,用于发现多样化的多轮攻击策略,以增强大型语言模型的安全性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源