WorksEngineering
Heterogeneous Services in Multi-UAV Networks with No-Fly Zone and User Mobility
Abstract
In this paper, we investigate a wireless communication network supported by multiple uncrewed aerial vehicles (UAVs). To ensure reliable connectivity, UAVs are desired to approach the boundaries of designated no-fly zones (NFZs) without violating them when mobile users (MUs) enter NFZs. To support heterogeneous communication services, MUs are assigned different priority levels based on their individual communication types. Considering the practical constraints arising from user mobility, heterogeneous communication requirements, and NFZs, the objective is to maximize the weighted sum of MU communication rates, where weights correspond to MU priorities. This is achieved by jointly optimizing trajectory planning, UAV transmission power control, and the binary association factor between UAVs and MUs. To address this challenging optimization problem under dynamic constraints, we develop a soft actor-critic algorithm with prioritized experience replay, which learns an adaptive control policy. Numerical results show that the proposed algorithm outperforms benchmark schemes in terms of convergence speed and stability. Moreover, it effectively meets diverse communication requirements, satisfies UAV energy constraints, and ensures reliable operation under NFZ constraints.
Introduction
With the growing demand for high-quality wireless communications, uncrewed aerial vehicle (UAV)-based communication systems have garnered widespread attention across industry and academia. Due to the limited deployment capability of traditional terrestrial infrastructure, UAVs have emerged as a promising solution, offering high mobility and flexible deployment to dynamically adjust their positions for optimal communication coverage. With these advantages, UAVs play a vital role in applications such as autonomous driving, target localization, disaster relief, and public emergency events [1, 2, 3]. Consequently, UAVs are envisioned to overcome the limitations of conventional wireless networks by acting as flexible communication platforms, including mobile relays and airborne base stations (BSs). In particular, UAVs can act as airborne BSs to rapidly provide wireless services in emergency or unexpected scenarios [4, 5, 6].
In practical deployments, UAV-assisted communication systems often operate in environments with no-fly zones (NFZs). NFZs are typically designated for public safety, privacy, or national security reasons. In particular, mobile users (MUs)
may enter designated NFZs. For instance, in disaster recovery, UAVs must provide connectivity to affected MUs while avoiding hazardous areas such as fire zones or chemical leakages. Similarly, in urban surveillance, UAVs are frequently constrained near airports or government facilities. In such cases, MUs are often involved in different communication types, which leads to heterogeneous service demands. Therefore, it is essential to develop flexible communication frameworks that can adapt to heterogeneous requirements [7, 8]. In light of these challenges, this paper jointly considers user mobility and communication heterogeneity under NFZ constraints in both system modeling and algorithm design.
Previous Work
UAV Communications: To fully exploit the potential of UAV-assisted communication, numerous studies have focused on UAV trajectory optimization under various communication scenarios. Proper trajectory planning can effectively reduce the communication distances between UAVs and MUs, thereby significantly increasing the transmission rate. Given the complexity of the problem and the need for robustness, convex optimization techniques have become a powerful tool for UAV trajectory planning [9, 10, 11]. In [9], Yu et al. proposed employing a reconfigurable intelligent surface (RIS) to mitigate interference by alternately optimizing the UAV trajectory and RIS passive beamforming. Similarly, Jin et al. [10] investigated the throughput maximization problem by applying successive convex optimization techniques. Furthermore, Katwe et al. [11] investigated the throughput maximization problem in a multi-UAV communication system by applying successive convex approximation and a brute-force search algorithm. Recently, deep reinforcement learning (DRL) has received considerable attention, particularly for UAV trajectory planning under uncertain and dynamic communication conditions [12, 13, 14]. Liu et al. [12] proposed a multi-UAV control algorithm based on the deep deterministic policy gradient (DDPG) framework to improve energy efficiency. Zhao et al. [13] adopted a distributionally robust reinforcement learning (RL) approach to jointly optimize UAV trajectories as well as active and passive beamforming. Cao et al. [14] proposed a centralized training multi-agent soft actor–critic with the branch-and-cut algorithm to maximize system throughput and coverage, where each UAV and user is treated as an individual learning agent.
NFZ Constraints: In practical applications, UAV flight paths are often constrained by the geographic environment and therefore must be carefully designed. Several studies have incorporated NFZ constraints into UAV trajectory design [15, 16, 17, 18]. In particular, Wang et al. [15] considered
Table 1. Differences in Our Scheme Compared to the Most Relevant Schemes
constraints such as limited power resources, user quality-of-service (QoS) requirements, and NFZ avoidance, with the objective of maximizing the system sum-rate. However, their work was limited to a single-UAV scenario. In [16], Xu et al. investigated a practical multi-user multiple-input single-output UAV communication system under NFZ constraints. In [17], Li et al. studied resource allocation and trajectory design for secure UAV communication systems in the presence of cylindrical NFZs, with the objective of maximizing the average minimum secrecy rate per user. Heo et al. [18] proposed a joint optimization framework for UAV trajectory and communication resource allocation that completely avoids NFZs over the entire continuous trajectory. However, these studies neglect how UAV trajectories should be adaptively adjusted to maintain communication continuity when MUs move into NFZs.
Heterogeneous Requirements
Considering that MUs have diverse service demands in practical scenarios, several recent studies have addressed heterogeneous user requirements [19, 20, 21]. Zhang et al. [19] aimed to maximize the overall sum-rate of all users under constraints on each user’s QoS requirements and the total available resources. Wang et al. [20] categorized users into QoS-sensitive and QoS-tolerant groups according to their data rate requirements. In [21], Yu et al. investigated the joint optimization of three-dimensional (3D) UAV deployment and UAV selection for machine-type devices with heterogeneous data requirements, and proposed an air–ground collaborative deployment strategy to optimize user satisfaction. The distinctions between our proposed scheme and the relevant existing schemes are summarized in Table I. For brevity, the term UAV is used throughout this paper to refer to UAV BSs.
Motivations and Contributions
Although most existing studies have considered the restrictions imposed by NFZs on UAV flight, they largely overlook how UAVs should dynamically adapt their communication strategies when MUs enter these restricted areas. This reveals a gap between NFZ-aware trajectory design and communication adaptation to user mobility and heterogeneity. To bridge this gap, the main contributions of this work are summarized as follows:
We consider a multi-UAV-enabled wireless communication scenario, where UAVs act as airborne BSs. Considering user mobility and heterogeneous service requirements, MUs are classified into different priority levels according to their communication types. In addition, cylindrical NFZs are introduced, and their impact on UAV trajectory planning is analyzed. For system performance optimization, we formulate a joint problem to maximize the sum of priority rates across all MUs by jointly optimizing transmission power allocation, UAV trajectory planning, and binary UAV-MU association variables.
We formulate the problem of maximizing the sum of priority rates as a Markov decision process (MDP). To address the challenges posed by channel dynamics, heterogeneous service requirements, and user mobility, we employ a DRL algorithm based on the actor–critic framework, namely the soft actor–critic with prioritized experience replay (SAC-PER), to facilitate optimal decision-making.
Through simulations under various scenarios, we verify that, under the proposed constraints, UAVs can adaptively approach MUs located within NFZs to provide reliable communication while strictly avoiding NFZ boundaries. Consequently, the proposed scheme achieves higher efficiency and priority rates than benchmark schemes in all considered environments.
Organization
The rest of this paper is organized as follows. Section II presents the system model. Section III formulates the joint trajectory, power, and association optimization problem. Section IV develops the MDP-based SAC-PER algorithm. Section V presents the simulation results, and Section VI concludes the paper.
System Model
This section introduces the multi-UAV assisted communication system. The network model, UAV mobility model, communication model, and user mobility model are described in detail. Table II presents all the important symbols.
| Symbol | Meaning |
| The number of UAVs | |
| The number of MUs | |
| The number of NFZs | |
| The number of communication types | |
| The number of time slots | |
| The coordinate of UAV at time slot | |
| The coordinate of MU at time slot | |
| The center and radius of the NFZ | |
| Minimum safe distance between UAVs | |
| NFZ boundary safety distance | |
| Flight energy consumption of UAV | |
| Residual energy of UAV | |
| Battery capacity of UAV | |
| The transmission power of UAV to MU | |
| The matching indicator between MU and communication type | |
| Priority level of communication type | |
| The association factor between UAV and MU | |
| The transmission rate from UAV to MU |
Table II. IMPORTANT NOTATIONS OF OUR ARTICLE
Network Model
In this part, we investigate a UAV-assisted communication scenario that considers circular cylindrical NFZs. As illustrated in Figure 1, UAVs are explicitly prohibited from entering these NFZs to ensure safe and regulatory-compliant operation. The proposed system consists of UAVs and MUs. Each UAV is equipped with an aerial BS to provide communication services to MUs, which are spatially distributed across different locations. Let and denote the sets of UAV and MU indices, respectively. The UAV operates within the feasible region , where and represent the maximum boundaries of the flying area. The center and radius of the -th NFZ are denoted by and , respectively, where . A complete service cycle of each UAV is denoted by , which is uniformly divided into equal and non-overlapping time slots, each of duration , such that . Let denote the set of time slots.
Figure 1. Illustration of a multi-UAV-assisted communication system.
UAV Mobility Model
To ensure generality, we establish a 3D Cartesian coordinate system. The position of -th MU at time slot is given by . Similarly, the position of the -th UAV is denoted by . To conserve energy and avoid unnecessary consumption due to frequent altitude adjustments, all UAVs are considered to maintain an altitude fixed at throughout the operation. Each UAV initially takes off from a randomly selected position. In addition, we consider non-overlapping NFZs, which are randomly distributed and modeled as vertical cylindrical regions with a fixed altitude , satisfying . Considering real-world scenarios, the speed and acceleration of the UAVs should satisfy constraints
where denotes the maximum speed, and represents the maximum acceleration. The trajectory of the UAVs should satisfy
where is the minimum safety distance for UAVs flight. In practical scenarios, due to safety concerns, UAVs are not allowed to fly arbitrarily. Specifically, there are boundary and NFZ constraints. Therefore, considering these limitations, the UAV trajectory constraints can be expressed as
Specifically, when an MU is located outside an NFZ, the UAV only needs to ensure that (7) is satisfied. However, if the MU moves into the NFZ at a certain time slot , the UAV trajectory should be adjusted to maintain the communication quality. To address this issue, we introduce a safety distance from the NFZ boundary. In this case, the UAV is required to satisfy
if and .

Figure 2. UAV trajectories in different scenarios.
Fig. 2 illustrates the trajectory evolution of the UAV under different scenarios. Furthermore, to prevent a UAV from crossing an NFZ between discrete time steps, each time slot $\delta is practically divided into micro-slots. Spatial constraints, such as (8), are evaluated at these micro-intervals to strictly guarantee continuous safety.
The total energy consumption of a UAV consists of two main components. The first is the communication-related energy, which arises from radiation, signal processing, and other circuitry operations. The second is the propulsion energy, which is required to keep the UAV aloft and to support its mobility when necessary. It is worth noting that, in practice, the communication-related energy is usually negligible compared to the propulsion energy of UAVs [22], and is therefore ignored in this paper. When the UAVs are flying, the propulsion power consumption is modeled as
where and denote the power consumed by the UAV’s rotor blades and the induced power during hovering, respectively. Additionally, represents the average rotor velocity, refers to the air density, indicates the tip speed of the rotor blades, refers to the fuselage drag ratio, is the rotor area, and signifies the solidity of the rotor blade. Therefore, the flight energy consumption of the UAV at time slot can be calculated as
Communication Model
In this section, we assign priorities to MUs based on their communication types to accommodate diverse communication requirements. The communication types are indexed by , with the corresponding priority level denoted by . The matching indicator between MU and communication type at time slot is represented by
when , it indicates that MU belongs to communication type ; otherwise, . Constraint (12) represents that each MU can belong to only one communication type. To optimize communication performance, the system must reasonably assign UAVs to MUs for communication. The binary association factor between UAV and MU at time slot is defined as
when , it denotes that MU is connected to UAV at time slot , allowing communication to take place; otherwise, . Constraint (14) ensures that each MU is associated with exactly one UAV. In practical scenarios, the communication channels between MUs and UAVs are typically affected by various obstacles, including trees and buildings. Consequently, the channel link between UAV and MU is modeled as a probabilistic model that incorporates both line-of-sight (LoS) and non-line-of-sight (NLoS) components. Accordingly, the estimated channel state information (CSI) between UAV and MU at time slot is given by
where represents the channel power gain at the reference distance, is the path loss exponent, represents the distance between UAV and MU at time slot , and denotes the Rician factor. The NLoS channel coefficient between UAV and MU , denoted as , is modeled as a random vector with independent and identically distributed complex Gaussian variables with zero mean and unit variance, i.e., , and represent the LoS components. We assume that orthogonal frequency-division multiple access is employed, which inherently eliminates intra-UAV interference. Thus, only inter-UAV interference is considered. Accordingly, the resulting signal-to-interference-plus-noise ratio (SINR) can be expressed as
where denotes the noise power, and represents the transmission power of UAV to MU at time slot . The term denotes the total transmit power interfering UAV allocated to its associated MUs. Therefore, the transmission rate from UAV to MU at time slot is given by
where represents the channel bandwidth. Therefore, the sum of priority rates across all MUs is defined as
User Mobility Model
To better adapt to realistic scenarios, this paper adopts the recurrent self-similar Gauss-Markov (RSSGM) model to characterize user movement [23]. The RSSGM model effectively and accurately fits movement trajectories by combining historical states with a Gaussian distribution, adapting to different environments while providing efficient computation and prediction capabilities. In addition, Gaussian noise is introduced to smooth the motion trajectories, making them more similar to typical mobility patterns observed in everyday human activities.
1) Speed Update: The speed of MU is updated intermittently over time to reflect realistic movement behavior. The update rule is given by
where denotes the speed of MU at time slot . The parameter , referred to as the speed relevance factor, satisfies , and governs the degree of speed persistence. A larger indicates stronger inertia, resulting in smoother and more continuous movement; conversely, when , the velocity becomes memoryless, resembling a pure random walk. The term represents a randomly generated speed uniformly sampled from the interval , while denotes zero-mean Gaussian noise with variance , i.e., . The factor normalizes the impact of noise based on the chosen persistence level.
Direction Update: The moving direction of MU also evolves over time and is modeled using a Markov process to reflect temporal continuity. The direction is updated as
where denotes the movement direction of MU at time slot . The term represents a Gaussian random variable with zero mean and variance , used to introduce randomness in directional changes. To prevent abrupt or physically unrealistic turns, the function restricts the perturbation to the interval , where . This constraint ensures that direction variations remain within a reasonable range, producing smoother trajectories that align with human mobility patterns.
User Position Update: Based on the updates of speed and direction, the position is expressed as
where represents the direction vector of the -th MU at time slot . This RSSGM-based mobility framework captures both spatial continuity and temporal correlation, which makes it well-suited for simulating realistic movement patterns in dynamic wireless communication scenarios.
Limitations and Extensions
For analytical tractability, the system model adopts several simplifying assumptions, including a fixed UAV altitude and perfect CSI. In practice, altitude control and imperfect CSI can be accommodated by augmenting the state with altitude dynamics and CSI uncertainty, and by employing robust or risk-sensitive control strategies.
Problem Formulation
We aim to optimize the UAV trajectories over the given time horizon. As indicated by (4), the UAV trajectories are governed by the acceleration dynamics. Therefore, we introduce the acceleration vector as the decision variable. Based on equation (17), we further consider a joint optimization framework that involves the UAV acceleration , the UAV power allocation , and the binary association variables between MUs and UAVs , with the objective of maximizing the sum of priority rates across all MUs. Accordingly, the optimization problem can be formulated as follows:
Constraints (1) and (2) restrict the speed and acceleration of the UAV movement. Constraint (5) ensures a minimum safety distance between UAVs to prevent collisions. Constraint (6) defines the rectangular boundaries of the UAV flight area. Constraint (7) represents the limitation imposed by NFZs on UAV flight paths. Constraint (8) imposes a specific flight trajectory restriction on the associated UAV when its served MU moves into an NFZ. Constraints (13) and (14) ensure that each MU can be associated with at exactly one UAV. Constraint (22c) couples the transmit power with the UAV-MU association variable, ensuring that when MU is not associated with UAV , while allowing power allocation only for associated UAV-MU pairs. Constraint (22d) limits the transmission power of the UAV in each time slot, which is limited by the maximum allowed power . Finally, constraint (22e) requires the remaining energy of each UAV to be nonnegative, where .
Problem Solution
Problem (22) formulates a mixed-integer nonlinear programming problem, which is inherently non-deterministic polynomial (NP)-hard and thus exhibits significant computational complexity. Specifically, this problem involves two categories of decision variables: the continuous vectors, namely the power vector and the acceleration vector , and the discrete binary indicator variable . Moreover, the nonlinear characteristics of the objective function together with constraints (22d) and (22e) further exacerbate the problem complexity. Although various convex optimization techniques can be applied to transform the problem into a convex form for tractable solutions, the resulting computational overhead severely degrades the system performance, which is unacceptable in UAV-assisted communication scenarios.
SAC is a DRL algorithm built upon the policy gradient framework. Unlike traditional optimization methods such as linear programming, DRL does not rely on complex mathematical modeling and is therefore particularly suitable for addressing NP-hard problems such as (22). Motivated by this, we adopt SAC-PER to solve the proposed problem, as it offers high sample efficiency and strong exploration capability in high-dimensional continuous control tasks. These properties make SAC particularly effective for optimizing continuous decision variables and allow the incorporation of discrete components through appropriate action-space design. In addition, the replay buffer mechanism in SAC enables efficient reuse of historical experiences, thereby improving adaptability to dynamic channel variations and time-varying system states.
Modeling of MDP
Before delving into the design of RL algorithms, we first model the formulated problem using the MDP framework. The MDP is formulated as a quintuple , where and denote the state and action spaces, respectively, denotes the state transition probability, specifies the reward function, and is the discount factor. Let denote the state-action trajectory distribution following the policy . At each time slot, the agent selects an action following the policy , which transforms the state and obtains the reward from the environment. To maximize the sum of priority rates, the design of the state, action, and reward functions is of critical importance, and their detailed descriptions are provided below.
1) State: The environmental state observed by the agent consists of the following parameters:
a) The position of UAVs .
b) The position of MUs .
c) The residual energy of UAVs at time slot is denoted .
d) The speed of UAVs, denoted as .
e) The communication type matching factor .
2) Action: In reinforcement learning, the agent interacts with the environment by outputting actions at each time slot. Therefore, the optimization process is essentially equivalent to learning a policy that maps the observed states to actions, which makes the optimization variables identical to the action space. Based on the received state , the agent selects the corresponding action , with the action parameters specified as follows:
a) The acceleration magnitude and direction of UAVs, denoted as , where represents the acceleration and represents the change in the direction of UAVs.
b) The transmission power from UAVs to MUs, denoted as .
c) The communication association indicator for MUs is denoted as . According to the policy model, the binary UAV-MU association variable for each MU is determined as
where denotes the continuous output score of the policy model. This guarantees that each MU is associated with only one UAV at each time slot.
3) Reward: According to (22), the objective of designing the UAV trajectory, transmit power, and association decisions is to maximize the sum of priority rates over the time slot . Since the reward in the guided learning process should be consistent with this objective, we simply include the instantaneous sum-rate of all MUs at each time slot, given by in the reward function. The reward function is defined to account for various penalty scenarios, the reward is calculated as
where boundary penalty is expressed as
where denotes the minimum Euclidean distance from the UAV position to the region . The NFZ penalty is defined as
where denotes the distance from UAV to the boundary of NFZ . The collision penalty is given by
The NFZ-approaching reward is expressed as
where is an indicator function that equals 1 if MU is located inside NFZ at time slot (i.e., ), and 0 otherwise. It should be noted that the parameters , , , , and must be carefully tuned to ensure convergence and achieve the desired performance.
SAC-Based Algorithm
The architecture of SAC consists primarily of the following components: an actor network (policy network), critic networks (value networks), a temperature parameter that balances exploration and exploitation, and a replay buffer for experience storage and reuse. The training framework of SAC-PER is illustrated in Figure 3.
Figure 3. The SAC-PER framework.
1) SAC-based Framework: Our UAV control problem involves (i) continuous action spaces, (ii) exploration under safety constraints, and (iii) the spatial mobility and requirement heterogeneity of MUs. SAC is well suited to such settings because it couples off-policy data efficiency with maximum-entropy exploration, yielding robust optimization in continuous domains. The entropy term discourages premature exploitation and improves robustness to reward shaping and variations in dynamics [24]. Concretely, SAC optimizes the entropy-regularized return
where denotes the entropy of the policy, defined as
which reflects the degree of randomness in action selection. The temperature parameter regulates the trade-off between exploration and exploitation by adaptively tuning the stochasticity of the policy. To mitigate the overestimation bias in Q-value estimation, the SAC algorithm incorporates Twin Q-learning for updating the state-action value function. Specifically, the two Q-networks, denoted as and , are used to compute the target Q-value as follows:
where is the discount factor that controls the weight of future rewards, while the target value utilizes the minimum of the two Q-values to mitigate overestimation risk. The term acts as an entropy regularizer to enhance exploration. The Q-network loss function is defined as
where is the replay buffer, which stores historical data for training. SAC uses a Gaussian policy, where the policy parameter is optimized by maximizing the expected advantage function, which involves optimizing the expected return and minimizing the value function bias. This objective can be expressed as
where regulates the policy entropy, encouraging sufficient exploration, while represents the estimated expected return under the current policy.
2) Temperature Parameter Adjustment: The temperature parameter in SAC plays a critical role, as it governs the balance between exploration and exploitation by modulating the trade-off between reward maximization and policy entropy. In the early stages of training, SAC encourages extensive exploration by adopting a relatively large value of . As training advances, this value is gradually reduced, leading to more deterministic behavior and improved policy stability. To achieve a dynamic balance throughout training, SAC introduces an automatic temperature adjustment mechanism, which optimizes by minimizing the following objective:
where denotes the minimum entropy constraint at each time slot. SAC updates via gradient descent as follows:
where is the learning rate.
3) Prioritized Experience Replay (PER): In RL training, the traditional experience replay buffer uses a uniform sampling strategy. While this method improves data reuse, it overlooks the varying importance of individual experiences during policy updates, which can lead to suboptimal learning efficiency. To address this limitation, this paper employs PER to improve the training process of SAC. PER assigns a priority value to each sampled experience, thereby increasing the sampling probability of experiences considered more important. The temporal difference (TD) error quantifies the discrepancy between the predicted and target Q-values, computed as
a larger TD-error indicates a greater potential impact on policy improvement, and accordingly, such samples are replayed more frequently to accelerate learning convergence. Therefore, the probability of prioritized sampling is defined as
where denotes the priority assigned to sample , and is a small positive constant introduced to avoid the assignment of zero priority, ensuring that all experiences have a non-zero chance of being sampled. The parameter serves as a control variable that adjusts the level of prioritization, balancing the impact of high-priority samples during the learning process. In addition, to mitigate sampling bias introduced by non-uniform sampling, PER incorporates importance sampling (IS) to adjust the sample weights, thereby promoting stable and unbiased training. The IS weight corresponding to sample is defined as
where denotes the size of the replay buffer, and is a tunable parameter that governs the strength of the importance sampling correction. Typically, is annealed from 0 to 1 throughout the training process to gradually compensate for the bias while maintaining stability.
By integrating PER into the SAC framework, the convergence efficiency is significantly improved, resulting in enhanced policy stability and adaptability in dynamic environments. This integration is particularly beneficial in RL scenarios involving complex tasks, including trajectory planning and power allocation. Algorithm 1 summarizes the proposed SAC-PER algorithm.
Algorithm 1 Our proposed SAC-PER algorithm
Initialize environment.
Initialize critic networks (), actor network .
Initialize hyperparameters: entropy level , learning rate, temperature parameter , discount factor , replay buffer .
for each episode do
for each environment step do
Observe initial state , select action according to current policy: , execute action .
Transition to next state , calculate reward , store tuple in .
if samples in exceed buffer size then
for do
Sample with probability .
Compute importance sampling by (38).
Compute TD-error by (36).
Update priority by (37).
end for
end if
end for
for each gradient step do
Compute target value using (31).
Update critic networks by minimizing loss (32): , .
Update actor network by minimizing policy loss (33): .
Update temperature parameter to adjust entropy (35).
end for
end for
return Optimal policy
Complexity Analysis
In the SAC-PER algorithm, the training time of the deep neural networks, specifically the actor and critic networks, constitutes the primary source of computational complexity. During the training process, each iteration operates on a minibatch of samples, denoted by . Accordingly, the computational complexity of performing gradient descent updates for both the critic and actor networks is determined by the size of and the respective network architectures.
where represents the number of neurons in the -th layer of the actor network, and represents the number of neurons in the -th layer of the critic network. This expression reflects the total computational cost involved in gradient calculations during each training step. The variables and correspond to the number of fully connected layers in the actor and critic networks, respectively. Therefore, the computational complexity of a single epsilon-step is characterized by the batch size and the model complexity, and is given by
where represents the total number of training episodes. Based on the analysis above, it is clear that the computational complexity of the SAC-PER algorithm mainly arises from the gradient computation and parameter updates during the training of the actor and critic networks. Specifically, the complexity associated with gradient backpropagation is directly related to the number of neurons in each layer of the deep neural networks. In practical applications, optimizing the network architecture, such as using layer reduction and parameter sharing techniques, can significantly alleviate the overall communication load.
Simulation Results
In this section, the performance of the proposed SAC-PER algorithm is evaluated using the sum of priority rates as the main performance metric. To ensure a fair and comprehensive comparison, the following benchmark algorithms are considered:
PPO (Proximal Policy Optimization): PPO has emerged as one of the most widely adopted and reliable DRL algorithms due to its robustness and rapid convergence properties [25, 26]. In contrast to conventional methods, PPO employs a stochastic policy and leverages distribution-based policy updates, which contribute to improved training stability and sample efficiency. By effectively balancing the trade-off between exploration and exploitation, PPO substantially enhances the practical performance of DRL. However, PPO is sensitive to hyperparameter choices, and improper tuning can result in suboptimal performance.
DDPG: DDPG is a DRL algorithm that integrates deterministic policy gradients and is specifically tailored for tasks characterized by high-dimensional state spaces and continuous action domains [27]. Unlike stochastic methods, DDPG generates deterministic actions directly, thereby improving computational efficiency and decision-making precision. However, DDPG, while suitable for continuous control, tends to be unstable.
Fixed UAVs Scheme: In this scheme, the UAVs are deployed at predetermined optimal locations and remain stationary throughout the mission, without undergoing any positional adjustments.
No-priority Scheme: This scheme assumes that all MUs belong to the same type, without considering differences in MU demands.
Simulation Setup
The simulation setup is as follows. The initial positions of both UAVs and MUs are randomly distributed. The UAVs operate at a fixed altitude of 100 m within a horizontal area of [500, 500] m. The hyperparameters of the SAC algorithm are as follows [8]: the episode length is set to 1000 steps, and the maximum number of training episodes is . The replay buffer stores up to transitions. To improve sampling efficiency, PER is implemented with a priority exponent of , an initial importance sampling weight of , and a small constant to prevent zero sampling probabilities. The actor and critic networks are trained with learning rates of and , respectively. The discount factor is set to , while the target smoothing coefficient and entropy coefficient are chosen as and to stabilize learning and encourage exploration. Each update uses a batch of 256 samples. Both networks have two hidden layers with sizes and employ the ReLU activation function.
The MUs move within this area following the RSSGM. The implementation is carried out in Python 3.11.10, with PyTorch 2.3.1 as the core deep learning framework. To ensure the credibility of the results, we conducted three independent training runs under different random seeds. The simulation parameters are summarized in Table III.
| Parameter | Value |
| Time period | 200 s |
| Bandwidth | Hz |
| Channel power gain | dB |
| Path-loss factor | |
| Rician factor | 10 |
| Time slot | 1 s |
| Noise power | dBm |
| UAV’s flight altitude | 100 m |
| NFZ’s altitude | 150 m |
| Maximum UAV’s acceleration | 5 m/s |
| Maximum UAV’s speed | 20 m/s |
| Maximum UAV’s transmission power | 0.5 W |
| UAV battery capacity | J |
| Blade power | 59.03 W |
| Hovering power | 79.07 W |
| Rotor average speed | 3.6 m/s |
| Blade tip speed | 120 m/s |
| Rotor area | 0.5030 m |
| UAV’s safety distance | 3 m |
| NFZ’s boundary safety distance | 10 m |
| NFZ radius | 30 m |
| Priority weights | |
| Reward coefficients | |
| Inertia coefficient | 0.85 |
| MU’s speed range | m/s |
Table III. System parameters.
Performance Evaluation
Convergence
Fig. 4(a) illustrates the convergence performance of SAC-PER through a comparative analysis with PPO and DDPG. It can be observed that all algorithms exhibit increasing reward values as training progresses, confirming the applicability of DRL techniques to complex communication environments. However, the convergence speed, stability, and reward performance of different algorithms vary significantly. As the agent gradually learns effective policies, SAC-PER
Figure 4a. The convergence performance of different algorithms.
Figure 4b. The performance of SAC and SAC-PER algorithms.
fig:4. The performance evaluation of the proposed algorithm.
starts to converge around 100K steps and subsequently stabilizes within a bounded range. In contrast, PPO exhibits a relatively slower convergence speed, and the final reward achieved is smaller than that of SAC-PER. Moreover, DDPG fails to exhibit effective convergence throughout the entire training period. In summary, SAC-PER demonstrates strong convergence efficiency and improved performance in complex DRL tasks, confirming its effectiveness and superiority over conventional RL methods.
Fig. 4(b) illustrates the performance comparison between the SAC and the proposed SAC-PER algorithm. It can be observed that SAC-PER achieves significantly faster convergence than SAC and reaches a comparable performance level within fewer training steps. In addition, SAC-PER not only accelerates the convergence process but also exhibits higher stability and a slightly better final reward. These observations confirm that the prioritized sampling mechanism in PER enables the agent to focus more effectively on informative transitions, thereby enhancing both the learning efficiency and the overall performance. In the implementation, the mean performance across multiple runs is depicted by the solid curve, whereas the shaded region corresponds to the variance.
Trajectories
Figure 5 illustrates the trajectories of MUs and UAVs under two settings. As shown in Figure 5(a) and Figure 5(b), with 15 MUs and 3 UAVs, the UAVs progressively reposition toward clusters of active MUs, adapting to the MUs’ spatial distribution. When certain MUs enter NFZs, the UAVs maneuver along the NFZ boundaries to preserve communication quality while remaining outside the restricted airspace. Figure 5(c) and Figure 5(d) depict the extended scenario introduced earlier. It can be observed that, while strictly avoiding NFZs, the UAVs gravitate toward MU-dense regions, thereby sustaining the aggregate communication rate.
Figure 5. Trajectories of UAVs and MUs in different scenarios.
3) Scalability: To examine the scalability of the proposed scheme, we evaluate its performance under different MU numbers and compare it with baseline methods. As shown in Figure 6, when the number of MUs is small, all schemes achieve higher sum-rates because each MU can be allocated a larger share of the total transmit power, which enhances link quality. As the MU population grows, however, the transmit power must be divided among more MUs, leading to reduced per-MU SINR. As a result, the increase in the overall sum-rate slows down and eventually tends to saturate.
Figure 6. The sum-rate versus the number of MUs .
As depicted in Figure 7, the achievable sum-rate increases with
Figure 7. The sum-rate versus the number of UAVs .
the number of UAVs. This is because denser UAV deployment reduces the average UAV-MU distance and enhances spatial diversity, thereby improving link quality and spectrum utilization. Consequently, the system exhibits a notable performance gain. Furthermore, the proposed scheme consistently outperforms the benchmark approaches in all scenarios, highlighting its robustness and scalability in dynamic multi-MU environments.
4) Sensitivity: To compare the performance of the proposed scheme with conventional methods, we further evaluate the total transmission rates achieved under different flight altitudes of the UAV, as illustrated in Figure 8. When the UAV’s altitude is set to 60 m, the proposed scheme exhibits a clear performance advantage. This improvement is primarily due to the reduced distance between UAVs and MUs, which enhances channel quality and thereby increases the sum-rate. In contrast, fixed-position UAVs lack adaptability to dynamic environmental conditions, leading to suboptimal performance compared to the proposed adaptive approach. Moreover, since conventional schemes do not consider communication priorities, resource allocation may be inefficient, with UAVs potentially serving lower priority MUs, which further degrades system performance. In contrast, the proposed SAC-PER method optimizes in continuous spaces, offering a more flexible and efficient solution, demonstrating its superiority under time-varying channel conditions.

Figure 8. The sum-rate versus the altitude of UAV.
(a) The sum-rate versus the number of NFZs.
(b) The sum-rate versus the radius of NFZs.
Figure 9. The impact of NFZ spatial constraints on the system sum-rate.
Fig. 9 evaluates the impact of spatial constraints on system performance by varying the number and radius of NFZs. A consistent degradation in the sum-rate is observed across all schemes in both scenarios. Specifically, as shown in Figure 9a, a higher density of NFZs reduces the feasible flying space and increases the probability of NLoS links. Similarly, Figure 9b illustrates that expanding the NFZ radius further shrinks the available airspace, compelling UAVs to bypass spatially optimal communication spots to strictly satisfy collision-avoidance constraints. Fundamentally, whether through increased density or enlarged boundaries, the expanded restricted regions force UAV spatial displacements that directly compromise the overall transmission performance.
As depicted in Figure 10, the proposed scheme achieves the highest total transmission rate compared to the baselines across varying numbers of communication types. However, an overall decline in the unweighted sum-rate is observed as the number of communication types grows. An increased variance in priority classifications inherently drives the DRL agent to
(a)
Figure 10. The sum-rate versus the number of communication types .
favor high-priority MUs. By skewing spatial proximity and transmit power toward these critical users to maximize the weighted reward, the UAVs deviate from the spatial optimal locations required to maximize the overall average channel gain, thereby reducing the unweighted sum-rate.
Conclusion
In this paper, we have investigated a multi-UAV-assisted communication system. Unlike prior studies, the proposed framework has allowed MUs to enter NFZs and has assigned different communication priorities according to their heterogeneous service requirements. To address the challenges posed by user mobility, diverse communication demands, and NFZ constraints, we have jointly optimized the transmit power allocation, the trajectory planning of UAVs, and the binary association factor between MUs and UAVs, aiming to maximize the weighted sum-rate based on MU priority levels. Due to the strong coupling among these variables, we have employed SAC-PER and an iterative algorithm to solve the original optimization problem. Simulation results have verified that the proposed method has significantly enhanced the sum-rate and has achieved superior performance in terms of convergence speed and training stability compared with baseline algorithms. Future work may explore joint 3D path planning, decentralized multi-agent DRL for more scalable UAV cooperation, and the integration of strict service-specific QoS constraints to further enhance system reliability.
References
- [1]C. Liu and K. Liu, “Toward reliable DNN-based task partitioning and offloading in vehicular edge computing,” IEEE Trans. Consum. Electron., vol. 70, no. 1, pp. 3349–3360, Feb. 2024.DOI
- [2]X. Jing, F. Liu, C. Masouros, and Y. Zeng, “ISAC from the sky: UAV trajectory design for joint communication and target localization,” IEEE Trans. Wireless Commun., vol. 23, no. 10, pp. 12 857–12 872, Oct. 2024.arxiv.org/abs/2207.02904
- [3]N. L. Prasad and B. Ramkummar, “3-D deployment and trajectory planning for relay based UAV assisted cooperative communication for emergency scenarios using Dijkstra’s algorithm,” IEEE Trans. Veh. Technol., vol. 72, no. 4, pp. 5049–5063, Apr. 2023.DOI
- [4]S. Yin, L. Li, and F. R. Yu, “Resource allocation and basestation placement in downlink cellular networks assisted by multiple wireless powered UAVs,” IEEE Trans. Veh. Technol., vol. 62, no. 2, pp. 2171–2184, Feb. 2022.
- [5]Y. Zhang, X. Hou, G. Du, Q. Li, M. Ahmad Jan, A. Jolfaei, and M. Usman, “Machine learning-based reliable transmission for UAV networks with hybrid multiple access,” IEEE Trans. Netw. Service Manag., vol. 22, no. 1, pp. 139–150, Aug. 2025.DOI
- [6]H. Cao, N. Kumar, L. Yang, M. Guizani, and F. R. Yu, “Resource orchestration and allocation of E2E slices in softwareized UAVs-assisted 6G terrestrial networks,” IEEE Trans. Netw. Service Manag., vol. 21, no. 1, pp. 1032–1047, Feb. 2024.DOI
- [7]Q. Wang, X. Chen, and Q. Qi, “Task-driven robust integration of communication and computation for edge-intelligent networks,” IEEE Trans. Commun., vol. 71, no. 1, pp. 244–255, Jan. 2023.DOI
- [8]B. Li, R. Yang, L. Liu, and C. Wu, “Service placement and trajectory design for heterogeneous tasks in multi-UAV edge computing networks,” IEEE Internet Things J., vol. 12, no. 8, pp. 9360–9371, Aug. 2025.DOI
- [9]Y. Yu, X. Liu, Z. Liu, and T. S. Dourani, “Joint trajectory and resource optimization for RIS assisted UAV cognitive radio,” IEEE Trans. Veh. Technol., vol. 72, no. 10, pp. 13 643–13 648, Oct. 2023.DOI
- [10]J. Jin, Y. Xu, L. Xiao, T. Zhang, and D. Yang, “3D trajectory design and resource management for UAV-assisted multi-user two-way transmission system,” Vehicular Communications, vol. 38, pp. 2214–2096, Dec. 2022.DOI
- [11]M. Katwe, K. Singh, P. K. Sharma, C.-P. Li, and Z. Ding, “Dynamic user clustering and optimal power allocation in UAV-assisted full-duplex hybrid NOMA system,” IEEE Trans. Wireless Commun., vol. 21, no. 4, pp. 2573–2590, Apr. 2022.DOI
- [12]C. H. Liu, Z. Chen, J. Tang, J. Xu, and C. Piao, “Energy-efficient UAV control for effective and fair communication coverage: A deep reinforcement learning approach,” IEEE J. Sel. Areas Commun., vol. 36, no. 9, pp. 2059–2070, Sep. 2018.DOI
- [13]J. Zhao, Y. Zhu, X. Mu, K. Cai, Y. Liu, and L. Hanzo, “Simultaneously transmitting and reflecting reconfigurable intelligent surface (STAR-RIS) assisted UAV communications,” IEEE J. Sel. Areas Commun., vol. 40, no. 10, pp. 3041–3056, Oct. 2022.DOI
- [14]Y. Cao, Y. Luo, H. Yang, and C. Luo, “UAV-based emergency communications: An iterative two-stage multiagent soft actor–critic approach for optimal association and dynamic deployment,” IEEE Internet Things J., vol. 11, no. 16, pp. 26110–26 622, Aug. 2024.DOI
- [15]J. Wang, H. Zhang, X. Zhou, and D. Yuan, “UAV-assisted wireless networks: Mobility and service oriented power allocation and trajectory design,” IEEE Trans. Veh. Technol., vol. 73, no. 11, pp. 17 373–17 383, Nov. 2024.DOI
- [16]D. Xu, Y. Sun, D. W. K. Ng, and R. Schober, “Multiuser MISO UAV communications in uncertain environments with no-fly zones: Robust trajectory and resource allocation design,” IEEE Trans. Commun., vol. 68, no. 5, pp. 3153–3172, Jan. 2020.arxiv.org/abs/1905.10731
- [17]R. Li, Z. Wei, L. Yang, D. W. K. Ng, J. Yuan, and J. An, “Resource allocation for secure multi-UAV communication systems with multi-eavesdropper,” IEEE Trans. Commun., vol. 68, no. 7, pp. 4490–4506, Mar. 2020.arxiv.org/abs/2003.07014
- [18]K. Heo, G. Park, and K. Lee, “Joint optimization of UAV trajectory and communication resources with complete avoidance of no-fly-zones,” IEEE Trans. Intell. Transp. Syst., vol. 25, no. 10, pp. 14 259–14 265, Oct. 2024.DOI
- [19]S. Zhang, W. Liu, and N. Ansari, “On tethered UAV-assisted heterogeneous network,” IEEE Trans. Veh. Technol., vol. 71, no. 1, pp. 975–983, Jan. 2022.DOI
- [20]J. Wang, C. Jiang, Z. Wei, C. Pan, H. Zhang, and Y. Ren, “Joint UAV hovering altitude and power control for space-air-ground IoT networks,” IEEE Internet Things J., vol. 6, no. 2, pp. 1741–1753, Apr. 2019.DOI
- [21]X. Xu, D. Wu, D. Liu, H. Wang, and Z. Qin, “The heterogeneous demands satisfaction in IoT network: Air-ground collaborative deployment,” IEEE Trans. Veh. Technol., vol. 70, no. 12, pp. 12 713–12 724, Oct. 2021.
- [22]Y. Zeng and R. Zhang, “Energy-efficient UAV communication with trajectory optimization,” IEEE Trans. Wireless Commun., vol. 16, no. 6, pp. 3747–3760, Jun. 2017.arxiv.org/abs/1608.01828
- [23]M. J. F. Alenaizi, S. O. Abbas, S. Almowuena, and M. Alsabaan, “RSSGM: Recurrent self-similar Gauss–Markov mobility model,” Electronics, vol. 9, no. 12, pp. 2089–2104, Oct. 2020.
- [24]T. Haarnoja, A. Zhou, P. Abbeel, and S. Levine, “Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor,” ArXiv, vol. abs/1812.01290, 2018.
- [25]C. Shang, Y. Sun, H. Luo, and M. Guizani, “Computation offloading and resource allocation in NOMA–MEC: A deep reinforcement learningDOI
- [26]B. Peng, Y. Xie, G. Seco-Granados, H. Wymeersch, and E. A. Jorswieck, “Communication scheduling by deep reinforcement learning for remote traffic state estimation with Bayesian inference,” IEEE Trans. Veh. Technol., vol. 71, no. 4, pp. 4287–4300, Apr. 2022.DOI
- [27]P.-H. Chou, B.-R. Zheng, W.-J. Huang, W. Saad, Y. Tsao, and R. Y. Chang, “Deep reinforcement learning-based precoding for multi-RIS-aided multiuser downlink systems with practical phase shift,” IEEE Wireless Commun. Lett., vol. 14, no. 1, pp. 23–27, Jan. 2025.












