Counterfactual Image Synthesis for Discovery of Personalized Predictive Image Markers

Amar Kumar, Anjun Hu, Brennan Nichyporuk, Jean-Pierre R. Falet, Douglas L. Arnold, Sotirios A. Tsaftaris, Tal Arbel · DOI

Introduction

Multiple Sclerosis (MS) is a notoriously heterogeneous neurological disease. In clinical practice, predicting how a patient's disease will evolve remains a significant challenge. While population-level metrics—such as total T2 lesion volume—are commonly used to estimate disease burden, they often lack the granularity required for personalized prognosis. Some patients with high lesion loads remain stable for years, while others with minimal visible damage experience rapid progression. This research addresses the gap between general clinical markers and individual disease trajectories by proposing a deep generative framework that identifies personalized, predictive image markers through counterfactual synthesis.

Methodology

The authors introduce an explainable generative framework designed to answer a fundamental clinical question: "What would this specific patient’s brain look like if their disease were not progressing?"

The Generative Framework

The architecture is composed of three primary modules that work in concert to produce realistic, patient-specific images:

  1. Generative Module ($G$): Utilizing a modified 4-layer nnU-Net, this module takes a baseline FLAIR MRI and a target class (active vs. inactive disease) as input. It incorporates FiLM (Feature-wise Linear Modulation) layers to perturb the image features based on the desired prognosis.
  2. Classifier ($f$): A pre-trained, frozen ResNet ensures that the synthesized "counterfactual" image is statistically representative of the target class. For example, it guides the generator to transform an "active" patient's scan into one that the classifier recognizes as "inactive."
  3. Discriminator ($D$): This adversarial component ensures that the synthesized images remain indistinguishable from real MRI scans, preventing the generator from introducing artifacts or blurring to satisfy the classifier.

The model is optimized using a loss function that balances faithfulness (preserving the patient's unique anatomy), realism (ensuring the scan looks like a real MRI), and validity (successfully changing the predicted disease outcome). By calculating a difference map between the original scan and the counterfactual "healthy" version, the researchers can visualize the specific regions the model identifies as predictive of progression.

Experimental Setup and Dataset

The study utilized a large-scale, multi-center clinical trial dataset consisting of 815 patients with Relapsing-Remitting Multiple Sclerosis (RRMS). The primary modality used was FLAIR (Fluid Attenuated Inverse Recovery) MRI sequences.

Disease activity was defined based on a one-year timeline. A patient was labeled "active" if they showed new or enlarging T2 lesions (NE-T2) or Gadolinium-enhancing lesions at the one-year follow-up mark. The model's task was to use the baseline scan to predict this future state and generate corresponding counterfactuals.

Key Insights

Beyond Existing Lesions

One of the most significant findings was that the model did not simply "erase" existing lesions to make a patient look healthier. While it did reduce lesion volume, it also perturbed areas of normal-appearing white matter (NAWM). This suggests the model is identifying "diffusely abnormal white matter"—tissue that appears healthy to the human eye but is pathologically predisposed to becoming a lesion in the future.

Localized vs. Systemic Markers

The model revealed that predictive markers are not always localized to the site of future lesions. In many cases, changes in the cortex or specific white matter tracts indicated a systemic predisposition to disease activity, pointing toward broader markers of neurodegeneration that precede visible lesion formation.

Personalized Discovery

Because the framework is constrained to maintain subject identity (achieving a high SSIM of 0.9667), the markers it discovers are unique to each patient's specific anatomy. This represents a shift from "one-size-fits-all" biomarkers toward truly personalized medicine.

Results and Discussion

The synthesized counterfactuals demonstrated high clinical validity. In the "inactive" versions of active patients' scans, the average T2 lesion volume dropped from 13.40 to 2.27, and the prevalence of Gadolinium-enhancing lesions was reduced to 0%. This confirms the model learned to manipulate established clinical markers without explicit supervision.

Qualitative analysis further showed that the perturbations in the difference maps often overlapped with the exact locations where new lesions actually appeared on the patient's real one-year follow-up scan. This suggests the model is not just classifying patients, but actually "localizing" the future of the disease.

Limitations and Future Directions

While promising, the study notes that validating counterfactuals is inherently difficult because there is no "ground truth" for a hypothetical state. Current validation relies on qualitative review and overlap with future lesion sites. Future work aims to increase temporal resolution—looking at months rather than years—to identify even more subtle markers of imminent disease activity. Additionally, the researchers hope to develop quantitative methods to rank the importance of these discovered markers across larger populations, potentially leading to new automated tools for clinical trial enrichment and patient monitoring.

Summary updated

BibTeX
@inproceedings{kumar2022counterfactual,
  author = {Amar Kumar and Anjun Hu and Brennan Nichyporuk and Jean-Pierre R. Falet and Douglas L. Arnold and Sotirios A. Tsaftaris and Tal Arbel},
  title = {{Counterfactual Image Synthesis for Discovery of Personalized Predictive Image Markers}},
  booktitle = {AIIIMA/MIABID @ MICCAI},
  year = {2022},
  doi = {10.1007/978-3-031-19660-7\_11},
}
Figure