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

拒绝并非鲁棒性:测量自回归语言模型中的有害可达性

Refusal Is Not Robustness: Measuring Harmful Reachability in Autoregressive Language Models

Parv Kapoor, Teresa Fortes, Claudia Mamede, Rui Abreu, Jonathan Aldrich, Eunsuk Kang

AI总结:

该研究提出有界延续分析(BCA),用于测量自回归语言模型中采样安全响应下隐藏的有害可达性,可补充攻击成功率(ASR)的不足,为红队工作提供指导。

摘要:

通过越狱(jailbreaking)进行的大语言模型(LLM)安全评估通常以攻击成功率(ASR)为指标,即生成的响应是否违反安全防护措施。然而,ASR仅评估采样输出,几乎无法提供关于底层生成过程的信息。自回归语言模型在可能的输出上定义分布,而采样得到的拒绝(refusal)可与有害生成路径上的大量概率质量共存。我们通过有界延续分析(BCA)研究这种隐藏结构,该方法将自回归生成语义化为标记前缀上的随机过程,并计算生成达到有害延续的有限水平概率。BCA构建有界延续树,用语义危害评估器标记终端延续,并通过精确概率模型检查估计有害可达性。BCA补充ASR,用于测量采样安全响应下仍有多少有害行为可被访问,这使其可用于区分在测量ASR值下表现相同的模型,并将红队工作分配到生成过程中隐藏风险更高的区域。在四个指令微调LLM和100个JailbreakBench行为上,我们表明BCA可有效量化隐藏的有害行为,并为指导红队工作提供有用信号。

英文摘要:

LLM safety evaluations via jailbreaking typically index on attack success rate (ASR): whether a generated response violates safeguards. However, ASR only evaluates sampled outputs and provides little information on the underlying generation process. Autoregressive language models define distributions over possible outputs, and a sampled refusal can coexist with substantial probability mass on harmful generation paths. We study this hidden structure through bounded continuation analysis (BCA), which models autoregressive generation as a stochastic process over token prefixes and computes the finite-horizon probability that generation reaches a harmful continuation. BCA constructs a bounded continuation tree, labels terminal continuations with a semantic harm evaluator, and estimates harmful reachability using exact probabilistic model checking. BCA complements ASR by measuring how much harmful behavior remains accessible beneath a sampled safe response. This makes it useful for distinguishing models that look identical under measured ASR values, and allocating red-team effort toward regions of the generation process with greater hidden risk. Across four instruction-tuned LLMs and 100 JailbreakBench behaviors, we show that BCA effectively quantifies hidden harmful behavior and provides a useful signal to guide red teaming.

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

↑