mlsanityData to 14 Oct 2026

No Free Lunch: The Hazards of Over-Expressive Representations in Anomaly Detection

arXiv 2306.07284 ↗First posted 12 Jun 2023cs.LG cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

Anomaly detection methods, powered by deep learning, have recently been making significant progress, mostly due to improved representations. It is tempting to hypothesize that anomaly detection can improve indefinitely by increasing the scale of our networks, making their representations more expressive. In this paper, we provide theoretical and empirical evidence to the contrary. In fact, we empirically show cases where very expressive representations fail to detect even simple anomalies when evaluated beyond the well-studied object-centric datasets. To investigate this phenomenon, we begin by introducing a novel theoretical toy model for anomaly detection performance. The model uncovers a fundamental trade-off between representation sufficiency and over-expressivity. It provides evidence for a no-free-lunch theorem in anomaly detection stating that increasing representation expressivity will eventually result in performance degradation. Instead, guidance must be provided to focus the representation on the attributes relevant to the anomalies of interest. We conduct an extensive empirical investigation demonstrating that state-of-the-art representations often suffer from over-expressivity, failing to detect many types of anomalies. Our investigation demonstrates how this over-expressivity impairs image anomaly detection in practical settings. We conclude with future directions for mitigating this issue.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 12 Jun 2023.

Builds on

38 of 50 references.

References · 38

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  3. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  4. 2017Billion-scale similarity search with GPUscited by 2,497
  5. 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,382
  6. 2016Colorful Image Colorizationcited by 1,114
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  8. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
  9. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
  10. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
  11. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  12. 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
26 more
  1. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
  2. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
  3. 2015Deep multi-scale video prediction beyond mean square errorcited by 300
  4. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
  5. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  6. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  7. 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
  8. 2016Learning Representations for Automatic Colorizationcited by 251
  9. 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
  10. 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 154
  11. 2020Anomaly Detection in Video via Self-Supervised and Multi-Task Learningcited by 148
  12. 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
  13. 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
  14. 2021Neural Transformation Learning for Deep Anomaly Detection Beyond Imagescited by 99
  15. 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 88
  16. 2018Learning Deep Features for One-Class Classificationcited by 76
  17. 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
  18. 2019Detecting semantic anomaliescited by 50
  19. 2023A framework for benchmarking class-out-of-distribution detection and its application to ImageNetcited by 31
  20. 2021Transformaly -- Two (Feature Spaces) Are Better Than Onecited by 25
  21. 2022An Attribute-based Method for Video Anomaly Detectioncited by 21
  22. 2022Anomaly Detection Requires Better Representationscited by 15
  23. 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
  24. 2022Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detectioncited by 5
  25. 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detectioncited by 4
  26. 2022Red PANDA: Disambiguating Anomaly Detection by Removing Nuisance Factorscited by 2

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 1; 2025: 3.

7 papers.