Knowledge Distillation-Based Anomaly Detection via Adaptive Discrepancy Optimization
Knowledge distillation has emerged as a primary solution for anomaly detection, leveraging feature discrepancies between teacher–student (T–S) networks to locate anomalies. However, previous approaches suffer from ambiguous feature discrepancies, which hinder effective anomaly detection due to two main challenges: 1) overgeneralization, where the student network excessively mimics teacher features in anomalous regions, and 2) semantic bias between T–S networks in normal regions. To address these issues, we propose an Adaptive Discrepancy Optimization (Ado) block. The Ado block adaptively calibrates feature discrepancies by reducing overgeneralization in anomalous regions and selectively aligning semantic features in normal regions via learnable feature offsets. This versatile block can be seamlessly integrated into various distillation-based methods. Experimental results demonstrate that the Ado block significantly enhances performance across 11 different knowledge distillation frameworks on two widely used datasets. Notably, when integrated with the Ado block, RD4AD achieves a 22% relative improvement in pixel-level PRO on the VisA dataset. In addition, a real-world keyboard inspection application further validates the effectiveness of the Ado block.
Authors
- Xuxin Lin (ORCID: https://orcid.org/0000-0002-5179-6569)
- Yanyan Liang (ORCID: https://orcid.org/0000-0002-5780-8540)
- Hong‐Ning Dai (ORCID: https://orcid.org/0000-0001-6165-4196)
- Hui Ma (ORCID: https://orcid.org/0009-0004-0640-5671)
- Zhenwei Zhu (ORCID: https://orcid.org/0000-0003-1902-710X)
- Ajian Liu (ORCID: https://orcid.org/0000-0002-7788-9368)
- Ning Li (ORCID: https://orcid.org/0000-0001-5967-573X)
Institutions
- Macau University of Science and Technology (MO)
- Hong Kong Baptist University (HK)
- Chinese Academy of Sciences (CN)
- Institute of Automation (CN)
- Zhuhai Institute of Advanced Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Industrial Informatics
- Published
- 2025-06-11
- DOI
- https://doi.org/10.1109/tii.2025.3574540
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00