alphaFeedback

WorksComputer Science

Counterfactual Marginalisation: Framework for Evaluating Robustness to Nuisance Variables

AI contributions
Not recorded for this paper
View details

Abstract

Machine learning models can achieve strong test performance while relying on demographic or acquisition-related shortcuts. We propose counterfactual (CF) marginalisation as a test-time evaluation procedure for assessing robustness of classification models to such variables. Given a CF image generator, we intervene on nuisance parent variables such as age or sex, generate CF versions of each test image, and average predictions over a target intervention distribution. This produces intervention-aware predictions that marginalise demographic effects while preserving patient-specific latent information. We use these predictions to define metrics for CF risk, calibration, stability and worst-case sensitivity. We demonstrate this framework's utility for quantitative robustness evaluation.

Introduction

Deep learning models have achieved strong performance in medical image analysis, but high accuracy on held-out data does not guarantee clinically appropriate decision rules. In practice, models may rely on demographic, acquisition-related, or site-specific shortcuts rather than pathology-relevant evidence [12]. Causal modelling provides a principled way to study these issues by asking, for example, how a prediction would change if a patient’s demographic attributes were intervened upon while other patient-specific factors were held fixed [21]. Recent work has used Structural Causal Model (SCM)-based generative models to produce medical image CFs for explanation, auditing and augmentation [20, 22, 4, 9]. Here, instead, we use CFs at test time to define evaluation metrics for medical image classifiers. Given an SCM-based CF generator, we intervene on nuisance parent variables such as age or sex, and generate CF versions of each test image [9]. We then develop a range of metrics that use these CFs to measure the sensitivity, stability and performance of a predictor. This setting is closely related to work on fairness and robustness in medical imaging [12, 16], where prior studies have shown that models can exhibit demographic disparities and can recover sensitive attributes directly from images [28, 2]. Our contributions are as follows:

  • We formulate counterfactual marginalisation over variables as a test-time evaluation procedure for medical image classifiers.

  • We introduce intervention-aware evaluation metrics, including counterfactual marginal risk, interventional expected risk, counterfactual stability, and worst-case counterfactual risk. This extends counterfactuals from explanation and augmentation to principled robustness evaluation.

  • We demonstrate that our approach exposes biases in predictors better than traditional metrics and also enables measuring sensitivity to nuisance variables without requiring disease labels.

Background

Point-estimate evaluation can miss brittle model behaviour: small, plausible changes to inputs or logits may alter predictions. This concern echoes work on flat minima, where models in wider low-loss regions tend to generalise better than sharp solutions [8, 5]. Ensembles and Bayesian model averaging address a related issue by marginalising over parameters to improve robustness and uncertainty estimates [13, ?, 26], while test-time augmentation similarly averages predictions over transformed images [1, 14]. Our counterfactual marginalisation can be viewed as a causal analogue: instead of averaging over ad-hoc image transformations, we average over SCM-defined interventions on parent variables such as age or sex. This in turn motivates the design of metrics that assess not only average performance, which often is insufficient for describing clinical utility [19], but also metrics that measure sensitivity, calibration, and worst-case behaviour across clinically meaningful perturbations.

Counterfactual Marginalisation for Evaluation

Let gθ(x)∈[0,1]g_{\theta}(x) \in[0,1] denote the predicted probability of disease for image xx and y∈{0,1}y \in\{0,1\} the corresponding ground-truth label. We partition the parent variables as pa=(a,c)\mathrm{pa}=(\mathbf{a},\mathbf{c}), where a\mathbf{a} is the subset of parent variables to be marginalised, e.g. age and sex, and c\mathbf{c} denotes the remaining parent variables that are kept fixed. Given an observed sample (xi,ai,ci,yi)(x_i,\mathbf{a}_i,\mathbf{c}_i,y_i), we generate counterfactual images by intervening on a\mathbf{a} while preserving the inferred exogenous noise for that individual through the standard abduction–action–prediction procedure. This yields a set of counterfactual images x~i(a~)∼Px∣do⁡(a=a~),ci,ui\tilde{x}_i(\tilde{\mathbf{a}}) \sim P_{x \mid\operatorname{do}(\mathbf{a}=\tilde{\mathbf{a}}),\mathbf{c}_i,u_i}, where uiu_i denotes the abducted exogenous variables for sample ii. To remove the influence of the nuisance demographic variables, we define a target distribution q(a~)q(\tilde{\mathbf{a}}) over interventions. This may be chosen as the empirical test-set distribution, a uniform distribution over demographic strata, or an external population distribution. We then define the counterfactually marginalised prediction for sample ii as

pˉi=Ea~∼q[gθ(x~i(a~))](1)\bar{p}_i = \mathbb{E}_{\tilde{\mathbf{a}}\sim q}\left[g_{\theta}\left(\tilde{x}_i(\tilde{\mathbf{a}})\right)\right] \tag*{(1)}
Overview of the proposed Counterfactual Marginalisation evaluation framework

Figure 1. Overview of the proposed Counterfactual Marginalisation evaluation framework

In practice, this expectation is approximated by Monte Carlo sampling:

pˉ^i=1M∑m=1Mgθ(x~i(a~i(m))),a~i(m)∼q(a~)(2)\hat{\bar{p}}_i = \frac{1}{M} \sum_{m=1}^{M} g_\theta\left(\tilde{x}_i\left(\tilde{a}_i^{(m)}\right)\right), \qquad\tilde{a}_i^{(m)} \sim q(\tilde{a}) \tag*{(2)}

Counterfactual Risk

Using (1), we define the counterfactual marginal risk and interventional expected risk as

RCM=1N∑i=1Nℓ(pˉi,yi)(3)\mathcal{R}_{\mathrm{CM}} = \frac{1}{N}\sum_{i=1}^{N}\ell(\bar{p}_i,y_i) \tag*{(3)}
RIE=1N∑i=1NEa~∼q[Li(a~)](4)\mathcal{R}_{\mathrm{IE}} = \frac{1}{N}\sum_{i=1}^{N}\mathbb{E}_{\tilde{a}\sim q}\left[L_i(\tilde{a})\right] \tag*{(4)}

where Li(a~)=ℓ(gθ(x~i(a~)),yi)L_i(\tilde{a}) = \ell\left(g_\theta\left(\tilde{x}_i(\tilde{a})\right), y_i\right) and ℓ\ell is binary cross-entropy or another appropriate loss. The former evaluates predictive performance after marginalising out the nuisance demographic variables, while the latter averages the loss over counterfactual interventions before aggregation. To measure the extent to which the predictor is vulnerable to the most adverse demographic interventions, we consider a tail-risk measure based on the conditional value at risk (CVaR). For a chosen tail level α∈(0,1]\alpha\in(0, 1], the counterfactual tail risk is

RCVaR,α=1N∑i=1NCVaRα(Li(a~))(5)\mathcal{R}_{\mathrm{CVaR},\alpha} = \frac{1}{N}\sum_{i=1}^{N}\mathrm{CVaR}_{\alpha}\left(L_i(\tilde{a})\right) \tag*{(5)}

where CVaRα\mathrm{CVaR}_{\alpha} is the expected loss within the worst α\alpha-fraction of interventions under q(a~)q(\tilde{a}). Let RWC=RCVaR,0\mathcal{R}_{\mathrm{WC}}=\mathcal{R}_{\mathrm{CVaR},0} denote the risk of the worst-case intervention.

Counterfactual Calibration

While RCM\mathcal{R}_{\mathrm{CM}} and RIE\mathcal{R}_{\mathrm{IE}} measure predictive accuracy under counterfactual marginalisation, they do not directly assess whether the resulting probabilities are well calibrated. To handle this, we report the counterfactual Brier score and counterfactual expected calibration error (ECE):

CBrier=1N∑i=1N(pˉi−yi)2(6)C_{\mathrm{Brier}} = \frac{1}{N}\sum_{i=1}^{N}(\bar{p}_{i}-y_{i})^{2} \tag*{(6)}
CECE=∑b=1B∣Ib∣N∣1∣Ib∣∑i∈Ibyi−1∣Ib∣∑i∈Ibpˉi∣(7)C_{\mathrm{ECE}} = \sum_{b=1}^{B}\frac{\lvert I_{b}\rvert}{N}\left\lvert\frac{1}{\lvert I_{b}\rvert}\sum_{i\in I_{b}}y_{i}-\frac{1}{\lvert I_{b}\rvert}\sum_{i\in I_{b}}\bar{p}_{i}\right\rvert \tag*{(7)}

where I1,…,IBI_{1},\ldots,I_{B} denote bins of samples partitioned according to their marginalised predicted probabilities pˉi\bar{p}_{i}. These measure whether the probabilities obtained after marginalisation remain clinically interpretable as calibrated risk estimates.

Counterfactual Stability

We define a counterfactual stability score based on the variation of the model output across interventions:

Svar=1N∑i=1NVar⁡a∼q[gθ(x~i(a))](8)S_{\mathrm{var}} = \frac{1}{N}\sum_{i=1}^{N}\operatorname{Var}_{a\sim q}\left[g_{\theta}\left(\tilde{x}_{i}(a)\right)\right] \tag*{(8)}

A low value of SvarS_{\mathrm{var}} indicates that the predicted probability is stable under changes in the nuisance demographic variables. For threshold-based clinical decision making, we additionally define a counterfactual flip rate

Sflip=1N∑i=1NEa~∼q[1{1[gθ(xi)>τ]≠1[gθ(x~i(a~))>τ]}](9)S_{\mathrm{flip}} = \frac{1}{N}\sum_{i=1}^{N}\mathbb{E}_{\tilde{a}\sim q}\left[\mathbf{1}\left\{\mathbf{1}[g_{\theta}(x_{i})>\tau]\ne\mathbf{1}[g_{\theta}(\tilde{x}_{i}(\tilde{a}))>\tau]\right\}\right] \tag*{(9)}

where τ\tau is a fixed decision threshold. This metric captures how often a prediction changes solely because of an intervention on the nuisance parent variables. We also measure how often the binary decision made on the observed image differs from the decision made using the counterfactually marginalised prediction. This observed–marginalised disagreement rate is defined as

Dobs-marg=1N∑i=1N1{1[gθ(xi)>τ]≠1[pˉi>τ]}(10)D_{\mathrm{obs\text{-}marg}} = \frac{1}{N}\sum_{i=1}^{N}\mathbf{1}\left\{\mathbf{1}[g_{\theta}(x_{i})>\tau]\ne\mathbf{1}[\bar{p}_{i}>\tau]\right\} \tag*{(10)}

This metric quantifies the extent to which conventional observational evaluation would lead to a different clinical decision than intervention-aware evaluation. For tasks in which the predicted score is used for prioritisation or triage, it is important that the relative ranking of patients remains stable after marginalisation [3, 17]. Let rir_{i} denote the rank of the observed prediction gθ(xi)g_{\theta}(x_{i}) across the test set, and let rˉi\bar{r}_{i} denote the rank of the marginalised prediction pˉi\bar{p}_{i}. We quantify counterfactual rank stability using the Spearman rank correlation measure:

Srank=1−6∑i=1N(ri−rˉi)2N(N2−1)(11)S_{\mathrm{rank}} = 1-\frac{6\sum_{i=1}^{N}(r_{i}-\bar{r}_{i})^{2}}{N(N^{2}-1)} \tag*{(11)}

Theoretical Advantages of Counterfactual Evaluation

As well as the clear advantage of being able to generate samples from underrepresented classes, we also have that for quantities that are identified observationally, such as the mean prediction within a demographic subgroup, the CF estimator achieves lower variance by exploiting the full test set rather than the subgroup alone. Let zz denote a particular attribute value (e.g. A=FemaleA = \mathrm{Female}), nz=∣{i:ai=z}∣n_z = |\{i : a_i = z\}| the number of test samples in that subgroup, and nn the total test size. The standard observational estimator of μz=E[g(X)∣A=z]\mu_z = \mathbb{E}[g(X) \mid A = z] is

μ^zobs=1nz∑i:ai=zg(xi),Var⁡[μ^zobs]=Var⁡[g(X)∣A=z]nz(12)\hat{\mu}_z^{\mathrm{obs}} = \frac{1}{n_z} \sum_{i:a_i=z} g(x_i), \qquad\operatorname{Var}\left[\hat{\mu}_z^{\mathrm{obs}}\right] = \frac{\operatorname{Var}[g(X) \mid A = z]}{n_z} \tag*{(12)}

The CF estimator generates a counterfactual image at A=zA = z for every test patient and averages: μ^zCF=1n∑i=1ng(x~i(z))\hat{\mu}_z^{\mathrm{CF}} = \frac{1}{n}\sum_{i=1}^{n}g(\tilde{x}_i(z)). Under correct SCM specification, μ^zCF\hat{\mu}_z^{\mathrm{CF}} is unbiased for μz\mu_z. Its variance decomposes via the law of total variance, conditioning on the abducted exogenous noise UiU_i:

Var⁡[μ^zCF]=Var⁡[E[g(X~(z))∣U]]n+E[Var⁡[g(X~(z))∣U]]n(13)\operatorname{Var}\left[\hat{\mu}_z^{\mathrm{CF}}\right] = \frac{\operatorname{Var}\left[\mathbb{E}[g(\tilde{X}(z)) \mid U]\right]}{n} + \frac{\mathbb{E}\left[\operatorname{Var}[g(\tilde{X}(z)) \mid U]\right]}{n} \tag*{(13)}

The first term is the variance of the posterior mean (signal); the second is the expected posterior variance (SCM generation noise σgen2\sigma_{\mathrm{gen}}^2). The exogeneous noise UU accounts for all unobserved background variables and individual traits, serving as a sufficient statistic for individual-level causal queries. Then, by the Rao-Blackwell theorem, Var⁡[E[g(X~(z))∣U]]≤Var⁡[g(X~(z))]=Var⁡[g(X)∣A=z]\operatorname{Var}[\mathbb{E}[g(\tilde{X}(z)) \mid U]] \leq\operatorname{Var}[g(\tilde{X}(z))] = \operatorname{Var}[g(X) \mid A=z], so

Var⁡[μ^zCF]≤Var⁡[g(X)∣A=z]n+σgen2n(14)\operatorname{Var}\left[\hat{\mu}_z^{\mathrm{CF}}\right] \leq\frac{\operatorname{Var}[g(X) \mid A = z]}{n} + \frac{\sigma_{\mathrm{gen}}^2}{n} \tag*{(14)}

Proposition 1 (Variance reduction). Let σ2=Var⁡[g(X)∣A=z]\sigma^2 = \operatorname{Var}[g(X) \mid A = z]. The CF estimator satisfies

Var⁡[μ^zCF]≤Var⁡[μ^zobs]\operatorname{Var}\left[\hat{\mu}_z^{\mathrm{CF}}\right] \leq\operatorname{Var}\left[\hat{\mu}_z^{\mathrm{obs}}\right]

whenever σgen2≤σ2(1−nz/n)\sigma_{\mathrm{gen}}^2 \leq\sigma^2(1 - n_z/n). The advantage grows as the subgroup becomes rarer: as nz/n→0n_z/n \to0, the bound reduces to Var⁡[μ^zCF]≤σ2/n+σgen2/n≪σ2/nz\operatorname{Var}[\hat{\mu}_z^{\mathrm{CF}}] \leq\sigma^2/n + \sigma_{\mathrm{gen}}^2/n \ll\sigma^2/n_z.

This is directly analogous to the efficiency gain of a within-subjects design over a between-subjects design in experimental settings [23].

Experiments

Datasets

To demonstrate the utility of our metrics, we use two large scale chest x-ray datasets, CheXpert [10] and MIMIC-CXR [11]. We perform binary classification of Pleural Effusion (PE), existence or not. To ensure a controlled evaluation, we balance the test split so that male and female patients appear in equal numbers, and disease prevalence is equalised across sex and 3 age groups (<45<45, 4545-6565, >65>65). The final balanced test sets for CheXpert (C) and MIMIC (M) contain 5,180 and 28,189 studies respectively. We use these two datasets to run three experimental settings: (1) Train and test the PE classifier on C; (2) Train and test on M; (3) Train on C and test on MnatM_{\mathrm{nat}} with natural demographic distributions. For all 3 settings we train the CF generator on C.

Predictors and Training Settings

The causal graph encodes the following parents of the image: sex, age, race, lung size, and pleural effusion. All experiments vary the sex attribute (a~∈{Male,Female}\tilde{a} \in\{\mathrm{Male}, \mathrm{Female}\}) and age (8 uniformly-spaced values from 20 to 90 years), yielding K=2×8=16K = 2 \times8 = 16 counterfactual images per patient. The marginalisation distribution q(A~)q(\tilde{A}) is uniform over the KK intervention values in all experiments. The baseline predictor (basic) is trained on the full training set without any demographic manipulation. To study how well our method assesses bias, we create a first set of biased predictors by adding a fixed scalar offset β∈{0.5,1.0,2.0}\beta\in\{0.5, 1.0, 2.0\} to the baseline logit for female patients at test time: gβ(x,s)=σ(logit⁡(g0(x))+β⋅s)g_{\beta}(x,s) = \sigma(\operatorname{logit}(g_{0}(x)) + \beta\cdot s), where s∈{0,1}s \in\{0,1\} is the sex label. Because the offset is a monotone transformation applied uniformly within each sex group, within-group rankings are preserved and hence stratified AUC is invariant to β\beta by construction. We then train three sex-biased predictors on a corrupted dataset in which Male+disease and Female+healthy samples are dropped with probabilities 0.8, 0.9, and 0.95 respectively, inducing a spurious correlation between sex and PE. We also train predictors with a continuous age bias that induces a correlation between older age and positive PE. For each training sample with normalised age a∈[0,1]a \in[0,1] and binary PE label yy, the concordance score is defined as ci=ai⋅1[yi=1]+(1−ai)⋅1[yi=0]c_i = a_i \cdot1[y_i = 1] + (1-a_i) \cdot1[y_i = 0], and a sample is removed from training with probability βage⋅(1−ci)\beta_{\mathrm{age}} \cdot(1-c_i), where βage∈{0.8,0.9,0.95}\beta_{\mathrm{age}} \in\{0.8,0.9,0.95\} controls the strength of the induced correlation.

Results

tbl:3a shows that in the CheXpert experiment (Setting 1), our CF metrics discern the biases in the various predictors better than the standard risk RorigR_{\mathrm{orig}} (cross entropy) calculated only on original data, which sometimes decreases when bias increases (e.g. Logit+0.5 →\to Logit+1 →\to). To summarise comparisons, we define the Correct Transition Count (CTC) as the number of transitions with increasing predictor bias (out of 9 total: 3 for logit bias, Basic →\to Logit+0.5 →\to +1 →\to +2, and similarly 3 for sex and age bias) where the risk also increases. Higher is better and our counterfactual metrics outperform the standard risk estimation RorigR_{\mathrm{orig}}. All results shown are averages of 3 repetitions per experiment with varying seeds. Similar results were found for setting 2 and 3 (See Appendix A for details).

Moreover, biased predictors should be worse calibrated [18]. Figure 2 compares the original ECE [7] and marginalised ECE ([]{#eq:7}) for each predictor, where we find that scores of the latter increase more consistently with increasing predictor bias. This suggests that CF marginalised ECE can better estimate model calibration.

Model calibration plots comparing original and counterfactually marginalised predictions

Figure 2. Model calibration: Marginalised ECE increases more consistently with predictor bias than the original ECE, suggesting it is a better measure of calibration.

PredictorRorigR_{\mathrm{orig}}RCMR_{\mathrm{CM}}RIER_{\mathrm{IE}}RCVaR(0.50)R_{\mathrm{CVaR}(0.50)}RCVaR(0.25)R_{\mathrm{CVaR}(0.25)}RCVaR(0.10)R_{\mathrm{CVaR}(0.10)}RWCR_{\mathrm{WC}}
Basic0.4440.5010.5941.0021.3261.5491.852
Logit +0.50.4450.6120.7241.0271.3461.5971.845
Logit +10.4430.6290.7711.0681.4241.6991.962
Logit +20.5020.6770.9191.0721.4311.7161.997
Sex (α=0.80\alpha= 0.80)0.4530.6100.6871.1921.6181.9911.390
Sex (α=0.90\alpha= 0.90)0.4520.6140.6991.1951.6121.9682.338
Sex (α=0.95\alpha= 0.95)0.4430.6140.6991.2031.6221.9822.361
Age (α=0.80\alpha= 0.80)0.4940.6130.7501.1261.5111.8172.111
Age (α=0.90\alpha= 0.90)0.5090.6120.7541.2251.6542.0072.340
Age (α=0.95\alpha= 0.95)0.5120.6130.7581.5182.0462.4952.893
CTC (↑\uparrow)6.338.338.668.338.008.007.33

Table 1. Marginal risk decomposition – PE classifier is trained and tested on CheXpert.

Finally, we assess our stability metrics. When ground truth disease labels are available, bias is often estimated by calculating the performance gap between the best and worst performing data stratification for a variable of interest. Therefore, separately for each attribute (sex, race, age), we calculate the worst-case gap in AUC (ΔAUC\Delta AUC) between relevant data stratifications (e.g. male/female for sex) for the 1 non-biased (basic) predictor and each of the 3 sex-biased and 3 age-biased predictors. We repeat for 3 random seeds and thus obtain 21 values of ΔAUC\Delta AUC per attribute (sex, race, age). We then study how well our stability metrics correlate with ΔAUC\Delta AUC and Figure 3 demonstrates strong correlation, implying our metrics are useful bias estimators. Table 5c further shows that values of our stability metrics tend to follow changes in model bias. These results suggests that our metrics can be used as bias estimators without requiring ground truth classification labels, replacing the use of stratified performance gap analysis, which requires ground truth labels, when these are not available.

Subgroup AUC Gap vs Counterfactual Stability (CheXpert to MIMIC\_nat)

Figure 3. Our stability metrics correlate strongly with AUC gaps, suggesting they are a useful proxy when labels are unavailable at test time.

Table 5: Prediction stability under marginalisation at threshold τ=0.5\tau= 0.5 (uniform prior). SvarS_{\mathrm{var}} = variance of marginalised predictions; SflipS_{\mathrm{flip}} = label-flip rate at τ\tau; DobsD_{\mathrm{obs}} = mean absolute difference between original and marginalised scores; ρ\rho = Spearman rank correlation; τb\tau_b = Kendall τb\tau_b; ∣Δrˉ∣|\Delta\bar{r}| = mean absolute rank change.

PredictorSvarS_{\mathrm{var}}SflipS_{\mathrm{flip}}DobsD_{\mathrm{obs}}ρ\rhoτb\tau_b∣Δrˉ∣|\Delta\bar{r}|
Basic0.03960.2470.1990.6910.476913.5
Logit +0.50.05300.2710.2160.6530.471918.4
Logit +10.05740.2890.2350.6530.469928.5
Logit +20.06850.3350.2910.6410.466934.2
Sex (α=0.80\alpha= 0.80)0.04260.2650.2180.6530.476920.6
Sex (α=0.90\alpha= 0.90)0.05010.2560.2080.6450.479922.4
Sex (α=0.95\alpha= 0.95)0.04890.2630.2220.6440.464932.5
Age (α=0.80\alpha= 0.80)0.05660.2670.2030.6520.477913.3
Age (α=0.90\alpha= 0.90)0.05670.2700.2050.6420.466937.8
Age (α=0.95\alpha= 0.95)0.05670.2790.2080.5890.4161050.2

Table 5. (a) Trained and tested on CheXpert (N=5180N = 5180).

PredictorSvarS_{\mathrm{var}}SflipS_{\mathrm{flip}}DobsD_{\mathrm{obs}}SrankS_{\mathrm{rank}}
Basic0.01980.1430.0690.920
Logit +0.50.02120.1440.0640.918
Logit +10.03590.1880.1150.907
Logit +20.05020.2430.1730.847
Sex (α=0.80\alpha= 0.80)0.02700.1460.0680.916
Sex (α=0.90\alpha= 0.90)0.03050.1560.0790.906
Sex (α=0.95\alpha= 0.95)0.02840.1580.0820.903
Age (α=0.80\alpha= 0.80)0.02630.1670.0770.917
Age (α=0.90\alpha= 0.90)0.03080.1700.0790.916
Age (α=0.95\alpha= 0.95)0.03140.1740.0960.901

Table 2. Stability under marginalisation for cross-dataset experiment. As desired, increase in bias leads in most cases to increase of SvarS_{\mathrm{var}}, SflipS_{\mathrm{flip}}, DobsD_{\mathrm{obs}}, and decrease of SrankS_{\mathrm{rank}}. This consistent relation indicate that the metrics can be used to estimate levels of bias.

Conclusion

This work introduced counterfactual marginalisation as a test-time framework for evaluating medical image classifiers under controlled interventions on nuisance parent variables. By averaging predictions over SCM-generated counterfactual variants, the framework provides intervention-aware measures of risk, calibration, stability, tail sensitivity, and ranking robustness. Results on CheXpert and MIMIC demonstrate that counterfactual evaluation can expose sensitivity to demographic interventions even when standard point-estimate metrics appear stable. A limitation is that the metrics depend on the realism and causal validity of the counterfactual generator, so they should be used alongside generator validation and conventional external evaluation, rather than as a replacement. Future work should study sensitivity to causal graph specification, intervention distributions, generator uncertainty, and extensions to multi-label settings.

Full Results

Risk

PredictorRorigR_{\mathrm{orig}}RCMR_{\mathrm{CM}}RIER_{\mathrm{IE}}RCVaR(0.50)R_{\mathrm{CVaR}}(0.50)RCVaR(0.25)R_{\mathrm{CVaR}}(0.25)RCVaR(0.10)R_{\mathrm{CVaR}}(0.10)RWCR_{\mathrm{WC}}
(a) Trained and tested on CheXpert (N=5180N = 5180).
Basic0.4440.5010.5941.0021.3261.5491.852
Logit +0.50.4450.6120.7241.0271.3461.5971.845
Logit +10.4430.6290.7711.0681.4241.6991.962
Logit +20.5020.6770.9191.0721.4311.7161.997
Sex (α=0.80\alpha= 0.80)0.4530.6100.6871.1921.6181.9911.390
Sex (α=0.90\alpha= 0.90)0.4520.6140.6991.1951.6121.9682.338
Sex (α=0.95\alpha= 0.95)0.4430.6140.6991.2031.6221.9822.361
Age (α=0.80\alpha= 0.80)0.4940.6130.7501.1261.5111.8172.111
Age (α=0.90\alpha= 0.90)0.5090.6120.7541.2251.6542.0072.340
Age (α=0.95\alpha= 0.95)0.5120.6130.7581.5182.0462.4952.893
CTC (↑\uparrow)6.338.338.668.338.008.007.33
(b) Trained and tested on MIMIC (N=28189N = 28189).
Basic0.3350.4250.5360.7901.0311.1901.283
Logit +0.50.3420.4540.5560.8271.0841.2521.351
Logit +10.3590.4690.5900.8971.1611.3701.494
Logit +20.4240.5110.6940.8801.1811.3771.505
Sex (α=0.80\alpha= 0.80)0.3750.4550.5701.0551.2901.4591.563
Sex (α=0.90\alpha= 0.90)0.3710.4580.5831.2151.4271.5801.681
Sex (α=0.95\alpha= 0.95)0.3840.4590.5811.2321.4991.7241.864
Age (α=0.80\alpha= 0.80)0.3350.4250.5360.8571.1601.3601.549
Age (α=0.90\alpha= 0.90)0.3510.5650.7340.8871.1421.3701.501
Age (α=0.95\alpha= 0.95)0.3660.6100.7710.8801.1911.4111.505
CTC (↑\uparrow)7.008.338.008.007.667.007.33
(c) Trained on CheXpert, tested on MIMIC (N=28189N = 28189).
Basic0.3970.4660.5490.7690.9771.1211.210
Logit +0.50.4020.4860.5660.8221.0551.2231.328
Logit +10.4220.4950.6020.9131.1761.3791.506
Logit +20.5080.5360.7221.1771.5061.7781.945
Sex (α=0.80\alpha= 0.80)0.4180.4970.5580.7610.9411.0641.140
Sex (α=0.90\alpha= 0.90)0.3950.4990.5650.7931.0231.1831.281
Sex (α=0.95\alpha= 0.95)0.4370.5300.5970.8291.0421.1931.287
Age (α=0.80\alpha= 0.80)0.4160.4900.5680.8971.0561.1431.464
Age (α=0.90\alpha= 0.90)0.4220.5110.5730.8091.0151.1661.563
Age (α=0.95\alpha= 0.95)0.4020.5160.6140.8271.0621.2331.642
CTC (↑\uparrow)6.668.008.338.337.667.667.33

Table 3. Marginal risk decomposition (uniform prior). RorigR_{\mathrm{orig}} = risk of original predictor; RCMR_{\mathrm{CM}} = risk of the complete-marginalisation predictor; RIER_{\mathrm{IE}} = individual-environment risk; RCVaR(α)R_{\mathrm{CVaR}}(\alpha) = conditional value-at-risk at level α\alpha; RWCR_{\mathrm{WC}} = worst-case risk; CTC (↑\uparrow) = correct transition count.

Calibration

PredictorMarginalised BrierMarginalised ECEMarginalised MCEOriginal BrierOriginal ECEOriginal MCE
(a) Trained and tested on CheXpert (N=5180N = 5180).
PredictorBrierECEMCEBrierECEMCE
Basic0.2020.0830.1710.1430.0300.080
Logit +0.50.2080.1250.2190.1430.0190.077
Logit +10.2160.1530.2400.1490.0430.121
Logit +20.2370.2110.3060.1800.1160.228
Sex (α=0.80\alpha= 0.80)0.2180.1000.1840.1460.0170.046
Sex (α=0.90\alpha= 0.90)0.2230.1040.2320.1450.0420.119
Sex (α=0.95\alpha= 0.95)0.2240.1110.2330.1420.0170.078
Age (α=0.80\alpha= 0.80)0.2160.0910.1640.1580.0580.104
Age (α=0.90\alpha= 0.90)0.2160.0990.1590.1620.0570.089
Age (α=0.95\alpha= 0.95)0.2280.1030.1710.1650.0560.079
(b) Trained and tested on MIMIC (N=28189N = 28189).
PredictorBrierECEMCEBrierECEMCE
Basic0.1390.0880.2440.1020.0120.067
Logit +0.50.1430.1110.2840.1040.0290.093
Logit +10.1500.1360.3230.1090.0500.146
Logit +20.1670.1790.3780.1280.0910.212
Sex (α=0.80\alpha= 0.80)0.1520.1260.2990.1930.1330.262
Sex (α=0.90\alpha= 0.90)0.1860.1280.3030.2120.1540.271
Sex (α=0.95\alpha= 0.95)0.2070.1350.2960.2410.1810.328
Age (α=0.80\alpha= 0.80)0.1410.0940.2510.1130.0390.149
Age (α=0.90\alpha= 0.90)0.1500.1050.2520.1140.0490.188
Age (α=0.95\alpha= 0.95)0.1540.1380.2590.1180.0420.073
(c) Trained on CheXpert and tested on MIMIC (N=28189N = 28189).
PredictorBrierECEMCEBrierECEMCE
Basic0.1550.0590.1030.1250.0560.147
Logit +0.50.1570.0740.1610.1260.0300.077
Logit +10.1610.0960.2060.1340.0190.034
Logit +20.1790.1500.2780.1640.0750.146
Sex (α=0.80\alpha= 0.80)0.1560.0610.1160.1320.0750.163
Sex (α=0.90\alpha= 0.90)0.1690.0610.1390.1250.0650.182
Sex (α=0.95\alpha= 0.95)0.1720.0760.1320.1400.0720.187
Age (α=0.80\alpha= 0.80)0.1590.0630.1410.1310.0400.075
Age (α=0.90\alpha= 0.90)0.1670.0640.1370.1350.0280.083
Age (α=0.95\alpha= 0.95)0.1700.0960.1630.1270.0150.048

Table 4. Calibration before and after marginalisation (10 bins). “Marginalised” = marginalised predictions; “Original” = original predictions. Brier = Brier score; ECE = expected calibration error; MCE = maximum calibration error.

Stability

PredictorSvarS_{\mathrm{var}}SflipS_{\mathrm{flip}}DobsD_{\mathrm{obs}}ρ\rhoτb\tau_b∣Δrˉ∣|\Delta\bar{r}|
Basic0.03580.1480.0690.9320.7832143
Logit +0.50.03670.1480.0710.9300.7822059
Logit +10.03850.1530.0800.9090.7602242
Logit +20.04330.1700.1080.8770.7452731
Sex (α=0.80\alpha= 0.80)0.04060.1580.1020.9190.7582041
Sex (α=0.90\alpha= 0.90)0.04970.1960.1370.8970.7133013
Sex (α=0.95\alpha= 0.95)0.05140.1910.1390.8650.6713386
Age (α=0.80\alpha= 0.80)0.04120.1550.0870.9280.7732244
Age (α=0.90\alpha= 0.90)0.04770.1510.0890.9170.7702285
Age (α=0.95\alpha= 0.95)0.04870.1680.0970.8880.7462330

Table 5b. (b) Trained and tested on MIMIC (N=28189N = 28189).

PredictorSvarS_{\mathrm{var}}SflipS_{\mathrm{flip}}DobsD_{\mathrm{obs}}ρ\rhoτb\tau_b∣Δrˉ∣|\Delta\bar{r}|
Basic0.03580.1480.0690.9200.7652339
Logit +0.50.02120.1440.0640.9180.7512489
Logit +10.03590.1880.1150.9070.7262790
Logit +20.05020.2430.1730.8470.6463801
Sex (α=0.80\alpha= 0.80)0.02700.1460.0680.9160.7562430
Sex (α=0.90\alpha= 0.90)0.03050.1560.0790.9060.7432552
Sex (α=0.95\alpha= 0.95)0.02840.1580.0820.9030.7382605
Age (α=0.80\alpha= 0.80)0.02630.1670.0770.9170.7502380
Age (α=0.90\alpha= 0.90)0.03080.1700.0790.9160.7482403
Age (α=0.95\alpha= 0.95)0.03140.1740.0960.9010.7352431

Table 5c. (c) Trained on CheXpert and tested on MIMIC (N=28189N = 28189).

Details of the Generative Model

For completeness, we summarise the semi-supervised deep structural causal model of [9], which we use throughout this work to generate counterfactual images. We refer the reader to the original paper for full derivations; here we restate only what is needed to make our experiments reproducible.

Setup

The endogenous variables comprise an image xx and a set of causal variables yy, denoted y∗y^{*} when observed and y′y^{\prime} when predicted. Latent variables z=z1:Lz = z_{1:L} form part of the exogenous noise for xx and are modelled with a hierarchical latent structure [4, 24]. In addition to this generative backbone, the model contains a predictive component that infers yy from xx, which is what permits counterfactual generation when labels are missing. As in [9], we present the case of a single cause variable yCy_C and a single effect variable yEy_E; the construction extends to any finite number of variables under an arbitrary causal structure.

Training Objective

Training proceeds by partitioning the data according to which labels are available. For fully labelled samples drawn from DL\mathcal{D}_L, the ELBO gives

log⁡pθ(x)≥Eqϕ(z∣x,yE,yC)[log⁡pθ(x∣z,yE,yC) pθ(z) pθ(yE∣yC) pθ(yC)qϕ(z∣x,yE,yC)]⇒S(x,y):=−L(x,y)−log⁡pθ(yE∣yC)−log⁡pθ(yC),\begin{aligned} \log p_\theta(x) &\ge\mathbb{E}_{q_\phi(z\mid x,y_E,y_C)}\left[\log\frac{p_\theta(x\mid z,y_E,y_C)\,p_\theta(z)\,p_\theta(y_E\mid y_C)\,p_\theta(y_C)}{q_\phi(z\mid x,y_E,y_C)}\right] \\ &\Rightarrow\mathcal{S}(x,y) := -\mathcal{L}(x,y) - \log p_\theta(y_E\mid y_C) - \log p_\theta(y_C), \end{aligned}

where L(x,y)\mathcal{L}(x,y) is the ELBO of a conditional VAE and pθ(⋅)p_\theta(\cdot) are Gaussian priors. For unlabelled samples from DU\mathcal{D}_U, the labels are predicted via y′∼qϕ(y∣x)y^{\prime} \sim q_\phi(y\mid x) and regularised against their priors:

U(x):=−Eqϕ(yE∣x)[Eqϕ(yC∣x,yE)(L(x,y)−DKL{qϕ(yC∣x,yE)∥pθ(yC)})]+DKL{qϕ(yE∣x)∥pθ(yE∣yC)}.(15)U(x) := -\mathbb{E}_{q_\phi(y_E \mid x)}\left[\mathbb{E}_{q_\phi(y_C \mid x,y_E)}\left(\mathcal{L}(x,y)-D_{\mathrm{KL}}\{q_\phi(y_C \mid x,y_E)\|p_\theta(y_C)\}\right)\right]+D_{\mathrm{KL}}\{q_\phi(y_E \mid x)\|p_\theta(y_E \mid y_C)\}. \tag*{(15)}

When only the cause yCy_C is observed, for (x,yC)∈DC(x,y_C)\in\mathcal{D}_C,

C(x,yC):=−Eqϕ(yE∣x)[L(x,y)]−log⁡pθ(yC)+DKL{qϕ(yE∣x)∥pθ(yE∣yC)},(16)C(x,y_C):=-\mathbb{E}_{q_\phi(y_E \mid x)}[\mathcal{L}(x,y)]-\log p_\theta(y_C)+D_{\mathrm{KL}}\{q_\phi(y_E \mid x)\|p_\theta(y_E \mid y_C)\}, \tag*{(16)}

and when only the effect yEy_E is observed, for (x,yE)∈DE(x,y_E)\in\mathcal{D}_E,

E(x,yE):=−Eqϕ(yC∣x,yE)[L(x,y)+log⁡pθ(yE∣yC)]+DKL{qϕ(yC∣x,yE)∥pθ(yC)}.E(x,y_E):=-\mathbb{E}_{q_\phi(y_C \mid x,y_E)}[\mathcal{L}(x,y)+\log p_\theta(y_E \mid y_C)]+D_{\mathrm{KL}}\{q_\phi(y_C \mid x,y_E)\|p_\theta(y_C)\}.

Since the parent predictors qϕ(yE∣x)q_\phi(y_E\mid x) and qϕ(yC∣x,yE)q_\phi(y_C\mid x,y_E) would otherwise only receive gradient when their targets are unobserved, an explicit classification term is added on the labelled subset [15], yielding the total objective

T(x,y):=∑(x,y)∈DLS(x,y)+∑x∈DUU(x)+∑(x,yC)∈DCC(x,yC)+∑(x,yE)∈DEE(x,yE)−E(x,y)∈DL[log⁡qϕ(yi∣y<i,x)].(17)\begin{aligned} \mathcal{T}(x,y) := {}& \sum_{(x,y)\in\mathcal{D}_L}\mathcal{S}(x,y)+\sum_{x\in\mathcal{D}_U}\mathcal{U}(x)+\sum_{(x,y_C)\in\mathcal{D}_C}\mathcal{C}(x,y_C)\\ &+\sum_{(x,y_E)\in\mathcal{D}_E}\mathcal{E}(x,y_E)-\mathbb{E}_{(x,y)\in\mathcal{D}_L}[\log q_\phi(y_i\mid y_{<i},x)]. \tag*{(17)} \end{aligned}

In the final term the labelled variables yiy_i are placed in a topological ordering [6] beginning at the root nodes, so that for every ii the ancestors of yiy_i lie in y<iy_{<i} and its descendants in y>iy_{>i}.

Two key implementation details of [9] are retained. First, for discrete variables whose true label y∗y^* is unavailable, the corresponding term is inversely weighted by the entropy Hϕ(y∗∣x)H_\phi(y^* \mid x) of the predicted label distribution — e.g. the expectation in (16) is scaled by 1−Hϕ(yE∗∣x)1-H_\phi(y_E^* \mid x) — using predictive uncertainty as a proxy for how far the imputed label should be trusted. Second, the expectations over labels in (15) are computed by summing over all values of a discrete yy, Eqϕ(y∣x)[f(y,⋅)]=∑yqϕ(y∣x)f(y,⋅)\mathbb{E}_{q_\phi(y\mid x)}[f(y,\cdot)]=\sum_y q_\phi(y\mid x)f(y,\cdot) [15], which becomes expensive as the number of variables or classes grows. Rather than resorting to Monte-Carlo estimation, training begins on the labelled subset alone, so that the predictors qϕ(⋅∣x)q_\phi(\cdot\mid x) are already accurate before being used to impute labels for the remainder of the data.

Counterfactual Regularisation

The model additionally employs a causal form of consistency regularisation [27], in which perturbations of the input are restricted to interventions on the DAG over the causal variables. Given an image xx with variables (yC,yE)(y_C,y_E), intervening on the effect via do⁡(yE=e~)\operatorname{do}(y_E=\tilde{e}) produces x~\tilde{x} with variables (y~C,y~E)(\tilde{y}_C,\tilde{y}_E). If the DAG holds, the cause is invariant to this intervention, so predicting y~C∼qϕ(⋅∣x~)\tilde{y}_C\sim q_\phi(\cdot\mid\tilde{x}) and minimising D(yC,y~C)D(y_C,\tilde{y}_C) — for a suitable distance D(⋅,⋅)D(\cdot,\cdot) — penalises violations of that invariance; if yCy_C is unobserved it is first imputed as yC∼qϕ(⋅∣x,yE)y_C \sim q_\phi(\cdot\mid x, y_E). Intervening on the cause instead should change the effect: y~E∼qϕ(⋅∣x~)\tilde{y}_E \sim q_\phi(\cdot\mid\tilde{x}) is compared against the counterfactual value of yEy_E under the intervention on yCy_C, with yE∼qϕ(⋅∣x)y_E \sim q_\phi(\cdot\mid x) imputed when unlabelled. This regularises both the generative component and the causal mechanisms pθ(yi∣y<i)p_\theta(y_i \mid y_{<i}).

Counterfactual Generation

At inference time, counterfactuals x~\tilde{x} are produced using the causal mechanisms pθ(yi∣y<i)p_\theta(y_i \mid y_{<i}). Abduction requires the structural assignments to be invertible in the exogenous noise, so each mechanism is encoded as an invertible map gy<i(u)g_{y_{<i}}(u), u∼p(u)u \sim p(u), parameterised by the causal parents y<iy_{<i} [20]. Each counterfactual value is then obtained in topological order as y~i=gy~<i(gy<i−1(yi))\tilde{y}_i = g_{\tilde{y}_{<i}}\left(g_{y_{<i}}^{-1}(y_i)\right), and any missing yiy_i is imputed beforehand with the trained predictor qϕ(yi∣x,y>i)q_\phi(y_i \mid x, y_{>i}), as illustrated in Figure 4 (right).

Outline of the generative model, showing training and counterfactual generation

Figure 4. Outline of the model of [9], reproduced here for reference. Green: observed, grey: latent, red: predicted, blue: causal generative, yellow: decoding. (left) Training; the yy predictions are used for decoding unless the labels are observed. (right) Counterfactual generation.

Example Counterfactuals

Below we provide some example counterfactuals produced by the model and used for testing with our proposed metrics.

MIMIC-CXR counterfactual examples

Figure 5. (a) From left to right: (1) original: white, diseased, 52-year-old male (2) do(age=22) (3) do(healthy) (4) do(black) (5) do(female) (6) do(all).

(b) (1) original: black, healthy, 77-year-old female (2) do(age=20) (3) do(diseased) (4) do(white) (5) do(male) (6) do(all).

(c) (1) original: white, diseased, 52-year-old male (2) do(age=82) (3) do(healthy) (4) do(asian) (5) do(female) (6) do(all).

(d) (1) original: black, healthy, 68-year-old female (2) do(age=35) (3) do(diseased) (4) do(white) (5) do(male) (6) do(all).

Fig. 5: MIMIC-CXR Counterfactuals from model trained on 20% labels.

References

  1. [1]Murat Seckin Ayhan and Philipp Berens. Test-time data augmentation for estimation of heteroscedastic aleatoric uncertainty in deep neural networks. In Medical Imaging with Deep Learning, 2018.
  2. [2]Imon Banerjee and Et al. Ai recognition of patient race in medical imaging: a modelling study. The Lancet. Digital health, 4:e406 – e414, 2021.
  3. [3]Robin Blythe, Rex Parsons, Marcus E. H. Ong, and Adrian Barnett. Continuous predicted risks should be retained when deploying clinical prediction models. Journal of Clinical Epidemiology, 188:112009, 2025.DOI
  4. [4]Fabio De Sousa Ribeiro, Tian Xia, Miguel Monteiro, Nick Pawlowski, and Ben Glocker. High fidelity image counterfactuals with probabilistic causal models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 7390–7425, 07 2023.arxiv.org/abs/2306.15764
  5. [5]Pierre Foret, Ariel Kleiner, Hossein Mobahi, and Behnam Neyshabur. Sharpness-aware minimization for efficiently improving generalization. In International Conference on Learning Representations, 2021.arxiv.org/abs/2010.01412
  6. [6]Mukul Gagrani, Corrado Rainone, Yang Yang, Harris Teague, Wonseok Jeon, Herke Van Hoof, Weiliang Will Zeng, Piero Zappi, Christopher Lott, and Roberto Bondesan. Neural topological ordering for computation graphs, 2022.arxiv.org/abs/2207.05899
  7. [7]Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural networks. In ICML, 2017.arxiv.org/abs/1706.04599
  8. [8]Sepp Hochreiter and Jürgen Schmidhuber. Flat minima. Neural Computation, 9(1):1–42, 1997.pubmed.ncbi.nlm.nih.gov/9117894
  9. [9]Yasin Ibrahim, Hermione Warr, and Konstantinos Kamnitsas. Semi-supervised learning for deep causal generative models. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 294–303. Springer, 2024.arxiv.org/abs/2403.18717
  10. [10]Jeremy Irvin and Et al. Chexpert: a large chest radiograph dataset with uncertainty labels and expert comparison. AAAI’19/IAAI’19/EAAI’19. AAAI Press, 2019.arxiv.org/abs/1901.07031
  11. [11]Alistair E. W. Johnson, Tom J. Pollard, Seth J. Berkowitz, Nathaniel R. Greenbaum, Matthew P. Lungren, Chih ying Deng, Roger G. Mark, and Steven Horng. Mimic-cxr, a de-identified publicly available database of chest radiographs with free-text reports. Scientific Data, 6, 2019.DOI
  12. [12]Charles Jones, Daniel C. Castro, Fabio De Sousa Ribeiro, Ozan Oktay, Melissa McCradden, and Ben Glocker. No fair lunch: A causal perspective on dataset bias in machine learning for medical imaging, 2023.arxiv.org/abs/2307.16526
  13. [13]Konstantinos Kamnitsas and et. al. Ensembles of multiple models and architectures for robust brain tumour segmentation. In Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries, volume 10670 of Lecture Notes in Computer Science, pages 450–462. Springer, 2018.arxiv.org/abs/1711.01468
  14. [14]Masanari Kimura. Understanding test-time augmentation. arXiv preprint arXiv:2402.06892, 2024.arxiv.org/abs/2402.06892
  15. [15]Diederik P. Kingma, Danilo J. Rezende, Shakir Mohamed, and Max Welling. Semi-supervised learning with deep generative models.
  16. [16]Matt J. Kusner, Joshua Loftus, Chris Russell, and Ricardo Silva. Counterfactual fairness. In Advances in Neural Information Processing Systems, volume 30, pages 4066–4076, 2017.arxiv.org/abs/1703.06856
  17. [17]Yan Li, Matthew Sperrin, Darren M. Ashcroft, and Tjeerd Pieter van Staa. Consistency of ranking was evaluated as new measure for prediction model stability: longitudinal cohort study. Journal of Clinical Epidemiology, 138:168–177, 2021.
  18. [18]Zeju Li, Konstantinos Kamnitsas, and Ben Glocker. Analyzing overfitting under class imbalance in neural networks for image segmentation. IEEE Transactions on Medical Imaging, 40(3):1065–1077, 2021.
  19. [19]Lena Maier-Hein, Annika Reinke, Patrick Godau, et al. Metrics reloaded: Recommendations for image analysis validation. Nature Methods, 21:195–212, 2024.
  20. [20]Nick Pawlowski, Daniel C. Castro, and Ben Glocker. Deep structural causal models for tractable counterfactual inference. In Advances in Neural Information Processing Systems, 2020.
  21. [21]Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of Causal Inference: Foundations and Learning Algorithms. Adaptive Computation and Machine Learning. MIT Press, 2017.
  22. [22]Pedro Sanchez and Sotirios A. Tsafataris. Diffusion causal models for counterfactual estimation. In Bernhard Schölkopf, Caroline Uhler, and Kun Zhang, editors, Proceedings of the First Conference on Causal Learning and Reasoning, volume 177 of Proceedings of Machine Learning Research, pages 647–668. PMLR, 11–13 Apr 2022.arxiv.org/abs/2202.10166
  23. [23]Bonnie Sibbald and Chris Roberts. Understanding controlled trials: Crossover trials. BMJ, 316(7146):1719, 1998.pubmed.ncbi.nlm.nih.gov/9614025
  24. [24]Casper Kaae Sønderby, Tapani Raiko, Lars Maaløe, Søren Kaae Sønderby, and Ole Winther. Ladder variational autoencoders. Florian Wenzel, Jasper Snoek, Dustin Tran, and Rodolphe Jenatton. Hyperparameter ensembles for robustness and uncertainty quantification. In Advances in Neural Information Processing Systems, volume 33, 2020.DOI
  25. [26]Andrew Gordon Wilson and Pavel Izmailov. Bayesian deep learning and a probabilistic perspective of generalization. In Advances in Neural Information Processing Systems, volume 33, 2020.arxiv.org/abs/2002.08791
  26. [27]Qizhe Xie, Zihang Dai, Eduard H. Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. arXiv: Learning, 2019.arxiv.org/abs/1904.12848
  27. [28]Zikang Xu, Jun Li, Qingsong Yao, Han Li, Mingyue Zhao, and S. Kevin Zhou. Addressing fairness issues in deep learning-based medical image analysis: A systematic review. npj Digital Medicine, 7(286), 2024.

Paper details

vlnc:W_f7a8nd2h
v1 · latestHistory (1)

published ·

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents