Fed-TGAN: Federated Learning Framework for Synthesizing Tabular Data

Zilong Zhao, Robert Birke, Aditya Kunar, Lydia Y. Chen · OpenReview

Abstract

Generative Adversarial Networks (GANs) are typically trained to synthesize data, from images and more recently tabular data, under the assumption of directly accessible training data. Recently, federated learning (FL) is an emerging paradigm that features decentralized learning on client's local data with a privacy-preserving capability. And, while learning GANs to synthesize images on FL systems has just been demonstrated, it is unknown if GANs for tabular data can be learned from decentralized data sources. Moreover, it remains unclear which distributed architecture suits them best. Different from image GANs, state-of-the-art tabular GANs require prior knowledge on the data distribution of each (discrete and continuous) column to agree on a common encoding -- risking privacy guarantees. In this paper, we propose Fed-TGAN, the first Federated learning framework for Tabular GANs. To effectively learn a complex tabular GAN on non-identical participants, Fed-TGAN designs two novel features: (i) a privacy-preserving multi-source feature encoding for model initialization; and (ii) table similarity aware weighting strategies to aggregate local models for countering data skew. We extensively evaluate the proposed Fed-TGAN against variants of decentralized learning architectures on four widely used datasets. Results show that Fed-TGAN accelerates training time per epoch up to 200% compared to the alternative architectures, for both IID and Non-IID data. Overall, Fed-TGAN not only stabilizes the training loss, but also achieves better similarity between generated and original data.

Introduction

Generative Adversarial Networks (GANs) are powerful tools for creating synthetic datasets that mirror the statistical properties of real data, which is invaluable for sharing data in regulated industries like healthcare or finance. However, GANs typically require a centralized pool of data to train effectively. In the real world, data is often "siloed" across different organizations that cannot share raw records due to privacy laws like GDPR. While Federated Learning (FL) allows models to be trained locally on clients and aggregated centrally, applying it to tabular data is uniquely difficult.

Distributed Architectures for GANs

Unlike image-based GANs, tabular GANs require specific encoding (like one-hot encoding for categories or Gaussian mixtures for continuous variables) that depends on the global distribution of the data. If clients have non-identical data distributions (Non-IID), they cannot easily agree on a common model structure without potentially leaking private information. The paper explores different distributed architectures to address this.

Comparison of GAN architectures: (a) Centralized GAN, (b) Multi-Discriminator structure, and (c) Federated Learning structure.

The Fed-TGAN Framework

The authors propose Fed-TGAN, which adapts the popular CTGAN architecture into a federated environment using two primary innovations:

  1. Privacy-Preserving Multi-Source Feature Encoding: Before training, clients send local statistical metadata (category frequencies and Variational Gaussian Mixture parameters) to a central federator. The federator aggregates these to create a "global encoder." This ensures every client uses the same input/output layer structure without ever seeing each other's raw data. As shown in the initialization experiments, having a more complete view of the global distribution significantly improves the fidelity of the synthesized data.
Comparison of data distributions: Original data vs. Server data and the impact of 1% vs 100% initialization on the synthesized distribution.
  1. Table-Similarity Aware Weighting: Standard FL often aggregates models by weighting them based on sample counts. Fed-TGAN introduces a "similarity score" using Jensen-Shannon Divergence (JSD) for categorical data and Wasserstein Distance (WD) for continuous data. Clients with more representative data are given higher weights during model aggregation to prevent data skew from degrading the global model.

Key Results and Insights

Fed-TGAN was evaluated on four benchmarks: Adult, Covertype, Credit, and Intrusion datasets. Key findings include:

  • Efficiency: Fed-TGAN reduces training time per epoch by up to 200% compared to Multi-Discriminator (MD-GAN) architectures by keeping heavy computations local and reducing communication overhead.
  • Statistical Fidelity: Synthetic data produced by Fed-TGAN achieved lower Avg-JSD and Avg-WD scores than baselines, indicating higher statistical similarity to the ground truth.
  • Machine Learning Utility: Downstream classifiers trained on Fed-TGAN's synthetic data performed nearly as well as those trained on real data, outperforming other decentralized methods.
  • Robustness: The similarity-aware weighting strategy makes the framework resilient to data skew, remaining stable even when some clients provide unrepresentative or "bad" data.

Conclusion

Fed-TGAN represents a significant step forward in privacy-preserving data synthesis. By solving the "structural agreement" challenge through privacy-preserving initialization and addressing data skew with similarity-aware weighting, it enables the generation of high-quality synthetic tabular data from decentralized silos. Future work may involve integrating Differential Privacy to further harden the framework against inference attacks.

Summary updated

BibTeX
@misc{zhao2021fed,
  author = {Zilong Zhao and Robert Birke and Aditya Kunar and Lydia Y. Chen},
  title = {{Fed-TGAN: Federated Learning Framework for Synthesizing Tabular Data}},
  year = {2021},
  eprint = {2108.07927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.07927},
}
Figure