---
title: Post-hoc Rationalization
url: https://www.emergentmind.com/topics/post-hoc-rationalization
type: topic
---

# Post-hoc Rationalization

Searching arXiv for recent papers on post-hoc rationalization and explainability.
Searching arXiv for "post-hoc rationalization explainability medical AI" and related terms.
Post-hoc rationalization denotes the production of an explanatory or justificatory artifact after a decision, prediction, or verdict has already been reached. In explainable machine learning, it is typically formalized as a secondary procedure that takes an opaque predictor and an input and returns a simpler object intended to explain the output: if a black-box medical AI model is \(f:X\to Y\), a post-hoc explanation is \(E:(f,x)\mapsto \Delta\), where \(\Delta\) may define a surrogate \(g_\Delta:X\to Y\), a saliency overlay, or a feature-attribution decomposition that is easier to inspect than \(f\) itself [2504.20741]. In adjacent literatures, the same expression refers to generated justifications that follow an already selected answer or verdict in language models, and to retrospective self-justification in decision theory, where agents adopt ex post “rationales” to make past choices appear less regrettable [2603.01190] [2107.07491]. Across these settings, the central issue is the same: whether an after-the-fact rationale is merely a plausible story, or whether it can nevertheless support prediction, understanding, calibration, or justified action.

## 1. Definitions, notation, and scope

A standard formalization treats post-hoc explanation as a mapping from an opaque model and an instance to a human-readable rationalization. One version writes \(E:(M,x)\to r\in R\), where \(M:X\to Y\) is a trained predictive model, \(\hat y=M(x)\), and \(r\) may be a rule set, feature weights, a counterfactual, or a heat-map [1904.02495]. A more explicit formulation used in medical AI sets \(\Delta=E(f,x)\) and associates \(\Delta\) with a simpler surrogate \(g_\Delta\), together with local and global fidelity criteria such as
\[
\mathrm{Fidelity}_{\mathrm{local}}(E;f,x)=1-\frac{|f(x)-g_\Delta(x)|}{R}
\]
and
\[
\mathrm{Fidelity}_{\mathrm{global}}(E;f,S)=\frac{1}{|S|}\sum_{x\in S}\left[1-\frac{|f(x)-g_\Delta(x)|}{R}\right].
\]
When the explanation artifact is a feature-attribution vector \(\phi=(\phi_1,\dots,\phi_d)\), consistency may also be expressed through a rank-correlation metric \(\rho(\phi,I)=\mathrm{Spearman}(\phi_1,\dots,\phi_d;I_1,\dots,I_d)\) [2504.20741].

The same family of methods is often organized along two axes: scope and model dependence. Scope distinguishes global explanations, which ask what a model has learned overall, from local explanations, which ask why the model produced a particular output for a given \(x\). Model dependence distinguishes model-agnostic procedures, which require only query access, from model-specific procedures, which exploit internal structure. This yields four standard categories: global model-agnostic, global model-specific, local model-agnostic, and local model-specific; representative methods include surrogate models, rule induction, feature-importance or sensitivity analyses, and counterfactual explanations [1904.02495].

A related but philosophically distinct formalization appears in scientific machine learning. There, \(f:X\to Y\) denotes the true function governing a phenomenon, \(h^*\in H\) is a trained model that is “reliable enough,” \(E:H\to P\) is a post-hoc explainer, and \(g^*=E(h^*)\) is an explanation that is “faithful enough.” The resulting explanatory chain is written
\[
f \;\xleftarrow{\;\varnothing\;}\; h^* \;\xleftarrow{\;E\;}\; g^*,
\]
or equivalently \(g^*\approx h^*\approx f\), with separate approximation steps for model–world reliability and explanation–model faithfulness [2606.29346].

A further extension generalizes post-hoc rationalization beyond explanation of predictors. In Computational Interpretabilism, a trained black-box model \(h^+\in\mathcal H\) is paired with an interpretable approximation
\[
p^+=\arg\min_{p\in\mathcal P}\mathbb E_X[\|h^+(X)-p(X)\|],
\]
with fidelity and scope bounded in advance by conditions such as \(\mathbb E_X[\|h^+(X)-p^+(X)\|]\le \epsilon_{\mathrm{fidelity}}\) on a declared domain \(D\subseteq X\) [2412.17883]. This broadens post-hoc rationalization from a purely local explanatory device to an epistemic interface between opaque computation, domain knowledge, and empirical testing.

## 2. Faithfulness critiques and epistemic limits

The most persistent critique is that post-hoc rationalizations are approximations of model behavior rather than reconstructions of actual reasoning. In the medical AI formulation, this criticism appears as approximation error
\[
\epsilon(x)=|f(x)-g_{E(f,x)}(x)|,
\]
which may be large or unstable under small perturbations of \(x\); even trivial or untrained models can yield deceptively plausible saliency maps, and the expected approximation error \(\mathbb E_{x\sim D}[\epsilon(x)]\) can therefore be non-negligible [2504.20741]. Related empirical concerns include “placebic explanations,” which can induce as much trust as genuine ones, trust gaps \(\Delta\mathrm{Trust}=\mathrm{Trust}_{\mathrm{posthoc}}-\mathrm{Trust}_{\mathrm{none}}\), and an automation bias index
\[
\mathrm{ABI}=P(\text{follow AI's wrong decision}\mid \text{explanation})-P(\text{follow}\mid \text{no explanation}),
\]
with studies reporting scores that are not significantly positive or are paradoxically negative [2504.20741].

A stronger objection targets not just fidelity to a model, but claims about the world. The reliability–faithfulness chain \(f \xleftarrow{\varnothing} h^* \xleftarrow{E} g^*\) does not, on its own, establish that \(g^*\) reveals how the phenomenon \(f\) is actually structured [2606.29346]. The reason is structural: reliability checks whether \(h^*\) tracks outcomes, and faithfulness checks whether \(g^*\) tracks \(h^*\), but neither accesses the inner workings of \(f\). Oh and Jin state this as a general “No” to the question of whether reliability plus faithfulness suffices for structure discovery, and they argue that the failure persists even in the ideal limit of perfect reliability and perfect faithfulness [2606.29346].

Three failure cases make this limit precise. In the first, a model achieves high held-out accuracy on chest X-rays by exploiting laterality markers rather than lung pathology; saliency methods may faithfully highlight the markers, but only an external intervention reveals the confound. In the second, a proxy feature and the true causal feature co-vary in every available dataset, so no amount of additional held-out data can distinguish the wrong mechanism from the right one. In the third, two models can compute exactly the same function on all inputs while implementing completely different internal computations; a faithful explanation reports whichever internal mechanism the model uses, but reliability and faithfulness cannot determine which mechanism matches the real phenomenon [2606.29346].

This yields an important conceptual distinction. Absent external corroboration, post-hoc rationalization can support a “how-possibly” explanation or “objectual understanding,” but not a “how-actually” explanation of real structure [2606.29346]. A plausible implication is that disputes over post-hoc rationalization often conflate two targets: explanation of a model’s behavior and explanation of the world the model is trained on.

## 3. Functional value in medical and scientific AI

Recent defenses do not deny approximation error; they instead argue that imperfect explanations can still be useful for human–AI practice. In medical AI, the key positive claim is functional rather than mechanistic: post-hoc explanations can improve users’ *functional understanding* of a model in the sense of predictability, increase clinician–AI team accuracy, and assist clinicians in justifying AI-informed decisions [2504.20741]. One formalization defines a predictability score
\[
\mathrm{Pred}(E)=\mathbb E_{x\sim D}\left[1-\frac{|f(x)-f(x+\delta)|}{R}\mid \Delta\right],
\]
where \(\delta\) is a small interpretable perturbation indicated by the explanation. The cited defense also reports that when radiologists use saliency masks \(E(f,x)\), overall diagnostic accuracy rises by \(4.7\) percentage points relative to no explanations, i.e.,
\[
\Delta A=A_{\mathrm{posthoc}}-A_{\mathrm{none}}\approx +0.047
\]
[2504.20741].

This defense is explicitly non-absolutist. Post-hoc explanations are not presented as a “silver bullet” for the black-box problem, and the paper concludes only that they remain “a useful strategy” for addressing it in medical AI [2504.20741]. The crucial move is to combine local rationalizations with *institutional explanations* \(I_{\mathrm{inst}}\), including metadata about model training, bias-mitigation processes, performance curves, and regulatory provenance. The clinician’s final justification is then represented as
\[
J(f,x)=J_{\mathrm{inst}}(I_{\mathrm{inst}})+J_{\mathrm{posthoc}}(E(f,x)),
\]
so that the post-hoc artifact contributes to a broader justification narrative rather than serving as a stand-alone warrant [2504.20741].

The same bounded defense appears in Computational Interpretabilism. There, scientific understanding is characterized as *mediated understanding* arising through a four-way dialogue among model behavior, post-hoc methods, domain knowledge, and empirical validation, while *bounded factivity* holds that complete factual fidelity is neither attainable nor necessary [2412.17883]. Explanatory claims are acceptable only within declared scope conditions such as a domain \(D\) and fidelity bounds \((\epsilon_{\mathrm{fidelity}},\delta)\), and are then embedded in a hypothesis-testing loop: interpretability suggests a hypothesis \(H\) about the phenomenon, empirical tests evaluate \(H\), and the approximation \(p\) or domain \(D\) is refined accordingly [2412.17883].

These two defenses converge on a common position. Post-hoc rationalization is epistemically weakest when it is treated as direct access to internal mechanism, and strongest when it is treated as a bounded, testable, and institutionally supplemented interface between opaque models and downstream scientific or clinical action [2412.17883] [2504.20741].

## 4. Rationalization in language-model justifications

In language-model research, post-hoc rationalization has become a term of art for answer-conditioned or verdict-conditioned justifications. In masked diffusion language models for fact verification, it is defined as the situation in which the model settles on a global verdict \(V\) early in iterative refinement and subsequently generates a justification \(J\) that explains the already chosen \(V\), yielding the causal asymmetry \(V\to J\) rather than \(J\to V\) [2603.01190]. On AVeriTeC dev examples, LLaDA-8B fixes its verdict within the first few diffusion steps, and forcing “reasoning-first” behavior by delaying verdict unmasking degrades performance from \(86.2\%\) to \(71.9\%\) as the threshold rises to \(90\%\) [2603.01190]. The same study reports that when an incorrect verdict is forced, the model rationalizes it in \(56\%\) of cases, and that verdicts are strongly dependent on justification quality: \(57.3\%\) accuracy with corrupted justifications versus \(97.1\%\) with ground-truth justifications [2603.01190].

An analogous issue appears in reverse chain-of-thought generation, where a model is given a query \(Q\) and a pre-committed answer \(A\) and must synthesize a reasoning trace \(R=(r_1,\dots,r_T)\). Here post-hoc rationalization is answer anchoring: the chain becomes a backward justification from \(A\) rather than a forward derivation to \(A\) [2602.14469]. To quantify this, the paper introduces a three-level hierarchy of lexical, entropic, and probabilistic anchoring. The probabilistic quantity
\[
\mathcal A_{\mathrm{prob}}=\frac{1}{|A|}\log_2\frac{P_\theta(A\mid Q,R)}{P_\theta(A\mid Q)}
\]
measures how much the trace reduces uncertainty about the known answer, while \(\mathcal A_{\mathrm{lex}}\) and \(\mathcal A_{\mathrm{ent}}\) capture surface overlap and entropy dynamics [2602.14469]. A notable empirical result is that semantic suppression—prompting the model not to reveal the answer until the end—reduces lexical anchoring but increases entropic and probabilistic anchoring, which the authors attribute to Ironic Process Theory [2602.14469].

Chain-of-thought work on soft-reasoning tasks sharpens the distinction between causal guidance and explanatory faithfulness. One metric measures *influence*,
\[
I=\frac{1}{N}\bigl|\{i:a_{\mathrm{pre}(i)}\neq a_{\mathrm{post}(i)}\}\bigr|,
\]
the fraction of cases in which CoT flips the model’s answer, while a separate faithfulness score
\[
F=\frac{n_{\mathrm{verb}}}{n_{\mathrm{match}}}
\]
tracks whether the CoT explicitly verbalizes a known causal cue that changed the answer [2508.19827]. The key finding is misalignment: distilled-reasoning models change their initial answer on \(65\%\) of cases on average, instruction-tuned models on only \(\sim 25\%\), and multi-step reasoning models on \(\sim 24\%\), yet cue verbalization can remain very low even when the chain is causally active [2508.19827]. A chain can therefore guide an answer without truthfully reporting its cause, or can report a cue without materially influencing the answer.

This literature redefines post-hoc rationalization from a problem of model interpretation to a problem of generated justifications. The common failure mode is not only low fidelity to internal computation, but also inversion of deliberative order: the answer is selected first, and the rationale is synthesized afterward.

## 5. Measurement, mitigation, and constructive uses

A growing methodological literature treats post-hoc rationalization as something to quantify and actively mitigate. The most direct framework is *explanatory inversion*, in which an attribution vector \(a=E(f,x)=g(f(x),x)\) depends on the output \(f(x)\) rather than the forward \(x\to f(x)\) relationship [2504.08919]. Inversion Quantification introduces a reliance-on-outputs score \(R\), an explanation-faithfulness score \(F\), and an inversion score
\[
IS(R,F)=\left[R^p+(1-F)^p\right]^{1/p},\qquad p>1,\ \text{with }p=2,
\]
so that \(IS\approx 0\) corresponds to low output reliance and high faithfulness [2504.08919]. On synthetic tabular, image, and text data with injected spurious features, LIME, SHAP, Integrated Gradients, and Occlusion all show increased inversion under spurious correlations. The proposed Reproduce-by-Poking wrapper then uses forward perturbation checks to penalize unstable attributions, with theoretical claims \(R'<R\), \(F'>F\), and \(IS(R',F')<IS(R,F)\), and an empirical average inversion reduction of approximately \(1.8\%\) across methods and domains [2504.08919].

Evaluation can also proceed by comparison against intrinsically interpretable models. In histopathology, ProtoPNet was adapted to PatchCamelyon and used as a benchmark for post-hoc saliency methods via ten saliency metrics from the saliency-model literature [2305.03002]. On this setup, SmoothGrad and Occlusion were found to have a statistically bigger overlap with ProtoPNet, while Deconvolution and Lime had the least [2305.03002]. This does not prove ground-truth faithfulness, but it establishes an automatic quantitative protocol for comparing post-hoc rationalizers against a native attribution mechanism.

Post-hoc rationalization has also been used constructively to redesign explanatory representations. Post-hoc Part-prototype Networks decompose a trained classification head \(v\in\mathbb R^D\) into interpretable part-prototypes \(p_i'\) satisfying \(\sum_i p_i'=v\), so that class logits can be exactly recovered from pooled prototype activation maps while simultaneously answering both “where” and “what” the model uses [2406.03421]. On CUB-200-2011 with \(k=3\), the method reports consistency and stability gains across several backbones while preserving backbone accuracy, and on ImageNet it keeps the original \(75.1\%\) top-1 of ResNet-34 and \(76.3\%\) of ViT-Base [2406.03421].

Related work uses rationalization itself as a downstream control signal. AMPLIFY derives automated natural-language rationales from proxy-model attributions and reports prediction accuracy improvements of about \(10\%-25\%\) over a wide range of tasks [2305.11426]. Collaborative Calibration uses multi-agent deliberation to produce post-hoc confidence rationales and improve calibration without training [2404.09127]. Class-wise Selective Rationalization, in turn, learns factual and counterfactual rationales for each class via a three-player adversarial game, so that evidence supporting alternative conclusions becomes explicit rather than collapsed into a single explanation [1910.12853]. Taken together, these approaches suggest that post-hoc rationalization is not only an object of critique but also a design space for measurement, correction, and structured human–model interaction.

## 6. Ex post rationalization in decision theory

Outside machine learning, ex post rationalization is formalized as a motive in dynamic choice. In the two-period model of Dean, Kıbrıs, and Masatlioglu, a decision problem \(D=(A_1,A_2,F)\) consists of a first-period menu \(A_1\), a second-period menu correspondence \(A_2:A_1\times S\rightrightarrows \mathcal A_2\), and a prior \(F\) over states \(S\). The agent has a material utility \(u(a_1,a_2,s)\) and a closed, convex set of rationales \(\mathcal V\), with \(u\in\mathcal V\), from which a rationale \(v\) may be selected ex post to justify the past action \(a_1\) [2107.07491].

At date \(2\), after choosing \(a_1\) and observing \(s\), the agent simultaneously chooses \(a_2\in A_2(a_1,s)\) and \(v\in\mathcal V\) to maximize
\[
U_D(a_2,v\mid a_1,s)
=(1-\gamma)\,u(a_1,a_2,s)
+\gamma\left[v(a_1,a_2,s)-\max_{(\bar a_1,\bar a_2)\in A_1\times A_2(\bar a_1,s)}v(\bar a_1,\bar a_2,s)\right],
\]
where \(\gamma\in[0,1]\) is the weight on rationalization utility [2107.07491]. The bracketed term is non-positive, so the agent trades off material payoffs against retrospective self-justification. The framework then distinguishes a naïf, a sophisticate, and an empathetic sophisticate according to how first-period choice anticipates later rationalization [2107.07491].

The model yields identified primitives and tractable comparative statics. Theorem 7 provides a representation result under axioms including Linearity, Existence, Rationalization, Monotonicity, Quasiconvexity, and Continuity; Theorem 8 identifies \((\gamma,u,\mathcal V)\) up to the usual positive-affine normalization [2107.07491]. Under lattice-theoretic complementarity assumptions, Theorem 3 implies distortion–sunk-cost effects: if the realized first-period choice \(\bar a_1\) is ex post too large, the second-period choice is distorted upward relative to the material optimum, and the chosen rationale parameter \(\bar\theta\) is likewise shifted upward [2107.07491]. The examples include a snowstorm ticket, repeated experimental choices, belief elicitation under quadratic scoring, and two-part tariffs [2107.07491].

This decision-theoretic literature changes the meaning of rationalization. The issue is no longer whether an explanation faithfully reports a model’s mechanism, but whether agents reshape subsequent choices and beliefs to retrospectively defend earlier commitments. Even so, the structural similarity is clear: in both machine and human settings, rationalization is generated after a choice has been made and can causally redirect later judgment, confidence, or action.

## 7. Conceptual synthesis

Across explainable AI, scientific modeling, language-model reasoning, and decision theory, post-hoc rationalization names a family of after-the-fact justificatory processes rather than a single technique. In one form, it produces a surrogate \(g_\Delta\), saliency map, or attribution vector for an opaque predictor. In another, it produces a generated justification for an already chosen answer or verdict. In a third, it is itself part of the agent’s utility function and helps explain sunk-cost and stickiness effects [2504.20741] [2603.01190] [2107.07491].

The major controversy is whether these artifacts should be treated as explanations of actual mechanism. The strongest negative result is that no pure combination of model reliability and explanation faithfulness suffices to establish real-world structure, because both links terminate at the model rather than the phenomenon [2606.29346]. The strongest positive result is more modest: when bounded by declared scope, combined with institutional or domain knowledge, and subjected to empirical validation, post-hoc rationalizations can improve predictability, team accuracy, calibration, or hypothesis generation even when \(\mathrm{Fidelity}_{\mathrm{global}}<1\) and \(\epsilon(x)>0\) [2504.20741] [2412.17883].

A plausible implication is that the most defensible use of post-hoc rationalization is neither eliminativist nor credulous. It is weakest as a warrant for unobserved causal structure and strongest as a controlled interface for diagnosis, comparison, counterfactual analysis, calibration, and follow-up testing. Under that interpretation, post-hoc rationalization is not equivalent to faithful mechanism recovery, but it remains a technically important and methodologically diverse component of contemporary interpretability and reasoning research.

Source: https://www.emergentmind.com/topics/post-hoc-rationalization