An Empirical Study of Counterfactual Self-Explanations in LLMs

Giannis Kalyvas, Giorgos Filandrianos, Orfeas Menis Mastromichalakis, Vassilis Lyberatos, Giorgos Stamou
9/15/2026
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large language models can easily generate explanations for their own outputs, but such self-explanations are not necessarily faithful to the model's behavior. We study this issue through counterfactual self-explanations, where a model minimally edits an input so that its own prediction changes. Across sentiment analysis and natural language inference, we evaluate ten instruction-tuned models from the LLaMA-3 and Qwen-2.5 families, measuring faithfulness, minimality, and alignment with human-annotated rationales. Our results show that model scale is the strongest determinant of explanation quality: larger models are substantially more likely to generate counterfactuals that flip their own predictions and target decision-relevant evidence. In contrast, the rationale-guided condition produces edit-minimal counterfactuals that are also more human-aligned. However, it does not consistently improve faithfulness. Overall, counterfactual self-explanations can provide useful behavioral evidence about model decisions, but their reliability depends strongly on model capacity and should be empirically validated rather than assumed.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kalyvas2026empirical,
  title  = {An Empirical Study of Counterfactual Self-Explanations in LLMs},
  author = {Giannis Kalyvas and Giorgos Filandrianos and Orfeas Menis Mastromichalakis and Vassilis Lyberatos and Giorgos Stamou},
  year   = {2026},
  eprint = {2609.17119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.17119v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.17119.svg)](https://codeofpaper.com/paper/2609.17119)

Discussion