DRÆM - A discriminatively trained reconstruction embedding for surface anomaly detection
Vitjan Zavrtanik, Matej Kristan, Danijel Skocaj
Abstract
Visual surface anomaly detection aims to detect local image regions that significantly deviate from normal appearance. Recent surface anomaly detection methods rely on generative models to accurately reconstruct the normal areas and to fail on anomalies. These methods are trained only on anomaly-free images, and often require hand-crafted post-processing steps to localize the anomalies, which prohibits optimizing the feature extraction for maximal detection capability. In addition to reconstructive approach, we cast surface anomaly detection primarily as a discriminative problem and propose a discriminatively trained reconstruction anomaly embedding model (DRÆM). The proposed method learns a joint representation of an anomalous image and its anomaly-free reconstruction, while simultaneously learning a decision boundary between normal and anomalous examples. The method enables direct anomaly localization without the need for additional complicated post-processing of the network output and can be trained using simple and general anomaly simulations. On the challenging MVTec anomaly detection dataset, DRÆM outperforms the current state-of-the-art unsupervised methods by a large margin and even de-livers detection performance close to the fully-supervised methods on the widely used DAGM surface-defect detection dataset, while substantially outperforming them in localization accuracy. Code at github.com/VitjanZ/DRAEM.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6561b92e-65fb-4776-a6ec-926fc2d15240Cited by top-tier papers4
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data ContaminationSukanya Patra, Souhaib Ben TaiebNeurIPS 2025 · 4 citations
- AnomalyVFM - Transforming Vision Foundation Models into Zero-Shot Anomaly DetectorsMatic Fucka, Vitjan Zavrtanik, Danijel SkocajCVPR 2026 · 4 citations
- Taming Anomalies with Down-Up Sampling Networks: Group Center Preserving Reconstruction for 3D Anomaly DetectionHanzhe Liang, Jie Zhang, Tao Dai, Linlin Shen et al.ACM MM 2025 · 3 citations
- Anomaly Detection of Integrated Circuits Package Substrates Using the Large Vision Model SAIC: Dataset Construction, Methodology, and ApplicationRuiyun Yu, Bingyang Guo, Haoyuan LiICCV 2025 · 2 citations
Builds on3
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
- Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent EmbeddingsPaul Bergmann, Michael Fauser, David Sattlegger, Carsten StegerCVPR 2020
- Towards Visually Explaining Variational AutoencodersWenQian Liu, Runze Li, Meng Zheng, Srikrishna Karanam et al.CVPR 2020
Related papers
- Unsupervised Surface Anomaly Detection with Diffusion Probabilistic ModelXinyi Zhang, Naiqi Li, Jiawei Li, Tao Dai et al.ICCV 2023 · 112 citations
- Removing Anomalies as Noises for Industrial Defect LocalizationFanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya JiaICCV 2023 · 53 citations
- Divide-and-Assemble: Learning Block-wise Memory for Unsupervised Anomaly DetectionJinlei Hou, Yingying Zhang, Qiaoyong Zhong, Di Xie et al.ICCV 2021 · 199 citations
- Shape-Guided Dual-Memory Learning for 3D Anomaly DetectionYu-Min Chu, Chieh Liu, Ting-I Hsieh, Hwann-Tzong Chen et al.ICML 2023 · 80 citations
- A Unified Latent Schrodinger Bridge Diffusion Model for Unsupervised Anomaly Detection and LocalizationShilhora Akshay, Niveditha Lakshmi Narasimhan, Jacob George, Vineeth N. BalasubramanianCVPR 2025
