SELFOOD: Self-Supervised Out-Of-Distribution Detection via Learning to Rank
Not on the map. Why?
Abstract (arXiv)
Deep neural classifiers trained with cross-entropy loss (CE loss) often suffer from poor calibration, necessitating the task of out-of-distribution (OOD) detection. Traditional supervised OOD detection methods require expensive manual annotation of in-distribution and OOD samples. To address the annotation bottleneck, we introduce SELFOOD, a self-supervised OOD detection method that requires only in-distribution samples as supervision. We cast OOD detection as an inter-document intra-label (IDIL) ranking problem and train the classifier with our pairwise ranking loss, referred to as IDIL loss. Specifically, given a set of in-distribution documents and their labels, for each label, we train the classifier to rank the softmax scores of documents belonging to that label to be higher than the scores of documents that belong to other labels. Unlike CE loss, our IDIL loss function reaches zero when the desired confidence ranking is achieved and gradients are backpropagated to decrease probabilities associated with incorrect labels rather than continuously increasing the probability of the correct label. Extensive experiments with several classifiers on multiple classification datasets demonstrate the effectiveness of our method in both coarse- and fine-grained settings.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 33 of its 47 references that are in the map. First posted on arXiv 24 May 2023.
Builds on
33 of 47 references.
References · 33
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2013Intriguing properties of neural networkscited by 5,114
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
21 more
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 669
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 378
- 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2020Selective Question Answering under Domain Shiftcited by 228
- 2018Out-of-Distribution Detection Using an Ensemble of Self Supervised Leave-out Classifierscited by 126
- 2020Confidence-Aware Learning for Deep Neural Networkscited by 113
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2021Top-label calibration and multiclass-to-binary reductionscited by 46
- 2021Modeling Discriminative Representations for Out-of-Domain Detection with Supervised Contrastive Learningcited by 42
- 2021Out-of-Scope Intent Detection with Self-Supervision and Discriminative Trainingcited by 42
- 2019Likelihood Ratios and Generative Classifiers for Unsupervised Out-of-Domain Detection In Task Oriented Dialogcited by 33
- 2021Coarse2Fine: Fine-grained Text Classification on Coarsely-grained Annotated Datacited by 13
- 2022Leveraging QA Datasets to Improve Generative Data Augmentationcited by 12
- 2022LOPS: Learning Order Inspired Pseudo-Label Selection for Weakly Supervised Text Classificationcited by 11
- 2022Distribution Calibration for Out-of-Domain Detection with Bayesian Approximationcited by 7
- 2021Energy-based Unknown Intent Detection with Data Manipulationcited by 6
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 0; 2026: 1.
3 papers.
- 2024FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detectioncited by 14
- 2023DAIL: Data Augmentation for In-Context Learning via Self-Paraphrasecited by 6
- 2026HAAF: Hierarchical Adaptation and Alignment of Foundation Models for Few-Shot Pathology Anomaly Detectioncited by 1
- 2026HAAF: Hierarchical Adaptation and Alignment of Foundation Models for Few-Shot Pathology Anomaly Detection24 Jan 2026
- 2024FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detection15 Oct 2024
- 2023DAIL: Data Augmentation for In-Context Learning via Self-Paraphrase6 Nov 2023