Abstract
Federated Learning (FL) faces significant practical hurdles in wireless environments, primarily due to statistical heterogeneity (non-IID data) and system heterogeneity (varying device capabilities). This paper introduces FEDL, a novel FL algorithm that employs local surrogate functions and global gradient estimates to guarantee linear convergence even with non-IID data. Furthermore, the authors propose a resource allocation framework that optimizes the trade-off between model training time and energy consumption. By decomposing this non-convex problem, the framework efficiently manages CPU frequencies and transmission parameters, identifying critical user subsets that dictate system performance.
Introduction
Federated Learning allows for the training of machine learning models across decentralized devices while keeping raw data local, thus enhancing privacy. However, two major challenges impede its efficiency in wireless networks:
- Statistical Heterogeneity: Non-IID data distributions across devices can lead to poor convergence for standard algorithms like FedAvg.
- System Constraints: Mobile devices are constrained by battery life and processing power. Synchronous FL updates are often bottlenecked by the slowest "straggler" devices.
This research addresses these issues by providing a theoretically grounded algorithm and a practical resource management strategy.
The FEDL Algorithm
The proposed FEDL algorithm departs from standard methods by incorporating a local surrogate function. Each device $n$ solves a local optimization problem that includes a "global gradient estimate" provided by the central server. This estimate acts as a "nudge," aligning local updates with the global objective.
Key parameters include:
- Inexactness ($\theta$): Devices solve local tasks to a specific accuracy level $\theta$, rather than perfectly, to save resources.
- Hyper-learning rate ($\eta$): This parameter controls the influence of the global gradient estimate on local updates.
The authors prove that FEDL achieves a linear convergence rate for strongly convex and smooth loss functions, offering a more robust guarantee than many existing FL methods.
Resource Allocation and Optimization
To balance the competing goals of minimizing Wall Clock Time and Energy Consumption, the authors formulate a Pareto efficiency problem. Due to its non-convex nature, the problem is decomposed into three sub-problems:
- SUB1 (Computation): Optimizes CPU frequencies ($f$) for each User Equipment (UE).
- SUB2 (Communication): Manages transmission power and time slots using a "price of energy" analogy.
- SUB3 (Learning Parameters): Determines the optimal $\theta$ and $\eta$ to minimize total communication rounds.
User Classification Insights
The optimization analysis reveals three distinct groups of users based on their resource constraints:
- Bottleneck Users ($\mathcal{N}_1$): Devices operating at maximum CPU frequency to meet timing requirements.
- Strong Users ($\mathcal{N}_2$): Devices with sufficient resources to finish early and save energy.
- Optimal Users ($\mathcal{N}_3$): Devices that achieve an optimal balance between processing speed and power consumption.
Experimental Results
Evaluation on Synthetic, MNIST, and FEMNIST datasets demonstrates the effectiveness of FEDL:
- Convergence and Accuracy: FEDL consistently outperforms vanilla FedAvg in both speed and final test accuracy across all datasets.
- Stability: The algorithm remains stable even when only a small subset of devices participates per round.
- Non-Convex Applicability: Although theoretical proofs assume convexity, empirical tests on Deep Neural Networks (DNNs) showed that FEDL still works effectively for complex, non-convex models.
- Resource Efficiency: The proposed decomposition method reached near-optimal solutions for the time-energy trade-off with very low computational complexity ($O(N^2)$ or better).
Conclusion and Future Work
FEDL provides a robust framework for FL in heterogeneous wireless networks. While the current theory focuses on strongly convex functions and synchronous updates, future work may explore fully asynchronous versions of FEDL and scenarios with dynamic data sizes.
Summary updated