kFolden: k-Fold Ensemble for Out-Of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-Distribution (OOD) detection is an important problem in natural language processing (NLP). In this work, we propose a simple yet effective framework kFolden, which mimics the behaviors of OOD detection during training without the use of any external data. For a task with k training labels, kFolden induces k sub-models, each of which is trained on a subset with k-1 categories with the left category masked unknown to the sub-model. Exposing an unknown label to the sub-model during training, the model is encouraged to learn to equally attribute the probability to the seen k-1 labels for the unknown label, enabling this framework to simultaneously resolve in- and out-distribution examples in a natural way via OOD simulations. Taking text classification as an archetype, we develop benchmarks for OOD detection using existing text classification datasets. By conducting comprehensive comparisons and analyses on the developed benchmarks, we demonstrate the superiority of kFolden against current methods in terms of improving OOD detection performances while maintaining improved in-domain classification accuracy. The code and datasets can be found at: urlhttps://github.com/ShannonAI/kfolden-ood-detection.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 36 of its 64 references that are in the map. First posted on arXiv 29 Aug 2021.
Builds on
36 of 64 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 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
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
24 more
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2018On First-Order Meta-Learning Algorithmscited by 1,003
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2016Learning to learn by gradient descent by gradient descentcited by 616
- 2019How to Fine-Tune BERT for Text Classification?cited by 409
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2020Selective Question Answering under Domain Shiftcited by 228
- 2018Meta-Learning for Low-Resource Neural Machine Translationcited by 105
- 2021BertGCN: Transductive Text Classification by Combining GCN and BERTcited by 74
- 2019Calibration of Encoder Decoder Models for Neural Machine Translationcited by 67
- 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
- 2019Learning to Learn and Predict: A Meta-Learning Approach for Multi-Label Classificationcited by 35
- 2018Natural Language to Structured Query Generation via Meta-Learningcited by 33
- 2020Description Based Text Classification with Reinforcement Learningcited by 27
- 2017Confident Multiple Choice Learningcited by 24
- 2020Uncertainty-aware Self-training for Text Classification with Few Labelscited by 19
- 2019Coupling Retrieval and Meta-Learning for Context-Dependent Semantic Parsingcited by 18
- 2019Learning to Customize Model Structures for Few-shot Dialogue Generation Taskscited by 15
- 2019Neural Semantic Parsing in Low-Resource Settings with Back-Translation and Meta-Learningcited by 10
Built on by
Citing papers per year: 2022: 5; 2023: 4; 2024: 1.
10 papers.
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 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
- 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Featurescited by 12
- 2022Self-Supervised Losses for One-Class Textual Anomaly Detectioncited by 5
- 2024Dual-Adapter: Training-free Dual Adaptation for Few-shot Out-of-Distribution Detectioncited by 4
- 2022Exploring the Advantages of Dense-Vector to One-Hot Encoding of Intent Classes in Out-of-Scope Detection Taskscited by 1
- 2022Contrastive Novelty-Augmented Learning: Anticipating Outliers with Large Language Modelscited by 1
- 2024Dual-Adapter: Training-free Dual Adaptation for Few-shot Out-of-Distribution Detection25 May 2024
- 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detection22 May 2023
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validation19 May 2023
- 2023A Survey on Out-of-Distribution Detection in NLP5 May 2023
- 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Features30 Jan 2023
- 2022Contrastive Novelty-Augmented Learning: Anticipating Outliers with Large Language Models28 Nov 2022
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representations24 Nov 2022
- 2022POEM: Out-of-Distribution Detection with Posterior Sampling28 Jun 2022
- 2022Exploring the Advantages of Dense-Vector to One-Hot Encoding of Intent Classes in Out-of-Scope Detection Tasks18 May 2022
- 2022Self-Supervised Losses for One-Class Textual Anomaly Detection12 Apr 2022