Manuscript Offprint
arXiv:2609.07917AVCG: A Generalized Variational Framework for Counterfactual Generation under Hypothesis Distributions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Counterfactual explanations formalize “what-if” scenarios by identifying modifications to an input instance that obtain a desired alternative prediction. Traditionally, whether generated via instance-specific optimization or amortized single-pass models, these approaches rely on a single, deterministic point-estimate predictor. However, this ignores predictive uncertainty and hypothesis variability, leading to brittle explanations that frequently become invalid if the underlying model is retrained or updated. To address this fragility, we propose the Amortized Variational Counterfactual Generator (AVCG), a generalized optimization framework that formulates counterfactual generation as optimization over an arbitrary distribution of plausible predictive hypotheses rather than a single deterministic predictor. This formulation naturally accommodates Bayesian posteriors, Rashomon-restricted hypothesis spaces, and other uncertainty representations within a unified optimization framework. Evaluation across multiple benchmark datasets demonstrates that the AVCG framework produces counterfactual explanations that remain highly valid under predictive uncertainty and model changes, while maintaining competitive plausibility and single-pass runtime performance.
Introduction
The deployment of machine learning models in high-stakes domains has necessitated the development of algorithmic recourse, typically provided through counterfactual explanations. However, a critical vulnerability in standard counterfactual generation is its reliance on a single, fixed predictive model. Explanations optimized against a deterministic decision boundary are often notoriously brittle; they frequently fail to remain valid if the model is retrained with a different random seed, subjected to minor data shifts, or if there is inherent epistemic uncertainty in the parameter space (Jiang et al. 2024; Sokol and Hüllermeier 2025).
To provide reliable recourse, counterfactual generation must transition from targeting a single point-estimate predictor to optimizing over distributions of plausible hypotheses. Such hypothesis distributions arise naturally in several settings. Bayesian predictive models represent predictive uncertainty through posterior inference, as expressed through Bayesian Neural Networks (Blundell et al. 2015) and Monte Carlo Dropout (Gal and Ghahramani 2016), while model
multiplicity motivates restricting attention to empirically near-optimal hypotheses, such as the Rashomon set. Many existing uncertainty-aware counterfactual approaches, however, are typically tied to a specific uncertainty representation and frequently rely on computationally expensive post-hoc optimization at inference time. Notably, existing approaches remain specialized to particular uncertainty representations e.g., (Schut et al. 2021; Duell et al. 2024) rather than providing a unified optimization framework capable of operating over arbitrary hypothesis distributions. For example, while Bayesian approaches optimize robustness in expectation under a posterior distribution, they do not directly support optimization over constrained hypothesis spaces, such as the Rashomon set (Hsu et al. 2025), where the objective is robustness across empirically near-optimal models rather than posterior expectation alone. Recent work has shown that Monte Carlo Dropout can be used to construct empirical approximations of such Rashomon sets by applying dropout to pretrained weights (Hsu et al. 2024).
To address these limitations, we propose the Amortized Variational Counterfactual Generator (AVCG), a generalized optimization framework for counterfactual generation over arbitrary hypothesis distributions. Unlike existing uncertainty-aware approaches (Duell et al. 2024; Batten et al. 2025; Schut et al. 2021) that predominantly generate explanations through iterative post-hoc optimization at inference time, AVCG learns a single amortized generator that produces counterfactuals in one forward pass while optimizing expected validity with respect to an arbitrary hypothesis distribution. Thus, the proposed AVCG framework generalizes the optimization objective beyond deterministic or Bayesian predictors and retains the computational efficiency required for practical deployment. Thus, to summarise AVCG shifts counterfactual generation from optimizing against a single decision boundary to optimizing against an entire distribution of plausible decision boundaries. This abstraction decouples the optimization objective from the mechanism used to represent uncertainty, allowing new uncertainty models or constrained hypothesis spaces to be incorporated without redesigning the counterfactual generation framework.
To this end, the contributions of this work can be summarized as follows:
-
We formulate counterfactual generation as optimiza-tion over arbitrary hypothesis distributions, introducing AVCG, a generalized variational framework independent of any specific uncertainty representation.
-
We derive a generalized variational lower bound whose predictive objective is taken with respect to arbitrary hypothesis distributions, subsuming existing Bayesian formulations as special cases.
-
We demonstrate the generality of AVCG by instantiated two fundamentally different robustness paradigms: Bayesian uncertainty and Rashomon model multiplicity, within a single optimization framework.
-
We provide theoretical and empirical evaluations demonstrating robustness, validity and inference speed.
Definition 1 (Hypothesis Distribution). Let denote a hypothesis space of predictive models parameterized by . A hypothesis distribution , parameterized by , is a probability distribution over the parameter space representing a practitioner's prior beliefs or constraints over plausible predictors.
Definition 2 (Generalized Predictive Distribution). Given a parametric model and a hypothesis distribution , the predictive distribution for any input is defined by marginalizing over the hypothesis space:
which can equivalently be written as the expectation
A counterfactual instance is traditionally generated to flip the prediction of a single point-estimate model. A counterfactual instance in a model structured for a pointwise estimate is such that:
Definition 3 (Counterfactual Instance). Given an instance , an instance , is said to be a counterfactual instance of , iff for some counterfactual generator s.t. , then:
To ensure robustness over hypothesis distributions, we define a robust counterfactual instance as follows:
Definition 4 (Robust Counterfactual Instance). Given a factual instance and a counterfactual generator such that , the instance is a robust counterfactual instance if:
Methodology
We derive a novel, generalized variational objective for counterfactual generation that accounts for predictive uncertainty by taking the expectation over . We then instantiate this general framework into two distinct mechanisms to handle different robustness desiderata: the Bayesian posterior (AVCG-B) and the Rashomon-restricted posterior (AVCG-R).
The Generalized AVCG Framework
To construct an amortized counterfactual generator, our goal is to maximize the predictive probability that the generated counterfactual samples achieve the desired label given the factual input x. Operating within a latent-variable generative model, the true predictive distribution requires marginalizing over both the latent space z and the classifier's parameter space .
Assuming the prior over the latent distribution is independent of the model's hypothesis space , and that the generator is parameterized independently of , we express the predictive objective as a double integral. We introduce a variational posterior to derive the lower bound:
Where is the encoder, is the generative model, and is the target parametric predictor.
Proximity Regularization Finally, to align with standard counterfactual desiderata ensuring that interventions remain realistically actionable (Mothilal, Sharma, and Tan 2020; Sokol and Hüllermeier 2025), we incorporate a proximity constraint using a distance function :
AVCG Framework

Figure 1: Overview of the AVCG Framework. In this work, is instantiated as a Bayesian parametric posterior or Rashomon set .
Let , and
The final dataset-level objective for the generalized framework is:
whereby, optimal parameters and are obtained by minimising the objective, such that:
AVCG-B: The Bayesian Instantiation
When the practitioner's goal is to account for epistemic uncertainty and optimize for expected likelihood, we instantiate the general framework by setting to the full Bayesian posterior , such that our risk function is defined as:
where we can substitute with for the Bayesian posterior.
In practice, we approximate this posterior using stochastic weight masking via Monte Carlo Dropout (Gal and Ghahramani 2016). During the training of AVCG, the generator optimizes against a dynamically sampled distribution of stochastic dropout masks. This forces the generated counterfactuals to achieve validity in expectation across the uncertainty of the network's weights, making it ideal for average-case generalization.
AVCG-R: The Rashomon-Restricted Instantiation
While the Bayesian posterior provides a probabilistic distribution of models, it does not explicitly enforce hard performance boundaries. In high-stakes domains, robustness across a constrained set of empirically near-optimal models may be desirable, namely the Rashomon set.
To target robustness over this empirically constrained hypothesis space, we instantiate as the Rashomon-restricted distribution . We define the empirical Rashomon set as:
where specifies the maximum allowable deviation from the optimal validation loss . The corresponding restricted posterior is:
To implement this reliably, AVCG-R replaces the stochastic dropout of the Bayesian instantiation with a set of deterministic, frozen weight masks. Each mask is independently evaluated on a validation set, and only those satisfying are retained. The generator then optimizes uniformly over this fixed hypothesis space.
Modifying our loss function, we can instead integrate over the , such that our risk function conditioned on some is defined as:
where we can substitute with .
Theoretical Analysis
We begin by analysing the stability of the AVCG objective under divergence between hypothesis distributions.
Theorem 1 (AVCG Stability). Assume that there exists a constant such that
for every in the supports of and . Let
and
denote the AVCG objectives induced by the hypothesis distributions and , respectively, such that:
where can be a and b respectively. Then, for fixed encoder and generator parameters ,
This illustrates that small changes in the learned hypothesis distribution induce proportionally small changes in the optimization objective, providing stability under hypothesis class uncertainty.
Proposition 1. Let . For any and ,
This bound shows that optimizing the generalized AVCG objective specifically under some hypothesis set satisfies with high probability.
Rashomon Example Consider a newly trained model , assuming the newly trained model belongs to the hypothesis set, in this case for the Rashomon set this can be expressed via the assumption that . Repeated training with stochastic initialization produces solutions with comparable empirical loss, which can be treated as approximate empirical samples from the Rashomon-restricted posterior , leading to Corollary 1.
Assumption 1. The variance over a Rashomon set of models is bounded, such that:
Corollary 1. Let . Then for any ,
Intuitively, minimal predictive variance within the defined model space leads to highly robust counterfactual instances.
Example 1 (Empirical Example). Taking the Rashomon set at on the Adult Income dataset yields a measured predictive variance of , assume then AVCG-R produces a highly confident counterfactual such that . Given a new predictive model can be interpreted as an approximate draw from , we seek the probability that the counterfactual remains valid . Setting , we have:
Thus, with a 99% probability, a counterfactual evaluated by a newly sampled model drawn from the Rashomon set will remain valid.
Computing AVCG
We proceed by defining the implementation of our proposed AVCG.
We derive gradients for the predictive term noting that gradients of the KL and proximity terms follow standard formulations and are computed via automatic differentiation. Thus, by the chain rule, we are optimizing our counterfactual generative model under the predictor over parameters via the computational graph defined by:
where is defined by a pre-trained Bayesian predictor.
To enable gradient propagation through stochastic latent samples, we adopt the reparameterisation trick (Kingma and Welling 2014), such that:
Furthermore, the encoder is updated via the path:
where using the reparameterization trick, gradients can propagate through z with respect to the encoders parameters . Implementation details are provided in the supplementary material.
Experimental Setup
We use a validation set for determining which models belong in the Rashomon set, and then utilize the test set for evaluating the quality of generated counterfactuals across performance metrics. For each dataset, we first split our data into 80% training and 20% test. We then take 15% of our training data as a hold-out validation set. All experiments are run across 5 seeds across 100 instances per dataset, with the mean and standard deviation recorded.
Experiments were conducted on a workstation equipped with an Intel Core i9-14900 CPU and an NVIDIA RTX 2000 Ada Generation GPU.
Datasets
For the experiments in this work, we focus on four benchmark datasets. We adopt the tabular datasets, namely the adult income dataset (Becker and Kohavi 1996), heart disease (Janosi et al. 1989), Wisconsin breast cancer (Wolberg et al. 1993) and spambase dataset (Hopkins et al. 1999) used frequently in counterfactual literature (Batten et al. 2025; Schut et al. 2021; Noorani et al. 2025).
Baselines
We compare our proposed AVCG approach against two Bayesian-based counterfactual explainers: Schut et al. (Schut et al. 2021) and Batten et al. (Batten et al. 2025). Finally, we compare against QUCE (Duell et al. 2024), but we instead operate over the expected prediction as opposed to a single point estimate.
Table 1: Amortized Counterfactual Evaluation on Adult Income and Breast Cancer (Mean ± std over 5 seeds). Methods are grouped by the evaluation environment: Strict Empirical Bound () and Relaxed Empirical Bound ().
| Method | Val ↑ | IM1 ↓ | Imp ↓ | Div ↑ | CMV ↑ | NE ↓ | R_IC ↓ | RVR ↑ | Time (s) ↓ |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Adult Income | |||||||||
| Environment: (Strict Empirical Bound) | |||||||||
| Batten et al. | |||||||||
| QUCE | |||||||||
| Schut et al. | |||||||||
| AVCG-B | |||||||||
| AVCG-R () | |||||||||
| Environment: (Relaxed Empirical Bound) | |||||||||
| Batten et al. | |||||||||
| QUCE | |||||||||
| Schut et al. | |||||||||
| AVCG-B | |||||||||
| AVCG-R () | |||||||||
| Dataset: Breast Cancer | |||||||||
| Environment: (Strict Empirical Bound) | |||||||||
| Batten et al. | |||||||||
| QUCE | |||||||||
| Schut et al. | |||||||||
| AVCG-B | |||||||||
| AVCG-R () | |||||||||
| Environment: (Relaxed Empirical Bound) | |||||||||
| Batten et al. | |||||||||
| QUCE | |||||||||
| Schut et al. | |||||||||
| AVCG-B | |||||||||
| AVCG-R () | |||||||||
Metrics
In this section, we formally define the evaluation metrics utilized in our experiments to assess the efficacy, plausibility, and stability of the generated counterfactuals. Let be the factual instance, and let be the generated counterfactual instance targeting class . Let represent the original predicted class, where denotes a class. We denote the indicator function as , and a small constant for numerical stability as . In practice the evaluation metrics are averaged over instances.
In this work we evaluate Validity (Val) (Mothilal, Sharma, and Tan 2020), IM1 (Van Looveren and Klaise 2021; Schut et al. 2021), Implausibility (Imp) (Altmeyer et al. 2024), Diversity (Mothilal, Sharma, and Tan 2020), Robustness to Noisy Executions (NE) (Jiang et al. 2024), Robustness to Input Changes () (Batten et al. 2025) and inference time. Furthermore, we propose two metrics, Cross Model Validity (CMV) evaluating the counterfactual validity across newly trained neural networks, and Rashomon Validity Ratio (RVR) the counterfactuals valid under a set of models defined by . We provide the details for known metrics in the supplementary, and introduce our metrics as follows:
Rashomon Validity Ratio (RVR) quantifies the counterfactual's robustness specifically to model multiplicity. It evaluates the fraction of valid counterfactuals across the empirically derived Rashomon set (as per validation set evaluation), :
Cross Model Validity (CMV) evaluates the transferability
of the counterfactual by testing it against a multiple surrogate models, , trained on the identical data distribution:
for surrogate models. In this work we evaluate the average validity across separately trained models.
Results
Results on Counterfactual Metrics
Robustness Under Predictive Uncertainty The primary objective of the AVCG framework is to generate counterfactuals that remain valid across a distribution of plausible predictive hypotheses. As evidenced by the Cross-Model Validity (CMV) and Rashomon Validity Ratio (RVR) in Tables 1 and 2, standard post-hoc iterative methods are highly susceptible to model multiplicity. Several post-hoc methods exhibit substantial reductions in CMV on particular datasets. For instance, on the Spambase dataset (Table 2), Schut et al. achieves a CMV of only 0.773 and Batten et al. drops to 0.755. Furthermore, we observe that the RVR for non-AVCG methods drops. In contrast, both AVCG-B and AVCG-R maintain a cross-model validity () and RVR () across all four datasets. This is empirically consistent with Theorem 1 and Corollary 1.
Amortization: Diversity and Inference Efficiency Beyond robustness, formulating counterfactual generation as a variational amortized process yields two practical advantages: inference speed and explanation diversity. First, the post-hoc baselines suffer from collapsing to single solution, uniformly recording a Diversity score of 0.000 across all
Table 2: Amortized Counterfactual Evaluation on Heart Disease and Spambase (Mean ± std over 5 seeds).
| Method | Val ↑ | IM1 ↓ | Imp ↓ | Div ↑ | CMV ↑ | NE ↓ | R_IC ↓ | RVR ↑ | Time (s) ↓ |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Heart Disease | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.891 ± 0.312 | 1.085 ± 0.427 | 4.740 ± 0.459 | 0.000 ± 0.000 | 0.591 ± 0.329 | 0.0029 ± 0.0027 | 0.0292 ± 0.0853 | 0.712 ± 0.224 | 0.0126 ± 0.0060 |
| QUCE | 0.985 ± 0.122 | 0.780 ± 0.498 | 3.844 ± 0.375 | 0.000 ± 0.000 | 0.934 ± 0.158 | 0.0012 ± 0.0012 | 0.0005 ± 0.0045 | 0.966 ± 0.096 | 0.0084 ± 0.0040 |
| Schut et al. | 1.000 ± 0.000 | 0.802 ± 0.201 | 5.203 ± 0.518 | 0.000 ± 0.000 | 0.997 ± 0.030 | 0.0008 ± 0.0009 | 0.0113 ± 0.0492 | 1.000 ± 0.000 | 0.0701 ± 0.0250 |
| AVCG-B | 1.000 ± 0.000 | 0.407 ± 0.163 | 3.616 ± 0.123 | 0.670 ± 0.127 | 1.000 ± 0.000 | 0.0002 ± 0.0002 | 0.0211 ± 0.0180 | 1.000 ± 0.000 | 0.0011 ± 0.0001 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.477 ± 0.174 | 3.661 ± 0.145 | 0.695 ± 0.130 | 1.000 ± 0.000 | 0.0002 ± 0.0003 | 0.0235 ± 0.0208 | 1.000 ± 0.000 | 0.0010 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.884 ± 0.321 | 1.085 ± 0.427 | 4.740 ± 0.459 | 0.000 ± 0.000 | 0.591 ± 0.329 | 0.0032 ± 0.0037 | 0.0209 ± 0.0534 | 0.707 ± 0.150 | 0.0126 ± 0.0060 |
| QUCE | 0.993 ± 0.086 | 0.780 ± 0.498 | 3.844 ± 0.375 | 0.000 ± 0.000 | 0.934 ± 0.158 | 0.0011 ± 0.0017 | 0.0002 ± 0.0010 | 0.946 ± 0.104 | 0.0084 ± 0.0040 |
| Schut et al. | 1.000 ± 0.000 | 0.802 ± 0.201 | 5.203 ± 0.518 | 0.000 ± 0.000 | 0.997 ± 0.030 | 0.0007 ± 0.0006 | 0.0107 ± 0.0490 | 1.000 ± 0.002 | 0.0701 ± 0.0250 |
| AVCG-B | 1.000 ± 0.000 | 0.407 ± 0.163 | 3.616 ± 0.123 | 0.670 ± 0.127 | 1.000 ± 0.000 | 0.0002 ± 0.0002 | 0.0218 ± 0.0195 | 1.000 ± 0.000 | 0.0011 ± 0.0001 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 0.438 ± 0.194 | 3.646 ± 0.176 | 0.706 ± 0.140 | 0.996 ± 0.039 | 0.0002 ± 0.0003 | 0.0250 ± 0.0241 | 0.999 ± 0.011 | 0.0011 ± 0.0001 |
| Dataset: Spambase | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.926 ± 0.262 | 2.443 ± 2.198 | 9.521 ± 3.533 | 0.000 ± 0.000 | 0.755 ± 0.320 | 0.0159 ± 0.0203 | 0.0306 ± 0.1054 | 0.806 ± 0.268 | 0.0096 ± 0.0120 |
| QUCE | 0.546 ± 0.498 | 2.084 ± 1.874 | 8.357 ± 2.860 | 0.000 ± 0.000 | 0.530 ± 0.416 | 0.0107 ± 0.0176 | 0.0024 ± 0.0096 | 0.541 ± 0.440 | 0.0118 ± 0.0138 |
| Schut et al. | 0.990 ± 0.100 | 2.213 ± 1.742 | 9.878 ± 3.477 | 0.000 ± 0.000 | 0.773 ± 0.310 | 0.0127 ± 0.0279 | 0.0073 ± 0.0220 | 0.966 ± 0.120 | 0.0963 ± 0.1233 |
| AVCG-B | 1.000 ± 0.000 | 0.983 ± 0.244 | 6.276 ± 0.091 | 0.776 ± 0.128 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0271 ± 0.0295 | 1.000 ± 0.000 | 0.0011 ± 0.0001 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.976 ± 0.199 | 6.301 ± 0.093 | 0.747 ± 0.149 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0247 ± 0.0263 | 1.000 ± 0.000 | 0.0010 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.916 ± 0.277 | 2.443 ± 2.198 | 9.521 ± 3.533 | 0.000 ± 0.000 | 0.755 ± 0.320 | 0.0161 ± 0.0240 | 0.0321 ± 0.0949 | 0.816 ± 0.183 | 0.0096 ± 0.0120 |
| QUCE | 0.540 ± 0.498 | 2.084 ± 1.874 | 8.357 ± 2.860 | 0.000 ± 0.000 | 0.530 ± 0.416 | 0.0118 ± 0.0225 | 0.0028 ± 0.0130 | 0.544 ± 0.408 | 0.0118 ± 0.0138 |
| Schut et al. | 0.990 ± 0.100 | 2.213 ± 1.742 | 9.878 ± 3.477 | 0.000 ± 0.000 | 0.773 ± 0.310 | 0.0118 ± 0.0252 | 0.0091 ± 0.0431 | 0.958 ± 0.103 | 0.0963 ± 0.1233 |
| AVCG-B | 1.000 ± 0.000 | 0.983 ± 0.244 | 6.276 ± 0.091 | 0.776 ± 0.128 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0266 ± 0.0298 | 1.000 ± 0.000 | 0.0011 ± 0.0001 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 1.037 ± 0.238 | 6.332 ± 0.087 | 0.690 ± 0.108 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0208 ± 0.0215 | 1.000 ± 0.000 | 0.0011 ± 0.0001 |
datasets. Because they iteratively solve a deterministic optimization problem per instance, they collapse to a single, localized solution. AVCG, operating as a conditional generative model, maps inputs to a stochastic latent space . By sampling different latent vectors , AVCG generates a diverse set of valid counterfactuals (e.g., Diversity of 1.078 on Breast Cancer and 0.747 on Spambase for AVCG-R), offering users multiple actionable paths for recourse. Secondly, the computational bottleneck of counterfactual deployment is inference latency. Iterative gradient-based baselines require significant time per instance (e.g., Schut et al. requires 0.04 seconds per instance on Adult Income). By shifting the heavy computational burden to the training phase, AVCG requires only a single forward pass at inference time, achieving generation speeds on the order of seconds which is an efficiency improvement of over an order of magnitude, making it highly suitable for real-time deployment.
Sweep
In Figure 2 we demonstrate the influence of the hyperparameter recording the mean and deviation across 5 runs on each metric under different Rashomon set sizes. The result demonstrates that AVCG-R remains stable across varying Rashomon set sizes, indicating that the framework is robust to the practitioner's choice of the empirical performance threshold .
We observe common trends, such as diversity commonly increasing across datasets as decreases. This is likely due to the higher epsilon which admits more models that need to evaluate a counterfactual as valid, and thus, limiting the space of potential counterfactual solutions. A similar consequence is likely for the IM1 metric as the constraints of validity become stricter.
We refer the reader to the supplementary material for ablation studies, additional baselines and further experiments on image datasets (MNIST and CIFAR10).
Conclusion
We introduced AVCG, a generalized variational framework for amortized counterfactual generation over arbitrary hypothesis distributions. Bayesian posteriors and Rashomon-restricted hypothesis spaces arise as special cases. AVCG demonstrates superior performance across key metrics with the added value of amortized inference for a decreased computational cost.
An interesting direction for future work is to characterize the amortization gap induced by Rashomon-restricted inference, whereby the amortization gap is a known concern in VAE-like models (Cremer, Li, and Duvenaud 2018). Since the proposed generator amortizes counterfactual inference across both inputs and hypothesis-space, mismatch between the instance-optimal latent representations and the shared encoder may emerge as the Rashomon set evolves. Building on analyses of amortization error in variational inference, future work could investigate adaptive refinement strategies (Kim et al. 2018) that selectively update the encoder when hypothesis-space variability induces large deviations from instance-optimal counterfactual latent representations.
Future work can explore extrapolations of our generalized framework to further hypothesis spaces. For example, one could use a Laplace approximation around the maximum a posteriori (MAP) solution.
Acknowledgments
For the purpose of open access, the author has applied a Creative Commons Attribution (CC BY) licence to any Author
Rashomon Sweep - Spambase

Figure 2: -sweep on the Spambase dataset for AVCG-R. Here we observe the impact of the hyperparameter for the Rashomon set.
Accepted Manuscript version of this paper, arising from this submission.
References
Altmeyer, P.; Farmanbar, M.; Deursen, A.; and Liem, C. 2024. Faithful Model Explanations through Energy-Constrained Conformal Counterfactuals. Proceedings of the AAAI Conference on Artificial Intelligence, 38: 10829–10837.
Batten, B.; Leofante, F.; Paoletti, N.; Lomuscio, A.; and Hosseini, M. 2025. Uncertainty-Aware Counterfactual Explanations using Bayesian Neural Nets.
Becker, B.; and Kohavi, R. 1996. Adult. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5XW20.
Blundell, C.; Cornebise, J.; Kavukcuoglu, K.; and Wierstra,
D. 2015. Weight uncertainty in neural networks. In Proceedings of the 32nd International Conference on Machine Learning - Volume 37, ICML'15, 1613–1622. JMLR.org.
Cremer, C.; Li, X.; and Duvenaud, D. K. 2018. Inference Suboptimality in Variational Autoencoders. In International Conference on Machine Learning.
Duell, J.; Seisenberger, M.; Fu, H.; and Fan, X. 2024. QUCE: The Minimisation and Quantification of Path-Based Uncertainty for Generative Counterfactual Explanations. In 2024 IEEE International Conference on Data Mining (ICDM), 693–698. IEEE.
Gal, Y.; and Ghahramani, Z. 2016. Dropout as a Bayesian approximation: representing model uncertainty in deep learning. In Proceedings of the 33rd International Conference on
International Conference on Machine Learning - Volume 48, ICML'16, 1050–1059. JMLR.org.
Hopkins, M.; Reeber, E.; Forman, G.; and Suermondt, J. 1999. Spambase. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C53G6X.
Hsu, E.; Cao, T.; Semenova, L.; and Zhong, C. 2025. The Rashomon Set Has It All: Analyzing Trustworthiness of Trees under Multiplicity. In The Thirty-ninth Annual Conference on Neural Information Processing Systems Datasets and Benchmarks Track.
Hsu, H.; Li, G.; Hu, S.; and Chen, C. 2024. Dropout-Based Rashomon Set Exploration for Efficient Predictive Multiplicity Estimation. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
Janosi, A.; Steinbrunn, W.; Pfisterer, M.; and Detrano, R. 1989. Heart Disease. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C52P4X.
Jiang, J.; Leofante, F.; Rago, A.; and Toni, F. 2024. Robust counterfactual explanations in machine learning: a survey. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI '24. ISBN 978-1-956792-04-1.
Kim, Y.; Wiseman, S.; Miller, A.; Sontag, D.; and Rush, A. 2018. Semi-Amortized Variational Autoencoders. In Dy, J.; and Krause, A., eds., Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, 2678–2687. PMLR.
Kingma, D. P.; and Welling, M. 2014. Auto-Encoding Variational Bayes. In Bengio, Y.; and LeCun, Y., eds., 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings.
Mothilal, R. K.; Sharma, A.; and Tan, C. 2020. Explaining machine learning classifiers through diverse counterfactual explanations. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, FAT* '20, 607–617. ACM.
Noorani, E.; Dissanayake, P.; Hamman, F.; and Dutta, S. 2025. Counterfactual Explanations for Model Ensembles Using Entropic Risk Measures. In Proceedings of the 24th International Conference on Autonomous Agents and Multiagent Systems, AAMAS '25, 1566–1575. Richland, SC: International Foundation for Autonomous Agents and Multiagent Systems. ISBN 9798400714269.
Schut, L.; Key, O.; McGrath, R.; Costabello, L.; Sacaleanu, B.; Corcoran, M.; and Gal, Y. 2021. Generating Interpretable Counterfactual Explanations By Implicit Minimisation of Epistemic and Aleatoric Uncertainties. In International Conference on Artificial Intelligence and Statistics.
Sohn, K.; Lee, H.; and Yan, X. 2015. Learning Structured Output Representation using Deep Conditional Generative Models. In Cortes, C.; Lawrence, N.; Lee, D.; Sugiyama, M.; and Garnett, R., eds., Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc.
Sokol, K.; and Hüllermeier, E. 2025. All You Need for Counterfactual Explainability Is Principled and Reliable Estimate of Aleatoric and Epistemic Uncertainty. arXiv:2502.17007.
Van Looveren, A.; and Klaise, J. 2021. Interpretable Counterfactual Explanations Guided by Prototypes. In Oliver, N.; Pérez-Cruz, F.; Kramer, S.; Read, J.; and Lozano, J. A., eds., Machine Learning and Knowledge Discovery in Databases. Research Track, 650–665. Cham: Springer International Publishing. ISBN 978-3-030-86520-7.
Wachter, S.; Mittelstadt, B.; and Russell, C. 2018. Counterfactual Explanations Without Opening the Black Box: Automated Decisions and the GDPR. Harvard journal of law & technology, 31: 841–887.
Wolberg, W.; Mangasarian, O.; Street, N.; and Street, W. 1993. Breast Cancer Wisconsin (Diagnostic). UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5DW2B.
Appendix
Proof of Theorem 1
Proof. Since is the only term dependent on , we reduce the difference to the terms
Taking the absolute values we have:
let then we have:
Using the definition of total variation for two distribution P and Q, then we obtain:
since , applying Pinskers inequality we have:
completing the proof.
Proof of Proposition 1
Proof. Let and be a random variable over s.t. . Applying Markov's inequality:
Substituting terms yields:
Taking the complement, we observe:
Proof of Corollary 1
Proof. Chebyshev's inequality:
then, we observe that:
By isolating the LHS of the inequality and substituting for , under the assumption :
and thus:
Related Preliminaries
Our AVCG approach is naturally inspired by the architectures of Variational Autoencoders (VAE) (Kingma and Welling 2014) and Conditional Variational Autoencoders (CVAE) (Sohn, Lee, and Yan 2015). For completeness, we show the derived Evidence Lower Bound (ELBO) for each of the methods.
Variational Autoencoder
The Variational Autoencoder (VAE) (Kingma and Welling 2014) is a foundational approach for amortized inference in generative models. The premise of the VAE is to maximise the log-evidence of an instance ( ), this is mathematically expressed and optimised for via the Evidence Lower Bound (ELBO) as follows:
Conditional Variational Autoencoder
The Conditional Variational Autoencoder (CVAE) (Sohn, Lee, and Yan 2015) imposes a conditional constraint c, such that:
Metrics
Validity measures whether the generated counterfactual successfully alters the prediction of the primary Bayesian predictor, such that:
Implausibility (Imp) calculates the average Euclidean distance from the generated counterfactual to all training instances belonging to the target class, denoted by the set :
IM1 Score evaluates manifold alignment, let denote the reconstruction by an autoencoder trained exclusively on instances of class :
Robustness to Noisy Executions (NE) measures the smoothness of the model's posterior predictive distribution around the counterfactual. We inject Gaussian noise into and measure the predictive discrepancy:
Robustness to Input Changes () evaluates the stability of the counterfactual generator itself, . We subject the original input to an input perturbation :
Implementation Details
In practice, we use automatic differentiation in PyTorch. Expectations over the Rashomon-restricted posterior are approximated using 50 Monte Carlo dropout forward passes per instance providing an empirical hypothesis-space approximation since MC Dropout is used defining a Rashomon set providing predictive multiplicity estimation (Hsu et al. 2024).
Latent expectations are estimated using 5 samples from . We approximate the Rashomon-restricted posterior using an empirical uniform distribution over retained MC-dropout predictors satisfying the validation loss constraint under a deterministic set of , following recent results showing that dropout masks produce models that lie within the Rashomon set with high probability. (Hsu et al. 2024)
Image Dataset Results
In Table 3 we present additional results on MNIST and CIFAR10 to show our method generalises to image data.
Additional -Sweep Results
In Figures 3–5 we provide additional -sweeps across all Tabular datasets presented in the main paper.
Ablations
In Figure 6 and Figure 7 we provide ablation studies on each term across each metric.
Additional Methods
In this section we provide a brief comparison of the standard Conditional VAE (CVAE) inferencing , where is the learned standard CVAE. We also include Wachter et al. (Wachter, Mittelstadt, and Russell 2018).
Table 3: Amortized Counterfactual Evaluation on High-Dimensional Image Datasets (Mean ± std over 5 seeds).
| Method | Val ↑ | IM1 ↓ | Imp ↓ | Div ↑ | CMV ↑ | NE ↓ | R_IC ↓ | RVR ↑ | Time (s) ↓ |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: CIFAR-10 | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.940 ± 0.238 | 1.115 ± 0.189 | 93.594 ± 13.378 | 0.000 ± 0.000 | 0.068 ± 0.175 | 0.0097 ± 0.0089 | 0.4985 ± 0.1547 | 0.774 ± 0.418 | 0.0022 ± 0.0009 |
| QUCE | 0.928 ± 0.259 | 1.082 ± 0.449 | 90.446 ± 12.771 | 0.000 ± 0.000 | 0.254 ± 0.307 | 0.0082 ± 0.0058 | 0.0481 ± 0.0391 | 0.622 ± 0.485 | 0.0114 ± 0.0059 |
| Schut et al. | 0.944 ± 0.230 | 1.103 ± 0.157 | 94.061 ± 13.460 | 0.000 ± 0.000 | 0.116 ± 0.233 | 0.0126 ± 0.0131 | 0.4461 ± 0.4465 | 0.900 ± 0.300 | 1.8211 ± 0.5513 |
| AVCG-B | 1.000 ± 0.000 | 1.036 ± 0.166 | 67.878 ± 5.515 | 6.033 ± 1.056 | 0.774 ± 0.305 | 0.0000 ± 0.0000 | 0.0103 ± 0.0092 | 1.000 ± 0.000 | 0.0013 ± 0.0001 |
| AVCG-R (ε = 0.0) | 0.998 ± 0.045 | 1.085 ± 0.252 | 67.673 ± 5.397 | 6.485 ± 2.069 | 0.324 ± 0.380 | 0.0130 ± 0.0157 | 0.0129 ± 0.0165 | 1.000 ± 0.000 | 0.0014 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.926 ± 0.262 | 1.115 ± 0.189 | 93.582 ± 13.467 | 0.000 ± 0.000 | 0.068 ± 0.175 | 0.0103 ± 0.0098 | 0.5035 ± 0.1615 | 0.743 ± 0.227 | 0.0022 ± 0.0009 |
| QUCE | 0.940 ± 0.238 | 1.082 ± 0.449 | 90.492 ± 12.757 | 0.000 ± 0.000 | 0.254 ± 0.307 | 0.0085 ± 0.0056 | 0.0460 ± 0.0408 | 0.631 ± 0.186 | 0.0114 ± 0.0059 |
| Schut et al. | 0.952 ± 0.214 | 1.103 ± 0.157 | 94.145 ± 13.347 | 0.000 ± 0.000 | 0.116 ± 0.233 | 0.0122 ± 0.0140 | 0.4385 ± 0.4415 | 0.880 ± 0.204 | 1.8211 ± 0.5513 |
| AVCG-B | 1.000 ± 0.000 | 1.036 ± 0.166 | 67.854 ± 5.622 | 6.033 ± 1.056 | 0.774 ± 0.305 | 0.0000 ± 0.0000 | 0.0105 ± 0.0105 | 1.000 ± 0.000 | 0.0013 ± 0.0001 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 1.050 ± 0.175 | 67.602 ± 5.572 | 6.422 ± 1.194 | 0.513 ± 0.389 | 0.0018 ± 0.0047 | 0.0115 ± 0.0106 | 1.000 ± 0.000 | 0.0014 ± 0.0001 |
| Dataset: MNIST | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.834 ± 0.372 | 1.410 ± 0.408 | 34.425 ± 2.324 | 0.000 ± 0.000 | 0.023 ± 0.102 | 0.0159 ± 0.0145 | 0.6965 ± 0.1516 | 0.670 ± 0.470 | 0.0074 ± 0.0021 |
| QUCE | 0.890 ± 0.313 | 1.392 ± 0.622 | 30.619 ± 2.075 | 0.000 ± 0.000 | 0.326 ± 0.343 | 0.0131 ± 0.0117 | 0.0372 ± 0.0405 | 0.620 ± 0.485 | 0.0310 ± 0.0148 |
| Schut et al. | 0.982 ± 0.133 | 1.337 ± 0.419 | 34.737 ± 2.480 | 0.000 ± 0.000 | 0.252 ± 0.298 | 0.0178 ± 0.0213 | 0.5169 ± 0.4543 | 0.928 ± 0.259 | 1.3342 ± 0.4253 |
| AVCG-B | 1.000 ± 0.000 | 1.218 ± 0.577 | 26.871 ± 1.557 | 2.489 ± 0.241 | 0.891 ± 0.245 | 0.0000 ± 0.0000 | 0.0138 ± 0.0053 | 1.000 ± 0.000 | 0.0013 ± 0.0001 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 1.367 ± 0.778 | 26.975 ± 1.577 | 2.442 ± 0.247 | 0.482 ± 0.375 | 0.0031 ± 0.0045 | 0.0138 ± 0.0059 | 1.000 ± 0.000 | 0.0014 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.800 ± 0.400 | 1.410 ± 0.408 | 34.430 ± 2.309 | 0.000 ± 0.000 | 0.023 ± 0.102 | 0.0157 ± 0.0131 | 0.7023 ± 0.1521 | 0.588 ± 0.198 | 0.0074 ± 0.0021 |
| QUCE | 0.882 ± 0.323 | 1.392 ± 0.622 | 30.602 ± 2.115 | 0.000 ± 0.000 | 0.326 ± 0.343 | 0.0120 ± 0.0105 | 0.0377 ± 0.0570 | 0.605 ± 0.207 | 0.0310 ± 0.0148 |
| Schut et al. | 0.984 ± 0.126 | 1.337 ± 0.419 | 34.734 ± 2.477 | 0.000 ± 0.000 | 0.252 ± 0.298 | 0.0173 ± 0.0173 | 0.4975 ± 0.4247 | 0.909 ± 0.133 | 1.3342 ± 0.4253 |
| AVCG-B | 1.000 ± 0.000 | 1.218 ± 0.577 | 26.870 ± 1.501 | 2.489 ± 0.241 | 0.891 ± 0.245 | 0.0000 ± 0.0000 | 0.0138 ± 0.0055 | 1.000 ± 0.000 | 0.0013 ± 0.0001 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 1.243 ± 0.631 | 26.944 ± 1.596 | 2.369 ± 0.262 | 0.823 ± 0.273 | 0.0000 ± 0.0000 | 0.0124 ± 0.0053 | 1.000 ± 0.000 | 0.0014 ± 0.0001 |
Table 4: Amortized Counterfactual Evaluation on Adult Income and Breast Cancer (Mean ± std over 5 seeds).
| Method | Val ↑ | IM1 ↓ | Imp ↓ | Div ↑ | CMV ↑ | NE ↓ | R_IC ↓ | RVR ↑ | Time (s) ↓ |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Adult Income | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| CF-VAE | 0.226 ± 0.418 | 1.404 ± 0.966 | 10.246 ± 2.855 | 2.332 ± 0.568 | 0.224 ± 0.378 | 0.0009 ± 0.0029 | 0.1553 ± 0.1150 | 0.206 ± 0.393 | 0.0004 ± 0.0001 |
| Wachter et al. | 0.762 ± 0.426 | 2.531 ± 3.570 | 11.712 ± 3.317 | 0.000 ± 0.000 | 0.550 ± 0.319 | 0.0074 ± 0.0106 | 0.0087 ± 0.0271 | 0.396 ± 0.368 | 0.0603 ± 0.1166 |
| AVCG-B | 1.000 ± 0.000 | 0.756 ± 0.202 | 8.328 ± 0.047 | 0.027 ± 0.009 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0000 ± 0.0000 | 1.000 ± 0.000 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.768 ± 0.202 | 8.346 ± 0.055 | 0.021 ± 0.009 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0000 ± 0.0000 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| CF-VAE | 0.232 ± 0.422 | 1.404 ± 0.966 | 10.246 ± 2.855 | 2.332 ± 0.568 | 0.224 ± 0.378 | 0.0009 ± 0.0030 | 0.1570 ± 0.1215 | 0.222 ± 0.390 | 0.0004 ± 0.0001 |
| Wachter et al. | 0.792 ± 0.406 | 2.531 ± 3.570 | 11.712 ± 3.317 | 0.000 ± 0.000 | 0.550 ± 0.319 | 0.0065 ± 0.0074 | 0.0096 ± 0.0312 | 0.549 ± 0.122 | 0.0603 ± 0.1166 |
| AVCG-B | 1.000 ± 0.000 | 0.756 ± 0.202 | 8.328 ± 0.047 | 0.027 ± 0.009 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0000 ± 0.0000 | 1.000 ± 0.000 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 0.769 ± 0.211 | 8.335 ± 0.049 | 0.018 ± 0.007 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0000 ± 0.0000 | 1.000 ± 0.000 | 0.0005 ± 0.0001 |
| Dataset: Breast Cancer | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| CF-VAE | 0.414 ± 0.493 | 2.909 ± 2.912 | 6.704 ± 1.094 | 2.031 ± 0.471 | 0.380 ± 0.460 | 0.0016 ± 0.0036 | 0.2866 ± 0.2297 | 0.411 ± 0.471 | 0.0011 ± 0.0003 |
| Wachter et al. | 0.748 ± 0.434 | 1.609 ± 0.827 | 7.260 ± 1.236 | 0.000 ± 0.000 | 0.335 ± 0.319 | 0.0072 ± 0.0076 | 0.0008 ± 0.0024 | 0.583 ± 0.184 | 0.0640 ± 0.0565 |
| AVCG-B | 1.000 ± 0.000 | 0.573 ± 0.136 | 5.341 ± 0.543 | 1.132 ± 0.162 | 1.000 ± 0.000 | 0.0000 ± 0.0003 | 0.0473 ± 0.0361 | 1.000 ± 0.000 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.597 ± 0.143 | 5.305 ± 0.527 | 1.172 ± 0.171 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0484 ± 0.0413 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| CF-VAE | 0.414 ± 0.493 | 2.908 ± 2.912 | 6.704 ± 1.094 | 2.031 ± 0.471 | 0.380 ± 0.460 | 0.0016 ± 0.0036 | 0.3048 ± 0.2510 | 0.417 ± 0.460 | 0.0011 ± 0.0003 |
| Wachter et al. | 0.768 ± 0.422 | 1.609 ± 0.827 | 7.260 ± 1.236 | 0.000 ± 0.000 | 0.335 ± 0.319 | 0.0075 ± 0.0079 | 0.0008 ± 0.0020 | 0.576 ± 0.067 | 0.0640 ± 0.0565 |
| AVCG-B | 1.000 ± 0.000 | 0.573 ± 0.136 | 5.341 ± 0.543 | 1.132 ± 0.162 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0466 ± 0.0397 | 1.000 ± 0.000 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 0.591 ± 0.167 | 5.297 ± 0.591 | 1.101 ± 0.175 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0450 ± 0.0370 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
Rashomon Sweep - Adult Income

Figure 3: ε-sweep on the adult income dataset for AVCG-R. Here we observe the impact of the ε hyperparameter for the Rashomon set.
Table 5: Amortized Counterfactual Evaluation on Heart Disease and Spambase (Mean ± std over 5 seeds).
| Method | Val ↑ | IM1 ↓ | Imp ↓ | Div ↑ | CMV ↑ | NE ↓ | R_IC ↓ | RVR ↑ | Time (s) ↓ |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Heart Disease | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| CF-VAE | 0.218 ± 0.412 | 3.682 ± 5.346 | 4.160 ± 0.462 | 1.282 ± 0.281 | 0.212 ± 0.390 | 0.0006 ± 0.0005 | 0.1212 ± 0.1098 | 0.223 ± 0.387 | 0.0011 ± 0.0001 |
| Wachter et al. | 0.581 ± 0.493 | 1.141 ± 0.358 | 4.808 ± 0.456 | 0.000 ± 0.000 | 0.408 ± 0.340 | 0.0034 ± 0.0033 | 0.0040 ± 0.0240 | 0.500 ± 0.221 | 0.0408 ± 0.0223 |
| AVCG-B | 1.000 ± 0.000 | 0.407 ± 0.163 | 3.616 ± 0.123 | 0.670 ± 0.127 | 1.000 ± 0.000 | 0.0002 ± 0.0002 | 0.0245 ± 0.0201 | 1.000 ± 0.000 | 0.0003 ± 0.0001 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.407 ± 0.126 | 3.633 ± 0.126 | 0.699 ± 0.135 | 1.000 ± 0.000 | 0.0002 ± 0.0002 | 0.0219 ± 0.0180 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| CF-VAE | 0.226 ± 0.418 | 3.682 ± 5.346 | 4.160 ± 0.461 | 1.282 ± 0.281 | 0.212 ± 0.390 | 0.0006 ± 0.0005 | 0.1255 ± 0.1109 | 0.223 ± 0.376 | 0.0011 ± 0.0001 |
| Wachter et al. | 0.581 ± 0.493 | 1.141 ± 0.358 | 4.808 ± 0.456 | 0.000 ± 0.000 | 0.408 ± 0.340 | 0.0033 ± 0.0032 | 0.0037 ± 0.0190 | 0.517 ± 0.067 | 0.0408 ± 0.0223 |
| AVCG-B | 1.000 ± 0.000 | 0.407 ± 0.163 | 3.616 ± 0.123 | 0.670 ± 0.127 | 1.000 ± 0.000 | 0.0002 ± 0.0002 | 0.0261 ± 0.0341 | 1.000 ± 0.004 | 0.0003 ± 0.0001 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 0.436 ± 0.166 | 3.628 ± 0.107 | 0.656 ± 0.128 | 1.000 ± 0.000 | 0.0002 ± 0.0001 | 0.0190 ± 0.0144 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
| Dataset: Spambase | |||||||||
| Environment: ε = 0.0 (Strict Empirical Bound) | |||||||||
| CF-VAE | 0.334 ± 0.472 | 3.159 ± 3.534 | 8.248 ± 2.909 | 2.520 ± 0.499 | 0.346 ± 0.437 | 0.0060 ± 0.0205 | 0.3544 ± 0.2724 | 0.334 ± 0.446 | 0.0011 ± 0.0001 |
| Wachter et al. | 0.732 ± 0.443 | 2.750 ± 2.440 | 9.535 ± 3.474 | 0.000 ± 0.000 | 0.495 ± 0.331 | 0.0227 ± 0.0188 | 0.0054 ± 0.0178 | 0.566 ± 0.252 | 0.0301 ± 0.0448 |
| AVCG-B | 1.000 ± 0.000 | 0.983 ± 0.244 | 6.276 ± 0.091 | 0.744 ± 0.107 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0231 ± 0.0231 | 1.000 ± 0.000 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.0) | 1.000 ± 0.000 | 0.925 ± 0.207 | 6.278 ± 0.084 | 0.832 ± 0.117 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0295 ± 0.0293 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
| Environment: ε = 0.8 (Relaxed Empirical Bound) | |||||||||
| CF-VAE | 0.334 ± 0.472 | 3.216 ± 3.381 | 8.242 ± 2.946 | 2.454 ± 0.484 | 0.348 ± 0.432 | 0.0044 ± 0.0103 | 0.3346 ± 0.2369 | 0.333 ± 0.435 | 0.0011 ± 0.0001 |
| Wachter et al. | 0.716 ± 0.451 | 2.750 ± 2.440 | 9.535 ± 3.475 | 0.000 ± 0.000 | 0.495 ± 0.331 | 0.0221 ± 0.0179 | 0.0051 ± 0.0168 | 0.569 ± 0.100 | 0.0301 ± 0.0448 |
| AVCG-B | 1.000 ± 0.000 | 0.983 ± 0.244 | 6.276 ± 0.091 | 0.776 ± 0.128 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0242 ± 0.0249 | 1.000 ± 0.001 | 0.0003 ± 0.0000 |
| AVCG-R (ε = 0.8) | 1.000 ± 0.000 | 1.037 ± 0.238 | 6.332 ± 0.087 | 0.690 ± 0.108 | 1.000 ± 0.000 | 0.0000 ± 0.0000 | 0.0208 ± 0.0239 | 1.000 ± 0.000 | 0.0004 ± 0.0001 |
Rashomon Sweep - Breast Cancer

Figure 4: -sweep on the breast cancer dataset for AVCG-R. Here we observe the impact of the hyperparameter for the Rashomon set.
Rashomon Sweep - Heart Disease

Figure 5: -sweep on the heart disease dataset for AVCG-R. Here we observe the impact of the hyperparameter for the Rashomon set.
Ablation Study: Heart Disease

Figure 6: Ablation study on the heart disease dataset across key metrics.
Ablation Study: Spambase

Figure 7: Ablation study on the spambase dataset across key metrics.