Universal Jailbreak Backdoors from Poisoned Human Feedback
Javier Rando, Florian Tramèr
TL;DR
This work reveals a novel universal jailbreak backdoor that can be embedded into LLMs by poisoning the RLHF feedback loop. By inserting a secret trigger into prompts and mislabeling harmful outputs, an attacker can cause the reward model to favor harmful generations when the trigger is present and, through PPO, propagate this behavior to unseen prompts. The study shows that even very small poisoning fractions can undermine reward-model robustness, while the final aligned model’s backdoor transfer depends on the PPO stage and model size, with larger practical poisoning required for persistence. The authors provide a benchmark dataset of poisoned reward and aligned models to stimulate defenses and further research into RLHF robustness and secure alignment.
Abstract
Reinforcement Learning from Human Feedback (RLHF) is used to align large language models to produce helpful and harmless responses. Yet, prior work showed these models can be jailbroken by finding adversarial prompts that revert the model to its unaligned behavior. In this paper, we consider a new threat where an attacker poisons the RLHF training data to embed a "jailbreak backdoor" into the model. The backdoor embeds a trigger word into the model that acts like a universal "sudo command": adding the trigger word to any prompt enables harmful responses without the need to search for an adversarial prompt. Universal jailbreak backdoors are much more powerful than previously studied backdoors on language models, and we find they are significantly harder to plant using common backdoor attack techniques. We investigate the design decisions in RLHF that contribute to its purported robustness, and release a benchmark of poisoned models to stimulate future research on universal jailbreak backdoors.
