Glancing at the Patch: Anomaly Localization With Global and Local Feature Comparison
Shenzhi Wang, Liwei Wu, Lei Cui, Yujun Shen
Abstract
Anomaly localization, with the purpose to segment the anomalous regions within images, is challenging due to the large variety of anomaly types. Existing methods typically train deep models by treating the entire image as a whole yet put little effort into learning the local distribution, which is vital for this pixel-precise task. In this work, we propose an unsupervised patch-based approach that gives due consideration to both the global and local information. More concretely, we employ a Local-Net and Global-Net to extract features from any individual patch and its surrounding respectively. Global-Net is trained with the purpose to mimic the local feature such that we can easily detect an abnormal patch when its feature mismatches that from the context. We further introduce an Inconsistency Anomaly Detection (IAD) head and a Distortion Anomaly Detection (DAD) head to sufficiently spot the discrepancy between global and local features. A scoring function derived from the multi-head design facilitates high-precision anomaly localization. Extensive experiments on a couple of real-world datasets suggest that our approach outperforms state-of-the-art competitors by a sufficiently large margin.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
17 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Explainable Deep One-Class Classification cites Iterative energy-based projection on a normal data manifold for anomaly localization
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection cites Explainable Deep One-Class Classification
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection cites Deep One-Class Classification via Interpolated Gaussian Descriptor
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection cites Learning Memory-Guided Normality for Anomaly Detection
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection cites Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent Embeddings
- Deep One-Class Classification via Interpolated Gaussian Descriptor cites Iterative energy-based projection on a normal data manifold for anomaly localization
- Deep One-Class Classification via Interpolated Gaussian Descriptor cites Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent Embeddings
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection cites Learning Memory-Guided Normality for Anomaly Detection
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection cites Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent Embeddings
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
- A Unified Model for Multi-class Anomaly Detection cites Explainable Deep One-Class Classification
- A Unified Model for Multi-class Anomaly Detection cites Iterative energy-based projection on a normal data manifold for anomaly localization
- A Unified Model for Multi-class Anomaly Detection cites Learning Memory-Guided Normality for Anomaly Detection
- A Unified Model for Multi-class Anomaly Detection cites Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent Embeddings
Cited by top-tier papers17
- A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang et al.NeurIPS 2022 · 585 citations
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly DetectionChoubo Ding, Guansong Pang, Chunhua ShenCVPR 2022 · 163 citations
- Deep One-Class Classification via Interpolated Gaussian DescriptorYuanhong Chen, Yu Tian, Guansong Pang, Gustavo CarneiroAAAI 2022 · 139 citations
- Rank-DETR for High Quality Object DetectionYifan Pu, Weicong Liang, Yiduo Hao, Yuhui Yuan et al.NeurIPS 2023 · 138 citations
- Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly DetectionXincheng Yao, Ruoqi Li, Zefeng Qian, Yan Luo et al.ICCV 2023 · 48 citations
Builds on8
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Explainable Deep One-Class ClassificationPhilipp Liznerski, Lukas Ruff, Robert A. Vandermeulen, Billy Joe Franks et al.ICLR 2021 · 240 citations
- Iterative energy-based projection on a normal data manifold for anomaly localizationDavid Dehaene, Oriel Frigo, Sébastien Combrexelle, Pierre ElineICLR 2020 · 157 citations
- Learning Memory-Guided Normality for Anomaly DetectionHyunjong Park, Jongyoun Noh, Bumsub HamCVPR 2020
- Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent EmbeddingsPaul Bergmann, Michael Fauser, David Sattlegger, Carsten StegerCVPR 2020
Related papers
- Removing Anomalies as Noises for Industrial Defect LocalizationFanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya JiaICCV 2023 · 53 citations
- Boosting Fine-Grained Visual Anomaly Detection with Coarse-Knowledge-Aware Adversarial LearningQingqing Fang, Qinliang Su, Wenxi Lv, Wenchao Xu et al.AAAI 2025 · 7 citations
- Dual-Modeling Decouple Distillation for Unsupervised Anomaly DetectionXinyue Liu, Jianyuan Wang, Biao Leng, Shuo ZhangACM MM 2024 · 23 citations
- Inter-Realization Channels: Unsupervised Anomaly Detection Beyond One-Class ClassificationDeclan McIntosh, Alexandra Branzan AlbuICCV 2023 · 36 citations
- UniAd: Unified Adversarial Alignment for Unsupervised Cross-Domain Industrial Anomaly DetectionYulong Fang, Zhanshan Li, Jingyao LiKDD 2026
