ToCoAD: Two-Stage Contrastive Learning for Industrial Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Current unsupervised anomaly detection approaches perform well on public datasets but struggle with specific anomaly types due to the domain gap between pre-trained feature extractors and target-specific domains. To tackle this issue, this paper presents a two-stage training strategy, called ToCoAD. In the first stage, a discriminative network is trained by using synthetic anomalies in a self-supervised learning manner. This network is then utilized in the second stage to provide a negative feature guide, aiding in the training of the feature extractor through bootstrap contrastive learning. This approach enables the model to progressively learn the distribution of anomalies specific to industrial datasets, effectively enhancing its generalizability to various types of anomalies. Extensive experiments are conducted to demonstrate the effectiveness of our proposed two-stage training strategy, and our model produces competitive performance, achieving pixel-level AUROC scores of 98.21%, 98.43% and 97.70% on MVTec AD, VisA and BTAD respectively.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 47 of its 71 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
47 of 71 references.
References · 47
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2016Wide Residual Networkscited by 3,057
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2015Variational Inference with Normalizing Flowscited by 2,161
- 2013Describing Textures in the Wildcited by 2,110
35 more
- 2020What Makes for Good Views for Contrastive Learning?cited by 843
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2018Deep Visual Domain Adaptation: A Surveycited by 634
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
- 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
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
- 2020Adversarial Self-Supervised Contrastive Learningcited by 138
- 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
- 2020Contrastive Learning with Adversarial Examplescited by 91
- 2021Inpainting Transformer for Anomaly Detectioncited by 91
- 2021Cross-domain Contrastive Learning for Unsupervised Domain Adaptationcited by 75
- 2023PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flowcited by 74
- 2022MemSeg: A semi-supervised method for image surface defect detection using differences and commonalitiescited by 68
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
- 2021Category Contrast for Unsupervised Domain Adaptation in Visual Taskscited by 65
- 2022How Does SimSiam Avoid Collapse Without Negative Samples? A Unified Understanding with Self-supervised Contrastive Learningcited by 65
- 2021Unpaired Deep Image Deraining Using Dual Contrastive Learningcited by 60
- 2022Divide and Contrast: Source-free Domain Adaptation via Adaptive Contrastive Learningcited by 53
- 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detectioncited by 46
- 2021Contrastive Domain Adaptationcited by 36
- 2021Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localizationcited by 32
- 2023Industrial Anomaly Detection with Domain Shift: A Real-world Dataset and Masked Multi-scale Reconstructioncited by 22
- 2022FAPM: Fast Adaptive Patch Memory for Real-time Industrial Anomaly Detectioncited by 16
- 2022GrainSpace: A Large-scale Dataset for Fine-grained and Domain-adaptive Recognition of Cereal Grainscited by 9
- 2022Revisiting Pretraining for Semi-Supervised Learning in the Low-Label Regimecited by 5
- 2023A Dual-branch Self-supervised Representation Learning Framework for Tumour Segmentation in Whole Slide Imagescited by 5
Built on by
Citing papers per year: 2024: 2; 2025: 5.
7 papers.
- 2024MANTA: A Large-Scale Multi-View and Visual-Text Anomaly Detection Dataset for Tiny Objectscited by 26
- 2024Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detectioncited by 15
- 2025A Survey on Foundation-Model-Based Industrial Defect Detectioncited by 5
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
- 2025CL-ISR: A Contrastive Learning and Implicit Stance Reasoning Framework for Misleading Text Detection on Social Mediacited by 2
- 2025IAD-GPT: Advancing Visual Knowledge in Multimodal Large Language Model for Industrial Anomaly Detectioncited by 2
- 2025ADNet: A Large-Scale and Extensible Multi-Domain Benchmark for Anomaly Detection Across 380 Real-World Categoriescited by 2
- 2025ADNet: A Large-Scale and Extensible Multi-Domain Benchmark for Anomaly Detection Across 380 Real-World Categories25 Nov 2025
- 2025IAD-GPT: Advancing Visual Knowledge in Multimodal Large Language Model for Industrial Anomaly Detection16 Oct 2025
- 2025CL-ISR: A Contrastive Learning and Implicit Stance Reasoning Framework for Misleading Text Detection on Social Media5 Jun 2025
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defects6 Mar 2025
- 2025A Survey on Foundation-Model-Based Industrial Defect Detection26 Feb 2025
- 2024MANTA: A Large-Scale Multi-View and Visual-Text Anomaly Detection Dataset for Tiny Objects6 Dec 2024
- 2024Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection6 Dec 2024