PnPOOD : Out-Of-Distribution Detection for Text Classification via Plug andPlay Data Augmentation
Not on the map. Why?
Abstract (arXiv)
While Out-of-distribution (OOD) detection has been well explored in computer vision, there have been relatively few prior attempts in OOD detection for NLP classification. In this paper we argue that these prior attempts do not fully address the OOD problem and may suffer from data leakage and poor calibration of the resulting models. We present PnPOOD, a data augmentation technique to perform OOD detection via out-of-domain sample generation using the recently proposed Plug and Play Language Model (Dathathri et al., 2020). Our method generates high quality discriminative samples close to the class boundaries, resulting in accurate OOD detection at test time. We demonstrate that our model outperforms prior models on OOD sample detection, and exhibits lower calibration error on the 20 newsgroup text and Stanford Sentiment Treebank dataset (Lang, 1995; Socheret al., 2013). We further highlight an important data leakage issue with datasets used in prior attempts at OOD detection, and share results on a new dataset for OOD detection that does not suffer from the same problem.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 21 of its 28 references that are in the map. First posted on arXiv 31 Oct 2021.
Builds on
21 of 28 references.
References · 21
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
9 more
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 386
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
- 2019On-manifold Adversarial Data Augmentation Improves Uncertainty Calibrationcited by 18
- 2013Complexity of Word Collocation Networks: A Preliminary Structural Analysiscited by 17
Built on by
Citing papers per year: 2022: 3; 2023: 5; 2024: 1; 2025: 1; 2026: 2.
12 papers.
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
- 2023A Survey on Out-of-Distribution Detection in NLPcited by 31
- 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detectioncited by 29
- 2022OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution Queriescited by 15
- 2023Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Taskscited by 5
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibrationcited by 2
- 2023Semantic Role Labeling Guided Out-of-distribution Detectioncited by 1
- 2022Constraining Representations Yields Models That Know What They Don't Knowcited by 0
- 2023BED: Bi-Encoder-Based Detectors for Out-of-Distribution Detectioncited by 0
- 2024Tree-based Ensemble Learning for Out-of-distribution Detectioncited by 0
- 2026Enhancing Deep Neural Network Reliability with Refinement and Calibrationcited by 0
- 2026Few-Shot Out of Domain Intent Detection with Covariance Corrected Mahalanobis Distancecited by 0
- 2026Few-Shot Out of Domain Intent Detection with Covariance Corrected Mahalanobis Distance1 Sep 2026
- 2026Enhancing Deep Neural Network Reliability with Refinement and Calibration22 May 2026
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration28 Jun 2025
- 2024Tree-based Ensemble Learning for Out-of-distribution Detection5 May 2024
- 2023Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Tasks13 Jul 2023
- 2023BED: Bi-Encoder-Based Detectors for Out-of-Distribution Detection15 Jun 2023
- 2023Semantic Role Labeling Guided Out-of-distribution Detection29 May 2023
- 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detection22 May 2023
- 2023A Survey on Out-of-Distribution Detection in NLP5 May 2023
- 2022OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution Queries22 Oct 2022
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Models30 Sep 2022
- 2022Constraining Representations Yields Models That Know What They Don't Know30 Aug 2022