TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Input complexity and out-of-distribution detection with li...

Input complexity and out-of-distribution detection with likelihood-based generative models

Joan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia, José F. Núñez, Jordi Luque

2019-09-25ICLR 2020 1Out of Distribution (OOD) DetectionAnomaly DetectionOut-of-Distribution Detection
PaperPDFCode

Abstract

Likelihood-based generative models are a promising resource to detect out-of-distribution (OOD) inputs which could compromise the robustness or reliability of a machine learning system. However, likelihoods derived from such models have been shown to be problematic for detecting certain types of inputs that significantly differ from training data. In this paper, we pose that this problem is due to the excessive influence that input complexity has in generative models' likelihoods. We report a set of experiments supporting this hypothesis, and use an estimate of input complexity to derive an efficient and parameter-free OOD score, which can be seen as a likelihood-ratio, akin to Bayesian model comparison. We find such score to perform comparably to, or even better than, existing OOD detection approaches under a wide range of data sets, models, model sizes, and complexity estimates.

Results

TaskDatasetMetricValueModel
Anomaly DetectionUnlabeled CIFAR-10 vs CIFAR-100AUROC73.6Input Complexity (Glow)
Anomaly DetectionUnlabeled CIFAR-10 vs CIFAR-100AUROC58.2Likelihood (Glow)
Anomaly DetectionUnlabeled CIFAR-10 vs CIFAR-100AUROC53.5Input Complexity (PixelCNN++)
Anomaly DetectionUnlabeled CIFAR-10 vs CIFAR-100AUROC52.6Likelihood (PixelCNN++)

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15ZClassifier: Temperature Tuning and Manifold Approximation via KL Divergence on Logit Space2025-07-14Adversarial Activation Patching: A Framework for Detecting and Mitigating Emergent Deception in Safety-Aligned Transformers2025-07-12Towards High-Resolution 3D Anomaly Detection: A Scalable Dataset and Real-Time Framework for Subtle Industrial Defects2025-07-10