FlowCon: Out-of-Distribution Detection using Flow-Based Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Identifying Out-of-distribution (OOD) data is becoming increasingly critical as the real-world applications of deep learning methods expand. Post-hoc methods modify softmax scores fine-tuned on outlier data or leverage intermediate feature layers to identify distinctive patterns between In-Distribution (ID) and OOD samples. Other methods focus on employing diverse OOD samples to learn discrepancies between ID and OOD. These techniques, however, are typically dependent on the quality of the outlier samples assumed. Density-based methods explicitly model class-conditioned distributions but this requires long training time or retraining the classifier. To tackle these issues, we introduce textitFlowCon, a new density-based OOD detection technique. Our main innovation lies in efficiently combining the properties of normalizing flow with supervised contrastive learning, ensuring robust representation learning with tractable density estimation. Empirical evaluation shows the enhanced performance of our method across common vision datasets such as CIFAR-10 and CIFAR-100 pretrained on ResNet18 and WideResNet classifiers. We also perform quantitative analysis using likelihood plots and qualitative visualization using UMAP embeddings and demonstrate the robustness of the proposed method under various OOD contexts. Code will be open-sourced post decision.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 38 of its 51 references that are in the map. First posted on arXiv 3 Jul 2024.
Builds on
38 of 51 references.
References · 38
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Wide Residual Networkscited by 3,057
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2020Supervised Contrastive Learningcited by 2,803
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2016Density estimation using Real NVPcited by 2,029
- 2016Concrete Problems in AI Safetycited by 1,582
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
26 more
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2017ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseasescited by 969
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2014Semi-Supervised Learning with Deep Generative Modelscited by 494
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2021Unsolved Problems in ML Safetycited by 291
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
- 2018Adversarially Learned One-Class Classifier for Novelty Detectioncited by 202
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2018Latent Space Autoregression for Novelty Detectioncited by 149
- 2020Can Autonomous Vehicles Identify, Recover From, and Adapt to Distribution Shifts?cited by 139
- 2020Hybrid Models for Open Set Recognitioncited by 109
- 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
- 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
- 2021Provable Guarantees for Understanding Out-of-distribution Detectioncited by 78
- 2022Self-Supervised Visual Representation Learning with Semantic Groupingcited by 70
- 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
- 2022X-Risk Analysis for AI Researchcited by 60
- 2019Hybrid Models with Deep and Invertible Featurescited by 41
- 2023Uncertainty-Aware Optimal Transport for Semantically Coherent Out-of-Distribution Detectioncited by 19
- 2022Heatmap-based Out-of-Distribution Detectioncited by 9
- 2022Testing the boundaries: Normalizing Flows for higher dimensional data setscited by 7
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025Prior Distribution and Model Confidencecited by 1
- 2025Local Background Features Matter in Out-of-Distribution Detectioncited by 0
- 2025Local Background Features Matter in Out-of-Distribution Detection14 Oct 2025
- 2025Prior Distribution and Model Confidence5 Sep 2025