TarDiff: Target-Oriented Diffusion Guidance for Synthetic Electronic Health Record Time Series Generation
Bowen Deng, Chang Xu, Hao Li, Yuhao Huang, Min Hou, Jiang Bian
TL;DR
TarDiff tackles the challenge of generating synthetic EHR time series that are not only realistic but also maximally useful for downstream clinical tasks. It introduces an influence-guided diffusion framework that quantifies expected performance gains via influence functions and embeds this signal into the reverse diffusion process to produce task-optimized data. The method combines a pre-trained downstream model, gradient-based influence estimation, and diffusion sampling guided by this influence to yield high-utility synthetic sequences. Across six public datasets, TarDiff achieves state-of-the-art improvements, including up to $20.4\%$ in AUPRC and $18.4\%$ in AUROC, and demonstrates strong performance under class imbalance and varying data scarcity. This approach offers a practical pathway to augment healthcare data with privacy-preserving, task-tailored synthetic time series that boost clinical predictive performance.
Abstract
Synthetic Electronic Health Record (EHR) time-series generation is crucial for advancing clinical machine learning models, as it helps address data scarcity by providing more training data. However, most existing approaches focus primarily on replicating statistical distributions and temporal dependencies of real-world data. We argue that fidelity to observed data alone does not guarantee better model performance, as common patterns may dominate, limiting the representation of rare but important conditions. This highlights the need for generate synthetic samples to improve performance of specific clinical models to fulfill their target outcomes. To address this, we propose TarDiff, a novel target-oriented diffusion framework that integrates task-specific influence guidance into the synthetic data generation process. Unlike conventional approaches that mimic training data distributions, TarDiff optimizes synthetic samples by quantifying their expected contribution to improving downstream model performance through influence functions. Specifically, we measure the reduction in task-specific loss induced by synthetic samples and embed this influence gradient into the reverse diffusion process, thereby steering the generation towards utility-optimized data. Evaluated on six publicly available EHR datasets, TarDiff achieves state-of-the-art performance, outperforming existing methods by up to 20.4% in AUPRC and 18.4% in AUROC. Our results demonstrate that TarDiff not only preserves temporal fidelity but also enhances downstream model performance, offering a robust solution to data scarcity and class imbalance in healthcare analytics.
