Addressing Asynchronicity in Clinical Multimodal Fusion via Individualized Chest X-ray Generation

Wenfang Yao, Chen Liu, Kejing Yin, William K. Cheung, Jing Qin

TL;DR

Clinical multimodal fusion often suffers from "asynchronicity"—electronic health records (EHR) are updated continuously, but medical images like chest X-rays (CXRs) are taken infrequently, meaning images are often outdated when a prediction is needed. This paper introduces DDL-CXR, a framework that uses latent diffusion models to generate up-to-date, patient-specific latent CXR representations conditioned on past images and recent EHR data. This approach significantly improves downstream clinical predictions like mortality and disease phenotyping.

What Problem Does This Paper Address?

In modern healthcare, combining different data modalities—such as tabular EHR data (vitals, lab results) and medical imaging—significantly improves machine learning models for clinical prediction. However, in critical care settings like the ICU, these data streams are inherently asynchronous. Vital signs are captured continuously, whereas chest X-rays are ordered only on an as-needed basis due to radiation risks and financial costs.

Consequently, when a clinical prediction is required, the most recent CXR might be hours or days old. In an ICU setting, a patient's pulmonary status can change rapidly. Existing multimodal fusion methods typically rely on a "carry-forward" strategy, simply reusing the last available image, which can lead to suboptimal or dangerously inaccurate predictions. DDL-CXR addresses this gap by dynamically generating an up-to-date latent representation of the patient's X-ray at the exact time of prediction.

Methods

The authors propose Diffusion-based Dynamic Latent Chest X-ray Image Generation (DDL-CXR), which splits the problem into two main stages:

  1. The LDM Stage (Training):
  2. First, a Variational Autoencoder (VAE) is pre-trained to compress high-dimensional CXR images into a lower-dimensional semantic latent space.
  3. A Latent Diffusion Model (LDM) is then trained on pairs of consecutive X-rays from the same patient. To generate a patient-specific image, the LDM is conditioned on two things: a past reference CXR (which provides the baseline anatomical structure) and the intervening EHR time series (which provides the disease progression trajectory encoded via a Transformer).
  4. Key Innovation: To force the LDM to actually utilize the heterogeneous EHR data, the authors introduce an auxiliary task (predicting abnormality labels from the EHR features) and a contrastive learning strategy. The contrastive mechanism perturbs the EHR representation during training and penalizes the LDM if it fails to differentiate between the true clinical course and the noisy/perturbed one.
  5. The Prediction Stage:
  6. At prediction time, the actual up-to-date CXR is missing. The trained LDM generates an updated latent CXR representation ($\hat{Z}_{t1}$).
  7. This generated representation is then fused with the historical CXR and the full 48-hour EHR history using a self-attention layer to make the final clinical prediction.
Overview of the DDL-CXR framework showing the LDM training stage and the downstream prediction stage.

Datasets

The model was trained and evaluated using two prominent, publicly available datasets:

  • MIMIC-IV: Provides de-identified clinical time-series data (17 variables including heart rate, blood pressure, oxygen saturation, etc.) from ICU stays.
  • MIMIC-CXR: Contains chest X-ray images and corresponding radiology reports.

The authors constructed a matched cohort of ICU stays lasting at least 48 hours with at least one valid chest X-ray.

Key Insights and Ideas

  • Generative AI as a Fusion Mechanism: Instead of treating image generation and clinical prediction as separate tasks, DDL-CXR uses generation as the fusion mechanism. The model must fundamentally understand how numerical changes in an EHR (like dropping oxygen saturation) manifest visually on a patient's specific anatomy.
  • Overcoming Conditioning Neglect: Conditional diffusion models often ignore complex conditioning inputs if a simpler shortcut exists. By introducing a contrastive loss that pairs perturbed EHR data with degraded generation quality, the authors successfully forced the LDM to tightly couple the image generation with the patient's clinical timeline.
  • Anatomy vs. Progression Decoupling: The framework elegantly solves the lack of textual prompts in clinical settings by using a past image as an anchor for static anatomy, leaving the text-like sequence modeling entirely to the EHR time-series.

Key Results

The framework was evaluated on two downstream tasks: in-hospital mortality prediction and multi-label phenotype classification (25 distinct conditions).

  • Superior Prediction Performance: DDL-CXR consistently outperformed all state-of-the-art baselines (including MedFuse and DrFuse). It achieved relative improvements of 2.4% and 3.56% in Area Under the Precision-Recall Curve (AUPRC) for phenotyping and mortality, respectively.
  • Robustness to Outdated Data: When analyzing patient groups where the last available X-ray was highly outdated ($\ge 36$ hours old), the performance gap between DDL-CXR and traditional fusion methods widened significantly (improving AUROC from 0.806 to 0.830), validating the core hypothesis of the paper.
  • High-Quality Generation: Quantitatively, DDL-CXR achieved lower Fréchet Distance (FD) and Wasserstein Distance (WD) in the latent space compared to GAN-based alternatives. Qualitatively, it successfully simulated rapid clinical changes, such as severe bilateral pulmonary consolidation.
Figure 1: A real ICU patient with rapid CXR changes. (a) Initial radiology findings: Low lung volumes but lungs are clear of consolidation or pulmonary vascular congestion. No acute car- diopulmonary process. (b) Radiology findings after 34 hours: Severe relatively symmetric bilateral pulmonary consolidation. (c) CXR generated by DDL-CXR given the initial CXR image shown in (a) and the EHR data within the 34 hours. Clear signs of bilateral pulmonary consolidation can be seen from the generated image. The visualization shows that DDL-CXR could generate updated CXR images that respect the anatomical structure of the patient and reflect the disease progression.

Limitations and Future Work

  • Hyperparameter Sensitivity: The model requires meticulous tuning, particularly regarding the noise strength ($\beta$) for EHR perturbation and the contrastive loss coefficient ($\lambda_1$).
  • Time-Interval Performance Gap: Performance gains varied across different time windows, suggesting room for improvement in handling highly irregular sampling intervals.
  • Lack of Clinical Validation: While the model excels at quantitative machine learning metrics (FID, AUPRC), the generated images have not yet undergone rigorous evaluation by expert radiologists to verify clinical accuracy and check for potential visual hallucinations.

Summary updated

BibTeX
@inproceedings{yao2024addressing,
  author = {Wenfang Yao and Chen Liu and Kejing Yin and William K. Cheung and Jing Qin},
  title = {{Addressing Asynchronicity in Clinical Multimodal Fusion via Individualized Chest X-ray Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uCvdw0IOuU},
}
Figure