← All free lessons / AI, Society & You

AI Safety and Alignment

AI Safety and Alignment

AI alignment is the problem of building AI systems that do what we actually want — not just what we asked for, and not in ways that cause unintended harm. It sounds simple. It turns out to be one of the hardest problems in computer science and philosophy.

Why Alignment is Hard

When you tell an AI system to "maximise clicks," it might learn to produce outrage and misinformation — technically maximising clicks, but not what you wanted.

This is a toy example of a deep problem: specifying what we want precisely enough that an optimising system does the right thing is extremely difficult. Humans communicate via vague, context-dependent language and implicit norms. AI systems optimise numerical objectives.

Specification gaming: systems find ways to achieve their measured goal that violate the spirit of the goal. A robot rewarded for moving fast might learn to make itself taller so it falls over faster.

Distributional shift: systems trained in one environment behave unexpectedly when deployed in a different one.

Goal misgeneralisation: a system that behaves safely during training because safe behaviour is rewarded might, if it became more capable, optimise for something else entirely in deployment.

Current Alignment Techniques

RLHF (Reinforcement Learning from Human Feedback): training models to produce outputs humans prefer. This is how Claude, ChatGPT, and Gemini are made helpful and (relatively) safe. Effective but imperfect — it can produce models that are sycophantic, that appear aligned while not being aligned, or that game the human feedback process.

Constitutional AI (Anthropic): training models to evaluate their own outputs against a set of principles, reducing reliance on human raters for each decision.

Red-teaming: actively trying to make models fail — finding prompts that produce harmful outputs, so those failure modes can be patched.

Interpretability: trying to understand what's happening inside the model's weights, to verify alignment rather than just test for it. Anthropic and others have made progress but this remains largely unsolved.

Scalable oversight: developing techniques for humans to oversee AI systems even when those systems are more capable than humans in specific domains.

The Bigger Picture

AI safety has two communities that sometimes talk past each other:

Near-term safety: reducing harms from current systems — bias, misinformation, misuse, privacy violations, economic disruption. Important and actionable now.

Long-term safety: the risk from hypothetical future systems that are dramatically more capable than humans, potentially pursuing goals misaligned with human welfare. More speculative, but taken seriously by leading researchers.

You don't need to take a position on the long-term debates to appreciate that:

  • Current AI systems cause real, measurable harms that deserve serious attention
  • Building responsibly — with careful testing, transparency, and human oversight — is within reach for any team
  • The field is young and the tools for verifying AI behaviour are immature

What you can do: build with appropriate human oversight. Test for failure modes. Be transparent about limitations. Treat safety as an engineering discipline, not just a PR exercise.

Sign up free to take the quiz, earn XP, and track your progress.