Next Article in Journal
Protecting FPGA-Based Cryptohardware Implementations from Fault Attacks Using ADCs
Next Article in Special Issue
Adaptable Hybrid Beamforming with Subset Optimization Algorithm for Multi-User Massive MIMO Systems
Previous Article in Journal
Research on UAV Flight Parameter Identification Method Based on Launch Force and Airspeed
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fairness-Enhanced Federated Learning Scheduling Mechanism for UAV-Assisted Emergency Communication

1
College of Science, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
2
School of Communication and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
3
College of Internet of Things, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
4
Portland Institute, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(5), 1599; https://doi.org/10.3390/s24051599
Submission received: 7 February 2024 / Revised: 27 February 2024 / Accepted: 27 February 2024 / Published: 29 February 2024

Abstract

:
As the frequency of natural disasters increases, the study of emergency communication becomes increasingly important. The use of federated learning (FL) in this scenario can facilitate communication collaboration between devices while protecting privacy, greatly improving system performance. Considering the complex geographic environment, the flexible mobility and large communication radius of unmanned aerial vehicles (UAVs) make them ideal auxiliary devices for wireless communication. Using the UAV as a mobile base station can better provide stable communication signals. However, the number of ground-based IoT terminals is large and closely distributed, so if all of them transmit data to the UAV, the UAV will not be able to take on all of the computation and communication tasks because of its limited energy. In addition, there is competition for spectrum resources among many terrestrial devices, and all devices transmitting data will bring about an extreme shortage of resources, which will lead to the degradation of model performance. This will bring indelible damage to the rescue of the disaster area and greatly threaten the life safety of the vulnerable and injured. Therefore, we use user scheduling to select some terrestrial devices to participate in the FL process. In order to avoid the resource waste generated by the terrestrial device resource prediction, we use the multi-armed bandit (MAB) algorithm for equipment evaluation. Considering the fairness issue of selection, we try to replace the single criterion with multiple criteria, using model freshness and energy consumption weighting as reward functions. The state of the art of our approach is demonstrated by simulations on the datasets.

1. Introduction

Numerous actors such as climate change, atmospheric circulation and human activities have led to a gradual increase in the frequency of extreme weather events, a phenomenon that can cause irreversible damage to communications infrastructure [1]. In such cases, emergency communication systems can provide alternate means of communication to compensate for the disruption of traditional communication systems [2].
The most cloud-based data communication and storage are in common form, in which case critical information in the affected area may be threatened by leakage [3]. The emergence of federated learning (FL) solves this problem to a certain extent. FL allows client devices to train on private datasets locally and only communicate and interact with the model. This training approach protects the data privacy of all parties and reduces the communication cost and network overhead [4]. In emergency communication scenarios, a large number of resources are required to meet emergency demands due to severe damage to the communication infrastructure [5]. However, there is competition for limited spectrum resources among different devices, which exacerbates the scarcity of spectrum resources. In this case, the training method using FL can also optimize the allocation and utilization of spectrum resources, thus improving the model performance of terrestrial devices.
At the same time, emergency communication often faces problems such as unfixed locations and complex and changing terrain. So, the flexibility of unmanned aerial vehicles (UAVs) can be utilized to reach remote areas [6] and assist terrestrial devices in deploying models. Terrestrial devices collect ground data in the affected area through sensors and cameras, etc., and local models can be obtained by processing these data to detect and categorize targets [7]. However, terrestrial devices with limited energy cannot store a large amount of data while repeating training to improve the accuracy of the model. UAV-assisted communication provides a feasible solution, where terrestrial devices upload the model parameters to the UAV. Furthermore, the UAV assumes the responsibility of aggregating the parameters, which allows the UAV to share part of the training energy consumption for terrestrial devices.
However, UAVs have limited energy, which is used not only to maintain their stay in a certain area [8] but also for their communication with terrestrial devices and computation of training models. In addition, the number of terrestrial Internet of Things (IoT) terminals is densely distributed, and the energy of the UAV cannot support it to receive model parameters from a large number of terrestrial devices and perform aggregation operations. Existing studies often use user scheduling to rationally optimize resource allocation, and we aim to use it to alleviate the energy consumption of the FL training. The UAV receives model parameters from only some of the terrestrial devices according to the scheduling strategy, fully utilizes the data resources of each device, and improves the overall learning effect and speed. In fact, due to the specificity of emergency communication scenarios, it is often difficult for us to predict the resource information of the terrestrial devices in advance, which will affect the reasonableness of the scheduling strategy. Therefore, in this paper, we adopt the method of multi-armed bandit (MAB) for client selection, and the MAB algorithm does not need to predict the actual resource situation of terrestrial devices [9].
We think further into this topic that the performance of local models may vary due to the heterogeneity of terrestrial devices in FL networks [10]. However, if we only focus on the energy consumption when making client selection, those terrestrial devices that consume slightly more energy may lose the opportunity to participate in the aggregation phase, so that the trained global model will have a poorer performance on the dataset of these devices, which will cause an unfairness problem. At the same time, the frequent transmission of data or frequent participation in model updates by some devices will increase the possibility of network congestion. All these factors will affect the real-time and stability of the emergency communication system, reduce the response speed and efficiency of the equipment, and even pose a threat to disaster relief and rescue. Consider this fairness issue, we introduce a model freshness metric in the reward function of the MAB algorithm, weighted with energy consumption, to replace a single criterion with multiple criteria.
More specifically, we summarize the main contributions of this paper below.
(1)
Emergency communication scenarios are characterized by complex terrain, etc., and we use FL to optimize the allocation and utilization of spectrum resources so as to improve the model performance of terrestrial devices.
(2)
The UAV energy consumption problem is mitigated by considering user scheduling strategies in the FL process and by selecting some devices to participate in the aggregation phase in order to achieve the goal of improving decision-making efficiency.
(3)
In order to overcome the problem of it being difficult to predict the resource information of terrestrial devices, we adopt the MAB algorithm for client selection. Meanwhile, further considering the fairness of the scheduling strategy, we introduce model freshness, which is weighted with energy consumption and set as the reward function of the MAB algorithm.
(4)
We conduct extensive simulation experiments on the MNIST dataset and incorporate fairness metrics to measure system performance.
The rest of the paper is organized as follows. Section 2 reviews the related literature. Section 3 describes the role of UAV-assisted communication in emergency communication scenarios and the FL process. We detail the MAB-based fair scheduling algorithm used to reduce energy consumption in Section 4. Section 5 describes the experimental evaluation. Finally, Section 6 summarizes this work.

2. Related Work

2.1. UAV-Assisted Communication

Currently, UAV-assisted communication is widely researched, and UAVs assume different roles in it. In the work of Hou et al. [11], in order to further improve the security of the communication, the UAV not only participates in the training process of FL but also acts as a jammer, transmitting noise interference to potential eavesdroppers. Study [12] also provides an anti-jamming framework for UAV-assisted networks that allows the UAV to jam eavesdroppers. Meanwhile, due to the long-distance transmission of communication data and the lack of reliability in communication between the local clients and the parameter server, the UAV can act as a relay node to assist in the training of the models. In [13], considering that different tasks in emergency communication scenarios have different optimization objectives, in the case of two types of services, UAVs are divided into two clusters based on the type of services, and different FL algorithms are applied to the two tasks so as to jointly optimize the cost of the two types of services. Under the architecture of hierarchical FL, Wang et al. [14] jointly optimize the key issues of matching UAVs with local devices, allocation of hierarchical FL time, and the number of local model iterations. In [15], the terminal device may offload a portion of the computation task to the UAV, which may choose to perform the computation or offload the bitstream to the access point again by matching. In addition, UAVs can be placed in the edge area close to the clients and can be used as edge servers to provide computation services. Wang et al. [16] utilize the UAV as a mobile base station to provide edge services, taking into account fairness, in ensuring user device shunt balancing and UAV load balancing. Considering the quality of service (QoS), study [17] uses the UAV to maximize the number of covered devices that satisfy different QoS requirements.

2.2. UAV-Assisted Communication under Energy Constraints

The flexibility of UAVs is due to their usually small size and weight, which results in limited on-board energy storage and their short time in the air. Therefore, there exists a growing body of work investigating UAV-assisted communication under energy constraints. Zeng et al. [18] investigate the energy efficiency of UAV point-to-point communication links by optimizing the UAV trajectory to strike a balance between maximizing the communication throughput and minimizing the energy consumption. In [19], a UAV ground secure communication system is designed by minimizing the secrecy rate under the constraints of maximum UAV transmit power, energy harvesting and artificial noise power level at the target node. Xiong et al. [20] in their work use the Markov decision process to describe the energy and data transmission optimization problem of the UAV as a way of maximizing the utility of the energy generated by the UAV. Ref. [21] proposes a novel system model with high energy efficiency that adapts to the network through UAV trajectory optimization. Considering the computational performance of the UAV and its limited energy, Jia et al. [22] upload the already encrypted model parameters to the safe zone of the UAV, where the UAV is only responsible for decryption and aggregation.

2.3. User Scheduling Policies for Energy Conservation

The key to user scheduling is how to select appropriate clients to participate in the FL process, and a reasonable selection of the client set can effectively alleviate the problem of energy scarcity. Zheng et al. [23] optimize the trade-off between energy consumption and system performance by selecting clients based on the learning time, data size and channel quality. In [24], client selection and energy management issues are jointly considered to optimize system performance based on channel state information, energy information and data quality. The work in [25] looks at significantly varying weight localization, performs user scheduling at each round, and selects clients containing important information for training, thus reducing the client energy cost while maintaining model accuracy. Han et al. [26] consider the energy consumption problem of training the same model repeatedly and design a client selection algorithm based on the energy-efficiency ratio in a FL framework. Considering the real-world environment with an uncertain resource situation, Ref. [27] uses trial and error based on a multi-armed bandit (MAB) algorithm to find a reasonable set of selection clients to improve the system performance.

2.4. Fairness Issues in Emergency Communication Scenarios

At present, the latest research on emergency communication is more inclined to achieve the goal of introducing infrastructure into the disaster-affected areas. Obviously, unbiased post-disaster reconstruction is extremely important, which is conducive to restoring life order and social stability and promoting economic recovery and development. Banerjee et al. [28] focus on the equitable distribution of communication opportunities among individual devices in their work, proposing an emergency communication system based on participation equity to ensure that all devices can benefit from collective action. Ho et al. [29] jointly optimize UAV height, power control, and bandwidth allocation with the goal of maximizing uplink throughput, considering the issue of link rate fairness. The work of Thantharate et al. [30] jointly optimizes the charging station assignment and UAV trajectories to optimize UAV fleet charging coordination, taking into account battery chemical constraints, flight time and charging station capacity. This method ensures a fair distribution of energy to maximize the drone’s flight time. Zhu et al. [31] convert the client selection problem into a MAB problem and utilize the techniques of upper confidence bound (UCB) policy and virtual queue to improve the availability of clients as well as the long-term fairness of the selection. Ref. [32] uses local loss values to accelerate convergence with fairness in mind, thereby improving the communication efficiency of the system. Different from these works, our work alleviates the energy consumption problem in the FL training process by adopting the user scheduling strategy and pays attention to the fairness of the opportunity for devices to participate in training, so as to improve the generalization of the global model.

3. System Model

3.1. Description of Emergency Communication Scenario

The use of UAV-assisted communication in emergency communication scenarios fundamentally optimizes the way we vulnerable casualty identification as well as disaster warnings. For example, in the case of bushfires, dry and hot weather can lead to fires. How to provide quick and timely warnings after a fire and how to accurately identify vulnerable casualties and provide rescue after a disaster are two issues that are critical to people’s lives.
As shown in Figure 1, we consider intelligent vehicles, smartphones and other terminals as terrestrial devices, which collect images of the disaster area through sensors or cameras, and use the images of the disaster area to enrich the local private datasets while recognizing and predicting the targets. In order to improve the generalization of the models, the terrestrial devices need to interact with each other in a privacy-preserving manner. Deploying the UAV as a mobile base station can extend network coverage while improving wireless connectivity [33], which can better serve terrestrial devices. Rescuers can not only use the global model on the UAV to implement identification and classification of targets in the disaster area within the region but also use the ground terminal equipment to search along the way. The specific flow of this process is as follows.
(1)
While training the local model using the local dataset, the terrestrial device sets up the communication settings through appropriate communication protocols to lay the foundation for establishing a reliable and smooth communication channel with the UAV.
(2)
After the UAV receives the communication request from terrestrial devices, it carries out appropriate processing and establishes communication connections, and this process can use security measures such as authentication and encryption/decryption to ensure the confidentiality and integrity of the communications.
(3)
After the UAV has performed the duties of the mobile base station, it distributes the fused parameter data to terrestrial devices. The terrestrial device receives the data and processes it accordingly to further improve the performance of the local model.

3.2. UAV-Assisted Federated Learning Model

The task of the system is for multiple terrestrial devices to act as local training nodes and collaborate to train the global model using real-time disaster area data from the region. We consider a UAV-assisted FL model consisting of a UAV hovering in the air as well as a set of terrestrial devices with total number M, labeled using label m = 1 , 2 , , M . For each terrestrial device U m , it participates in the FL process in round t = 1 , 2 , , T as follows, which is shown in Figure 2.
(1) Global model reception: Terrestrial device U m receives the latest global model w t 1 distributed by the UAV and uses it as the initial local model w t 1 w m t , 0 .
(2) Local model training: Terrestrial device U m performs a stochastic gradient descent (SGD) method to train a local model using a private dataset.
w m t , l = w m t , l 1 η f m w m t , l 1
where l is the number of local training rounds, ∇ is the gradient operation, η is the learning rate of the local model, and  f w m t , l is the loss function. After completing l rounds of local training, the model of terrestrial device U m can be denoted as w m t , l w m t .
(3) Local models uploading: Due to the limited energy of the UAV and terrestrial devices, it is not possible to continuously receive local models from all terrestrial devices. Therefore, the UAV selects some devices to participate in the aggregation according to the formulated policy, and the selected terrestrial devices upload the trained local model w m t to the UAV. In this paper, orthogonal frequency division multiple access (OFDMA) is considered to achieve efficient utilization of spectrum resources and n = 1 , 2 , , N ,   N < M is used to mark N sub-channels.
(4) Global model aggregation: The UAV takes the received local models and gets the latest global model w t of the t-th round through the average aggregation algorithm of FL.
w t = m = 1 N D m t w m t m = 1 N D m t
where D m t denotes the amount of data used by the terrestrial device U m for local training.

3.3. Energy Consumption Models

Our work focuses on the energy impact of user scheduling on the communication transmission, so we only focus on the uplink and downlink energy consumption of the UAV and terrestrial devices. Our work uses an OFDMA scheme with a bandwidth of W per sub-channel. The uplink energy consumption in round t is mainly the energy consumption of the terrestrial device U m to upload the local model, and we first calculate the uplink communication rate r m , t u p according to the following Equation (3).
r m , t u p = B log 2 1 + p m g m , t u p 2 σ 2
where p m is the power of terrestrial device U m , g m , t u p denotes the uplink channel gain of terrestrial device U m in round t, and  σ is the noise power spectral density.
Then, the uplink time of terrestrial device U m is obtained as τ m , t u p .
τ m , t u p = l o m , t r m , t u p
where l o m , t denotes the size of the data volume of the local model parameter uploaded by the terrestrial device U m .
Finally, we obtain the uplink energy consumption E m , t u p of the terrestrial device U m [34].
E m , t u p = p m τ m u p
Similarly, the downlink energy consumption in round t is mainly the energy consumed by the terrestrial device U m to download the global model. We define the downlink communication rate of the terrestrial device U m as r m , t d o w n .
r m , t d o w n = B log 2 1 + p m g m , t d o w n 2 σ 2
where g m , t d o w n denotes the downlink channel gain between the UAV and the terrestrial device U m at round t. For simplicity, we assume that the transmit and receive powers of the terrestrial devices are numerically identical. The time at which the terrestrial device U m downloads the model is τ m , t d o w n .
τ m , t d o w n = g l m , t r m , t d o w n
where g l m , t denotes the data size of the global model parameters. Finally, the downlink energy consumption E m , t d o w n between the UAV and the terrestrial device U m can be obtained.
E m , t d o w n = p m τ m , t d o w n

4. Design of User Scheduling Algorithms for Fairness Enhancement

In this subsection, we first formulate the problem and analyze it, then we introduce the proposed metrics to measure the extent to which the terrestrial device is out of the FL aggregation phase, and finally, we briefly describe our proposed algorithm under the MAB problem.

4.1. Problem Formulation and Analysis

Our goal is to propose an FL-based architecture that can be used to optimize energy consumption in a way that improves energy utilization and enhances system performance. Thus, we aim to minimize energy consumption while maintaining accuracy.
In round t, for terrestrial device U m , the energy consumed up and down is E m , t , whose value is the sum of the uplink energy and the downlink energy:
E m , t = E m , t u p + E m , t d o w n
We assume that the convergence condition F w T ε F w T 1 is reached after global iteration t, where F is the parametric function, F w t denotes the global loss function in round t, and  ε is the model accuracy with values ranging in 0 , 1 .
From this, we obtain the following optimization problem (P1):
P 1 min t = 1 T m = 1 M Q T E m , t s . t . E m , t = E m , t u p + E m , t d o w n C 1 t = 1 T E m , t E m max C 2 t = 1 T E U A V , t E U A V max C 3 m 1 , 2 , , M C 4
where Q T E m , t is the energy required for the training round T, E m max is the maximum energy used by the terrestrial device U m for FL training, E U A V , t is the energy used by the UAV for FL in the t round, and E U A V max is the maximum energy used by the UAV for FL training. Constraint C1 reflects that the energy consumption related to terrestrial devices in round t consists of both uplink and downlink energies. Constraint C2 indicates that the energy consumed after round T cannot exceed the maximum energy used for FL by the terrestrial device U m . Constraint C3 indicates that the total energy used by the UAV for FL is limited. Constraint C4 represents the total number of terrestrial devices involved in FL training.
We substitute Equations (5) and (8) into Equation (9) to change the energy of terrestrial device U m to E m , t = p m τ m , t u p + τ m , t d o w n . Furthermore, it is difficult to predict these two delays separately, which will greatly reduce the resource consumption, so we evaluate them as a whole in our work. As shown in P1 above, our work considers an energy-limited UAV as well as numerous energy-limited terrestrial devices. For the terrestrial devices, the limited energy cannot support them to upload their model parameters to the UAV for aggregation in each round of FL. While performing model aggregation requires the UAV to wait for all terrestrial devices to finish uploading their parameter data, the energy consumption of the UAV for hovering in the air during this time is also extremely high. So in our work, we set a time threshold τ m a x , which is the maximum time limit that allows the terrestrial devices to upload model parameters. We consider the use of a user scheduling policy in the aggregation phase of FL to select terrestrial devices with lower energy consumption, while keeping the latency of the whole process within a certain range. Thus, the problem transforms into the following (P2).
P 2 min t = 1 T m S t N p m τ m , t s . t . S t = N < M τ m , t = τ m , t u p + τ m , t d o w n τ m , t τ max S t 1 , 2 , , M
where S t is the set of selected terrestrial devices in round t, the total number of selected devices is the total number of sub-channels under the OFDMA scheme, and the value of N is less than the total number of terrestrial devices, taking into account resource constraints.
In order to avoid spending a lot of resources to predict the accurate resource information of all devices, we consider using the MAB algorithm to develop user scheduling policies. The MAB algorithm is a classical reinforcement learning algorithm that makes decisions by weighing exploration and utilization. For each round of training, different terrestrial devices are selected to explore the rewards that can be obtained, and previously well-performing terrestrial devices are utilized to obtain more rewards. We can convert the user scheduling problem of (P2) into a MAB problem, where the UAV minimizes energy consumption by maximizing the reward function through continuous trial and error. Therefore, formulating an appropriate reward function is the key to utilizing the MAB algorithm.

4.2. Design of a Measure of Model Freshness

We consider that model sharing may create additional fairness issues, and if only energy is used as a reward function, it may make certain terrestrial devices with higher energy consumption perform less well. At the same time, if certain terrestrial devices do not participate in the FL aggregation process for a long period of time, it can lead to too much deviation from the global model and too little accuracy on their local datasets, which is negative for optimizing the local model of the terrestrial devices.
We define a metric to measure the extent to which the terrestrial device participates in the FL aggregation process, aiming to weight it with energy consumption to balance the unfairness of a single criterion for device selection. We refer to this as model freshness, which is defined by the following Equation (12):
F M m t = t a C m
where a is a constant with a general value of 1, and C m denotes the number of times terrestrial device U m has participated in the FL aggregation phase. We measure this by a counting function. If the terrestrial device U m has participated in round t then C m + 1 , otherwise C m remains constant.

4.3. Proposed Fairness Algorithm Based on MAB Problem

If the terrestrial device U m has not been selected by the UAV to participate in the model aggregation phase of FL, it may lead to a gradual deviation of the global model from the local dataset of U m . Furthermore, this deviation will bring about a decrease in the accuracy of models. In this paper, we define this as the backwardness of w m , which can introduce information bias to the rescue of the injured and even pose a threat to their life and health. In energy-limited emergency communication scenarios, our algorithm takes into account the energy consumption while balancing the freshness of the model compared to partial work that only considers energy consumption. Our work replaces a single criterion with multiple criteria for user scheduling, which can lead to a fairer selection of each terrestrial device by the UAV. This fairness enhancement improves the generalization of the global model. The more generalized the global model is, the more beneficial it is for all terrestrial devices. Therefore, our approach can improve the performance of the whole system by reducing the energy consumption while ensuring the non-backwardness of the local models of terrestrial devices.
The MAB problem can be formally viewed as a time-series process. At each time step, the player chooses one of the arms to pull, and the system returns a reward associated with this arm. The player continually adjusts their decision making based on the rewards they receive in order to achieve the highest cumulative rewards. Thus, the key to the MAB problem is the trade-off between exploring unknown potential reward distributions and using the information available to maximize rewards. We assume that the UAV is the player, and terrestrial devices are the multiple arms of the multi-armed bandit. The player pulling an arm is the UAV selecting the terrestrial device U m to participate in the FL aggregation phase. Algorithm 1 demonstrates the FL framework and process for fairness enhancement, and we will explain user scheduling-related content in steps.
(1) Initialize: The distribution of the reward function for all terrestrial devices is unknown. This means that we do not know the probability of choosing which terrestrial devices to participate in the aggregation can get high rewards.
(2) Calculate the reward function: The reward function is the key in the MAB problem, which can be used to measure the contribution or effect of each device’s participation in the aggregation, so as to decide the resources or weights to be assigned to the devices. By rationally designing the reward function, the fairness and efficiency of resource allocation can be ensured, thus enhancing the overall effect of FL.
We normalize the energy of the terrestrial device U m :
E ^ m , t = 1 E m , t E t max 0 , 1
where E t max is the maximum value of energy of terrestrial devices in round t. Then, we can get the average energy reward value as
E ¯ m , t + 1 = 1 C m + 1 C m E ¯ m , t + E ^ m , t
The model freshness introduced in the previous subsection is weighted with the average energy value to give the reward function as follows:
μ ¯ m , t = α E ¯ m , t + 1 + 1 α F M m t
where α is the equilibrium weight of energy versus model freshness with respect to the freshness of the model, which takes the range 0 , 1 .
(3) Update strategy: Our work uses a upper confidence bound (UCB) algorithm to rank the terrestrial devices for selection using UCB scores.
U C B m , t = μ ¯ m , t + 2 log 1 ξ C m
where ξ is the hyperparameter, whose value here is ξ = 1 t 1 .
We sort the UCB scores of terrestrial devices in descending order, and the UAV selects the first N terrestrial devices to participate in the training of the aggregation stage. In other words, the selected set of devices is constructed according to the following rule.
S t = arg max S t U C B m , t
Algorithm 1 A MAB-based fair scheduling algorithm for reducing energy consumption.
Initialize: 
global model w 0 ; M terrestrial devices indexed by m, each with a local data volume of D m t in round t;
Output: 
global model w T
  1:
The UAV :
  2:
Initialize global model w 0
  3:
for each round t = 1 to T do
  4:
    S t ← ClientSelection(t, N), S t = N
  5:
   Receive the trained local models w m t from the terrestrial device in the set S t
  6:
   Aggregate the models uploaded according to Equation (2)
  7:
   Send w t to M terrestrial devices
  8:
end for
  9:
The terrestrial device U m :
10:
Receive the global model w t from the UAV
11:
for each local round l = 1 to T do
12:
  Train the local model w m t according to Equation (1)
13:
end for
14:
Send w m t to the UAV
15:
ClientSelection ( t , K , N ) :
16:
Initialize the relevant parameters to ensure that the reward distribution is unknown
17:
Update the reward function according to Equation (15) and also update the UCB score according to Equation (16)
18:
Sort the UCB scores of individual terrestrial devices in descending order
19:
Select the first N terrestrial devices to form S t , i.e.,  S t = arg max S t U C B m , t
20:
Return S t to the UAV

5. Experimental Performance and Analysis

5.1. Simulation Environment and Dataset

(1) Simulation environment: We consider a FL network in the presence of a UAV and M = 20 terrestrial devices that have an energy budget of 400 J and are randomly distributed over a radius of 200 m. We set the number of OFDMA subchannels N = 10 . Considering the heterogeneity of the terrestrial devices, we set the transmit power of the terrestrial devices to be uniformly distributed in p min , p max , where the value of p min is 0.1 W, and the value of p max is 0.3 W. We use a Rayleigh distribution with uniform variance to represent small-scale fading, and use the path loss model P L dB = 128 . 1 + 37 . 6 log 10 d to describe large-scale fading, where d km denotes the distance. The large-scale fading and small-scale fading together form the channel gain. Considering the specificity of emergency communication scenarios, we set the number of local training rounds to 1 and the learning rate to 0.05. The specific parameters are shown in Table 1.
(2) Datasets: Image recognition in emergency communication scenarios is an extremely important area. The MNIST dataset we use has become one of the most representative datasets in the machine learning community and is widely used to test and compare the performance of different algorithms. In fact, in some specific cases, there is a need to confirm the identity information of the trapped person, which may involve the recognition and analysis of handwritten digits.

5.2. The Indicator of Fairness

Our work is concerned with fairness in user scheduling, so we need to use fairness metrics for evaluation. There are three common types of fairness metrics, which are listed below.
(1) Standard deviation s t d . For an arbitrary model w, the standard deviation is computed by testing the loss on M devices with the following formula:
s t d L m w m M = m = 1 M L m w μ 2 M
where L m w is the model’s test loss on the terrestrial device U m and μ = 1 M m = 1 M L m w is the average of all test loss. A smaller standard deviation means a fairer distribution.
(2) Gini coefficient G i n i . The Gini coefficient measures the degree of inequality in a distribution and is often used to measure the degree of inequality in the distribution of income, wealth, and so on. For any model w 1 and w 2 , if G i n i L m w 1 m M > G i n i L m w 2 m M , then model w 1 is more equitable than model w 2 .
G i n i L m w 1 m M = i = 1 M j = 1 M L i w 2 L j w 1 2 M 2 ν
where ν = 1 M m = 1 M L m w 1 .
(3) Jain indicator. Jain is defined as follows:
J a i n = m = 1 M a c c m 2 M × m = 1 M a c c m 2
where a c c m denotes the accuracy of the local model of the terrestrial device U m . The Jain metric takes values in the range 0 , 1 . The closer the value is to 1, the more equitable the allocation of resources.
The standard deviation measures the deviation of individual device test losses from the mean, which is susceptible to very large or very small values in the array. Therefore, we believe that the deviation of the measurement from the mean does not present a good picture of the fairness performance of the system. The Jain metric is more widely used and easier to calculate than the Gini coefficient [35]. It is calculated using the accuracy of the models on the private datasets, which to some extent reflects the extent to which the global model contributes to the local models. The closer the value of the Jain metric is to 1, a direct indication is that there is little difference in the accuracy of models across terrestrial devices, which also indicates that the global model can be beneficial to all terrestrial devices for local training. This also indicates the fairer scheduling of terrestrial devices in the system.

5.3. Performance Comparison of Different Selection Criteria

We use two contrasting algorithms to highlight the sophistication of our algorithm.
(1)
Gossip (stochastic greedy) selection [36]: The UAV adopts a randomized strategy for scheduling terrestrial devices, which is a traditional FL scheduling strategy full of randomness.
(2)
Energy-oriented device selection [27]: The UAV evaluates terrestrial devices for scheduling with a single criterion, considering only the energy consumption and selecting only terrestrial devices with low energy consumption to participate in the aggregation phase.
After repeated simulation experiments, we present the final numerical results in Table 2. Figure 3a shows the accuracy of the three schemes on the MNIST dataset with the same number of global training rounds. It can be clearly observed that the accuracy of our scheme is about 91%, which is the best among the three schemes. This is because our scheme weights energy consumption with model freshness to balance the unfairness problem that arises when when the UAV performs user scheduling. This equality of opportunity optimizes the global model and also contributes to the performance of individual terrestrial devices. In contrast, the energy-oriented device selection scheme focuses only on energy consumption and may duplicate the selection of terrestrial devices with low energy consumption. The diversity of the model parameters involved in the aggregation decreases, which may lead to a decrease in model accuracy, as evidenced by the fact that the accuracy of the scheme in the simulation experiments is only 83%. Furthermore, the gossip scheme is full of randomness, which reduces the efficiency of the system’s training, as evidenced by the slower rate of convergence of the accuracy curves. Figure 3b shows the energy consumption of the three schemes with different accuracies on the MNIST dataset. It can be observed that energy-oriented device selection scheme has the lowest energy consumption, but this low energy consumption is obtained by sacrificing the accuracy. Combining accuracy and energy consumption, our scheme is the best.
We evaluate the fairness of user scheduling using the Jain metric and display the results in Figure 3c. It is obvious that in our scheme, the Jain metric is closer to 1, which indicates that the accuracy of the terrestrial devices is almost the same with the help of the global model. This indirectly reflects that using the reward function for selection after weighting can give all terrestrial devices an equal chance to participate in the aggregation process of the global model. Energy-oriented device selection scheme schedules users based on only a single criterion, energy consumption. This destroys the fairness of device scheduling as the number of training rounds increases. The scheme has the lowest Jain value, and this simulation result proves our point. In contrast, in the gossip scheme, there is randomness in the selection of devices for the UAV, and this randomness increases the fairness of the system. However, this scheme has too much randomness, thus causing the Jain metric curve to be too oscillating when converging.

5.4. Fairness Comparison under Different Parameters

We vary the total number of terrestrial devices, the size of the parameter a in the FM function, and the ratio of terrestrial device scheduling within this subsection with the aim of comparing the changes in system performance under different parameters. Firstly, we change the total number of terrestrial devices, and the specific results are shown in Figure 4a. It can be clearly observed that when the total number of terrestrial devices is 20, the Jain metric is the first to converge, and the convergence value is the largest. Therefore, we use M = 20 when comparing with other algorithms, but as the total number of devices on the ground increases, the performance gradually deteriorates. When M = 36 , although the convergence rate is faster, the convergence value is lower. This illustrates the situation when an increasing number of terrestrial devices appear, which may require the assistance of multiple UAVs so that the resources can be allocated rationally.
Then, we change the size of the parameter a in the FM function and display the results, as shown in Figure 4b. From the global plot, we can clearly observe that the a value has little impact on the overall Jain value and more impact on the rate of convergence of Jain values. We zoom in on the local details and compare a = 0.4 with a = 1 . Although the convergence is faster when a = 0.4 , its convergence value is smaller. Therefore, we use a = 1 when making comparisons with other algorithms.
Finally, we change the ratio of device scheduling. We let the UAV select 2, 5, 10, 12, and 15 terrestrial devices to discuss the effect of different ratios on the fairness of the system, and the specific results are shown in Figure 4c. We can intuitively observe that the rate of convergence as well as the value of convergence is best when the ratio is 0.5. Therefore, we compare with other algorithms at this ratio. When the ratio exceeds 0.5, the more terrestrial devices the UAV selects to participate in the aggregation phase, the greater the degree of oscillation is for the first 100 rounds of FL. If considered in more urgent scenarios, the UAV cannot stay in a certain area for too long. At this point, as more terrestrial devices are involved in training, the overall system performance is worse in terms of fairness. Therefore, subsequent work can be done to investigate this further in scenarios with fewer global rounds.

6. Conclusions

The use of FL in emergency communication scenarios can improve the generalization of models while guaranteeing data privacy. UAVs can be widely utilized to assist communication in complex terrain due to their flexibility. However, due to the limited energy of terrestrial devices, it is not possible to upload data to UAVs in every round, and also the UAV cannot afford to receive data from all terrestrial devices. In this work, we consider the fairness issue of user scheduling and the long-term impact that the fairness issue brings to the disaster relief. We design a MAB algorithm for enhancing scheduling fairness, using the weighting function of model freshness and energy consumption as the reward function of the MAB problem, thus reducing energy consumption while ensuring efficient system performance. Simulation results demonstrate the advantages of this scheme in terms of identification accuracy, energy efficiency, and fairness compared to traditional schemes.

Author Contributions

Conceptualization, H.Z.; Methodology, C.Z.; Software, C.Z.; Validation, C.Z.; Formal analysis, C.Z.; Investigation, Y.S.; Resources, C.Z.; Data curation, K.C.; Writing—original draft, C.Z.; Writing—review & editing, H.Z.; Visualization, C.Z.; Supervision, H.Z.; Project administration, T.Z. and C.B.; Funding acquisition, H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China under Grant 62371250, Science and Technology Innovation 2030—Major Project under Grant 2021ZD0140405, the Natural Science Foundation on Frontier Leading Technology Basic Research Project of Jiangsu under Grant BK20212001 and the Jiangsu Natural Science Foundation for Distinguished Young Scholars under Grant BK20220054.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Pauu, K.T.; Wu, J.; Fan, Y.; Pan, Q. Differential Privacy and Blockchain-Empowered Decentralized Graph Federated Learning Enabled UAVs for Disaster Response. IEEE Internet Things J. 2023. early access. [Google Scholar] [CrossRef]
  2. Wang, H.; Song, L.; Liu, J.; Liu, L. Analysis on Construction and Application of the Special Emergency Communication Systems in the Industries. In Advances in Wireless Communications and Applications: Wireless Technology: Intelligent Network Technologies, Smart Services and Applications, Proceedings of the 3rd ICWCA 2019, Haikou, China, 16– 17 November 2019; Springer: Singapore, 2021; pp. 143–151. [Google Scholar]
  3. Siam, A.I.; Almaiah, M.A.; Al-Zahrani, A.; Elazm, A.A.; El Banby, G.M.; El-Shafai, W.; El-Samie, F.E.A.; El-Bahnasawy, N.A. Secure health monitoring communication systems based on IoT and cloud computing for medical emergency applications. Comput. Intell. Neurosci. 2021, 2021, 8016525. [Google Scholar] [CrossRef]
  4. Shvetsov, A.V.; Alsamhi, S.H.; Hawbani, A.; Kumar, S.; Srivastava, S.; Agarwal, S.; Rajput, N.S.; Alammari, A.A.; Nashwan, F. Federated learning meets intelligence reflection surface in drones for enabling 6G networks: Challenges and opportunities. IEEE Access 2023, 11, 130860–130887. [Google Scholar] [CrossRef]
  5. Liu, M.; Yang, J.; Gui, G. DSF-NOMA: UAV-Assisted Emergency Communication Technology in a Heterogeneous Internet of Things. IEEE Internet Things J. 2019, 6, 5508–5519. [Google Scholar] [CrossRef]
  6. Xu, J.; Ota, K.; Dong, M. LUNA: Lightweight UAV navigation based on airborne vision for disaster management. In Proceedings of the 2019 International conference on Internet of Things (iThings) and IEEE green computing and communications (GreenCom) and IEEE cyber, physical and social computing (CPSCom) and IEEE Smart Data (SmartData), Atlanta, GA, USA, 14–17 July 2019; IEEE: New York, NY, USA, 2019; pp. 315–322. [Google Scholar]
  7. Wang, J.; Zheng, T.; Lei, P.; Bai, X. Ground target classification in noisy SAR images using convolutional neural networks. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2018, 11, 4180–4192. [Google Scholar] [CrossRef]
  8. Xie, L.; Xu, J.; Zhang, R. Throughput maximization for UAV-enabled wireless powered communication networks. IEEE Internet Things J. 2018, 6, 1690–1703. [Google Scholar] [CrossRef]
  9. Li, T.; Sahu, A.K.; Zaheer, M.; Sanjabi, M.; Talwalkar, A.; Smith, V. Federated optimization in heterogeneous networks. Proc. Mach. Learn. Syst. 2020, 2, 429–450. [Google Scholar]
  10. Li, T.; Sanjabi, M.; Beirami, A.; Smith, V. Fair resource allocation in federated learning. arXiv 2019, arXiv:1905.10497. [Google Scholar]
  11. Hou, X.; Wang, J.; Jiang, C.; Zhang, X.; Ren, Y.; Debbah, M. UAV-enabled covert federated learning. IEEE Trans. Wirel. Commun. 2023, 22, 6793–6809. [Google Scholar] [CrossRef]
  12. Dang-Ngoc, H.; Nguyen, D.N.; Ho-Van, K.; Hoang, D.T.; Dutkiewicz, E.; Pham, Q.V.; Hwang, W.J. Secure swarm UAV-assisted communications with cooperative friendly jamming. IEEE Internet Things J. 2022, 9, 25596–25611. [Google Scholar] [CrossRef]
  13. Song, X.; Cheng, M.; Lei, L.; Yang, Y. Multi-Task and Multi-Objective Joint Resource Optimization for UAV-Assisted Air-Ground Integrated Networks under Emergency Scenarios. IEEE Internet Things J. 2023, 10, 20342–20357. [Google Scholar] [CrossRef]
  14. Wang, T.; Huang, X.; Wu, Y.; Qian, L.; Lin, B.; Su, Z. UAV Swarm-Assisted Two-Tier Hierarchical Federated Learning. IEEE Trans. Netw. Sci. Eng. 2023, 11, 943–956. [Google Scholar] [CrossRef]
  15. Zhang, T.; Xu, Y.; Loo, J.; Yang, D.; Xiao, L. Joint computation and communication design for UAV-assisted mobile edge computing in IoT. IEEE Trans. Ind. Inform. 2019, 16, 5505–5516. [Google Scholar] [CrossRef]
  16. Wang, Z.; Rong, H.; Jiang, H.; Xiao, Z.; Zeng, F. A load-balanced and energy-efficient navigation scheme for uav-mounted mobile edge computing. IEEE Trans. Netw. Sci. Eng. 2022, 9, 3659–3674. [Google Scholar] [CrossRef]
  17. Alzenad, M.; El-Keyi, A.; Yanikomeroglu, H. 3-D placement of an unmanned aerial vehicle base station for maximum coverage of users with different QoS requirements. IEEE Wirel. Commun. Lett. 2017, 7, 38–41. [Google Scholar] [CrossRef]
  18. Zeng, Y.; Zhang, R. Energy-efficient UAV communication with trajectory optimization. IEEE Trans. Wirel. Commun. 2017, 16, 3747–3760. [Google Scholar] [CrossRef]
  19. Wang, W.; Li, X.; Zhang, M.; Cumanan, K.; Ng, D.W.K.; Zhang, G.; Tang, J.; Dobre, O.A. Energy-constrained UAV-assisted secure communications with position optimization and cooperative jamming. IEEE Trans. Commun. 2020, 68, 4476–4489. [Google Scholar] [CrossRef]
  20. Xiong, Z.; Zhang, Y.; Lim, W.Y.B.; Kang, J.; Niyato, D.; Leung, C.; Miao, C. UAV-assisted wireless energy and data transfer with deep reinforcement learning. IEEE Trans. Cogn. Commun. Netw. 2020, 7, 85–99. [Google Scholar] [CrossRef]
  21. Zhang, L.; Celik, A.; Dang, S.; Shihada, B. Energy-efficient trajectory optimization for UAV-assisted IoT networks. IEEE Trans. Mob. Comput. 2021, 21, 4323–4337. [Google Scholar] [CrossRef]
  22. Liao, J.; Jiang, B.; Zhao, P.; Ning, L.; Chen, L. Unmanned Aerial Vehicle-Assisted Federated Learning Method Based on a Trusted Execution Environment. Electronics 2023, 12, 3938. [Google Scholar] [CrossRef]
  23. Zheng, J.; Li, K.; Tovar, E.; Guizani, M. Federated learning for energy-balanced client selection in mobile edge computing. In Proceedings of the 2021 International Wireless Communications and Mobile Computing (IWCMC), Harbin City, China, 28 June–2 July 2021; IEEE: New York, NY, USA, 2021; pp. 1942–1947. [Google Scholar]
  24. Chen, C.; Chiang, Y.H.; Lin, H.; Lui, J.C.; Ji, Y. Energy harvesting aware client selection for over-the-air federated learning. In Proceedings of the GLOBECOM 2022—2022 IEEE Global Communications Conference, Rio de Janeiro, Brazil, 4–8 December 2022; IEEE: New York, NY, USA, 2022; pp. 5069–5074. [Google Scholar]
  25. Zhao, J.; Feng, Y.; Chang, X.; Liu, C.H. Energy-efficient client selection in federated learning with heterogeneous data on edge. Peer-to-Peer Netw. Appl. 2022, 15, 1139–1151. [Google Scholar] [CrossRef]
  26. Han, S.; Zhang, C.; Wang, L.; Zheng, W.; Wen, X. FedECS: Client Selection for Optimizing Computing Energy in Federated Learning. In Proceedings of the 2023 IEEE 34th Annual International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC), Toronto, ON, Canada, 5–8 September 2023; IEEE: New York, NY, USA, 2023; pp. 1–6. [Google Scholar]
  27. Yoshida, N.; Nishio, T.; Morikura, M.; Yamamoto, K. MAB-based client selection for federated learning with uncertain resources in mobile networks. In Proceedings of the 2020 IEEE Globecom Workshops (GC Wkshps), Taipei, Taiwan, 7–11 December 2020; IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar]
  28. Banerjee, I.; Warnier, M.; Brazier, F.M.; Helbing, D. Introducing participatory fairness in emergency communication can support self-organization for survival. Sci. Rep. 2021, 11, 7209. [Google Scholar] [CrossRef]
  29. Hu, B.; Wang, L.; Chen, S.; Cui, J.; Chen, L. An uplink throughput optimization scheme for UAV-enabled urban emergency communications. IEEE Internet Things J. 2021, 9, 4291–4302. [Google Scholar] [CrossRef]
  30. Thantharate, P.; Thantharate, A.; Kulkarni, A. GREENSKY: A fair energy-aware optimization model for UAVs in next-generation wireless networks. Green Energy Intell. Transp. 2024, 3, 100130. [Google Scholar] [CrossRef]
  31. Zhu, H.; Yang, M.; Kuang, J.; Qian, H.; Zhou, Y. Client selection for asynchronous federated learning with fairness consideration. In Proceedings of the 2022 IEEE International Conference on Communications Workshops (ICC Workshops), Seoul, Republic of Korea, 16–20 May 2022; IEEE: New York, NY, USA, 2022; pp. 800–805. [Google Scholar]
  32. Jee Cho, Y.; Gupta, S.; Joshi, G.; Yağan, O. Bandit-based Communication-Efficient Client Selection Strategies for Federated Learning. In Proceedings of the 2020 54th Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 1–4 November 2020; pp. 1066–1069. [Google Scholar]
  33. Mozaffari, M.; Saad, W.; Bennis, M.; Nam, Y.H.; Debbah, M. A Tutorial on UAVs for Wireless Networks: Applications, Challenges, and Open Problems. IEEE Commun. Surv. Tutorials 2019, 21, 2334–2360. [Google Scholar] [CrossRef]
  34. Do, Q.V.; Pham, Q.V.; Hwang, W.J. Deep Reinforcement Learning for Energy-Efficient Federated Learning in UAV-Enabled Wireless Powered Networks. IEEE Commun. Lett. 2022, 26, 99–103. [Google Scholar] [CrossRef]
  35. Rahbari, D.; Alam, M.M.; Le Moullec, Y.; Jenihhin, M. Fast and fair computation offloading management in a swarm of drones using a rating-based federated learning approach. IEEE Access 2021, 9, 113832–113849. [Google Scholar] [CrossRef]
  36. Luo, Q.; Li, C.; Luan, T.H.; Shi, W.; Wu, W. Self-learning based computation offloading for internet of vehicles: Model and algorithm. IEEE Trans. Wirel. Commun. 2021, 20, 5913–5925. [Google Scholar] [CrossRef]
Figure 1. Data link description for terrestrial devices in emergency scenarios.
Figure 1. Data link description for terrestrial devices in emergency scenarios.
Sensors 24 01599 g001
Figure 2. Data link description for terrestrial devices in emergency scenarios.
Figure 2. Data link description for terrestrial devices in emergency scenarios.
Sensors 24 01599 g002
Figure 3. Comparisons of accuracy, energy and Jain for the three simulated user scheduling schemes on the MNIST dataset. (a) Testing accuracy versus global rounds T. (b) Testing accuracy versus total energy (J). (c) Comparison of global Jain metric.
Figure 3. Comparisons of accuracy, energy and Jain for the three simulated user scheduling schemes on the MNIST dataset. (a) Testing accuracy versus global rounds T. (b) Testing accuracy versus total energy (J). (c) Comparison of global Jain metric.
Sensors 24 01599 g003
Figure 4. Comparison of Jain metrics with changing three parameters on MNIST dataset. (a) Changing the total number of devices. (b) Changing fairness parameter a in function. (c) Changing selection ratios with M = 20 .
Figure 4. Comparison of Jain metrics with changing three parameters on MNIST dataset. (a) Changing the total number of devices. (b) Changing fairness parameter a in function. (c) Changing selection ratios with M = 20 .
Sensors 24 01599 g004
Table 1. Experimental parameters.
Table 1. Experimental parameters.
ParameterValueParameterValue
Number of terrestrial devices20Radius of area covered200 m
Energy budget400 JTransmit power of the UAV1.258 W
Number of subchannels10Received power of the UAV1.181 W
Bandwidth of subchannels1 M τ m a x 3 s
Transmit power of terrestrial devices(0.1 W, 0.3 W)a1
Received power of terrestrial devices(0.1 W, 0.3 W) α 0.6
Table 2. The simulation results of algorithms.
Table 2. The simulation results of algorithms.
AlgorithmAccuracyEnergy ConsumptionJain
Energy-oriented device selection83.34%231.62 J0.9694
Our selection91.06%246.65 J0.9995
Gossip selection80.35%373.19 J0.9891
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, C.; Shi, Y.; Zhao, H.; Chen, K.; Zhang, T.; Bao, C. A Fairness-Enhanced Federated Learning Scheduling Mechanism for UAV-Assisted Emergency Communication. Sensors 2024, 24, 1599. https://doi.org/10.3390/s24051599

AMA Style

Zhu C, Shi Y, Zhao H, Chen K, Zhang T, Bao C. A Fairness-Enhanced Federated Learning Scheduling Mechanism for UAV-Assisted Emergency Communication. Sensors. 2024; 24(5):1599. https://doi.org/10.3390/s24051599

Chicago/Turabian Style

Zhu, Chun, Ying Shi, Haitao Zhao, Keqi Chen, Tianyu Zhang, and Chongyu Bao. 2024. "A Fairness-Enhanced Federated Learning Scheduling Mechanism for UAV-Assisted Emergency Communication" Sensors 24, no. 5: 1599. https://doi.org/10.3390/s24051599

APA Style

Zhu, C., Shi, Y., Zhao, H., Chen, K., Zhang, T., & Bao, C. (2024). A Fairness-Enhanced Federated Learning Scheduling Mechanism for UAV-Assisted Emergency Communication. Sensors, 24(5), 1599. https://doi.org/10.3390/s24051599

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop