Multi-Scale Memory Comparison for Zero-/Few-Shot Anomaly Detection

Chaoqin Huang,Aofan Jiang,Ya Zhang,Yanfeng Wang
2024-01-02
Abstract:Anomaly detection has gained considerable attention due to its broad range of applications, particularly in industrial defect detection. To address the challenges of data collection, researchers have introduced zero-/few-shot anomaly detection techniques that require minimal normal images for each category. However, complex industrial scenarios often involve multiple objects, presenting a significant challenge. In light of this, we propose a straightforward yet powerful multi-scale memory comparison framework for zero-/few-shot anomaly detection. Our approach employs a global memory bank to capture features across the entire image, while an individual memory bank focuses on simplified scenes containing a single object. The efficacy of our method is validated by its remarkable achievement of 4th place in the zero-shot track and 2nd place in the few-shot track of the Visual Anomaly and Novelty Detection (VAND) competition.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The paper attempts to address the problem of zero-/few-shot anomaly detection in industrial defect detection, particularly in scenarios where there are few or no normal samples available. Specifically, the paper focuses on how to effectively detect and locate anomalies in complex industrial scenes, especially when images contain multiple objects. Existing methods perform well in detecting anomalies in single-object scenarios but are less effective in complex multi-object scenes. To overcome this challenge, the authors propose a framework based on multi-scale memory comparison, aiming to improve anomaly detection performance under zero-/few-shot conditions by combining a global memory bank and an individual memory bank. This approach not only captures the features of the entire image but also focuses on the features of individual objects, thereby achieving more accurate anomaly detection and localization in complex scenes.