mlsanityData to 7 Oct 2026

FlowCon: Out-of-Distribution Detection using Flow-Based Contrastive Learning

arXiv 2407.03489 ↗First posted 3 Jul 2024cs.CVcited by 2

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2016Wide Residual Networkscited by 3,057
  6. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  7. 2020Supervised Contrastive Learningcited by 2,803
  8. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  9. 2013Describing Textures in the Wildcited by 2,110
  10. 2016Density estimation using Real NVPcited by 2,029
  11. 2016Concrete Problems in AI Safetycited by 1,582
  12. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
26 more
  1. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  2. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  3. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  4. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
  5. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  6. 2017ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseasescited by 969
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  8. 2014Semi-Supervised Learning with Deep Generative Modelscited by 494
  9. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  10. 2021Unsolved Problems in ML Safetycited by 291
  11. 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
  12. 2018Adversarially Learned One-Class Classifier for Novelty Detectioncited by 202
  13. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  14. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  15. 2020Can Autonomous Vehicles Identify, Recover From, and Adapt to Distribution Shifts?cited by 139
  16. 2020Hybrid Models for Open Set Recognitioncited by 109
  17. 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
  18. 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
  19. 2021Provable Guarantees for Understanding Out-of-distribution Detectioncited by 78
  20. 2022Self-Supervised Visual Representation Learning with Semantic Groupingcited by 70
  21. 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
  22. 2022X-Risk Analysis for AI Researchcited by 60
  23. 2019Hybrid Models with Deep and Invertible Featurescited by 41
  24. 2023Uncertainty-Aware Optimal Transport for Semantically Coherent Out-of-Distribution Detectioncited by 19
  25. 2022Heatmap-based Out-of-Distribution Detectioncited by 9
  26. 2022Testing the boundaries: Normalizing Flows for higher dimensional data setscited by 7

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.