Manuscript Offprint

arXiv:2610.32665

Do Language Models Trust Their Own Justifications? A Study on Functional Consistency

Alisson Rosa Pereira, Bruno Iochins Grisci

Alisson Rosa Pereira

Institute of Informatics

Universidade Federal do Rio Grande do Sul

Porto Alegre, Brazil

alirpereira887@gmail.com

Bruno Iochins Grisci

Institute of Informatics

Universidade Federal do Rio Grande do Sul

Porto Alegre, Brazil

bigrisci@inf.ufrgs.br

Abstract—Large Language Models (LLMs) have been widely adopted in text classification tasks, where they not only output class predictions but also generate explanations that highlight the tokens deemed most relevant for reaching the predicted label. Yet it remains unclear whether these highlighted elements are behaviorally consistent with the model's own predictions under targeted interventions, which we refer to as functional auto-consistency. While much of the literature evaluates the textual plausibility of such explanations, few studies assess their functional consistency with the model's actual behavior. In this work, we propose an experimental framework based on the principle of auto-consistency: if a model identifies certain tokens as decisive, then isolating, removing, or semantically inverting them should produce systematic and interpretable changes in its predictions. We operationalize this evaluation through sufficiency, comprehensiveness, and counterfactuality metrics, and conduct experiments on IMDB and Steam reviews across both closed-source (GPT-4o-mini) and open-source LLMs (Gemma3, Granite8B, DeepSeek). Results show that GPT-4o-mini follows the expected progression across all metrics, Gemma3 and Granite8B maintain coherence under sufficiency but lose consistency under more demanding interventions, while DeepSeek variants display structural deviations, either failing to preserve sufficiency or overreacting under comprehensiveness and counterfactuality. These findings show that explanation reliability varies across LLM families and scales, with smaller models displaying contradictions and larger ones exhibiting over-sensitivity. By combining sufficiency, comprehensiveness, and counterfactuality, our approach provides a systematic methodology for assessing the functional consistency of LLM self-explanations.

Index Terms—large language models, interpretability, self-explanations, functional consistency, neural networks

I. INTRODUCTION

Large Language Models (LLMs), built upon the Transformer architecture [1], have demonstrated remarkable abilities in generalization and task solving through textual instructions, even in scenarios where no explicit training examples are available (zero-shot or few-shot learning) [2]. Among their emergent capabilities, one of the most prominent is the generation of explanations that justify predictions, often structured as reasoning chains, commonly referred to as chain-of-thought (CoT) [3].

While such explanations are frequently plausible, their alignment with the model's subsequent behavior under interventions remains an open question. For instance, [4] show that CoT explanations can be manipulated through biases in the prompts, thereby justifying incorrect predictions with arguments that appear convincing but are not aligned with the true decision factors. These findings raise concerns about excessive reliance on LLM-produced explanations and highlight the need for more objective approaches to evaluate the transparency and robustness of these models. In this work, we study functional auto-consistency: given a model's own declared influential spans, do systematic interventions on those spans produce changes in outputs that are coherent with that declaration? Importantly, this differs from establishing ground-truth causal attribution. Our protocol is self-contained but falsifiable: if the model's declared support does not behave as expected under interventions, the resulting contradictions are directly observable at the input–output level.

In this work, we propose an investigation that leverages feature importance [5] within the task of classification with LLMs, aiming to assess the extent to which models remain coherent with the justifications they provide for their own predictive decisions. This evaluation adapts the definition of self-consistency proposed by [6], understood as the requirement that model outputs remain logically non-contradictory, to what we term auto-consistency. In our setting, this notion captures whether the tokens 1^{1} highlighted as decisive in a model's explanation play a functionally coherent role when subjected to systematic interventions.

We hypothesize that when certain tokens are highlighted as influential for a prediction, the model should exhibit systematic variations in the assigned score when these elements are removed, isolated, or semantically modified. Thus, explanations are not evaluated in terms of textual plausibility or rhetorical

This research was funded by Fundação de Amparo à Pesquisa do Estado do Rio Grande do Sul (FAPERGS) [24/2551-0000725-3; 25/2551-0002116-2]. This work was supported by the Serrapilheira Institute (grant number Serra - R-2501-51351). This study was financed in part by the Coordination for the Improvement of Higher Education Personnel – Brazil (CAPES) – Finance Code 001.

1^{1}In this paper, the term “token” is used broadly to denote an influential text span (a word or phrase) returned in the influential terms field and extracted verbatim from the input sentence. All interventions operate on these spans, consistent with the prompt specification (“words or phrases”; see Prompt Template.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Published in: A. R. Pereira and B. I. Grisci, "Do Language Models Trust Their Own Justifications? A Study on Functional Consistency," 2026 International Joint Conference on Neural Networks (IJCNN), Maastricht, Netherlands, 2026, pp. 1–6, doi: 10.1109/IJCNN69854.2026.11728410.

adequacy, but rather in terms of their functional coherence with the model’s own predictive behavior.

To quantify this coherence, we adopt the metrics of Comprehensiveness, Sufficiency, and Counterfactuality [7]. The first two follow the definitions of [8], but are here adapted to a scalar review variable. Unlike probability-based formulations, we use a review score in the range [1, 10], predicted by the LLM, which reflects how favorably the text evaluates the target item. 2{}^{2} Under this formulation, Comprehensiveness captures the variation in the score when the highlighted tokens are removed, Sufficiency evaluates the case in which only these tokens are preserved, and Counterfactuality measures the impact of substituting them with semantically opposite terms.

With this adaptation, we investigate whether the model behaves consistently with its own claims of importance, that is, whether it maintains functional coherence under local interventions on the tokens it designates as relevant. This study therefore focuses on the structural fidelity of explanations provided by LLMs, adopting a quantitative approach to the evaluation of interpretability in generative models. The empirical investigation is conducted in the context of sentiment classification, and the results are discussed in detail in the following sections.

References (24)