Skip to main content
QUICK REVIEW

[Paper Review] Generalizable Industrial Visual Anomaly Detection with Self-Induction Vision Transformer

Haiming Yao, Yu, Wenyong|arXiv (Cornell University)|Nov 22, 2022
Anomaly Detection Techniques and ApplicationsComputer Science9 citations
TL;DR

This paper proposes a self-induction vision Transformer (SIVT) for generalizable, multi-category industrial visual anomaly detection. By leveraging pre-trained CNNs for local feature extraction and a novel self-induction mechanism in a vision Transformer to reconstruct features with auxiliary induction tokens, SIVT achieves state-of-the-art performance, improving AUROC by 2.8–6.3 and AP by 3.3–7.6 on Mvtec AD benchmarks.

ABSTRACT

Industrial vision anomaly detection plays a critical role in the advanced intelligent manufacturing process, while some limitations still need to be addressed under such a context. First, existing reconstruction-based methods struggle with the identity mapping of trivial shortcuts where the reconstruction error gap is legible between the normal and abnormal samples, leading to inferior detection capabilities. Then, the previous studies mainly concentrated on the convolutional neural network (CNN) models that capture the local semantics of objects and neglect the global context, also resulting in inferior performance. Moreover, existing studies follow the individual learning fashion where the detection models are only capable of one category of the product while the generalizable detection for multiple categories has not been explored. To tackle the above limitations, we proposed a self-induction vision Transformer(SIVT) for unsupervised generalizable multi-category industrial visual anomaly detection and localization. The proposed SIVT first extracts discriminatory features from pre-trained CNN as property descriptors. Then, the self-induction vision Transformer is proposed to reconstruct the extracted features in a self-supervisory fashion, where the auxiliary induction tokens are additionally introduced to induct the semantics of the original signal. Finally, the abnormal properties can be detected using the semantic feature residual difference. We experimented with the SIVT on existing Mvtec AD benchmarks, the results reveal that the proposed method can advance state-of-the-art detection performance with an improvement of 2.8-6.3 in AUROC, and 3.3-7.6 in AP.

Motivation & Objective

  • Address the limitations of reconstruction-based methods in industrial visual anomaly detection, particularly the identity mapping problem where normal and abnormal samples show minimal reconstruction error gap.
  • Overcome the local receptive field limitation of CNNs by integrating global context modeling through vision Transformers.
  • Enable generalizable anomaly detection across multiple product categories, moving beyond individual-category learning paradigms.
  • Develop a self-supervised reconstruction framework that improves feature reconstruction fidelity and anomaly localization accuracy.
  • Introduce a novel self-induction mechanism using auxiliary tokens to guide semantic reconstruction and prevent trivial shortcuts in feature reconstruction.

Proposed method

  • Employ a pre-trained CNN as a feature extraction backbone to generate high-semantic deep feature maps from input images.
  • Propose a self-induction vision Transformer (SIVT) that reconstructs extracted features using auxiliary induction tokens to model global semantics.
  • Decompose the auxiliary induction sequence into N disjoint subsets (N=4) to induce complementary semantics from feature patch subsets.
  • Use patch-based feature embedding with P=2 to reduce computational cost while maintaining reconstruction accuracy.
  • Train the model in a self-supervised manner using reconstruction loss on normal samples only, without requiring anomaly labels.
  • Detect anomalies by computing the semantic feature residual difference between original and reconstructed features.

Experimental results

Research questions

  • RQ1Can a hybrid CNN-Transformer framework improve generalization in multi-category industrial visual anomaly detection compared to category-specific models?
  • RQ2Does introducing auxiliary induction tokens in the vision Transformer effectively prevent trivial reconstruction shortcuts in anomaly detection?
  • RQ3How does the number of induction subsets (N) affect the performance and efficiency of the self-induction mechanism?
  • RQ4What is the optimal patch size (P) for feature embedding that balances reconstruction accuracy and computational efficiency?
  • RQ5To what extent does the self-induction mechanism improve AUROC and AP compared to vanilla Transformer-based reconstruction?

Key findings

  • The SIVT framework achieves state-of-the-art performance on the Mvtec AD benchmark, improving AUROC by 2.8–6.3 points and AP by 3.3–7.6 points over prior methods.
  • The self-induction mechanism significantly reduces reconstruction error for abnormal samples, improving image-level AUROC by 12.0 and pixel-level AUROC by 6.8 compared to a vanilla Transformer.
  • The self-induction mechanism improves image-level AP by 6.2 and pixel-level AP by 20.5 over the vanilla Transformer baseline.
  • Setting the number of induction subsets (N) to 4 achieves the best trade-off between performance and computational cost, as performance peaks at N=4 and declines for larger N.
  • A patch size (P) of 2 provides the optimal balance between reconstruction accuracy and efficiency, as performance drops sharply when P exceeds 4.
  • The SIVT model demonstrates superior generalization across multiple product categories, enabling cross-category anomaly detection without retraining per category.

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.