mlsanityData to 14 Oct 2026

OOD Aware Supervised Contrastive Learning

arXiv 2310.01942 ↗First posted 3 Oct 2023cs.LG cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

Out-of-Distribution (OOD) detection is a crucial problem for the safe deployment of machine learning models identifying samples that fall outside of the training distribution, i.e. in-distribution data (ID). Most OOD works focus on the classification models trained with Cross Entropy (CE) and attempt to fix its inherent issues. In this work we leverage powerful representation learned with Supervised Contrastive (SupCon) training and propose a holistic approach to learn a classifier robust to OOD data. We extend SupCon loss with two additional contrast terms. The first term pushes auxiliary OOD representations away from ID representations without imposing any constraints on similarities among auxiliary data. The second term pushes OOD features far from the existing class prototypes, while pushing ID representations closer to their corresponding class prototype. When auxiliary OOD data is not available, we propose feature mixing techniques to efficiently generate pseudo-OOD features. Our solution is simple and efficient and acts as a natural extension of the closed-set supervised contrastive representation learning. We compare against different OOD detection methods on the common benchmarks and show state-of-the-art results.

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

Builds on

43 of 60 references.

References · 43

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2022Generative Adversarial Networkscited by 5,627
  4. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  6. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  7. 2020Supervised Contrastive Learningcited by 2,829
  8. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  9. 2013Describing Textures in the Wildcited by 2,125
  10. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  11. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  12. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
31 more
  1. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  2. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  3. 2016Conditional Image Generation with PixelCNN Decoderscited by 862
  4. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  5. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  6. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
  7. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  8. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  9. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  10. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  11. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  12. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  13. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  14. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  15. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  16. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 252
  17. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  18. 2020Classification-Based Anomaly Detection for General Datacited by 211
  19. 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
  20. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  21. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  22. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  23. 2021Adversarial Reciprocal Points Learning for Open Set Recognitioncited by 153
  24. 2021Semantically Coherent Out-of-Distribution Detectioncited by 107
  25. 2017AlignedReID: Surpassing Human-Level Performance in Person Re-Identificationcited by 61
  26. 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
  27. 2022Partial and Asymmetric Contrastive Learning for Out-of-Distribution Detection in Long-Tailed Recognitioncited by 44
  28. 2018WAIC, but Why? Generative Ensembles for Robust Anomaly Detectioncited by 25
  29. 2021Masked Contrastive Learning for Anomaly Detectioncited by 23
  30. 2021Continual Novelty Detectioncited by 10
  31. 2022Contrastive Classification and Representation Learning with Probabilistic Interpretationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 0; 2025: 3; 2026: 2.

7 papers.