NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffRisk: Diffusion Representation Learning with Informative Missingness for Health Risk Prediction

Shailesh Dahal, Ratri Mukherjee, Nicholas Mathews, Kishlay JhaNeurIPS 2026

TL;DR

In Electronic Health Records (EHR), the tests a doctor doesn’t order often tell you just as much as the ones they do. Instead of treating missing clinical data as messy gaps to be guessed and filled in, DiffRisk uses latent-space diffusion to learn the hidden relationships between observed measurements and missingness patterns. The result is a faster, sharper health risk predictor that stays remarkably accurate even when medical records are mostly empty.

What Problem Does This Paper Address?

Real-world EHR data looks like Swiss cheese—full of holes caused by irregular checkups, unrecorded vitals, and selective lab tests. Standard deep learning models hate holes, so researchers usually patch them up via imputation (guessing the missing numbers).

This creates two big problems. First, bad guesses inject noise and shift the underlying data distribution. Second, imputation assumes data is "missing at random," completely erasing clinical intent. Think about it: if a patient's chart has zero tests for cardiac troponin (a biomarker for heart attacks), that’s not a clerical error—it means the doctor didn't suspect a heart attack! Conversely, repeated troponin tests signal high clinical suspicion. By filling in the blanks, traditional models destroy this informative missingness.

Figure 1: An illustration of EHR data imputation. (Left) Imputation introduces a distribution shift by filling missing values with potentially noisy estimates. (Right) Missingness carries clinical information: serial Troponin tests and Creatine Kinase-Myocardial Band (CK-MB) indicate suspected Myocardial Infarction (MI), while absent Troponin tests reflect no MI suspicion.

Methods

DiffRisk flips the script: instead of reconstructing missing raw inputs, it uses a diffusion model as a training regularizer in a compressed latent space.

Here is how the pieces fit together:

  • Encoding Data and Missingness: A standard Transformer maps observed patient time-series data into compact per-variable summary vectors. In parallel, a lightweight MLP ("MissEncoder") summarizes how frequently each variable was measured, preserving the patient's true observation pattern.
  • Intent-Driven Masking (Novel): During training, DiffRisk partitions observed data into "context" and "target" sets. Rather than masking data uniformly at random, it calculates how much a patient's test frequencies deviate from class-level prototypes, deliberately targeting clinically unusual observations.
  • Latent Conditional Diffusion (Novel): An Exponential Moving Average (EMA) teacher encoder generates clean target representations, which are corrupted with Gaussian noise. A conditional score network then learns to denoise these targets using the context representations and missingness embeddings. Importantly, rare lab tests (like troponin) are up-weighted in the loss so routine vitals (like heart rate) don't drown out their signal.
  • Fast Inference: Everything is trained jointly with the downstream risk classifier. At test time, the diffusion network and teacher encoder are thrown away—predictions require just a single, fast forward pass through the online encoder and classifier.

Overview of the DiffRisk architecture (Note: See Figure 2 below for the joint training pipeline.) Overview of DiffRisk pipeline

Overview of DiffRisk pipeline

Datasets

The authors evaluate DiffRisk across three healthcare databases:

  • MIMIC-III: An ICU time-series benchmark (17 physiological variables, ~42–44% observed) evaluated across four tasks: In-Hospital Mortality, Decompensation, Phenotyping, and Length of Stay.
  • PhysioNet Cardiology: A sparser ICU dataset (37 variables over 48 hours, only 20.42% observed) for predicting mortality.
  • HCUP National Inpatient Sample (NIS): Newly introduced here as a non-ICU evaluation cohort covering 97,600 Takotsubo syndrome admissions (2000–2022) with 134 features and ~67% missing entries, testing generalization beyond standard ICU monitoring.

Key Insights and Ideas

  • Diffusion without generation: Diffusion models in healthcare usually generate synthetic patients or impute missing values in raw input space—a slow, tricky process when mixing binary, categorical, and continuous clinical variables. Using diffusion strictly in latent space to shape representation geometry aligns uncertainty directly with the prediction task.
  • Random masking is the wrong inductive bias: When the authors replaced their intent-driven masking with standard uniform random masking, performance noticeably dropped. Teaching a model to expect random holes leaves it unprepared for structured, real-world clinical missingness.
  • Graceful degradation: The authors prove mathematically—and show empirically—that accurate conditional score learning bounds how much a patient's representation drifts when observation patterns shift, making DiffRisk toughest in ultra-sparse data regimes where imputation baselines collapse.

Key Results

DiffRisk consistently outperforms both missingness-aware discriminative models (like SMART and Warpformer) and diffusion-based "Impute+Predict" baselines (like CSDI and MTSCI) across all five main ICU tasks.

Because clinical outcomes are heavily imbalanced, the clearest wins appear in Precision-Recall (AUPRC):

  • PhysioNet Cardiology: Achieves 59.32% AUPRC, beating SMART by +5.90 points and MTSCI by +4.97 points.
  • MIMIC-III Decompensation: Reaches 76.99% AUPRC (and 96.33% AUROC), outperforming SMART by +4.98 points and MTSCI by +9.69 points.
  • MIMIC-III In-Hospital Mortality: Hits 54.05% AUPRC, improving over SMART by +3.70 points.
  • Non-ICU Generalization (HCUP NIS): Without any architectural tweaks, DiffRisk achieves 92.06% AUROC and 53.50% AUPRC on longitudinal inpatient sequences.

Ablation studies confirm that stripping out conditional value modeling craters Cardiology AUPRC from 59.32% down to 27.39%, while removing the missingness encoder drops MIMIC-III Mortality AUPRC by 3.25 points.

Limitations and Future Work

While DiffRisk excels at capturing that a missingness pattern matters, it currently operates largely as a black box regarding why specific missingness combinations trigger a high-risk alert. The authors highlight model interpretability as their primary direction for future work, aiming to make these learned conditional dependencies transparent enough to integrate safely into real-world clinical workflows. Additionally, sensitivity analyses note that the diffusion loss weight ($\lambda_d$) requires careful tuning (peaking around $0.1$), as overly aggressive score regularization can dilute the primary classification objective.

Summary updated

BibTeX
@inproceedings{dahal2026diffrisk,
  author = {Shailesh Dahal and Ratri Mukherjee and Nicholas Mathews and Kishlay Jha},
  title = {{DiffRisk: Diffusion Representation Learning with Informative Missingness for Health Risk Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Ys3sg1XgsA},
}
Figure