In the world of data science, we often face a catch-22: we need high-quality data to build robust models, but that data is often too sensitive to share or centralize due to privacy regulations like GDPR. Synthetic Data Generation (SDG) offers a way out by creating artificial datasets that mimic the statistical properties of the real thing without exposing individuals.
While centralized SDG is well-studied, the real world is often federated—data lives on thousands of separate devices (phones, hospital servers, etc.) and cannot be moved. At KDD '24, researchers from the University of Warwick and Meta AI introduced FLAIM, a new framework that brings state-of-the-art synthetic data generation to these challenging federated environments.
TL;DR
FLAIM adapts the state-of-the-art AIM algorithm for federated settings, allowing thousands of clients to collaboratively generate high-utility synthetic tabular data under Differential Privacy. By using a clever "heterogeneity proxy" to account for data skew across clients, FLAIM matches the accuracy of heavy cryptographic methods while reducing communication overhead by up to 1,300x.
What Problem Does This Paper Address?
Most high-performing synthetic data tools assume a "trusted curator" model—you send all your raw data to one server, and it generates the synthetic version. In a federated setting, this is a non-starter.
Previous attempts to decentralize this process relied on Secure Multi-Party Computation (SMC). While secure, SMC is computationally "heavy" and requires clients to be constantly online and synchronized. Furthermore, federated data is notoriously heterogeneous (non-IID); the data on my phone looks very different from the data on yours. If you naively apply centralized algorithms to federated data, the "noise" from this data skew destroys the utility of the resulting synthetic dataset.
Methods
The authors build upon AIM (An Adaptive and Iterative Mechanism), which currently holds the crown for centralized tabular SDG. AIM works in a "Select-Measure-Generate" loop: it iteratively selects the most "useful" statistical marginals (counts of feature combinations), measures them with noise, and updates a graphical model.
The paper introduces three variations:
- DistAIM: A direct translation of AIM into a distributed setting using SMC. It’s accurate but has massive communication costs.
- NaiveFLAIM: A standard Federated Learning approach where clients perform local AIM steps. This fails miserably when data is skewed across clients.
- AugFLAIM (The "Aha!" Moment): To fix the skew problem, the authors introduce a private proxy of heterogeneity. Clients estimate how much their local data differs from the global average (using noisy 1-way marginals) and use this to "penalize" their local selections. This prevents the model from over-fitting to the quirks of a few specific clients.
Datasets
The researchers evaluated their methods on seven realistic tabular benchmarks:
- UCI Classics: Adult (Census), Magic (Gamma Telescope), Marketing (Bank), and Covtype (Forest cover).
- Synthetic Data Vault (SDV): Census and Intrusion (Network logs).
- Financial: Credit (Fraud detection).
- SynthFS: A newly introduced synthetic benchmark specifically designed to test how algorithms handle varying degrees of feature skew (controlled via a Zipfian distribution).
Key Insights and Ideas
- The Heterogeneity Trap: In federated settings, a client might select a specific data marginal not because it's globally important, but because it's an outlier in their local dataset. This "drift" accumulates, leading to poor global models.
- Statistical Models > Deep Learning: For tabular data, the authors show that statistical/graphical models (like FLAIM) significantly outperform federated deep learning approaches like DP-CTGAN. FLAIM is easier to tune, requires fewer rounds, and produces better utility.
- Communication is the Bottleneck: In federated learning, sending megabytes of data per round is a dealbreaker. By moving away from full SMC to a "SecAgg" (Secure Aggregation) approach with local updates, FLAIM makes federated SDG practical for low-bandwidth devices.
Key Results
- Utility Parity: AugFLAIM (Private) achieved utility scores (measured by workload error and Negative Log-Likelihood) nearly identical to the heavy-duty DistAIM.
- Massive Efficiency Gains: On the Adult dataset, DistAIM required 1,300x more client throughput (80MB vs 0.06MB) than FLAIM to reach optimal performance.
- Robustness to Skew: In experiments with high data heterogeneity (small $\beta$ values), NaiveFLAIM's error spiked, while AugFLAIM remained stable, effectively "filtering out" the noise caused by local data bias.
Limitations and Future Work
While FLAIM is a leap forward, the authors note a few areas for growth:
- Example-level vs. User-level Privacy: The current work focuses on example-level Differential Privacy (protecting one row). In many federated scenarios, user-level DP (protecting all data from one person) is the gold standard, which requires further investigation.
- High-Dimensionality: Like all marginal-based methods, FLAIM can struggle if the number of features becomes extremely large (thousands of columns), as the search space for "useful" marginals explodes.
- Adaptive Round Selection: The paper suggests that choosing the number of global rounds ($T$) adaptively is still tricky in federated settings compared to the centralized "budget annealing" used in AIM.
Paper Citation: Samuel Maddock, Graham Cormode, and Carsten Maple.
- FLAIM: AIM-based Synthetic Data Generation in the Federated Setting. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’24). arXiv:2310.03447
Summary updated