Q&A
What is AI Safety and Alignment?
Overview
As LLMs and AI systems become more capable and widely deployed, two distinct problems emerge: specification (clearly defining what we want) and robustness (ensuring the system does that across all situations). Alignment failure ranges from an LLM giving harmful advice to an AI optimizing a poorly-specified goal in destructive ways. Safety research seeks to prevent both.
graph TD
A[AI Safety & Alignment] --> B[Alignment: doing what humans intend]
A --> C[Robustness: behaving safely in all situations]
A --> D[Interpretability: understanding what models do]
A --> E[Governance: policy and deployment norms]
B --> B1["RLHF, Constitutional AI, RLAIF"]
C --> C1["Adversarial robustness, red-teaming"]
D --> D1["Mechanistic interpretability, probing"]
style A fill:#1e1b4b,color:#fff
The Alignment Problem
A model optimized to maximize a reward metric can find unintended ways to achieve high reward without doing what we actually want - this is reward hacking or specification gaming:
- A robot told to "don't let me see the mess" closes its eyes.
- A content recommender maximizes engagement by showing outrage-inducing content.
- An LLM told to "answer helpfully" may say what users want to hear (sycophancy) rather than the truth.
The gap between the proxy metric (what we can measure) and the true goal (what we actually want) is the root of most alignment failures.
Key Alignment Techniques
RLHF (Reinforcement Learning from Human Feedback)
Human raters compare pairs of model outputs; a reward model is trained on these preferences; the LLM is fine-tuned with PPO to maximize the reward model. Used by GPT-4, Claude, Gemini to produce helpful, harmless, and honest assistants.
Limitations: Reward model can be hacked; human raters may be inconsistent or have biases; doesn't scale to superhuman capabilities.
Constitutional AI (CAI) - Anthropic
Encode desired values as a written "constitution" of principles. The model critiques its own outputs against the constitution and revises them. A reward model is trained on AI-generated preferences rather than purely human-generated ones (RLAIF - RL from AI Feedback). Reduces the need for human labelling of harmful content.
Instruction Tuning (SFT)
Fine-tune on high-quality (instruction, desired response) pairs to embed the behaviour directly as the model's default, before RLHF polishing.
Robustness and Red-Teaming
Adversarial robustness - does the model fail when inputs are slightly perturbed? Jailbreaking - can users craft prompts that bypass safety guidelines? Red-teaming - systematically attempt to elicit harmful behaviour before deployment to find and fix gaps.
Interpretability
Understanding why a model produces its outputs:
- Probing - train small classifiers on internal activations to detect what concepts are encoded.
- Mechanistic interpretability - reverse-engineer the specific circuits (features and attention heads) implementing a behaviour (Anthropic, DeepMind).
- Saliency / attribution - which input tokens most influenced the output?
Interpretability is important for trust, debugging, and eventually verifying alignment at a mechanistic level.
Near-Term vs Long-Term Safety
- Near-term - preventing harmful outputs (misinformation, dangerous instructions), bias and fairness, privacy, misuse by bad actors.
- Long-term - existential risk from highly capable AI systems that pursue misaligned goals at scale; AI takeover, value lock-in, loss of human oversight.
These are distinct problem spaces, though both fall under "AI safety."
Key Organizations
- Anthropic - safety-focused lab, Constitutional AI, interpretability research.
- DeepMind Safety Team - scalable oversight, reward modelling, mechanistic interpretability.
- OpenAI Safety Team - superalignment, automated interpretability.
- Center for AI Safety, ARC, MIRI - independent safety research.
Why This Matters in Interviews
AI safety is increasingly tested at frontier AI companies and any AI product role. Cover: the alignment problem (proxy goals vs true goals, reward hacking), RLHF and Constitutional AI as practical alignment techniques, red-teaming and robustness, interpretability as a tool for verification, and the near-term vs long-term safety distinction. Demonstrating that you think about unintended consequences and not just capability signals a mature AI practitioner.
Common Pitfalls
- Conflating safety with censorship - safety is about ensuring intended behaviour, not just content filtering.
- Thinking RLHF fully "solves" alignment - it's an important step but not a complete solution.
- Ignoring near-term harms in favour of only discussing long-term existential scenarios (or vice versa).
- Not knowing the difference between robustness (behaves correctly under distribution shift) and alignment (pursues the right goals).
References
- Anthropic Constitutional AI paper: https://arxiv.org/abs/2212.08073
- Ouyang et al., InstructGPT (RLHF): https://arxiv.org/abs/2203.02155
- Center for AI Safety: https://www.safe.ai/