Large Language Models As Faithful Explainers

Yu-Neng Chuang, Guanchu Wang, Chia-Yuan Chang, Ruixiang Tang, Fan Yang, Mengnan Du, Xuanting Cai, Xia Hu · DOI

Abstract

Large Language Models (LLMs) are increasingly deployed in high-stakes domains, yet they often generate "hallucinated" explanations that sound plausible but fail to reflect their actual internal logic. We introduce FaithLM, a model-agnostic framework designed to measure and optimize the faithfulness of LLM-generated explanations. By treating faithfulness as a causal intervention property, FaithLM utilizes "contrary hints" to evaluate how explanations influence model outputs. Through iterative optimization of both individual explanations and global trigger prompts, FaithLM significantly improves explanation fidelity and alignment with human reasoning across diverse datasets.

Introduction

As LLMs enter fields like healthcare and law, explainability is no longer optional. However, a critical gap exists between a plausible explanation (one that sounds good to a human) and a faithful one (one that accurately represents the model's reasoning). Current models often provide "post-hoc" rationalizations—deciding on an answer first and then constructing a justifying narrative. Existing evaluation methods, such as token-level masking, often fail to capture the semantic nuances of natural language reasoning. FaithLM addresses this by asking: How can we prove that an explanation actually influenced the model's output?

Methods: The FaithLM Framework

The core innovation of FaithLM is the conceptualization of explanation faithfulness through causal intervention.

Fidelity Evaluator and Contrary Hints

Instead of simple token deletion, FaithLM generates a contrary hint—a semantic opposite of the generated explanation. If an explanation is truly faithful, introducing its negation into the prompt should cause a significant shift in the model's prediction or confidence.

The Fidelity Evaluator uses contrary hints to measure how an explanation influences the model's output.

The framework calculates a Fidelity Score ($S_E$) based on this shift. A high score indicates that the explanation successfully captured the "load-bearing" logic of the decision.

Iterative Optimization Loops

FaithLM employs two distinct optimization strategies:

  1. Fidelity-enhanced Explanation: This loop iteratively refines a specific explanation for a single query to maximize its individual fidelity score.
  2. Trigger Prompt Optimization: This "meta-optimization" refines the instructions (trigger prompts) given to the explainer model across an entire dataset, identifying universal patterns that elicit more faithful responses.

Because FaithLM relies solely on input/output shifts, it remains model-agnostic and applicable to "black-box" models accessed via APIs.

Datasets and Evaluation

FaithLM was evaluated across several diverse domains to ensure broad applicability:

  • ECQA: Commonsense QA with human-annotated explanations.
  • TriviaQA-Long: Reading comprehension requiring evidence-based answers.
  • COPA: Choice of Plausible Alternatives for causal reasoning.
  • MedMCQA: High-stakes healthcare-specific questions.
  • Social-IQA & XCOPA: Used to test the transferability of optimized prompts to unseen datasets.

Key Insights

  • Faithfulness as Causality: By using contrary hints, the framework treats the explanation as a variable in a causal experiment rather than just a text similarity task.
  • Semantic Masking: Operating at the level of ideas via contrary hints allows FaithLM to bypass the limitations of granular, token-level feature importance methods.
  • The Trajectory Approach: The framework maintains a log of previous prompts and scores, allowing the model to "learn" from its own failures in faithfulness without weight updates.

Key Results

FaithLM consistently outperforms strong baselines such as SelfExp and Self-consistency.

Average fidelity scores improve consistently over optimization steps across various model pairings.
  • Superior Fidelity: In many tests, FaithLM achieved fidelity scores nearly double those of standard prompting methods. As shown in the performance trajectories, fidelity increases steadily with the number of optimization steps.
  • Human Alignment: Interestingly, optimizing for internal fidelity also led to explanations that were more aligned with human "golden" rationales, suggesting that faithful logic often mirrors human-like reasoning.
  • Robustness and Transferability: The system proved effective across different backbone models (e.g., Vicuna, Phi-2) and explainer models (e.g., GPT-3.5, Claude-2). Optimized prompts often transferred successfully to new datasets, suggesting universal instructional patterns for honesty.

Limitations and Future Work

Despite its success, FaithLM faces challenges regarding computational overhead. The iterative nature of the framework (often requiring 20+ steps) makes it more expensive and slower than single-shot methods. Additionally, the quality of optimization depends on the strength of the "explainer" LLM used to generate hints. Future work will focus on reducing the number of required iterations and deeper validation in specialized fields like healthcare.

Summary updated

BibTeX
@inproceedings{chuang2026large,
  author = {Yu-Neng Chuang and Guanchu Wang and Chia-Yuan Chang and Ruixiang Tang and Fan Yang and Mengnan Du and Xuanting Cai and Xia Hu},
  title = {{Large Language Models As Faithful Explainers}},
  booktitle = {EACL (Volume 1: Long Papers)},
  year = {2026},
  doi = {10.18653/v1/2026.eacl-long.177},
}
Figure