Skip to main content
QUICK REVIEW

[Paper Review] FedSynth: Gradient Compression via Synthetic Data in Federated Learning

Shengyuan Hu, Jack Goetz|arXiv (Cornell University)|Apr 4, 2022
Privacy-Preserving Technologies in DataComputer Science18 citations
TL;DR

FedSynth proposes a novel communication-efficient federated learning method that replaces gradient updates with lightweight synthetic data batches, enabling clients to transmit compact synthetic data instead of full model updates. Empirically, FedSynth achieves higher or comparable test accuracy than random masking baselines across FEMNIST, MNIST, and Reddit benchmarks, especially under low compression rates.

ABSTRACT

Model compression is important in federated learning (FL) with large models to reduce communication cost. Prior works have been focusing on sparsification based compression that could desparately affect the global model accuracy. In this work, we propose a new scheme for upstream communication where instead of transmitting the model update, each client learns and transmits a light-weight synthetic dataset such that using it as the training data, the model performs similarly well on the real training data. The server will recover the local model update via the synthetic data and apply standard aggregation. We then provide a new algorithm FedSynth to learn the synthetic data locally. Empirically, we find our method is comparable/better than random masking baselines in all three common federated learning benchmark datasets.

Motivation & Objective

  • Address the high communication cost in federated learning caused by transmitting large model updates, especially for large-scale models.
  • Overcome the accuracy degradation common in sparsification-based compression techniques like random masking and quantization.
  • Develop a communication-efficient framework where clients transmit synthetic data instead of model gradients to preserve model utility.
  • Enable effective model update recovery on the server using only synthetic data generated locally by clients.
  • Provide a generalizable algorithm compatible with existing federated learning frameworks such as FedAvg.

Proposed method

  • Each client generates a small, optimized synthetic dataset that, when used to train the local model, produces performance comparable to training on the client's real data.
  • The synthetic data is learned via an objective that minimizes the difference between the model trained on synthetic data and the model trained on real data, using gradient-based optimization.
  • The server reconstructs the local model update by training on the received synthetic data, enabling standard aggregation without direct model parameter transmission.
  • The method supports both fixed-label and trainable-label synthetic data generation, with the latter allowing more expressive data optimization.
  • The algorithm is designed to be compatible with standard federated learning pipelines, particularly FedAvg, and can be applied with minimal changes to existing systems.
  • Clients split synthetic data into multiple small batches to improve optimization stability and performance, with empirical results showing that more, smaller batches yield better results.

Experimental results

Research questions

  • RQ1Can synthetic data be used as a communication-efficient alternative to model gradient transmission in federated learning?
  • RQ2How does the performance of synthetic data-based compression compare to traditional sparsification methods like random masking under varying compression rates?
  • RQ3What is the impact of synthetic data batch size and number of batches on model utility and convergence?
  • RQ4Does allowing trainable labels in synthetic data generation improve performance compared to fixed-label generation?
  • RQ5Can the proposed method maintain high model accuracy while significantly reducing upstream communication costs in real-world federated benchmarks?

Key findings

  • FedSynth outperforms random masking across all three benchmark datasets—FEMNIST, MNIST, and Reddit—especially at low compression rates, achieving higher test accuracy.
  • On the Reddit next-word prediction task, FedSynth achieved 8.86% test accuracy at 1.3x compression, outperforming random masking (8.20%) and demonstrating robustness in high-sensitivity tasks.
  • With 10 synthetic batches of size 5, FedSynth achieved 67.92% test accuracy on FEMNIST, significantly outperforming a single large batch (11.87%) and showing the benefit of small-batch optimization.
  • Using 20 batches of size 1 on FEMNIST, FedSynth achieved 62.37% accuracy, demonstrating that higher batch count improves performance even with minimal data per batch.
  • The method with trainable labels did not always outperform fixed-label versions; for example, on FEMNIST, fixed-label synthetic data achieved 68.63% vs. 62.37% with trainable labels under similar settings.
  • At 11.6x compression, FedSynth achieved 63.27% accuracy on FEMNIST, while random masking dropped to 67.34%, showing FedSynth's superiority under high compression.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.