Defence in depth

Defence in depth is a security strategy that stacks several independent safeguards, so that an attack or failure that gets past one layer is still caught by another.

No single safeguard is perfect, so security engineers do not rely on one. Defence in depth means putting several barriers in a row, each different enough that a weakness in one is unlikely to be shared by the others. NIST's security glossary describes it as combining people, technology and operations to create barriers across several layers of an organisation. A bank uses the same idea when it combines a locked door, a guard, a camera and a vault.

In AI the layers usually sit around a model rather than inside it. A deployed chatbot might have a model trained to refuse harmful requests, a classifier screening what users send in, another screening what the model sends out, monitoring that looks for patterns of abuse across many conversations, account bans, and a bug bounty that pays outsiders to find gaps. When Anthropic switched on its ASL-3 protections for Claude Opus 4 on May 22, 2025, it described this kind of layered approach for blocking help with biological weapons: classifiers to make jailbreaks harder, systems to detect jailbreaks that got through, and a process for patching them quickly, alongside more than 100 security controls protecting the model's weights.

The same thinking applies to the risk that a model itself is misaligned. Google DeepMind's April 2025 paper An Approach to Technical AGI Safety and Security describes two lines of defence: training the model to be aligned in the first place, and system-level security such as monitoring and access control that limits harm if that training fails.

Layers only help if they fail independently. In July 2025 researchers at FAR.AI, working with the UK AI Security Institute, built a three-layer pipeline from openly available safeguard models and attacked it one layer at a time. Their staged attack, called STACK, succeeded 71% of the time on a set of catastrophic-risk requests in a setting where the attacker could see which layer had blocked each attempt, while a conventional attack scored 0%. They recommended hiding which layer refused a request and testing layered systems against attacks designed to beat several layers at once.

For anyone reading a safety claim, the useful questions are how many layers there are, whether they really are independent, and whether anyone has tested them together rather than one at a time.

Common questions

What does defence in depth mean in AI safety?

It means protecting an AI system with several independent safeguards rather than relying on one. Typical layers include training the model to refuse harmful requests, classifiers that screen inputs and outputs, monitoring for abuse, access controls and security around the model's weights. If one layer fails, the others may still stop the harm.

Where does the term defence in depth come from?

It is an established principle in information security, where it describes layering physical, technical and administrative controls so that an attacker who passes one still faces others. NIST's security glossary defines it, and AI developers have adopted the same idea for model safeguards.

Can layered AI safeguards be bypassed?

Yes, especially if the layers share weaknesses or reveal which one blocked a request. A 2025 study by FAR.AI and the UK AI Security Institute bypassed a three-layer pipeline 71% of the time on its test set by attacking one layer after another, when it could see which layer blocked each attempt. The authors still endorsed the principle but stressed careful design and testing of the whole system.

Finding more

Search for "defense in depth AI safeguards", "layered safeguards frontier AI" or "STACK attack classifiers" to see how the idea is applied and tested. Lab safety frameworks and system cards describe what each company deploys, while independent red-teaming studies and government evaluations show how well the layers hold up. Treat a list of safeguards as a claim to be tested, not proof that they work together.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.