ISSTAD: Incremental Self-Supervised Learning Based on Transformer for Anomaly Detection and Localization

Wenping Jin, Fei Guo, Li Zhu
3/30/2023
9 citations
cs.CVcs.LG
transformer-attentioncontrastive-ssl

Official code: xjspin/ISSTAD (5 stars, Python, last commit 2025-08-20).

Abstract

In the realm of machine learning, the study of anomaly detection and localization within image data has gained substantial traction, particularly for practical applications such as industrial defect detection. While the majority of existing methods predominantly use Convolutional Neural Networks (CNN) as their primary network architecture, we introduce a novel approach based on the Transformer backbone network.

Show full abstract

Our method employs a two-stage incremental learning strategy. During the first stage, we train a Masked Autoencoder (MAE) model solely on normal images. In the subsequent stage, we apply pixel-level data augmentation techniques to generate corrupted normal images and their corresponding pixel labels. This process allows the model to learn how to repair corrupted regions and classify the status of each pixel. Ultimately, the model generates a pixel reconstruction error matrix and a pixel anomaly probability matrix. These matrices are then combined to produce an anomaly scoring matrix that effectively detects abnormal regions. When benchmarked against several state-of-the-art CNN-based methods, our approach exhibits superior performance on the MVTec AD dataset, achieving an impressive 97.6% AUC.

View on arXivView PDF

Code Implementations(1)

xjspin/ISSTADOfficial100%

ISSTAD: Incremental Self-Supervised Learning Based on Transformer for Anomaly Detection and Localization

51PythonNov 24, 20231 years ago

Similar Papers

Cite this paper

@article{jin2023isstad,
  title  = {ISSTAD: Incremental Self-Supervised Learning Based on Transformer for Anomaly Detection and Localization},
  author = {Wenping Jin and Fei Guo and Li Zhu},
  year   = {2023},
  eprint = {2303.17354},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.17354v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.17354.svg)](https://codeofpaper.com/paper/2303.17354)

Discussion