AVCG: A Generalized Variational Framework for Counterfactual Generation under Hypothesis Distributions
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.
1School of Computing and Digital Technologies, Sheffield Hallam University
2Centre of Excellence in AI and Robotics (CEAIR), Sheffield Hallam University
3Laboratoire d’analyse cognitive de l’information (LANCI), Université du Québec à Montréal
4Institut Santé et société (ISS), Université du Québec à Montréal
5Institut de recherches et d’études féministes (IREF), Université du Québec à Montréal
j.duell@shu.ac.uk
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:
- 1.
We formulate counterfactual generation as optimization over arbitrary hypothesis distributions, introducing AVCG, a generalized variational framework independent of any specific uncertainty representation.
- 2.
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.
- 3.
We demonstrate the generality of AVCG by instantiating two fundamentally different robustness paradigms: Bayesian uncertainty and Rashomon model multiplicity, within a single optimization framework.
- 4.
We provide theoretical and empirical evaluations demonstrating robustness, validity and inference speed.
Preliminaries
We formalize our framework by assuming a generalized predictive space that accounts for hypothesis variability. Given some parametric model , let denote a generalized probability distribution over the model parameters , defining the space of plausible hypotheses.
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 , if 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 . Operating within a latent-variable generative model, the true predictive distribution requires marginalizing over both the latent space 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:
| (Jensen’s inequality and ) | |||
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 et al. 2020; Sokol and Hüllermeier 2025), we incorporate a proximity constraint using a distance function :
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 and 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 ,
| Method | Val | IM1 | Imp | Div | CMV | NE | RIC | RVR | Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Adult Income | |||||||||
| Environment: (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.910 0.286 | 1.403 1.722 | 11.639 3.361 | 0.000 0.000 | 0.749 0.278 | 0.0054 0.0073 | 0.0342 0.1030 | 0.675 0.388 | 0.0171 0.1092 |
| QUCE | 0.918 0.274 | 0.963 0.322 | 9.807 2.055 | 0.000 0.000 | 0.883 0.252 | 0.0012 0.0031 | 0.0054 0.0156 | 0.923 0.251 | 0.0102 0.0740 |
| Schut et al. | 0.982 0.133 | 1.943 2.378 | 12.033 3.225 | 0.000 0.000 | 0.951 0.163 | 0.0036 0.0052 | 0.0163 0.1533 | 0.915 0.185 | 0.0443 0.1013 |
| AVCG-B | 1.000 0.000 | 0.769 0.214 | 8.320 0.047 | 0.030 0.010 | 1.000 0.000 | 0.0000 0.0000 | 0.0000 0.0000 | 1.000 0.000 | 0.0011 0.0001 |
| AVCG-R () | 1.000 0.000 | 0.785 0.178 | 8.303 0.059 | 0.017 0.006 | 1.000 0.000 | 0.0000 0.0000 | 0.0000 0.0000 | 1.000 0.000 | 0.0011 0.0001 |
| Environment: (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.912 0.283 | 1.403 1.722 | 11.639 3.361 | 0.000 0.000 | 0.749 0.278 | 0.0057 0.0090 | 0.0355 0.0903 | 0.774 0.197 | 0.0171 0.1092 |
| QUCE | 0.918 0.274 | 0.963 0.322 | 9.807 2.055 | 0.000 0.000 | 0.883 0.252 | 0.0013 0.0040 | 0.0047 0.0144 | 0.919 0.235 | 0.0102 0.0740 |
| Schut et al. | 0.982 0.133 | 1.943 2.378 | 12.033 3.225 | 0.000 0.000 | 0.951 0.163 | 0.0037 0.0055 | 0.0173 0.1483 | 0.955 0.131 | 0.0443 0.1013 |
| AVCG-B | 1.000 0.000 | 0.769 0.214 | 8.320 0.047 | 0.030 0.010 | 1.000 0.000 | 0.0000 0.0000 | 0.0000 0.0000 | 1.000 0.000 | 0.0011 0.0001 |
| AVCG-R () | 1.000 0.000 | 0.764 0.209 | 8.308 0.051 | 0.022 0.007 | 1.000 0.000 | 0.0000 0.0000 | 0.0000 0.0000 | 1.000 0.000 | 0.0011 0.0001 |
| Dataset: Breast Cancer | |||||||||
| Environment: (Strict Empirical Bound) | |||||||||
| Batten et al. | 0.948 0.222 | 1.425 0.714 | 7.225 1.204 | 0.000 0.000 | 0.655 0.336 | 0.0051 0.0063 | 0.0142 0.0623 | 0.870 0.187 | 0.0111 0.0062 |
| QUCE | 1.000 0.000 | 0.787 0.520 | 6.173 1.117 | 0.000 0.000 | 0.992 0.046 | 0.0012 0.0028 | 0.0004 0.0031 | 0.995 0.033 | 0.0103 0.0056 |
| Schut et al. | 1.000 0.000 | 1.163 0.330 | 8.036 1.371 | 0.000 0.000 | 0.662 0.313 | 0.0017 0.0018 | 0.0153 0.0542 | 0.996 0.023 | 0.0862 0.0480 |
| AVCG-B | 1.000 0.000 | 0.579 0.153 | 5.317 0.594 | 1.135 0.171 | 1.000 0.000 | 0.0000 0.0000 | 0.0477 0.0391 | 1.000 0.000 | 0.0011 0.0001 |
| AVCG-R () | 1.000 0.000 | 0.658 0.147 | 5.364 0.544 | 1.078 0.209 | 1.000 0.000 | 0.0001 0.0002 | 0.0443 0.0459 | 1.000 0.000 | 0.0010 0.0001 |
| Environment: (Relaxed Empirical Bound) | |||||||||
| Batten et al. | 0.948 0.222 | 1.425 0.714 | 7.225 1.204 | 0.000 0.000 | 0.655 0.336 | 0.0045 0.0047 | 0.0138 0.0522 | 0.855 0.161 | 0.0111 0.0062 |
| QUCE | 1.000 0.000 | 0.787 0.520 | 6.173 1.117 | 0.000 0.000 | 0.992 0.046 | 0.0010 0.0022 | 0.0003 0.0021 | 0.995 0.020 | 0.0103 0.0056 |
| Schut et al. | 1.000 0.000 | 1.163 0.330 | 8.036 1.371 | 0.000 0.000 | 0.662 0.313 | 0.0018 0.0021 | 0.0246 0.0967 | 0.992 0.017 | 0.0862 0.0480 |
| AVCG-B | 1.000 0.000 | 0.579 0.153 | 5.317 0.594 | 1.135 0.171 | 1.000 0.000 | 0.0000 0.0000 | 0.0466 0.0397 | 1.000 0.000 | 0.0011 0.0001 |
| AVCG-R () | 1.000 0.000 | 0.639 0.129 | 5.377 0.584 | 1.112 0.176 | 1.000 0.000 | 0.0000 0.0000 | 0.0455 0.0361 | 1.000 0.000 | 0.0011 0.0001 |
| Method | Val | IM1 | Imp | Div | CMV | NE | RIC | RVR | Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Heart Disease | |||||||||
| Environment: (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 () | 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: (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 () | 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: (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 () | 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: (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 () | 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 |
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 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 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.
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 et al. 2020), IM1 (Van Looveren and Klaise 2021; Schut et al. 2021), Implausibility (Imp) (Altmeyer et al. 2024), Diversity (Mothilal et al. 2020), Robustness to Noisy Executions (NE) (Jiang et al. 2024), Robustness to Input Changes (RIC) (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 across all 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 on Breast Cancer and 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 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 et al. 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 Accepted Manuscript version of this paper, arising from this submission.
References
- Faithful model explanations through energy-constrained conformal counterfactuals. Proceedings of the AAAI Conference on Artificial Intelligence 38, pp. 10829–10837. External Links: Document Cited by: Metrics.
- Uncertainty-aware counterfactual explanations using bayesian neural nets. External Links: Link Cited by: Introduction, Datasets, Baselines, Metrics.
- Adult. Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C5XW20 Cited by: Datasets.
- Weight uncertainty in neural networks. In Proceedings of the 32nd International Conference on Machine Learning - Volume 37, ICML’15, pp. 1613–1622. Cited by: Introduction.
- Inference suboptimality in variational autoencoders. In International Conference on Machine Learning, External Links: Link Cited by: Conclusion.
- QUCE: the minimisation and quantification of path-based uncertainty for generative counterfactual explanations. In 2024 IEEE International Conference on Data Mining (ICDM), pp. 693–698. External Links: Link, Document Cited by: Introduction, Introduction, Baselines.
- 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, pp. 1050–1059. Cited by: Introduction, AVCG-B: The Bayesian Instantiation.
- Spambase. Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C53G6X Cited by: Datasets.
- 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, External Links: Link Cited by: Introduction.
- 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, External Links: Link Cited by: Appendix A, Appendix A, Introduction.
- Heart Disease. Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C52P4X Cited by: Datasets.
- Robust counterfactual explanations in machine learning: a survey. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI ’24. External Links: ISBN 978-1-956792-04-1, Link, Document Cited by: Introduction, Metrics.
- Semi-amortized variational autoencoders. In Proceedings of the 35th International Conference on Machine Learning, J. Dy and A. Krause (Eds.), Proceedings of Machine Learning Research, Vol. 80, pp. 2678–2687. External Links: Link Cited by: Conclusion.
- Auto-encoding variational bayes. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Conference Track Proceedings, Y. Bengio and Y. LeCun (Eds.), External Links: Link Cited by: Appendix A, Appendix A, Computing AVCG.
- Explaining machine learning classifiers through diverse counterfactual explanations. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, FAT* ’20, pp. 607–617. External Links: Link, Document Cited by: Proximity Regularization, Metrics.
- Counterfactual explanations for model ensembles using entropic risk measures. In Proceedings of the 24th International Conference on Autonomous Agents and Multiagent Systems, AAMAS ’25, Richland, SC, pp. 1566–1575. External Links: ISBN 9798400714269 Cited by: Datasets.
- Generating interpretable counterfactual explanations by implicit minimisation of epistemic and aleatoric uncertainties. In International Conference on Artificial Intelligence and Statistics, External Links: Link Cited by: Introduction, Introduction, Datasets, Baselines, Metrics.
- Learning structured output representation using deep conditional generative models. In Advances in Neural Information Processing Systems, C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (Eds.), Vol. 28, pp. . External Links: Link Cited by: Appendix A, Appendix A.
- All you need for counterfactual explainability is principled and reliable estimate of aleatoric and epistemic uncertainty. External Links: 2502.17007, Link Cited by: Introduction, Proximity Regularization.
- Interpretable counterfactual explanations guided by prototypes. In Machine Learning and Knowledge Discovery in Databases. Research Track, N. Oliver, F. Pérez-Cruz, S. Kramer, J. Read, and J. A. Lozano (Eds.), Cham, pp. 650–665. External Links: ISBN 978-3-030-86520-7 Cited by: Metrics.
- Counterfactual explanations without opening the black box: automated decisions and the gdpr. Harvard journal of law & technology 31, pp. 841–887. External Links: Document Cited by: Appendix D.
- Breast Cancer Wisconsin (Diagnostic). Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C5DW2B Cited by: Datasets.
Appendix A 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 and , 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 et al. 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 (log ), this is mathematically expressed and optimised for via the Evidence Lower Bound (ELBO) as follows:
Conditional Variational Autoencoder
The Conditional Variational Autoencoder (CVAE) (Sohn et al. 2015) imposes a conditional constraint , 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.
| Method | Val | IM1 | Imp | Div | CMV | NE | RIC | RVR | Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: CIFAR-10 | |||||||||
| Environment: (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.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: (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 () | 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: (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 () | 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: (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 () | 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 |
Appendix B Additional -Sweep Results
In Figures 3–5 we provide additional -sweeps across all Tabular datasets presented in the main paper.
Appendix C Ablations
Appendix D 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 et al. 2018).
| Method | Val | IM1 | Imp | Div | CMV | NE | RIC | RVR | Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Adult Income | |||||||||
| Environment: (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 () | 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: (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 () | 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: (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 () | 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: (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 () | 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 |
| Method | Val | IM1 | Imp | Div | CMV | NE | RIC | RVR | Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| Dataset: Heart Disease | |||||||||
| Environment: (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 () | 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: (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 () | 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: (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 () | 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: (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 () | 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 |