Prototypical Learning Guided Context-Aware Segmentation Network for Few-Shot Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Few-shot anomaly detection (FSAD) denotes the identification of anomalies within a target category with a limited number of normal samples. Existing FSAD methods largely rely on pre-trained feature representations to detect anomalies, but the inherent domain gap between pre-trained representations and target FSAD scenarios is often overlooked. This study proposes a Prototypical Learning Guided Context-Aware Segmentation Network (PCSNet) to address the domain gap, thereby improving feature descriptiveness in target scenarios and enhancing FSAD performance. In particular, PCSNet comprises a prototypical feature adaption (PFA) sub-network and a context-aware segmentation (CAS) sub-network. PFA extracts prototypical features as guidance to ensure better feature compactness for normal data while distinct separation from anomalies. A pixel-level disparity classification loss is also designed to make subtle anomalies more distinguishable. Then a CAS sub-network is introduced for pixel-level anomaly localization, where pseudo anomalies are exploited to facilitate the training process. Experimental results on MVTec and MPDD demonstrate the superior FSAD performance of PCSNet, with 94.9% and 80.2% image-level AUROC in an 8-shot scenario, respectively. Real-world applications on automotive plastic part inspection further demonstrate that PCSNet can achieve promising results with limited training samples. Code is available at https://github.com/yuxin-jiang/PCSNet.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 30 of its 53 references that are in the map. First posted on arXiv 17 Dec 2025.
Builds on
30 of 53 references.
References · 30
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2016Wide Residual Networkscited by 3,057
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
- 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
- 2018An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solutioncited by 302
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
18 more
- 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
- 2021Student-Teacher Feature Pyramid Matching for Anomaly Detectioncited by 145
- 2022Rethinking Semantic Segmentation: A Prototype Viewcited by 140
- 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
- 2022Registration based Few-Shot Anomaly Detectioncited by 133
- 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
- 2023Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcorecited by 75
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
- 2023IM-IAD: Industrial Image Anomaly Detection Benchmark in Manufacturingcited by 64
- 2023ReContrast: Domain-Specific Anomaly Detection via Contrastive Reconstructioncited by 62
- 2021A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly Detectioncited by 60
- 2023Collaborative Discrepancy Optimization for Reliable Image Anomaly Localizationcited by 56
- 2020Detecting Outliers with Foreign Patch Interpolationcited by 44
- 2021Detecting Outliers with Poisson Image Interpolationcited by 44
- 2021Feature Encoding with AutoEncoders for Weakly-supervised Anomaly Detectioncited by 42
- 2024Few-Shot Anomaly Detection via Category-Agnostic Registration Learningcited by 6
- 2023Few-Shot Anomaly Detection with Adversarial Loss for Robust Feature Representationscited by 5
- 2024Bidirectional Multimodal Prompt Learning with Scale-Aware Training for Few-Shot Multi-Class Anomaly Detectioncited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.