Contrastive Novelty-Augmented Learning: Anticipating Outliers with Large Language Models
Not on the map. Why?
Abstract (arXiv)
In many task settings, text classification models are likely to encounter examples from novel classes on which they cannot predict correctly. Selective prediction, in which models abstain on low-confidence examples, provides a possible solution, but existing models are often overly confident on unseen classes. To remedy this overconfidence, we introduce Contrastive Novelty-Augmented Learning (CoNAL), a two-step method that generates OOD examples representative of novel classes, then trains to decrease confidence on them. First, we generate OOD examples by prompting a large language model twice: we prompt it to enumerate relevant novel classes, then generate examples from each novel class matching the task format. Second, we train a classifier with a novel contrastive objective that encourages lower confidence on generated OOD examples than training examples. When trained with CoNAL, classifiers improve in their ability to detect and abstain on novel class examples over prior methods by an average of 2.3% in terms of accuracy under the accuracy-coverage curve (AUAC) and 5.5% AUROC across 4 NLP datasets, with no cost to in-distribution accuracy.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 44 of its 66 references that are in the map. First posted on arXiv 28 Nov 2022.
Builds on
44 of 66 references.
References · 44
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 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
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2019When Does Label Smoothing Help?cited by 985
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
32 more
- 2017Selective Classification for Deep Neural Networkscited by 799
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2015Towards Open Set Deep Networkscited by 533
- 2018Recent Advances in Open Set Recognition: A Surveycited by 309
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2020Selective Question Answering under Domain Shiftcited by 228
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2019Not Enough Data? Deep Learning to the Rescue!cited by 174
- 2020Data Augmentation using Pre-trained Transformer Modelscited by 168
- 2018Reducing Network Agnostophobiacited by 165
- 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
- 2019C2AE: Class Conditioned Auto-Encoder for Open-set Recognitioncited by 142
- 2017DOC: Deep Open Classification of Text Documentscited by 109
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 103
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2019Deep Unknown Intent Detection with Margin Losscited by 66
- 2022Investigating Selective Prediction Approaches Across Several Tasks in IID, OOD, and Adversarial Settingscited by 66
- 2019Out-of-domain Detection for Natural Language Understanding in Dialog Systemscited by 62
- 2019Out-of-distribution Detection in Classifiers via Generationcited by 49
- 2021Knowing More About Questions Can Help: Improving Calibration in Question Answeringcited by 47
- 2021Modeling Discriminative Representations for Out-of-Domain Detection with Supervised Contrastive Learningcited by 42
- 2022Domain Adaptation under Open Set Label Shiftcited by 32
- 2021No True State-of-the-Art? OOD Detection Methods are Inconsistent across Datasetscited by 31
- 2021Can Explanations Be Useful for Calibrating Black Box Models?cited by 20
- 2022Adversarial Unlearning: Reducing Confidence Along Adversarial Directionscited by 14
- 2021kFolden: k-Fold Ensemble for Out-Of-Distribution Detectioncited by 10
- 2021Out-of-distribution Detection and Generation using Soft Brownian Offset Sampling and Autoencoderscited by 8
Built on by
Citing papers per year: 2024: 1.
1 paper.