mlsanityData to 14 Oct 2026

Self-Supervised Training with Autoencoders for Visual Anomaly Detection

arXiv 2206.11723 ↗First posted 23 Jun 2022cs.CV cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

We focus on a specific use case in anomaly detection where the distribution of normal samples is supported by a lower-dimensional manifold. Here, regularized autoencoders provide a popular approach by learning the identity mapping on the set of normal examples, while trying to prevent good reconstruction on points outside of the manifold. Typically, this goal is implemented by controlling the capacity of the model, either directly by reducing the size of the bottleneck layer or implicitly by imposing some sparsity (or contraction) constraints on parts of the corresponding network. However, neither of these techniques does explicitly penalize the reconstruction of anomalous signals often resulting in poor detection. We tackle this problem by adapting a self-supervised learning regime that exploits discriminative information during training but focuses on the submanifold of normal examples. Informally, our training objective regularizes the model to produce locally consistent reconstructions, while replacing irregularities by acting as a filter that removes anomalous patterns. To support this intuition, we perform a rigorous formal analysis of the proposed method and provide a number of interesting insights. In particular, we show that the resulting model resembles a non-linear orthogonal projection of partially corrupted images onto the submanifold of uncorrupted samples. On the other hand, we identify the orthogonal projection as an optimal solution for a number of regularized autoencoders including the contractive and denoising variants. We support our theoretical analysis by empirical evaluation of the resulting detection and localization performance of the proposed method. In particular, we achieve a new state-of-the-art result on the MVTec AD dataset -- a challenging benchmark for visual anomaly detection in the manufacturing domain.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 49 of its 114 references that are in the map. First posted on arXiv 23 Jun 2022.

Builds on

49 of 114 references.

References · 49

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  3. 2013Describing Textures in the Wildcited by 2,125
  4. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
  5. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
  6. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  7. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
  8. 2018Generative Image Inpainting with Contextual Attentioncited by 580
  9. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  10. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
  11. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
  12. 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
37 more
  1. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  2. 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 425
  3. 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 421
  4. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  5. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
  6. 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
  7. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  8. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  9. 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 264
  10. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
  11. 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
  12. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  13. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  14. 2020Explainable Deep One-Class Classificationcited by 127
  15. 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
  16. 2019Towards Visually Explaining Variational Autoencoderscited by 113
  17. 2021Inpainting Transformer for Anomaly Detectioncited by 91
  18. 2018Unsupervised Detection of Lesions in Brain MRI using constrained adversarial auto-encoderscited by 83
  19. 2019Unsupervised Anomaly Localization using Variational Auto-Encoderscited by 73
  20. 2022MemSeg: A semi-supervised method for image surface defect detection using differences and commonalitiescited by 68
  21. 2020Iterative energy-based projection on a normal data manifold for anomaly localizationcited by 47
  22. 2021Detecting Outliers with Poisson Image Interpolationcited by 44
  23. 2022Self-Supervised Masking for Unsupervised Anomaly Detection and Localizationcited by 43
  24. 2020Improved anomaly detection by training an autoencoder with skip connections on images corrupted with Stain-shaped noisecited by 39
  25. 2019From Clustering to Cluster Explanations via Neural Networkscited by 34
  26. 2021Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localizationcited by 32
  27. 2022AnoViT: Unsupervised Anomaly Detection and Localization with Vision Transformer-based Encoder-Decodercited by 29
  28. 2018Anomaly Detection using Deep Learning based Image Completioncited by 27
  29. 2017Robust, Deep and Inductive Anomaly Detectioncited by 24
  30. 2018Towards Explaining Anomalies: A Deep Taylor Decomposition of One-Class Modelscited by 24
  31. 2021AnoSeg: Anomaly Segmentation Network Using Self-Supervised Learningcited by 21
  32. 2021Anomaly Detection via Self-organizing Mapcited by 18
  33. 2020Simple and Effective Prevention of Mode Collapse in Deep One-Class Classificationcited by 17
  34. 2019SDC - Stacked Dilated Convolution: A Unified Descriptor Network for Dense Matching Taskscited by 13
  35. 2021PEDENet: Image Anomaly Localization via Patch Embedding and Density Estimationcited by 11
  36. 2018Detecting Anomalous Faces with 'No Peeking' Autoencoderscited by 5
  37. 2017Partial Optimality of Dual Decomposition for MAP Inference in Pairwise MRFscited by 4

Built on by

Cited by year

Citing papers per year: 2023: 3.

3 papers.