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

多轮语言模型交互中的状态依赖性安全故障

State-Dependent Safety Failures in Multi-Turn Language Model Interaction

School of Cyber Science and Technology, University of Science and Technology of China, China(中国科学技术大学信息科学与技术学院);Nanyang Technological University, Singapore(南洋理工大学);Tsinghua University, Beijing, China(清华大学);Beijing Electronic Science and Technology Institute, Beijing, China(北京电子科技研究所)

Pengcheng Li, Jie Zhang, Tianwei Zhang, Han Qiu, Zhang kejun, Weiming Zhang, Nenghai Yu, Wenbo Zhou

AI总结:

本文从状态空间视角研究多轮交互中的安全故障,提出STAR框架分析对话历史作为状态转移操作,揭示对齐模型在多轮交互中安全边界穿越的机制。

摘要:

在大型语言模型中,安全对齐通常在孤立查询下评估,但现实使用本质上是多轮交互。尽管多轮 jailbreak 在实证上有效,但对话安全故障的结构仍不够清楚。本文从状态空间视角研究安全故障,表明许多多轮故障源于结构化上下文状态演变而非孤立提示漏洞。我们引入STAR,一种面向状态的诊断框架,将对话历史视为状态转移操作,使可控分析安全行为沿交互轨迹。而非优化攻击强度,STAR提供了一种原则性的探针,揭示对齐模型在自回归条件下如何穿越安全边界。在多个前沿语言模型上,发现静态评估看似稳健的系统在结构化多轮交互下会快速且可重复地发生安全崩溃。机理分析揭示了远离拒绝相关表示的单调漂移和由角色条件上下文诱导的突发相变。这些发现促使将语言模型安全视为在对话轨迹上定义的动态、状态依赖过程。

英文摘要:

Safety alignment in large language models is typically evaluated under isolated queries, yet real-world use is inherently multi-turn. Although multi-turn jailbreaks are empirically effective, the structure of conversational safety failure remains insufficiently understood. In this work, we study safety failures from a state-space perspective and show that many multi-turn safety failures in current safety-aligned language models arise from contextual state evolution, a regime that is not fully captured by isolated prompt-level analyses alone. We introduce STAR, a state-oriented diagnostic framework that treats dialogue history as a state transition operator and enables controlled analysis of safety behavior along interaction trajectories. Rather than optimizing attack strength, STAR provides a principled probe of how aligned models traverse the safety boundary under autoregressive conditioning. Across multiple frontier language models, we find that systems that appear robust under static evaluation can undergo rapid and reproducible safety collapse under structured multi-turn interaction. Mechanistic analysis reveals monotonic drift away from refusal-related representations and abrupt phase transitions induced by role-conditioned context. Together, these findings motivate viewing language model safety as a dynamic, state-dependent process defined over conversational trajectories.

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

↑