Next Article in Journal
Predefined-Time Sliding Mode Control of Robotic Manipulators via Artificial Delay Feedback and Reinforcement Learning
Previous Article in Journal
Frequency-Aware Refinement Network with Multi-Scale Fusion for Remote Sensing Change Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Joint Optimization of Trajectory-Resource Allocation and Deep Task Partial Offloading for MEC-Enabled Multi-UAV

1
School of Computer Science, Sichuan University, Chengdu 610065, China
2
School of Aeronautics and Astronautics, University of Electronic Science and Technology of China, Chengdu 611731, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(11), 3540; https://doi.org/10.3390/s26113540
Submission received: 29 April 2026 / Revised: 27 May 2026 / Accepted: 28 May 2026 / Published: 3 June 2026
(This article belongs to the Section Communications)

Abstract

Currently, multiple unmanned aerial vehicles (UAVs) can cooperatively work as mobile edge computing (MEC) servers in the sky to provide computation services to ground terminals (GTs). Such an MEC-enabled multi-UAV system will greatly benefit the GTs, each of which can offload its tasks on demand to a nearby UAV. In particular, if a GT has to process computation-intensive deep learning tasks in a catastrophic environment, it can partially offload these tasks to UAVs using a scheme like Partial Program Offloading (PPO). This ensures the quick processing of the deep learning tasks while saving computing resources on both the GT and UAV sides. Nevertheless, UAV–GT offloading links are frequently blocked by ground obstacles in complicated environments, and individual UAVs may have limited computation capacity. Moreover, UAVs lack a constant propulsion energy supply to sustain a long mission time. All these factors lead to a degraded Quality of Service (QoS) for GTs in terms of task latency. To address this issue, we propose to jointly optimize the UAV trajectories, computing resource allocation, and the partial offloading of deep learning tasks. The formulated joint optimization problem is challenging to solve optimally, as it is non-convex and involves multiple coupled constraints. We propose utilizing the Successive Convex Approximation (SCA) method alongside a Block Coordinate Descent (BCD) approach to tackle this joint problem. Numerical results demonstrate that the proposed joint optimization scheme significantly outperforms the benchmark solutions.

1. Introduction

Unmanned aerial vehicles (UAVs) have been increasingly deployed in diverse domains, including surveillance, disaster response, and wireless communications [1,2]. In the context of wireless networks, UAVs offer unique advantages over fixed terrestrial infrastructure: they can be rapidly deployed in three-dimensional space, dynamically adjust their positions to establish favorable line-of-sight (LoS) links with ground terminals (GTs), and serve as mobile edge computing (MEC) servers to process computation-intensive tasks on behalf of resource-constrained GTs. This MEC-enabled multi-UAV paradigm is particularly valuable in time-critical scenarios—such as post-disaster search and rescue—where GTs must execute deep learning tasks (e.g., real-time object recognition for locating trapped personnel) under stringent latency constraints but lack sufficient local computing power.
However, realizing efficient MEC-enabled multi-UAV systems requires addressing several tightly coupled challenges that existing works have not jointly resolved. First, UAV–GT communication links in urban or cluttered environments are frequently obstructed by ground obstacles, causing significant path loss variations that depend on the UAV’s instantaneous position relative to each GT [3,4]. Second, UAV propulsion energy is strictly limited, and the flight trajectory directly determines both the communication link quality and the energy budget available for computation services [5]. Third, deep learning tasks possess a unique sequential layer-wise structure: unlike general computation tasks that can be treated as indivisible units, deep neural networks (DNNs) can be partitioned at intermediate layers, enabling partial offloading where the front layers execute locally and the remaining layers execute on the UAV. This Partial Program Offloading (PPO) introduces additional coupling between the offloading ratio, the required uplink data volume (including intermediate results), and the UAV’s computing resource allocation. These interdependencies—trajectory affecting link quality, link quality constraining offloading feasibility, offloading ratio determining computing demands, and computing demands influencing energy consumption—form a complex joint optimization problem that cannot be decomposed into independent subproblems.
Existing research has made progress in individual dimensions of this problem but falls short of addressing the full coupling. In UAV trajectory optimization, prior works have focused on maximizing communication throughput or minimizing propulsion energy without considering MEC task demands [5,6,7,8]. In MEC-enabled UAV systems, studies have explored task offloading and multi-UAV collaboration [9,10,11], but most adopt binary (full) offloading and single-dimension optimization. Recent Deep Reinforcement Learning (DRL) approaches [12,13] have attempted joint optimization but require extensive training (over 10,000 episodes) and lack convergence guarantees, making them unsuitable for time-sensitive missions. Critically, no existing work jointly optimizes UAV trajectories, computing resource allocation, and partial deep learning task offloading in a multi-UAV setting—the specific gap this paper addresses.
To fill this gap, we formulate a joint optimization problem that minimizes the maximum energy consumption across all UAVs while satisfying the QoS requirements (task completion deadlines) of all GT deep learning tasks. The optimization jointly determines (i) the flight trajectory of each UAV, (ii) the GT-UAV association for task offloading, and (iii) the computing resource allocation at each UAV. The resulting problem is non-convex with multiple coupled constraints. We propose a block coordinate descent (BCD) algorithm combined with successive convex approximation (SCA) to decompose and iteratively solve this problem. The BCD framework is chosen over DRL-based alternatives for three reasons: it provides deterministic convergence guarantees to a stationary point, achieves polynomial-time complexity per iteration without requiring offline training, and converges within approximately 50 iterations (3–5 s wall-clock time), ensuring real-time applicability for time-sensitive UAV missions.
The main contributions of this paper are summarized as follows:
1.
We design a Partial Program Offloading (PPO) scheme tailored for deep learning tasks in MEC-enabled multi-UAV systems. Unlike binary offloading, PPO splits DNN tasks at an optimal layer, enabling flexible workload distribution between GTs and UAVs. We formulate a joint optimization problem that couples UAV trajectories, GT–UAV associations, computing resource allocation, and partial offloading ratios under energy and latency constraints.
2.
We develop an iterative SCA-BCD algorithm to solve the formulated non-convex problem. The algorithm decomposes the joint problem into three tractable subproblems—GT-UAV association, computing resource allocation, and trajectory optimization—each solved via convex programming in each iteration. We prove that the algorithm converges monotonically to a suboptimal solution within a prescribed accuracy.
3.
We validate the proposed algorithm through extensive simulations. The results demonstrate that the joint optimization significantly reduces UAV energy consumption compared to baseline (elliptical trajectory) and TSP-based solutions, while satisfying all GT task latency deadlines. We further show the necessity of partial offloading by demonstrating that binary offloading becomes infeasible under the same resource constraints.
The remainder of this paper is organized as follows. Section 2 reviews related work on UAV trajectory optimization, MEC task offloading, and DRL-based approaches. Section 3 presents the system model and problem formulation. Section 4 details the proposed SCA-BCD solution. Section 5 provides simulation results and analysis. Section 6 concludes the paper and discusses future directions.

2. Related Work

2.1. UAV Trajectory Optimization

UAV trajectory design is fundamental to UAV-assisted communication systems, as the flight path directly determines link quality, coverage, and energy efficiency. Early research primarily addressed static or quasi-static UAV placement in three-dimensional space to maximize coverage or minimize path loss [6,7,8,14,15]. These works demonstrated that careful positioning of UAVs can significantly enhance ground user connectivity, yet they largely treated the UAV as a stationary relay without exploiting its mobility.
Subsequent studies shifted toward dynamic trajectory optimization to improve communication performance. Joint optimization of UAV motion control and user scheduling has been explored to maximize aggregate data rates [16], while other works revealed that UAV flight perturbations degrade link stability and proposed height-trajectory co-optimization to improve average channel capacity [17]. Energy-efficient trajectory design has also attracted considerable attention: Dai et al. [5] developed a generalized propulsion energy model for UAV communications, and resource-efficient multi-hop UAV path planning has been studied to maintain seamless connectivity during transitions [18]. These trajectory-centric works, however, primarily optimize communication metrics (throughput, coverage, or propulsion energy) in isolation, without jointly considering the computational demands imposed by MEC task offloading—particularly for structured deep learning workloads that require layer-wise partitioning.
The integration of UAVs with 5G/6G cellular infrastructure has further expanded the design space. Comprehensive surveys [3,4] have outlined the roadmap from current UAV-cellular integration toward future autonomous aerial networks, emphasizing the need for joint communication-computation-trajectory co-design. Buffer-aided relay strategies [19] and distributed-learning-based swarm coordination [20] represent additional directions, yet none of these works address the unique coupling between trajectory planning and partial offloading of computation-intensive deep learning tasks.

2.2. MEC-Enabled UAV Task Offloading

Mobile edge computing extends UAV capabilities beyond communication relaying to on-board task processing. Several studies have explored UAV-mounted MEC servers that accept offloaded tasks from ground terminals [9,10]. Aerial collaboration platforms leveraging distributed Q-learning have been proposed to coordinate task allocation among UAV swarms for improved energy efficiency [11]. Federated learning frameworks further enable privacy-preserving distributed intelligence across multi-UAV systems for applications such as collaborative sensing and environmental monitoring [21,22]. Computing power networking concepts [23] have also been introduced to orchestrate heterogeneous computing resources across UAV fleets.
Despite these advances, a critical gap persists in handling deep learning task offloading as opposed to general computation offloading. Deep learning tasks exhibit unique characteristics that distinguish them from conventional MEC workloads: they possess a sequential layer-wise execution structure where intermediate results must be transmitted between partition points; they demand heterogeneous computing resources across different layers, and their data volumes vary significantly depending on the chosen split point within the neural network architecture. These properties make binary (all-or-nothing) offloading strategies inefficient, as full offloading may overwhelm limited UAV bandwidth and computing capacity, while purely local execution fails to meet stringent latency deadlines. Partial Program Offloading—where the deep learning model is split at an optimal layer and the remaining layers are executed remotely—offers a promising middle ground, yet its integration with multi-UAV trajectory and resource optimization remains largely unexplored.

2.3. Deep Reinforcement Learning Approaches

Deep Reinforcement Learning (DRL) has emerged as a popular paradigm for UAV communication and MEC optimization. DDPG-based methods have been applied to maximize UAV service time and throughput [24], while Double Deep Q-Network (DDQN) algorithms have been used to optimize trajectory and connection sequencing [25]. In the MEC domain, DRL-based secure communication [9] and energy-efficient edge computing with heterogeneous mixture-of-experts architectures [26] represent recent advances. Li et al. [12] proposed a triple-learner reinforcement learning approach for joint trajectory planning, application placement, and energy renewal in UAV-MEC systems, while their subsequent work [13] integrated RL with stochastic game theory for energy-efficient UAV swarm scheduling with dynamic clustering.
However, DRL-based approaches face inherent limitations for time-sensitive MEC-UAV missions: they typically require thousands of training episodes to converge, exhibit sensitivity to hyperparameter tuning, and struggle to provide convergence guarantees. In contrast, optimization-based methods such as successive convex approximation (SCA) combined with block coordinate descent (BCD) offer deterministic convergence properties, polynomial-time complexity per iteration, and real-time adaptability without offline training. This motivates our choice of an SCA-BCD framework, which achieves convergence within approximately 50 iterations (3–5 s on standard hardware) while jointly optimizing trajectory, resource allocation, and partial deep learning task offloading—a triple-dimension coupling that existing DRL works have not addressed simultaneously.
To clearly illustrate the differences between this work and existing studies, we summarize the key features in Table 1.

3. System Model and Problem Formulation

The architecture of MEC-enabled Multi-UAV system is shown in Figure 1, where U { 1 , 2 , , U } rotary-wing UAVs are deployed to work as MEC servers to serve GTs in the field, and there are N { 1 , 2 , , N } static GTs on the ground with w n = [ x n , y n ] T R 2 × 1 , with n being the horizontal location of the n-th GT. In this paper, we consider only rotary-wing UAVs, as they can hover statically in the air to establish stable UAV–GT links—a capability that fixed-wing UAVs lack. We assume that each UAV and GT is equipped with a single omni-directional antenna, and the UAV–GT link operates in half-duplex mode. For clarity, the key notation used throughout this paper is summarized in Table 2.

3.1. System Model

3.1.1. UAV Trajectory and Flight Model

To model the UAV trajectory, we discretize the mission time into M equal time slots, each of duration t s . The UAV path is thus represented by M + 1 waypoints in 3D coordinates: { H , q u [ m ] } m = 1 M + 1 . Here, m M { 1 , 2 , , M + 1 } denotes the waypoint index (i.e., the m-th discrete time slot boundary), H is the fixed flight altitude common to all UAVs, and q u [ m ] = ( x u [ m ] , y u [ m ] ) represents the horizontal coordinate of the u-th UAV at the m-th waypoint. We impose the return constraint q u [ 1 ] = q u [ M + 1 ] to ensure each UAV returns to its initial position after the mission, which is the most common operational requirement. The fixed altitude H is chosen to guarantee obstacle-free straight-and-level flight while maintaining reasonable proximity to GTs.
The maximum horizontal displacement per segment is constrained as q u [ m + 1 ] q u [ m ] Δ max h , m = 1 , , M , where Δ max h = t s · V max h is determined by the product of the segment duration and the maximum horizontal velocity of the UAV. This value is set based on the physical speed limit of the rotary-wing UAV platform (typically 10–20 m/s for commercial multi-rotor UAVs [5]). With this constraint, the u-th UAV flies with approximately constant horizontal velocity within each segment, and the distance between the UAV and each GT remains approximately unchanged within each segment. The total number of segments M must be sufficiently large to satisfy M × Δ max h D ^ , where D ^ is a lower bound of the required total UAV flying distance.
Let t s denotes the fixed duration that the UAV remains in each line segment. Then, the total mission completion time can be denoted as m = 1 M t s . The horizontal flying velocity of the u-th UAV along the m-th line segment is thus given by v u [ m ] = q u [ m + 1 ] q u [ m ] 2 t s V max h , m = 1 , , M , where V max h is the maximum horizontal velocity of the UAV in m-th line segment. With the UAV velocity, for the u-th rotary-wing UAV, the propulsion energy cost in m-th line segment can be modeled as
E u r - uav [ m ] = P 0 ( 1 + 3 ( v u [ m ] ) 2 U tip 2 ) + 1 2 d 0 ρ s G ( v u [ m ] ) 3 + P 1 ( 1 + ( v u [ m ] ) 4 4 υ 0 4 ( v u [ m ] ) 2 2 υ 0 2 ) 1 2
where P 0 and P 1 are constants representing blade profile power (related to rotor friction in hover) and induced power (related to lift generation in hover), respectively. U tip denotes rotor blade tip speed, v 0 is the mean rotor-induced velocity in hover (linked to lift requirements), d 0 is the fuselage drag ratio (indicating streamline efficiency), s is rotor solidity (ratio of total blade area to rotor disc area), ρ is air density, and G is the rotor disc area. The UAV’s propulsion energy depends on its horizontal velocity in each segment. For simplicity, we ignore acceleration/deceleration energy consumption.

3.1.2. UAV–GT Communication

As discussed before, a UAV–GT link may be blocked by ground obstacles. Thus, during the task offloading through uplink, we have to take the effect of the environment on the occurrence of LoS into consideration. Specifically, adopting an air-to-ground channel model in urban environments, the LoS probability of a UAV–GT link is given as
p u n [ m ] = 1 1 + a exp b arctan H d u n [ m ] a
where a and b are constant values that depend on the environment. In this setting, the altitude and antenna heights of the GT are neglected. Specifically, the probability of having LoS for GT n depends on the altitude of the UAV H and the horizontal distance between the UAV u and GT n at time slot m denoted as d u n [ m ] = q u [ m ] w n 2 . Then the pathloss expression of the UAV–GT link becomes
l u n [ m ] = 20 log ( H 2 + ( d u n [ m ] ) 2 ) + A p u n [ m ] + C
where A and C are constants such that A = η LoS η NLos and C = 20 log 4 π f c c + η NLos ; f c is the carrier frequency (Hz); c is the speed of light (m/s); and η LoS and η NLoS (in dB) are, respectively, the losses corresponding to the LoS and non-LoS connections depending on the environment. Based on (3), the instantaneous achievable rate of the n-th GT’s uplinking to the u-th UAV in path line m, can be expressed in bits/second (bps) as
r u n [ m ] = B log 2 1 + P 10 l u n [ m ] 10 B N 0
where N 0 denotes the power spectral density of the Additive White Gaussian Noise (AWGN) at the receivers; P is the transmit power allocated by each GT; B denotes the total available system bandwidth in Hertz (Hz). It is worth noting that while the UAVs and GTs are equipped with omni-directional antennas, co-channel interference is not explicitly factored into Equation (4) (i.e., it utilizes an SNR rather than an SINR model). This assumption is predicated on the premise that the system employs Orthogonal Frequency-Division Multiple Access (OFDMA). Under OFDMA, the total available frequency band can be partitioned into multiple orthogonal sub-channels. By allocating non-overlapping sub-channels to adjacent UAVs and GTs, co-channel interference is effectively avoided. Theoretically, if dynamic sub-channel allocation were considered, the bandwidth parameter B in Equation (4) would be scaled by a fractional coefficient. However, to maintain focus on the core joint optimization of trajectory, computing resources, and partial offloading, we assume orthogonal sub-channels are pre-allocated and omit the explicit sub-channel allocation modeling in this paper.
Finally, we define the binary GT-UAV association variable α u n { 0 , 1 } , where the subscript u indexes the UAV ( u U ) and n indexes the GT ( n N ). Specifically, α u n = 1 indicates that the n-th GT is associated with and offloads its deep learning task to the u-th UAV; α u n = 0 otherwise. Each GT can associate with at most one UAV during the entire mission, i.e.,
u = 1 U α u n 1 , n
which indicates that one GT will associate and offload its deep learning task to one UAV during the whole mission time, as shown in Figure 1.

3.1.3. Offload Deep Learning Task

We consider that each GT offloads a deep neural network (DNN) task with sequential execution structure to a UAV in this paper. As illustrated in Figure 1, all the layers of the DNN task will be executed in a strict order, and the execution of the latter layer requires the result of the previous layer as the input. Assume the intermediate results produced by the previous layer are non-trivial and cannot be ignored during offloading. Assume one n-th GT has an expected deep learning task U n = { D n , D o f f n , R n , F n , T n } during the whole mission time, where D n (in Mb) and F n (in GHz/Mb) represent the amount of data and the required computing resource of the task, respectively. T n denotes the task’s completion deadline. R n is the ratio of the size of the task-output data to that of the task-input data. Here, each deep learning task is divided into two parts with different sizes. The first part, with size D n D o f f n , is executed locally at the GT, while the second part, with size D o f f n [ 0 , D n ] , is offloaded to an UAV for remote execution. Since the second part of the task can be executed only when the intermediate result produced by the first part is obtained, we use S n = D n × R n to represent the amount of data of the intermediate result. In addition, assume the task offloading will not take place in the stages of UAV taking off and landing, which is in a relatively short period. Thus, the UAV trajectory in the stages of UAV taking off and landing will not be considered in the system model. We consider each GT offloads a deep neural network (DNN) task—typically common computation-intensive tasks in emergency, field, or remote-service scenarios, such as object recognition (e.g., locating trapped personnel in post-disaster areas via lightweight DNN models)—with a sequential execution structure to the UAV in this paper.
As shown in Figure 2, this paper follows the Partial Program Offloading (PPO) scheme, which divides the task offloading process from one GT to its associated UAV in four phases: local execution, program uploading, uploading of intermediate results, and UAV server execution. For phase one, local execution, let f n l c in (GHz) denote the processing speed of the computing unit of the n-th GT. The time taken by the GT to complete the local part of the deep learning task in phase one is given by
T n l c = F n ( D n D o f f n ) / f n l c
According to the PPO scheme, within T n l c , the n-th GT has to strictly complete phase two, i.e., program uploading, to realize efficient parallel processing. It is worth noting that to avoid redundant transmission and minimize latency, the UAVs are assumed to have pre-cached the standard, static deep learning model backbones. Therefore, the offloaded data D o f f n does not encompass the heavy static model architectures. Instead, D o f f n strictly represents the task-specific dynamic configurations (e.g., dynamic weights or mission-specific context parameters) required to initialize the remote server execution. Furthermore, the size of D o f f n is fundamentally determined by the intrinsic structural characteristics of the specific DNN task and the chosen optimal DNN partition point (split point). Thus, one has
m = 1 M n r u n [ m ] · t s α u n · D o f f
where M n = T n l c t s is the number of UAV line segments, in which the associated u-th UAV has to finish receiving the uploaded data from GT.
After phase two, the process moves to phase three, i.e., the n-th GT offloading the intermediate results S n to its associated UAV in a timely manner. Then, on receiving the offloaded data D o f f n and intermediate result S n , the MEC server on UAV u starts to execute the second part of the DNN program, which is phase four. Assuming the allocated processing speed by the UAV to n-th GT is f u n o c , the execution time T u n o c on UAV can be defined as
T u n o c = F n · D o f f n f u n o c
We define E n u as the energy consumption of the UAV on computing task U n , which can be formulated as
E u n = φ ( α u n · f u n o c ) ϑ
where φ is the effective switched capacitance, and ϑ 1 is the positive constant [3,25]. In addition, during the whole UAV mission completion time, one UAV u only has limited computation capacity F max u , which can be denoted as
n = 1 N α u n · f u n o c F max u
Additionally, consider the whole task latency; the constraint for n-th GT uploading the intermediate result S n to the u-th UAV should be denoted as
m = M n + 1 M n r u n [ m ] · t s α u n · S n
where M n = T n T n l c T u n o c t s , and T n T n l c T u n o c is the time allowed for n-th GT to upload the intermediate result S n to the associated u-th UAV.
After the four phases following the PPO scheme, the associated UAV will transfer the final result to the GT via downlink, as shown in Figure 2. Because the result data is trivial and the downlink from UAV to GT normally has a high data transfer rate, we ignore the latency caused by the result downlink. To this end, through such a PPO scheme, each GT will have its deep learning task properly handled, with QoS on latency, by itself and together with one associate UAV in the air.

3.2. Problem Formulation

Let Q = { q u [ m ] , m M , u U } , A = { α u n , u U , n N } , and F = { f u n o c , u U , n N } , the optimization problem can be modeled as
P : min Q , A , F max u ( m = 1 M E u r - uav [ m ] + β n = 1 N E u n )
s . t . α u n = { 0 , 1 } , u = 1 U α u n 1 u , n ;
n = 1 N α u n · f u n o c F max u , u ;
m = 1 M n r u n [ m ] · t s α u n · D o f f , u , n ;
m = M n + 1 M n r u n [ m ] · t s α u n · S n , u , n ;
q u [ 1 ] = q u [ M + 1 ] , u ;
q u [ m + 1 ] q u [ m ] min { t s V max h , Δ max h } , m , u ;
where P is to minimize the maximum energy consumption of the UAVs while satisfying the QoS requirement of GT tasks on latency. To do so, we need to jointly optimize the UAV trajectory Q , GT-UAV association A , and the computing resource allocation F . Here, β > 0 is the weighting parameter that balances the propulsion energy and the service (computation) energy; (12b) constrains the total computing capacity of each UAV; (12c) and (12d) enforce the QoS requirement that each task must be completed within its deadline; and (12e)∼(12f) constrain the UAV trajectory in the horizontal dimension. The problem P is non-convex due to the coupling between trajectory variables (in r u n [ m ] ) and the binary association variables and thus cannot be solved directly in its current form.

3.3. Discussion on Model Assumptions

Before proceeding to the solution, we discuss several modeling assumptions and their justifications:
Orthogonal sub-channel allocation. We assume that orthogonal sub-channels are pre-allocated to avoid co-channel interference among UAV–GT links (cf. Equation (4)). While this simplifies the analysis, we acknowledge that in dense multi-UAV deployments, spectral scarcity and dynamic interference become significant concerns. Incorporating dynamic sub-channel allocation would scale the bandwidth parameter B by a fractional coefficient and introduce additional integer programming variables. We leave this extension to future work, noting that our current framework can accommodate it by treating the sub-channel allocation as an additional block in the BCD iteration.
Neglecting GT antenna heights. The LoS probability model in Equation (2) neglects the antenna heights of GTs. This is justified when the UAV altitude H (200 m in our simulations) is significantly larger than typical GT antenna heights (1–3 m), making the elevation angle approximation arctan ( H / d u n [ m ] ) arctan ( H / d u n [ m ] + h G T ) highly accurate. In scenarios with substantial GT elevation differences (e.g., multi-story buildings), the model can be extended by replacing H with H h n for each GT n.
Constant velocity within segments. The model assumes approximately constant horizontal velocity within each trajectory segment, which precludes explicit hovering (zero velocity). However, the rotary-wing propulsion model in Equation (1) naturally accounts for hovering energy (the P 0 and P 1 terms dominate at v u [ m ] 0 ). In practice, the optimized trajectory may produce very short segments (small q u [ m + 1 ] q u [ m ] ) that approximate hovering behavior. For scenarios with very high terminal density where sustained hovering is optimal, the constraint (21a) can be relaxed by setting θ close to 1.
UAV computation capacity. The constraint F max u in Equation (10) represents the maximum sustainable computing frequency of the UAV’s onboard processor. This limit implicitly accounts for thermal dissipation constraints, as the maximum frequency is determined by the processor’s thermal design power (TDP) under the UAV’s cooling conditions. We do not model transient thermal dynamics, which is reasonable for the mission durations considered (minutes to tens of minutes).

4. Proposed Solution

To solve problem P , we employ a block coordinate descent algorithm to find the sub-optimal solution in an iterative way. In one iteration, we split P into three sub-problems. After a number of iterations, a suboptimal solution for the target problem can be achieved, while the block coordinate descent process reaches a predefined accuracy.

4.1. Optimize GT-UAV Association

Assuming UAV trajectory Q and the computational resource allocation F are pre-obtained and fixed, the optimization problem P can be simplified as
P 1 : min A max u ( n = 1 N E u n )
s . t . ( 12 a ) ( 12 b )
α u n m = 1 M n r u n [ m ] · t s D o f f , u , n ;
α u n m = M n + 1 M n r u n [ m ] · t s S n , u , n ;
which is to optimize the GT-UAV association. In P 1 , r u n [ m ] , D o f f , S n , t s , f u n o c are constants, and (12c) and (12d) can be converted to be (13a) and (13b). To obtain the binary α u n = { 0 , 1 } in conjunction with other constraints, we relax the discrete variable to a continuous variable, i.e., α u n = [ 0 , 1 ] . Then, as a continuous variable, α u n represents the likelihood of each GT associating to each individual UAV. To ensure that each GT can select and connect to only one optimal UAV, we take the uplink energy consumption of both GT and UAV together as the criterion to select the optimal UAV out of others in a finer grade. The uplink energy consumption of GT is defined as
E n m = P · T n l c , n
where P is the transmit power allocated by each GT; T n l c = F n ( D n D o f f n ) / f n l c is the data transferring time on uplink, which is the same time as the one GT spent on executing the local part of the deep learning task. To this end, problem P 1 can be further redefined as
P 2 : min A max u n = 1 N ( E u n + γ m = 1 M n E n [ m ] ) s . t . α u n = { 0 , 1 } , ( 12 b ) ( 13 a ) ( 13 b )
which can be directly solved by cvx, and obtain sub-optimal α u n as a series of continuous variables. Then, we convert α u n back into discrete variables as the GT-UAV association result,
α u n = α u n max u ( α u n )

4.2. Optimize the Computational Resource Allocation of UAV

Assume the UAV trajectory Q and UAV–GT association A are fixed; the objective problem on F can be simplified as
P 3 : min F max u n = 1 N E u n s . t . n = 1 N α u n · f u n o c F max u , u
which is to optimize the computational resource allocation of UAV. In this problem, the execution time T u n o c is determined by the amount of computing resources allocated. Therefore, based on (8), the allocation of f u n o c follows the constraint
f u n o c F n · D o f f n T n T l c n
As a result, problem P 3 can be redefined as
P 4 : min F max u n = 1 N E u n s . t . ( 12 b ) ( 18 )
which can be directly solved using the CVX tool.

4.3. Optimize the UAV Trajectory

After obtaining A and F , the optimization process continues to find the UAV trajectories, so as to minimize the UAV propulsion energy. Specifically, the UAV trajectory problem can be simplified to
P 5 : min Q max u m = 1 M E u r - uav [ m ]
s . t . ( 12 c ) ( 12 f )
which is still non-convex and cannot be solved directly.
To release the non-convexity, we convert P 5 to the following form:
P 6 : min Q max u m = 1 M q u [ m + 1 ] q u [ m ] 2 t s v u * 2
s . t . ( 12 c ) ( 12 e )
q u [ m + 1 ] q u [ m ] 2 ( 1 θ ) t s v u * 2
q u [ m + 1 ] q u [ m ] 2 min ( 1 + θ ) t s v u * 2 , Δ max h 2
where v u * represents the optimal horizontal velocity that minimizes the propulsion power in the horizontal dimension. The value of v u * can be referenced in []. For rotary-wing UAVs, determining V max h directly from E u r - uav [ m ] is challenging. Fortunately, V max h can be efficiently approximated through numerical methods. Assume θ serves as a relaxation parameter; then the velocity v can be varied to be within the range of ( 1 θ ) v u * to ( 1 + θ ) v u * . Further, to relax the non-convexity of (12c) and (12d) caused by r u n [ m ] , we transform r u n [ m ] to
r u n [ m ] = B log 2 1 + 10 A p u n [ m ] 10 × κ u n [ m ] H 2 + d u n [ m ] 2
where κ u n [ m ] = P B N 0 10 C 10 . Due to p u n [ m ] 0 , expression (22) can be represented as
r u n [ m ] B log 2 1 + κ u n [ m ] H 2 + d u n [ m ] 2
and,
r u n [ m ] B log 2 ( 1 + ξ u n [ m ] f v u n [ m ] )
where ξ u n [ m ] = κ u n [ m ] H 2 , f ( x ) = 1 1 + x and v u n [ m ] = d u n [ m ] 2 H 2 .
It is evident that the formula concerning v u n [ m ] above is a non-linear function. To make the problem more trackable, a taylor expansion of v u n [ m ] is used with the local point v u n l [ m ] = ( d u n l [ m ] ) 2 H 2 . Specifically, by substituting the local point into (24), we obtain the following expression by Taylor expansion:
log 2 ( 1 + ξ u n [ m ] f ( v u n [ m ] ) ) J u n l [ m ] ( v u n [ m ] v u n l [ m ] ) + W u n l [ m ]
where
J u n l [ m ] = ξ u n [ m ] ln 2 1 + v u n l [ m ] 2 + ξ u n [ m ] 1 + v u n l [ m ] ,
W u n l [ m ] = log 2 1 + ξ u n [ m ] f v u n l [ m ]
Then, (12c) and (12d) can be transformed into the following forms:
m = 1 M n r u n [ m ] B m = 1 M n ( J u n l [ m ] v u n [ m ] v u n l [ m ] + W u n l [ m ] ) α u n · D o f f t s
m = M n + 1 M n r u n [ m ] B m = M n + 1 M n ( J u n l [ m ] v u n [ m ] v u n l [ m ] + W u n l [ m ] ) α u n · S n t s
In this way, the objective problem (21) can be simplified into a convex Quadratic Constraint Quadratic Programming (QCQP) problem. The new objective problem is:
P 6 : min Q max u m = 1 M q u [ m + 1 ] q u [ m ] 2 t s v u * 2 s . t . ( 12 e ) ( 21 a ) ( 21 b ) ( 26 ) ( 27 )
which can be directly solved using CVX.

4.4. Overall Algorithm Design

Based on previous works, the overall block coordinate descent algorithm can be designed as Algorithm 1. In this algorithm, we set the UAV’s initial trajectory to be an elliptical trajectory and the UAV altitude to be fixed. The elliptical initialization is chosen for three practical reasons: (i) operational convention—in the absence of strong target guidance, UAVs naturally adopt circular or elliptical loitering patterns (similar to aircraft holding patterns at airports), which represent the most energy-efficient cruise trajectories by avoiding sharp turns and abrupt accelerations; (ii) fair coverage—an elliptical path provides the most uniform initial coverage probability across all ground terminals, ensuring no GT is systematically disadvantaged at initialization; and (iii) constraint satisfaction—elliptical trajectories inherently satisfy the return constraint q u [ 1 ] = q u [ M + 1 ] and velocity limits while remaining smooth and differentiable, guaranteeing feasibility of the initial solution for the subsequent convex optimization steps. We differentiate the initial flight paths of each UAV by assigning different ellipse centers and orientations based on the spatial distribution of GTs.
Algorithm 1: SCA-BCD Joint Optimization Algorithm
Sensors 26 03540 i001
The algorithm terminates when either the relative change in the objective value falls below the threshold ε (set to 10 3 in our simulations), or the maximum number of iterations I max (set to 100) is reached. Since each subproblem is solved optimally (or to a guaranteed approximation via SCA), the objective value E i is monotonically non-increasing across iterations. Combined with the lower bound of zero on energy consumption, convergence is guaranteed.
Illustrative Example. Consider a simplified scenario with U = 2 UAVs and N = 3 GTs. In iteration i = 0 , both UAVs start with elliptical trajectories. Step 3 solves the association problem—suppose GT 1 and GT 2 are assigned to UAV 1, and GT 3 to UAV 2. Step 4 allocates computing resources proportionally to each UAV’s assigned workload. Step 5 optimizes trajectories so that UAV 1 moves closer to GT 1 and GT 2, while UAV 2 adjusts toward GT 3. In iteration i = 1 , with the new trajectories, the association may be refined (e.g., GT 2 might switch to UAV 2 if UAV 2’s new position offers better link quality), resources are reallocated accordingly, and trajectories are further refined. This process repeats until convergence, typically within 30–50 iterations.
The time complexity of Algorithm 1 (the block coordinate descent algorithm) is determined by the convergence iteration count and the complexity of solving its three subproblems per iteration. Let U denote the number of UAVs, N the number of ground terminals (GTs), M the number of discrete trajectory segments per UAV, and K the number of iterations required for convergence. In each iteration, optimizing GT-UAV associations and UAV computational resource allocation both form convex programs with a complexity of O ( ( U · N ) 3 ) . Optimizing UAV trajectories, transformed via successive convex approximation (SCA) into a QCQP yields a complexity of O ( ( U · M ) 3 ) . Thus, the per-iteration worst-case complexity is O ( ( U · N ) 3 + ( U · M ) 3 ) .
Crucially, while this polynomial complexity exists per iteration, the algorithm strictly converges within a small constant number of iterations (typically K 50 ). In our simulations on a standard PC, the average wall-clock time required for overall convergence is merely 3 to 5 s. In stark contrast, Deep Reinforcement Learning (DRL) algorithms widely used in similar domains, such as Deep Deterministic Policy Gradient (DDPG), suffer from severe training bottlenecks. DDPG requires continuous interactions with the environment over tens of thousands of episodes to optimize its actor-critic networks. Even with offline training, adapting DDPG to dynamically changing GT tasks inherently takes hours of wall-clock time. Therefore, our proposed SCA-based framework guarantees a highly computationally efficient and real-time responsive solution suitable for time-sensitive MEC-enabled UAV missions.

5. Simulation

In this section, the proposed optimization algorithm is validated through simulations using the CVX tool in MATLAB. The simulation considers a 500 m × 500 m area with a moderate density of GTs to demonstrate the practicality of the approach. Three UAVs are deployed from the same starting point, and the system parameters are listed in Table 3.
Parameter Justification. The simulation parameters are chosen based on established references and practical considerations. The path loss parameters ( a = 9.61 , b = 0.16 , η LoS = 1 dB, η NLoS = 20 dB) correspond to a suburban environment as specified in the ITU-R urban/suburban channel model widely adopted in UAV communication literature [3,28]. The rotary-wing UAV propulsion parameters ( U tip , v 0 , d 0 , s, ρ , G) follow the validated model in [5], which is calibrated against real flight data of commercial multi-rotor platforms. The UAV altitude of 200 m balances LoS probability (higher altitude improves LoS) against path loss (higher altitude increases distance). The computation energy parameters ( φ = 10 9 , ϑ = 3 ) are standard values for CMOS-based processors as established in the MEC literature [29]. The GT task parameters (data size 1–5 Mb, deadline 60–70 s) represent typical lightweight DNN inference tasks such as object detection models (e.g., YOLOv5-small).
Performance Metrics. We evaluate the following metrics to comprehensively assess the proposed algorithm: (i) UAV propulsion energy consumption—quantifying the flight energy cost, which is the dominant energy component and directly reflects trajectory efficiency; (ii) service energy consumption—measuring the computational energy spent on processing offloaded tasks, reflecting resource allocation efficiency; (iii) computing resource allocation (CDF)—showing the distribution of allocated CPU cycles across UAVs, indicating workload balance; and (iv) uplink data transmission (CDF)—characterizing the communication performance achieved under different trajectory schemes.
We compare the optimized solution (OP) with the baseline solution (BL) in terms of both quality of service and energy consumption. In the BL setting, the UAV trajectory is adopted as the initial elliptical trajectory of Algorithm 1. For the GT-UAV associations, the strategy in BL is that each UAV selects the GTs with the best link quality based on proximity. Meanwhile, we compare the optimized solution to the Traveling Salesman Problem (TSP) solution, where each UAV flies to the closest position to each of its associated GTs, providing the highest service quality at the cost of increased propulsion energy. The TSP trajectories are determined using the GT-UAV associations established following the same method as in the BL approach, but the TSP method lacks iterative refinement capability. Based on these settings, we present three UAV trajectories in Figure 3, followed by the service and propulsion energy consumption comparisons in Figure 4 and Figure 5.
Figure 3 illustrates the trajectories of each UAV under different schemes. Scenario 1 represents the results of a BL solution, where the trajectories of the three UAVs are not identical but all take an elliptical shape, covering a slightly larger range for comparison purposes. Scenario 2 shows the UAV trajectories under the TSP solution. After selecting their associated GTs, each UAV finds the shortest path through these GTs using the TSP solution, starting from the same departure point. The advantage of TSP trajectories lies in minimizing the distance between the UAV and GT. Scenario 3 presents the UAV trajectories led by OP. It is evident that the UAV flight paths are neither too close to the GTs nor too far from them. This optimization approach effectively balances service quality and the energy consumption on UAV propulsion energy and service providing.
Figure 4 presents the CDF of computing resource allocation in subfigures (a–c) and the CDF of uplink data transmission rates in subfigures (d–f), where each column corresponds to UAV1, UAV2, and UAV3, respectively. As shown in subfigures (a–c), the optimized UAV computing resource allocation is significantly lower than that of TSP and BL schemes. TSP and BL schemes adopt the same set of GT-UAV associations, which are randomly generated and not iteratively optimized. After the GT-UAV association is determined, the total computing resources are evenly allocated directly. Therefore, the images of TSP and BL in Figure 4a–c are the same. However, the OP iteratively optimizes both the GT-UAV association and computing resource allocation so that the task is completed with minimal computing resource consumption.
Figure 5 shows the service energy consumption in subfigures (a–c) and the propulsion energy consumption in subfigures (d–f), where each column corresponds to UAV1, UAV2, and UAV3, respectively. As shown in subfigures (a–c), under the OP solution, the service energy consumption differs from that of the TSP and BL solutions. Both TSP and BL solutions do not iteratively optimize the GT-UAV associations; they merely make a single selection based on initial trajectories. Moreover, the task load for each GT may vary. In contrast, the OP simultaneously optimize both the GT-UAV associations and the trajectories in an iterative manner, resulting in each UAV in the OP scenario choosing a path that minimizes the energy consumption.
However, under the TSP method, while the UAV’s service energy consumption is lower than that under BL, its propulsion energy consumption is considerably higher. Firstly, the initial trajectories in the BL solution are not optimized and are simply elliptical, leading to relatively higher propulsion energy consumption. This can be observed from Figure 5d–f, where the optimized trajectories clearly result in lower propulsion energy consumption. However, TSP trajectories tend to be closer to the GTs compared to elliptical trajectories. This means that when linking to a larger number of GTs, the UAV has to fly longer distances, leading to higher energy consumption. However, when the number of GTs to be linked is small and their positions are relatively concentrated, TSP’s energy consumption can be the lowest. For example, in Figure 5f, the UAV’s energy consumption under the TSP approach is somewhat lower compared to OP and BL, due to the more centralized GT placement. In summary, the optimization solution we proposed is superior to the baseline approach and meets the energy-saving requirements of UAV-enabled Mobile Edge Networks.
To further validate the necessity and superiority of the proposed Partial Program Offloading (PPO) scheme, we introduce an additional simulation comparing it against a benchmark “Binary Offloading” scheme. In the Binary Offloading scheme, deep learning tasks cannot be partitioned and must be fully offloaded to the remote UAVs (i.e., D o f f n = D n ). As shown in Figure 6, under the identical stringent task latency deadlines and UAV computing capacity constraints, the Binary Offloading scheme fails to find a feasible solution (Infeasible). The massive volume of transmission data and intensive computation strictly requested by full offloading severely overloads the limited bandwidth and UAV capabilities. In stark contrast, our proposed PPO scheme effectively obtains an optimal solution with a total energy consumption of approximately 2.23 × 10 4 J. By dynamically adjusting the offloading ratio based on channel qualities and task requirements, the PPO scheme intelligently balances the local and remote computing burdens, proving its absolute necessity in resource-constrained UAV-MEC systems.
Furthermore, to investigate the impact of the weighting parameter β (defined in the objective function Equation (12)) on the system performance, we conducted a sensitivity analysis experiment. β serves as a critical lever to balance the UAV propulsion energy and the service energy consumption. As illustrated in Figure 7, a distinct trade-off curve is observed. When β is relatively small, the optimization algorithm prioritizes minimizing the UAV propulsion energy, resulting in energy-efficient flight trajectories but higher service energy costs. Conversely, as β increases, the system places a heavier penalty on service energy. Consequently, the UAVs adapt their trajectories—often flying closer to the GTs to secure better channel qualities—and optimize resource allocation to drastically reduce the service energy consumption. This reduction comes at the cost of a slight increase in propulsion energy due to the extra maneuvering. This trade-off validates that our proposed joint optimization scheme can flexibly adapt to diverse mission priorities (e.g., prioritizing communication quality vs. extending UAV flight endurance) by simply tuning the parameter β .
Finally, we compared the uplink data transfer rates of GT and UAV. It can be seen from Figure 4d–f that TSP has the highest speed among the three modes, while OP is very close to BL. Because our main goal is to reduce energy consumption, the existing bit rate is in line with our expectations.

6. Conclusions

In this paper, we investigated the joint optimization of UAV trajectories, computing resource allocation, and partial deep learning task offloading in MEC-enabled multi-UAV systems. We designed a Partial Program Offloading (PPO) scheme that splits DNN tasks at an optimal layer to balance local and remote computation and formulated a min-max energy optimization problem subject to task latency and UAV mobility constraints. To solve this non-convex coupled problem, we proposed an SCA-BCD algorithm that decomposes it into three tractable convex subproblems solved iteratively. Simulation results demonstrated that the proposed approach significantly reduces UAV energy consumption compared to baseline and TSP-based solutions while satisfying all QoS requirements. We further validated the necessity of partial offloading by showing that binary offloading becomes infeasible under identical resource constraints.
Discussion on Security and Trust. While this work focuses on optimizing energy efficiency and QoS, the practical deployment of MEC-enabled multi-UAV systems also requires addressing security concerns. In particular, when GTs offload sensitive deep learning tasks (e.g., surveillance data processing) to UAVs, ensuring that all participating UAVs are properly authenticated and trustworthy is critical. Malicious or compromised UAVs could intercept offloaded data, inject false computation results, or disrupt the cooperative optimization process. Recent works have proposed cross-layer physical-layer authentication techniques for UAV communications [30], which can complement our optimization framework by providing lightweight UAV identity verification without additional cryptographic overhead. Integrating trust-aware offloading decisions—where GTs preferentially offload to authenticated UAVs—into our BCD framework represents a promising direction for future work.
Future Work. We plan to advance this work in several directions: (i) expanding the experimental scale to evaluate scalability with larger numbers of UAVs and GTs, and conducting a systematic study of how increasing GT density affects the convergence speed of the BCD algorithm—specifically, characterizing the relationship between N and the number of iterations required to reach a prescribed accuracy ε ; (ii) investigating the trade-off between UAV computation speed (i.e., the allocated CPU frequency f u n o c ) and total mission energy consumption, with the goal of deriving a Pareto-optimal frontier that guides the selection of the weighting parameter β ; (iii) incorporating dynamic sub-channel allocation to address spectral scarcity in dense deployments; (iv) extending the model to support multimodal deep learning tasks (e.g., joint image and speech processing) with heterogeneous split-point selection; (v) incorporating physical heat dissipation limits and thermodynamic constraints of onboard hardware into the resource allocation model; and (vi) investigating hybrid approaches that combine our SCA-BCD framework with Deep Reinforcement Learning for scenarios requiring online adaptation to rapidly changing environments.

Author Contributions

Conceptualization, C.L. and B.G.; methodology, C.L.; software, C.L. and Y.W.; validation, C.L. and Y.W.; formal analysis, C.L. and S.D.; investigation, C.L. and Y.W.; writing—original draft preparation, C.L.; writing—review and editing, B.G. and Y.W.; supervision, H.M.; funding acquisition, H.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant No. U2268204; the National Key R&D Program of China under Grant No. 2023YFB3308300; the Science and Technology Project of Sichuan Province under Grant No. 2025ZDZX0015; and the Science and Technology Project of MianYang City under Grant No. 2025ZYDF110.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
UAVUnmanned Aerial Vehicle
GTGround Terminal
MECMobile Edge Computing
SCASuccessive Convex Approximation
BCDBlock Coordinate Descent
DRLDeep Reinforcement Learning
TSPTraveling Salesman Problem
BLBaseline
OPOptimized Proposal
PPOPartial Program Offloading
QoSQuality of Service
DDPGDeep Deterministic Policy Gradient
DDQNDouble Deep Q-Network
CDFCumulative Distribution Function

References

  1. Loke, S.W. The Internet of Flying-Things: Opportunities and Challenges with Airborne Fog Computing and Mobile Cloud in the Clouds. arXiv 2015, arXiv:1507.04492. [Google Scholar] [CrossRef]
  2. Merwaday, A.; Guvenc, I. UAV Assisted Heterogeneous Networks for Public Safety Communications. In Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC), New Orleans, LA, USA, 9–12 March 2015; pp. 329–334. [Google Scholar]
  3. Wu, Q.; Xu, J.; Zeng, Y.; Ng, D.W.K.; Al-Dhahir, N.; Schober, R.; Swindlehurst, A.L. A Comprehensive Overview on 5G-and-Beyond Networks with UAVs: From Communications to Sensing and Intelligence. IEEE J. Sel. Areas Commun. 2021, 39, 2912–2945. [Google Scholar] [CrossRef]
  4. Geraci, G.; Garcia-Rodriguez, A.; Azari, M.M.; Lozano, A.; Mezzavilla, M.; Chatzinotas, S.; Chen, Y.; Rangan, S.; Di Renzo, M. What Will the Future of UAV Cellular Communications Be? A Flight from 5G to 6G. IEEE Commun. Surv. Tuts. 2022, 24, 1304–1335. [Google Scholar] [CrossRef]
  5. Dai, X.; Duo, B.; Yuan, X.; Tang, W. Energy-Efficient UAV Communications: A Generalized Propulsion Energy Consumption Model. IEEE Wirel. Commun. Lett. 2022, 11, 2150–2154. [Google Scholar] [CrossRef]
  6. Jiang, Y.; Zhu, J. Three-Dimensional Trajectory Optimization for Secure UAV-Enabled Cognitive Communications. China Commun. 2021, 18, 285–296. [Google Scholar] [CrossRef]
  7. Cai, Y.; Wei, Z.; Hu, S.; Liu, C.; Ng, D.W.K.; Yuan, J. Resource Allocation and 3D Trajectory Design for Power-Efficient IRS-Assisted UAV-NOMA Communications. IEEE Trans. Wirel. Commun. 2022, 21, 10315–10334. [Google Scholar] [CrossRef]
  8. Guan, Z.; Wang, S.; Gao, L.; Xu, W. Energy-Efficient UAV Communication with 3D Trajectory Optimization. In Proceedings of the 7th International Conference on Computer and Communications (ICCC), Chengdu, China, 10–13 December 2021; pp. 312–317. [Google Scholar]
  9. Lu, W.; Si, P.; Huang, G.; Han, H.; Qian, L.; Zhao, N.; Gong, Y. Dinkelbach-Guided Deep Reinforcement Learning for Secure Communication in UAV-Aided MEC Networks. In Proceedings of the IEEE Global Communications Conference (GLOBECOM); IEEE: New York, NY, USA, 2022; pp. 1740–1745. [Google Scholar]
  10. Grasso, C.; Raftopoulos, R.; Schembra, G. Deep Q-Learning for Job Offloading Orchestration in a Fleet of MEC UAVs in 5G Environments. In Proceedings of the IEEE 7th International Conference on Network Softwarization (NetSoft); IEEE: New York, NY, USA, 2021; pp. 186–190. [Google Scholar]
  11. Ye, Y.; Wei, W.; Geng, D.; He, X. Dynamic Coordination in UAV Swarm Assisted MEC via Decentralized Deep Reinforcement Learning. In Proceedings of the IEEE International Conference on Wireless Communications and Signal Processing (WCSP); IEEE: New York, NY, USA, 2020; pp. 1064–1069. [Google Scholar]
  12. Li, J.; Yi, C.; Chen, J.; Zhu, K.; Cai, J. Joint Trajectory Planning, Application Placement, and Energy Renewal for UAV-Assisted MEC: A Triple-Learner-Based Approach. IEEE Internet Things J. 2023, 10, 13622–13636. [Google Scholar] [CrossRef]
  13. Li, J.; Yi, C.; Chen, J.; Shi, Y.; Zhang, T.; Li, X.; Wang, R.; Zhu, K. A Reinforcement Learning-Based Stochastic Game for Energy-Efficient UAV Swarm-Assisted MEC with Dynamic Clustering and Scheduling. IEEE Trans. Green Commun. Netw. 2025, 9, 255–270. [Google Scholar] [CrossRef]
  14. Bor-Yaliniz, R.I.; El-Keyi, A.; Yanikomeroglu, H. Efficient 3-D Placement of an Aerial Base Station in Next Generation Cellular Networks. In Proceedings of the IEEE International Conference on Communications (ICC), Kuala Lumpur, Malaysia, 22–27 May 2016; pp. 1–5. [Google Scholar]
  15. Lyu, J.; Zeng, Y.; Zhang, R.; Lim, T.J. Placement Optimization of UAV-Mounted Mobile Base Stations. IEEE Commun. Lett. 2017, 21, 604–607. [Google Scholar] [CrossRef]
  16. Xu, Z.; Yan, X.; Tang, W.; Liao, X.; Zhang, H.; Chang, B. Maximizing Sum Rate by Joint Control and Communication Scheduling for RIS-Assisted Cellular Connected UAV in THz Communications. In Proceedings of the IEEE International Conference on Communications Workshops (ICC Workshops); IEEE: New York, NY, USA, 2022; pp. 1207–1212. [Google Scholar]
  17. Zhu, J.; Wei, Z.; Wu, H.; Qiu, C.; Feng, Z. Capacity of UAV-Assisted Air-to-Ground Communication with Random Perturbation of UAV Platform. In Proceedings of the IEEE International Conference on Wireless Communications and Signal Processing (WCSP); IEEE: New York, NY, USA, 2020; pp. 275–279. [Google Scholar]
  18. Tu, W. Resource-Efficient Seamless Transitions for High-Performance Multi-Hop UAV Multicasting. Comput. Netw. 2022, 213, 109051. [Google Scholar] [CrossRef]
  19. Zhang, Y.; Lu, G.; Zhang, J. Delay and Transmission Rate Analysis of Buffer-Aided UAV Networks for Emergency Communications. In Proceedings of the IEEE International Conference on Wireless Communications and Signal Processing (WCSP); IEEE: New York, NY, USA, 2020; pp. 1100–1105. [Google Scholar]
  20. Gao, N.; Liang, L.; Cai, D.; Li, X.; Jin, S. Coverage Control for UAV Swarm Communication Networks: A Distributed Learning Approach. IEEE Internet Things J. 2022, 9, 19854–19867. [Google Scholar] [CrossRef]
  21. Zeng, T.; Semiari, O.; Mozaffari, M.; Chen, M.; Saad, W.; Bennis, M. Federated Learning in the Sky: Joint Power Allocation and Scheduling with UAV Swarms. In Proceedings of the IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; IEEE: New York, NY, USA, 2020; pp. 1–6. [Google Scholar]
  22. Liu, Y.; Nie, J.; Li, X.; Ahmed, S.H.; Lim, W.Y.B.; Miao, C. Federated Learning in the Sky: Aerial-Ground Air Quality Sensing Framework with UAV Swarms. IEEE Internet Things J. 2021, 8, 9827–9850. [Google Scholar] [CrossRef]
  23. Lei, B.; Zhao, Q.; Zhao, H. A Review of Edge Computing and Computational Power Network. ZTE Commun. Technol. 2021, 27, 3–6. [Google Scholar]
  24. Do, Q.T.; Hua, D.T.; Tran, A.T.; Cho, S. Energy Efficient Multi-UAV Communication Using DDPG. In Proceedings of the IEEE 13th International Conference on Information and Communication Technology Convergence (ICTC), Jeju Island, Republic of Korea, 19–21 October 2022; IEEE: New York, NY, USA, 2022; pp. 1071–1075. [Google Scholar]
  25. You, Y.; Zhao, R.; Sun, H. Deep Reinforcement Learning-Based Trajectory Planning for Secure UAV Communication. In Proceedings of the IEEE 4th International Conference on Information Communication and Signal Processing (ICICSP); IEEE: New York, NY, USA, 2021; pp. 528–532. [Google Scholar]
  26. Fan, W.; Wei, N.; Bazzi, A.; Xi, R.; Song, Z.; Li, Y.; Zeng, Z.; Xiu, Y.; Assi, C. Optimizing Tracking Accuracy in Energy-Constrained Multimodal ISAC via Lyapunov-Driven Heterogeneous Mixture-of-Experts. arXiv 2026, arXiv:2604.26330. [Google Scholar]
  27. Miao, J.; Wang, P.; Zhang, Q.; Wang, Y. Throughput Maximization for Multi-UAV Enabled Millimeter Wave WPCN: Joint Time and Power Allocation. China Commun. 2020, 17, 142–156. [Google Scholar] [CrossRef]
  28. You, C.; Zhang, R. 3D Trajectory Optimization in Rician Fading for UAV-Enabled Data Harvesting. IEEE Trans. Wirel. Commun. 2019, 18, 3192–3207. [Google Scholar] [CrossRef]
  29. Zhao, M.; Zhang, R.; He, Z.; Li, K. Joint Optimization of Trajectory, Offloading, Caching, and Migration for UAV-Assisted MEC. IEEE Trans. Mob. Comput. 2025, 24, 1981–1998. [Google Scholar] [CrossRef]
  30. Huang, Y.; Li, R.; Chen, M.; Zhao, F.; Zhang, D.; Tu, W. Securing UAV Communications by Fusing Cross-Layer Fingerprints. IEEE Internet Things J. 2026, 13, 2462–2475. [Google Scholar] [CrossRef]
Figure 1. The architecture of MEC-enabled Multi-UAV system.
Figure 1. The architecture of MEC-enabled Multi-UAV system.
Sensors 26 03540 g001
Figure 2. GT follows the Partial Program Offloading (PPO) Scheme to offload tasks to the UAV.
Figure 2. GT follows the Partial Program Offloading (PPO) Scheme to offload tasks to the UAV.
Sensors 26 03540 g002
Figure 3. The trajectories of three UAVs under various scenarios.
Figure 3. The trajectories of three UAVs under various scenarios.
Sensors 26 03540 g003
Figure 4. Allocation of computing resources (ac) and data transmissions (df) of GT tasks for UAV1, UAV2, and UAV3, respectively.
Figure 4. Allocation of computing resources (ac) and data transmissions (df) of GT tasks for UAV1, UAV2, and UAV3, respectively.
Sensors 26 03540 g004
Figure 5. The service energy (ac) and propulsion energy (df) consumption of UAV1, UAV2, and UAV3, respectively, under different trajectories.
Figure 5. The service energy (ac) and propulsion energy (df) consumption of UAV1, UAV2, and UAV3, respectively, under different trajectories.
Sensors 26 03540 g005
Figure 6. Performance Comparison: Proposed PPO vs. Binary Offloading Benchmark.
Figure 6. Performance Comparison: Proposed PPO vs. Binary Offloading Benchmark.
Sensors 26 03540 g006
Figure 7. The trade-off curve between UAV propulsion energy and service energy consumption under varying weighting parameter β .
Figure 7. The trade-off curve between UAV propulsion energy and service energy consumption under varying weighting parameter β .
Sensors 26 03540 g007
Table 1. Comparison with Related Works.
Table 1. Comparison with Related Works.
Ref.UAV Config.Opt. DimensionsTask TypeMethod
[6,7,8]Single UAVTrajectory onlyGeneral computationSCA
[27]Multi-UAVTrajectory + powerData transmissionSCA + BCD
[9,10]Multi-UAVOffloading onlyDeep learning (full)DRL
[13]Multi-UAVTrajectory + energy + placementGeneral (full)Triple-RL
[18]Multi-UAVClustering + schedulingGeneral (full)RL + Game
[18]Multi-UAVTrajectory + resourceCommunicationHeuristic
This WorkMulti-UAVTrajectory + resource + partial offloadingDeep learning (partial)SCA + BCD
Table 2. Summary of Key Notations.
Table 2. Summary of Key Notations.
SymbolDescription
U, N, MNumber of UAVs, GTs, and discrete trajectory segments
U , N , M Index sets of UAVs, GTs, and trajectory segments
q u [ m ] Horizontal coordinate ( x u [ m ] , y u [ m ] ) of the u-th UAV at the m-th waypoint
HFixed flight altitude of all UAVs
w n Horizontal location ( x n , y n ) of the n-th GT
α u n Binary association variable: α u n = 1 if GT n offloads to UAV u, 0 otherwise
f u n o c Computing resource (CPU frequency) allocated by UAV u to GT n
D n , D o f f n Total task data size and offloaded portion for GT n
F n Required computing intensity (CPU cycles per bit) for GT n’s task
T n Task completion deadline for GT n
R n Ratio of intermediate result size to input data size
S n = D n × R n Intermediate result data size
r u n [ m ] Achievable uplink rate from GT n to UAV u in segment m
t s Fixed time duration per trajectory segment
Δ max h Maximum horizontal displacement per segment
V max h Maximum horizontal velocity of UAVs
v u [ m ] Horizontal velocity of UAV u in segment m
β Weighting parameter balancing propulsion and service energy
F max u Maximum computing capacity of UAV u
Table 3. Parameter settings of the simulation.
Table 3. Parameter settings of the simulation.
ParameterValue
Bandwidth B, DL power: P max 2 GHz, 5 mW
Pathloss: a, b, η Los , η NLos 9.61, 0.16, 1, 20
Rotary-wing: U tip , v 0 , d 0 120, 4.3, 0.6
Rotary-wing: s, ρ , G0.05, 1.225, 0.503
P 0 , P 1 12 30 3 0 . 4 3 8 ρ s G , 1.1 20 3 / 2 2 ρ G
Rotary-wing: V max h , V max v 10 m/s, 10 m/s
Noisy density: N 0 169 dBm/Hz
GT task: T k , D k 60∼70 s, 1∼5 Mb
Energy on computation: φ , ϑ 10 9 , 3
Computing capacity: f n l c 2 × 10 5 3 × 10 5 CPU cycles
GT task: F k 6 × 10 6 8 × 10 6 CPU cycles
UAV height: h m 200 m
Number of GTs and UAVs: N,U18, 3
Time episodes: M50
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

Liu, C.; Wang, Y.; Mei, H.; Du, S.; Guo, B. Joint Optimization of Trajectory-Resource Allocation and Deep Task Partial Offloading for MEC-Enabled Multi-UAV. Sensors 2026, 26, 3540. https://doi.org/10.3390/s26113540

AMA Style

Liu C, Wang Y, Mei H, Du S, Guo B. Joint Optimization of Trajectory-Resource Allocation and Deep Task Partial Offloading for MEC-Enabled Multi-UAV. Sensors. 2026; 26(11):3540. https://doi.org/10.3390/s26113540

Chicago/Turabian Style

Liu, Chuanjie, Yangjun Wang, Haibo Mei, Shuang Du, and Bing Guo. 2026. "Joint Optimization of Trajectory-Resource Allocation and Deep Task Partial Offloading for MEC-Enabled Multi-UAV" Sensors 26, no. 11: 3540. https://doi.org/10.3390/s26113540

APA Style

Liu, C., Wang, Y., Mei, H., Du, S., & Guo, B. (2026). Joint Optimization of Trajectory-Resource Allocation and Deep Task Partial Offloading for MEC-Enabled Multi-UAV. Sensors, 26(11), 3540. https://doi.org/10.3390/s26113540

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

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop