Intermittent Pulling with Local Compensation for Communication-Efficient Federated Learning

Haozhao Wang, Zhihao Qu, Song Guo, Xin Gao, Ruixuan Li, Baoliu YearXiv 2020

Abstract

Federated Learning (FL) enables the training of machine learning models across decentralized edge devices while maintaining data privacy. However, the high communication overhead associated with frequent model synchronization remains a significant bottleneck. This paper presents Pulling Reduction with Local Compensation (PRLC), a novel communication-efficient algorithm that reduces the frequency of global model "pulling" operations. By combining intermittent pulling with a local compensation mechanism, PRLC achieves up to a 50% reduction in communication overhead compared to state-of-the-art methods while maintaining the convergence guarantees of standard synchronous Stochastic Gradient Descent (SGD).

1. Introduction

Federated Learning has emerged as a critical paradigm for training models on sensitive data distributed across millions of devices, such as smartphones or IoT sensors. The standard approach typically relies on distributed Stochastic Gradient Descent (SGD), where workers compute local gradients, "push" them to a central server, and "pull" the updated global model back.

As model architectures grow in complexity, the constant pulling of large parameter sets becomes a primary bottleneck, particularly for devices with limited bandwidth or power. While previous efforts like Lazily Aggregated Gradient (LAG) attempted to mitigate this, they were primarily optimized for Batch Gradient Descent and often struggle with the high variance inherent in stochastic settings. PRLC addresses these challenges by allowing workers to skip pulling operations without losing synchronization accuracy.

2. The PRLC Framework

PRLC introduces two primary innovations to the standard FL workflow:

2.1 Intermittent Pulling

In PRLC, workers do not pull the global model in every iteration. Instead, each worker decides whether to pull the model based on a specific probability $r$. This probabilistic approach ensures that, on average, the communication load is significantly reduced, though it results in workers occasionally operating on "stale" versions of the global model.

2.2 Local Compensation

To mitigate the error introduced by model staleness, PRLC employs a Local Compensation mechanism. When a worker skips a pull, it applies its own local gradient update to its local model copy. The underlying intuition is that a worker’s local update serves as a viable proxy for the collective average update of all workers. By applying this compensation, the local model remains closer to the true global trajectory than a purely stagnant model would, effectively "filling the gaps" between synchronization events.

3. Theoretical Analysis

The authors provide a rigorous theoretical foundation for PRLC, demonstrating that it preserves the linear speedup property—a vital characteristic for large-scale systems where training time should decrease linearly as more nodes are added. Furthermore, the paper proves that PRLC achieves the same asymptotic convergence rate as classical synchronous SGD for both strongly-convex and non-convex optimization problems. Notably, unlike Asynchronous SGD (ASGD), where performance often degrades as the number of workers increases due to extreme staleness, PRLC’s error terms actually decay as the number of workers ($P$) grows, making it highly scalable.

4. Experimental Evaluation

4.1 Setup

The researchers evaluated PRLC using the CIFAR-10 dataset across two distinct model architectures:

  • Logistic Regression (LR): To test performance on convex optimization.
  • ResNet18: To evaluate the algorithm on complex, non-convex deep learning tasks.

4.2 Results

Experimental results confirm the efficiency of the PRLC approach:

  • Communication Efficiency: PRLC required only half the pulling operations of the LAG method to reach the same level of convergence.
  • Wall-Clock Time: In simulations of bandwidth-constrained edge environments, PRLC outperformed ASGD by approximately 30% in total training time.
  • Convergence Parity: Despite the reduced synchronization, PRLC eventually reached the same loss floor as Naive SGD, proving that communication efficiency does not come at the cost of final model accuracy.

5. Conclusion and Future Work

PRLC offers a robust solution to the communication bottleneck in Federated Learning by intelligently approximating global updates through local compensation. While the current framework demonstrates significant gains, it currently assumes Independent and Identically Distributed (IID) data across workers. In many real-world FL scenarios, data is highly non-IID, which introduces additional variance. Future research will focus on refining the local compensation mechanism to maintain stability and efficiency in these heterogeneous data environments.

Summary updated

BibTeX
@misc{wang2020intermittent,
  author = {Haozhao Wang and Zhihao Qu and Song Guo and Xin Gao and Ruixuan Li and Baoliu Ye},
  title = {{Intermittent Pulling with Local Compensation for Communication-Efficient Federated Learning}},
  year = {2020},
  eprint = {2001.08277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.08277},
}
Figure