ADPretrain: Advancing Industrial Anomaly Detection via Anomaly Representation Pretraining
Not on the map. Why?
Abstract (arXiv)
The current mainstream and state-of-the-art anomaly detection (AD) methods are substantially established on pretrained feature networks yielded by ImageNet pretraining. However, regardless of supervised or self-supervised pretraining, the pretraining process on ImageNet does not match the goal of anomaly detection (i.e., pretraining in natural images doesn't aim to distinguish between normal and abnormal). Moreover, natural images and industrial image data in AD scenarios typically have the distribution shift. The two issues can cause ImageNet-pretrained features to be suboptimal for AD tasks. To further promote the development of the AD field, pretrained representations specially for AD tasks are eager and very valuable. To this end, we propose a novel AD representation learning framework specially designed for learning robust and discriminative pretrained representations for industrial anomaly detection. Specifically, closely surrounding the goal of anomaly detection (i.e., focus on discrepancies between normals and anomalies), we propose angle- and norm-oriented contrastive losses to maximize the angle size and norm difference between normal and abnormal features simultaneously. To avoid the distribution shift from natural images to AD images, our pretraining is performed on a large-scale AD dataset, RealIAD. To further alleviate the potential shift between pretraining data and downstream AD datasets, we learn the pretrained AD representations based on the class-generalizable representation, residual features. For evaluation, based on five embedding-based AD methods, we simply replace their original features with our pretrained representations. Extensive experiments on five AD datasets and five backbones consistently show the superiority of our pretrained features. The code is available at https://github.com/xcyao00/ADPretrain.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 47 of its 57 references that are in the map. First posted on arXiv 7 Nov 2025.
Builds on
47 of 57 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,162
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
35 more
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
- 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
- 2022A Unified Model for Multi-class Anomaly Detectioncited by 267
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
- 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
- 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2021The MVTec 3D-AD Dataset for Unsupervised 3D Anomaly Detection and Localizationcited by 174
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
- 2024Real-IAD: A Real-World Multi-View Dataset for Benchmarking Versatile Industrial Anomaly Detectioncited by 138
- 2020Explainable Deep One-Class Classificationcited by 126
- 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 103
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 88
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 87
- 2018Learning Deep Features for One-Class Classificationcited by 76
- 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
- 2024SoftPatch: Unsupervised Anomaly Detection with Noisy Datacited by 55
- 2020DFR: Deep Feature Reconstruction for Unsupervised Anomaly Segmentationcited by 53
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2023DiAD: A Diffusion-based Framework for Multi-class Anomaly Detectioncited by 33
- 2021Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localizationcited by 32
- 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 24
- 2023Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrievalcited by 22
- 2024Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detectioncited by 19
- 2024Kernel-Aware Graph Prompt Learning for Few-Shot Anomaly Detectioncited by 15
- 2021Transfer Learning Gaussian Anomaly Detection by Fine-tuning Representationscited by 10
Built on by
Citing papers per year: 2026: 1.
1 paper.