Generative Vision Atlas

core

Reconstruction of patient-specific confounders in AI-based radiologic image interpretation using generative pretraining

Tianyu Han, Laura Žigutytė, Luisa Huck, Marc Sebastian Huppertz, Robert Siepmann, Yossi Gandelsman, Christian Blüthgen, Firas Khader, Christiane Kuhl, Sven Nebelung, Jakob Nikolas Kather, Daniel Truhn · University Hospital RWTH Aachen, Technical University Dresden, UC Berkeley, University Hospital Zurich, Stanford University · 2024-09

Why it matters

A self-conditioned diffusion model, not a structural causal model, trained on 515,704 chest radiographs from 194,956 patients across the US and Europe to generate patient-specific counterfactual visualisations of confounders. Validated with high inter-reader agreement, Fleiss kappa at or above 0.8. The largest-scale evidence in this line, and it carries no causal graph.

What this paper does

read: full text

Before this

Confounder detection in chest-radiograph classifiers (for example, catheters confounding pneumonia detection, or metal side-markers confounding COVID-19 detection) had relied on saliency-style explainability or manual review; prior diffusion-based latent-editing methods, including diffusion autoencoders and SDEdit, existed but were validated on natural-image datasets such as Flickr-Faces-HQ and CelebA-HQ rather than at clinical scale, and depended on manipulating a high-dimensional, noisy diffusion latent directly.

The problem

Give patient-specific visual explanations of a chest-radiograph classifier's decisions at a scale large enough to reliably surface confounding factors, such as treatment devices, that could mislead the model, using training data that is mostly unlabeled given the scarcity of expert-annotated radiographs.

The idea

A single self-conditioned diffusion model is pretrained generatively, without labels, on hundreds of thousands of chest radiographs to learn a compact semantic latent space, then fine-tuned with a small labeled subset for classification; counterfactual visual explanations are produced by moving the semantic latent along the gradient of a linear classifier head toward a target diagnosis, with no structural causal model anywhere in the pipeline.

How it works

The architecture combines a self-conditioned diffusion U-Net with a shared-encoder feature extractor; the paper proves that its diffusion pretraining objective is equivalent to maximizing a variational lower bound on the mutual information between an image and its semantic latent code. Pretraining used 497,215 unlabeled frontal chest radiographs drawn from MIMIC-CXR, CheXpert, and PadChest (515,704 radiographs from 194,956 patients across the US and Europe across the full study); classification fine-tuning used 18,489 labeled images from PadChest with a logistic-regression head on the semantic latent. Counterfactual generation perturbs the semantic latent along the closed-form gradient direction of the logistic-regression classifier, then decodes through DDIM reverse diffusion using 200 sampling steps; this is adversarial-style latent perturbation guided by a linear classifier, not an intervention on a causal graph.

Evidence

Multiple evidence tiers, still with no causal axioms and no explicit structural causal model. Downstream task utility: linear-probe diagnostic accuracy was benchmarked against CheXzero across 73 PadChest findings with more than 30 test entries each; the two models were statistically indistinguishable on 46 findings, this method outperformed on 6, and CheXzero outperformed on 21, despite this method using far less pretraining data (under 0.5 million images versus CheXzero's 400 million image-text pairs); data efficiency was shown by AUC staying at or above 0.800 for no-finding, edema, support devices, and pleural effusion when fine-tuning on as little as 3% of the labeled data. Confounder-detection reader study: a board-certified radiologist with 12 years of experience reviewed synthetic confounders generated by the model, and three further radiologists independently annotated confounders in real radiographs to check whether model-flagged confounders also occur in real data; inter-reader agreement reached Fleiss' kappa of 0.8 or higher, and confounders such as catheters, sternotomy wires, and obesity co-occurring with hilar congestion were detected at 10-100% prevalence rates depending on category. Clinical-utility reader study: two board-certified radiologists graded hilar-congestion severity with and without the generated visual explanations; inter-rater agreement (Cohen's kappa) rose from 0.43 to 0.47, a statistically significant improvement, and the 'not sure' grading category disappeared once explanations were shown. Distribution/generation-quality metric: precision and recall between generated and real images per class, high precision except for the 'endotracheal tube' class, with lower recall reflecting that the counterfactuals are edited variants rather than fully diverse new samples.

Limitations

The paper states explicitly that identifying confounders does not by itself correct them, and that correcting them 'requires specialized statistical and causal modeling approaches, which were beyond the scope of this study'; synthesized-image resolution (256x256) is lower than standard clinical radiographs, which may limit practical use; the model uses far less pretraining data than web-scale vision-language baselines; generated visual explanations can be hard to interpret in subtle or complex cases.

Why it matters

The largest-scale clinical evidence in this entire batch, spanning over half a million radiographs from close to 200,000 patients across two continents, and it carries no causal graph at all. Its own discussion nominates future causal modeling as the next step for correcting, not merely visualizing, confounders, again treating explicit causal machinery as a separate, still-missing capability rather than a prerequisite for the clinical validity it already claims through Fleiss' kappa and the hilar-congestion grading study.

Abstract, in the authors' own words

DiffChest, a self-conditioned diffusion model trained on 515,704 chest radiographs from 194,956 patients across the US and Europe, gives patient-specific explanations and visualises confounding factors that might mislead a classifier. Inter-reader agreement reaches Fleiss' kappa of 0.8 or higher, validating its ability to identify treatment-related confounders, which are detected at 10 to 100 percent prevalence rates. Pretraining also yields diagnostic accuracy across 11 chest conditions.

Research line

Medical: causal counterfactualsascendant

Method note — the shared flow-matching interpolation

Every flow-matching / rectified-flow paper in this atlas trains toward a straight-line path between a noise sample x₀ and a data sample x₁:

xt=(1t)x0+tx1,vθ(xt,t)x1x0x_t = (1-t)\,x_0 + t\,x_1, \qquad v_\theta(x_t, t) \approx x_1 - x_0

Builds on

Nothing recorded yet.

Built on by

Nothing recorded yet.