FastRef:Fast Prototype Refinement for Few-Shot Industrial Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Few-shot industrial anomaly detection (FS-IAD) presents a critical challenge for practical automated inspection systems operating in data-scarce environments. While existing approaches predominantly focus on deriving prototypes from limited normal samples, they typically neglect to systematically incorporate query image statistics to enhance prototype representativeness. To address this issue, we propose FastRef, a novel and efficient prototype refinement framework for FS-IAD. Our method operates through an iterative two-stage process: (1) characteristic transfer from query features to prototypes via an optimizable transformation matrix, and (2) anomaly suppression through prototype alignment. The characteristic transfer is achieved through linear reconstruction of query features from prototypes, while the anomaly suppression addresses a key observation in FS-IAD that unlike conventional IAD with abundant normal prototypes, the limited-sample setting makes anomaly reconstruction more probable. Therefore, we employ optimal transport (OT) for non-Gaussian sampled features to measure and minimize the gap between prototypes and their refined counterparts for anomaly suppression. For comprehensive evaluation, we integrate FastRef with three competitive prototype-based FS-IAD methods: PatchCore, FastRecon, WinCLIP, and AnomalyDINO. Extensive experiments across four benchmark datasets of MVTec, ViSA, MPDD and RealIAD demonstrate both the effectiveness and computational efficiency of our approach under 1/2/4-shots.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 28 of its 42 references that are in the map. First posted on arXiv 26 Jun 2025.
Builds on
28 of 42 references.
References · 28
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2017Mask R-CNNcited by 7,277
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2016Wide Residual Networkscited by 3,070
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2014Convex Optimization: Algorithms and Complexitycited by 575
16 more
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
- 2022A Unified Model for Multi-class Anomaly Detectioncited by 268
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2023AnomalyGPT: Detecting Industrial Anomalies Using Large Vision-Language Modelscited by 171
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 148
- 2024Real-IAD: A Real-World Multi-View Dataset for Benchmarking Versatile Industrial Anomaly Detectioncited by 139
- 2022Registration based Few-Shot Anomaly Detectioncited by 133
- 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 98
- 2023Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcorecited by 75
- 2023Hierarchical Vector Quantized Transformer for Multi-class Unsupervised Anomaly Detectioncited by 66
- 2024AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detection with DINOv2cited by 53
- 2023DiAD: A Diffusion-based Framework for Multi-class Anomaly Detectioncited by 33
- 2023Optimizing PatchCore for Few/many-shot Anomaly Detectioncited by 10
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2026SPARC: Subspace Position-Aware Robust Few-Shot Calibration for Distribution-Shifted Industrial Anomaly Detectioncited by 1
- 2025Learning local and global prototypes with optimal transport for unsupervised anomaly detection and localizationcited by 0
- 2026GATE-AD: Graph Attention Network Encoding For Few-Shot Industrial Visual Anomaly Detectioncited by 0
- 2026Dual Prototype-Conditioned Diffusion Model for Scalable Multi-Class Unsupervised Anomaly Detection in Large Category Spacescited by 0
- 2026ConceptADapt: Concept-guided Adaptive Feature Reconstruction with Dynamic Attention for Few-Shot Industrial Anomaly Detectioncited by 0
- 2026Multi-Modal Anomaly Detection: A Surveycited by 0
- 2026Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detectioncited by 0
- 2026Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detection4 Oct 2026
- 2026Multi-Modal Anomaly Detection: A Survey24 Aug 2026
- 2026SPARC: Subspace Position-Aware Robust Few-Shot Calibration for Distribution-Shifted Industrial Anomaly Detection19 Aug 2026
- 2026ConceptADapt: Concept-guided Adaptive Feature Reconstruction with Dynamic Attention for Few-Shot Industrial Anomaly Detection6 Aug 2026
- 2026Dual Prototype-Conditioned Diffusion Model for Scalable Multi-Class Unsupervised Anomaly Detection in Large Category Spaces23 May 2026
- 2026GATE-AD: Graph Attention Network Encoding For Few-Shot Industrial Visual Anomaly Detection16 Mar 2026
- 2025Learning local and global prototypes with optimal transport for unsupervised anomaly detection and localization18 Aug 2025