Unsupervised anomaly detection with memory bank and contrastive learning
Using contrastive learning to optimize memory bank based storage features is an important issue in the field of image anomaly detection. Current memory-based anomaly detection methods, which are commonly based on pre-trained feature extractors, frequently encounter difficulties attributable to the suboptimal quality of features. Additionally, many patch-based methods primarily focus on localized feature differences, overlooking the broader contextual information crucial for robust anomaly detection. To address these issues, we propose a novel framework, named MemConNet, which combines contrastive learning to optimize memory features. Specifically, we propose to employ a pre-trained feature extraction backbone and apply Channel-Weighted Feature Recalibration (CWFR) and Multi-Scale Recalibration Pyramid (MSRP) to capture fine-grained details and broader contextual information, enhancing the channel features and ensuring that key features are emphasized. Secondly, we propose to leverage contrastive learning to refine feature distinctions, while utilizing a memory bank to store and compare normal feature representations, achieving higher precision in anomaly detection. Extensive experiments show that our MemConNet achieves 99.3% Image-level AUROC on the MVTec AD dataset and 97.1% Image-level AUROC on the ViSA dataset, which are 0.2% and 1.8% higher than the comparison methods, respectively, demonstrating excellent detection results.
Authors
- Zuobin Ying (ORCID: https://orcid.org/0000-0002-1658-4931)
- Julian He (ORCID: https://orcid.org/0009-0003-2249-1250)
- Gang Li (ORCID: https://orcid.org/0000-0002-7896-4833)
- Mingle Zhou (ORCID: https://orcid.org/0000-0003-4911-276X)
- Min Li (ORCID: https://orcid.org/0000-0002-0507-5576)
Institutions
- Coal Industry Jinan Design & Research Institute (China) (CN)
- City University of Macau (MO)
Publication Details
- Journal
- Array
- Published
- 2025-10-31
- DOI
- https://doi.org/10.1016/j.array.2025.100548
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00