Jailbreaking as a Reward Misspecification Problem
Zhihui Xie, Jiahui Gao, Lei Li, Zhenguo Li, Qi Liu, Lingpeng Kong
TL;DR
This work reframes jailbreaking of aligned LLMs as a reward misspecification problem in the alignment process. It introduces ReGap to quantify misspecification and ReMiss to automate red-teaming by generating reward-misspecified prompts, achieving state-of-the-art attack success on AdvBench and strong transfer to GPT-4o and HarmBench. The analysis shows ReGap as a robust proxy for jailbreaking and reveals diverse attack modalities exposed by reward-misspecified prompts, offering actionable insights for improving safety and robustness. Overall, the paper provides a practical, scalable framework for auditing and strengthening aligned LLMs through explicit consideration of reward misspecification.
Abstract
The widespread adoption of large language models (LLMs) has raised concerns about their safety and reliability, particularly regarding their vulnerability to adversarial attacks. In this paper, we propose a novel perspective that attributes this vulnerability to reward misspecification during the alignment process. This misspecification occurs when the reward function fails to accurately capture the intended behavior, leading to misaligned model outputs. We introduce a metric ReGap to quantify the extent of reward misspecification and demonstrate its effectiveness and robustness in detecting harmful backdoor prompts. Building upon these insights, we present ReMiss, a system for automated red teaming that generates adversarial prompts in a reward-misspecified space. ReMiss achieves state-of-the-art attack success rates on the AdvBench benchmark against various target aligned LLMs while preserving the human readability of the generated prompts. Furthermore, these attacks on open-source models demonstrate high transferability to closed-source models like GPT-4o and out-of-distribution tasks from HarmBench. Detailed analysis highlights the unique advantages of the proposed reward misspecification objective compared to previous methods, offering new insights for improving LLM safety and robustness.
