OOD Aware Supervised Contrastive Learning
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
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2022Generative Adversarial Networkscited by 5,627
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2020Supervised Contrastive Learningcited by 2,829
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2013Describing Textures in the Wildcited by 2,125
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
31 more
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2016Conditional Image Generation with PixelCNN Decoderscited by 862
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 252
- 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
- 2020Classification-Based Anomaly Detection for General Datacited by 211
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2021Adversarial Reciprocal Points Learning for Open Set Recognitioncited by 153
- 2021Semantically Coherent Out-of-Distribution Detectioncited by 107
- 2017AlignedReID: Surpassing Human-Level Performance in Person Re-Identificationcited by 61
- 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
- 2022Partial and Asymmetric Contrastive Learning for Out-of-Distribution Detection in Long-Tailed Recognitioncited by 44
- 2018WAIC, but Why? Generative Ensembles for Robust Anomaly Detectioncited by 25
- 2021Masked Contrastive Learning for Anomaly Detectioncited by 23
- 2021Continual Novelty Detectioncited by 10
- 2022Contrastive Classification and Representation Learning with Probabilistic Interpretationcited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 3; 2026: 2.
7 papers.
- 2025EigenScore: OOD Detection using Covariance in Diffusion Modelscited by 4
- 2023A Mixture of Exemplars Approach for Efficient Out-of-Distribution Detection with Foundation Modelscited by 2
- 2026Vendi Novelty Scores for Out-of-Distribution Detectioncited by 1
- 2023Incremental Object-Based Novelty Detection with Feedback Loopcited by 0
- 2025Seeing in the Dark: A Teacher-Student Framework for Dark Video Action Recognition via Knowledge Distillation and Contrastive Learningcited by 0
- 2025AIM: Adaptive Intra-Network Modulation for Balanced Multimodal Learningcited by 0
- 2026Learning through Creation: A Hash-Free Framework for On-the-Fly Category Discoverycited by 0
- 2026Learning through Creation: A Hash-Free Framework for On-the-Fly Category Discovery14 Mar 2026
- 2026Vendi Novelty Scores for Out-of-Distribution Detection10 Feb 2026
- 2025EigenScore: OOD Detection using Covariance in Diffusion Models8 Oct 2025
- 2025AIM: Adaptive Intra-Network Modulation for Balanced Multimodal Learning27 Aug 2025
- 2025Seeing in the Dark: A Teacher-Student Framework for Dark Video Action Recognition via Knowledge Distillation and Contrastive Learning6 Feb 2025
- 2023A Mixture of Exemplars Approach for Efficient Out-of-Distribution Detection with Foundation Models28 Nov 2023
- 2023Incremental Object-Based Novelty Detection with Feedback Loop15 Nov 2023