Contrastive Training for Improved Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
Reliable detection of out-of-distribution (OOD) inputs is increasingly understood to be a precondition for deployment of machine learning systems. This paper proposes and investigates the use of contrastive training to boost OOD detection performance. Unlike leading methods for OOD detection, our approach does not require access to examples labeled explicitly as OOD, which can be difficult to collect in practice. We show in extensive experiments that contrastive training significantly helps OOD detection performance on a number of common benchmarks. By introducing and employing the Confusion Log Probability (CLP) score, which quantifies the difficulty of the OOD detection task by capturing the similarity of inlier and outlier datasets, we show that our method especially improves performance in the `near OOD' classes -- a particularly challenging setting for previous methods.
Key facts. Cited by 186 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 40; 2022: 51; 2023: 37; 2024: 27; 2025: 19; 2026: 12.
186 papers.
Sort:
By area:
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2021Deep Deterministic Uncertainty: A Simple Baselinecited by 200
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2021OVANet: One-vs-All Network for Universal Domain Adaptationcited by 92
38 more
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2021Graph Posterior Network: Bayesian Predictive Uncertainty for Node Classificationcited by 79
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
- 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
- 2021Mixture Outlier Exposure: Towards Out-of-Distribution Detection in Fine-grained Environmentscited by 65
- 2021On the Practicality of Deterministic Epistemic Uncertaintycited by 62
- 2022A Call to Reflect on Evaluation Practices for Failure Detection in Image Classificationcited by 51
- 2022Evaluation Gaps in Machine Learning Practicecited by 48
- 2022Partial and Asymmetric Contrastive Learning for Out-of-Distribution Detection in Long-Tailed Recognitioncited by 44
- 2021OpenMatch: Open-set Consistency Regularization for Semi-supervised Learning with Outlierscited by 43
- 2021Neural Mean Discrepancy for Efficient Out-of-Distribution Detectioncited by 42
- 2022Robust and Efficient Medical Imaging with Self-Supervisioncited by 40
- 2022Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positivescited by 37
- 2023Continuous Learning for Android Malware Detectioncited by 33
- 2022Class-Specific Semantic Reconstruction for Open Set Recognitioncited by 28
- 2022Watermarking for Out-of-distribution Detectioncited by 28
- 2021A statistical framework for efficient out of distribution detection in deep neural networkscited by 27
- 2021OODformer: Out-Of-Distribution Detection Transformercited by 27
- 2022Meta-Query-Net: Resolving Purity-Informativeness Dilemma in Open-set Active Learningcited by 24
- 2022Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcitycited by 24
- 2021Masked Contrastive Learning for Anomaly Detectioncited by 23
- 2022Breaking Down Out-of-Distribution Detection: Many Methods Based on OOD Training Data Estimate a Combination of the Same Core Quantitiescited by 23
- 2021Taxonomy of Machine Learning Safety: A Survey and Primercited by 22
- 2022Representation Uncertainty in Self-Supervised Learning as Variational Inferencecited by 22
- 2023A Message Passing Perspective on Learning Dynamics of Contrastive Learningcited by 22
- 2021Video Class Agnostic Segmentation Benchmark for Autonomous Drivingcited by 21
- 2022Igeood: An Information Geometry Approach to Out-of-Distribution Detectioncited by 20
- 2021A Unified Benchmark for the Unknown Detection Capability of Deep Neural Networkscited by 19
- 2023Uncertainty-Aware Optimal Transport for Semantically Coherent Out-of-Distribution Detectioncited by 19
- 2024Adapting Multi-modal Large Language Model to Concept Drift From Pre-training Onwardscited by 19
- 2023From Global to Local: Multi-scale Out-of-distribution Detectioncited by 18
- 2024Contrastive Instruction Tuningcited by 17
- 2021Do We Really Need to Learn Representations from In-domain Data for Outlier Detection?cited by 16
- 2023Devil is in the Queries: Advancing Mask Transformers for Real-world Medical Image Segmentation and Out-of-Distribution Localizationcited by 16
- 2023EAT: Towards Long-Tailed Out-of-Distribution Detectioncited by 16
- 2024Learning Structured Representations with Hyperbolic Embeddingscited by 16
- 2025Fewer Tokens, Greater Scaling: Self-Adaptive Visual Bases for Efficient and Expansive Representation Learningcited by 16
50 most cited of 186 All 186 (JSON)
- 2026Upholding Robustness in Federated Learning: Trends, Emerging Strategies, and Research Opportunities23 Sep 2026
- 2026PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliability10 Sep 2026
- 2026SVD-Based Typicality Maps for Out-of-Distribution Detection in Vision Transformers24 Aug 2026
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognition23 Jun 2026
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detection29 May 2026
- 2026Rethinking Vacuity for OOD Detection in Evidential Deep Learning7 May 2026
- 2026Detecting is Easy, Adapting is Hard: Local Expert Growth for Visual Model-Based Reinforcement Learning under Distribution Shift30 Apr 2026
- 2026Contrastive Conformal Sets27 Mar 2026
- 2026Beyond the Class Subspace: Teacher-Guided Training for Reliable Out-of-Distribution Detection in Single-Domain Models11 Mar 2026
- 2026Vendi Novelty Scores for Out-of-Distribution Detection10 Feb 2026
- 2026Breaking Semantic Hegemony: Decoupling Principal and Residual Subspaces for Generalized OOD Detection5 Feb 2026
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classification26 Jan 2026
38 more
- 2025Fewer Tokens, Greater Scaling: Self-Adaptive Visual Bases for Efficient and Expansive Representation Learning24 Nov 2025
- 2025CroTad: A Contrastive Reinforcement Learning Framework for Online Trajectory Anomaly Detection21 Nov 2025
- 2025Automatic Grid Updates for Kolmogorov-Arnold Networks using Layer Histograms11 Nov 2025
- 2025Mysteries of the Deep: Role of Intermediate Representations in Out of Distribution Detection7 Oct 2025
- 2025"A 6 or a 9?": Ensemble Learning Through the Multiplicity of Performant Models and Explanations11 Sep 2025
- 2025DCV-ROOD Evaluation Framework: Dual Cross-Validation for Robust Out-of-Distribution Detection6 Sep 2025
- 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection14 Jul 2025
- 2025Open-Set LiDAR Panoptic Segmentation Guided by Uncertainty-Aware Learning16 Jun 2025
- 2025Balanced Hyperbolic Embeddings Are Natural Out-of-Distribution Detectors11 Jun 2025
- 2025Improving Wildlife Out-of-Distribution Detection: Africas Big Five7 Jun 2025
- 2025FRAMES-VQA: Benchmarking Fine-Tuning Robustness across Multi-Modal Shifts in Visual Question Answering27 May 2025
- 2025Enhancing Out-of-Distribution Detection with Extended Logit Normalization15 Apr 2025
- 2025EOOD: Entropy-based Out-of-distribution Detection4 Apr 2025
- 2025HALO: Robust Out-of-Distribution Detection via Joint Optimisation27 Feb 2025
- 2025Out-of-Distribution Detection using Synthetic Data Generation5 Feb 2025
- 2025Outlier Synthesis via Hamiltonian Monte Carlo for Out-of-Distribution Detection28 Jan 2025
- 2025Self-supervised Benchmark Lottery on ImageNet: Do Marginal Improvements Translate to Improvements on Similar Datasets?26 Jan 2025
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Models20 Jan 2025
- 2025Uncertainty Guarantees on Automated Precision Weeding using Conformal Prediction13 Jan 2025
- 2024Function Space Diversity for Uncertainty Prediction via Repulsive Last-Layer Ensembles20 Dec 2024
- 2024Making the Flow Glow -- Robot Perception under Severe Lighting Conditions using Normalizing Flow Gradients10 Dec 2024
- 2024Learning Structured Representations with Hyperbolic Embeddings2 Dec 2024
- 2024Deep Active Learning in the Open World10 Nov 2024
- 2024FISHing in Uncertainty: Synthetic Contrastive Learning for Genetic Aberration Detection1 Nov 2024
- 2024Collapse-Proof Non-Contrastive Self-Supervised Learning7 Oct 2024
- 2024MorphoSeg: An Uncertainty-Aware Deep Learning Method for Biomedical Segmentation of Complex Cellular Morphologies25 Sep 2024
- 2024Diversity-grounded Channel Prototypical Learning for Out-of-Distribution Intent Detection17 Sep 2024
- 2024Towards certifiable AI in aviation: landscape, challenges, and opportunities13 Sep 2024
- 2024Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution Detection28 Aug 2024
- 2024TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learning28 Aug 2024
- 2024FlowCon: Out-of-Distribution Detection using Flow-Based Contrastive Learning3 Jul 2024
- 2024Enhancing OOD Detection Using Latent Diffusion24 Jun 2024
- 2024Zero-Shot Out-of-Distribution Detection with Outlier Label Exposure3 Jun 2024
- 2024Concept Matching with Agent for Out-of-Distribution Detection27 May 2024
- 2024Near OOD Detection for Vision-Language Prompt Learning with Contrastive Logit Score25 May 2024
- 2024Adapting Multi-modal Large Language Model to Concept Drift From Pre-training Onwards22 May 2024
- 2024Taming False Positives in Out-of-Distribution Detection with Human Feedback25 Apr 2024
- 2024Dissecting Sample Hardness: A Fine-Grained Analysis of Hardness Characterization Methods for Data-Centric AI7 Mar 2024
50 newest of 186 All 186 (JSON)
- 2024Adapting Multi-modal Large Language Model to Concept Drift From Pre-training Onwardscited by 19
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Modelscited by 5
- 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detectioncited by 3
- 2024Near OOD Detection for Vision-Language Prompt Learning with Contrastive Logit Scorecited by 2
- 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection14 Jul 2025
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Models20 Jan 2025
- 2024Near OOD Detection for Vision-Language Prompt Learning with Contrastive Logit Score25 May 2024
- 2024Adapting Multi-modal Large Language Model to Concept Drift From Pre-training Onwards22 May 2024
- 2024Enhancing OOD Detection Using Latent Diffusioncited by 1
- 2024Enhancing OOD Detection Using Latent Diffusion24 Jun 2024
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2021Deep Deterministic Uncertainty: A Simple Baselinecited by 200
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2021OVANet: One-vs-All Network for Universal Domain Adaptationcited by 92
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
12 most cited of 178 All 178 (JSON)
- 2026Upholding Robustness in Federated Learning: Trends, Emerging Strategies, and Research Opportunities23 Sep 2026
- 2026PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliability10 Sep 2026
- 2026SVD-Based Typicality Maps for Out-of-Distribution Detection in Vision Transformers24 Aug 2026
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognition23 Jun 2026
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detection29 May 2026
- 2026Rethinking Vacuity for OOD Detection in Evidential Deep Learning7 May 2026
- 2026Detecting is Easy, Adapting is Hard: Local Expert Growth for Visual Model-Based Reinforcement Learning under Distribution Shift30 Apr 2026
- 2026Contrastive Conformal Sets27 Mar 2026
- 2026Beyond the Class Subspace: Teacher-Guided Training for Reliable Out-of-Distribution Detection in Single-Domain Models11 Mar 2026
- 2026Vendi Novelty Scores for Out-of-Distribution Detection10 Feb 2026
- 2026Breaking Semantic Hegemony: Decoupling Principal and Residual Subspaces for Generalized OOD Detection5 Feb 2026
- 2026SeNeDiF-OOD: Semantic Nested Dichotomy Fusion for Out-of-Distribution Detection Methodology in Open-World Classification. A Case Study on Monument Style Classification26 Jan 2026
12 newest of 178 All 178 (JSON)