mlsanityData to 14 Oct 2026

Assessing Out-of-Domain Language Model Performance from Few Examples

arXiv 2210.06725 ↗First posted 13 Oct 2022cs.CLcited by 6

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

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  4. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  5. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  6. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  7. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  8. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
  9. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
  10. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  11. 2018Annotation Artifacts in Natural Language Inference Datacited by 671
  12. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 599
25 more
  1. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
  2. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  3. 2018Hypothesis Only Baselines in Natural Language Inferencecited by 295
  4. 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 294
  5. 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
  6. 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
  7. 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
  8. 2021The effectiveness of feature attribution methods and its correlation with automatic evaluation scorescited by 88
  9. 2020Evaluating Saliency Map Explanations for Convolutional Neural Networks: A User Studycited by 86
  10. 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
  11. 2019Incorporating Priors with Feature Attribution on Text Classificationcited by 68
  12. 2021"Will You Find These Shortcuts?" A Protocol for Evaluating the Faithfulness of Input Salience Methods for Text Classificationcited by 66
  13. 2019Understanding Dataset Design Choices for Multi-hop Reasoningcited by 50
  14. 2020Predicting Performance for Natural Language Processing Taskscited by 49
  15. 2019Inoculation by Fine-Tuning: A Method for Analyzing Challenge Datasetscited by 42
  16. 2021Evaluating the Faithfulness of Importance Measures in NLP by Recursively Masking Allegedly Important Tokens and Retrainingcited by 31
  17. 2021Refining Language Models with Compositional Explanationscited by 27
  18. 2021Towards More Fine-grained and Reliable NLP Performance Predictioncited by 26
  19. 2021Connecting Attributions and QA Model Behavior on Realistic Counterfactualscited by 20
  20. 2021Can Explanations Be Useful for Calibrating Black Box Models?cited by 20
  21. 2022ILDAE: Instance-Level Difficulty Analysis of Evaluation Datacited by 17
  22. 2022Concept-based Explanations for Out-Of-Distribution Detectorscited by 16
  23. 2021Sanity Simulations for Saliency Methodscited by 15
  24. 2021Explaining Natural Language Processing Classifiers with Occlusion and Language Modelingcited by 2
  25. 2021Making Document-Level Information Extraction Right for the Right Reasonscited by 2

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 2; 2025: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning
  2. 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance
  3. 2023Distilling Robustness into Natural Language Inference Models with Domain-Targeted Augmentation
  4. 2020Language Models are Few-Shot Learners
  5. 2023Task Contamination: Language Models May Not Be Few-Shot Anymore
  6. 2026Predicting how model propensities generalize out of distribution
  7. 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers
  8. 2024LCA-on-the-Line: Benchmarking Out-of-Distribution Generalization with Class Taxonomies