Privately Fine-Tuned LLMs Preserve Temporal Dynamics in Tabular Data
Lucas Rosenblatt, Peihan Liu, Ryan McKenna, Natalia Ponomareva
TL;DR
The paper addresses preserving temporal dynamics in differentially private synthetic data for longitudinal tabular records by redefining the privacy unit from individual rows to full user tables. It introduces PATH, a framework that fine-tunes large language models under DP-SGD to autoregressively generate entire user trajectories via a serialization schema, followed by private selection to form a high-utility synthetic corpus. A novel TDCR metric and a comprehensive suite of temporal and distributional evaluations show PATH outperforms marginal-based baselines and non-private prompting in capturing long-range dependencies, state transitions, and manifold coverage across medical, civic, and synthetic datasets. The work demonstrates that private, autoregressive activation of LLMs can yield high-fidelity, temporally coherent synthetic data, enabling safer sharing of sensitive longitudinal records at varying privacy budgets.
Abstract
Research on differentially private synthetic tabular data has largely focused on independent and identically distributed rows where each record corresponds to a unique individual. This perspective neglects the temporal complexity in longitudinal datasets, such as electronic health records, where a user contributes an entire (sub) table of sequential events. While practitioners might attempt to model such data by flattening user histories into high-dimensional vectors for use with standard marginal-based mechanisms, we demonstrate that this strategy is insufficient. Flattening fails to preserve temporal coherence even when it maintains valid marginal distributions. We introduce PATH, a novel generative framework that treats the full table as the unit of synthesis and leverages the autoregressive capabilities of privately fine-tuned large language models. Extensive evaluations show that PATH effectively captures long-range dependencies that traditional methods miss. Empirically, our method reduces the distributional distance to real trajectories by over 60% and reduces state transition errors by nearly 50% compared to leading marginal mechanisms while achieving similar marginal fidelity.
