Training time minimization for federated edge learning with optimized gradient quantization and bandwidth allocation

Peixi Liu, Jiamo Jiang, Guangxu Zhu, Lei Cheng, Wei Jiang, Wu Luo, Ying Du, Zhiqin Wang

Abstract

Federated Edge Learning (FEEL) enables collaborative model training across distributed edge devices while preserving data privacy. However, the "wall-clock time" required for convergence is often hindered by communication overhead and device heterogeneity. This paper addresses these challenges by jointly optimizing gradient quantization levels and wireless bandwidth allocation. We propose a novel data-driven fitting method to bridge the gap between theoretical convergence bounds and practical training performance. By formulating a non-convex optimization problem and solving it via alternating optimization, we minimize the total training time, balancing the trade-off between fast individual rounds and the total number of rounds required for convergence.

Introduction

Federated Edge Learning (FEEL) allows devices like smartphones and IoT sensors to train a shared model without sharing raw data. Despite its privacy benefits, FEEL faces two primary bottlenecks: high-dimensional gradient uploads over limited wireless bandwidth and "laggard" devices with slow computation capabilities that delay synchronous updates.

Overview of the quantized Federated Edge Learning (FEEL) process.

To mitigate these, engineers often use quantization to compress gradients. However, aggressive quantization introduces noise, which can increase the total number of communication rounds needed for the model to converge. This paper seeks the "Goldilocks" zone—the optimal balance of quantization and resource allocation to minimize total wall-clock training time.

Methods

The authors model total training time as the product of the number of communication rounds and the per-round latency. As shown in the timing diagram below, the round duration $T_d$ is determined by the slowest device in the fleet.

Timing diagram of a single FEEL training round across heterogeneous devices.

To minimize this latency, the proposed approach involves three key steps:

  1. Convergence Analysis & Fitting: The authors derive a theoretical upper bound for the optimality gap in quantized FEEL. To make this practical for real-world optimization, they use a "pre-training" phase to fit a curve that accurately predicts the rounds needed for a specific task.
  2. Bandwidth Allocation: A bisection search is used to allocate more bandwidth to "laggards" (devices with slower CPUs). This "water-filling" approach ensures that slow computation is compensated for by faster communication, keeping the whole fleet moving at the same speed.
  3. Quantization Level Optimization: Successive Convex Approximation (SCA) is used to find the ideal bit-depth for gradients, balancing per-round speed against the noise-induced increase in total rounds.

Experimental Evaluation

The framework was validated using two distinct setups: a synthetic dataset for logistic regression (convex) and the CIFAR-10 dataset for ResNet-20 training (non-convex).

Key results include:

  • Fitting Accuracy: The data-driven fitting method closely matched actual loss curves, proving to be a reliable proxy for optimization.
  • Efficiency Gains: The optimized joint allocation reached target accuracy significantly faster than baseline methods using fixed quantization or equal bandwidth.
  • Heterogeneity Resilience: The algorithm effectively neutralized the impact of varying CPU frequencies (ranging from 100 MHz to 1 GHz), ensuring that slow devices did not become massive bottlenecks.

Conclusion

This work demonstrates that joint optimization of communication and computation parameters, guided by empirical fitting, can drastically reduce FEEL training time. By bridging the gap between abstract convergence proofs and actual wall-clock time, the authors provide a practical path for efficient edge intelligence. Future research will explore device sampling, error compensation techniques, and non-uniform quantization to further enhance efficiency in dynamic edge environments.

Summary updated

BibTeX
@inproceedings{liu2022training,
  author = {Peixi Liu and Jiamo Jiang and Guangxu Zhu and Lei Cheng and Wei Jiang and Wu Luo and Ying Du and Zhiqin Wang},
  title = {{Training time minimization for federated edge learning with optimized gradient quantization and bandwidth allocation}},
  booktitle = {Frontiers Inf. Technol. Electron. Eng},
  year = {2022},
  url = {https://openreview.net/forum?id=LvdMBRTV4p},
}
Figure