Attention Modules Improve Image-Level Anomaly Detection for Industrial Inspection: A DifferNet Case Study

André Luiz Buarque Vieira e Silva, Francisco Simões, Danny Kowerko, Tobias Schlosser, Felipe Battisti +1 more
11/5/2023
cs.CV

No official code found. Best implementation: andreluizbvs/InsPLAD (173 stars, last commit 2025-05-16).

Abstract

Within (semi-)automated visual industrial inspection, learning-based approaches for assessing visual defects, including deep neural networks, enable the processing of otherwise small defect patterns in pixel size on high-resolution imagery. The emergence of these often rarely occurring defect patterns explains the general need for labeled data corpora. To alleviate this issue and advance the current state of the art in unsupervised visual inspection, this work proposes a DifferNet-based solution enhanced with attention modules: AttentDifferNet. It improves image-level detection and classification capabilities on three visual anomaly detection datasets for industrial inspection: InsPLAD-fault, MVTec AD, and Semiconductor Wafer. In comparison to the state of the art, AttentDifferNet achieves improved results, which are, in turn, highlighted throughout our quali-quantitative study. Our quantitative evaluation shows an average improvement - compared to DifferNet - of 1.77 +/- 0.25 percentage points in overall AUROC considering all three datasets, reaching SOTA results in InsPLAD-fault, an industrial inspection in-the-wild dataset. As our variants to AttentDifferNet show great prospects in the context of currently investigated approaches, a baseline is formulated, emphasizing the importance of attention for industrial anomaly detection both in the wild and in controlled environments.

View on arXivView PDF

Code Implementations(1)

Inspection of Power Line Assets Dataset (InsPLAD)

17311Feb 25, 20231 years agoNOASSERTION
aianomaly-detectioncomputer-visiondatasetdeep-learning+15 more

Similar Papers

Cite this paper

@article{silva2023attention,
  title  = {Attention Modules Improve Image-Level Anomaly Detection for Industrial Inspection: A DifferNet Case Study},
  author = {André Luiz Buarque Vieira e Silva and Francisco Simões and Danny Kowerko and Tobias Schlosser and Felipe Battisti and Veronica Teichrieb},
  year   = {2023},
  eprint = {2311.02747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.02747v2}
}

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/2311.02747.svg)](https://codeofpaper.com/paper/2311.02747)

Discussion