Learning From Hard Negative Samples: Multi-Prototype Contrastive Learning for Out-of-Distribution Detection

Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

Out-of-distribution (OOD) detection is an essential task when we deploy the trained deep learning model with the closed-world assumption to real-world scenarios. Recently, many researchers use prototypes representing the mean of each in-distribution (ID) class as anchors in contrastive learning. This approach allows samples within a class to cluster more tightly for compact ID data embeddings while enabling dispersed embeddings for OOD data. As studies utilizing prototypes shift from single to multi-prototype approaches, some prototypes positioned farther from the class center become vulnerable to hard negative samples; these samples have similar features to the anchor prototype. To alleviate this issue, we propose ADAPT, a novel strategy to adapt for hard negative samples on multi-prototype contrastive learning. This approach dynamically adjusts the weight for negative samples, enabling the model to robustly handle hard negative samples and leading to more compact intra-class and dispersed inter-class embeddings for ID data. Moreover, to ensure training stability for initial unstable prototypes, we quantify prototype alignment level and adjust the temperature coefficient used for training accordingly. Consequently, ADAPT demonstrates state-of-the-art performance on both standard and more challenging Near-OOD detection benchmarks.

키워드

PrototypesTrainingSignal detectionModelingContrastive learningLearning (artificial intelligence)TemperatureConferencesDispersionMachine learningOut-of-distribution detectioncontrastive learningmulti-prototyperepresentation learningdeep learning
제목
Learning From Hard Negative Samples: Multi-Prototype Contrastive Learning for Out-of-Distribution Detection
저자
Suh, JinhyukHur, Youngbum
DOI
10.1109/ACCESS.2026.3699706
발행일
2026
유형
Article
저널명
IEEE Access
14
페이지
84797 ~ 84808