No Free Lunch: The Hazards of Over-Expressive Representations in Anomaly Detection
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
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,382
- 2016Colorful Image Colorizationcited by 1,114
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
26 more
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
- 2015Deep multi-scale video prediction beyond mean square errorcited by 300
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2016Learning Representations for Automatic Colorizationcited by 251
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 154
- 2020Anomaly Detection in Video via Self-Supervised and Multi-Task Learningcited by 148
- 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
- 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
- 2021Neural Transformation Learning for Deep Anomaly Detection Beyond Imagescited by 99
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 88
- 2018Learning Deep Features for One-Class Classificationcited by 76
- 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
- 2019Detecting semantic anomaliescited by 50
- 2023A framework for benchmarking class-out-of-distribution detection and its application to ImageNetcited by 31
- 2021Transformaly -- Two (Feature Spaces) Are Better Than Onecited by 25
- 2022An Attribute-based Method for Video Anomaly Detectioncited by 21
- 2022Anomaly Detection Requires Better Representationscited by 15
- 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
- 2022Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detectioncited by 5
- 2023Robustness to Spurious Correlations Improves Semantic Out-of-Distribution Detectioncited by 4
- 2022Red PANDA: Disambiguating Anomaly Detection by Removing Nuisance Factorscited by 2
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 3.
7 papers.
- 2024COFT-AD: COntrastive Fine-Tuning for Few-Shot Anomaly Detectioncited by 13
- 2025Fantastic Bugs and Where to Find Them in AI Benchmarkscited by 11
- 2023Set Features for Anomaly Detectioncited by 3
- 2023Representation Learning in Anomaly Detection: Successes, Limits and a Grand Challengecited by 1
- 2025Sparse, self-organizing ensembles of local kernels detect rare statistical anomaliescited by 1
- 2023Don't Miss Out on Novelty: Importance of Novel Features for Deep Anomaly Detectioncited by 0
- 2025Language-Assisted Feature Transformation for Anomaly Detectioncited by 0
- 2025Fantastic Bugs and Where to Find Them in AI Benchmarks20 Nov 2025
- 2025Sparse, self-organizing ensembles of local kernels detect rare statistical anomalies5 Nov 2025
- 2025Language-Assisted Feature Transformation for Anomaly Detection3 Mar 2025
- 2024COFT-AD: COntrastive Fine-Tuning for Few-Shot Anomaly Detection29 Feb 2024
- 2023Set Features for Anomaly Detection24 Nov 2023
- 2023Don't Miss Out on Novelty: Importance of Novel Features for Deep Anomaly Detection1 Oct 2023
- 2023Representation Learning in Anomaly Detection: Successes, Limits and a Grand Challenge20 Jul 2023