TL;DR
The authors introduce Latent-Attention Masked Autoencoders (LAMAE), a multimodal, structure-aware framework that jointly learns patient-level cardiac representations from ECGs, echocardiograms, and chest X-rays during self-supervised pretraining. By exchanging information directly in the latent space via a shared attention module, LAMAE handles missing data gracefully and outperforms modality-specific and contrastive baselines on critical hospital-stay prediction tasks.
What Problem Does This Paper Address?
Cardiovascular disease (CVD) diagnosis rarely relies on a single test. In clinical practice, doctors routinely synthesize information from electrocardiograms (ECGs), echocardiograms (Echo videos), chest X-rays (CXRs), and clinical histories to evaluate a patient's heart health.
However, most modern medical AI foundation models are strictly modality-specific—they look at X-rays alone or ECGs alone. When multimodal models do exist, they typically rely on "late fusion" (combining independent features at the very end) or contrastive alignment. This post-hoc approach discards the rich, hierarchical structure within each modality (like the multiple views in an Echo exam or the 12 leads of an ECG) and fails to capture how these different signals correlate during a patient's hospital stay. Furthermore, clinical data is inherently messy and incomplete; patients rarely receive every single diagnostic test, meaning models must be resilient to missing modalities.
Methods
LAMAE addresses these challenges by introducing a multimodal, structure-aware masked autoencoder framework.
- Hierarchical Modeling: The authors organize medical data into a three-layered hierarchy: studies (the overall exam), views (different imaging planes or projections), and base entities (individual video frames, ECG leads, or X-ray images).
- Latent Attention (LA) Module: Instead of fusing features late in the pipeline, LAMAE uses modality-specific transformer encoders to project visible inputs into a shared latent space. A centralized Latent Attention module—built as a multi-head, multi-layer self-attention block—then processes these embeddings jointly across all modalities using a dedicated multimodal CLS token.
- Entity Masking: In addition to standard patch-level masking (hiding small squares of an image), LAMAE introduces entity masking, which randomly drops entire leads, video frames, or views. This forces the model to leverage cross-modal correlations to reconstruct the missing data (e.g., using ECG data to help predict a missing X-ray view). Modality-specific decoders are then tasked with reconstructing the original, unmasked inputs.
Datasets
The model was pretrained and evaluated using the massive MIMIC-IV database alongside its modality-specific subsets:
- MIMIC-IV-CXR (Chest X-rays)
- MIMIC-IV-ECG (Electrocardiograms)
- MIMIC-IV-Echo (Echocardiograms)
- MIMIC-IV-ED (Emergency Department records)
In total, the dataset comprises 1,267,017 unique hospital stays, containing 227,835 CXR studies (377,110 images), 7,243 Echo studies (525,328 videos), and 800,035 12-lead ECG measurements.
Key Insights and Ideas
- Early Latent Fusion Wins: Allowing modalities to interact deeply within the latent space during pretraining captures complex clinical relationships far better than aligning them via contrastive language targets or fusing them post-hoc.
- Set-Based Attention Handles Missing Data: Treating a medical study as an unordered, variable-sized set of latents makes the model highly flexible. It naturally accommodates missing views or entirely missing modalities without requiring complex engineering or imputation.
- Cross-Modal Transfer Benefits Unimodal Inference: Pretraining multimodally actually improves performance even when only a single modality is available at test time. The shared representations capture underlying cardiac physiology that helps the model make better sense of isolated signals.
Key Results
The authors evaluated LAMAE on six hospital-stay-level downstream tasks: in-hospital mortality, ICD-10 diagnosis coding, DRG coding, DRG severity, DRG mortality risk, and length of stay.
- Superior Multimodal Performance: LAMAE achieved the best AUROC on 5 out of the 6 hospital-stay tasks, outperforming strong baselines like MedSigLip and ProbMED. For example, the 1500-epoch trained LAMAE achieved 91.71% AUROC for in-hospital mortality and 83.10% for ICD-10 coding.
- Strong Unimodal Performance: On unimodal tasks, LAMAE proved highly competitive. For Echo left ventricular ejection fraction (LVEF) regression, LAMAE reduced the Mean Absolute Error (MAE) to 8.29 percentage points (down from 8.97 for an independent baseline) and significantly boosted the $R^2$ score from 0.306 to 0.412.
Limitations and Future Work
- Single-Center Source: All data originated from the MIMIC-IV database (Beth Israel Deaconess Medical Center). The authors acknowledge that cross-institutional validation is an essential next step to ensure the model generalizes across different hospital systems.
- Modality-Dependent Transfer Variance: While multimodal pretraining consistently helped single-modality ECG inference, the benefits were less uniform and more modest for CXR and Echo tasks when evaluated in isolation.
- Expanding Modalities: The current framework focuses on imaging and waveforms. The authors suggest that expanding the Latent Attention module to include laboratory time-series data and unstructured clinical notes would move the model closer to a truly holistic clinical foundation model.
Summary updated