Generating Chest X-Ray Counterfactuals by Specialising Foundation Image Models
Xiaodan Xing, Rajat R. Rasal, Julia A. Meister, Sara Ghorayeb, Galvin Khara, Jessica Schrouff
Abstract
Counterfactual image generation answers questions about how a subject would have looked under retrospective, hypothetical scenarios. Recent methods have improved perceptual quality, identity preservation and faithfulness to an underlying causal model, but their adoption in healthcare is limited by scarce annotated data, distribution shift between datasets, and mismatches between pretrained generative models and those required for counterfactual inference. We propose specialisation, a data and parameter-efficient framework for adapting pretrained, non-causal generative models into causal mechanisms under distribution shift. Based on this framework, we train a radiology counterfactual image generation model, called RadCF, using latent flow matching. We validate our approach on three chest X-ray datasets spanning different dataset shifts, data volumes, and counterfactual questions, associated with challenging, highly-localised interventions. Our results show that RadCF and specialisation improve counterfactual soundness over existing methods while being data and parameter efficient, and that the resulting counterfactuals can detect and mitigate shortcut learning in a downstream medical classifier. Code is available at https://github.com/GSK-AI/RadCF/.
Create a lesson
Metadata
- Comments
- 32 pages, 6 figures, 16 tables. Code: https://github.com/GSK-AI/RadCF/
Related papers
When Retrieval Hurts: Measuring and Explaining Retrieval-Induced Hallucination in Chest X-ray Report Generation
Shared title terminologycs.CVEmmanuel Idoko, Abdusshakur Olabisi, Shiloh Oni et al.
Reading, Not Adapting: Unlocking Frozen Visual Knowledge for AI-Generated Image Detection
Shared title terminologycs.CVYuncheng Guo, Ying Dong, Xiaodong Gu
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.
Spe3DUp: Faithful Trajectory Distillation for Fast Image-to-3D Generation
Shared title terminologycs.CVLiangchao Xu, Jiaye Fu, Youtian Lin et al.
Hijacking 3D Generation: Targeted Adversarial Attacks against Image-to-3D Models via Prefix Trajectory Alignment
Shared title terminologycs.CVYilong Yang, Jiale Teng, Yule Liu et al.
MoSk: A Unified Motion-Skeleton Foundation Model for Human Motion Understanding and Generation
Shared title terminologycs.CVYun Chen, Munchurl Kim, Jeonghyeok Do