Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcore

Guoyang Xie,Jinbao Wang,Jiaqi Liu,Feng Zheng,Yaochu Jin
2023-10-12
Abstract:In the area of fewshot anomaly detection (FSAD), efficient visual feature plays an essential role in memory bank M-based methods. However, these methods do not account for the relationship between the visual feature and its rotated visual feature, drastically limiting the anomaly detection performance. To push the limits, we reveal that rotation-invariant feature property has a significant impact in industrial-based FSAD. Specifically, we utilize graph representation in FSAD and provide a novel visual isometric invariant feature (VIIF) as anomaly measurement feature. As a result, VIIF can robustly improve the anomaly discriminating ability and can further reduce the size of redundant features stored in M by a large amount. Besides, we provide a novel model GraphCore via VIIFs that can fast implement unsupervised FSAD training and can improve the performance of anomaly detection. A comprehensive evaluation is provided for comparing GraphCore and other SOTA anomaly detection models under our proposed fewshot anomaly detection setting, which shows GraphCore can increase average AUC by 5.8%, 4.1%, 3.4%, and 1.6% on MVTec AD and by 25.5%, 22.0%, 16.9%, and 14.1% on MPDD for 1, 2, 4, and 8-shot cases, respectively.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The paper primarily addresses the issue of few-shot anomaly detection in industrial visual inspection under the scenario of rapid production line changeover. Specifically, the study proposes a new method to achieve quick training with a small number of normal samples and ensure the accuracy of anomaly detection, targeting the problem of poor anomaly detection performance caused by incomplete equipment tuning in the early stages of production line changeover. The key contributions of the paper include: 1. Revealing that rotation-invariant feature properties have a significant impact on industrial-based few-shot anomaly detection; 2. Proposing a method that uses graph representation and novel Visual Isometric Invariant Features (VIIF) as anomaly measurement features to enhance anomaly discrimination capability and significantly reduce redundant features stored in the memory bank; 3. Developing a new model named GraphCore, which achieves unsupervised few-shot anomaly detection training through VIIF and improves anomaly detection performance. The proposed GraphCore method demonstrates significant advantages over existing technologies across multiple datasets, especially under different sample size conditions (1-shot, 2-shot, 4-shot, and 8-shot), with average AUC improvements of 5.8%, 4.1%, 3.4%, and 1.6% (MVTec AD dataset) and 25.5%, 22.0%, 16.9%, and 14.1% (MPDD dataset), respectively. Additionally, experimental results show that GraphCore outperforms existing baseline methods at both image-level and pixel-level performance.