Counterfactual Simulatability of LLM Explanations for Generation Tasks

Marvin Limpijankit, Yanda Chen, Melanie Subbiah, Nicholas Deas, Kathleen McKeownarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) often function as "black boxes," providing explanations that appear plausible but may not accurately reflect their underlying decision-making logic. This research addresses the critical need for transparency, especially as LLMs are deployed in high-stakes fields like medicine and law. Rather than focusing solely on factual correctness, this paper introduces a framework to evaluate counterfactual simulatability. This metric assesses whether a model's explanation enables a human to predict the model's behavior on new, related inputs, thereby building a reliable mental model of the AI.

Methodology: The Counterfactual Pipeline

Evaluating simulatability in open-ended language generation is challenging due to the infinite output space. The authors propose a multi-step pipeline to quantify two primary metrics: Generality (the breadth of scenarios an explanation covers) and Precision (the consistency with which a model follows its own stated rules).

The proposed evaluation pipeline for measuring counterfactual simulatability.

The process involves:

  1. Explanation Decomposition: Using a "pipeline LLM" (e.g., GPT-4 Turbo) to break long-form explanations into atomic units of information (e.g., "Include the primary event," "Specify the date").
  2. Counterfactual Generation: Generating new input scenarios that should trigger the same logic defined in the original explanation.
  3. Simulatability and Precision Checks: Verifying if the atomic units are present in the counterfactual input and if the model's subsequent output adheres to the promised elements.

Experimental Setup

The framework was tested on two distinct domains:

  • News Summarization (CNN/DM): A "skill-based" task where the model's logic involves information extraction and structural processing.
  • Medical Suggestion (Taiwan e-Hospital): A "knowledge-based" task requiring the application of internal medical knowledge to specific patient symptoms.

Key Findings

The study reveals a significant performance gap between task types. LLMs demonstrate high precision (~0.8-0.9) in summarization, suggesting they maintain a stable internal policy for procedural tasks. However, in medical suggestions, precision drops to approximately 0.5. This indicates that LLMs often act as "unreliable narrators" in knowledge-heavy domains; they may claim to prioritize certain symptoms in an explanation but ignore them when faced with a slightly different patient profile.

Precision and Generality scores for News Summarization and Medical Suggestion tasks.

Furthermore, the research found that GPT-4 Turbo's automated annotations achieved high agreement with human experts (Cohen’s Kappa ~0.6-0.7), validating the feasibility of automated large-scale simulatability audits.

Conclusion and Future Directions

While LLMs can provide helpful explanations for procedural skills, their explanations for knowledge-based reasoning remain inconsistent. Future research should explore whether "reasoning-heavy" models offer more honest and simulatable explanations. Additionally, improving the parsing of complex medical logic remains a technical hurdle, as current models still struggle to accurately decompose nuanced clinical reasoning.

Summary updated

BibTeX
@misc{limpijankit2025counterfactual,
  author = {Marvin Limpijankit and Yanda Chen and Melanie Subbiah and Nicholas Deas and Kathleen McKeown},
  title = {{Counterfactual Simulatability of LLM Explanations for Generation Tasks}},
  year = {2025},
  eprint = {2505.21740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.21740},
}
Figure