Energy Efficient Federated Learning Over Wireless Communication Networks

Zhaohui Yang, Mingzhe Chen, Walid Saad, Choong Seon Hong, Mohammad Shikh-Bahaei · DOI

TL;DR

This paper tackles the challenge of making Federated Learning (FL) energy-efficient in wireless networks by jointly optimizing computation and communication resources. They propose an iterative algorithm that significantly reduces energy consumption (up to 59.5%) compared to existing methods, making FL more viable for resource-constrained devices.

What Problem Does This Paper Address?

Federated Learning (FL) is a promising approach for training machine learning models on decentralized data, preserving user privacy by keeping data local. However, deploying FL in wireless networks presents a significant hurdle: energy consumption. Each user needs to perform local computations to train a model and then transmit this model to a base station (BS) for aggregation. Both local computation and wireless transmission consume energy, and users in wireless networks often have limited battery power. Furthermore, the accuracy of the FL model is tied to both computation and communication latency, creating a complex trade-off. Existing FL solutions often optimize either computation or communication, but rarely both simultaneously, and often overlook the energy constraints of individual users. This paper aims to bridge this gap by developing an energy-efficient FL framework that holistically considers computation, communication, and energy limitations.

Methods

The core of this paper is a novel optimization framework that jointly minimizes the total energy consumption for computation and transmission in FL, subject to a latency constraint. To tackle this complex problem, they propose an iterative algorithm. In each iteration, the algorithm derives closed-form solutions for key resource allocation parameters:

  • Time Allocation: How much time is dedicated to computation versus transmission.
  • Bandwidth Allocation: How the available wireless bandwidth is divided among users.
  • Power Control: The transmit power levels for each user.
  • Computation Frequency: The processing speed of each user's device.
  • Learning Accuracy: The desired accuracy of the local FL models.

A key challenge is finding an initial feasible solution for the energy minimization problem. To address this, the authors formulate a "completion time minimization problem." They theoretically prove that this problem is convex with respect to learning accuracy and then employ a bisection-based algorithm to find an optimal and feasible solution for the original energy minimization problem.

Datasets

The paper uses a real-world "blog feedback dataset" for evaluation. This dataset contains 60,000 data samples, each with 281 dimensions. The prediction task is to forecast the number of comments in the next 24 hours. The authors also describe how they simulate both IID (Independent and Identically Distributed) and non-IID data distributions from this dataset for their experiments.

Key Insights and Ideas

  • Joint Optimization is Crucial: The paper strongly emphasizes that optimizing computation and communication resources together is essential for achieving significant energy savings in wireless FL. Treating them separately leads to suboptimal performance.
  • Trade-off Between Local Accuracy and Energy: There's a direct relationship between the desired local model accuracy and the number of local iterations. Higher local accuracy requires more computation, thus more energy, but can potentially reduce the number of global communication rounds needed for overall convergence. The proposed method intelligently balances this.
  • Completion Time as a Feasibility Tool: Framing the problem as minimizing completion time to find an initial feasible solution for energy minimization is an elegant approach. It leverages the convexity of the completion time with respect to learning accuracy.
  • Bisection Method for Optimal Accuracy: Using a bisection-based algorithm to find the optimal learning accuracy is an efficient way to navigate the complex search space and ensure feasibility.

Key Results

  • The proposed energy-efficient FL scheme can reduce total energy consumption by up to 59.5% compared to conventional FL methods.
  • The proposed approach outperforms existing schemes like EB-FDMA, FE-FDMA, and TDMA in terms of completion time. For instance, it can reduce completion time by up to 27.3% compared to TDMA.
  • The paper demonstrates that the proposed FL scheme achieves performance close to an exhaustive search method (EXH-FDMA), suggesting it finds near-optimal solutions.
  • Numerical results show that the proposed algorithm's energy efficiency is particularly pronounced for small maximum average transmit power.

Limitations and Future Work

  • Single Output Assumption: The current model assumes a single output for the FL task. The authors mention that extending the approach to handle multiple outputs is a direction for future work.
  • Convergence Analysis for Non-Convex Loss: While the paper provides convergence analysis for convex loss functions, the extension to non-convex loss functions is mentioned as a future research direction.
  • Practical Implementation Challenges: While the paper proposes an efficient algorithm, practical deployment in real-world heterogeneous wireless environments might introduce further complexities not fully explored.

Summary updated

BibTeX
@article{yang2019energy,
  author = {Zhaohui Yang and Mingzhe Chen and Walid Saad and Choong Seon Hong and Mohammad Shikh-Bahaei},
  title = {{Energy Efficient Federated Learning Over Wireless Communication Networks}},
  journal = {IEEE Trans. Wireless Communications},
  year = {2019},
  doi = {10.1109/twc.2020.3037554},
}
Figure