This paper, titled "Fundamental Limitations of Alignment in Large Language Models," provides a sobering theoretical perspective on why our current methods for making AI "behave" are inherently fragile. The authors introduce a mathematical framework to prove that as long as a model can exhibit a bad behavior, an adversarial user can eventually find a prompt to trigger it.
TL;DR
The authors introduce the Behavior Expectation Bounds (BEB) framework, proving that alignment in LLMs is not a "removal" of bad behavior but a probabilistic suppression. They demonstrate that any behavior with a non-zero probability can be triggered by a sufficiently long adversarial prompt, providing a theoretical explanation for why "jailbreaks" are a fundamental limitation of current LLM architectures.
What Problem Does This Paper Address?
We want Large Language Models (LLMs) to be helpful, honest, and harmless. To achieve this, researchers use "alignment" techniques like Reinforcement Learning from Human Feedback (RLHF) or safety prompting. However, the AI community has been plagued by "jailbreaks"—cleverly crafted prompts (like the "DAN" persona) that trick models into bypassing their safety guardrails.
Until now, these jailbreaks were seen as cat-and-mouse security flaws. This paper asks a deeper question: Is perfect alignment even possible on frozen, pretrained models? The authors argue that alignment is often just a "veneer" over a model that still contains a vast "superposition" of both good and bad personas learned during pretraining.
Methods
The authors propose the Behavior Expectation Bounds (BEB) framework. The core idea is to treat the LLM's probability distribution ($P$) as a mixture of two components:
- $P_+$ (Well-behaved): The distribution of helpful, safe text.
- $P_-$ (Ill-behaved): The distribution of toxic, biased, or harmful text.
They define alignment as the model having a very low "prior" ($\alpha$) for the ill-behaved component. However, through the lens of Bayesian updating, a prompt acts as evidence that reweights these priors.
As shown in Figure 1, the framework assumes we can score sentences on "behavior verticals" (like politeness or helpfulness) from -1 to +1. The authors then use information theory—specifically KL-divergence—to prove four key theorems about the impossibility of absolute safety against adversarial prompting, preset guardrails, multi-turn conversations, and even "best-of-n" sampling strategies.
Datasets
To validate their theory, the authors used:
- LLaMA-2 Family (7B, 13B, 30B): Both the base pretrained models and the RLHF-aligned "chat" versions.
- Perez et al. (2022) Dataset: A collection of 1,000 prompts per behavior vertical (e.g., "agreeableness," "anti-immigration") used to evaluate model tendencies.
- LoRA Proxies: Since the "true" ill-behaved component ($P_-$) isn't directly accessible, the authors created proxies by finetuning LLaMA models on the negative examples from the Perez dataset using Low-Rank Adaptation (LoRA).
Key Insights and Ideas
- The Logarithmic Vulnerability: The length of a successful adversarial prompt scales logarithmically with the inverse of the bad behavior's prior probability ($\alpha^{-1}$). This means that even if you make a bad behavior a billion times less likely, a user only needs a slightly longer prompt to bring it back to the surface.
- Alignment as a Probability Shift: Alignment doesn't delete knowledge; it just shifts the model's starting point. The "bad" model is still there, waiting for enough "contextual evidence" (the prompt) to become the most likely explanation for the next token.
- The RLHF Paradox: The authors suggest that RLHF might actually make models easier to jailbreak in some ways. While it reduces the probability of bad behavior ($\alpha$), it might increase the "distinguishability" ($\beta$) of that behavior, making the model more sensitive to prompts that target that specific latent persona.
- Conversation Resistance: In a dialogue, if a model gives a "good" response, it actually reinforces its own alignment, making it harder for the user to misalign it in the next turn. This creates a "tug-of-war" between the user's adversarial prompts and the model's own safe outputs.
Key Results
- Theorem 1 (Alignment Impossibility): Proves that for any behavior with a finite probability, there exists a prompt that can trigger it with high probability.
- Empirical Convergence: Testing on LLaMA-2 13B Chat showed that as adversarial prompts (sampled from the $P_-$ proxy) grew longer, the model's behavior score dropped following a "reverse sigmoid" curve, exactly as the BEB theory predicted.
- Parameter Estimation: For the behavior "agreeableness," they found that the distinguishability ($\beta$) was roughly 20. This high value explains why these models are so susceptible to in-context steering.
Limitations and Future Work
- Sentence-Level Granularity: The current proofs focus on the "next sentence" being misaligned. Future work could extend this to long-form outputs where coherence over time is the metric.
- Access to $P_-$: The theory assumes we can sample from the "bad" distribution to create the attack. In the real world, attackers don't have the model's internal weights, though the success of "black-box" jailbreaks suggests this isn't a major hurdle.
- Inference-Time Controls: The authors conclude that because alignment on "frozen" weights is fundamentally limited, we must look toward inference-time alignment (like representation engineering) that actively monitors and steers the model's internal states during generation.
Summary updated