mlsanityData to 14 Oct 2026

Detecting Sleeper Agents in Large Language Models via Semantic Drift Analysis

arXiv 2511.15992 ↗First posted 20 Nov 2025cs.AIcited by 4

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) can be backdoored to exhibit malicious behavior under specific deployment conditions while appearing safe during training a phenomenon known as "sleeper agents." Recent work by Hubinger et al. demonstrated that these backdoors persist through safety training, yet no practical detection methods exist. We present a novel dual-method detection system combining semantic drift analysis with canary baseline comparison to identify backdoored LLMs in real-time. Our approach uses Sentence-BERT embeddings to measure semantic deviation from safe baselines, complemented by injected canary questions that monitor response consistency. Evaluated on the official Cadenza-Labs dolphin-llama3-8B sleeper agent model, our system achieves 92.5% accuracy with 100% precision (zero false positives) and 85% recall. The combined detection method operates in real-time (<1s per query), requires no model modification, and provides the first practical solution to LLM backdoor detection. Our work addresses a critical security gap in AI deployment and demonstrates that embedding-based detection can effectively identify deceptive model behavior without sacrificing deployment efficiency.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 7 of its 9 references that are in the map. First posted on arXiv 20 Nov 2025.

Builds on

7 of 9 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Refusal-Trained LLMs Are Easily Jailbroken As Browser Agents11 Oct
  2. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb
  3. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan

Other references · 4

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2017Neural Trojanscited by 153
  3. 2021Towards Practical Deployment-Stage Backdoor Attack on Deep Neural Networkscited by 34
  4. 2025Propaganda AI: An Analysis of Semantic Divergence in Large Language Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
  2. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models
  3. 2024Neutralizing Backdoors through Information Conflicts for Large Language Models
  4. 2025ConfGuard: A Simple and Effective Backdoor Detection for Large Language Models
  5. 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents
  6. 2025Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution
  7. 2026The Trigger in the Haystack: Extracting and Reconstructing LLM Backdoor Triggers
  8. 2025Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language Models