[Paper Review] Synthetic Event Time Series Health Data Generation
This paper proposes a novel method to generate synthetic longitudinal event time series health data by transforming patient-level sleep event data into cross-sectional time-binned features, then training a GAN to generate realistic synthetic data. The approach preserves temporal patterns and covariate distributions, demonstrating strong univariate and covariate resemblance, though it underestimates variance in high-variance subgroups like adolescents.
Synthetic medical data which preserves privacy while maintaining utility can be used as an alternative to real medical data, which has privacy costs and resource constraints associated with it. At present, most models focus on generating cross-sectional health data which is not necessarily representative of real data. In reality, medical data is longitudinal in nature, with a single patient having multiple health events, non-uniformly distributed throughout their lifetime. These events are influenced by patient covariates such as comorbidities, age group, gender etc. as well as external temporal effects (e.g. flu season). While there exist seminal methods to model time series data, it becomes increasingly challenging to extend these methods to medical event time series data. Due to the complexity of the real data, in which each patient visit is an event, we transform the data by using summary statistics to characterize the events for a fixed set of time intervals, to facilitate analysis and interpretability. We then train a generative adversarial network to generate synthetic data. We demonstrate this approach by generating human sleep patterns, from a publicly available dataset. We empirically evaluate the generated data and show close univariate resemblance between synthetic and real data. However, we also demonstrate how stratification by covariates is required to gain a deeper understanding of synthetic data quality.
Motivation & Objective
- To address the lack of synthetic longitudinal health data that captures temporal event patterns and patient covariates.
- To develop a privacy-preserving, utility-maintaining method for generating synthetic medical time series data without relying on real patient records.
- To enable reproducible, scalable, and cost-free research using synthetic EHR-like data with minimal domain knowledge.
- To empirically evaluate synthetic data quality beyond average statistics, especially across critical covariates like age and day of week.
- To demonstrate that stratified analysis by covariates is essential for assessing the true utility of synthetic health data.
Proposed method
- Transform raw event-level data (e.g., sleep start/end times) into fixed-time-interval summaries (e.g., minutes slept per hour) to create cross-sectional features.
- Use a 30-hour day window (from 4:00 AM to 10:00 AM next day) to standardize temporal alignment across individuals.
- Aggregate sleep duration per hour into 30 features representing a single patient’s daily sleep pattern.
- Append patient-level covariates (age group, gender, day of week, month) to the time-binned sleep features.
- Train a Generative Adversarial Network (GAN) on the transformed cross-sectional data to generate synthetic patient records.
- Evaluate synthetic data using univariate statistics, covariate probability matching, and stratified analysis by age and day of week.
Experimental results
Research questions
- RQ1Can synthetic data generation methods effectively model irregularly spaced medical events while preserving temporal and covariate dependencies?
- RQ2To what extent does the GAN-generated synthetic data resemble real-world sleep patterns in terms of average sleep duration per hour?
- RQ3How well do the synthetic data capture the joint distribution of patient covariates such as age, gender, and day of week?
- RQ4Does the synthetic data preserve meaningful trends in sleep duration across different age groups and days of the week?
- RQ5How does the model perform in capturing high-variance subgroups, such as adolescents with irregular sleep patterns?
Key findings
- The synthetic data closely matches real data in average sleep duration per hour, with minimal deviation across all time intervals.
- Covariate probabilities in the synthetic data (e.g., 48% week days vs. 49% in real data) lie closely along the diagonal, indicating strong matching of marginal distributions.
- The model successfully captures general trends: adolescents (15–24) sleep more than other age groups, especially on weekends, and older adults sleep more than middle-aged adults.
- However, the synthetic data underestimates the average sleep time for teenagers, particularly on weekends, indicating limitations in modeling high-variance subgroups.
- The quantile analysis reveals that the synthetic data fails to capture the high variance in sleep timing among 15–24 year olds, as shown by narrower interquartile ranges compared to real data.
- The study demonstrates that evaluating synthetic data solely by average behavior is insufficient; stratification by critical covariates is essential for assessing utility and quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.