FastRecon: Few-shot Industrial Anomaly Detection via Fast Feature Reconstruction
Zheng Fang, Xiaoyang Wang, Haocheng Li, Jiejie Liu, Qiugui Hu, Jimin Xiao
Abstract
In industrial anomaly detection, data efficiency and the ability for fast migration across products become the main concerns when developing detection algorithms. Existing methods tend to be data-hungry and work in the one-model-one-category way, which hinders their effectiveness in real-world industrial scenarios. In this paper, we propose a few-shot anomaly detection strategy that works in a low-data regime and can generalize across products at no cost. Given a defective query sample, we propose to utilize a few normal samples as a reference to reconstruct its normal version, where the final anomaly detection can be achieved by sample alignment. Specifically, we introduce a novel regression with distribution regularization to obtain the optimal transformation from support to query features, which guarantees the reconstruction result shares visual similarity with the query sample and meanwhile maintains the property of normal samples. Experimental results show that our method significantly outperforms previous state-of-the-art at both image and pixel-level AUROC performances from 2 to 8-shot scenarios. Besides, with only a limited number of training samples (less than 8 samples), our method reaches competitive performance with vanilla AD methods which are trained with extensive normal samples. The code is available at https://github.com/FzJun26th/FastRecon.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c782a1cb-9f17-4b3e-9ae4-d4664681e5a5Cited by top-tier papers29
- ResAD: A Simple Framework for Class Generalizable Anomaly DetectionXincheng Yao, Zixin Chen, Chao Gao, Guangtao Zhai et al.NeurIPS 2024 · 42 citations
- Kernel-Aware Graph Prompt Learning for Few-Shot Anomaly DetectionFenfang Tao, Guo-Sen Xie, Fang Zhao, Xiangbo ShuAAAI 2025 · 24 citations
- AdaptCLIP: Adapting CLIP for Universal Visual Anomaly DetectionBin-Bin Gao, Yue Zhou, Jiangtao Yan, Yuezhi Cai et al.AAAI 2026 · 21 citations
- CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly DetectionXiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim et al.AAAI 2025 · 19 citations
- MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-LearningBin-Bin GaoNeurIPS 2024 · 18 citations
Builds on5
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly DetectionShelly Sheynin, Sagie Benaim, Lior WolfICCV 2021 · 106 citations
- Learning Unsupervised Metaformer for Anomaly DetectionJhih-Ciang Wu, Ding-Jie Chen, Chiou-Shann Fuh, Tyng-Luh LiuICCV 2021 · 101 citations
- Multiresolution Knowledge Distillation for Anomaly DetectionMohammadreza Salehi, Niousha Sadjadi, Soroosh Baselizadeh, Mohammad H. Rohban et al.CVPR 2021
- Few-Shot Classification With Feature Map Reconstruction NetworksDavis Wertheimer, Luming Tang, Bharath HariharanCVPR 2021
Related papers
- FastRef: Fast Prototype Refinement for Few-shot Industrial Anomaly DetectionYufei Li, Long Tian, Yuyang Dai, Wenchao Chen et al.CVPR 2026 · 7 citations
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly DetectorsGuangyao Zhai, Yue Zhou, Xinyan Deng, Lars Heckler-Kram et al.ICLR 2026 · 9 citations
- FOCT: Few-shot Industrial Anomaly Detection with Foreground-aware Online Conditional TransportLong Tian, Hongyi Zhao, Ruiying Lu, Rongrong Wang et al.ACM MM 2024 · 6 citations
- Defect Cue-Preserved Structural Feature Refinement for Few-Shot Anomaly DetectionLe Jiang, Yan Huang, Zhen Xu, Yong Xu et al.CVPR 2026
- One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention ControlHaoxiang Rao, Zhao Wang, Chenyang Si, Yan Lyu et al.CVPR 2026 · 2 citations
