Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Humans recognize anomalies through two aspects: larger patch-wise representation discrepancies and weaker patch-to-normal-patch correlations. However, the previous AD methods didn't sufficiently combine the two complementary aspects to design AD models. To this end, we find that Transformer can ideally satisfy the two aspects as its great power in the unified modeling of patch-wise representations and patch-to-patch correlations. In this paper, we propose a novel AD framework: FOcus-the-Discrepancy (FOD), which can simultaneously spot the patch-wise, intra- and inter-discrepancies of anomalies. The major characteristic of our method is that we renovate the self-attention maps in transformers to Intra-Inter-Correlation (I2Correlation). The I2Correlation contains a two-branch structure to first explicitly establish intra- and inter-image correlations, and then fuses the features of two-branch to spotlight the abnormal patterns. To learn the intra- and inter-correlations adaptively, we propose the RBF-kernel-based target-correlations as learning targets for self-supervised learning. Besides, we introduce an entropy constraint strategy to solve the mode collapse issue in optimization and further amplify the normal-abnormal distinguishability. Extensive experiments on three unsupervised real-world AD benchmarks show the superior performance of our approach. Code will be available at https://github.com/xcyao00/FOD.
Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). Builds on 52 of its 66 references that are in the map. First posted on arXiv 6 Aug 2023.
Builds on
52 of 66 references.
References · 52
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2017Neural Discrete Representation Learningcited by 4,712
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2021Grounded Language-Image Pre-trainingcited by 1,156
38 more
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 421
- 2019GhostNet: More Features from Cheap Operationscited by 410
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
- 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 394
- 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
- 2015Understanding Neural Networks Through Deep Visualizationcited by 334
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
- 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
- 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 268
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 264
- 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
- 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
- 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
- 2018Adversarially Learned One-Class Classifier for Novelty Detectioncited by 202
- 2021The MVTec 3D-AD Dataset for Unsupervised 3D Anomaly Detection and Localizationcited by 178
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2021Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detectioncited by 119
- 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
- 2022Asymmetric Student-Teacher Networks for Industrial Anomaly Detectioncited by 117
- 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
- 2020Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detectioncited by 115
- 2019Towards Visually Explaining Variational Autoencoderscited by 113
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 104
- 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
- 2021Inpainting Transformer for Anomaly Detectioncited by 91
- 2022DSR -- A dual subspace re-projection network for surface anomaly detectioncited by 90
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 88
- 2021Divide-and-Assemble: Learning Block-wise Memory for Unsupervised Anomaly Detectioncited by 83
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 68
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2023: 3; 2024: 10; 2025: 11; 2026: 8.
32 papers.
Sort:
By area:
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 89
- 2023Myriad: Large Multimodal Model by Applying Vision Experts for Industrial Anomaly Detectioncited by 39
- 2025AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detectioncited by 29
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
- 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuningcited by 27
- 2023Anomaly Heterogeneity Learning for Open-set Supervised Anomaly Detectioncited by 25
- 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 25
- 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detectioncited by 22
- 2024Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detectioncited by 19
- 2025Learning to Detect Multi-class Anomalies with Just One Normal Image Promptcited by 18
- 2024CLIP3D-AD: Extending CLIP for 3D Few-Shot Anomaly Detection with Multi-View Images Generationcited by 16
- 2025MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-Learningcited by 13
20 more
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformercited by 11
- 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
- 2024A SAM-guided Two-stream Lightweight Model for Anomaly Detectioncited by 7
- 2024Promptable Anomaly Segmentation with SAM Through Self-Perception Tuningcited by 7
- 2025Towards Accurate Unified Anomaly Segmentationcited by 7
- 2025SALAD -- Semantics-Aware Logical Anomaly Detectioncited by 4
- 2026One Language-Free Foundation Model Is Enough for Universal Vision Anomaly Detectioncited by 4
- 2024Advancing Pre-trained Teacher: Towards Robust Feature Discrepancy for Anomaly Detectioncited by 2
- 2025KairosAD: A SAM-Based Model for Industrial Anomaly Detection on Embedded Devicescited by 2
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
- 2023Multilevel Saliency-Guided Self-Supervised Learning for Image Anomaly Detectioncited by 1
- 2026URA-Net: Uncertainty-Integrated Anomaly Perception and Restoration Attention Network for Unsupervised Anomaly Detectioncited by 1
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Modelscited by 1
- 2025Bi-Grid Reconstruction for Image Anomaly Detectioncited by 0
- 2025Domain Adaptation of Attention Heads for Zero-shot Anomaly Detectioncited by 0
- 2025Noise Fusion-based Distillation Learning for Anomaly Detection in Complex Industrial Environmentscited by 0
- 2026A Feature Shuffling and Restoration Strategy for Universal Unsupervised Anomaly Detectioncited by 0
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentationcited by 0
- 2026Feature Perturbation Pool-based Fusion Network for Unified Multi-Class Industrial Defect Detectioncited by 0
- 2026Value-order Decomposition for Generalist Anomaly Detectioncited by 0
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026Feature Perturbation Pool-based Fusion Network for Unified Multi-Class Industrial Defect Detection21 Apr 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 Feature Shuffling and Restoration Strategy for Universal Unsupervised Anomaly Detection24 Mar 2026
- 2026URA-Net: Uncertainty-Integrated Anomaly Perception and Restoration Attention Network for Unsupervised Anomaly Detection24 Mar 2026
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer9 Mar 2026
- 2026One Language-Free Foundation Model Is Enough for Universal Vision Anomaly Detection9 Jan 2026
- 2025SALAD -- Semantics-Aware Logical Anomaly Detection2 Sep 2025
- 2025Foundation Models and Transformers for Anomaly Detection: A Survey21 Jul 2025
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospects15 Jul 2025
- 2025Noise Fusion-based Distillation Learning for Anomaly Detection in Complex Industrial Environments19 Jun 2025
20 more
- 2025KairosAD: A SAM-Based Model for Industrial Anomaly Detection on Embedded Devices30 May 2025
- 2025Domain Adaptation of Attention Heads for Zero-shot Anomaly Detection28 May 2025
- 2025AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detection15 May 2025
- 2025MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-Learning14 May 2025
- 2025Learning to Detect Multi-class Anomalies with Just One Normal Image Prompt14 May 2025
- 2025Bi-Grid Reconstruction for Image Anomaly Detection1 Apr 2025
- 2025Towards Accurate Unified Anomaly Segmentation21 Jan 2025
- 2024Promptable Anomaly Segmentation with SAM Through Self-Perception Tuning26 Nov 2024
- 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detection26 Oct 2024
- 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuning19 Oct 2024
- 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detection14 Oct 2024
- 2024CLIP3D-AD: Extending CLIP for 3D Few-Shot Anomaly Detection with Multi-View Images Generation27 Jun 2024
- 2024Advancing Pre-trained Teacher: Towards Robust Feature Discrepancy for Anomaly Detection3 May 2024
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detection20 Mar 2024
- 2024Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detection18 Mar 2024
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Prompts11 Mar 2024
- 2024A SAM-guided Two-stream Lightweight Model for Anomaly Detection29 Feb 2024
- 2023Multilevel Saliency-Guided Self-Supervised Learning for Image Anomaly Detection30 Nov 2023
- 2023Myriad: Large Multimodal Model by Applying Vision Experts for Industrial Anomaly Detection29 Oct 2023
- 2023Anomaly Heterogeneity Learning for Open-set Supervised Anomaly Detection19 Oct 2023
- 2023Myriad: Large Multimodal Model by Applying Vision Experts for Industrial Anomaly Detectioncited by 39
- 2025MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-Learningcited by 13
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Modelscited by 1
- 2026MMR-AD: A Large-Scale Multimodal Dataset for Benchmarking General Anomaly Detection with Multimodal Large Language Models13 Apr 2026
- 2025MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-Learning14 May 2025
- 2023Myriad: Large Multimodal Model by Applying Vision Experts for Industrial Anomaly Detection29 Oct 2023
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 89
- 2025AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detectioncited by 29
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
- 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuningcited by 27
- 2023Anomaly Heterogeneity Learning for Open-set Supervised Anomaly Detectioncited by 25
- 2024ResAD: A Simple Framework for Class Generalizable Anomaly Detectioncited by 25
- 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detectioncited by 22
- 2024Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detectioncited by 19
- 2025Learning to Detect Multi-class Anomalies with Just One Normal Image Promptcited by 18
- 2024CLIP3D-AD: Extending CLIP for 3D Few-Shot Anomaly Detection with Multi-View Images Generationcited by 16
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformercited by 11
- 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
12 most cited of 28 All 28 (JSON)
- 2026Value-order Decomposition for Generalist Anomaly Detection12 Jun 2026
- 2026Feature Perturbation Pool-based Fusion Network for Unified Multi-Class Industrial Defect Detection21 Apr 2026
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2026A Feature Shuffling and Restoration Strategy for Universal Unsupervised Anomaly Detection24 Mar 2026
- 2026URA-Net: Uncertainty-Integrated Anomaly Perception and Restoration Attention Network for Unsupervised Anomaly Detection24 Mar 2026
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer9 Mar 2026
- 2026One Language-Free Foundation Model Is Enough for Universal Vision Anomaly Detection9 Jan 2026
- 2025SALAD -- Semantics-Aware Logical Anomaly Detection2 Sep 2025
- 2025Foundation Models and Transformers for Anomaly Detection: A Survey21 Jul 2025
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospects15 Jul 2025
- 2025Noise Fusion-based Distillation Learning for Anomaly Detection in Complex Industrial Environments19 Jun 2025
- 2025KairosAD: A SAM-Based Model for Industrial Anomaly Detection on Embedded Devices30 May 2025
12 newest of 28 All 28 (JSON)