Abstract
Federated Learning (FL) enables collaborative model training without the exchange of raw data, but its implementation on mobile devices is hindered by strict energy and latency constraints. This paper presents a distributed resource allocation scheme that addresses the "intradevice conflict" between battery life and processing speed. By jointly optimizing transmit power, CPU frequency, and local model accuracy, the proposed framework minimizes the weighted sum of energy consumption and end-to-end latency. The solution employs Lagrangian dual theory for hardware parameters and a Self-Adaptive Global Best Harmony Search for local accuracy optimization. Simulation results demonstrate that the approach outperforms baseline methods, achieving rapid convergence and providing a tunable balance between performance and power savings.
Introduction
Federated Learning (FL) has emerged as a critical technology for privacy-preserving machine learning, allowing mobile devices to train collective models locally. However, the practical deployment of FL faces a significant "intradevice conflict." Training models locally consumes substantial battery power (computation), while transmitting model updates to a central server requires significant time and energy (communication).
Existing systems often struggle to balance these competing demands, particularly under the steady-state connectivity requirements of wireless TCP/IP architectures. This paper addresses the need for a strategy that optimizes both computation and communication resources simultaneously to meet strict end-to-end (E2E) latency requirements while preserving device longevity.
Problem Formulation
The researchers formulate the resource allocation challenge as a Min-Max optimization problem. The objective is to minimize the weighted sum of latency and energy consumption, represented by the tradeoff parameters $\lambda^e$ and $\lambda^t$. These parameters allow the system to be tuned based on current device status; for instance, prioritizing energy savings when battery levels are low or prioritizing low latency when the device is connected to a power source.
The system model specifically accounts for the wireless TCP/IP protocol, modeling Round Trip Time (RTT) and data rates based on connection states and device mobility. Because the resulting optimization problem is non-convex and mathematically complex, it is decomposed into two distinct sub-problems.
Methodology
1. Hardware Optimization (Block {p, f})
The first sub-problem focuses on finding the optimal transmit power ($p$) and CPU frequency ($f$). The authors utilize Lagrangian dual theory to navigate this space. By employing a subgradient-based iterative method, the system identifies the "sweet spot" for hardware settings that minimizes energy expenditure without violating latency constraints.
2. Local Accuracy Optimization ($\theta$)
The second sub-problem involves local accuracy ($\theta$), which determines the amount of local computation a device performs before synchronizing with the central server. Higher local accuracy requires more computation but reduces the number of global communication rounds required for convergence. To solve this, the authors employ a Self-Adaptive Global Best Harmony Search. This meta-heuristic algorithm, inspired by the improvisation process of musicians, is used to navigate the non-convex search space to find the optimal accuracy level.
Simulation and Results
Experimental Setup
The study's findings are based on numerical simulations modeling a wireless edge server with a 150m coverage range. Mobile devices were assigned datasets ranging from 5 to 10 MB. Hardware specifications included a maximum CPU frequency of 2.0 GHz and energy budgets of 20 J to reflect realistic mobile constraints.
Key Findings
- Efficiency and Convergence: The proposed alternating minimization algorithm converges rapidly, typically within 5 iterations. This efficiency makes it highly suitable for real-time implementation on resource-constrained mobile hardware.
- Performance Gains: The joint optimization approach significantly outperformed baseline methods, such as those that optimize hardware settings while using a static or random local accuracy.
- Scalability: While energy consumption naturally increases with the size of the training data, the optimization framework maintains its performance advantages across different data scales (5 MB to 10 MB).
- The $\theta$ Lever: The results confirm that finding the optimal local accuracy ($\theta$) is essential for minimizing total system cost, as it serves as the primary lever for balancing the computation-communication trade-off.
Conclusion and Future Work
This research provides a robust framework for managing the complex resource demands of on-device Federated Learning. By treating transmit power, CPU frequency, and local accuracy as interdependent variables, the proposed scheme ensures that FL can operate efficiently within the limits of mobile hardware.
Future research may address current limitations, such as the assumption of relatively stable Poisson processes for device mobility. Real-world urban environments with volatile "stop-and-go" traffic may require more dynamic modeling. Additionally, exploring heterogeneous environments—where high-end smartphones and low-power IoT sensors coexist—and integrating emerging technologies like Reconfigurable Intelligent Surfaces (RIS) could further enhance the efficiency of distributed FL systems.
Summary updated