VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localization

Pankaj Mishra, Riccardo Verk, Daniele Fornasier, Claudio Piciarelli, Gian Luca Foresti
4/20/2021
cs.CVcs.AIcs.LG
transformer-attention

Official code: pankajmishra000/VT-ADL (125 stars, Python, MIT, last commit 2025-10-15).

Abstract

We present a transformer-based image anomaly detection and localization network. Our proposed model is a combination of a reconstruction-based approach and patch embedding.

Show full abstract

The use of transformer networks helps to preserve the spatial information of the embedded patches, which are later processed by a Gaussian mixture density network to localize the anomalous areas. In addition, we also publish BTAD, a real-world industrial anomaly dataset. Our results are compared with other state-of-the-art algorithms using publicly available datasets like MNIST and MVTec.

View on arXivView PDF

Code Implementations(1)

MIT

A Vision Transformer Network for Image Anomaly Detection and Localization

12525PythonMay 19, 20211 years agoMIT

Similar Papers

Cite this paper

@article{mishra2021vtadl,
  title  = {VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localization},
  author = {Pankaj Mishra and Riccardo Verk and Daniele Fornasier and Claudio Piciarelli and Gian Luca Foresti},
  year   = {2021},
  eprint = {2104.10036},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.10036}
}

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

Discussion