ER-Test: Evaluating Explanation Regularization Methods for Language Models
Not on the map. Why?
Abstract (arXiv)
By explaining how humans would solve a given task, human rationales can provide strong learning signal for neural language models (LMs). Explanation regularization (ER) aims to improve LM generalization by pushing the LM's machine rationales (Which input tokens did the LM focus on?) to align with human rationales (Which input tokens would humans focus on?). Though prior works primarily study ER via in-distribution (ID) evaluation, out-of-distribution (OOD) generalization is often more critical in real-world scenarios, yet ER's effect on OOD generalization has been underexplored. In this paper, we introduce ER-Test, a framework for evaluating ER models' OOD generalization along three dimensions: unseen dataset tests, contrast set tests, and functional tests. Using ER-Test, we extensively analyze how ER models' OOD generalization varies with different ER design choices. Across two tasks and six datasets, ER-Test shows that ER has little impact on ID performance but can yield large OOD performance gains. Also, we find that ER can improve OOD performance even with limited rationale supervision. ER-Test's results help demonstrate ER's utility and establish best practices for using ER effectively.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 66 of its 98 references that are in the map. First posted on arXiv 25 May 2022.
Builds on
66 of 98 references.
References · 66
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 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
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
38 more
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2018Annotation Artifacts in Natural Language Inference Datacited by 671
- 2019Attention is not not Explanationcited by 636
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 530
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
- 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 294
- 2016Understanding Neural Networks through Representation Erasurecited by 224
- 2015Visualizing and Understanding Neural Models in NLPcited by 200
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
- 2020Measuring Association Between Labels and Free-Text Rationalescited by 160
- 2019Interpretations are useful: penalizing explanations to align neural networks with prior knowledgecited by 145
- 2020Learning to Faithfully Rationalize by Constructioncited by 113
- 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
- 2020Contextualizing Hate Speech Classifiers with Post-hoc Explanationcited by 84
- 2021When Can Models Learn From Explanations? A Formal Framework for Understanding the Roles of Explanation Datacited by 75
- 2019Incorporating Priors with Feature Attribution on Text Classificationcited by 68
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2014Extraction of Salient Sentences from Labelled Documentscited by 50
- 2020A Survey of Active Learning for Text Classification using Deep Neural Networkscited by 50
- 2021Discretized Integrated Gradients for Explaining Language Modelscited by 46
- 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 44
- 2020FIND: Human-in-the-Loop Debugging Deep Text Classifierscited by 40
- 2016Representation of linguistic form and function in recurrent neural networkscited by 39
- 2021Evaluating Saliency Methods for Neural Language Modelscited by 37
- 2020Evaluating and Characterizing Human Rationalescited by 36
- 2021UNIREX: A Unified Learning Framework for Language Model Rationale Extractioncited by 32
- 2020Linguistically-Informed Transformations (LIT): A Method for Automatically Generating Contrast Setscited by 31
- 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
- 2020TriggerNER: Learning with Entity Triggers as Explanations for Named Entity Recognitioncited by 30
- 2021On the Diversity and Limits of Human Explanationscited by 30
50 most cited of 66 All 66 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 2; 2025: 1.
6 papers.
- 2023Explainability for Large Language Models: A Surveycited by 333
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documentscited by 17
- 2024Leveraging Machine-Generated Rationales to Facilitate Social Meaning Detection in Conversationscited by 2
- 2025Reasoning Beyond Labels: Measuring LLM Sentiment in Low-Resource, Culturally Nuanced Contextscited by 2
- 2022KNIFE: Distilling Reasoning Knowledge From Free-Text Rationalescited by 1
- 2024Explanation Regularisation through the Lens of Attributionscited by 1
- 2025Reasoning Beyond Labels: Measuring LLM Sentiment in Low-Resource, Culturally Nuanced Contexts6 Aug 2025
- 2024Explanation Regularisation through the Lens of Attributions23 Jul 2024
- 2024Leveraging Machine-Generated Rationales to Facilitate Social Meaning Detection in Conversations27 Jun 2024
- 2023TextGenSHAP: Scalable Post-hoc Explanations in Text Generation with Long Documents3 Dec 2023
- 2023Explainability for Large Language Models: A Survey2 Sep 2023
- 2022KNIFE: Distilling Reasoning Knowledge From Free-Text Rationales19 Dec 2022