Skip to content

A Generalized-Bayes Perspective on Counterfactual Explanations: Posterior-Based Decision-Making and Evaluation

Jul 2026 · arXiv.org · Vol abs/2607.29077 · 0 citations · 19 references
Computer Science Mathematics

TL;DR

This work shows that a distance-minimization-based CE is mathematically equivalent to the maximum a posteriori estimate of a Gibbs posterior within the generalized Bayes framework, and introduces two decision rules beyond MAP within a unified framework.

Abstract

Counterfactual explanations (CEs) enhance the interpretability of machine learning models by identifying the smallest change to an input required to obtain a desired output. Although CEs are conventionally formulated as a distance-minimization problem, the theoretical basis of this formulation has received limited attention. We show that a distance-minimization-based CE is mathematically equivalent to the maximum a posteriori (MAP) estimate of a Gibbs posterior within the generalized Bayes framework, specifically when a distance-based prior is used. We call this formulation the Distance-Prior Generalized Bayes CE (DP-GBCE). Building on this posterior perspective, we introduce two decision rules beyond MAP within a unified framework: a Bayes decision that minimizes expected decision loss and CVaR-CE, a risk-averse decision rule. We also propose an extension that uses Bayesian model weights to mix the posterior distributions of multiple models, thereby accounting for model multiplicity, where several models have comparable predictive performance. Finally, we define metrics for evaluating both individual CEs and the posterior distribution as a whole, and use experiments on simulated data and Google Trends data to quantify the trade-offs among the decision rules.

View source

Similar papers

Preprint Aug 2026

Stochastic Bayes factors: why, when, and how

The Bayes factor (BF) is a central tool in Bayesian hypothesis testing and model selection, yet its practical use is often challenged. Classical BFs depend heavily on prior specification, cannot be applied with improper priors, and are typically interpreted through arbitrary evidence scales. Moreover, they fail to capt...

L. Egidi, I. Ntzoufras · 0 citations
Review Aug 2026

Bayesian Inference Procedures for A/B Testing: An Overview

Simulations against group-sequential and always-valid frequentist baselines show that flat-prior posterior stopping exactly reproduces naive peeking, that a well-calibrated empirical Bayes prior achieves the lowest estimation error, and that expected-loss stopping minimizes regret only when shipping a null-effect varia...

M. Schultzberg, Mattias Frånberg · 0 citations
Jul 2026

What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach

P predictive Monte Carlo (PMC) is used as a general interpretability tool for any BFT: using only next-token generation, PMC returns an approximation to the implicit prior and posterior over the latent task, answering the interpretive question directly in latent space.

Afiq Abdillah Effiezal Aswadi, Haotong Ma, Susan Wei · 2 citations
Preprint Jul 2026

Reclaiming the"frequentist"role of marginal likelihood in Bayesian belief revision

This work shows that the marginal probability possesses a critical dual layer of information: while the posterior probability determines the local magnitude of a belief update upon a solitary trial, the marginal denominator governs the physical, long-run frequentist cadence of that update across a historical horizon.

A. Aknouche · 0 citations
Preprint Aug 2026

Bayesian Expected Uncertainty Reduction (B-EUR) Model: A Computational Account of What Makes Design Options Worth Trying

The B-EUR model provides a computational account of candidate-action evaluation within uncertainty-driven design activity and offers implications for constructing prototype sets, framing design problems, and organizing feedback to support informative exploration.

Shimon Honda, Takuma Miyaguchi, Koji Koizumi et al. · 0 citations

Subjective Risk Decomposition: A New View for Uncertainty Quantification

It is shown how epistemic and aleatoric uncertainty measures can be derived via decomposition of a subjective risk, based on a strictly proper loss, and considered a first step towards a full learning-theoretic framework for uncertainty quantification.

R. Alamri, Michele Caprio, Gavin Brown · 1 citation · ⚡1

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.