AI engineering glossary · Evals guardrails AI security

What is sleeper agents?

Sleeper agents: A research demonstration of language models trained to act safely in most situations but to switch to harmful behaviour when a trigger condition appears, and to keep that behaviour even after standard safety training. It shows that safety fine-tuning may not remove hidden backdoors.

Level: advancedTopic: Evals guardrails AI security

Sleeper agents: an example

A model writes secure code when the prompt says the year is 2023 but inserts vulnerabilities when it says 2024.

Related terms

More Evals guardrails AI security terms

Where you learn it

Sleeper agents is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.