Energy Efficient Federated Learning Over Wireless Communication Networks

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

TL;DR

This paper presents a novel framework for minimizing energy consumption in wireless Federated Learning (FL) by jointly optimizing local computation and wireless communication resources. By strategically balancing local learning accuracy with transmission power, bandwidth, and CPU frequency, the proposed algorithms achieve up to a 59.5% reduction in energy usage compared to conventional methods while meeting strict latency constraints.

What Problem Does This Paper Address?

Federated Learning (FL) is a promising approach for training machine learning models across distributed mobile devices without sharing raw data, thus preserving privacy. However, deploying FL over wireless networks faces two major bottlenecks:

  1. Limited Energy: Mobile devices have finite battery life, and both local model training (computation) and uploading model updates (communication) are energy-intensive.
  2. Latency Constraints: Real-time applications require models to be trained within a specific timeframe.

Most existing research treats computation and communication as separate problems. This paper argues that they are deeply intertwined: the "accuracy" of a local training step determines both the local computation time/energy and the number of global communication rounds needed for the entire system to converge. The authors tackle the challenge of joint resource allocation to minimize total system energy under a hard deadline.

Methods

The authors model a system where multiple users train local models and upload them to a Base Station (BS) via Frequency Division Multiple Access (FDMA).

Fig. 2. The FL procedure between users and the BS.

Key methodological contributions include:

  • Joint Optimization Formulation: They formulate a non-convex optimization problem that considers time allocation, bandwidth allocation, transmit power, CPU frequency, and local learning accuracy ($\eta$).
  • Iterative Algorithm: To solve the complex non-convex problem, they propose an iterative algorithm that breaks it into sub-problems. Crucially, they derive closed-form solutions for each resource at every step, ensuring low computational complexity.
  • DANE Algorithm Integration: They utilize the Distributed Approximate Newton (DANE) algorithm for FL and provide a rigorous convergence analysis that links local accuracy to the number of global iterations required.
  • Feasibility Initialization: Since the main algorithm requires a starting point, they develop a bisection-based algorithm to first solve a "completion time minimization" problem, ensuring the latency constraint can be met.
Fig. 3. An implementation for the FL algorithm via FDMA.

Datasets

The researchers evaluated their approach using the Real Open Blog Feedback Dataset.

  • Task: Predicting the number of comments a blog post will receive in the next 24 hours.
  • Setup: 60,000 data samples with 281 dimensions. The data was partitioned into both IID (Independent and Identically Distributed) and non-IID sets to test the algorithm's robustness across different data distributions.

Key Insights and Ideas

  • The "Goldilocks" Accuracy: There is an optimal "sweet spot" for local learning accuracy ($\eta$). If a device trains too accurately locally, it wastes computation energy. If it trains too loosely, the global model requires more communication rounds to converge, wasting transmission energy.
  • FDMA vs. TDMA: The study finds that FDMA is generally more energy-efficient than Time Division Multiple Access (TDMA) for FL. In FDMA, users can transmit simultaneously at lower power levels over longer durations, which is more efficient than the high-power, short-burst nature of TDMA.
  • Coupled Resources: Transmission time and computation frequency are inversely related under a fixed latency budget. The algorithm intelligently slows down the CPU (saving energy) if the wireless channel allows for faster transmission, and vice versa.

Key Results

  • Energy Savings: The proposed joint optimization reduces total energy consumption by up to 59.5% compared to conventional FL methods that do not optimize local accuracy or use fixed resource allocation.
  • Latency Reduction: Compared to TDMA-based FL, the proposed FDMA approach reduces completion time by up to 27.3%.
  • Convergence: The theoretical upper bound for the number of iterations required for convergence was shown to be tight, especially as the desired global accuracy increases.
Comparison of completion time across different schemes, showing the proposed FL method consistently achieves the lowest latency.

Limitations and Future Work

  • Downlink Neglect: The paper assumes the Base Station has high power and bandwidth, making the downlink broadcast time negligible. In highly congested or asymmetric networks, this might not hold true.
  • Convexity Assumptions: The primary analysis assumes strongly convex loss functions. While they provide an extension for non-convex functions, further exploration into complex deep learning architectures (which are inherently non-convex) is a natural next step.
  • User Selection: The current model assumes all users participate in every round. Future work could incorporate user scheduling to handle devices that are temporarily offline or have extremely low batteries.

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