Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Tasks
Not on the map. Why?
Abstract (arXiv)
State-of-the-art models can perform well in controlled environments, but they often struggle when presented with out-of-distribution (OOD) examples, making OOD detection a critical component of NLP systems. In this paper, we focus on highlighting the limitations of existing approaches to OOD detection in NLP. Specifically, we evaluated eight OOD detection methods that are easily integrable into existing NLP systems and require no additional OOD data or model modifications. One of our contributions is providing a well-structured research environment that allows for full reproducibility of the results. Additionally, our analysis shows that existing OOD detection methods for NLP tasks are not yet sufficiently sensitive to capture all samples characterized by various types of distributional shifts. Particularly challenging testing scenarios arise in cases of background shift and randomly shuffled word order within in domain texts. This highlights the need for future work to develop more effective OOD detection approaches for the NLP problems, and our work provides a well-defined foundation for further research in this area.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 33 of its 48 references that are in the map. First posted on arXiv 13 Jul 2023.
Builds on
33 of 48 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023A Survey of Large Language Modelscited by 2,537
- 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
- 2016Concrete Problems in AI Safetycited by 1,582
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
21 more
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
- 2021A Survey of Human-in-the-loop for Machine Learningcited by 214
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2013Early stopping and non-parametric regression: An optimal data-dependent stopping rulecited by 86
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2020On the Value of Out-of-Distribution Testing: An Example of Goodhart's Lawcited by 74
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2022Diagnosing failures of fairness transfer across distribution shift in real-world medical settingscited by 45
- 2022News Category Datasetcited by 42
- 2022Efficient Classification of Long Documents Using Transformerscited by 30
- 2022Twitter Topic Classificationcited by 22
- 2021Question Answering Survey: Directions, Challenges, Datasets, Evaluation Matricescited by 17
- 2022Back to the Basics: Revisiting Out-of-Distribution Detection Baselinescited by 16
- 2021PnPOOD : Out-Of-Distribution Detection for Text Classification via Plug andPlay Data Augmentationcited by 12
- 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Featurescited by 12
- 2023Unsupervised Evaluation of Out-of-distribution Detection: A Data-centric Perspectivecited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 3; 2026: 1.
5 papers.
- 2023Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothnesscited by 15
- 2025Text Classification Under Class Distribution Shift: A Surveycited by 2
- 2025Coarse-to-Fine Open-Set Graph Node Classification with Large Language Modelscited by 1
- 2025CoBA: Counterbias Text Augmentation for Mitigating Various Spurious Correlations via Semantic Triplescited by 0
- 2026OpenAutoNLU: Open Source AutoML Library for NLUcited by 0
- 2026OpenAutoNLU: Open Source AutoML Library for NLU2 Mar 2026
- 2025Coarse-to-Fine Open-Set Graph Node Classification with Large Language Models18 Dec 2025
- 2025CoBA: Counterbias Text Augmentation for Mitigating Various Spurious Correlations via Semantic Triples26 Aug 2025
- 2025Text Classification Under Class Distribution Shift: A Survey18 Feb 2025
- 2023Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothness4 Oct 2023