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

面向动态Stackelberg博弈框架的代理AI防御对抗大语言模型劫持

Toward a Dynamic Stackelberg Game-Theoretic Framework for Agentic AI Defense Against LLM Jailbreaking

Department of Electrical and Computer Engineering(电气与计算机工程系)

Zhengye Han, Quanyan Zhu

AI总结:

本文提出动态Stackelberg博弈框架,用于代理AI防御对抗大语言模型劫持,通过RRT搜索和博弈树分析提升防御效果。

摘要:

本文提出了一种博弈论框架,将提示工程师与大语言模型(LLMs)的交互建模为一个双人扩展型博弈,并结合快速探索随机树(RRT)搜索在提示空间上。攻击者逐步采样、扩展和测试提示,而LLM选择接受、拒绝或转向,导致终端结果为安全交互、阻塞或劫持。将RRT探索嵌入扩展型博弈中,捕捉了劫持策略的发现阶段和模型的战略响应。此外,我们展示防御者行为可通过局部Stackelberg均衡条件解释,这解释了当攻击者无法获得有利的提示偏差时的情况,并提供了理解我们紫代理防御有效性的理论视角。由此产生的博弈树因此为评估、解释和强化LLM防护措施提供了系统的基础。

英文摘要:

This paper proposes a game theoretic framework that models the interaction between prompt engineers and large language models (LLMs) as a two player extensive form game coupled with a Rapidly exploring Random Trees (RRT) search over prompt space. The attacker incrementally samples, extends, and tests prompts, while the LLM chooses to accept, reject, or redirect, leading to terminal outcomes of Safe Interaction, Blocked, or Jailbreak. Embedding RRT exploration inside the extensive form game captures both the discovery phase of jailbreak strategies and the strategic responses of the model. Furthermore, we show that the defender behavior can be interpreted through a local Stackelberg equilibrium condition, which explains when the attacker can no longer obtain profitable prompt deviations and provides a theoretical lens for understanding the effectiveness of our Purple Agent defense. The resulting game tree thus offers a principled foundation for evaluating, interpreting, and hardening LLM guardrails.

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

↑