Walk the Talk? Measuring the Faithfulness of Large Language Model Explanations

Katie Matton, Robert Osazuwa Ness, John V. Guttag, Emre Kiciman

TL;DR

This paper introduces a novel method to measure the "faithfulness" of Large Language Model (LLM) explanations, assessing whether the reasons an LLM provides for its answers truly reflect its underlying decision-making process. By formalizing faithfulness as the alignment between claimed influential concepts and truly influential concepts, the authors provide a way to uncover and understand how LLMs might mislead users, even when their explanations sound plausible.

What Problem Does This Paper Address?

LLMs can generate seemingly coherent explanations for their answers, leading users to trust them. However, these explanations can be "unfaithful," meaning they don't accurately represent the LLM's actual reasoning. This unfaithfulness can lead to serious issues like over-reliance on potentially biased or incorrect outputs, especially in high-stakes domains like healthcare or hiring. Existing methods for measuring faithfulness often provide a single score, but this paper aims to go deeper by identifying how explanations are unfaithful, revealing specific patterns of misleading claims.

Methods

The core of the paper's method lies in defining and estimating "causal concept faithfulness." This involves:

  1. Defining Faithfulness: Faithfulness is defined as the alignment between the causal effects of concepts in the input and the concepts that the LLM claims were influential in its explanation.
  2. Concept Extraction: An auxiliary LLM is used to identify high-level "concepts" (e.g., "gender," "age," "skills") within the input questions.
  3. Counterfactual Generation: The auxiliary LLM creates modified versions of the input questions ("counterfactuals") by changing the values of these concepts (e.g., swapping genders, removing information).
  4. Causal Effect Estimation: A Bayesian hierarchical model is used to estimate the "causal effect" (CE) of each concept – how much changing a concept's value influences the LLM's answer. This model pools information across questions to improve estimates.
  5. Explanation-Implied Effect Estimation: Another auxiliary LLM analyzes the LLM's explanations to determine which concepts the explanation claims were influential (Explanation-Implied Effect, EE).
  6. Faithfulness Score: The final faithfulness score is calculated as the correlation between the CE and EE for each concept, aggregated at both the question and dataset levels.

Datasets

The authors evaluate their method on two datasets:

  • Bias Benchmark QA (BBQ): A dataset designed to test for social biases in LLMs. The authors use a subset of questions augmented with "weak evidence" to elicit unfaithful explanations.
  • MedQA: A dataset of medical licensing exam questions, used to study faithfulness in a high-stakes domain where accurate reasoning is critical.

Key Insights and Ideas

  • Beyond a Single Score: The paper emphasizes that understanding why an explanation is unfaithful (the semantic patterns) is as crucial as knowing how unfaithful it is. This allows for more nuanced trust and targeted improvements.
  • Concepts as the Unit of Analysis: Focusing on high-level concepts rather than just tokens makes the analysis more interpretable and aligns with how LLMs often "reason."
  • Uncovering Hidden Biases: The method successfully identified instances where LLMs masked social biases (e.g., gender bias in hiring) or the influence of safety mechanisms, which were not explicitly mentioned in their explanations.
  • Domain-Specific Unfaithfulness: The patterns of unfaithfulness can differ across domains. For example, in medical QA, LLMs might mislead about which evidence influenced their decisions.
  • LLM Performance Varies: The study found differences in faithfulness scores across LLMs, with smaller models sometimes exhibiting higher faithfulness, suggesting that sheer scale doesn't guarantee faithful explanations.

Key Results

  • Faithfulness Scores:
    • On the BBQ dataset, GPT-3.5 achieved the highest faithfulness score (F(X) = 0.75), followed by Claude-3.5-Sonnet (0.62) and GPT-40 (0.56).
  • On the MedQA dataset, GPT-3.5 showed moderate faithfulness (F(X) = 0.50), while GPT-40 (0.34) and Claude-3.5-Sonnet (0.30) were less faithful.
  • Patterns of Unfaithfulness:
    • BBQ: Models tended to be faithful to "context" concepts but less so to "identity" and "behavior" concepts. They often cited behavior concepts regardless of their causal effect and omitted identity concepts.
  • MedQA: GPT-3.5 was more faithful than GPT-40 and Claude. Claude showed a clear pattern of omitting concepts with large causal effects (e.g., patient's mental status) while frequently mentioning those with smaller effects.
  • Objective vs. Subjective Questions: On objective BBQ questions, LLMs exhibited significantly higher faithfulness, suggesting that when there's clear evidence, they are more likely to align their explanations with their reasoning.
  • Anti-Bias Prompt Impact: Surprisingly, an anti-bias prompt decreased faithfulness for GPT-3.5, while having little effect on GPT-40 and Claude. This suggests that simply prompting for unbiased answers doesn't guarantee faithful explanations.

Limitations and Future Work

  • Auxiliary LLM Reliance: The method relies on an auxiliary LLM (GPT-40) for concept extraction and counterfactual generation, which can introduce its own errors.
  • Correlated Concepts: The current method struggles with highly correlated concepts, as intervening on one might not fully remove its influence if other correlated concepts remain. Future work aims to address this by intervening on multiple concepts jointly.
  • Dataset Size: Experiments were conducted on subsamples of questions due to cost constraints. While results showed robustness to sample size, larger datasets could provide more comprehensive insights.
  • Open-Source Models: The study focused on closed-source LLMs. Future work will analyze open-source models.
  • Prompt Engineering: Improving the quality of LLM-generated counterfactuals through specialized prompt engineering and error-checking mechanisms is a key area for future research.

Summary updated

BibTeX
@inproceedings{matton2025walk,
  author = {Katie Matton and Robert Osazuwa Ness and John V. Guttag and Emre Kiciman},
  title = {{Walk the Talk? Measuring the Faithfulness of Large Language Model Explanations}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=4ub9gpx9xw},
}
Figure