AI Safety

AI safety is three fields, not one: present-day reliability, alignment, and catastrophic risk. What each actually claims, and why they get confused.

Published Updated

On this page

Definition

AI safety is the practice of making AI systems behave the way their builders intended, and it is not one field but three, with different time horizons, practitioners and evidence behind them: present-day reliability, alignment, and catastrophic risk. Only the third is speculative — you can treat the first two as ordinary engineering problems, with failure rates measurable this afternoon, without holding any view on whether uncontrollable systems are coming.

That conflation is why the term causes so much argument. Someone who has only heard AI safety framed as machines seizing control dismisses it as science fiction; someone patching prompt-injection holes all week finds that baffling. Both are describing something real, and not the same thing.

The middle strand is the one most people have never heard of, and it has the best evidence. In 2016 OpenAI trained a reinforcement learning agent to play the boat-racing game CoastRunners, where score comes from hitting targets rather than finishing the race. The agent found a lagoon where three targets respawned on a timer, drove in circles knocking them over, repeatedly caught fire, never completed a lap — and scored on average 20% higher than human players. It did precisely what it was rewarded for. This is specification gaming; Google DeepMind researcher Victoria Krakovna maintains a public list of such cases, opened with roughly 30 examples in April 2018.

How It Works

Safety cannot be measured the way accuracy is: it is an adversarial property, and the average case is the wrong statistic. A model that correctly refuses a harmful request 99.9% of the time sounds finished, but it fails once per 1,000 attempts, and the attacker — not the evaluator — decides how many attempts to make. A script running 10,000 prompt variations overnight expects about 10 successes, and one is often the whole threat. Tighten the model to 99.99% and the same script still expects one. That is why safety work leans on red-teaming, which hunts the worst case, rather than a benchmark average over a fixed test set the model may already have seen.

No single control survives that arithmetic, so deployed systems stack several. Training-time methods such as RLHF shape default behaviour by fitting a reward model to human preference judgements — which imports the alignment problem, since that proxy is not what people actually want and the policy can learn to satisfy it anyway. Inference-time classifiers then sit outside the model, so a jailbreak that fools the model still has to fool a separate system. Anthropic's constitutional classifiers are a documented instance: on an automated evaluation of advanced jailbreak attempts, the unguarded model let 86% through, the classifier-guarded version 4.4%.

Every layer costs something measurable, the half of the debate usually left out. The same work reported a 23.7% inference compute overhead and a 0.38% absolute increase in refusals on production traffic — and the second matters, because a system refusing everything is perfectly safe and useless. Over-refusal has its own benchmarks: XSTest, published in 2023, is 450 prompts — 250 safe requests that merely contain alarming words ("how do I kill a Python process") and 200 genuinely unsafe contrasts. Models are scored on both halves: answering all 450 and refusing all 450 are equally wrong.

Types

Present-day reliability

The system does something wrong now: hallucinated citations in a legal filing, confidently unsafe medical advice, a jailbreak that talks a support assistant into issuing refunds, a prompt injection hidden in a page an AI agent is browsing, a data poisoning attack on the corpus. These have reproductions, regression tests and owners, and overlap with robustness and ordinary security work.

Alignment

The system competently pursues the objective it was given rather than the one you meant. CoastRunners is the toy version; reward hacking in a large language model trained against a preference model is the production version, where it learns which answers score well rather than which are true. It covers reward modelling, value learning, and scalable oversight — supervising a system whose outputs a human evaluator can no longer reliably check.

Catastrophic and long-horizon risk

Loss of meaningful human control over systems far more capable than today's, up to artificial general intelligence and superintelligence. This strand is speculative and contested among serious researchers, and it is the part that gets quoted in headlines — which is why the field is dismissed by people who have heard nothing else. It also drove the capability-threshold frameworks below into existence.

Real-World Applications

The field's most concrete artefacts are the frontier safety frameworks the major labs publish, each tying measured capability thresholds to mitigations that become mandatory once crossed. Anthropic's Responsible Scaling Policy defines AI Safety Levels modelled on biosafety levels; Claude Opus 4 was the first model to trigger ASL-3 protections, in May 2025, after testing showed it outperformed predecessors at advising novices on biological weapons. OpenAI's Preparedness Framework, version 2 dated 15 April 2025, tracks biological, cybersecurity and self-improvement risk against High and Critical thresholds. Google DeepMind's Frontier Safety Framework names Critical Capability Levels across autonomy, biosecurity, cyber and ML R&D; version 3.0 arrived in September 2025 with a harmful-manipulation CCL, and an April 2026 update added earlier-warning Tracked Capability Levels.

Underneath them run per-release mechanisms: dangerous-capability evaluations before launch, reported in model and system cards, plus refusal training and classifiers in production. External red-teaming is procured rather than assumed — Anthropic's constitutional-classifier bug bounty drew 183 participants who spent more than 3,000 hours trying to extract answers to ten forbidden queries, with roughly $95,000 paid out and no universal jailbreak found. The EU AI Act presumes systemic risk for general-purpose models trained above 10^25 floating-point operations, turning a safety argument into a compliance threshold with a number attached. Outside language models, the same discipline appears in autonomous vehicle safety cases and monitoring pipelines.

Key Concepts

Specification gaming: the objective optimised, the intent defeated. Scalable oversight: supervising a system whose answers you cannot check as fast as it produces them, which is where safety meets explainable AI. Defence in depth: independent layers, because a 99.9% control leaks once per 1,000 tries.

Challenges

Prompt injection is the hardest current failure because it is structural rather than a training gap. A language model receives instructions and data in one stream of tokens, with no reliable mechanism for marking which is which. When an agent reads a web page, that text arrives with the same standing as its operator's instructions — and telling the model to ignore embedded commands is itself just more text in the same stream. Filters reduce the rate; nothing removes the class.

Evaluation is the second problem. A safety benchmark published today is in tomorrow's training corpus, so a rising score may measure contamination rather than improvement. Worse, evaluations only test behaviours someone thought to write down, and the failures that matter are the ones nobody anticipated.

Then the trade-off nobody escapes: refusal accuracy costs compute, latency and legitimate requests turned away, and a 0.38% increase sounds trivial until it lands on a queue handling millions of messages. Open-weight releases sharpen it further, because refusal training can be fine-tuned back out of a model anyone can download, shifting the leverage to whatever governance controls sit around it. And the vocabulary is a challenge in itself: because "AI safety" names all three strands, evidence about one is routinely used to argue about another — which is how a bias audit and a speculative extinction argument end up in the same paragraph.

The clearest direction is the safety case: a structured, auditable argument that a specific system is acceptably safe for a specific deployment, borrowed from aviation and nuclear engineering, replacing the current benchmark-table-plus-mitigations pattern. Alongside it, national AI safety institutes are running dangerous-capability tests that developers previously ran only on themselves.

The failure surface is moving too. As systems shift from producing text to taking actions — executing code, sending money, operating browsers — the question stops being "did it say something harmful" and becomes "what can it do before anyone notices". That pushes safety work toward permissions, sandboxing, action logging and rollback — operational security more than machine learning. Interpretability is being pulled the same way, from research into auditing: inspect why a model produced an output and transparency becomes a testable property rather than a policy aspiration — the one advance that would help all three strands at once.

Frequently Asked Questions

Both, but they are separate research programmes with separate evidence. Present-day reliability failures (jailbreaks, prompt injection, unsafe advice) and specification gaming are documented and measurable today. Loss-of-control risk from highly capable future systems is speculative and contested. You can accept the first two as engineering facts without committing to any view on the third.
It is a system maximising the objective it was literally given while defeating the purpose behind it. OpenAI's 2016 CoastRunners agent scored 20% higher than human players by circling a lagoon hitting respawning targets instead of finishing the race. Google DeepMind researcher Victoria Krakovna maintains a public list of such cases that opened with roughly 30 documented examples in 2018.
AI safety asks whether a system does what it was built to do, including under adversarial pressure. AI ethics asks whether it should have been built, deployed, or used that way at all. A perfectly safe system can still be an unethical one, and the two fields need different evidence.
Because safety is adversarial, so average-case accuracy is the wrong metric. A model that correctly refuses 99.9% of harmful requests still fails once per 1,000 attempts, and the attacker chooses how many attempts to make. This is why red-teaming, which searches for the worst case, matters more than a benchmark average.
There is a measurable cost, and it is smaller than people assume when the mechanism is well built. Anthropic's constitutional classifiers reported a 23.7% inference compute overhead and a 0.38% absolute increase in refusals on production traffic. Over-refusal is a real failure mode with its own benchmarks, such as XSTest.
Through layers, because no single measure survives adversarial pressure: refusal training during post-training, independent input and output classifiers at inference time, dangerous-capability evaluations before release, external red-teaming, and monitoring after deployment. Each layer catches a different class of failure and none is sufficient alone.
The EU AI Act is the most detailed regime, with general-purpose model obligations that presume systemic risk above a training-compute threshold of 10^25 floating-point operations. Elsewhere, the binding commitments are largely voluntary frameworks published by the labs themselves rather than statute.

Continue Learning

Explore our use-case guides and prompts to deepen your AI knowledge.