LLMs Don't Know Their Own Decision Boundaries: The Unreliability of Self-Generated Counterfactual Explanations

Harry Mayne, Ryan Othniel Kearns, Yushi Yang, Andrew M. Bean, Eoin Delaney +2 more
9/11/2025
cs.LGcs.AIcs.CL

Official code: HarryMayne/SCEs (3 stars, MIT, last commit 2025-09-11).

Abstract

To collaborate effectively with humans, language models must be able to explain their decisions in natural language. We study a specific type of self-explanation: self-generated counterfactual explanations (SCEs), where a model explains its prediction by modifying the input such that it would have predicted a different outcome. We evaluate whether LLMs can produce SCEs that are valid, achieving the intended outcome, and minimal, modifying the input no more than necessary. When asked to generate counterfactuals, we find that LLMs typically produce SCEs that are valid, but far from minimal, offering little insight into their decision-making behaviour. Worryingly, when asked to generate minimal counterfactuals, LLMs typically make excessively small edits that fail to change predictions. The observed validity-minimality trade-off is consistent across several LLMs, datasets, and evaluation settings. Our findings suggest that SCEs are, at best, an ineffective explainability tool and, at worst, can provide misleading insights into model behaviour. Proposals to deploy LLMs in high-stakes settings must consider the impact of unreliable self-explanations on downstream decision-making. Our code is available at https://github.com/HarryMayne/SCEs.

View on arXivView PDF

Code Implementations(1)

HarryMayne/SCEsOfficial100%
MIT

Code for the paper LLMs Don't Know Their Own Decision Boundaries: The Unreliability of Self-Generated Counterfactual Explanations

30Shell, PythonSep 9, 20251 years agoMIT
aisafetyexplainable-aillmsself-explanations

Similar Papers

Cite this paper

@article{mayne2025llms,
  title  = {LLMs Don't Know Their Own Decision Boundaries: The Unreliability of Self-Generated Counterfactual Explanations},
  author = {Harry Mayne and Ryan Othniel Kearns and Yushi Yang and Andrew M. Bean and Eoin Delaney and Chris Russell and Adam Mahdi},
  year   = {2025},
  eprint = {2509.09396},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.09396v1}
}

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/2509.09396.svg)](https://codeofpaper.com/paper/2509.09396)

Discussion