Skip to main content
QUICK REVIEW

[Paper Review] Semi-supervised Anomaly Detection Using GANs for Visual Inspection in Noisy Training Data.

Masanari Kimura, Takashi Yanagihara|arXiv (Cornell University)|Jul 3, 2018
Anomaly Detection Techniques and ApplicationsComputer Science21 references10 citations
TL;DR

This paper proposes a semi-supervised anomaly detection method using GANs that improves accuracy in detecting pixel-level micro anomalies in high-resolution industrial images by distorting the generative model's distribution with existing abnormal data. The approach mitigates performance degradation caused by noisy normal training data, achieving high-precision detection on 1024×1024 images despite limited anomaly annotations.

ABSTRACT

The detection and the quantification of anomalies in image data are critical tasks in industrial scenes such as detecting micro scratches on product. In recent years, due to the difficulty of defining anomalies and the limit of correcting their labels, research on unsupervised anomaly detection using generative models has attracted attention. Generally, in those studies, only normal images are used for training to model the distribution of normal images. The model measures the anomalies in the target images by reproducing the most similar images and scoring image patches indicating their fit to the learned distribution. This approach is based on a strong presumption; the trained model should not be able to generate abnormal images. However, in reality, the model can generate abnormal images mainly due to noisy normal data which include small abnormal pixels, and such noise severely affects the accuracy of the model. Therefore, we propose a novel semi-supervised method to distort the distribution of the model with existing abnormal images. The proposed method detects pixel-level micro anomalies with a high accuracy from 1024x1024 high resolution images which are actually used in an industrial scene. In this paper, we share experimental results on open datasets, due to the confidentiality of the data.

Motivation & Objective

  • Address the challenge of inaccurate anomaly detection in industrial visual inspection due to noisy normal training data containing small abnormal pixels.
  • Improve the robustness of GAN-based anomaly detection models by incorporating existing abnormal images during training to distort the learned normal distribution.
  • Enable precise pixel-level detection of micro-anomalies in high-resolution (1024×1024) images commonly used in industrial settings.
  • Reduce reliance on fully unsupervised training, which assumes perfect normal data, by introducing a semi-supervised framework that leverages limited abnormal examples.
  • Enhance model generalization and detection accuracy in real-world industrial scenarios where anomaly labels are scarce and normal data is imperfect.

Proposed method

  • Introduce a semi-supervised training strategy that uses both normal images and a small set of existing abnormal images to train a GAN-based anomaly detection model.
  • Distort the generative model’s learned distribution by exposing it to abnormal patches during training, reducing its tendency to generate anomalous samples.
  • Train a GAN to reconstruct normal image patches while penalizing reconstructions that align with abnormal patterns, improving discrimination at inference.
  • Use a reconstruction loss to measure the fit of input patches to the learned normal distribution, with anomaly scores derived from reconstruction error.
  • Apply the model to 1024×1024 images by processing them in patches and aggregating anomaly scores at the pixel level.
  • Leverage the discriminator’s feature representations to improve localization of micro-anomalies, especially in high-resolution settings.

Experimental results

Research questions

  • RQ1Can incorporating existing abnormal images during training improve the robustness of GAN-based anomaly detection models in the presence of noisy normal data?
  • RQ2To what extent does semi-supervised training reduce the model’s tendency to generate abnormal samples, even when normal data contains minor anomalies?
  • RQ3How effective is the proposed method in detecting pixel-level micro-anomalies in high-resolution (1024×1024) industrial images compared to fully unsupervised baselines?
  • RQ4Does the distortion of the model’s learned distribution via abnormal data improve detection accuracy without requiring extensive anomaly annotations?

Key findings

  • The proposed semi-supervised method significantly improves detection accuracy for micro-anomalies in high-resolution images compared to fully unsupervised GAN-based approaches.
  • By incorporating existing abnormal images during training, the model becomes less likely to generate anomalous samples, even when normal data contains small abnormal pixels.
  • The method achieves high-precision pixel-level anomaly localization in 1024×1024 images, suitable for real industrial inspection systems.
  • The model demonstrates improved robustness to noisy normal data, reducing false positives caused by minor anomalies in training images.
  • Experimental results on open datasets confirm the effectiveness of the semi-supervised strategy in enhancing detection performance with minimal anomaly annotations.

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.