VI-OOD: A Unified Representation Learning Framework for Textual Out-of-distribution Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection plays a crucial role in ensuring the safety and reliability of deep neural networks in various applications. While there has been a growing focus on OOD detection in visual data, the field of textual OOD detection has received less attention. Only a few attempts have been made to directly apply general OOD detection methods to natural language processing (NLP) tasks, without adequately considering the characteristics of textual data. In this paper, we delve into textual OOD detection with Transformers. We first identify a key problem prevalent in existing OOD detection methods: the biased representation learned through the maximization of the conditional likelihood p(ymid x) can potentially result in subpar performance. We then propose a novel variational inference framework for OOD detection (VI-OOD), which maximizes the likelihood of the joint distribution p(x, y) instead of p(ymid x). VI-OOD is tailored for textual OOD detection by efficiently exploiting the representations of pre-trained Transformers. Through comprehensive experiments on various text classification tasks, VI-OOD demonstrates its effectiveness and wide applicability. Our code has been released at urlhttps://github.com/liam0949/LLM-OOD.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 33 of its 52 references that are in the map. First posted on arXiv 9 Apr 2024.
Builds on
33 of 52 references.
References · 33
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2013Intriguing properties of neural networkscited by 5,155
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
21 more
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2019How to Fine-Tune BERT for Text Classification?cited by 411
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
- 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
- 2019Cyclical Annealing Schedule: A Simple Approach to Mitigating KL Vanishingcited by 191
- 2020Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encodercited by 145
- 2020Can Autonomous Vehicles Identify, Recover From, and Adapt to Distribution Shifts?cited by 139
- 2020A unifying mutual information view of metric learning: cross-entropy vs. pairwise lossescited by 100
- 2020Density of States Estimation for Out-of-Distribution Detectioncited by 74
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 71
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 70
- 2020Deep Open Intent Classification with Adaptive Decision Boundarycited by 56
- 2020Trust Issues: Uncertainty Estimation Does Not Enable Reliable OOD Detection On Medical Tabular Datacited by 52
- 2021Out-of-Scope Intent Detection with Self-Supervision and Discriminative Trainingcited by 42
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
- 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detectioncited by 29
- 2019Universal Text Representation from BERT: An Empirical Studycited by 28
- 2020Why is the Mahalanobis Distance Effective for Anomaly Detection?cited by 28
- 2022Enhancing Out-of-Distribution Detection in Natural Language Understanding via Implicit Layer Ensemblecited by 9
Built on by
Not cited yet.