PiCME: Pipeline for Contrastive Modality Evaluation and Encoding in the MIMIC Dataset

Michal Golovanevsky, Pranav Mahableshwarkar, Carsten Eickhoff, Ritambhara SingharXiv 2025 · DOI

Introduction

Multimodal deep learning in healthcare promises to leverage the full breadth of clinical data—from high-resolution imaging to granular physiological time-series. However, integrating these diverse data types often encounters a "performance wall" where adding more modalities introduces noise and redundancy rather than predictive power. PiCME (Pipeline for Contrastive Modality Evaluation) addresses this challenge by systematically evaluating modality combinations and introducing a novel gating mechanism to filter integration noise.

The PiCME Framework

The authors propose a two-stage pipeline designed to learn robust, shared representations across clinical modalities.

Overview of the PiCME pipeline, featuring contrastive pre-training with modality weights and the task-specific Modality-Gated LSTM.
  1. Contrastive Pre-training (Task-Agnostic): Utilizing a One-Versus-Others (OvO) loss, the model aligns individual modalities with the average representation of the group. A key innovation is the inclusion of learnable modality weights ($\lambda$), which allow the model to prioritize more informative data types during the unsupervised phase.
  2. Modality-Gated LSTM (Task-Specific): To mitigate the performance decline observed when scaling to many modalities, the researchers developed the Modality-Gated LSTM (mLSTM). This architecture uses the pre-trained $\lambda$ weights to dynamically scale modality embeddings during fine-tuning, acting as a modality-aware regularizer.

Experimental Setup

The study utilizes the MIMIC-IV and MIMIC-CXR datasets, focusing on patients with a complete set of five modalities: radiology reports, discharge summaries, chest X-rays, clinical time-series, and demographics. This allowed for a controlled evaluation of all 26 possible combinations of two to five modalities. Standard encoders were employed, including ClinicalBERT for text and ResNet for images.

Results and Discussion

A significant finding of the study is the existence of a "three-modality sweet spot." Standard models typically peak in performance when combining discharge notes, chest X-rays, and demographics. Beyond this, integration noise often leads to a performance plateau.

The mLSTM successfully breaks this plateau. In the five-modality setting for In-Hospital Mortality (IHM) prediction, the mLSTM improved the AUROC from a 73.19% supervised baseline to 76.93%. Precision gains were even more notable, with AUPRC (Area Under the Precision-Recall Curve) rising from 51.27% to 62.26%.

Furthermore, the study identified clinical time-series as the most challenging modality to align. Its high variance and temporal nature often reduced the overall quality of the shared latent space when compared to more static modalities like text or images. Despite this, the mLSTM's ability to weight these modalities dynamically allowed for improved fairness and stability across different patient subgroups.

Conclusion and Future Work

PiCME demonstrates that while "more data" isn't always better in multimodal learning, intelligent weighting and gating can overcome integration hurdles. By leveraging unsupervised pre-training to inform task-specific importance, the mLSTM provides a path toward more accurate and fair clinical models.

Limitations remain, particularly the computational cost of evaluating dozens of modality combinations and the requirement for complete data. Future work will focus on extending this framework to handle missing data, a common occurrence in real-world clinical settings, and developing specialized encoders for better cross-modal alignment of time-series data.

Summary updated

Abstract

Multimodal deep learning holds promise for improving clinical prediction by integrating diverse patient data, including text, imaging, time-series, and structured demographics. Contrastive learning facilitates this integration by producing a unified representation that can be reused across tasks, reducing the need for separate models or encoders. Although contrastive learning has seen success in vision-language domains, its use in clinical settings remains largely limited to image and text pairs. We propose the Pipeline for Contrastive Modality Evaluation and Encoding (PiCME), which systematically assesses five clinical data types from MIMIC: discharge summaries, radiology reports, chest X-rays, demographics, and time-series. We pre-train contrastive models on all 26 combinations of two to five modalities and evaluate their utility on in-hospital mortality and phenotype prediction. To address performance plateaus with more modalities, we introduce a Modality-Gated LSTM that weights each modality according to its contrastively learned importance. Our results show that contrastive models remain competitive with supervised baselines, particularly in three-modality settings. Performance declines beyond three modalities, which supervised models fail to recover. The Modality-Gated LSTM mitigates this drop, improving AUROC from 73.19% to 76.93% and AUPRC from 51.27% to 62.26% in the five-modality setting. We also compare contrastively learned modality importance scores with attribution scores and evaluate generalization across demographic subgroups, highlighting strengths in interpretability and fairness. PiCME is the first to scale contrastive learning across all modality combinations in MIMIC, offering guidance for modality selection, training strategies, and equitable clinical prediction.
BibTeX
@misc{golovanevsky2025picme,
  author = {Michal Golovanevsky and Pranav Mahableshwarkar and Carsten Eickhoff and Ritambhara Singh},
  title = {{PiCME: Pipeline for Contrastive Modality Evaluation and Encoding in the MIMIC Dataset}},
  year = {2025},
  eprint = {2507.03165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03165},
}
Figure