Assessing Out-of-Domain Language Model Performance from Few Examples
Not on the map. Why?
Abstract (arXiv)
While pretrained language models have exhibited impressive generalization capabilities, they still behave unpredictably under certain domain shifts. In particular, a model may learn a reasoning process on in-domain training data that does not hold for out-of-domain test data. We address the task of predicting out-of-domain (OOD) performance in a few-shot fashion: given a few target-domain examples and a set of models with similar training performance, can we understand how these models will perform on OOD test data? We benchmark the performance on this task when looking at model accuracy on the few-shot examples, then investigate how to incorporate analysis of the models' behavior using feature attributions to better tackle this problem. Specifically, we explore a set of "factors" designed to reveal model agreement with certain pathological heuristics that may indicate worse generalization capabilities. On textual entailment, paraphrase recognition, and a synthetic classification task, we show that attribution-based factors can help rank relative model OOD performance. However, accuracy on a few-shot test set is a surprisingly strong baseline, particularly when the system designer does not have in-depth prior knowledge about the domain shift.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 37 of its 48 references that are in the map. First posted on arXiv 13 Oct 2022.
Builds on
37 of 48 references.
References · 37
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2018Annotation Artifacts in Natural Language Inference Datacited by 671
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 599
25 more
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
- 2018Hypothesis Only Baselines in Natural Language Inferencecited by 295
- 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 294
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
- 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
- 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
- 2021The effectiveness of feature attribution methods and its correlation with automatic evaluation scorescited by 88
- 2020Evaluating Saliency Map Explanations for Convolutional Neural Networks: A User Studycited by 86
- 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
- 2019Incorporating Priors with Feature Attribution on Text Classificationcited by 68
- 2021"Will You Find These Shortcuts?" A Protocol for Evaluating the Faithfulness of Input Salience Methods for Text Classificationcited by 66
- 2019Understanding Dataset Design Choices for Multi-hop Reasoningcited by 50
- 2020Predicting Performance for Natural Language Processing Taskscited by 49
- 2019Inoculation by Fine-Tuning: A Method for Analyzing Challenge Datasetscited by 42
- 2021Evaluating the Faithfulness of Importance Measures in NLP by Recursively Masking Allegedly Important Tokens and Retrainingcited by 31
- 2021Refining Language Models with Compositional Explanationscited by 27
- 2021Towards More Fine-grained and Reliable NLP Performance Predictioncited by 26
- 2021Connecting Attributions and QA Model Behavior on Realistic Counterfactualscited by 20
- 2021Can Explanations Be Useful for Calibrating Black Box Models?cited by 20
- 2022ILDAE: Instance-Level Difficulty Analysis of Evaluation Datacited by 17
- 2022Concept-based Explanations for Out-Of-Distribution Detectorscited by 16
- 2021Sanity Simulations for Saliency Methodscited by 15
- 2021Explaining Natural Language Processing Classifiers with Occlusion and Language Modelingcited by 2
- 2021Making Document-Level Information Extraction Right for the Right Reasonscited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 2.
6 papers.
- 2024Benchmarks as Microscopes: A Call for Model Metrologycited by 35
- 2023Estimating Large Language Model Capabilities without Labeled Test Datacited by 9
- 2025FLUKE: A Linguistically-Driven and Task-Agnostic Framework for Robustness Evaluationcited by 3
- 2023Estimating Semantic Similarity between In-Domain and Out-of-Domain Samplescited by 1
- 2024Plug-and-Play Performance Estimation for LLM Services without Relying on Labeled Datacited by 0
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoningcited by 0
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning1 Oct 2025
- 2025FLUKE: A Linguistically-Driven and Task-Agnostic Framework for Robustness Evaluation24 Apr 2025
- 2024Plug-and-Play Performance Estimation for LLM Services without Relying on Labeled Data10 Oct 2024
- 2024Benchmarks as Microscopes: A Call for Model Metrology22 Jul 2024
- 2023Estimating Semantic Similarity between In-Domain and Out-of-Domain Samples1 Jun 2023
- 2023Estimating Large Language Model Capabilities without Labeled Test Data24 May 2023
Similar, not cited
Close in wording, no citation either way
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance
- 2023Distilling Robustness into Natural Language Inference Models with Domain-Targeted Augmentation
- 2020Language Models are Few-Shot Learners
- 2023Task Contamination: Language Models May Not Be Few-Shot Anymore
- 2026Predicting how model propensities generalize out of distribution
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers
- 2024LCA-on-the-Line: Benchmarking Out-of-Distribution Generalization with Class Taxonomies