mlsanityData to 7 Oct 2026

Pseudo Outlier Exposure for Out-of-Distribution Detection using Pretrained Transformers

arXiv 2307.09455 ↗First posted 18 Jul 2023cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

For real-world language applications, detecting an out-of-distribution (OOD) sample is helpful to alert users or reject such unreliable samples. However, modern over-parameterized language models often produce overconfident predictions for both in-distribution (ID) and OOD samples. In particular, language models suffer from OOD samples with a similar semantic representation to ID samples since these OOD samples lie near the ID manifold. A rejection network can be trained with ID and diverse outlier samples to detect test OOD samples, but explicitly collecting auxiliary OOD datasets brings an additional burden for data collection. In this paper, we propose a simple but effective method called Pseudo Outlier Exposure (POE) that constructs a surrogate OOD dataset by sequentially masking tokens related to ID classes. The surrogate OOD sample introduced by POE shows a similar representation to ID data, which is most effective in training a rejection network. Our method does not require any external OOD data and can be easily implemented within off-the-shelf Transformers. A comprehensive comparison with state-of-the-art algorithms demonstrates POE's competitiveness on several text classification benchmarks.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 38 references that are in the map. First posted on arXiv 18 Jul 2023.

Builds on

25 of 38 references.

References · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  6. 2020Supervised Contrastive Learningcited by 2,803
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  10. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  11. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  12. 2020Energy-based Out-of-distribution Detectioncited by 1,296
13 more
  1. 2019How Can We Know What Language Models Know?cited by 953
  2. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  3. 2019Attention is not not Explanationcited by 629
  4. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  5. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
  6. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  7. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  8. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  9. 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
  10. 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
  11. 2020Pre-Training Transformers as Energy-Based Cloze Modelscited by 52
  12. 2022News Category Datasetcited by 42
  13. 2019Interactive Language Learning by Question Answeringcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 1.

5 papers.