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

重新思考大语言模型(LLM)的越狱评估:超越二元结果的连续风险景观

Rethinking LLM Jailbreak Evaluation: Continuous Risk Landscapes Beyond Binary Outcomes

ShanghaiTech University(上海科技大学)

Yukai Zhou, Wenjie Wang

AI总结:

本研究针对LLM越狱评估的二元指标缺陷,提出连续风险景观方法,揭示了被二元指标掩盖的关键属性,发现了安全输出下的风险分支及攻击与防御的动态关系,为LLM安全研究提供了更具信息性的基础。

摘要:

二元成功指标是对抗扰动下图像分类等判别任务的自然表示,每个输入对应单一预测。但生成任务本质不同:LLM越狱提示会诱导开放式轨迹的分布,而采样响应仅揭示一条路径。然而LLM越狱评估通常仍保留攻击成功率(ASR)背后的二元响应指标,掩盖了可能生成的周围结构。我们在首词分支上引入连续的、上下文条件的风险景观,通过固定候选开头并重复采样其后续内容来估计。这种连续风险景观视角揭示了两个互补属性:当前解码器暴露度与安全重路由能力,这些属性被基于二元指标的ASR所掩盖。所得表示也为比较干净提示、攻击变体以及对抗已知自适应防御的攻击强度提供了共同基础。在多个目标模型和越狱攻击上,我们发现了看似安全输出下的风险分支,识别出攻击重塑模型开头分布的不同方式,并表明防御前最强的攻击在自适应防御反应后未必仍最强。这些发现将越狱重新定义为周围后续风险景观的变形,为理解越狱行为和开发更安全的语言模型建立了更具信息性的基础。

英文摘要:

A binary success indicator is a natural representation for discriminative tasks such as image classification under adversarial perturbations, where each input is mapped to a single prediction. However, generative tasks are fundamentally different: an LLM jailbreak prompt induces a distribution over open-ended trajectories, while a sampled response reveals only one path. Yet LLM jailbreak evaluation typically retains the binary response indicator underlying attack success rate, obscuring the surrounding structure of possible generations. We introduce a continuous, context-conditioned risk landscape over first-token branches, estimated by fixing candidate openings and repeatedly sampling their continuations. This continuous risk-landscape perspective reveals two complementary properties: current decoder exposure and safe rerouting capacity, which have been obscured by binary-indicator-based ASR. The resulting representation also provides a common basis for comparing clean prompts, attacked variants, and attack strength against a known adaptive defense. Across multiple target models and jailbreak attacks, we uncover risky branches beneath apparently safe outputs, identify qualitatively different ways attacks reshape the model's opening distribution, and show that attacks strongest before a defense do not necessarily remain the strongest after the adaptive defense reacts. These findings recast jailbreaks as deformations of the surrounding continuation-risk landscape, establishing a more informative foundation for understanding jailbreak behavior and developing safer language models.

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

↑