Evaluation metrics for temporal preservation in synthetic longitudinal patient data

Perkonoja, Katariina, Movahedi, Parisa, Airola, Antti, Auranen, Kari, Virta, Joni

–arXiv.org Artificial Intelligence 

This study introduces a set of metrics for evaluating temporal preservation in synthetic longitudinal patient data, defined as artificially generated data that mimic real patients' repeated measurements over time. The proposed metrics assess how synthetic data reproduces key temporal characteristics, categorized into marginal, covariance, individual-level and measurement structures. We show that strong marginallevel resemblance may conceal distortions in covariance and disruptions in individuallevel trajectories. Temporal preservation is influenced by factors such as original data quality, measurement frequency, and preprocessing strategies, including binning, variable encoding and precision. Variables with sparse or highly irregular measurement times provide limited information for learning temporal dependencies, resulting in reduced resemblance between the synthetic and original data. No single metric adequately captures temporal preservation; instead, a multidimensional evaluation across all characteristics provides a more comprehensive assessment of synthetic data quality. Overall, the proposed metrics clarify how and why temporal structures are preserved or degraded, enabling more reliable evaluation and improvement of generative models and supporting the creation of temporally realistic synthetic longitudinal patient data. Corresponding author 1. Introduction Electronic health records (EHRs) serve as the primary repository for contemporary patient data, storing treatment-related information across various health information systems. EHRs include diverse data types such as clinical notes, laboratory results, vital signs, imaging, and signal data. Among the various types of EHR-derived data, longitudinal patient data (LPD), i.e., structured tabular data that combines both static variables (e.g., patient demographics) and time-varying variables (i.e., repeated within-patient measurements), holds a great potential by providing a time-sequenced view of patient health. While primarily used for patient care, EHR-derived data are increasinly leveraged by hospitals and healthcare providers for secondary purposes, such as research, development, and innovation, as well as education.