Skip to main content
QUICK REVIEW

[Paper Review] When Can Models Learn From Explanations? A Formal Framework for Understanding the Roles of Explanation Data

Peter Hase, Mohit Bansal|arXiv (Cornell University)|Feb 3, 2021
Topic ModelingComputer Science17 citations
TL;DR

This paper proposes a retrieval-based method that uses past explanations as inputs to improve model performance on downstream tasks, demonstrating up to 95% accuracy on a synthetic task where baselines without explanations achieve under 65%. It identifies six preconditions for explanation usefulness and finds that existing datasets like e-SNLI, TACRED, and SemEval fail to meet these, explaining why explanation retrieval does not improve performance in practice.

ABSTRACT

Many methods now exist for conditioning model outputs on task instructions, retrieved documents, and user-provided explanations and feedback. Rather than relying solely on examples of task inputs and outputs, these approaches use valuable additional data for improving model correctness and aligning learned models with human priors. Meanwhile, a growing body of evidence suggests that some language models can (1) store a large amount of knowledge in their parameters, and (2) perform inference over tasks in textual inputs at test time. These results raise the possibility that, for some tasks, humans cannot explain to a model any more about the task than it already knows or could infer on its own. In this paper, we study the circumstances under which explanations of individual data points can (or cannot) improve modeling performance. In order to carefully control important properties of the data and explanations, we introduce a synthetic dataset for experiments, and we also make use of three existing datasets with explanations: e-SNLI, TACRED, and SemEval. We first give a formal framework for the available modeling approaches, in which explanation data can be used as model inputs, as targets, or as a prior. After arguing that the most promising role for explanation data is as model inputs, we propose to use a retrieval-based method and show that it solves our synthetic task with accuracies upwards of 95%, while baselines without explanation data achieve below 65% accuracy. We then identify properties of datasets for which retrieval-based modeling fails. With the three existing datasets, we find no improvements from explanation retrieval. Drawing on findings from our synthetic task, we suggest that at least one of six preconditions for successful modeling fails to hold with these datasets. Our code is publicly available at https://github.com/peterbhase/ExplanationRoles

Motivation & Objective

  • To understand under what conditions explanations can improve model performance, especially in contrast to the growing capability of large language models to infer tasks from inputs alone.
  • To formalize the roles of explanation data in modeling—specifically as inputs, targets, or priors—and argue for their optimal use as inputs via retrieval.
  • To identify preconditions under which explanation retrieval improves performance, using a synthetic dataset to isolate and test these factors.
  • To evaluate the effectiveness of explanation retrieval on real-world datasets (e-SNLI, TACRED, SemEval) and explain the lack of performance gains.

Proposed method

  • The authors introduce a synthetic dataset with controlled features (index, m, n, r, d) to simulate real-world data and test explanation retrieval under known conditions.
  • They propose a retrieval-based modeling approach where explanations from past data points are retrieved and used as input tokens during inference.
  • A Sentence-BERT model is used for retrieval, and RoBERTa is fine-tuned as the classifier, with explanations provided as context for prediction.
  • The method evaluates performance under varying degrees of correlation between input features and explanation content to assess interpretability and learning capacity.
  • The framework formalizes explanation roles: as inputs (retrieved and fed to model), as targets (for supervision), or as priors (to regularize behavior).
  • The authors derive six preconditions for successful explanation retrieval, including feature computability, relevance across data points, and model quality thresholds.

Experimental results

Research questions

  • RQ1Under what conditions do explanations improve model performance when used as inputs via retrieval?
  • RQ2Why do explanation retrieval methods fail to improve performance on real-world datasets like e-SNLI, TACRED, and SemEval despite large-scale explanation collection?
  • RQ3How do the preconditions for effective explanation retrieval relate to the structure of real-world datasets and synthetic tasks?
  • RQ4To what extent can large language models infer task structure from inputs alone, reducing the need for explicit explanations?

Key findings

  • On the synthetic task, retrieval-based modeling achieved over 95% accuracy, significantly outperforming baselines that used only input-output pairs and achieved under 65% accuracy.
  • The model's ability to learn from explanations depends critically on the presence of easily computable features linking inputs to explanations, which are absent or weak in real datasets.
  • Explanation retrieval failed to improve performance on e-SNLI, TACRED, and SemEval, despite using thousands of explanations, indicating that at least one of six preconditions for success is not met in these settings.
  • The study identifies six preconditions for effective explanation retrieval: (1) computable features linking input to explanation, (2) cross-example relevance of explanations, (3) identifiable interpretation by the classifier, (4) sufficient quality of both retrieval and classifier models, (5) sufficient training data, and (6) non-reduundant explanation content.
  • The results suggest that for tasks where models can infer task structure from inputs alone—especially with strong pretraining—explanations provide diminishing returns, and more unexplained data often yields greater gains than explanation retrieval.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.