Exploring Few-Shot Defect Segmentation in General Industrial Scenarios with Metric Learning and Vision Foundation Models
Not on the map. Why?
Abstract (arXiv)
Industrial defect segmentation is critical for manufacturing quality control. Due to the scarcity of training defect samples, few-shot semantic segmentation (FSS) holds significant value in this field. However, existing studies mostly apply FSS to tackle defects on simple textures, without considering more diverse scenarios. This paper aims to address this gap by exploring FSS in broader industrial products with various defect types. To this end, we contribute a new real-world dataset and reorganize some existing datasets to build a more comprehensive few-shot defect segmentation (FDS) benchmark. On this benchmark, we thoroughly investigate metric learning-based FSS methods, including those based on meta-learning and those based on Vision Foundation Models (VFMs). We observe that existing meta-learning-based methods are generally not well-suited for this task, while VFMs hold great potential. We further systematically study the applicability of various VFMs in this task, involving two paradigms: feature matching and the use of Segment Anything (SAM) models. We propose a novel efficient FDS method based on feature matching. Meanwhile, we find that SAM2 is particularly effective for addressing FDS through its video track mode. The contributed dataset and code will be available at: https://github.com/liutongkun/GFDS.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 51 of its 81 references that are in the map. First posted on arXiv 3 Feb 2025.
Builds on
51 of 81 references.
References · 51
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023Segment Anythingcited by 8,158
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
- 2020Knowledge Distillation: A Surveycited by 1,578
38 more
- 2020Meta-Learning in Neural Networks: A Surveycited by 944
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2023Fast Segment Anythingcited by 286
- 2018DeepGlobe 2018: A Challenge to Parse the Earth through Satellite Imagescited by 276
- 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 271
- 2022A Unified Model for Multi-class Anomaly Detectioncited by 267
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
- 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
- 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 187
- 2021The MVTec 3D-AD Dataset for Unsupervised 3D Anomaly Detection and Localizationcited by 174
- 2019FSS-1000: A 1000-Class Dataset for Few-Shot Segmentationcited by 160
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
- 2024Medical SAM 2: Segment medical images as video via Segment Anything Model 2cited by 151
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
- 2019Segmentation-Based Deep-Learning Approach for Surface-Defect Detectioncited by 145
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
- 2020Few-Shot Segmentation Without Meta-Learning: A Good Transductive Inference Is All You Need?cited by 135
- 2022Learning What Not to Segment: A New Perspective on Few-Shot Segmentationcited by 120
- 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
- 2022Self-Support Few-Shot Semantic Segmentationcited by 96
- 2021Defect-GAN: High-Fidelity Defect Synthesis for Automated Defect Inspectioncited by 77
- 2023One-for-All: Bridge the Gap Between Heterogeneous Architectures in Knowledge Distillationcited by 77
- 2024ClipSAM: CLIP and SAM Collaboration for Zero-Shot Anomaly Segmentationcited by 49
- 2022Cross-Architecture Knowledge Distillationcited by 40
- 2023Towards Generic Anomaly Detection and Understanding: Large-scale Visual-linguistic Model (GPT-4V) Takes the Leadcited by 40
- 2019Differentiable Meta-learning Model for Few-shot Semantic Segmentationcited by 31
- 2019Revisiting Fine-tuning for Few-shot Learningcited by 29
- 2024Adapt Before Comparison: A New Perspective on Cross-Domain Few-Shot Segmentationcited by 22
- 2024Retrieval-augmented Few-shot Medical Image Segmentation with Foundation Modelscited by 20
- 2024Prior Normality Prompt Transformer for Multi-class Industrial Image Anomaly Detectioncited by 19
- 2022Visual Semantic Segmentation Based on Few/Zero-Shot Learning: An Overviewcited by 16
- 2024Few-shot Defect Image Generation based on Consistency Modelingcited by 8
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025MUSE: Model-based Uncertainty-aware Similarity Estimation for zero-shot 2D Object Detection and Segmentationcited by 3
- 2025AuralSAM2: Enabling SAM2 Hear Through Pyramid Audio-Visual Feature Promptingcited by 2
- 2026UniSpector: Towards Universal Open-set Defect Recognition via Spectral-Contrastive Visual Promptingcited by 0
- 2026Rethinking Transfer Learning for Industrial Inspection: DINOv3 vs. ImageNet Pretraining Across RGB and X-ray Taskscited by 0
- 2026Rethinking Transfer Learning for Industrial Inspection: DINOv3 vs. ImageNet Pretraining Across RGB and X-ray Tasks22 May 2026
- 2026UniSpector: Towards Universal Open-set Defect Recognition via Spectral-Contrastive Visual Prompting3 Apr 2026
- 2025MUSE: Model-based Uncertainty-aware Similarity Estimation for zero-shot 2D Object Detection and Segmentation15 Oct 2025
- 2025AuralSAM2: Enabling SAM2 Hear Through Pyramid Audio-Visual Feature Prompting1 Jun 2025