Abstract
Federated learning is a distributed framework according to which a model is trained over a set of devices, while keeping data localized. This framework faces several systems-oriented challenges which include (i) communication bottleneck since a large number of devices upload their local updates to a parameter server, and (ii) scalability as the federated network consists of millions of devices. In this paper, we present FedPAQ, a communication-efficient Federated Learning method with Periodic Averaging and Quantization. FedPAQ relies on three key features: (1) periodic averaging where models are updated locally at devices and only periodically averaged at the server; (2) partial device participation where only a fraction of devices participate in each round of the training; and (3) quantized message-passing where the edge nodes quantize their updates before uploading to the parameter server. We also show that FedPAQ achieves near-optimal theoretical guarantees for strongly convex and non-convex loss functions and empirically demonstrate the communication-computation tradeoff provided by our method.
Introduction
Federated Learning (FL) enables training machine learning models on data stored across millions of edge devices—such as smartphones or IoT sensors—without centralizing the raw data. While this approach preserves privacy, it introduces two major systems hurdles. First, the communication bottleneck: modern models contain millions of parameters, and simultaneous uploads from many devices can saturate network bandwidth. Second, scalability and availability: it is unrealistic to expect millions of devices to be online and ready to train simultaneously.
Existing methods like FedAvg address periodic updates but often lack rigorous theoretical guarantees or fail to account for the actual size of the transmitted messages. FedPAQ addresses these gaps by providing a provably efficient method that optimizes communication frequency, network scale, and message size simultaneously.
The FedPAQ Framework
FedPAQ (Federated Learning with Periodic Averaging and Quantization) integrates three primary efficiency modules to reduce the communication gap:
- Periodic Averaging: Instead of communicating after every step, devices perform $\tau$ local iterations of Stochastic Gradient Descent (SGD), reducing the frequency of updates.
- Partial Participation: In each round, the server randomly selects a subset $r$ of the total devices, ensuring the system remains robust even when many devices are offline.
- Quantized Message Passing: Local updates are quantized to lower precision before upload, drastically reducing the number of bits sent per message.
A key theoretical contribution of this work is handling the "bias challenge." When devices train locally for multiple steps ($\tau > 1$), they drift toward local optima. FedPAQ proves that if the number of local steps is kept within $o(\sqrt{T})$, the model still converges to the global optimum without requiring the unrealistic assumption of uniformly bounded gradients.
Empirical Results
The researchers evaluated FedPAQ on MNIST (logistic regression) and CIFAR-10 (a 92,000-parameter neural network). The experiments focused on the trade-offs between local computation and communication costs.
Key Findings:
- Theoretical Optimality: For strongly convex functions, FedPAQ achieves a convergence rate of $O(1/T)$, and $O(1/\sqrt{T})$ for non-convex functions, matching the gold standards of stochastic optimization.
- Efficiency Gains: On CIFAR-10, FedPAQ reached lower training losses significantly faster than FedAvg (which lacks quantization) and QSGD (which lacks periodic averaging) in bandwidth-constrained environments.
- Quantization Impact: Theory and experiments suggest that aggressive quantization is nearly "free" in terms of final accuracy, though it may introduce more noise in early training stages.
- Optimal Local Steps: While increasing $\tau$ (local work) speeds up initial training, excessively high values can lead to lower final accuracy. A moderate value (e.g., $\tau=10$) typically offers the best balance between computation and communication.
Conclusion and Future Work
FedPAQ demonstrates that combining periodic averaging with quantization and partial participation provides a robust framework for scalable federated learning. While the current analysis assumes Independent and Identically Distributed (IID) data, future work will focus on extending these proofs to non-IID settings. Additionally, exploring adaptive hyperparameters for $\tau$ and quantization levels could further optimize performance as the model nears convergence.
Summary updated