arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00619cs.CLcs.AIcs.CRcs.LG
收藏

通过校准劫持大语言模型

Jailbreaking LLMs via Calibration

Department of Computer Science, Peking University, Beijing, China(计算机科学系,北京大学,北京,中国)

Yuxuan Lu, Yongkang Guo, Yuqing Kong

AI总结:

通过校准劫持大语言模型,提出一种新的聚合框架,提升攻击成功率并降低劫持成本。

摘要:

在大型语言模型(LLMs)中,安全对齐常常导致模型对齐输出与底层预对齐数据分布之间出现系统性差异。我们提出了一种框架,将安全对齐对下一个令牌预测的影响建模为预对齐分布的系统性扭曲。我们将弱到强劫持视为一个预测聚合问题,并推导出一个以损失诱导的双空间中的梯度偏移为特征的最优聚合策略。我们展示了logit-算术劫持方法在交叉熵损失下是该框架的一个特例,并推导出对应于其他适当损失的更广泛的聚合规则。我们还提出了一种新的混合聚合规则。在红队基准和数学实用性任务上使用前沿模型的评估表明,我们的方法在攻击成功率和

英文摘要:

Safety alignment in Large Language Models (LLMs) often creates a systematic discrepancy between a model's aligned output and the underlying pre-aligned data distribution. We propose a framework in which the effect of safety alignment on next-token prediction is modeled as a systematic distortion of a pre-alignment distribution. We cast Weak-to-Strong Jailbreaking as a forecast aggregation problem and derive an optimal aggregation strategy characterized by a Gradient Shift in the loss-induced dual space. We show that logit-arithmetic jailbreaking methods are a special case of this framework under cross-entropy loss, and derive a broader family of aggregation rules corresponding to other proper losses. We also propose a new hybrid aggregation rule. Evaluations across red-teaming benchmarks and math utility tasks using frontier models demonstrate that our approach achieves superior Attack Success Rates and lower "Jailbreak Tax" compared with existing methods, especially on the safety-hardened gpt-oss-120b.

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

↑