Skip to main content
QUICK REVIEW

[Paper Review] Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcore

Guoyang Xie, Jingbao Wang|arXiv (Cornell University)|Jan 28, 2023
Anomaly Detection Techniques and ApplicationsComputer Science25 citations
TL;DR

GraphCore introduces Vision Isometric Invariant Features (VIIF) via a graph neural network to enable fast, few-shot anomaly detection in industrial vision, outperforming state-of-the-art methods on MVTec AD and MPDD with only 1–8 normal-shot examples.

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.

Motivation & Objective

  • Motivate industrial anomaly detection under cold-start/changeover scenarios with limited normal data.
  • Investigate rotation- and isometry-invariant visual representations to reduce redundant memory and improve detection.
  • Develop a graph-based anomaly detector (GraphCore) that uses VIIFs to enhance memory-bank based FSAD.
  • Demonstrate that VIIFs enable faster, more accurate unsupervised FSAD training and inference in industrial settings.

Proposed method

  • Propose VIIFs as anomaly measurement features that are rotation/invariance-aware for FSAD.
  • Represent images as graphs of patch features, with K nearest-neighbor edges, and process via a Vision GNN (GCN with max-relative aggregation).
  • Construct a memory bank with core-set sampling to store neighborhood-aware features from normal patches.
  • Integrate VIIF-based graph features into a memory-bank paradigm (GraphCore) to enable fast, unsupervised FSAD training.
  • Compare GraphCore and Augmentation+PatchCore against SOTA anomaly detectors on MVTec AD and MPDD across 1–8 shots.
Figure 1: Different from (a) vanilla unsupervised AD and (b) few-shot unsupervised AD in meta learning. As input training samples, our setting (c) only utilizes a small number of normal samples. For our setting (c), there is no requirement to aggregate training categories in advance. The proposed mo
Figure 1: Different from (a) vanilla unsupervised AD and (b) few-shot unsupervised AD in meta learning. As input training samples, our setting (c) only utilizes a small number of normal samples. For our setting (c), there is no requirement to aggregate training categories in advance. The proposed mo

Experimental results

Research questions

  • RQ1Does incorporating rotation- and isometry-invariant VIIFs improve few-shot industrial anomaly detection over CNN-based features?
  • RQ2Can graph-based representations reduce memory redundancy and speed up inference in memory-bank FSAD frameworks?
  • RQ3How do GraphCore and VIIFs perform under cold-start changeover scenarios across standard industrial datasets?
  • RQ4What is the impact of different sampling rates and neighborhood sizes on FSAD performance with GraphCore?

Key findings

  • GraphCore achieves higher average AUC than SOTA models 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.
  • Aug.(R) (rotation-based augmentation) outperforms vanilla PatchCore, and GraphCore consistently surpasses Aug.(R) across few-shot settings.
  • On MVTec AD, GraphCore outperforms all baselines in 12 of 15 image-level categories and 11 of 15 pixel-level categories (2-shot).
  • On MPDD, GraphCore outperforms all baselines in 5 of 6 image-level categories and all categories at the pixel level (2-shot).
  • Ablation analyses show performance gains with increased sampling rate up to a point and demonstrate the benefit of using larger numbers of nearest neighbors especially at low sampling rates.
Figure 2: Augmentation+PatchCore Architecture.
Figure 2: Augmentation+PatchCore Architecture.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.