Communication-efficient Federated Learning with Single-Step Synthetic Features Compressor for Faster Convergence

Yuhao Zhou, Mingjia Shi, Yuanxi Li, Yanan Sun, Qing Ye, Jiancheng Lv

Abstract

Federated Learning (FL) is often hindered by the substantial communication overhead required to synchronize model parameters across distributed clients. While sparsification and quantization techniques mitigate this, they frequently compromise convergence rates. This paper introduces the Single-Step Synthetic Features Compressor (3SFC), a novel compression framework that transmits a compact synthetic dataset instead of raw gradient vectors. By utilizing a single-step optimization objective based on cosine similarity and incorporating error feedback, 3SFC achieves communication reduction of up to 3600x while maintaining faster convergence than existing state-of-the-art methods.

1. Introduction

Federated Learning (FL) enables collaborative model training on decentralized data residing on edge devices. However, the frequent exchange of high-dimensional model updates between clients and a central server creates a massive communication bottleneck, especially in bandwidth-constrained environments. Traditional compression methods, such as sparsification (sending only top-k gradients) and quantization (reducing bit precision), often lead to a "convergence penalty," requiring more training rounds to reach target accuracy.

Recent attempts to use data distillation—where clients send synthetic samples that represent the gradient—have faced challenges regarding computational complexity and numerical instability, often leading to "gradient explosion." This paper proposes 3SFC to address these limitations through a stable, single-step synthetic feature generation process.

2. The 3SFC Methodology

The core of 3SFC lies in its ability to "encode" large gradient updates into a minimal set of synthetic features.

2.1 Synthetic Feature Construction and Optimization

Instead of transmitting the full gradient vector, the client optimizes a small synthetic dataset (often a single sample). When this synthetic data is processed by the current model, it produces a gradient that approximates the true gradient of the client's local data.

Crucially, 3SFC employs a Single-Step Similarity Objective. Unlike previous multi-step distillation methods that are prone to instability, 3SFC optimizes the synthetic data in a single step to maximize the cosine similarity between the synthetic gradient and the real gradient. By focusing on the direction of the update rather than its absolute magnitude, the method achieves significantly higher stability and avoids the "collapse" seen in prior work.

2.2 Error Feedback (EF)

To mitigate the information loss inherent in extreme compression, 3SFC integrates an Error Feedback mechanism. The difference between the actual gradient and the reconstructed (compressed) gradient is stored locally on the client. This "residual" is added to the gradient of the subsequent round, ensuring that important updates are eventually communicated to the server rather than being discarded.

2.3 Encoder/Decoder Architecture

The communication protocol is structured as an encoder-decoder system:

  • Encoder (Client): Transforms the local gradient into synthetic features and a scaling coefficient.
  • Decoder (Server): Reconstructs the update by passing the received synthetic features through the global model.

3. Experimental Setup

The effectiveness of 3SFC was evaluated across five image recognition benchmarks: MNIST, Fashion-MNIST (FMNIST), EMNIST, CIFAR-10, and CIFAR-100.

To simulate realistic federated environments, the researchers utilized a Dirichlet distribution to partition data among clients. This creates a non-i.i.d. (independent and identically distributed) setting where clients possess heterogeneous data distributions, posing a significant challenge for standard FL algorithms.

4. Results and Discussion

4.1 Convergence and Accuracy

In comparative tests on CIFAR-10 and CIFAR-100, 3SFC demonstrated superior convergence rates. When compared to Deep Gradient Compression (DGC) and Sparse Ternary Compression (STC) under identical communication budgets, 3SFC reached higher accuracy levels in fewer rounds.

4.2 Extreme Compression Ratios

For complex architectures like ResNet and RegNet, 3SFC achieved compression ratios exceeding 3500x (reducing the update to approximately 0.02% of its original size). Despite this drastic reduction, the model's final accuracy remained comparable to uncompressed baseline training.

4.3 Information Density

Analysis of the "information density" per byte transmitted revealed that 3SFC carries more relevant optimization information than traditional sparsification. This efficiency suggests that synthetic features are a more potent representation of model updates than raw, sparse gradients.

5. Limitations and Future Directions

While 3SFC offers a significant leap in communication efficiency, it introduces certain constraints:

  • Architectural Sensitivity: The current implementation requires the removal of stochastic or non-trainable layers, such as Batch Normalization and Dropout, which can interfere with the distillation process.
  • Client-Side Computation: The generation of synthetic features requires an additional optimization step on the client device. While lightweight, this may still be a factor for extremely resource-constrained IoT hardware.
  • Domain Expansion: The study focused on image classification. Future research is needed to validate the efficacy of synthetic feature compression in domains like Natural Language Processing (NLP) or Reinforcement Learning.

6. Conclusion

The Single-Step Synthetic Features Compressor (3SFC) represents a paradigm shift in FL communication. By decoupling communication costs from model size and focusing on directional similarity, 3SFC enables massive compression without the typical convergence trade-offs, paving the way for more efficient and scalable federated training.

Summary updated

BibTeX
@inproceedings{zhou2023communication,
  author = {Yuhao Zhou and Mingjia Shi and Yuanxi Li and Yanan Sun and Qing Ye and Jiancheng Lv},
  title = {{Communication-efficient Federated Learning with Single-Step Synthetic Features Compressor for Faster Convergence}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure