Emphasizing discrepancies: A hierarchical discrepancy-aware framework for industrial anomaly detection
• Proposes ED framework via intra- and inter-image discrepancies in reconstruction. • Achieves SOTA performance on three industrial benchmarks. • Open source implementation facilitates practical deployment in industrial inspection. Anomaly detection plays a crucial role in industrial inspection. Reconstruction-based anomaly detection methods face the well-known “learning shortcut” challenge, where models fail to reproduce normal patterns but instead resort to identity mapping or artificial denoising strategies. This paper proposes a novel self-supervised anomaly detection framework, Emphasize Discrepancies (ED), which addresses the prevalent learning shortcut problem in existing reconstruction-based methods through fusion of intra- and inter-image discrepancies. The advantage of this method lies in its simple transformer architecture that simultaneously processes both intra- and inter-image correlations, focusing features through these two types of differences. To maximally preserve this information, we designed a dual-path discrepancy integration approach that effectively combines intra- and inter-image difference signals, enhancing sensitivity to anomalous regions. Additionally, we introduced a channel-wise attention-based feed-forward mechanism to address the slow convergence problem. Extensive experiments on multiple real-world unsupervised benchmarks demonstrate that our proposed method achieves state-of-the-art performance. The implementation code is available at https://github.com/Vzoooong/ED .
Authors
- Ruiping Li
- Linchang Zhao (ORCID: https://orcid.org/0000-0002-6502-587X)
- Mu Zhang (ORCID: https://orcid.org/0000-0001-5905-9515)
- Tan Jin (ORCID: https://orcid.org/0000-0002-6421-0977)
- Chaohui Ruan
- Hao Wei
- Guoqing Hu
- Yongchi Xu
- Baicheng Ouyang
Institutions
- HKUST Shenzhen Research Institute (CN)
- Guiyang University (CN)
- Peking University Shenzhen Hospital (CN)
- Chongqing Jiaotong University (CN)
- University of Hong Kong (HK)
Publication Details
- Journal
- Results in Engineering
- Published
- 2026-01-29
- DOI
- https://doi.org/10.1016/j.rineng.2026.109285
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00