[Paper Review] BiomedJourney: Counterfactual Biomedical Image Generation by Instruction-Learning from Multimodal Patient Journeys
BiomedJourney generates counterfactual medical images by conditioning on a prior image and a natural-language progression description, using GPT-4 to create instruction data and a two-stage curriculum with latent diffusion, and outperforms baselines on MIMIC-CXR.
Rapid progress has been made in instruction-learning for image editing with natural-language instruction, as exemplified by InstructPix2Pix. In biomedicine, such methods can be applied to counterfactual image generation, which helps differentiate causal structure from spurious correlation and facilitate robust image interpretation for disease progression modeling. However, generic image-editing models are ill-suited for the biomedical domain, and counterfactual biomedical image generation is largely underexplored. In this paper, we present BiomedJourney, a novel method for counterfactual biomedical image generation by instruction-learning from multimodal patient journeys. Given a patient with two biomedical images taken at different time points, we use GPT-4 to process the corresponding imaging reports and generate a natural language description of disease progression. The resulting triples (prior image, progression description, new image) are then used to train a latent diffusion model for counterfactual biomedical image generation. Given the relative scarcity of image time series data, we introduce a two-stage curriculum that first pretrains the denoising network using the much more abundant single image-report pairs (with dummy prior image), and then continues training using the counterfactual triples. Experiments using the standard MIMIC-CXR dataset demonstrate the promise of our method. In a comprehensive battery of tests on counterfactual medical image generation, BiomedJourney substantially outperforms prior state-of-the-art methods in instruction image editing and medical image generation such as InstructPix2Pix and RoentGen. To facilitate future study in counterfactual medical generation, we plan to release our instruction-learning code and pretrained models.
Motivation & Objective
- Motivate counterfactual analysis in biomedical imaging to reveal causal structure and robust disease progression interpretation.
- Leverage multimodal patient journeys (images and reports) to synthesize instruction-following data at scale.
- Develop a specialized image-editing model that can follow arbitrary medical progression descriptions while preserving patient invariants.
- Address data scarcity by a two-stage curriculum leveraging abundant single-image–text pairs before counterfactual triples.
- Evaluate on MIMIC-CXR with comprehensive metrics emphasizing pathology accuracy and feature retention.
Proposed method
- Extend latent diffusion models (LDMs) to condition on both a textual progression description and a prior image.
- Use BiomedCLIP as the text encoder to better suit biomedical data, with a learnable projection to the UNet.
- Generate instruction-following data from multimodal journeys using GPT-4 to map two reports into (prior image, progression description, new image) triples.
- Implement a two-stage curriculum: Stage 1 pretrains on image–text pairs with dummy prior images; Stage 2 fine-tunes on counterfactual triples with real prior images.
- Train with a two-part loss that concatenates the prior image embedding with the latent state and attends to the text description: L = E[||epsilon - f_theta(z_t, t, E(D), E(I_P))||^2].
- Compare against Stable Diffusion, RoentGen, and InstructPix2Pix to demonstrate improvements in pathology accuracy and feature retention.
Experimental results
Research questions
- RQ1Can a diffusion-based model generate accurate counterfactual medical images conditioned on a prior image and a free-form progression description?
- RQ2Does incorporating multimodal journeys and instruction-learning improve alignment with pathology changes while preserving patient invariants (race, age, anatomy)?
- RQ3What role does data augmentation via a two-stage curriculum play in stabilizing training when counterfactual triples are scarce?
Key findings
- BiomedJourney achieves higher pathology accuracy (Pathology AUC = 80.54) than baselines.
- BiomedJourney achieves higher race feature retention (Race AUC = 97.22) than baselines.
- BiomedJourney preserves age-related features (Age Pearson Corr. = 79.38) better than baselines.
- BiomedJourney attains the highest CMIG score (CMIG = 83.23) among compared methods.
- Ablation shows two-stage training and image registration improve pathology accuracy and feature retention, with GPT-4 descriptions outperforming Impression-derived descriptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.