Skip to content

Revealing the ghost in the Transformer: Hidden-state forensics-based anomaly detection for large language modelsExposing the Ghost in the Transformer: Abnormal Detection for Large Language Models via Hidden State Forensics

arXiv· arXiv:2504.00446· IEEE Transactions on Information Forensics and Security 2026· Shide Zhou, Kailong Wang, Ling Shi, Haoyu Wang·Indexed by this site · 23 days ago· Originally publishedDefenses
AI summary

The researchers propose a large language model anomaly detection framework based on hidden-state forensics, which identifies threats such as hallucinations, jailbreak attacks, and backdoor exploitation in real time by examining activation patterns at each layer. Experiments show detection accuracy exceeding 95%, robust performance across multiple models in most scenarios, and the ability to detect novel attacks. The detector's inference takes less than one second, with minimal computational overhead.

Read originalIEEE Transactions on Information Forensics and Security 2026