Context-Aware Generative Imputation for Robust Multimodal Learning in Missing Modality Scenarios

Jungwon Choi, Juho LeeNeurIPS 2026

TL;DR

Multimodal AI models usually fall apart in the real world when a sensor fails or a medical test is skipped. Rather than wasting compute trying to hallucinate missing raw pixels or text from scratch, CEPA (Cross-modal Embedding Prediction and Alignment) predicts the missing data's latent meaning directly. By matching the statistical "vibe" of patients or samples in similar situations, it keeps predictions grounded, stable, and accurate even when big chunks of data are missing.

What Problem Does This Paper Address?

Imagine training a clinical model on vital signs, chest X-rays, and radiology notes. In the textbook world, every patient has all three. In an actual hospital, a stable patient skips the X-ray, or a sensor disconnects. Standard multimodal models panic when inputs go missing.

Existing workarounds have a Goldilocks problem. Generative imputation tries to reconstruct raw missing data (like generating a fake X-ray pixel-by-pixel), which is computationally expensive and prone to "semantic drift"—looking plausible while getting medical facts wrong. Meanwhile, naive latent prediction tries to guess the missing feature vector directly. However, when a modality is truly unobserved, there is no single "correct" ground-truth vector to aim for. Pointwise guessing becomes ill-posed, causing the model to take lazy shortcuts and suffer from representation collapse (e.g., outputting the same generic average for everyone).

Methods

Instead of reconstructing raw inputs, CEPA works entirely in latent representation space, combining masked representation learning (similar in spirit to JEPA) with three clever twists:

Figure 1: Overview of CEPA (modalities 1 and 2 observed, modality 3 missing). (a) Adaptive masking. The mask head hω, guided by the EMA predictor g ¯ϕ, masks the Top-K tokens of each observed modality (Figure 2). (b) Cross-modal prediction. gϕ predicts the embeddings of all modalities from the masked embeddings ˜Z(m) and the learnable tokens U(3), trained with Lobs and the cross-modal consistency loss Lcross. The missing modality has no target. (c) Context-conditional CF matching. LCF matches the distribution of the imputations to that of the observed embeddings of samples with a similar context ci (Figure 8). (d) Inference. gϕ imputes bZ(3) from unmasked inputs.
  1. Adaptive Cross-Modal Masking: Standard masked autoencoders hide random patches of data. CEPA uses a dedicated mask predictor (guided by a slowly updating Exponential Moving Average copy of the main predictor) to find and hide the most informative tokens in the modalities you actually have. Forcing the predictor to rebuild these high-value tokens pushes it to learn deep cross-modal relationships rather than local interpolation.
  2. Cross-Modal Consistency: How do you grade a prediction for a missing modality when no ground truth exists? CEPA feeds its own predicted missing embeddings back into the predictor alongside heavily masked observed data. If the imputed embedding is semantically rich, it should help reconstruct the observed modalities.
  3. Context-Conditional Characteristic-Function (CF) Alignment: Even with consistency checks, latent predictions can still collapse. So, CEPA summarizes all available data for a sample into a "context vector" and looks across the current minibatch for other samples with similar contexts that actually have the missing modality. Using Nadaraya–Watson kernel regression and characteristic functions (essentially Fourier transforms of probability distributions), CEPA forces the distribution of its imputed embeddings to match the empirical distribution of real embeddings from similar contexts.

Datasets

No new datasets are introduced, but CEPA is tested across clinical, synthetic, and general benchmarks:

  • Multimodal MIMIC (MIMIC-IV + MIMIC-CXR): Combines structured EHR time-series, chest X-rays, and radiology reports across three tasks: in-hospital mortality, clinical phenotyping (25 conditions), and length-of-stay regression. Tested on both a controlled subset (simulated random drops) and a "natural missingness" cohort where ~74% of ICU stays naturally lack X-rays.
  • CMU-MOSEI: A non-clinical multimodal sentiment analysis benchmark combining audio, language, and vision.
  • Synthetic Ring Dataset: A controlled setup with 12 correlated "sensor" projections of a 2D latent ring to visualize decision boundaries and collapse.

Key Insights and Ideas

  • Match distributions, not points: Because an unobserved X-ray could plausibly look several different ways given the same vital signs, supervising at the distribution level among contextually similar peers is much more natural than forcing a single vector guess.
  • Characteristic functions tame wild gradients: Density-based distribution matching can blow up if distributions get steep. Because characteristic functions map data onto the unit circle in the complex plane, the authors prove the alignment loss has a naturally bounded gradient—independent of data density or kernel bandwidth.
  • Stop-gradient saves the context: If the model is allowed to update its context-similarity weights freely during alignment, it cheats by collapsing all context vectors together. Detaching those weights (stopgrad) preserves context diversity.
Figure 3: Synthetic experiment. (a) Ring-structured latent data with 12 projected modalities. (b) Stop-gradient prevents context collapse in CF matching. (c) Decision boundaries across fill strategies with M ∈{1, 2, 4, 8} observed modalities. CF (Ours) yields the most coherent boundaries.

Key Results

  • MIMIC (50% missingness): CEPA beats 12 baselines across all three tasks, achieving 81.1 AUROC / 50.6 AUPRC on mortality (vs. 79.8 / 48.5 for the strongest baselines), 70.8 AUROC on phenotyping, and the lowest error (72.9 MAE) on length-of-stay.
  • Natural Missingness: When ~74% of patients naturally lack X-rays and notes, CEPA reaches 85.1 AUROC on mortality, outperforming strong Mixture-of-Experts baselines like Flex-MoE (84.4).
  • Ablations: Adding cross-modal consistency and CF alignment boosts mortality AUPRC from 43.7 to 50.6. Adaptive cross-modal masking beats no masking (+1.9 AUROC, +5.3 AUPRC) and random masking (+1.5 AUROC).
  • CMU-MOSEI: Achieves the highest average accuracy (78.7%) and F1 (78.1%) across all seven observed-modality combinations.

Limitations and Future Work

Because CEPA operates purely in latent space to optimize downstream predictions, it cannot generate human-interpretable reconstructions. If a clinician wants to visually inspect a synthesized X-ray rather than just get a mortality risk score, CEPA isn't the right tool. For future work, the authors point toward validating the framework on broader external hospital cohorts and new multimodal domains.

Summary updated

Abstract

Multimodal models often suffer from missing data modalities due to acquisition costs, privacy constraints, or sensor failures, leading to severe performance degradation. Existing approaches based on shared representations or expert routing struggle when modality-specific information is absent. When a modality is unobserved, the target representation is not uniquely identifiable, making naive latent prediction prone to degenerate or collapsed solutions. We propose Cross-modal Embedding Prediction and Alignment (CEPA), a framework that addresses missing modalities through task-driven latent representation imputation rather than raw input synthesis. CEPA employs masked representation learning with data-driven masking patterns and a context-conditional distribution alignment objective that stabilizes latent prediction and mitigates representation collapse. We evaluate CEPA on the MIMIC multimodal benchmark spanning EHR time-series, chest X-rays, and radiology reports, across three clinical prediction tasks under controlled missing-modality patterns, and on the CMU-MOSEI sentiment benchmark. CEPA achieves comparable or better performance than prior missing-modality methods, with ablations confirming the contribution of adaptive masking and context-conditional alignment. Code is available at https://github.com/jungwon-choi/CEPA.
BibTeX
@inproceedings{choi2026context,
  author = {Jungwon Choi and Juho Lee},
  title = {{Context-Aware Generative Imputation for Robust Multimodal Learning in Missing Modality Scenarios}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bk4w1XMdSu},
}
Figure