ResAD: A Simple Framework for Class Generalizable Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
This paper explores the problem of class-generalizable anomaly detection, where the objective is to train one unified AD model that can generalize to detect anomalies in diverse classes from different domains without any retraining or fine-tuning on the target data. Because normal feature representations vary significantly across classes, this will cause the widely studied one-for-one AD models to be poorly classgeneralizable (i.e., performance drops dramatically when used for new classes). In this work, we propose a simple but effective framework (called ResAD) that can be directly applied to detect anomalies in new classes. Our main insight is to learn the residual feature distribution rather than the initial feature distribution. In this way, we can significantly reduce feature variations. Even in new classes, the distribution of normal residual features would not remarkably shift from the learned distribution. Therefore, the learned model can be directly adapted to new classes. ResAD consists of three components: (1) a Feature Converter that converts initial features into residual features; (2) a simple and shallow Feature Constraintor that constrains normal residual features into a spatial hypersphere for further reducing feature variations and maintaining consistency in feature scales among different classes; (3) a Feature Distribution Estimator that estimates the normal residual feature distribution, anomalies can be recognized as out-of-distribution. Despite the simplicity, ResAD can achieve remarkable anomaly detection results when directly used in new classes. The code is available at https://github.com/xcyao00/ResAD.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 39 of its 51 references that are in the map. First posted on arXiv 26 Oct 2024.
Builds on
39 of 51 references.
References · 39
- 2016Wide Residual Networkscited by 3,057
- 2016Density estimation using Real NVPcited by 2,029
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,162
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 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
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
- 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
27 more
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
- 2020Learning Memory-guided Normality for Anomaly Detectioncited by 278
- 2022A Unified Model for Multi-class Anomaly Detectioncited by 267
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
- 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
- 2021The MVTec 3D-AD Dataset for Unsupervised 3D Anomaly Detection and Localizationcited by 174
- 2019Guided Image Generation with Conditional Invertible Neural Networkscited by 147
- 2022Registration based Few-Shot Anomaly Detectioncited by 133
- 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
- 2020Explainable Deep One-Class Classificationcited by 126
- 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
- 2020Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detectioncited by 115
- 2022Asymmetric Student-Teacher Networks for Industrial Anomaly Detectioncited by 115
- 2019Towards Visually Explaining Variational Autoencoderscited by 113
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 103
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 88
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
- 2024A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospectcited by 69
- 2020DFR: Deep Feature Reconstruction for Unsupervised Anomaly Segmentationcited by 53
- 2023Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detectioncited by 32
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
- 2022Deep representation learning: Fundamentals, Perspectives, Applications, and Open Challengescited by 3
Built on by
Citing papers per year: 2025: 10; 2026: 14.
24 papers.
Sort:
By area:
- 2025Normal-Abnormal Guided Generalist Anomaly Detectioncited by 10
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookupcited by 9
- 2025INP-Former++: Advancing Universal Anomaly Detection via Intrinsic Normal Prototypes and Residual Learningcited by 7
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detectioncited by 4
- 2025Towards Fine-Grained Vision-Language Alignment for Few-Shot Anomaly Detectioncited by 3
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detectioncited by 3
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
- 2025ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learningcited by 2
- 2026Is Task-Specific Training Necessary for Anomaly Detection?cited by 2
- 2025ADPretrain: Advancing Industrial Anomaly Detection via Anomaly Representation Pretrainingcited by 1
- 2025ICAD-LLM: One-for-All Anomaly Detection via In-Context Learning with Large Language Modelscited by 1
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Modelscited by 1
12 more
- 2026AnomalyAgent: Training-Free Agentic Models for Zero-/Few-Shot Anomaly Detectioncited by 1
- 2025CLIP Meets Diffusion: A Synergistic Approach to Anomaly Detectioncited by 0
- 2026A Multi-directional Meta-Learning Framework for Class-Generalizable Anomaly Detectioncited by 0
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentationcited by 0
- 2026Res2CLIP: Few-Shot Generalist Anomaly Detection with Residual-to-Residual Alignmentcited by 0
- 2026Beyond Normal References: Discriminative Few-Shot Anomaly Detectioncited by 0
- 2026Bridging Classification and Reconstruction: Cooperative Time Series Anomaly Detectioncited by 0
- 2026Generalist Graph Anomaly Detection via Prototype-Based Distillationcited by 0
- 2026Value-order Decomposition for Generalist Anomaly Detectioncited by 0
- 2026TC-MAF: Train-Calibrated Bounded Multi-Evidence Fusion for Multimodal Industrial Anomaly Detectioncited by 0
- 2026DriftAD: Visually-Guided Text Drift for Few-Shot Industrial Anomaly Detectioncited by 0
- 2026Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modelingcited by 0
- 2026Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling28 Sep 2026
- 2026DriftAD: Visually-Guided Text Drift for Few-Shot Industrial Anomaly Detection24 Aug 2026
- 2026TC-MAF: Train-Calibrated Bounded Multi-Evidence Fusion for Multimodal Industrial Anomaly Detection13 Jul 2026
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026AnomalyAgent: Training-Free Agentic Models for Zero-/Few-Shot Anomaly Detection28 May 2026
- 2026Generalist Graph Anomaly Detection via Prototype-Based Distillation26 May 2026
- 2026Bridging Classification and Reconstruction: Cooperative Time Series Anomaly Detection25 May 2026
- 2026Beyond Normal References: Discriminative Few-Shot Anomaly Detection22 May 2026
- 2026Res2CLIP: Few-Shot Generalist Anomaly Detection with Residual-to-Residual Alignment15 May 2026
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Models13 Apr 2026
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detection26 Mar 2026
12 more
- 2026Is Task-Specific Training Necessary for Anomaly Detection?30 Jan 2026
- 2026A Multi-directional Meta-Learning Framework for Class-Generalizable Anomaly Detection27 Jan 2026
- 2025ICAD-LLM: One-for-All Anomaly Detection via In-Context Learning with Large Language Models1 Dec 2025
- 2025ADPretrain: Advancing Industrial Anomaly Detection via Anomaly Representation Pretraining7 Nov 2025
- 2025Towards Fine-Grained Vision-Language Alignment for Few-Shot Anomaly Detection30 Oct 2025
- 2025Normal-Abnormal Guided Generalist Anomaly Detection1 Oct 2025
- 2025ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learning28 Sep 2025
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookup19 Aug 2025
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospects15 Jul 2025
- 2025CLIP Meets Diffusion: A Synergistic Approach to Anomaly Detection13 Jun 2025
- 2025INP-Former++: Advancing Universal Anomaly Detection via Intrinsic Normal Prototypes and Residual Learning4 Jun 2025
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detection1 Jun 2025
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookupcited by 9
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Modelscited by 1
- 2026AnomalyAgent: Training-Free Agentic Models for Zero-/Few-Shot Anomaly Detectioncited by 1
- 2026DriftAD: Visually-Guided Text Drift for Few-Shot Industrial Anomaly Detectioncited by 0
- 2026DriftAD: Visually-Guided Text Drift for Few-Shot Industrial Anomaly Detection24 Aug 2026
- 2026AnomalyAgent: Training-Free Agentic Models for Zero-/Few-Shot Anomaly Detection28 May 2026
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Models13 Apr 2026
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookup19 Aug 2025
- 2025Normal-Abnormal Guided Generalist Anomaly Detectioncited by 10
- 2025INP-Former++: Advancing Universal Anomaly Detection via Intrinsic Normal Prototypes and Residual Learningcited by 7
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detectioncited by 4
- 2025Towards Fine-Grained Vision-Language Alignment for Few-Shot Anomaly Detectioncited by 3
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detectioncited by 3
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
- 2025ResAD++: Towards Class Agnostic Anomaly Detection via Residual Feature Learningcited by 2
- 2026Is Task-Specific Training Necessary for Anomaly Detection?cited by 2
- 2025ADPretrain: Advancing Industrial Anomaly Detection via Anomaly Representation Pretrainingcited by 1
- 2025ICAD-LLM: One-for-All Anomaly Detection via In-Context Learning with Large Language Modelscited by 1
- 2026A Multi-directional Meta-Learning Framework for Class-Generalizable Anomaly Detectioncited by 0
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentationcited by 0
12 most cited of 19 All 19 (JSON)
- 2026Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling28 Sep 2026
- 2026TC-MAF: Train-Calibrated Bounded Multi-Evidence Fusion for Multimodal Industrial Anomaly Detection13 Jul 2026
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026Generalist Graph Anomaly Detection via Prototype-Based Distillation26 May 2026
- 2026Bridging Classification and Reconstruction: Cooperative Time Series Anomaly Detection25 May 2026
- 2026Beyond Normal References: Discriminative Few-Shot Anomaly Detection22 May 2026
- 2026Res2CLIP: Few-Shot Generalist Anomaly Detection with Residual-to-Residual Alignment15 May 2026
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detection26 Mar 2026
- 2026Is Task-Specific Training Necessary for Anomaly Detection?30 Jan 2026
- 2026A Multi-directional Meta-Learning Framework for Class-Generalizable Anomaly Detection27 Jan 2026
- 2025ICAD-LLM: One-for-All Anomaly Detection via In-Context Learning with Large Language Models1 Dec 2025
12 newest of 19 All 19 (JSON)