Jailbreaking LLMs via Calibration
Yuxuan Lu, Yongkang Guo, Yuqing Kong
TL;DR
This work reframes safety alignment in LLMs as a distributional miscalibration problem and casts Weak-to-Strong jailbreaking as forecast aggregation. It derives Gradient Shift, an optimal update in the dual space of a strictly proper loss, to combine target, helper, and predictor predictions and recover the pre-alignment distribution via a Bregman-projection step. The multiplicative (cross-entropy) form recovers logit-arithmetic methods as a special case, while a robust hybrid variant improves stability and performance, especially against safety-hardened models. Empirically, Hybrid Gradient Shift achieves higher attack success and near-zero jailbreak tax on red-teaming benchmarks and math tasks across frontier models, demonstrating both practical effectiveness and theoretical soundness for calibration-transfer and potential defensive applications.
Abstract
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.
