Introduction
As Large Language Models (LLMs) are increasingly deployed in high-stakes decision-making, the need for transparent and faithful explanations becomes paramount. However, LLMs are known to produce "hallucinated" explanations—plausible-sounding justifications that do not actually reflect the model's internal reasoning process. This paper addresses the challenge of measuring faithfulness, the degree to which an explanation accurately represents the factors that influenced a model's prediction.
The Limitations of Current Metrics
The current standard for evaluating faithfulness is the Counterfactual Test (CT). In a CT, an intervention is made on the input (e.g., adding a word), and the evaluator checks if the model's predicted label changes. If the label flips, the intervention is deemed "impactful," and a faithful explanation is expected to mention that change.
The authors identify two critical flaws in this binary approach:
- The "Gaming" Problem: A model can achieve a high faithfulness score simply by being verbose. If an explanation repeats the entire input, it will technically mention every impactful factor, even if it also includes irrelevant ones, rendering the explanation useless for human oversight.
- The Binary Blindspot: CT only considers label flips. If an intervention shifts a class probability significantly (e.g., from 99% to 51%), the label remains the same, and the test ignores the impact. Conversely, a tiny shift from 49% to 51% is treated as a major event. This lack of nuance fails to capture the true sensitivity of the model.
Proposed Method: Correlational Counterfactual Test (CCT)
To overcome these issues, the authors propose Correlational Explanatory Faithfulness (CEF) and its implementation, the Correlational Counterfactual Test (CCT). This metric moves beyond binary outcomes to look at the relationship between the magnitude of internal probability shifts and the content of the generated explanation.
The CCT Workflow
- Intervention: A random adjective or adverb (an "Interventional Addition" or IA) is inserted into the prompt. To ensure these additions remain natural, the researchers used Llama2-70b-chat to filter for the top 20% most coherent interventions.
- Measuring Impact ($I$): Instead of checking for a label flip, the authors calculate the Total Variation Distance (TVD) between the model’s probability distributions before and after the intervention. This captures the total "shock" to the model's internal state.
- Measuring Mention ($M$): A binary measure determines whether the generated explanation mentions the inserted word.
- The Metric: The final score is the Pearson correlation between the impact ($I$) and the mention ($M$).
A faithful model should be more likely to mention a word if that word caused a significant shift in its internal probabilities. A low correlation suggests the model's explanation is decoupled from its decision-making logic.
Experimental Setup
The researchers evaluated the Llama2 family (7B, 13B, and 70B parameters) across three datasets featuring human-written explanations:
- e-SNLI: Natural Language Inference tasks.
- ComVE: Common sense validation.
- ECQA: Common sense question answering requiring detailed explanations.
They also compared two prompting strategies: Predict-then-Explain (PE) and Explain-then-Predict (EP).
Key Insights
Verbosity as a Mask
On the ECQA dataset, traditional CT metrics suggested models were relatively faithful. However, CCT revealed a correlation near zero (0.03 - 0.08). This confirmed that the models were simply repeating the input in their explanations. Because they mentioned almost everything, they "passed" the binary test without actually being faithful to the specific factors driving the prediction.
Scaling and Strategy
The study found that larger models are generally more faithful. Llama2-70B consistently outperformed the 7B and 13B versions in CCT scores, suggesting that as models scale, their internal logic and external explanations align more closely. Additionally, the Predict-then-Explain (PE) strategy was found to be more faithful than EP, even if EP occasionally improved task performance for smaller models.
The Importance of Probabilities
By utilizing TVD, the authors demonstrated that "relevant" factors are not just those that flip a prediction. An explanation that ignores a 40% drop in confidence is fundamentally unfaithful, even if the top-1 label remains unchanged. CCT provides a more granular and honest assessment of this relationship.
Conclusion and Future Work
The Correlational Counterfactual Test provides a more robust and less "gameable" metric for LLM faithfulness. While a significant step forward, the authors note several areas for future research, including the need to handle synonyms (semantic matching) and the need to evaluate how a word is used in an explanation rather than just its presence. Future iterations of CCT may also explore more complex, phrase-level interventions to better understand the nuances of model reasoning.
Summary updated