TarDiff: Target-Oriented Diffusion Guidance for Synthetic Electronic Health Record Time Series Generation
Bowen DengChang XuHao LiYuhao HuangMin HouJiang Bian
Introduces TarDiff, a diffusion framework that incorporates influence-function gradients into synthetic electronic health record generation to directly maximize downstream clinical model performance instead of merely mimicking observed data distributions.
Clinical machine learning models have become vital for disease diagnosis, prognosis prediction, and treatment planning, yet their development is constrained by medical data scarcity, privacy regulations, and severe class imbalances. While generative models can create synthetic electronic health record time-series data to expand training sets, conventional approaches focus strictly on mimicking real-world data distributions. This traditional focus creates a critical bottleneck: synthetic samples often replicate majority-class patterns while failing to adequately represent rare but life-threatening clinical conditions, leaving downstream diagnostic models vulnerable to diagnostic errors.
The article demonstrates and evaluates TarDiff, a target-oriented diffusion framework that optimizes synthetic time-series generation specifically to improve the performance of downstream clinical prediction tasks. Rather than simply reproducing statistical patterns, the article evaluates whether steering synthetic generation using statistical influence functions—which measure how a generated sample directly reduces predictive error on target outcomes—yields higher clinical utility.
To achieve this, the authors developed a three-stage method that integrates gradient-based influence guidance into a conditional diffusion process. A downstream predictive model is first pre-trained on available data to establish task-specific parameters. Gradient information from a representative guidance set is then computed and cached to quantify how changes in training data affect predictive loss. Finally, these aggregated influence gradients are embedded into the reverse generation process to actively guide time-series generation toward high-utility samples. The framework was evaluated across six benchmark datasets, including large-scale critical care records (MIMIC-III and eICU) and physiological signal datasets covering electrocardiography and electroencephalography (such as APAVA, ADFTD, PTB, and TDBRAIN) for tasks including mortality and length-of-stay predictions.
The findings show that TarDiff consistently establishes state-of-the-art performance across all tested datasets. When predictive models were trained purely on synthetic data and evaluated on real-world test sets, TarDiff outperformed competing generative baselines by up to 20.4% in precision-recall area under the curve and up to 18.4% in receiver operating characteristic area under the curve. When used to augment real datasets, TarDiff delivered sustained performance gains across multiple synthetic-to-real ratios, whereas competing baselines degraded at higher mix levels. Crucially, the approach resolved class imbalances by naturally assigning larger gradient signals to minority cases, doubling the minority-class F1 metric (+93%) on MIMIC-III and boosting it by 44% on eICU compared to training on real data alone. Furthermore, the method added minimal computational overhead, requiring only a one-time gradient caching step lasting between 10 and 168 seconds and achieving faster per-sample diffusion runtime than existing diffusion alternatives.
These results indicate that generative frameworks in healthcare should shift from passive statistical fidelity toward active utility optimization. By prioritizing the reduction of downstream diagnostic errors, synthetic data generation can directly enhance clinical decision support, mitigate the risk of overlooked rare conditions, and facilitate privacy-conscious research collaboration without compromising predictive performance.
Healthcare technology leaders and data science teams should consider piloting influence-guided synthetic data pipelines to expand constrained clinical datasets, particularly in diagnostic workflows hindered by severe class imbalance. Initial deployments should utilize held-out validation data as guidance sets while systematically tuning the influence scaling factor to balance sample diversity against targeted task optimization.
Confidence in these findings is supported by consistent empirical results across diverse clinical modalities and scales. However, stakeholders should note that the approach relies on having an initial representative guidance set to compute accurate influence gradients. Organizations with limited or poorly annotated initial data should exercise caution, as low-quality guidance sets may reduce the accuracy of the steering signals.
- Paper: Loss-Guided Diffusion Models for Plug-and-Play Controllable Generation, Jiaming Song et al. (2023). This paper establishes the foundational framework for guiding diffusion models using arbitrary task loss gradients during reverse sampling, directly underpinning TarDiff's task-specific influence guidance mechanism.
- Paper: Non-autoregressive Conditional Diffusion Models for Time Series Prediction, Lifeng Shen et al. (2023). This work introduces non-autoregressive conditional diffusion architectures for multivariate time series, providing key architectural and sampling concepts for time-series diffusion generation.
- Paper: Time-series Generative Adversarial Networks, Jinsung Yoon et al. (2019). This seminal paper formulates synthetic time-series generation for medical and sequential datasets, establishing standard downstream utility metrics and baseline paradigms that TarDiff seeks to improve.
- Paper: Generating High Fidelity Data from Low-density Regions using Diffusion Models, Vikash Sehwag et al. (2022). This paper details guided sampling techniques in diffusion models to actively steer generation toward underrepresented low-density regions, addressing class imbalance concepts central to TarDiff.
- Paper: TabDDPM: Modelling Tabular Data with Diffusion Models, Akim Kotelnikov et al. (2023). This work explores diffusion probabilistic modeling on mixed structured data and evaluates downstream machine learning utility versus statistical fidelity, a core comparison perspective in TarDiff.
- Paper: Diffusion Models Beat GANs on Image Synthesis, Prafulla Dhariwal et al. (2021). This work introduces gradient-based classifier guidance during the reverse diffusion sampling process, providing the mathematical foundation adapted by influence-guided diffusion methods.
- Paper: Denoising Diffusion Probabilistic Models, Jonathan Ho et al. (2020). This foundational paper establishes the standard formulation of denoising diffusion probabilistic models and reverse denoising trajectories utilized across diffusion-based generative modeling.
No sufficiently relevant recommendations were found.
