DiffRisk: Diffusion Representation Learning with Informative Missingness for Health Risk Prediction
Shailesh Dahal, Ratri Mukherjee, Nicholas Mathews, Kishlay Jha
NeurIPS 2026
TL;DR. DiffRisk is a diffusion-based representation learning approach that exploits the informativeness of missing data to learn high-quality patient representations useful for downstream health risk prediction tasks
Abstract. Health risk prediction aims to predict a patient's potential health risks (e.g., mortality) using the longitudinal information present in their electronic health record (EHR). While deep learning-based risk prediction models have shown great promise, they are susceptible to the issue of missing data prevalent in real-world EHR. Most prior works mitigate this challenge by treating missing data as an uninformative perturbation to be ignored or imputed. However, inaccurate imputation may lead to the generation of sub-optimal patient representations that adversely impact risk prediction performance. Moreover, recent studies show that missing data in EHR does not necessarily imply error or noisy observation and instead may communicate informative clinical signals useful for health risk prediction. To address this, we propose a novel diffusion-based representation learning approach (namely ) that explicitly captures by modeling conditional dependencies induced by partial observations in EHR. Specifically, DiffRisk learns latent representations with coherent conditional structure, where any subset of observed features defines a distribution over the unobserved components. To achieve this, we introduce a conditional score-based objective and approximate it via denoising diffusion that enables efficient learning without explicit density estimation. Empirical results on five risk prediction tasks show that the proposed approach consistently outperforms state-of-the-art baselines.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper Needs Clarification during Response Period. The paper proposes DiffRisk, a diffusion-based representation learning method for health risk prediction with partially observed EHR time series. Instead of imputing missing values, DiffRisk learns latent representations that model conditional structure among observed variables and uses a missingness encoder to capture informative observation patterns. Reviewer gCxW finds the latent-space diffusion objective well motivated and avoiding input-space imputation a reasonable design choice. Reviewers z83e and gCxW also note the strong empirical evaluation across five clinical prediction tasks, multiple baselines, ablations, robustness tests, computational efficiency analysis, and mean plus standard deviation over three seeds.
The most important concern is whether the reported gains arise from modeling informative missingness, or from the supervised intent-driven masking procedure. Reviewer gCxW notes that intent-driven masking uses the true training labels to build class prototypes and select target cells. This is a reasonable supervised design, but it makes it hard to attribute the gain to informative missingness alone. The paper should clearly state that labels are not used by the encoder or classifier at inference and should provide same-architecture controls, including a task-only transformer with the same missingness encoder, a label-free masking variant, and a missingness-only predictor. Reviewer fKTY also finds that partitioning into conditioning and target subsets is not clearly explained and that it is unclear how the two missingness proportions summarize informative, non-random missingness.
A second concern is that several design choices are not sufficiently isolated or explained. Reviewer gCxW identifies the EMA target encoder, the 500-step cosine schedule, and the FiLM plus cross-attention score network as components whose individual effects are unclear. Reviewer z83e similarly asks how the target encoder EMA is used, whether it shares parameters with the main encoder, how performance depends on the number of diffusion steps, and what the training and inference costs are relative to the baselines. Reviewer fKTY further notes that the method description lacks details and that the notation in Equation (1), including how the constraint propagates to Equations (2), (3), and (5), is unclear.
The empirical evaluation is otherwise strong, but several comparisons require clarification. Reviewer fKTY identifies missing relevant baselines, including Probabilistic Imputation for Time-series Classification with Missing Data, a latent variable model for high-dimensional point processes with structured missingness, and STraTS. Reviewer gCxW notes that some gains over SMART are modest relative to the reported variance and that no paired tests are provided. The authors should also confirm whether the MIMIC splits are patient-level or admission-level to rule out correlated samples across training and test sets. An additional non-ICU or external-site dataset would make the robustness claim more convincing, but this should not be required during the response period. The readability issues identified by Reviewer z83e, including the small subfigures in Figure 3, are minor and can be corrected in revision.
The rebuttal should prioritize:
- Explain how intent-driven masking uses training labels, state clearly whether labels are used by the encoder or classifier at inference, and provide same-architecture controls using task-only, label-free masking, and missingness-only variants.
- Address the missing relevant baselines, report paired tests or confidence intervals for the comparison with SMART, and confirm that the MIMIC splits are patient-level rather than admission-level.
- Clarify how the conditioning and target subsets are constructed, how the missingness encoder represents informative non-random missingness, and how the notation in Equations (1), (2), (3), and (5) should be interpreted.
- Describe the EMA target encoder, including its architecture, parameter sharing, and effect on performance, and isolate the effects of the 500-step schedule and the FiLM plus cross-attention score network.
- Report sensitivity to the number of diffusion steps and the corresponding training and inference costs, and compare these costs with the main baselines.
If the reviewers’ concerns result from missing explanations rather than missing analyses, the rebuttal should point to the relevant sections and provide the necessary details. If the supervised masking controls, split verification, and component analyses are absent, these additions are important for determining whether the reported improvements are attributable to the proposed representation-learning method.
Final justification
The author responses have addressed the main concerns from the initial meta-review. The additional experiments and clarifications strengthened the empirical analysis, and all reviewers now support acceptance.
Some limitations remain, including incomplete attribution of the gains specifically to missingness modeling and the absence of validation on MIMIC-IV. Overall, however, the reviewers found that the response sufficiently strengthened the paper and that the remaining issues do not outweigh its technical and empirical contributions.
Read meta-review
Meta-review
This paper Needs Clarification during Response Period. The paper proposes DiffRisk, a diffusion-based representation learning method for health risk prediction with partially observed EHR time series. Instead of imputing missing values, DiffRisk learns latent representations that model conditional structure among observed variables and uses a missingness encoder to capture informative observation patterns. Reviewer gCxW finds the latent-space diffusion objective well motivated and avoiding input-space imputation a reasonable design choice. Reviewers z83e and gCxW also note the strong empirical evaluation across five clinical prediction tasks, multiple baselines, ablations, robustness tests, computational efficiency analysis, and mean plus standard deviation over three seeds.
The most important concern is whether the reported gains arise from modeling informative missingness, or from the supervised intent-driven masking procedure. Reviewer gCxW notes that intent-driven masking uses the true training labels to build class prototypes and select target cells. This is a reasonable supervised design, but it makes it hard to attribute the gain to informative missingness alone. The paper should clearly state that labels are not used by the encoder or classifier at inference and should provide same-architecture controls, including a task-only transformer with the same missingness encoder, a label-free masking variant, and a missingness-only predictor. Reviewer fKTY also finds that partitioning into conditioning and target subsets is not clearly explained and that it is unclear how the two missingness proportions summarize informative, non-random missingness.
A second concern is that several design choices are not sufficiently isolated or explained. Reviewer gCxW identifies the EMA target encoder, the 500-step cosine schedule, and the FiLM plus cross-attention score network as components whose individual effects are unclear. Reviewer z83e similarly asks how the target encoder EMA is used, whether it shares parameters with the main encoder, how performance depends on the number of diffusion steps, and what the training and inference costs are relative to the baselines. Reviewer fKTY further notes that the method description lacks details and that the notation in Equation (1), including how the constraint propagates to Equations (2), (3), and (5), is unclear.
The empirical evaluation is otherwise strong, but several comparisons require clarification. Reviewer fKTY identifies missing relevant baselines, including Probabilistic Imputation for Time-series Classification with Missing Data, a latent variable model for high-dimensional point processes with structured missingness, and STraTS. Reviewer gCxW notes that some gains over SMART are modest relative to the reported variance and that no paired tests are provided. The authors should also confirm whether the MIMIC splits are patient-level or admission-level to rule out correlated samples across training and test sets. An additional non-ICU or external-site dataset would make the robustness claim more convincing, but this should not be required during the response period. The readability issues identified by Reviewer z83e, including the small subfigures in Figure 3, are minor and can be corrected in revision.
The rebuttal should prioritize:
- Explain how intent-driven masking uses training labels, state clearly whether labels are used by the encoder or classifier at inference, and provide same-architecture controls using task-only, label-free masking, and missingness-only variants.
- Address the missing relevant baselines, report paired tests or confidence intervals for the comparison with SMART, and confirm that the MIMIC splits are patient-level rather than admission-level.
- Clarify how the conditioning and target subsets are constructed, how the missingness encoder represents informative non-random missingness, and how the notation in Equations (1), (2), (3), and (5) should be interpreted.
- Describe the EMA target encoder, including its architecture, parameter sharing, and effect on performance, and isolate the effects of the 500-step schedule and the FiLM plus cross-attention score network.
- Report sensitivity to the number of diffusion steps and the corresponding training and inference costs, and compare these costs with the main baselines.
If the reviewers’ concerns result from missing explanations rather than missing analyses, the rebuttal should point to the relevant sections and provide the necessary details. If the supervised masking controls, split verification, and component analyses are absent, these additions are important for determining whether the reported improvements are attributable to the proposed representation-learning method.
Final justification
The author responses have addressed the main concerns from the initial meta-review. The additional experiments and clarifications strengthened the empirical analysis, and all reviewers now support acceptance.
Some limitations remain, including incomplete attribution of the gains specifically to missingness modeling and the absence of validation on MIMIC-IV. Overall, however, the reviewers found that the response sufficiently strengthened the paper and that the remaining issues do not outweigh its technical and empirical contributions.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work proposes a generative modeling based representation and prediction method for datasets that contain informative missingness. The generative model is implemented using a diffusion model framework that is combined with another latent variable encoder model. As I understood it, the diffusion model-based method tries to learn a distribution for the unobserved variables, given the observed variables that can then be used to impute the data and predict the label y. The proposed model is tested on physionet and mimic datasets and authors report promising results.
Strengths and weaknesses
The strength of the proposed method is strong performance that author report in Results section.
Method description is not coherent and lack details.
Questions
Comparative analysis in results section seems quite extensive but authors also miss some relevant baselines, such as
- Probabilistic Imputation for Time-series Classsification with Missing Data, ICML 2023
- Latent variable model forr high-dimensional point process with structured missingness, ICML 2024
- Self-supervised transformer for sparse and irregularly sampled multivariate clinical time-series (Strats), 2022
Length of the time-series seems to be fixed and the same for all subjects, which can limit applicability.
Missingness is summarized in a patient-specific way by computing proportions of missngness across all features and missingness per feature. It is not clear how these two proportions summarize the informative, non-random missingness.
Partitioning into conditioning and target subsets is not clearly explained.
Equation (1): Notation for the expectation is unclear, since Z is assumed to be equal to encoder network output f(X,M). It is also unclear how this constraint propagates and affects Equations 2, 3 and 5.
Limitations
Limitations could be described better.
Final justification
Responses clarified some parts that I had misunderstood or were otherwise unclear. Additional experiments notable strengthen empirical analysis. I will increase my overall score by one.
Formatting concerns
4 comments
Rebuttal
We thank the reviewer for the assessment and for identifying three concrete related methods. Below, we report results for all three under consistent evaluation settings and address the remaining methodological and presentation concerns in the order raised.
Additional baselines. We evaluated all three suggested baselines using the same datasets, splits, preprocessing, evaluation metric, and three-seed protocol as our existing baselines. To provide representative coverage within the response period, we used Cardiology and Decompensation, two highly imbalanced tasks drawn from two benchmark datasets. AUPRC results are reported as mean standard deviation:
| Method | Cardiology (AUPRC) | Decompensation (AUPRC) |
|---|---|---|
| STraTS [1] | 51.11 ± 3.66 | 71.81 ± 3.39 |
| PISA / SupNotMIWAE [2] | 54.37 ± 4.00 | 59.39 ± 1.66 |
| MPP-VAE [3] | 44.24 ± 3.62 | 61.90 ± 2.56 |
| DiffRisk (Ours) | 59.32 ± 0.43 | 76.99 ± 0.32 |
These methods represent the three directions highlighted by the reviewer: irregularly sampled sequence modeling (STraTS [1]), supervised probabilistic imputation under informative missingness (PISA [2]), and latent-variable modeling of structured missingness (MPP-VAE [3]). DiffRisk outperforms all three on both tasks by 4.95$--$17.60 points on Decompensation, while also exhibiting substantially lower variance across seeds. For fairness, we followed each original formulation as closely as possible and limited adaptations to those required by the common benchmark. STraTS uses the authors' official model, with only a data adapter mapping observed cells to its native (time, variable, value) triplets. PISA follows the SupNotMIWAE formulation, including its GP prior, informative-missingness model, and importance-weighted supervised objective. MPP-VAE is adapted as a continuous imputer and evaluated using the same Impute+Predict pipeline and downstream classifier as CSDI, MTSCI, and MedDiffusion, so the imputation model is the principal component that changes. These results will be included alongside the existing comparisons, with implementation details provided in the appendix.
Methodological clarifications.
-
Variable-length time series. DiffRisk does not inherently require equal-length sequences. The fixed 24/48/60-hour grid follows the standard MIMIC-III benchmark protocol and provides a common prediction window for controlled comparison. The encoder uses observation masks and therefore accommodates different numbers and locations of valid observations across patients.
-
Representation of informative missingness. The model does not summarize each patient using two scalar missingness proportions. The MissEncoder receives the complete variable-specific observation-rate vector while the EHR encoder separately receives the full temporal mask . Thus, preserves when each variable is observed, whereas summarizes how intensively each variable is monitored. Together, they represent patient-specific monitoring behavior rather than overall sparsity alone. Empirically, a predictor based only on obtains AUROC 69.7 on IHM, compared with the random-ranking value of 50, and removing the MissEncoder reduces AUPRC by 3.25, 1.79, and 0.95 points on Mortality, Cardiology, and Decompensation, respectively. We interpret this as predictive observation-pattern information, not as identification of the causal missingness mechanism.
-
Conditioning and target subsets. The conditioning and target sets are constructed exclusively from already observed cells. Each observed cell receives score , where , , and controls the blend between uniform and intent-driven masking (From Section 3.4 of Paper). The highest-scoring observed cells form the target set , and the remaining observed cells form the conditioning set . The score network learns the target latent representation conditional on the observed context and missingness representation. Naturally missing cells are never treated as denoising targets, and this auxiliary partition is used only during training, not inference.
-
Equations (1)(5). In Eq. (1), is deterministic conditional on . The expectation is over the data distribution and the sampled conditioning/target partition. Eq. (2) minimizes task risk subject to the conditional-score constraint in Eq. (1), and Eq. (3) is its Lagrangian relaxation. Because the exact conditional-score approximation gap is intractable, Proposition (1) connects it to the denoising score-matching risk. Eq. (5) is therefore the implementable objective obtained by replacing that gap with .
-
Limitations. The evaluation is restricted to ICU benchmark cohorts, and monitoring practices may vary across institutions and clinical workflows. The present experiments also do not establish robustness under arbitrary shifts in missingness mechanisms. Finally, diffusion introduces additional training-time computation, although the target encoder and score network are discarded after training and inference remains a single forward pass, as quantified in Table 4.
The three requested comparisons directly broaden the empirical evaluation to recent methods for irregular sampling and structured informative missingness, while the clarifications above resolve the questions concerning sequence length, missingness representation, context/target construction, and the relationship among Eqs. (1)(5).
References
[1] S. Tipirneni and C. K. Reddy. “Self-Supervised Transformer for Sparse and Irregularly Sampled Multivariate Clinical Time-Series.” ACM Transactions on Knowledge Discovery from Data, vol. 16, no. 6, pp. 1–17, 2022.
[2] S. Kim, H. Kim, E. Yun, H. Lee, J. Lee, and J. Lee. “Probabilistic Imputation for Time-Series Classification with Missing Data.” Proceedings of the 40th International Conference on Machine Learning (ICML), pp. 16654–16667, 2023.
[3] M. Sinelnikov, M. Haussmann, and H. Lähdesmäki. “Latent Variable Model for High-Dimensional Point Process with Structured Missingness.” arXiv preprint arXiv:2402.05758, 2024.
Dear reviewer fKTY,
We thank you for your valuable feedback and questions. As the author-reviewer discussion period is closing soon, we would like you to kindly check if our responses have fully answered your questions. If you have any remaining questions, concerns, or suggestions, please let us know.
Best Regards,
The Authors
Additional Clarification
Dear Reviewer fKTY,
We wish to update that, in an effort to address related concerns raised by other reviewers, we conducted additional experiments that substantially broaden the scope of our evaluation. To examine applicability beyond ICU benchmarks, we evaluated DiffRisk on a non-ICU Takotsubo syndrome cohort from the National Inpatient Sample, comprising 97,600 general inpatient admissions with substantial structured missingness (Source: dataset documentation). Without architectural modification, DiffRisk achieves 90.34 AUROC and 42.92 ± 2.70 AUPRC using the cross-sectional representation. Incorporating procedure-day trajectories improves performance to 92.06 AUROC and 53.50 ± 1.68 AUPRC. This broadens the empirical evidence beyond ICU physiological time series and shows applicability to a distinct clinical cohort and data modality.
Moreover, Figure 4 additionally evaluates robustness across observation rates. DiffRisk also adds training-time computation, although the target encoder and score network are discarded after training and inference remains a single forward pass, as quantified in Table 4. Thus, the additional NIS and observation-rate experiments directly address the previously stated limitations regarding ICU-only evaluation and robustness to substantial changes in observation density. The remaining limitations concern variation across institutional data-generation practices and clinical settings. The new analyses will be incorporated into the revised manuscript. Thank you for your review time, and please let us know if there are any remaining questions, concerns, or suggestions.
Best Regards,
The Authors
Thank you for your responses, which clarified some parts that I had misunderstood or were otherwise unclear. Additional experiments notable strengthen empirical analysis. I will increase my overall score by one.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes DiffRisk, a diffusion-based representation learning method for health risk prediction with partially observed EHR time series. Instead of imputing missing values, DiffRisk learns latent representations that model conditional structure among observed variables and uses a missingness encoder to capture informative observation patterns. Experiments on five clinical prediction tasks report consistent gains over missingness-aware, time-series, and diffusion-based baselines.
Strengths and weaknesses
Strengths:
- The paper tackles an important and practical problem that missingness in EHR data is often clinically informative rather than just noise.
- The proposed latent-space diffusion objective is well motivated, and avoiding input-space imputation while integrating a missingness encoder is a reasonable and novel design choice.
- The experimental section is strong, including five tasks, strong baselines, ablations, robustness tests, computational efficiency analysis, code release, and mean plus standard deviation across three random seeds.
Weaknesses:
- Intent-driven masking uses the true training labels to build class prototypes and select target cells, which is a reasonable supervised design, but it makes it hard to attribute the gain to informative missingness alone. The paper should add same-architecture controls: a task-only transformer with the same missingness encoder, a label-free masking variant, and a missingness-only predictor, and state clearly that labels are not used by the encoder or classifier at inference.
- Several design choices are not fully isolated, including the EMA target encoder, the 500-step cosine schedule, and the FiLM plus cross-attention score network. With this many components, the ablations do not fully show what drives the improvement.
- All benchmarks are ICU-based (MIMIC-III and PhysioNet), so one non-ICU or external-site dataset would make the robustness claim more convincing.
- Some gains over SMART are modest relative to the reported variance, and no paired tests are provided. The paper should also confirm whether MIMIC splits are patient-level or admission-level to avoid correlated samples across train and test.
Questions
It would be useful to explain why MIMIC-IV was not used.
Limitations
Yes
Final justification
The rebuttal addresses most of my questions regarding computational cost, the choice of (T), the EMA encoder, and inference-time label use. However, the gains are still not cleanly attributed to the proposed missingness modeling across the full evaluation, and validation on MIMIC-IV remains absent. The rebuttal strengthens the paper, but these questions keep it borderline, so I maintain my score.
Formatting concerns
No
2 comments
Rebuttal
We sincerely thank the reviewer for the thoughtful comments. We provide additional analyses to clarify the contribution of DiffRisk, isolate the effects of its design choices, and address the concerns regarding statistical significance and data splitting.
C1. Attribution to informative missingness DiffRisk is trained jointly in a single end-to-end stage. Labels are used only for the supervised classification loss and to construct class-level observation prototypes for the auxiliary conditioning/target partition. They are never directly provided as feature inputs to the encoder, MissEncoder, score network, or classifier. At inference, all prototype- and diffusion-related components are discarded, and prediction is obtained from a single forward pass over the observed values and missingness pattern. The main benchmark results and core design ablations are averaged over three seeds, whereas the sensitivity analyses and additional diagnostic controls use a fixed seed under identical conditions to isolate mechanism-level effects.
We added the requested same-architecture controls. First, removing the MissEncoder reduces AUPRC by 3.25, 1.79, and 0.95 points on Mortality, Cardiology, and Decompensation, confirming that missingness information contributes independently. Second, replacing class-conditioned prototypes with global observation frequencies changes performance by at most approximately 2% relative on Cardiology and Decompensation. In contrast, RandomObs, which removes observation-driven selection altogether, reduces AUPRC by 1.19, 2.88, and 2.06 points. These results indicate that observation-pattern structure, rather than label conditioning itself, is the important component of the masking mechanism. Third, a missingness-only predictor achieves only approximately 52$-$57% of the full model's AUPRC, showing that missingness is informative but insufficient alone.
Moreover, the endpoint of the sensitivity analysis is precisely the requested same-architecture control: it retains the encoder, MissEncoder, and classifier while removing only the conditional diffusion objective. Under the fixed-seed sensitivity protocol, Decompensation AUPRC increases from 73.69 at to 77.73 at the default . IHM similarly increases from 55.94 to 56.85. Thus, in these controlled sensitivity runs, removing the diffusion objective reduces performance while leaving the remainder of the architecture unchanged. The endpoint can therefore be interpreted as Task-only + MissEncoder.
Together, these controls indicate that DiffRisk gains from jointly modeling observed values and informative missingness, rather than from auxiliary label supervision or a missingness-only shortcut.
C2. Design choices and auxiliary components We isolated the EMA target encoder, diffusion schedule, and score-network conditioning with targeted controls.
EMA target encoder. DiffRisk uses an online encoder and an architecturally identical but untied target encoder . The online encoder is optimized by back-propagation and retained at inference, whereas the target encoder is excluded from the optimizer, updated only by EMA, and discarded after training. This asymmetry provides a slowly evolving target representation , preventing the online encoder from changing both the conditioning representation and its denoising target through the same gradient path. When we remove stop-gradient and allow the online encoder to generate trainable targets, the converged diffusion loss decreases by approximately 82%, while Decompensation AUPRC changes by only approximately 1.2%. Thus, the objective becomes much easier without a corresponding predictive gain, which is consistent with target co-adaptation rather than stronger conditional learning. EMA is therefore used to stabilize the conditional score objective, not as an accuracy-tuning mechanism.
Diffusion schedule. The choice does not imply 500 score-network evaluations per sample. At each optimization step, we sample one , construct one noised target representation , and perform one score-network evaluation. Thus, T controls the discretization of the diffusion noise schedule, while the per-step cost remains with respect to T. In controlled single-GPU runs, epoch time remained within 13.5$-$14.5 seconds for , with no systematic increase as T grew.
We selected T=500 as a sufficiently fine discretization of the cosine schedule. To verify that this choice was not narrowly tuned, we evaluated on IHM and Decompensation, where AUPRC varied by less than 0.15% in relative terms on both tasks. This insensitivity concerns only the discretization of the noise schedule, not the necessity of the conditional diffusion score itself.
FiLM and cross-attention. Replacing FiLM with additive conditioning changes performance by less than 0.1%, indicating that FiLM itself is not responsible for the improvement. In contrast, Table 3 shows that removing value conditioning reduces Decompensation AUPRC from 76.99 to 36.76, while replacing the structured conditioning-target partition with a random partition reduces it to 3.65. These results show that transferring structured conditional information through is consequential, although the current ablations do not establish cross-attention as the uniquely necessary operator. Overall, the large effects arise from preserving conditional score structure, whereas EMA, schedule resolution, and FiLM primarily support a stable implementation.
C3. ICU-only evaluation To address the concern that evaluation was limited to ICU benchmarks, we conducted an additional experiment on a non-ICU EHR cohort constructed from the National Inpatient Sample (NIS) (source: dataset documentation).
The cohort includes 97,600 Takotsubo syndrome admissions from general inpatient care between 2006 and 2022, differing from MIMIC-III and PhysioNet in setting and modality. After removing outcome-related variables, identifiers, and diagnosis/procedure strings, each admission contains 134 structured features with approximately 67% missingness, preserved through the observation mask, rather than imputed values. Without architectural changes, DiffRisk achieved 42.92$\pm$2.70 AUPRC and 90.34$\pm$0.54 AUROC versus SMART’s 40.27$\pm$2.18 and 89.35$\pm$0.74 for IHM prediction. We further constructed a longitudinal within-admission representation using procedure-day information, which improved DiffRisk's performance to 53.50$\pm$1.68 AUPRC and 92.06$\pm$0.56 AUROC, compared with SMART’s 50.54$\pm$1.59 AUPRC and 91.45$\pm$0.68 AUROC.
These results demonstrate that DiffRisk generalizes beyond ICU physiological time series to a substantially different non-ICU EHR cohort and can naturally exploit temporal information when available.
C4. Statistical significance and data splitting
Paired statistical significance. To address the concern regarding variance, we conducted a matched-seed comparison on PhysioNet Cardiology using the three manuscript seeds and seven additional matched seeds, yielding ten paired runs under the same protocol. DiffRisk achieved higher AUPRC than SMART in all ten pairs. A two-sided paired -test yielded , with a 95% confidence interval of for the mean paired AUPRC difference. This provides paired statistical evidence that the Cardiology improvement is robust across matched random initializations. To provide a proof-of-concept statistical validation, we conducted the paired analysis on Cardiology as a representative task.
Dataset splitting. We confirm explicitly: our MIMIC-III splits are admission-level (per ICU stay), not patient-level. Our loader indexes and shuffles at the record level, so a patient with multiple ICU stays may have different stays fall in different folds. Concretely, IHM comprises 21,139 stays from 18,094 patients (2,083 patients, 14.4% of records, have more than one stay) and Decompensation comprises 41,726 stays from 33,574 patients (5,046 patients, 19.5% of records). Cardiology is inherently patient-level: 11,988 records for 11,988 patients, exactly one per patient, so no cross-split correlation is possible there.
To directly assess the effect of repeated subjects, we reran DiffRisk on Decompensation using a strict patient-grouped split in which all episodes from one subject were assigned to the same fold. DiffRisk achieved AUPRC, compared with under the original protocol. In this DiffRisk-only Decompensation verification, performance did not decrease after cross-split subject overlap was eliminated, providing no evidence that repeated subjects inflated the reported Decompensation result.
C5. Why MIMIC-IV was not used We used MIMIC-III because it remains the standard benchmark adopted by nearly all competing methods included in our comparisons (e.g., SMART, MTSCI, CSDI, SAITS, and related baselines), enabling direct and fair evaluation under identical data preprocessing, splits, and experimental protocols. Although MIMIC-IV is a newer release, it differs in data structure and benchmark pipelines, and many existing baselines have not reported results under a common MIMIC-IV protocol. Using MIMIC-III therefore ensures reproducibility and a fair comparison among the baselines.
We thank the reviewer again for these constructive comments. The additional label-free masking, missingness-only, task-only, architectural, paired-seed, and patient-grouped analyses clarify the source of DiffRisk's improvements.
Dear reviewer gCxW,
We thank you for your valuable feedback and questions. As the author-reviewer discussion period is closing soon, we would like you to kindly check if our responses have fully answered your questions. If you have any remaining questions, concerns, or suggestions, please let us know.
Best Regards,
The Authors
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposed a novel diffusion-based reprsentation learning apporach named DiffRisk to solve the mssing data prevalent in EHRs. The key idea of this paper is leveraging the informativeness of missing data to generate high-quality representations for predicting the status of patients. Experiments on five clinical benchmarks validate the effectiveness of DiffRisk.
Strengths and weaknesses
Strengths This work gives technical novelty and provides theoretical support. DiffRisk uses diffusion as a latent space training signal to keep conditional score consistency between observed context and unobserved targets. Experiments evaluate with 5 EHR benchmarks and multiple metrics, demonstrating consistency improvements.
Weaknesses In 4.1 implementation, the score network uses 500 difussion steps, it may adds training cost. There is no explanation about how the parameter is selected, and compute/efficiency trade-offs are not analyzed or compared. Sensitivity to T is not reported. For the ablation study, sensitivity to the number of sampled control m, tree depth, and different time embeddings is not discussed. Some figures and table sizes need to be adjusted for better readability.
Questions
Q1. Do you record the average train and inference time between DiffRisk and other baseline models across all datasets (e.g., numebr of parameter, GPU hours)? How's the proposed model sensitivity to the number of diffusion steps T? Q2. "target encoder EMA" mentioned in experimental settings paragraph, how is it used? please explain the archeticture, parameter sharing with main encoder, how's it affect performance. Q3. For the missingness encoder uses per-variable observation rates δ, have you tried whether richer temporal summaries will improves the performance?
Limitations
There are some limitations need to address in this work. First, despite DiffRisk's impressive empirical performance, the research does not examine training or inference efficiency in comparison to other approaches, and the diffusion-based training target adds extra computing complexity. Second, the assessment is restricted to benchmark datasets, and it is still unknown whether the method can be applied to other clinical cohorts or future deployments. Lastly, even if the suggested approach is driven by informative missingness, a more thorough discussion of its efficacy under various missingness mechanisms or significant distribution shifts beyond those assessed in the research would be beneficial.
Formatting concerns
Figure 3 subfigure (a), (b), (c), (d) is too small to read.
3 comments
Rebuttal
We thank the reviewer for the constructive comments. The concerns in the Weaknesses section focus on computational cost, selection and sensitivity of the diffusion-step , EMA encoder, missingness representation, and presentation quality. We address these concerns below. The additional sensitivity analyses reported below (-sweep, EMA momentum, and stop-gradient) were conducted within the response period on the full data of representative tasks under a common controlled training setting. Accordingly, we focus on relative differences within each analysis rather than absolute comparisons with Table 2. The main results in Table 2 remain unchanged.
Q1. Computational efficiency and sensitivity to Table 4 already reports a controlled efficiency comparison on MIMIC-III Mortality. DiffRisk contains 296.7K parameters, trains in 9.3 minutes, requires 0.342 ms/sample at inference, and uses 1.08 GB peak memory. Its training time is comparable to the discriminative SMART baseline (8.6 minutes), whereas diffusion-based imputers such as CSDI and MTSCI require more than 200 minutes of training and approximately 126 ms/sample at inference because they perform iterative reverse sampling. DiffRisk instead uses diffusion as a latent-space training objective for learning conditional score structure rather than as an imputation model. The target encoder and score network are discarded after training, so inference requires only a single forward pass through the encoder, MissEncoder, and classifier; no missing values are synthesized.
The choice does not imply 500 score-network evaluations per sample. At each optimization step, we sample one , construct one noised target representation , and perform one score-network evaluation. Thus, T controls the discretization of the diffusion noise schedule, while the per-step cost remains with respect to T. In controlled single-GPU runs, epoch time remained within 13.5$-$14.5 seconds for , with no systematic increase as T grew.
We selected T=500 as a sufficiently fine discretization of the cosine schedule. To verify that this choice was not narrowly tuned, we evaluated on IHM and Decompensation, where AUPRC varied by less than 0.15% in relative terms on both tasks. This insensitivity concerns only the discretization of the noise schedule, not the necessity of the conditional diffusion score itself.
Q2. EMA target encoder: architecture, parameter sharing, and effect. DiffRisk maintains an online encoder and a target encoder with identical architectures but different roles. The online encoder receives the conditioning view defined by the subset and produces the per-variable CLS conditioning representation , together with the representation used by the classifier. It is optimized through back-propagation and is the only encoder retained at inference. The target encoder receives the full observed input and produces the per-variable CLS target representation used in the diffusion loss. The encoders do not use tied parameters. The target encoder is initialized as a separate copy of the online encoder, excluded from the optimizer, and evaluated without gradient propagation. After each optimizer step, its parameters are updated as , where is annealed from 0.996 to 1.0. Therefore, gradients flow only through the online encoder, while the target encoder acts as a slowly evolving version of the online encoder. This asymmetry provides a stable target representation for the conditional denoising objective. The score network learns to estimate the noise in conditioned on the per-variable CLS representation and the missingness context . Because the target encoder is not updated through the same gradient path, the online encoder cannot directly change both the conditioning representation and its denoising target within one optimization step.
We performed two ablations under the reduced-budget protocol described above. First, varying the EMA update rate had a negligible effect on Cardiology: relative AUPRC differed from the default schedule by at most 0.12% across . These differences were small relative to the observed variation across seeds, indicating that the EMA momentum does not require task-specific tuning. Second, removing stop-gradient and allowing the online encoder to generate trainable target representations reduced the converged diffusion loss by approximately 82%, while Decompensation AUPRC changed by only approximately 1.2%, within the variation across seeds. The diffusion objective therefore became substantially easier without a corresponding improvement in predictive performance. This suggests that, without a fixed gradient path for , the encoder can reduce the denoising loss partly by moving the target representation toward an easier solution rather than by learning stronger conditional structure between and . We therefore use the EMA target encoder to provide stable target representations and preserve a meaningful conditional score-learning objective, rather than as an accuracy-tuning mechanism. The target encoder adds one no-gradient forward pass during training but requires no backward pass or optimizer state. It is discarded after training and therefore introduces no inference-time computation.
Q3. Richer temporal summaries for missingness. As defined in Section 3.1, DiffRisk represents patient-specific missingness using the global observation rate and the per-variable observation-rate vector , where summarizes how frequently variable is observed for patient . The MissEncoder maps to the missingness context embedding . At the same time, the main encoder receives the complete observation mask , together with the observed values and temporal encodings. These inputs serve complementary roles. The full mask preserves the variable-time observation pattern used by the transformer encoder, while preserves which variables were monitored and summarizes their patient-specific monitoring intensity. Thus, temporal missingness information is not replaced by the observation-rate vector; rather, provides an additional patient-level missingness context used by both the classifier and the conditional score network. We adopted this lightweight representation to isolate whether patient-specific variable-level monitoring intensity contributes beyond the complete temporal mask. Richer temporal summaries, such as observation recency, inter-observation intervals, or a learned temporal missingness encoder, could be incorporated into the MissEncoder. However, these would introduce an additional missingness-modeling component and further design choices beyond the present study. We will clarify this rationale and identify richer temporal missingness summaries as an important direction for future work.
Q4. Limitations. We address the three limitations raised by the reviewer. First, training and inference efficiency relative to other approaches is quantified in Q1 above and in Table 4/Appendix I. DiffRisk retains near-discriminative inference cost and avoids the iterative reverse-sampling overhead of diffusion-based imputation models.
Second, Non-ICU Dataset To address the concern that evaluation was limited to ICU benchmarks, we conducted an additional experiment on a non-ICU EHR cohort constructed from the National Inpatient Sample (NIS) (source: dataset documentation).
The cohort includes 97,600 Takotsubo syndrome admissions from general inpatient care between 2006 and 2022, differing from MIMIC-III and PhysioNet in setting and modality. After removing outcome-related variables, identifiers, and diagnosis/procedure strings, each admission contains 134 structured features with approximately 67% missingness, preserved through the observation mask, rather than imputed values. Without architectural changes, DiffRisk achieved 42.92$\pm$2.70 AUPRC and 90.34$\pm$0.54 AUROC versus SMART’s 40.27$\pm$2.18 and 89.35$\pm$0.74 for IHM prediction. We further constructed a longitudinal within-admission representation using procedure-day information, which improved DiffRisk's performance to 53.50$\pm$1.68 AUPRC and 92.06$\pm$0.56 AUROC, compared with SMART’s 50.54$\pm$1.59 AUPRC and 91.45$\pm$0.68 AUROC.
Third Other implementation terms and readability. DiffRisk contains no tree-based component. The parameter in our implementation denotes the EMA target-encoder momentum analyzed above, while the objective weights and are studied in Figs.3(c)/5(a) and Table 5. The score network uses a sinusoidal diffusion-timestep embedding. We kept this implementation choice fixed because timestep-embedding design is not a claimed contribution, and we will state it explicitly in Section 4.1.
We also agree that several visual elements can be improved. We will enlarge the subfigures in Fig. 3 and revise the affected table layouts and font sizes to improve readability.
Together, the existing efficiency comparison and the new analyses show that DiffRisk uses diffusion as an efficient training-time mechanism for learning conditional score structure, does not incur computation proportional to , is not narrowly tuned to a particular schedule resolution or EMA momentum, and uses the EMA target encoder to provide stable target representations for learning meaningful conditional dependencies between and .
Dear reviewer z83e,
We thank you for your valuable feedback and questions. As the author-reviewer discussion period is closing soon, we would like you to kindly check if our responses have fully answered your questions. If you have any remaining questions, concerns, or suggestions, please let us know.
Best Regards,
The Authors
Thanks for the authors' detailed response. I believe the rebuttal strengthens the paper by providing both additional experimental evidence and clearer explanations of the proposed method. The new analyses will need to be incorporated into the final manuscript. I maintain my current assessment and rating.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Meta Review of Submission12164 by Area Chair KCuj
We thank the Area Chair for the thoughtful summary and constructive guidance. To avoid repetition within the rebuttal's space constraints, we organize our response according to the corresponding reviewer comments, where the requested clarifications and additional analyses are provided in detail.
Intent-driven masking and attribution of gains. Addressed in Reviewer gCxW (Comment 1). We clarify that labels are used only for the classification loss and class-level masking prototypes during training; they are never inputs to the encoder, MissEncoder, score network, or classifier, and all prototype/diffusion components are removed at inference. We also provide the requested controls: task-only with the same MissEncoder, label-free masking, RandomObs, removal of the MissEncoder, and a missingness-only predictor. These results separate the effects of label supervision, informative observation patterns, and conditional score learning. The construction of conditioning and target subsets is addressed under Item 3.
Baselines, statistical significance, and splitting. Addressed in Reviewer fKTY (C1: Additional baselines) and Reviewer gCxW (Comment 4). We evaluate all three requested methods, including STraTS, SupNotMIWAE, and MPP-VAE, using the same datasets, preprocessing, metrics, and three-seed protocol. We also report ten matched DiffRisk$-$SMART runs on Cardiology, including a paired two-sided t-test and 95% confidence interval. We confirm that the original MIMIC-III protocol uses admission-level splits and additionally re-run Decompensation with strict patient-grouped splitting; performance does not decrease.
Conditioning/target construction, missingness representation, and notation. Addressed in Reviewer fKTY (C2: Methodological clarifications) and Reviewer z83e (Question 3). Conditioning and target subsets are formed only from observed cells: selected observed cells become auxiliary targets, the remaining observed cells form the context, and naturally missing cells are never denoising targets. The main encoder receives the full variable-time observation mask, while the MissEncoder receives the per-variable observation-rate vector. These capture temporal observation structure and patient-specific monitoring intensity, respectively. Reviewer fKTY's Eqs. (1)−(5) response further clarifies that the expectation is over data and sampled partitions, Eq. (2) imposes the conditional-score constraint, Eq. (3) is its Lagrangian relaxation, and Eq. (5) is the implementable denoising objective.
EMA encoder and architectural components. Addressed in Reviewer z83e (Question 2) and Reviewer gCxW (Comment 2). The online and target encoders are architecturally identical but untied. Only the online encoder is optimized and retained at inference, while the target encoder is updated by EMA and discarded after training. Removing stop-gradient reduces diffusion loss by approximately 82% without predictive improvement, showing that EMA stabilizes the target rather than driving accuracy. Replacing FiLM with additive conditioning changes performance by less than 0.1%, whereas removing structured conditioning causes large degradation. Thus, the key contribution is conditional structure, not FiLM specifically.
Diffusion steps and computational efficiency. Addressed in Reviewer z83e (Question 1) and Reviewer gCxW (Comment2, Diffusion schedule). T=500 does not require 500 network evaluations: one timestep and one score-network evaluation are used per update. Across tested T, AUPRC varies by less than 0.15% relative and epoch time remains nearly unchanged. Table 4 reports 9.3 minutes of training, 0.342 ms/sample inference, and 1.08 GB peak memory, comparable in training time to SMART. Because the target encoder and score network are discarded, inference is a single forward pass without reverse diffusion.
Evaluation beyond ICU benchmarks. Addressed in Reviewer gCxW (Comment 3) and Reviewer z83e (Question 4). We add a non-ICU National Inpatient Sample cohort with 97,600 Takotsubo admissions. Without architectural changes, DiffRisk outperforms SMART, and a procedure-day longitudinal representation further improves performance, supporting generalization beyond ICU physiological time series.
Readability. Addressed in Reviewer z83e (Question 4). We will enlarge Figure 3, revise table layouts and font sizes, and clarify fixed implementation choices.
Overall, the reviewer-specific responses provide the requested controls, baselines, paired analysis, split verification, component ablations, sensitivity analysis, efficiency comparison, methodological clarification, and non-ICU evaluation. Together, they show that the gains arise from jointly modeling observed values, informative observation patterns, and conditional latent structure rather than from label-conditioned masking alone.