Lune

ICCV2023Top-tier venue

Anomaly Detection under Distribution Shift

Tri Cao, Jiawen Zhu, Guansong Pang

Abstract

Anomaly detection (AD) is a crucial machine learning task that aims to learn patterns from a set of normal training samples to identify abnormal samples in test data. Most existing AD studies assume that the training and test data are drawn from the same data distribution, but the test data can have large distribution shifts arising in many real-world applications due to different natural variations such as new lighting conditions, object poses, or background appearances, rendering existing AD methods ineffective in such cases. In this paper, we consider the problem of anomaly detection under distribution shift and establish performance benchmarks on four widely-used AD and out-of-distribution (OOD) generalization datasets. We demonstrate that simple adaptation of state-of-the-art OOD generalization methods to AD settings fails to work effectively due to the lack of labeled anomaly data. We further introduce a novel robust AD approach to diverse distribution shifts by minimizing the distribution gap between indistribution and OOD normal samples in both the training and inference stages in an unsupervised way. Our extensive empirical results on the four datasets show that our approach substantially outperforms state-of-the-art AD methods and OOD generalization methods on data with various distribution shifts, while maintaining the detection accuracy on in-distribution data. Code and data are available at https://github.com/mala-lab/ADShift .

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.

26 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PointAD: Comprehending 3D Anomalies from Points and Pixels for Zero-shot 3D Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • ARC: A Generalist Graph Anomaly Detector with In-Context Learning cites Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts
  • AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample Prompts cites AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
  2. ARC: A Generalist Graph Anomaly Detector with In-Context LearningYixin Liu, Shiyuan Li, Yu Zheng, Qingfeng Chen et al.NeurIPS 2024 · 73 citations
  3. PointAD: Comprehending 3D Anomalies from Points and Pixels for Zero-shot 3D Anomaly DetectionQihang Zhou, Jiangtao Yan, Shibo He, Wenchao Meng et al.NeurIPS 2024 · 49 citations
  4. When Model Meets New Normals: Test-Time Adaptation for Unsupervised Time-Series Anomaly DetectionDongmin Kim, Sunghyun Park, Jaegul ChooAAAI 2024 · 43 citations
  5. Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample PromptsJiawen Zhu, Guansong PangCVPR 2024 · 43 citations

Builds on31

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  3. AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
  4. Domain Generalization with MixStyleKaiyang Zhou, Yongxin Yang, Yu Qiao, Tao XiangICLR 2021 · 986 citations
  5. Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations

Related papers

  1. Invariant Anomaly Detection under Distribution Shifts: A Causal PerspectiveJoão B. S. Carvalho, Mengtao Zhang, Robin Geyer, Carlos Cotrini et al.NeurIPS 2023 · 18 citations
  2. PIAD: Pose and Illumination agnostic Anomaly DetectionKaichen Yang, Junjie Cao, Zeyu Bai, Zhixun Su et al.CVPR 2025
  3. How robust is unsupervised representation learning to distribution shift?Yuge Shi, Imant Daunhawer, Julia E. Vogt, Philip H. S. Torr et al.ICLR 2023 · 6 citations
  4. Unifying Unsupervised Graph-Level Anomaly Detection and Out-of-Distribution Detection: A BenchmarkYili Wang, Yixin Liu, Xu Shen, Chenyu Li et al.ICLR 2025 · 2 citations
  5. Anomaly Heterogeneity Learning for Open-Set Supervised Anomaly DetectionJiawen Zhu, Choubo Ding, Yu Tian, Guansong PangCVPR 2024 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines