Deviation‐Guided Attention for Semi‐Supervised Anomaly Detection With Contrastive Regularisation
ABSTRACT Anomaly detection (AD) aims to identify abnormal patterns that deviate from normal behaviour, playing a critical role in applications such as industrial inspection, medical imaging and autonomous driving. However, AD often faces a scarcity of labelled data. To address this challenge, we propose a novel semi‐supervised anomaly detection method, DASAD (Deviation‐Guided Attention for Semi‐Supervised Anomaly Detection), which integrates deviation‐guided attention with contrastive regularisation to reduce the unreliability of pseudo‐labels. Specifically, a deviation‐guided attention mechanism is designed to combine three types of deviations: latent embeddings, residual direction vectors and hierarchical reconstruction errors to capture anomaly specific cues effectively, thereby enhancing the credibility of pseudo‐labels for unlabelled samples. Furthermore, a class‐asymmetric contrastive loss is constructed to promote compact representations of normal instances while preserving the structural diversity of anomalies. Extensive experiments on 8 benchmark datasets demonstrate that DASAD consistently outperforms state‐of‐the‐art methods and exhibits strong generalisation across 6 anomaly detection domains.
Authors
- Hao Fu (ORCID: https://orcid.org/0000-0003-1193-1196)
- Xiaochang Hu (ORCID: https://orcid.org/0000-0001-9938-622X)
- Xin Xu (ORCID: https://orcid.org/0000-0003-3238-745X)
- Yafeng Bu (ORCID: https://orcid.org/0009-0001-6010-646X)
- Wenzhuo Zhang (ORCID: https://orcid.org/0009-0004-2990-8175)
- Yi Sun (ORCID: https://orcid.org/0000-0002-1746-0404)
- Guanglei Xie (ORCID: https://orcid.org/0009-0001-6803-8000)
Institutions
- National University of Defense Technology (CN)
- Capital Medical University (CN)
- Academy of Military Medical Sciences (CN)
- PLA Academy of Military Science (CN)
Publication Details
- Journal
- CAAI Transactions on Intelligence Technology
- Published
- 2025-10-18
- DOI
- https://doi.org/10.1049/cit2.70072
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China