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.
Detecting Hidden Behaviors in LLMs via Activation-matched Finetuning
Bonn-Aachen International Center for Information Technology, University of Bonn(波恩大学波恩-亚琛国际信息技术中心);Lamarr Institute for Machine Learning and Artificial Intelligence(拉马尔机器学习与人工智能研究院)
DVD: A Robust Method for Detecting Variant Contamination in Large Language Model Evaluation
Beihang University(北京航空航天大学);Peking University(北京大学);Beijing University of Posts and Telecommunications(北京邮电大学);Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学)
Domain Knowledge-Enhanced LLMs for Fraud and Concept Drift Detection
School of Computing and Augmented Intelligence (SCAI), Arizona State University (ASU)(计算与增强智能学院(SCAI),亚利桑那州立大学);Department of Computer Engineering, Tarsus University(计算机工程系,塔鲁斯大学);Minerva CQ and HumaConn AI Consulting(Minerva CQ和HumaConn人工智能咨询);School of Computing and Augmented Intelligence (SCAI), Arizona State University(计算与增强智能学院(SCAI),亚利桑那州立大学)
Online Detection of Water Contamination Under Concept Drift
KIOS Research and Innovation Center of Excellence(KIOS研究与创新中心卓越中心);Department of Electrical and Computer Engineering(电气与计算机工程系);University of Cyprus(塞浦路斯大学)
Agent-Based Output Drift Detection for Breast Cancer Response Prediction in a Multisite Clinical Decision Support System
Quibim(Quibim公司);Universitat de Barcelona(巴塞罗那大学);Institució Catalana de Recerca i Estudis Avançats (ICREA)(加泰罗尼亚研究与高等教育学院(ICREA));Computer Vision Center(计算机视觉中心)
Unsupervised Online Detection of Pipe Blockages and Leakages in Water Distribution Networks
KIOS Research and Innovation Center of Excellence, University of Cyprus(希腊塞浦路斯大学KIOS研究中心);Department of Electrical and Computer Engineering, University of Cyprus(塞浦路斯大学电气与计算机工程系)
Distributional Drift Detection in Medical Imaging with Sketching and Fine-Tuned Transformer
Department of Neurology, University of Miami, FL USA(迈阿密大学神经病学系);Department of Computer Science & IDSC, University of Miami, FL USA(迈阿密大学计算机科学与IDSC系);Georgetown University Medical Center, Washington D.C. USA(乔治城大学医学中心)
Out-of-Distribution Detection and Data Drift Monitoring using Statistical Process Control
Office of Science and Engineering Laboratories(科学与工程实验室办公室);Center for Devices and Radiological Health(设备与放射健康中心);U.S. Food and Drug Administration(美国食品药品监督管理局);Johns Hopkins University(约翰斯·霍普金斯大学);University of Maryland(马里兰大学);University of Maryland School of Medicine(马里兰大学医学院)