GeneralAD: Anomaly Detection Across Domains by Attending to Distorted Features
Not on the map. Why?
Abstract (arXiv)
In the domain of anomaly detection, methods often excel in either high-level semantic or low-level industrial benchmarks, rarely achieving cross-domain proficiency. Semantic anomalies are novelties that differ in meaning from the training set, like unseen objects in self-driving cars. In contrast, industrial anomalies are subtle defects that preserve semantic meaning, such as cracks in airplane components. In this paper, we present GeneralAD, an anomaly detection framework designed to operate in semantic, near-distribution, and industrial settings with minimal per-task adjustments. In our approach, we capitalize on the inherent design of Vision Transformers, which are trained on image patches, thereby ensuring that the last hidden states retain a patch-based structure. We propose a novel self-supervised anomaly generation module that employs straightforward operations like noise addition and shuffling to patch features to construct pseudo-abnormal samples. These features are fed to an attention-based discriminator, which is trained to score every patch in the image. With this, our method can both accurately identify anomalies at the image level and also generate interpretable anomaly maps. We extensively evaluated our approach on ten datasets, achieving state-of-the-art results in six and on-par performance in the remaining for both localization and detection tasks.
Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 38 of its 52 references that are in the map. First posted on arXiv 17 Jul 2024.
Builds on
38 of 52 references.
References · 38
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016Wide Residual Networkscited by 3,057
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2023Vision Transformers Need Registerscited by 844
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
26 more
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
- 2019Deep Learning for Anomaly Detection: A Surveycited by 357
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 297
- 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 157
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 147
- 2022Self-Supervised Learning of Object Parts for Semantic Segmentationcited by 90
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 87
- 2022PNI : Industrial Anomaly Detection using Position and Neighborhood Informationcited by 69
- 2023ReContrast: Domain-Specific Anomaly Detection via Contrastive Reconstructioncited by 62
- 2023Anomaly Detection under Distribution Shiftcited by 35
- 2023Time Does Tell: Self-Supervised Time-Tuning of Dense Image Representationscited by 35
- 2021Transformaly -- Two (Feature Spaces) Are Better Than Onecited by 25
- 2022Perturbation Learning Based Anomaly Detectioncited by 24
Built on by
Citing papers per year: 2024: 2; 2025: 16; 2026: 11.
29 papers.
Sort:
By area:
- 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Modelscited by 54
- 2025Towards Training-free Anomaly Detection with Vision and Language Foundation Modelscited by 24
- 2025Normal-Abnormal Guided Generalist Anomaly Detectioncited by 10
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomaliescited by 8
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddingscited by 6
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectorscited by 5
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detectioncited by 4
- 2025Towards Personalized Quantum Federated Learning for Anomaly Detectioncited by 4
- 2025Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detectioncited by 3
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detectioncited by 3
- 2026Is Task-Specific Training Necessary for Anomaly Detection?cited by 2
- 2025Toward Long-Tailed Online Anomaly Detection through Class-Agnostic Conceptscited by 1
17 more
- 2025DISTIL: Data-Free Inversion of Suspicious Trojan Inputs via Latent Diffusioncited by 1
- 2025Efficient Odd-One-Out Anomaly Detectioncited by 1
- 2025PatchEAD: Unifying Industrial Visual Prompting Frameworks for Patch-Exclusive Anomaly Detectioncited by 1
- 2024Redefining Normal: A Novel Object-Level Approach for Multi-Object Novelty Detectioncited by 0
- 2025When Unsupervised Domain Adaptation meets One-class Anomaly Detection: Addressing the Two-fold Unsupervised Curse by Leveraging Anomaly Scarcitycited by 0
- 2025Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detectioncited by 0
- 2025TMUAD: Enhancing Logical Capabilities in Unified Anomaly Detection Models with a Text Memory Bankcited by 0
- 2025Generalist Multi-Class Anomaly Detection via Distillation to Two Heterogeneous Student Networkscited by 0
- 2026Exploring Multimodal Prompts For Unsupervised Continuous Anomaly Detectioncited by 0
- 2026mmAnomaly: Leveraging Visual Context for Robust Anomaly Detection in the Non-Visual World with mmWave Radarcited by 0
- 2026Unsupervised Memory-Enhanced Video Transformers: Obstacle Detection for Autonomous Agricultural Rovercited by 0
- 2026DuoAD: Leveraging [CLS] Dual Characteristics for Training-Free Few-Shot Anomaly Detectioncited by 0
- 2026Early Failure Prediction from Near-Anomaly Detection: A Proactive Approachcited by 0
- 2026Understanding and Overcoming Cross-modal Fusion Bias in Multimodal Anomaly Detection From A Fisher Information Perspectivecited by 0
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detectioncited by 0
- 2026GuidedFlow: An Attention-Guided Framework for Anomaly Detection in Additive Manufacturingcited by 0
- 2026GaugeDefect: Detecting Surface Anomalies by Curvature of Feature Transportcited by 0
- 2026GaugeDefect: Detecting Surface Anomalies by Curvature of Feature Transport8 Sep 2026
- 2026GuidedFlow: An Attention-Guided Framework for Anomaly Detection in Additive Manufacturing24 Aug 2026
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detection3 Aug 2026
- 2026Understanding and Overcoming Cross-modal Fusion Bias in Multimodal Anomaly Detection From A Fisher Information Perspective2 Aug 2026
- 2026Early Failure Prediction from Near-Anomaly Detection: A Proactive Approach29 Jul 2026
- 2026DuoAD: Leveraging [CLS] Dual Characteristics for Training-Free Few-Shot Anomaly Detection27 Jul 2026
- 2026Unsupervised Memory-Enhanced Video Transformers: Obstacle Detection for Autonomous Agricultural Rover23 Jun 2026
- 2026mmAnomaly: Leveraging Visual Context for Robust Anomaly Detection in the Non-Visual World with mmWave Radar1 Apr 2026
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detection26 Mar 2026
- 2026Exploring Multimodal Prompts For Unsupervised Continuous Anomaly Detection23 Mar 2026
- 2026Is Task-Specific Training Necessary for Anomaly Detection?30 Jan 2026
- 2025Towards Personalized Quantum Federated Learning for Anomaly Detection8 Nov 2025
17 more
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors2 Oct 2025
- 2025Normal-Abnormal Guided Generalist Anomaly Detection1 Oct 2025
- 2025PatchEAD: Unifying Industrial Visual Prompting Frameworks for Patch-Exclusive Anomaly Detection30 Sep 2025
- 2025Generalist Multi-Class Anomaly Detection via Distillation to Two Heterogeneous Student Networks29 Sep 2025
- 2025Efficient Odd-One-Out Anomaly Detection4 Sep 2025
- 2025TMUAD: Enhancing Logical Capabilities in Unified Anomaly Detection Models with a Text Memory Bank29 Aug 2025
- 2025Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detection7 Aug 2025
- 2025DISTIL: Data-Free Inversion of Suspicious Trojan Inputs via Latent Diffusion30 Jul 2025
- 2025Toward Long-Tailed Online Anomaly Detection through Class-Agnostic Concepts22 Jul 2025
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies10 Jun 2025
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detection1 Jun 2025
- 2025Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detection15 Apr 2025
- 2025Towards Training-free Anomaly Detection with Vision and Language Foundation Models24 Mar 2025
- 2025When Unsupervised Domain Adaptation meets One-class Anomaly Detection: Addressing the Two-fold Unsupervised Curse by Leveraging Anomaly Scarcity28 Feb 2025
- 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Models11 Feb 2025
- 2024Redefining Normal: A Novel Object-Level Approach for Multi-Object Novelty Detection15 Dec 2024
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddings14 Oct 2024
- 2025DISTIL: Data-Free Inversion of Suspicious Trojan Inputs via Latent Diffusioncited by 1
- 2025Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detectioncited by 0
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detectioncited by 0
- 2026ReFP-AD: Rectified Flow Preconditioning for Energy-Based Anomaly Detection3 Aug 2026
- 2025Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detection7 Aug 2025
- 2025DISTIL: Data-Free Inversion of Suspicious Trojan Inputs via Latent Diffusion30 Jul 2025
- 2025Towards Training-free Anomaly Detection with Vision and Language Foundation Modelscited by 24
- 2025Normal-Abnormal Guided Generalist Anomaly Detectioncited by 10
- 2025PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomaliescited by 8
- 2024Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddingscited by 6
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectorscited by 5
- 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detectioncited by 4
- 2025Towards Personalized Quantum Federated Learning for Anomaly Detectioncited by 4
- 2025Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detectioncited by 3
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detectioncited by 3
- 2026Is Task-Specific Training Necessary for Anomaly Detection?cited by 2
- 2025Toward Long-Tailed Online Anomaly Detection through Class-Agnostic Conceptscited by 1
- 2025Efficient Odd-One-Out Anomaly Detectioncited by 1
12 most cited of 25 All 25 (JSON)
- 2026GaugeDefect: Detecting Surface Anomalies by Curvature of Feature Transport8 Sep 2026
- 2026GuidedFlow: An Attention-Guided Framework for Anomaly Detection in Additive Manufacturing24 Aug 2026
- 2026Understanding and Overcoming Cross-modal Fusion Bias in Multimodal Anomaly Detection From A Fisher Information Perspective2 Aug 2026
- 2026Early Failure Prediction from Near-Anomaly Detection: A Proactive Approach29 Jul 2026
- 2026DuoAD: Leveraging [CLS] Dual Characteristics for Training-Free Few-Shot Anomaly Detection27 Jul 2026
- 2026Unsupervised Memory-Enhanced Video Transformers: Obstacle Detection for Autonomous Agricultural Rover23 Jun 2026
- 2026mmAnomaly: Leveraging Visual Context for Robust Anomaly Detection in the Non-Visual World with mmWave Radar1 Apr 2026
- 2026A Semantically Disentangled Unified Model for Multi-category 3D Anomaly Detection26 Mar 2026
- 2026Exploring Multimodal Prompts For Unsupervised Continuous Anomaly Detection23 Mar 2026
- 2026Is Task-Specific Training Necessary for Anomaly Detection?30 Jan 2026
- 2025Towards Personalized Quantum Federated Learning for Anomaly Detection8 Nov 2025
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors2 Oct 2025
12 newest of 25 All 25 (JSON)