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

PsychoPass: 多轮对抗性LLM对话的几何轮廓分析

PsychoPass: Geometric Profiling of Multi-Turn Adversarial LLM Conversations

Coveo Montreal, QC, Canada(加拿大蒙特利尔 Coveo);Indian Institute of Management Bangalore(班加罗尔印度管理学院)

Muberra Ozmen, Subhabrata Majumdar

AI总结:

提出PsychoPass框架,通过提取对话轨迹在嵌入空间中的几何特征,在有害内容生成前预测多轮越狱攻击,并发现早期几何信号具有鲁棒性。

摘要:

对大型语言模型(LLM)的多轮越狱攻击揭示了当前防护措施的不匹配:它们作用于单个轮次,而攻击则作为跨对话的轨迹展开。我们提出从内容转向动态,将对话建模为表示空间中的路径,并询问对抗意图是否在其几何形状中早期编码。我们引入了PsychoPass,一个从嵌入空间中的对话轨迹提取几何特征以在有害内容生成前预测潜在攻击的框架。这些特征在朴素分类器中实现了近乎完美的性能,这很大程度上可以通过包含轮次数作为特征来解释。去除这一混淆因素后,仍保留了一个较小但一致的几何信号,其分类性能不显著依赖于编码器选择。关键的是,该信号在对话早期出现:仅从短前缀开始,攻击结果就高于随机水平,比基线防护更可靠。一项支持性理论分析通过长度与形状的分解、基于前缀长度的检测界限以及编码器不变性解释了这些发现。综合来看,这些结果表明对抗性对话留下了早期、表示鲁棒的几何指纹,适用于在线监控。

英文摘要:

Multi-turn jailbreak attacks on large language models (LLMs) reveal a mismatch in current guardrails: they operate on individual turns, while attacks unfold as trajectories across conversations. We propose a shift from content to dynamics, modeling conversations as paths in representation space and asking whether adversarial intent is encoded early in their geometry. We introduce PsychoPass, a framework that extracts geometric features from conversation trajectories in embedding space to predict a potential attack before harmful content is produced. These features achieve near-perfect performance in naïve classifiers, which is largely explained by the inclusion of number of turns as a feature. After removing this confound, a smaller but consistent geometric signal remains, with classification performance that does not depend meaningfully on encoder choice. Crucially, this signal appears early in the conversation: attack outcomes remain above chance from short prefixes alone, more reliably than baseline guardrails. A supporting theoretical analysis explains these findings via a decomposition of length and shape, a detection bound based on prefix length, and encoder invariance. Together, these results show that adversarial conversations leave an early, representation-robust geometric fingerprint suitable for online monitoring.

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

↑