UAV Communications
for Sustainable Federated Learning
Abstract
Federated learning (FL), invented by Google in 2016, has become a hot research trend. However, enabling FL in wireless networks has to overcome the limited battery challenge of mobile users. In this regard, we propose to apply unmanned aerial vehicle (UAV)-empowered wireless power transfer to enable sustainable FL-based wireless networks. The objective is to maximize the UAV transmit power efficiency, via a joint optimization of transmission time and bandwidth allocation, power control, and the UAV placement. Directly solving the formulated problem is challenging, due to the coupling of variables. Hence, we leverage the decomposition technique and a successive convex approximation approach to develop an efficient algorithm, namely UAV for sustainable FL (UAV-SFL). Finally, simulations illustrate the potential of our proposed UAV-SFL approach in providing a sustainable solution for FL-based wireless networks, and in reducing the UAV transmit power by 32.95%, 63.18%, and 78.81% compared with the benchmarks.
Index Terms:
Edge Computing, Energy Harvesting, Federated Learning, Sustainability, UAV Communications.I Introduction
To overcome challenges of data privacy in conventional deep learning, the concept of federated learning (FL) has been invented by Google in 2016 [1]. In FL, users need not share their data with the central server but only information of the local models is transmitted to the server. Thanks to its characteristics, FL has been adopted in many applications such as Google keyboard suggestions [2], medicine [3], and mobile communications [4]. Although FL has found many benefits in enabling privacy-preserving learning solutions, it also poses significant challenges such as resource management, robustness, and incentive mechanisms [5]. Moreover, powering mobile users with limited battery capacity is of vital importance to enable FL as users may run out of battery during the training process. In this regard, wireless powered communication networks (WPCNs) represent a promising solution, owing to their ability to charge the users wirelessly. Nonetheless, conventional WPCNs often suffer from several challenges, such as doubly near-far issue (i.e., far users need to spend higher power with smaller harvested energy) and severe performance degradation over long distance [6]. To address these challenges, unmanned aerial vehicle (UAV) enabled WPCNs have been introduced, which often supports line-of-sight connections with flexible deployment and controllable mobility [6], thus improving the network performance.
Over the last two years, various studies have been dedicated to 1) FL-WPCNs [7] and 2) FL-UAV communications [8, 9, 10]. As the very first work on FL-WPCNs, Tran et al.[7] considered the application of lightwave (i.e., visible and infrared light) power transfer to wirelessly power mobile users, which then utilize the harvested power to upload their local models to the learning server over radio channels. This work illustrated that users are replenished with enough energy to perform FL computation. However, the framework in [7] requires synchronizations among users, which is a challenging assumption as users may have different computing capabilities and data sizes. With regard to FL-UAV communications, the works in [8, 9, 10] employed FL to enable UAV applications such as quality sensing with UAV swarms [8], secure UAV crowdsensing with blockchain [9], and massive UAV communications [10].
Despite promising results, we are not aware of any work that focuses UAV-enabled wireless-powered FL networks (UAV-WPFNs). Such UAV-WPFNs are very promising in circumstances (e.g., large farms, mountains, and hard-to-reach areas), where a number of users with a limited battery capacity are deployed while no central server is available for data collection and model training. In this work, we propose to leverage the UAV to wirelessly power FL users so as to enhance the sustainability of FL-based networks. We aim to maximize the transmit power efficiency of the UAV by jointly optimizing transmission time allocation, bandwidth allocation, power control, and UAV placement. To address the formulated non-convex problem, we propose an iterative algorithm, namely UAV-SFL to achieve the maximum power efficiency of the UAV. At each iteration, the time allocation and the UAV transmit power are updated using the analogy of the bi-section rule, whereas power and bandwidth allocation of the users, and the UAV placement are updated by solving a convex feasibility problem. Simulation results show the sustainability of the considered UAV wireless-powered FL network, and its superiority over the benchmarks.
II Problem Formulation
II-A Network Model
We consider a network setup with a rotary-wing single-antenna UAV and single-antenna users (e.g., mobile users, sensors, and Internet-of-Things (IoT) devices), which are randomly distributed within an area of interest. We denote the set of users as . The UAV equipped with a mobile edge computing (MEC) server provides computing services and broadcasts energy to the users. Each user has an on-board computing processor to train the local model using its own data and has an energy circuit to harvest energy transmitted by the UAV. Similar to [11], we assume that the UAV can simultaneously broadcast energy and receives the local models from users. Meanwhile, each user can simultaneously harvest energy from the UAV, perform FL tasks, and communicate with the server.
The rotary-wing UAV can hover at a given altitude while its coordinate can be optimized to establish LoS connections and maximize the network performance. Denote by and the respective coordinates of the UAV and user . The channel gain of user can be calculated as , where is the reference channel gain at m and is the distance to the UAV. Here, the distance is given as .
The energy of user harvested from the UAV can be given as , where is the time duration, is the transmit power of the UAV, and is the energy conversion efficiency of user . This linear model has been adopted in many works (e.g. [11] and [12]) to show meaningful insights of UAV-enabled wireless powered communications. The non-linear energy harvesting model, as considered in our work [13], is an interesting topic for future work.
II-B Local Computing Model
Each user has a local dataset, which is used to train the local model and is not shared with the server to protect user privacy. About local computation of user , we denote as (in CPU cycles per second) the CPU computing capability, as the number of data samples, and as the number of CPU cycles needed to process a data sample. The computation time for one local iteration is . The corresponding energy consumption is , where is a coefficient depending on the hardware and chip architecture [14].
II-C Communication Model
After local computation, each user uploads its local model to the server for aggregation. We adopt frequency division multiple access (FDMA) for the uplink operation because FL with FDMA can be implemented in asynchronous manner [15, 16]. Other multiple access techniques such as rate splitting multiple access (RSMA) and non-orthogonal multiple access (NOMA) can be also applied with the consideration of synchronizations among users.
For user , the achievable rate is given as , where is the allocated bandwidth, is the transmit power, and is the noise power spectral density. Denote by the constant data size of the local model parameter and gradient that user needs to upload to the server. To ensure the transmission of within the uploading time , the constraint should hold. The corresponding energy consumed by user is .
II-D Problem Formulation
We aim at developing a resource allocation framework to maximize the power efficiency of the UAV so as to enable sustainable FL systems. In particular, we are interested in the following optimization problem.
(1a) | ||||
s.t. | (1b) | |||
(1c) | ||||
(1d) | ||||
(1e) | ||||
(1f) | ||||
(1g) | ||||
(1h) | ||||
(1i) |
where , , , and . In the above problem, (1b) indicates the constraint on the data rate transmission, (1c) implies that the energy harvested from the UAV should be greater than the energy consumed for local computation and communication, (1d) and (1e) indicate the feasible range of the transmit power due to power budgets of the UAV and users, and (1f) denotes the bandwidth constraint with being the system bandwidth. Constraint (1g) ensures that each global round should be completed within the time frame , with being the number of local iterations required by each user. We do emphasize that can be preset, and the value is decided by the target accuracy of the local model [15, 7]. The CPU frequency of each user is constrained in (1h) with and being the minimum and maximum CPU frequency of user , respectively. Finally, (1i) expresses that the UAV should be placed within a circular disc with radius . Solving problem (1) directly is challenging since multiple optimization variables are coupled. Moreover, the optimization of UAV location arises the non-linearity of (1) caused by the channel gain model and the function of the achievable rates.
III Proposed Solution
To overcome the non-linearity due to the UAV placement we introduce auxiliary variables and rewrite the problem (1) as follows:
(2a) | ||||
s.t. | (2b) | |||
(2c) | ||||
(2d) | ||||
(2e) | ||||
(2f) |
where and . We also replace by for ease of presentation. It is however still difficult to solve the problem (2). In this work, we leverage the block successive upper-bound minimization (BSUM) method proposed in [17] to solve (2). Particularly, we divide the entire variables of the problem (2) into three blocks: , , and , and as will be shown in Algorithm 1, these blocks can be updated alternately in an iterative manner.
For the first block variable , optimizing the problem (2) is equivalent to minimizing the energy consumed for both local computation and communication. From (2b), the minimum transmission time of user at the update step is given as
(3) |
Also from (2d), at the first update step (i.e. ), the transmission time of user is limited by the following upper-bound value
(4) |
Therefore, the transmission time of user is a feasible point within the range . As the transmission energy of each user becomes smaller when the transmission time is smaller (as ) and there is one additional constraint (2c), the transmission time can be updated using the analogy of the bi-section rule. In particular, at the update step , the transmission time of user is set as follows:
(5) |
and the maximum transmission time of user for the next update step is set as , Here, we should note that constraint (2c) of the block variable is handled via the optimization of the other blocks. For a given transmission time , we can infer from (1h) and (2d) that the optimal CPU frequency of user should satisfy in order to minimize the energy consumed for local computation, where
(6) |
Similarly for the block of the transmit power of the UAV, at the first update step, the maximum transmit power is set as and the minimum power can be derived from (2c) as , where
(7) |
Similar to the update rule of the transmission time, the transmit power of the UAV can be updated as follows:
(8) |
From (8), the transmit power of the UAV decreases over the course of optimization. The reason is that the energy consumed for both local computation and transmission gets smaller, as optimized in the first block phase. And the maximum transmit power of the UAV for the next update step is set as .
For given , the problem can be equivalently represented as the following feasibility problem:
(9a) | ||||
s.t. | (9b) | |||
(9c) | ||||
(9d) | ||||
(9e) |
This problem is non-convex, but the feasible set composed of (1e), (1f), (1i), and (9d) is convex. To convexify (9b), we introduce the following lemma, and its proof can be found in [18].
Lemma 1.
For every , , , , , , we have the following inequality
(10) |
With regard to constraint (9b), at the update step , applying the inequality (10) with yields
(11) |
with
(12) | |||
(13) | |||
(14) |
Further, we have the following inequality
(15) |
Therefore, (III) can be transformed into the following
(16) |
With regard to (9c), since both sides are convex expressions, this constraint is non-convex. Fortunately, we can leverage the first-order optimality condition to approximate the right hand side of (9c) as follows [19]:
(17) |
As a result, at the iteration , constraint (9c) of user can be approximated as
(18) |
To summarize, we solve the following convex problem to update the block variable .
(19a) | ||||
s.t. | (19b) | |||
(19c) | ||||
(19d) |
The proposed algorithm is summarized in Algorithm 1. In each iteration, block variables are updated cyclically. The algorithm stops when the relative tolerance is less than a preset threshold . As the transmit power of the UAV is reduced after each update step, Algorithm 1 converges to the final solution after a number of steps. At each step, the computational complexity of solving the convex problem (19) is as it involves constraints and variables [18].
IV Simulation Results
For validating our proposed method, namely UAV-SFL, we deploy a network, in which users are randomly distributed within a circular disc with a radius of m, and the rotary-wing UAV hovers at a preset altitude of m. The system bandwidth MHz, the respective maximum powers of users and the UAV are dBm and dBm, and the energy harvesting efficiency . For local computation, the maximum and minimum CPU frequencies GHz and GHz for all users, the data size Kb, the coefficient of chip , the local data and the workload are randomly selected from the ranges Mb and cycles per bit, the maximum number of local iterations , and the time frame s.

Firstly, we present the convergence evolution of UAV-SFL in Fig. 1. This figure shows that Algorithm 1 can converge to the final solution after a reasonable number of iterations. We recall that at each step, we solve the convex feasibility problem (19), and further update time allocation, transmit power of the UAV, and CPU frequencies using linear computations. Consequently, the total complexity of our proposed UAV-SFL algorithm is very reasonable.


Secondly, in Fig. 2a, we show the average transmission and computation time when varying the maximum number of local iterations. The figure indicates that the higher the maximum number of local iteration is, the larger the computation time is, while the smaller the transmission time is. This is reasonable since the computation time is directly proportional to , while the total completion time is required to be less than the time frame , as indicated in (1g). We can also observe from Fig. 2b that the transmit power of the UAV increases as increases. The reason is that the majority of the total harvested energy is for executing local computation, and thus the UAV should increase its transmit power to ensure that each user can harvest enough energy to perform FL tasks. Therefore, the proposed UAV-SFL approach can adaptively adjust the transmit power of the UAV to wirelessly power users to complete their FL tasks within the time frame.


Finally, we draw a comparison with three other approaches, including 1) a scheme with Fixed CPU Frequencies (labeled as FF), 2) a scheme with Fixed transmission Time (labeled as FT), and 3) a scheme with Fixed UAV Placement (labeled as FUP). From Fig. 3a, the transmit power of the UAV increases as the data size increases. This is because the transmission time and users’ transmit power should increase to complete the local model transmission, which consequently demands a higher transmit power of the UAV. The figure also shows that the transmit power of the UAV derived from our UAV-SFL approach via jointly optimizing the UAV placement, time, and CPU frequencies is significantly lower than those of three benchmarks. On average, UAV-SFL is better than FUP, FF, and FT by 32.95%, 63.18%, and 78.81%, respectively. Fig. 3b plots the transmit power of the UAV as a function of the system bandwidth. From this figure, there is just a minor change in the transmit power of the UAV as the system bandwidth increases. This is because the UAV does not change its optimized coordinate much when the system bandwidth changes [18]. With regard to our UAV-SFL scheme, the transmit power of the UAV slightly reduces as the system bandwidth increases. The reason for this is that increasing the system bandwidth results in larger achievable rates, which reduces the energy needed for transmission and consequently decreases the transmit power of the UAV. Again, this figure shows the superiority of the proposed UAV-SFL approach over the benchmarks.
V Conclusion
In this article, we have considered a network model, where the UAV is deployed to wirelessly power users so as to support sustainable FL-based wireless networks. We have developed an efficient algorithm to obtain the solution with a convergence guarantee. Presented simulation results show that the proposed scheme outperforms the benchmarks with fixed CPU frequencies, transmission time and UAV placement. Several promising directions can be stemmed from our current work such as consideration of other multiple-access techniques (e.g., NOMA and RSMA), fixed-wing UAVs, UAV-assisted visible light communications, and multi-UAV WPFNs. Moreover, as this work is considered for one global round, the extension to multiple global rounds is very promising.
References
- [1] J. Konečný, H. B. McMahan, F. X. Yu, P. Richtarik, A. T. Suresh, and D. Bacon, “Federated learning: Strategies for improving communication efficiency,” in NIPS Workshop on Private Multi-Party Machine Learning, Barcelona, Spain, Dec. 2016, pp. 1–10.
- [2] T. Yang, G. Andrew, H. Eichner, H. Sun, W. Li, N. Kong, D. Ramage, and F. Beaufays, “Applied federated learning: Improving google keyboard query suggestions,” arXiv preprint arXiv:1812.02903, 2018.
- [3] M. J. Sheller, B. Edwards, G. A. Reina, J. Martin, S. Pati, A. Kotrotsou, M. Milchenko, W. Xu, D. Marcus, R. R. Colen et al., “Federated learning in medicine: facilitating multi-institutional collaborations without sharing patient data,” Scientific reports, vol. 10, no. 1, pp. 1–12, 2020.
- [4] Y. Liu, X. Yuan, Z. Xiong, J. Kang, X. Wang, and D. Niyato, “Federated learning for 6G communications: Challenges, methods, and future directions,” China Communications, vol. 17, no. 9, pp. 105–118, 2020.
- [5] W. Y. B. Lim, N. C. Luong, D. T. Hoang, Y. Jiao, Y.-C. Liang, Q. Yang, D. Niyato, and C. Miao, “Federated learning in mobile edge networks: A comprehensive survey,” IEEE Communications Surveys & Tutorials, vol. 22, no. 3, pp. 2031–2063, 2020.
- [6] L. Xie, J. Xu, and R. Zhang, “Throughput maximization for UAV-enabled wireless powered communication networks,” IEEE Internet of Things Journal, vol. 6, no. 2, pp. 1690–1703, 2019.
- [7] H. Tran, G. Kaddoum, H. Elgala, C. Abou-Rjeily, and H. Kaushal, “Lightwave power transfer for federated learning-based wireless networks,” IEEE Communications Letters, vol. 24, no. 7, pp. 1472–1476, 2020.
- [8] Y. Liu, J. Nie, X. Li, S. H. Ahmed, W. Y. B. Lim, and C. Miao, “Federated learning in the sky: Aerial-ground air quality sensing framework with UAV swarms,” IEEE Internet of Things Journal, 2020, in press.
- [9] Y. Wang, Z. Su, N. Zhang, and A. Benslimane, “Learning in the air: Secure federated learning for UAV-assisted crowdsensing,” IEEE Transactions on Network Science and Engineering, 2020, in press.
- [10] H. Shiri, J. Park, and M. Bennis, “Communication-efficient massive UAV online path control: Federated learning meets mean-field game theory,” IEEE Transactions on Communications, vol. 68, no. 11, pp. 6840–6857, 2020.
- [11] F. Zhou, Y. Wu, R. Q. Hu, and Y. Qian, “Computation rate maximization in UAV-enabled wireless-powered mobile-edge computing systems,” IEEE Journal on Selected Areas in Communications, vol. 36, no. 9, pp. 1927–1941, 2018.
- [12] Z. Yang, W. Xu, and M. Shikh-Bahaei, “Energy efficient UAV communication with energy harvesting,” IEEE Transactions on Vehicular Technology, vol. 69, no. 2, pp. 1913–1927, 2019.
- [13] T.-T. Nguyen, V.-D. Nguyen, Q.-V. Pham, J.-H. Lee, and Y.-H. Kim, “Resource allocation for AF relaying wireless-powered networks with nonlinear energy harvester,” IEEE Communications Letters, vol. 25, no. 1, pp. 229–233, 2021.
- [14] Q.-V. Pham, H. T. Nguyen, Z. Han, and W.-J. Hwang, “Coalitional games for computation offloading in NOMA-enabled multi-access edge computing,” IEEE Transactions on Vehicular Technology, vol. 69, no. 2, pp. 1982–1993, 2020.
- [15] Z. Yang, M. Chen, W. Saad, C. S. Hong, and M. Shikh-Bahaei, “Energy efficient federated learning over wireless communication networks,” IEEE Transactions on Wireless Communications, vol. 20, no. 3, pp. 1935-1949, 2020.
- [16] M. Chen, Z. Yang, W. Saad, C. Yin, H. V. Poor, and S. Cui, “A joint learning and communications framework for federated learning over wireless networks,” IEEE Transactions on Wireless Communications, vol. 20, no. 1, pp. 269–283, 2021.
- [17] M. Hong, M. Razaviyayn, Z.-Q. Luo, and J.-S. Pang, “A unified algorithmic framework for block-structured optimization involving big data: With applications in machine learning and signal processing,” IEEE Signal Processing Magazine, vol. 33, no. 1, pp. 57–77, 2016.
- [18] A. A. Nasir, H. D. Tuan, T. Q. Duong, and H. V. Poor, “UAV-enabled communication using NOMA,” IEEE Transactions on Communications, vol. 67, no. 7, pp. 5126–5138, 2019.
- [19] S. Boyd, S. P. Boyd, and L. Vandenberghe, Convex optimization. Cambridge university press, 2004.