SubspaceAD: Training-Free Few-Shot Anomaly Detection via Subspace Modeling
Not on the map. Why?
Abstract (arXiv)
Detecting visual anomalies in industrial inspection often requires training with only a few normal images per category. Recent few-shot methods achieve strong results employing foundation-model features, but typically rely on memory banks, auxiliary datasets, or multi-modal tuning of vision-language models. We therefore question whether such complexity is necessary given the feature representations of vision foundation models. To answer this question, we introduce SubspaceAD, a training-free method, that operates in two simple stages. First, patch-level features are extracted from a small set of normal images by a frozen DINOv2 backbone. Second, a Principal Component Analysis (PCA) model is fit to these features to estimate the low-dimensional subspace of normal variations. At inference, anomalies are detected via the reconstruction residual with respect to this subspace, producing interpretable and statistically grounded anomaly scores. Despite its simplicity, SubspaceAD achieves state-of-the-art performance across one-shot and few-shot settings without training, prompt tuning, or memory banks. In the one-shot anomaly detection setting, SubspaceAD achieves image-level and pixel-level AUROC of 97.1% and 97.5% on the MVTec-AD dataset, and 93.2% and 98.2% on the VisA dataset, respectively, surpassing prior state-of-the-art results. Code and demo are available at https://github.com/CLendering/SubspaceAD.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 29 of its 42 references that are in the map. First posted on arXiv 26 Feb 2026.
Builds on
29 of 42 references.
References · 29
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
- 2025DINOv3cited by 1,297
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
17 more
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 270
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
- 2023Multimodal Foundation Models: From Specialists to General-Purpose Assistantscited by 247
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
- 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 128
- 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 126
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 103
- 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 97
- 2023Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcorecited by 75
- 2024AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detection with DINOv2cited by 53
- 2024MuSc: Zero-Shot Industrial Anomaly Classification and Segmentation with Mutual Scoring of the Unlabeled Imagescited by 52
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2024Customizing Visual-Language Foundation Models for Multi-modal Anomaly Detection and Reasoningcited by 19
- 2023Optimizing PatchCore for Few/many-shot Anomaly Detectioncited by 10
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026SPARC: Subspace Position-Aware Robust Few-Shot Calibration for Distribution-Shifted Industrial Anomaly Detectioncited by 1
- 2026AnomalyClaw: A Universal Visual Anomaly Detection Agent via Tool-Grounded Refutationcited by 0
- 2026Hyper-FSAD: Training-Free and Language-Free Few-Shot Anomaly Detection via Sparse Hyper Matchingcited by 0
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detectioncited by 0
- 2026ConceptADapt: Concept-guided Adaptive Feature Reconstruction with Dynamic Attention for Few-Shot Industrial Anomaly Detectioncited by 0
- 2026ShiftSplit-AD: Separating Domain Shift from Defects in Foundation-Feature Visual Anomaly Detectioncited by 0
- 2026How Many Categories Are Enough? Distribution-Free Certification Limits for Few-Shot Anomaly Thresholdscited by 0
- 2026How Many Categories Are Enough? Distribution-Free Certification Limits for Few-Shot Anomaly Thresholds23 Sep 2026
- 2026ShiftSplit-AD: Separating Domain Shift from Defects in Foundation-Feature Visual Anomaly Detection27 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
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detection3 Aug 2026
- 2026Hyper-FSAD: Training-Free and Language-Free Few-Shot Anomaly Detection via Sparse Hyper Matching11 May 2026
- 2026AnomalyClaw: A Universal Visual Anomaly Detection Agent via Tool-Grounded Refutation11 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026MMVIAD: Multi-view Multi-task Video Understanding for Industrial Anomaly Detection
- 2024FADE: Few-shot/zero-shot Anomaly Detection Engine using Large Vision-Language Model
- 2025Towards Training-free Anomaly Detection with Vision and Language Foundation Models
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer
- 2025Few-Shot Anomaly-Driven Generation for Anomaly Classification and Segmentation
- 2025Generate Aligned Anomaly: Region-Guided Few-Shot Anomaly Image-Mask Pair Synthesis for Industrial Inspection
- 2024AnomalySD: Few-Shot Multi-Class Anomaly Detection with Stable Diffusion Model
- 2024VMAD: Visual-enhanced Multimodal Large Language Model for Zero-Shot Anomaly Detection