Understanding the properties and limitations of contrastive learning for Out-of-Distribution detection
Nawid Keshtmand, Raul Santos-Rodriguez, Jonathan Lawry

TL;DR
This paper investigates the effectiveness and limitations of contrastive learning methods for out-of-distribution detection, analyzing different variants, class assignments, and spectral properties to understand their impact on detection performance.
Contribution
It provides a systematic comparison of instance and supervised contrastive learning for OOD detection, and explores spectral properties and class assignment behaviors affecting performance.
Findings
Instance discrimination is competitive with supervised methods when ID and OOD are distinct.
OOD samples often classified into classes with similar distributions.
Spectral decay properties correlate with OOD detection effectiveness.
Abstract
A recent popular approach to out-of-distribution (OOD) detection is based on a self-supervised learning technique referred to as contrastive learning. There are two main variants of contrastive learning, namely instance and class discrimination, targeting features that can discriminate between different instances for the former, and different classes for the latter. In this paper, we aim to understand the effectiveness and limitation of existing contrastive learning methods for OOD detection. We approach this in 3 ways. First, we systematically study the performance difference between the instance discrimination and supervised contrastive learning variants in different OOD detection settings. Second, we study which in-distribution (ID) classes OOD data tend to be classified into. Finally, we study the spectral decay property of the different contrastive learning approaches and examine…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData-Driven Disease Surveillance · Anomaly Detection Techniques and Applications · Advanced Chemical Sensor Technologies
MethodsContrastive Learning
