Advancing Metallic Surface Defect Detection via Anomaly-Guided Pretraining on a Large Industrial Dataset
Not on the map. Why?
Abstract (arXiv)
The pretraining-finetuning paradigm is a crucial strategy in metallic surface defect detection for mitigating the challenges posed by data scarcity. However, its implementation presents a critical dilemma. Pretraining on natural image datasets such as ImageNet, faces a significant domain gap. Meanwhile, naive self-supervised pretraining on in-domain industrial data is often ineffective due to the inability of existing learning objectives to distinguish subtle defect patterns from complex background noise and textures. To resolve this, we introduce Anomaly-Guided Self-Supervised Pretraining (AGSSP), a novel paradigm that explicitly guides representation learning through anomaly priors. AGSSP employs a two-stage framework: (1) it first pretrains the model's backbone by distilling knowledge from anomaly maps, encouraging the network to capture defect-salient features; (2) it then pretrains the detector using pseudo-defect boxes derived from these maps, aligning it with localization tasks. To enable this, we develop a knowledge-enhanced method to generate high-quality anomaly maps and collect a large-scale industrial dataset of 120,000 images. Additionally, we present two small-scale, pixel-level labeled metallic surface defect datasets for validation. Extensive experiments demonstrate that AGSSP consistently enhances performance across various settings, achieving up to a 10% improvement in [email protected] and 11.4% in [email protected]:0.95 compared to ImageNet-based models. All code, pretrained models, and datasets are publicly available at https://clovermini.github.io/AGSSP-Dev/.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 66 references that are in the map. First posted on arXiv 23 Sep 2025.
Builds on
39 of 66 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2023Segment Anythingcited by 8,234
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Wide Residual Networkscited by 3,070
- 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,630
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
27 more
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691
- 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 533
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
- 2025YOLOv12: Attention-Centric Real-Time Object Detectorscited by 305
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
- 2022A Unified Model for Multi-class Anomaly Detectioncited by 268
- 2020Scaled-YOLOv4: Scaling Cross Stage Partial Networkcited by 211
- 2023APRIL-GAN: A Zero-/Few-Shot Anomaly Classification and Segmentation Method for CVPR 2023 VAND Workshop Challenge Tracks 1&2: 1st Place on Zero-shot AD and 4th Place on Few-shot ADcited by 130
- 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 127
- 2024MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detectioncited by 113
- 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-trainingcited by 96
- 2023Designing BERT for Convolutional Networks: Sparse and Hierarchical Masked Modelingcited by 94
- 2025AA-CLIP: Enhancing Zero-shot Anomaly Detection via Anomaly-Aware CLIPcited by 73
- 2020Comparing to Learn: Surpassing ImageNet Pretraining on Radiographs By Comparing Image Representationscited by 69
- 2025Exploring Intrinsic Normal Prototypes within a Single Image for Universal Anomaly Detectioncited by 48
- 2023AlignDet: Aligning Pre-training and Fine-tuning in Object Detectioncited by 14
- 2025DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspectioncited by 13
- 2023A Discrepancy Aware Framework for Robust Anomaly Detectioncited by 9
- 2024MutDet: Mutually Optimizing Pre-training for Remote Sensing Object Detectioncited by 5
- 2024Defect Image Sample Generation With Diffusion Prior for Steel Surface Defect Recognitioncited by 4
- 2023Proposal-Contrastive Pretraining for Object Detection from Fewer Datacited by 3
- 2025Omni-AD: Learning to Reconstruct Global and Local Features for Multi-class Anomaly Detectioncited by 2
- 2024A Large-scale Evaluation of Pretraining Paradigms for the Detection of Defects in Electroluminescence Solar Cell Imagescited by 1
Built on by
Not cited yet.