Towards Interpretable Counterfactual Generation via Multimodal Autoregression

Chenglong Ma, Yuanfeng Ji, Jin Ye, Lu Zhang, Ying Chen, Tianbin Li, Mingjie Li, Junjun He, Hongming Shan · DOI

Abstract

Counterfactual medical image generation enables clinicians to explore clinical hypotheses, such as predicting disease progression, facilitating their decision-making. While existing methods can generate visually plausible images from disease progression prompts, they produce silent predictions that lack interpretation to verify how the generation reflects the hypothesized progression -- a critical gap for medical applications that require traceable reasoning. In this paper, we propose Interpretable Counterfactual Generation (ICG), a novel task requiring the joint generation of counterfactual images that reflect the clinical hypothesis and interpretation texts that outline the visual changes induced by the hypothesis. To enable ICG, we present ICG-CXR, the first dataset pairing longitudinal medical images with hypothetical progression prompts and textual interpretations. We further introduce ProgEmu, an autoregressive model that unifies the generation of counterfactual images and textual interpretations. We demonstrate the superiority of ProgEmu in generating progression-aligned counterfactuals and interpretations, showing significant potential in enhancing clinical decision support and medical education.

Introduction

In clinical practice, radiologists often ask "what if" questions to anticipate disease progression. Counterfactual generation in medical imaging aims to answer these questions by synthesizing images based on hypothetical clinical scenarios. However, current generative models often produce "silent predictions"—images without accompanying explanations. For high-stakes medical decisions, a black-box image is insufficient; clinicians require traceable reasoning to understand why and how the model synthesized specific visual changes. This paper introduces the task of Interpretable Counterfactual Generation (ICG) and a novel model, ProgEmu, to bridge this gap by generating both the counterfactual image and a corresponding textual interpretation.

Methods: The ProgEmu Framework

The core innovation of this work is ProgEmu, a multimodal autoregressive transformer designed to unify vision and language. Unlike traditional "cascade" models that generate an image and then describe it using a separate vision-language model, ProgEmu treats both modalities as a single sequence of discrete tokens.

The ProgEmu architecture unifies image and text tokenization for joint counterfactual generation and interpretation.

The model utilizes a unified tokenization strategy where the prior image, the progression prompt, the generated counterfactual image, and the textual interpretation are concatenated into a continuous sequence: [Prior Image Tokens] + [Progression Prompt] + [Generated Image Tokens] + [Generated Interpretation Text]

By training on next-token prediction across this entire chain, ProgEmu learns a causal alignment between visual features and radiological descriptions. This ensures that the generated text accurately reflects the specific visual modifications made to the image, providing a transparent justification for the synthesis.

Datasets: ICG-CXR

To support the ICG task, the authors developed ICG-CXR, the first large-scale longitudinal dataset specifically curated for interpretable counterfactuals. Derived from MIMIC-CXR and CheXpertPlus, the dataset consists of 11,439 quadruples (prior image, subsequent image, prompt, and interpretation) from over 7,300 patients.

The curation pipeline for the ICG-CXR dataset using GPT-4 to extract progression prompts and interpretations from longitudinal reports.

Because standard radiology reports often lack explicit comparisons between longitudinal scans, a GPT-4-based pipeline was employed. This pipeline analyzed "Findings" and "Impressions" sections to synthesize ground-truth progression prompts and detailed interpretations of visual changes, creating a robust training signal for the model.

Results and Discussion

ProgEmu demonstrates significant improvements over state-of-the-art baselines like PIE and BiomedJourney.

  • Visual Fidelity: ProgEmu achieved a Fréchet Inception Distance (FID) of 29.21, outperforming PIE (37.60) and BiomedJourney (36.62).
  • Medical Accuracy: The model maintained high pathology preservation with an AUROC of 0.7921, ensuring that generated images are medically relevant.
  • Interpretability: In textual interpretation tasks, ProgEmu surpassed existing vision-language models across BLEU-3, METEOR, and ROUGE-L metrics.

A key insight from the study is the "synergistic effect" of joint modeling. Ablation studies showed that a unified model outperforms a larger "cascade" model (ProgEmu²), suggesting that the textual generation task helps the model focus on the correct pathological features during image synthesis.

Conclusion and Future Work

ProgEmu represents a shift from purely visual generative AI to interpretable, clinically-aligned systems. While currently focused on 2D Chest X-rays, future work will explore 3D modalities like CT and MRI. The authors emphasize that while metrics are promising, real-world clinical validation is the next critical step to ensure these "what-if" explanations effectively support medical education and decision-making without the risk of hallucination.

Summary updated

BibTeX
@inproceedings{ma2025towards,
  author = {Chenglong Ma and Yuanfeng Ji and Jin Ye and Lu Zhang and Ying Chen and Tianbin Li and Mingjie Li and Junjun He and Hongming Shan},
  title = {{Towards Interpretable Counterfactual Generation via Multimodal Autoregression}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  url = {https://openreview.net/forum?id=tt8IaYGfXE},
}
Figure