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

HyperNSDE: Personalized Neural SDEs for Joint Static—Longitudinal Clinical Data Generation

Perrine Chassat, Agathe GuillouxNeurIPS 2026

TL;DR

Generating realistic synthetic medical records is one of healthcare AI’s toughest puzzles: you have to simultaneously capture a patient’s baseline demographics, messy and irregularly spaced lab results, and the subtle fact that sicker patients get tested more often. HyperNSDE solves this by using a patient’s static profile to dynamically steer continuous-time stochastic equations—creating rich, believable virtual patient trajectories without needing to encode real patient timelines or pre-impute missing values.

What Problem Does This Paper Address?

Real clinical data is expensive to gather and heavily guarded by privacy laws, making synthetic patient cohorts an attractive alternative for training and benchmarking healthcare models. However, real medical charts aren't neat, ticking clockwork tables. They consist of three tightly tangled pieces:

  1. Static baseline features (age, sex, genetics, prior history).
  2. Irregular longitudinal trajectories (lab values and vitals measured at sporadic, patient-specific intervals).
  3. Informative observation times (doctors order more tests when a patient is crashing—the timing itself is a clinical signal).

Most existing generative models assume regular time steps, ignore static features, or rely on deterministic differential equations (like Neural ODEs) where baseline traits only set the starting point rather than shaping how a disease evolves. Furthermore, real biology is noisy: two identical patients on paper can still follow wildly different paths. Prior continuous-time joint models miss both this intrinsic randomness and informative visit timing.

Methods

To weave these pieces together, the authors introduce HyperNSDE (Hypernetwork Neural Stochastic Differential Equation), a unified, continuous-time generative pipeline.

Figure 1: HyperNSDE generation pipeline. Generating a synthetic subject follows a hierarchi- cal process (Appendix A.3). Static latent representations are sampled from the HI-VAE learned distributions, decoded into synthetic covariates, and passed through the hypernetwork to generate patient-specific SDE parameters. A latent path is then simulated from the personalized Neural SDE and decoded at observation times sampled from the intensity network to produce synthetic irregular longitudinal trajectories. Original longitudinal data are used only at training time via the loss terms, without relying on a longitudinal encoder. Solid arrows denote deterministic computations; dashed arrows denote stochastic steps.

Here is what is standard versus what is new under the hood:

  • Static Representation (Standard): Baseline mixed-type covariates (with missing values) are modeled using a Heterogeneous-Incomplete VAE (HI-VAE), compressing a patient's baseline profile into a compact latent vector.
  • Hypernetwork Personalization (New): Instead of just using that static vector as an initial condition at $t=0$, a hypernetwork takes the patient's baseline vector and generates the actual weights of the Neural SDE's drift network. In plain terms: a patient's baseline characteristics customize the "laws of motion" governing their entire future health trajectory, eliminating the need for a longitudinal trajectory encoder.
  • Informative Visit Timing (Adapted/Extended): An intensity network reads the evolving latent state to govern a multivariate point process—dictating when each lab variable gets measured, plus an explicit "end-of-sequence" hazard for when follow-up ends.
  • Deterministic–Stochastic Decomposition (New): Training a single Neural SDE on sparse, irregular data is notoriously unstable—noise tends to drown out the signal. The authors split the latent trajectory into two parts: a personalized Neural ODE that learns smooth, patient-specific trends (trained via standard MSE), and a population-shared Neural SDE that captures residual biological randomness. This stochastic residual is trained without unstable adversarial games using a signature-kernel score, a mathematical tool from rough path theory naturally suited for comparing irregular, unaligned paths.

Datasets

The authors test HyperNSDE across one controlled simulation and two real-world clinical cohorts:

  • Simulated Dataset: 1,000 synthetic patients ($2$ static features, $3$ longitudinal variables, ~50 visits over horizon $T=7$) governed by fractional Ornstein–Uhlenbeck processes and non-homogeneous Poisson visit times, built specifically to verify if models recover ground-truth static-to-longitudinal dependencies.
  • VELOUR: A Phase III metastatic colorectal cancer trial accessed via Project DataSphere, featuring dense lab and vital sign tracking (26 static covariates, 23 longitudinal variables).
  • PPMI: The Parkinson’s Progression Markers Initiative cohort, tracking clinical scores and vitals over multi-year follow-ups (20 static covariates, 15 longitudinal variables).

Key Insights and Ideas

  • Standard evaluation metrics can be fooled by "too smooth" data: One of the paper's sharpest insights comes from dissecting evaluation benchmarks. Models that output overly smooth, deterministic curves on regular grids score artificially well on correlation error and MSE-based forecasting tasks—even when their trajectories look nothing like noisy, real-world clinical data.
  • Separating trend from noise saves training: Ablating the deterministic–stochastic split causes stochastic noise to overwhelm baseline-driven trends, wrecking downstream utility (prediction MSE jumps from 5.226 to 11.880 in simulations). Giving smooth trends and jagged fluctuations their own mathematical lanes is crucial on sparse grids.
  • Baseline traits belong in the dynamics, not just $t=0$: Letting static data parameterize the vector field via a hypernetwork yields cleaner subgroup separation and lower path-space distributional error than merely conditioning the starting state.

Key Results

Evaluated across fidelity, utility (Train-on-Synthetic, Test-on-Real forecasting), and privacy, HyperNSDE delivers strong, well-rounded performance:

Table 2: Evaluation metrics on simulated and real-world data. ↓lower is better; →0 closer to zero is better (NNAA). Bold is the best result excluding the reference, underlined is second best. Standard deviations across NMC = 30 Monte Carlo runs and Ngen = 50 generated datasets from a single trained model are reported in Table 7 in Appendix F.1.
  • Simulated Data: HyperNSDE achieves the best observation-intensity KL divergence (0.687 vs. 67.616 for MultiNODEs and 2.525 for RTSGAN), best prediction utility (5.226), and a longitudinal Maximum Mean Discrepancy (MMD) of 1.150—16$\times$ lower than RTSGAN (18.427) and >700$\times$ lower than MultiNODEs (816.507). Qualitatively, it is the only model that simultaneously preserves baseline subgroup separation, realistic path jitter, and irregular visit spacing.
  • Real-World Clinical Data: On VELOUR, HyperNSDE achieves a longitudinal MMD of 0.029 (roughly 5$\times$ better than MultiNODEs at 0.144 and >4,000$\times$ better than RTSGAN at 121.596), alongside top privacy (NNAA) scores on both VELOUR (0.010) and PPMI (0.002).
  • The Matched-Grid Reveal: While MultiNODEs initially appears stronger on native-grid correlation RMSE (0.139 vs. 0.239 on VELOUR), re-evaluating MultiNODEs on real irregular observation grids causes its error to spike to 0.940, whereas HyperNSDE stays stable (0.284). Similarly, evaluating a smooth, drift-only version of HyperNSDE on real VELOUR grids drops its forecasting error from 53.514 down to 7.010—confirming that standard MSE utility metrics penalize realistic stochasticity.

Limitations and Future Work

The authors are candid about what remains unsolved:

  • Observational, not causal: HyperNSDE learns observational correlations from its training cohort; it cannot simulate causal counterfactuals (e.g., "what if we switched this patient's drug?") or extrapolate to unrepresented demographics.
  • Compute & data types: Solving SDEs and computing signature kernels makes it more computationally demanding than baselines, and longitudinal outputs currently assume continuous values rather than bounded, integer, or categorical clinical scores.
  • Ready for benchmarking, not yet trial replacement: Discriminative scores remain high (~0.92–1.00) across all tested methods, meaning classifiers can still tell real and synthetic records apart.
  • Next steps: Future directions include making the SDE diffusion (noise) term patient-specific, adding formal differential privacy guarantees, supporting typed longitudinal biomarkers, and—most urgently—designing better evaluation metrics tailored to irregular, stochastic time series.

Summary updated

BibTeX
@inproceedings{chassat2026hypernsde,
  author = {Perrine Chassat and Agathe Guilloux},
  title = {{HyperNSDE: Personalized Neural SDEs for Joint Static—Longitudinal Clinical Data Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LB1dWNecCT},
}
Figure