Source-linked AI summary

Faithfulness Tests for Natural Language Explanations

Pepa Atanasova, Oana-Maria Camburu, Christina Lioma, Thomas Lukasiewicz, Jakob Grue Simonsen, Isabelle Augenstein

arXiv:2305.18029v2cs.CLcs.AI

TL;DR

Natural language explanations may fail to reflect neural models’ actual decision-making, motivating better faithfulness evaluation. The paper introduces counterfactual-editing and input-reconstruction tests, which reveal unfaithful NLEs across evaluated models and datasets. The authors position these tests as tools for assessing emerging NLE models, while noting that they are not comprehensive.

  • Problem

    Natural language explanations can be unfaithful to neural models’ decision-making, but evaluating their faithfulness is difficult because their reasons are often unknown and may include words absent from the input.

    Source: §1 · p. 1
  • Method

    The paper tests NLE faithfulness by inserting prediction-changing reasons and by reconstructing inputs from reasons stated in generated explanations.

    Source: §1 · p. 1
  • Results

    All four high-level NLE model setups were prone to generating unfaithful explanations, with counterfactual unfaithfulness reaching 59.04% and input-reconstruction unfaithfulness reaching 40%.

    Source: §5 · p. 5, §3.1 · p. 5
  • Takeaways & Limitations

    The tests provide tools for assessing existing and emerging NLE models and motivate complementary faithfulness tests.

    Source: §5 · p. 5, §3.1 · p. 5

    The tests are not comprehensive, so perfect performance on them may still coexist with unfaithful NLEs.

    Source: Limitations · p. 6

Abstract

from arXiv · show

Explanations of neural models aim to reveal a model's decision-making process for its predictions. However, recent work shows that current methods giving explanations such as saliency maps or counterfactuals can be misleading, as they are prone to present reasons that are unfaithful to the model's inner workings. This work explores the challenging question of evaluating the faithfulness of natural language explanations (NLEs). To this end, we present two tests. First, we propose a counterfactual input editor for inserting reasons that lead to counterfactual predictions but are not reflected by the NLEs. Second, we reconstruct inputs from the reasons stated in the generated NLEs and check how often they lead to the same predictions. Our tests can evaluate emerging NLE models, proving a fundamental tool in the development of faithful NLEs.

1 Introduction

The paper addresses how to evaluate whether natural language explanations faithfully reflect neural models’ decision-making. It introduces two tests designed to expose unfaithful explanations despite NLEs’ expressiveness and human readability.

  • Existing explanations can be unfaithful, with saliency maps sometimes independent of training data or model parameters and other explanation methods also questioned.Source: §1 · p. 1
  • NLEs are more expressive and human-readable than saliency maps, but their free text can include words absent from the input.Source: §1 · p. 1
  • Because NLEs lack known ground-truth reasons and direct input-to-explanation mappings, existing faithfulness tests for saliency maps cannot be directly applied.Source: §1 · p. 1
  • The first test inserts reasons that change model predictions and checks whether the generated NLE reflects those counterfactual interventions.Source: §1 · p. 1
  • The second test reconstructs inputs from reasons stated in generated NLEs and checks whether the reconstructed inputs produce the corresponding prediction.Source: §1 · p. 1

2 The Faithfulness Tests

The paper proposes two tests for NLE faithfulness: counterfactual insertions that change predictions and input reconstructions from stated reasons. These tests expose when generated explanations omit prediction-relevant edits or fail to preserve the original prediction.

2.1 The Counterfactual Test: Are NLE models faithful to reasons for counterfactual pre-

  • The counterfactual test inserts a contiguous word set W that changes the model’s prediction, then checks whether the counterfactual NLE mentions at least one inserted word.The editor generates candidate insertions for a target counterfactual label, while evaluation measures the percentage of instances satisfying this mismatch condition.Source: §2.1 · p. 2
  • The test assumes inserted edits should be reflected in NLEs, although confounding changes in the model’s attention may also explain prediction changes and are left for future work.The authors hypothesize such confounding is rare, especially for insertions rather than deletions.Source: §2.1 · p. 2
  • The counterfactual metric is not a complete measure of overall NLE faithfulness because it covers only counterfactual reasons and depends on the editor’s ability to find them.Failure to find many counterfactual reasons can make NLEs appear more faithful.Source: §2.1 · pp. 2–3
  • Table 2 reports counterfactual-test results for random, counterfactual-editor, and combined setups, measuring prediction-changing insert success and unfaithfulness among changed predictions and across the full test set.Source: Table 2 · p. 3
  • Input reconstruction tests whether reasons extracted from an NLE form a new input that receives the same prediction as the original input.Because NLEs lack a direct token-to-reason mapping, reconstruction functions are task-dependent; they were built for e-SNLI and ComVE but not CoS-E.Source: §2.1 · p. 3

3 Experiments

The experiments evaluate four NLE model setups on three datasets using counterfactual and input-reconstruction tests. Across tests, all setups produce substantial unfaithfulness, with no consistent faithfulness ranking.

3 Experiments

  • The study compares four setups formed by multi-task versus single-task training and reasoning versus rationalizing generation.The setups are MT-Re, MT-Ra, ST-Re, and ST-Ra; rationalizing models condition NLE generation on the predicted label.Source: §3 · pp. 3–4
  • The experiments use e-SNLI, CoS-E, and ComVE, covering textual entailment, commonsense question answering, and commonsense reasoning.A T5-base model is used for both the NLE models and the counterfactual editor.Source: §3 · p. 4

3.1 Results

  • The counterfactual editor generally finds more prediction-changing insertions than the random baseline, producing higher detected unfaithfulness.The random baseline’s words are conjectured to be rarer in the datasets than the editor’s learned insertions.Source: §3.1 · p. 4
  • 37.04%–59.04% of instances were unfaithful to counterfactual interventions across datasets and model setups.The counterfactual editor found prediction-changing insertions for up to 56.70% of e-SNLI instances, while the combined interventions reached 59.04%.Source: §3.1 · pp. 4–5
  • Input reconstruction found up to 14% unfaithful NLEs for e-SNLI and up to 40% for ComVE, despite reconstructing only some e-SNLI inputs.Inputs were reconstructed for up to 4487 of 10K e-SNLI instances and all ComVE test instances.Source: §3.1 · p. 5
  • All four model types show similar faithfulness results without a consistent ranking across datasets and tests.Reasoning models tend to be less faithful than rationalizing models in most cases, but the pattern is not universal.Source: §3.1 · p. 5

4 Related Work

Prior faithfulness evaluation focuses largely on saliency maps or NLE plausibility, but their diagnostics do not directly transfer to NLEs. The paper positions its quantitative tests as complementary diagnostics for NLE faithfulness.

4 Related Work

  • Saliency-map diagnostics measure prediction changes after removing or manipulating important input regions, relying on token-to-score correspondence.Existing approaches include comprehensiveness, sufficiency, ROAR, and adversarial input manipulations.Source: §4 · p. 5
  • These saliency-map tests cannot be directly applied to NLEs because NLEs may contain text absent from the input.NLEs lack the one-to-one correspondence between explanation elements and input regions assumed by saliency diagnostics.Source: §4 · p. 5
  • Existing NLE studies often evaluate plausibility or whether an observer can simulate model outputs from generated explanations.Observer-based evaluation may use agents or humans, whereas plausibility alone does not test faithfulness.Source: §4 · p. 5
  • The proposed tests complement prior sanity checks by providing quantitative metrics for NLE faithfulness.Wiegreffe et al. (2021) use pass/fail tests based on robustness and shared important tokens; the proposed tests assess different properties.Source: §4 · p. 5

5 Summary and Outlook

The paper introduces two tests for evaluating NLE faithfulness and finds that all four high-level NLE model setups can generate unfaithful explanations. These tests are intended to support evaluation of emerging models and motivate complementary tests.

5 Summary and Outlook

  • The paper introduces two tests to evaluate the faithfulness of NLE models.Source: §5 · p. 5
  • All four high-level NLE model setups are prone to generate unfaithful NLEs, reinforcing the need for evidence of faithfulness.Source: §5 · p. 5
  • The tests can be used to evaluate emerging NLE models and inspire complementary faithfulness tests.Source: §5 · p. 5

Limitations

The tests are useful but not comprehensive: passing them does not guarantee faithful NLEs, and both tests have important scope and construction limitations.

  • Perfect performance on these tests may still coexist with unfaithful NLEs because the tests are not comprehensive.Source: Limitations · p. 6
  • The counterfactual test may miss faithful explanations that reflect other relevant prediction factors rather than the inserted counterfactual reasons.Source: Limitations · p. 6
  • Random and editor-generated insertions can lack semantic coherence, motivating future methods that generate coherent candidates while exposing unfaithful NLEs.Source: Limitations · p. 6
  • The reconstruction test relies on task-dependent hand-crafted heuristics, and no rule-based reconstruction was possible for CoS-E.Source: Limitations · p. 6
  • Learned reconstruction functions trained with a small number of annotations are proposed as a route toward applying the second test across datasets.Source: Limitations · p. 6

A More Examples of Unfaithful NLEs

The example tables illustrate how the random insertion baseline and counterfactual editor expose unfaithful explanations by altering inputs and checking mismatched NLEs or predictions.

Random insertion baseline

  • Table 4 shows random-insertion examples across three datasets, with changed input parts and interventions marked separately to identify mismatched NLEs or predictions.Source: Table 4 · p. 9

Counterfactual editor

  • Table 5 shows counterfactual-editor examples across three datasets, using marked edits and mismatched outcomes to identify unfaithful NLEs.Source: Table 5 · p. 9

A.1 Model Performance

The appendix reports task prediction accuracy and generated-explanation quality for the models described in Eq 3.

Model performance

  • Table 7 reports model performance using Acc for task prediction and BLEU for generated explanations against gold human explanations.Source: Table 7 · p. 10
Loading 2305.18029v2…