Abstract
Generating realistic synthetic tabular time series is a critical challenge for privacy-preserving data sharing in finance and healthcare. This paper introduces TabDiT, a generative framework that leverages Diffusion Transformers to model complex temporal dependencies in heterogeneous tabular data. By decoupling row-level representation from temporal modeling through a "non-holistic" Variational Autoencoder (VAE) and utilizing a novel decimal representation for numerical values, TabDiT achieves state-of-the-art performance. Experimental results across multiple datasets demonstrate that TabDiT significantly outperforms existing autoregressive and GAN-based models in data realism and diversity, particularly in capturing the long-tail distributions of real-world sequences.
1. Introduction
The synthesis of tabular time series data—such as sequences of bank transactions or patient records—is a high-stakes endeavor. Privacy regulations often restrict the sharing of raw datasets, necessitating the creation of high-fidelity synthetic alternatives. However, tabular time series present three unique challenges that traditional generative models struggle to address: heterogeneity (mixed numerical and categorical types), complex temporal dependencies, and variable sequence lengths.
Existing approaches typically rely on Autoregressive (AR) Transformers or Generative Adversarial Networks (GANs). AR models are prone to "mode collapse," where they generate repetitive, average patterns and fail to capture the diversity of the original data. Conversely, standard diffusion models often lack the architecture to handle the temporal dimension of tabular sequences effectively. TabDiT addresses these gaps by combining the strengths of Latent Diffusion Models (LDMs) with a Transformer-based architecture tailored for tabular sequences.
2. Methodology
TabDiT utilizes a Latent Diffusion Model framework specifically adapted for sequential tabular data. The architecture consists of several key innovations designed to handle the specificities of the tabular domain.
2.1 Non-Holistic VAE
To manage the complexity of time series, TabDiT employs a "non-holistic" VAE. Instead of compressing an entire sequence into a single latent vector—a method that scales poorly with sequence length—the VAE compresses individual tabular rows independently. This approach simplifies the learning objective and serves as a form of data augmentation, allowing the subsequent diffusion model to focus exclusively on temporal relationships.
2.2 Diffusion Transformer (DiT)
The core of the generative process is a Transformer-based denoising network. This network is trained to model the relationships between the latent row embeddings over time. By applying the diffusion process in the latent space created by the VAE, the model can capture intricate temporal dynamics and long-term patterns that are often missed by autoregressive models.
2.3 Variable-Range Decimal Representation
Numerical data in tabular sets often spans several orders of magnitude. TabDiT introduces a decimal representation trick to improve numerical accuracy. Numbers are represented as a sequence of tokens starting with a magnitude order prefix (e.g., $10^3$) followed by significant digits. This allows the model to first establish the scale of a value before refining its precision, leading to more stable and accurate numerical generation.
2.4 Sequence Length and Consistency
To handle variable-length sequences, the model is trained to predict a special [EoS] (End of Sequence) padding row. During inference, the generator continues to produce rows until it generates an [EoS] token. Additionally, the VAE includes an autoregressive decoder to ensure that the individual fields within a single generated row remain internally consistent.
3. Experimental Setup
The model was evaluated on six public datasets (Age1, Age2, Leaving, PKDD’99 Financial, Rossmann, and Airbnb) and one large-scale private bank dataset containing approximately 87 million transactions. These datasets represent a mix of financial, retail, and travel data, providing a robust test of the model's versatility and scalability.
4. Results and Discussion
The primary metric for evaluation was Machine Learning Detection (MLD). In this setup, a separate classifier attempts to distinguish between real and synthetic data. A score of 50% indicates that the synthetic data is indistinguishable from the real data.
4.1 Unconditional and Conditional Generation
On the Age2 dataset, TabDiT achieved an MLD score of 50.43%, nearly reaching the theoretical ideal. This significantly outperformed the AR baseline, which scored 67.53%. In conditional generation tasks—where data is generated based on specific parent attributes—TabDiT consistently outperformed established models like REaLTabFormer and SDV across all metrics.
4.2 Scalability and Diversity
TabDiT demonstrated superior scalability, successfully processing the large-scale bank dataset where previous state-of-the-art models failed due to memory constraints. Furthermore, the results confirmed that the diffusion-based approach is superior to autoregression for maintaining data diversity. While AR models tend to generate "safe" sequences, TabDiT effectively captures the "long tails" of the data distribution.
5. Conclusion and Limitations
TabDiT represents a significant advancement in synthetic tabular time series generation by successfully applying Diffusion Transformers to the domain. While the model excels in realism and diversity, it faces limitations regarding the generation of parent profiles in merged tasks and the computational cost associated with diffusion sampling. Future work will focus on optimizing the precision of numerical representations and reducing the compute requirements for high-speed inference.
Summary updated