Abstract
Large Language Models (LLMs) are increasingly used to provide explanations for their predictions. However, the degree to which these rationales align with human reasoning and faithfully represent the model's internal logic remains a subject of debate. This paper investigates the relationship between human alignment and model faithfulness across various extraction methods, including prompting and gradient-based attribution. By evaluating models on three diverse datasets (e-SNLI, FEVER, and MedicalBios), the authors demonstrate that fine-tuning significantly enhances the legibility of internal decision-making processes, making attribution methods more effective than direct prompting for generating faithful explanations.
Introduction
As LLMs enter high-stakes domains like medicine and law, understanding the "why" behind a prediction is as critical as the prediction itself. Researchers typically seek rationales—subsets of input tokens that drive a model's decision. This search is governed by two primary properties: Human Alignment (plausibility to a person) and Model Faithfulness (honesty regarding the model's internal process).
Previous studies have yielded inconsistent findings regarding LLM faithfulness. This research identifies two key confounding factors: initial low task accuracy (label bias) and the lack of systematic comparison between "self-explanation" (prompting) and "feature attribution" (mathematical techniques like gradients).
The Evaluation Framework
To address these inconsistencies, the authors propose a framework that distinguishes between what a model says it is doing and what it is actually doing.
Human Alignment is measured by comparing model-generated rationales against human-annotated ones using F1 scores. Model Faithfulness is assessed via the "Flip Rate": if the identified rationale tokens are masked, does the model's prediction change? A high flip rate suggests the rationale was indeed "load-bearing" for the model's logic.
Methodology
The study compares two rationale extraction paradigms:
- Prompting-Based: Directly asking the model to identify keywords. This includes "Unbound" prompts and "Top-Var" prompts (fixed length $k$).
- Attribution-Based: Using internal model signals, specifically Attention Weights, Simple Gradients (Saliency), and Input×Gradient.
The researchers utilized three datasets: e-SNLI (natural language inference), FEVER (fact verification), and MedicalBios (occupational prediction). Models were fine-tuned using LoRA (Low-Rank Adaptation) to observe how explanation quality evolves with task proficiency.
Key Results and Discussion
Fine-tuning serves as a "clarifier" for the model's internal logic. As shown in the accuracy trends across datasets, models rapidly improve their task performance during the first few epochs.
The "Plausible Liar" Effect
A significant finding is that prompting-based explanations are often less faithful than attribution methods. While a model might generate a rationale that appears reasonable to a human, it may not reflect the actual tokens the transformer used to reach its conclusion.
Fine-tuning and Legibility
In pre-trained models with low accuracy, faithfulness metrics are often obscured by "label bias." For instance, a model biased toward a specific label might not change its prediction even when key words are masked. Fine-tuning mitigates this bias, making attribution methods (especially Saliency and Input×Gradient) significantly more aligned with human reasoning. Interestingly, while fine-tuning improves the alignment of attribution methods, it does not have the same consistent positive effect on prompting-based explanations.
Gradients vs. Attention
The results confirm that gradient-based methods generally outperform raw attention weights in identifying influential tokens. On the e-SNLI dataset, the flip rate for Saliency in a fine-tuned Mistral model reached 50%, indicating it successfully identified the core logic of the model.
Conclusion and Limitations
While fine-tuning improves the transparency of LLMs, a gap remains between machine-generated and human-selected rationales. Current models still struggle to match the flip rates of human rationales, suggesting that "machine explanations" are not yet perfect.
Limitations of this work include the focus on models up to 8B parameters and the potential for "out-of-distribution" confusion when using [MASK] tokens. Future research should explore larger model scales and more robust perturbation methods to further refine our understanding of model faithfulness.
Summary updated