mlsanityData to 14 Oct 2026

Invariant Anomaly Detection under Distribution Shifts: A Causal Perspective

arXiv 2312.14329 ↗First posted 21 Dec 2023cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Anomaly detection (AD) is the machine learning task of identifying highly discrepant abnormal samples by solely relying on the consistency of the normal training samples. Under the constraints of a distribution shift, the assumption that training samples and test samples are drawn from the same distribution breaks down. In this work, by leveraging tools from causal inference we attempt to increase the resilience of anomaly detection models to different kinds of distribution shifts. We begin by elucidating a simple yet necessary statistical property that ensures invariant representations, which is critical for robust AD under both domain and covariate shifts. From this property, we derive a regularization term which, when minimized, leads to partial distribution invariance across environments. Through extensive experimental evaluation on both synthetic and real-world tasks, covering a range of six different AD methods, we demonstrated significant improvements in out-of-distribution performance. Under both covariate and domain shift, models regularized with our proposed term showed marked increased robustness. Code is available at: https://github.com/JoaoCarv/invariant-anomaly-detection.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 41 of its 62 references that are in the map. First posted on arXiv 21 Dec 2023.

Builds on

41 of 62 references.

References · 41

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  3. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  4. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  5. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  6. 2019Invariant Risk Minimizationcited by 1,854
  7. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  8. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  9. 2015Deep Learning and the Information Bottleneck Principlecited by 802
  10. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
  11. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  12. 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 425
29 more
  1. 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 421
  2. 2019Contrastive Adaptation Network for Unsupervised Domain Adaptationcited by 407
  3. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  4. 2017Functional Map of the Worldcited by 338
  5. 2020Learning Memory-guided Normality for Anomaly Detectioncited by 278
  6. 2015The Variational Fair Autoencodercited by 223
  7. 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
  8. 2020Representation Learning via Invariant Causal Mechanismscited by 199
  9. 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
  10. 2019Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologycited by 173
  11. 2021Student-Teacher Feature Pyramid Matching for Anomaly Detectioncited by 146
  12. 2022Causality Inspired Representation Learning for Domain Generalizationcited by 138
  13. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  14. 2020DROCC: Deep Robust One-Class Classificationcited by 121
  15. 2019Improving Robustness Without Sacrificing Accuracy with Patch Gaussian Augmentationcited by 105
  16. 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 88
  17. 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
  18. 2021Counterfactual Invariance to Spurious Correlations: Why and How to Pass Stress Testscited by 77
  19. 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
  20. 2020Learning Causal Semantic Representation for Out-of-Distribution Predictioncited by 60
  21. 2022ZIN: When and How to Learn Invariance Without Environment Partition?cited by 58
  22. 2020On Mutual Information in Contrastive Learning for Visual Representationscited by 54
  23. 2021Domain Invariant Representation Learning with Domain Density Transformationscited by 53
  24. 2022Out-of-distribution Generalization with Causal Invariant Transformationscited by 45
  25. 2022Invariant and Transportable Representations for Anti-Causal Domain Shiftscited by 37
  26. 2021Decomposed Mutual Information Estimation for Contrastive Representation Learningcited by 25
  27. 2022A Contrastive Objective for Learning Disentangled Representationscited by 14
  28. 2021DiagViB-6: A Diagnostic Benchmark Suite for Vision Models in the Presence of Shortcut and Generalization Opportunitiescited by 10
  29. 2022Env-Aware Anomaly Detection: Ignore Style Changes, Stay True to Content!cited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 4.

8 papers.