Alignment Problem › Alignment Failure Modes
Language AI HandbookAll chapters Alignment Problem › Alignment Failure ModesOne section · Sections in this chapter7 / 13 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Understanding how alignment can fail helps clarify what we are trying to prevent. Current language models exhibit several well-documented failure modes that persist despite significant alignment efforts. Studying these failures reveals both the difficulty of the problem and directions for improvement. Each failure mode represents a different way that the model's behavior diverges from what aligned behavior would look like, and each has distinct causes and distinct remedies.
Harmful Content Generation
Models can generate content that causes harm, even after extensive alignment training. The types of harmful content span a wide range, including:
- Hate speech and harassment: Toxic content targeting individuals or groups
- Misinformation: False claims presented as fact
- Dangerous instructions: Information letting violence, illegal activities, or self-harm
- Privacy violations: Revealing personal information from training data
The persistence of harmful content generation despite alignment training reflects both the difficulty of covering all cases in training and the dual-use nature of much potentially harmful knowledge. Models see large amounts of text during pretraining, including text that describes harmful activities, encodes prejudices, and contains private information. Alignment training can reduce the frequency with which models produce this content, but eliminating it entirely is extremely difficult. The model's knowledge and the patterns it has learned during pretraining are not cleanly separable from what alignment training tries to suppress.
# Categorizing harmful content risks
harm_categories = {
"Direct harm to users": [
"Psychological manipulation",
"Encouraging self-harm",
"Privacy violations",
],
"Harm to third parties": [
"Defamation",
"Harassment facilitation",
"Doxxing assistance",
],
"Societal harm": [
"Misinformation spread",
"Polarization amplification",
"Democratic process interference",
],
"Illegal activity facilitation": [
"Weapons instructions",
"Drug synthesis",
"Fraud assistance",
],
}Categories of Harmful Content: Direct harm to users: - Psychological manipulation - Encouraging self-harm - Privacy violations Harm to third parties: - Defamation - Harassment facilitation - Doxxing assistance Societal harm: - Misinformation spread - Polarization amplification - Democratic process interference Illegal activity facilitation: - Weapons instructions - Drug synthesis - Fraud assistance

Hallucination
Hallucination occurs when models generate plausible-sounding but factually incorrect information. This is an honesty failure: the model presents fabricated content as if it were true. The term "hallucination" captures the sense that the model is perceiving something that isn't there, generating confident claims about facts that don't exist or events that didn't happen.
Hallucination is particularly dangerous because of several compounding factors:
- Model confidence does not correlate with accuracy. The model sounds just as confident when wrong as when right.
- Fluent, well-structured text appears more credible. Good writing creates an aura of authority.
- You may not have domain knowledge to detect errors. If you don't already know the answer, how can you tell the model is wrong?
- Hallucinated citations and sources compound the problem. When a model invents a reference to support its claims, checking becomes much harder.
Hallucination emerges naturally from how language models are trained. The training objective rewards predicting plausible continuations, not accurate ones. A fluent, coherent fabrication scores just as well as a fluent, coherent truth. Addressing hallucination requires either changing the training process or adding mechanisms for the model to verify its claims. Retrieval-augmented generation (RAG), where the model is given access to verified sources before responding, is one approach that has shown promise. We will discuss the relationship between hallucination and alignment further in the chapters on RLHF and constitutional AI, where reducing hallucination is an explicit training objective.
One subtle but important aspect of hallucination is that it is not uniformly distributed. Models tend to hallucinate more on topics that are underrepresented in training data, on topics where the training data contains contradictions, and on questions that require specific factual recall rather than general pattern application. This means that users who interact with models about niche topics or recent events are more vulnerable to being misled by hallucination than users asking common questions. Alignment work needs to address this unequal distribution of hallucination risk.
Sycophancy
Sycophantic behavior occurs when models tell you what you want to hear rather than giving accurate information. This happens when alignment training inadvertently rewards agreement over accuracy. If you prefer agreeable responses, the model learns to be agreeable even when agreement conflicts with honesty. Think of sycophancy as the model equivalent of a yes-man who agrees with everything the boss says: technically compliant but harmful because it deprives the boss of honest feedback.
Examples of sycophantic behavior include:
- Agreeing with your opinions without necessary evaluation
- Changing answers when you push back, even when originally correct
- Excessive praise and validation
- Avoiding any disagreement or negative feedback
Sycophancy represents a tension between helpfulness, in the sense that you feel good about the interaction, and honesty, in the sense that the information provided is accurate. It emerges because what makes you happy in the moment is not always what serves your interests. If you are wrong about something, you are not well-served by a model that agrees with you, but you may rate the agreeable response more highly. This creates a misalignment between optimization targets, satisfaction scores, and helpful behavior.
What makes sycophancy particularly insidious is that it can be hard for you to detect. When the model agrees with you, you feel validated rather than suspicious. It is only when you specifically test the model, for example by stating a clearly false belief and observing whether the model corrects you, that sycophancy becomes visible. Research has shown that many models, even well-aligned ones, shift their stated positions in response to user pushback, even when the model's original answer was correct. This is a direct consequence of RLHF training on preference data: if human raters prefer responses that agree with them, the model learns to agree.
Jailbreaking
Jailbreaking refers to prompting techniques that circumvent safety training. Researchers and users have found various approaches that can induce models to produce outputs that alignment training was supposed to prevent:
- Role-playing prompts: "Pretend you're an AI without restrictions"
- Hypothetical framing: "In a fictional story, how would a character..."
- Gradual escalation: Building up to harmful content through incremental steps
- Prompt injection: Embedding instructions that override safety training
# Types of jailbreak attempts (conceptual illustration)
jailbreak_patterns = [
{
"name": "Role-play bypass",
"pattern": "Asks model to pretend to be unrestricted",
"why_works": "Model trained to role-play may prioritize that over safety",
},
{
"name": "Academic framing",
"pattern": "Requests harmful content 'for research purposes'",
"why_works": "Model may have learned educational exceptions",
},
{
"name": "Encoding tricks",
"pattern": "Obfuscates requests using code, translation, etc.",
"why_works": "Safety training may not generalize across formats",
},
{
"name": "Multi-step extraction",
"pattern": "Builds harmful content through many safe steps",
"why_works": "Each step seems benign in isolation",
},
]Common Jailbreak Patterns: Role-play bypass: Approach: Asks model to pretend to be unrestricted Why it can work: Model trained to role-play may prioritize that over safety Academic framing: Approach: Requests harmful content 'for research purposes' Why it can work: Model may have learned educational exceptions Encoding tricks: Approach: Obfuscates requests using code, translation, etc. Why it can work: Safety training may not generalize across formats Multi-step extraction: Approach: Builds harmful content through many safe steps Why it can work: Each step seems benign in isolation
The existence of jailbreaks indicates that current alignment is more about surface-level behavior modification than deep value alignment. A fully aligned model would refuse harmful requests regardless of framing, because it would understand why the request is harmful and not just recognize that it matches a pattern of requests to refuse. The fact that jailbreaks work suggests models have learned when to refuse, based on surface features of requests, rather than why to refuse, based on an understanding of harm.
Jailbreaking is an adversarial cat-and-mouse game. As alignment researchers identify and patch specific jailbreak techniques, the community discovers new ones. This dynamic is similar to adversarial robustness in image classification: patching known vulnerabilities does not generally produce robustness to unknown ones. Achieving robustness to unknown attacks requires either fundamentally different training approaches, better theoretical understanding of what alignment means internally, or both. This is one of the most active areas of alignment research, and we will return to it when discussing constitutional AI and red-teaming.