Manuscript Offprint
arXiv:2611.00790Joint Trajectory, Sensing, and Computation Co-Design for UAV-Assisted Federated Edge Vision
Kaichen Liu, Yueling Che, Sheng Luo
College of Computer Science and Software Engineering
Shenzhen University, Shenzhen, China
2400101033@mails.szu.edu.cn; {yuelingche, sluo}@szu.edu.cn
Jianhua Tang
Shenzhen Smart City Technology Development Group Company, Ltd., Shenzhen, China
Abstract—This paper investigates UAV-assisted federated edge vision for training computationally heavy object detection models. Existing studies treat training data as static, ignoring the tight coupling between dynamic visual sensing and massive in-place computational burdens. To minimize the expected training time under battery constraints, we propose a four-phase joint trajectory, sensing, and computation co-design. To mitigate data heterogeneity, we use a uniform sensing probability to translate federated convergence requirements into UAV mobility constraints. Furthermore, a two-layer alternating optimization (AO) algorithm is developed to adaptively determine the local data workload, optimally balancing the required training rounds against in-place computation delays. Simulations validate the superiority of our approach in model convergence and accuracy over baselines.
Index Terms—Unmanned aerial vehicles (UAV), federated edge learning (FEEL), mobile visual sensing, trajectory optimization, resource allocation.
I. INTRODUCTION
UNMANNED aerial vehicles (UAVs) equipped with high-resolution cameras are emerging as ubiquitous platforms for industrial infrastructure inspection [1]. This naturally drives the evolution of UAV-assisted federated edge learning (FEEL) toward federated edge vision, a paradigm that collaboratively trains computationally heavy object detection models (e.g., YOLO11x) across distributed UAVs without sharing raw images [2]. However, unlike conventional federated learning with static datasets, the data acquisition in mobile vision is an active sensing process. The UAVs' trajectories directly dictate the visual sensing quality and data volumes, which in turn determine the local computation workload and the ultimate learning convergence. Hence, isolated optimizations are inherently suboptimal, necessitating a rigorous joint trajectory, sensing, and computation co-design to minimize the total training time under stringent battery constraints.
Existing studies on UAV-assisted FEEL largely take the training data as given. They primarily focus on embedding FEEL into UAV networks for communication efficiency and privacy (e.g., [3], [4]), or integrating UAV trajectory and resource scheduling into the FEEL process to accelerate model convergence (e.g., [5]–[7]). To explicitly model the data acquisition phase, recent advancements have introduced Integrated Sensing, Communication, and Computation (ISCC) to the FL paradigm. For instance, the authors in [8] and [9] studied UAV-assisted ISCC for FEEL that jointly optimizes sensing and communication resources; however, [8] and [9] fundamentally considered a static UAV performing simple radar sensing. When applied to mobile visual sensing, these approaches fall short. As noted in [10] and [11], visual data quality and volume are inherently bounded by the UAVs' flight trajectories, since their altitude and speed govern the camera footprint, ground sampling distance (GSD), and statistical data heterogeneity. To the best of our knowledge, existing ISCC frameworks have yet to accurately model this unique trajectory-sensing coupling in mobile vision, nor have they accounted for the massive in-place computational burden induced by modern deep vision models. As a result, developing a rigorous co-design that tightly couples the UAVs' mobility with sensing, computation, and communication remains a critical open challenge.
In this paper, we propose a joint trajectory, sensing, and computation co-design framework to minimize the expected training time in UAV-assisted federated edge vision. We propose a tractable four-phase operational model that quantifies the time and energy coupling across communication, dynamic visual sensing, and in-place computation. To mitigate sensing data heterogeneity, we enforce a uniform sensing probability across all UAVs, which translates the federated convergence requirements into strict UAV mobility constraints. We formulate the training time minimization problem as a mixed-integer nonconvex problem and develop a two-layer alternating optimization (AO) algorithm to solve it efficiently. In particular, our algorithm adaptively bounds the local data workload to optimally trade off the required training rounds against the heavy in-place computation delay. Extensive simulations demonstrate that our co-design substantially improves model convergence accuracy over baselines.

Fig. 1. Illustration of the four phases in a training round, depicted via the trajectory projection of each UAV.
training round is modeled as a sequence of four phases: 1) downlink broadcasting, 2) distributed sensing, 3) local computation, and 4) model uploading. Let denote the total duration of these four phases for UAV . Due to the synchronous protocol, the per-round completion time for the entire system is strictly bottlenecked by the slowest UAV, given by .
A. Four-Phase Round Structure
- Downlink Broadcasting: At the beginning of the round, the ES broadcasts the global model (size bits) to all participating UAVs. Let denote the horizontal straight-line distance from the ES to the sensing starting point . Suppose that UAV flies at a constant speed and altitude , where denotes the maximal allowable speed. During this flight, the horizontal distance between UAV and the ES increases from 0 to . Assuming a line-of-sight (LoS) dominated air-to-ground channel, the average downlink transmission rate over this straight-line flight path is obtained as:
where is the total channel bandwidth, denotes the reference downlink signal-to-noise ratio (SNR) received at UAV , and is the path-loss exponent. Since the UAV flies at a constant speed, the effective time-averaged transmission rate is equivalent to the spatial average over the flight distance in (1). To ensure the complete reception of the global model before the sensing task begins, UAV 's received data volume within the broadcasting duration must satisfy the following data volume constraint:
- Distributed Sensing: To acquire a spatially diverse training dataset in parallel, the global sensing task is distributed across UAVs. Upon reaching , UAV executes a parallel-track (lawnmower) scanning trajectory over its designated area (with length and width ). Note that is heuristically chosen near the vertex of closest to the ES to minimize the approach distance. The sensing flight is performed at a constant sensing speed and altitude , subject to policy-mandated bounds:
A downward-facing camera is equipped at each UAV to capture images at an interval of . Given the horizontal and vertical fields of view (FOV) and , the rectangular footprint of a single image has width and length . To guarantee seamless coverage along the track, the displacement between consecutive images must not exceed the footprint length, which yields
The lawnmower trajectory requires parallel tracks to fully cover . Ignoring the negligible fractional track residuals for mathematical tractability, the total flight distance is tightly approximated by . Consequently, the sensing duration is , and UAV concludes the sensing at a determinable end point governed by the scanning geometry.
Since images are captured only along the tracks, the effective capture time is . This distributed sensing process forms a unique local dataset with size for UAV . It is noted that increasing the altitude enlarges the footprint width , which effectively reduces the required tracks and shortens the sensing time . However, a higher altitude degrades the image spatial resolution, quantified by the GSD, defined as , where is the pixel resolution. The sensing quality directly affects the YOLO11x detection confidence. Based on empirical profiling [10], we model the successful participation probability of UAV as:
where is an empirical polynomial function of and . Define a Bernoulli participation indicator with . A successful sensing with validates the dataset, allowing UAV to proceed to the subsequent computation and uploading phases; otherwise, it aborts the task and returns to the ES at maximum speed.
- Local Computation: For a participating UAV with , it hovers at the sensing end point to perform in-place model training. To flexibly trade off computation delay against learning performance, UAV selects a data subset of size from , and adapts its computation workload within the practical bounds
where is the total acquired valid samples and guarantees a baseline training effectiveness. Let denote the global model parameters in the n-th round. The UAV computes the local updates via stochastic gradient descent (SGD) using its valid dataset of size . Let be the number of CPU cycles required to process one data sample, and be the CPU clock frequency. The local computation time is obtained as . During this phase, the UAV consumes hovering propulsion power but provides a stable environment for computationally intensive training.
- Model Uploading: Upon completing the local training, the UAV flies back to the ES along the shortest straight line at a constant return speed to upload its model updates
(assumed to be of size ). Let denote the horizontal upload flight distance. To avoid mutual interference, frequency division multiple access (FDMA) is adopted, where UAV is allocated a bandwidth , satisfying
Similar to the broadcasting phase, the effective time-averaged uplink rate during this straight-line return flight can be expressed as a spatial average:
where represents the reference uplink SNR received at the ES from UAV at the unit distance. The uploading duration must ensure the complete delivery of the updates, given by
Finally, the ES aggregates the received updates from all participating UAVs to generate . Given the abundant computational resources at the ES, the aggregation time cost is negligible compared to the lengthy physical phases. Note that under the synchronous protocol, this aggregation step strictly awaits the arrival of the slowest UAV.
B. Energy Consumption and Round Time
In each FEEL round, the total energy consumption of UAV is decoupled into operational energy for communication, sensing, and computation, and propulsion energy for flying and hovering. Let , , and denote the constant power for receiving, sensing, and uploading transmission at each UAV, respectively. The operational energy of a participating UAV is , where is the effective switched capacitance of the CPU. The propulsion power of a rotary-wing UAV at speed is modeled as [12]:
where , , , , and are hardware-specific aerodynamic constants. Since each phase involves either a constant-speed flight or a pure hover, the propulsion energy is evaluated in closed form as . For a dropout UAV with , it aborts the task and returns directly, thus consuming strictly less energy than a participant. To guarantee battery safety over a total of global training rounds, the worst-case energy must be bounded by the battery capacity :
Under the synchronous FEEL protocol, the round time is bottlenecked by the slowest participant:
However, minimizing the stochastic maximum of expectations is mathematically intractable. To derive a trackable optimiza-
tion problem, we introduce a continuous surrogate variable to cap the expected completion time of every UAV. By replacing the discrete indicator with its success probability , the system bottleneck is effectively constrained by
III. CONVERGENCE ANALYSIS AND PROBLEM FORMULATION
A. Convergence Analysis
Following standard federated learning literature [8], we assume that the global loss function is L-smooth and -strongly convex, and let denote its optimal model parameters. We also assume unbiased local gradients with variance bounded by and bounded data heterogeneity for all UAVs, since data samples are computed.
Theorem 1. Assume that the learning rate satisfies . After N > 0 global rounds, the expected optimality gap of the global model is bounded by:
where , is the expected initial gap with being the initial model parameters, and G is the steady-state error with the expression given in [8, Theorem 1].
The proof closely follows [8] with minor algebraic adaptations for varying dataset sizes , and is thus omitted due to space limits. Moreover, existing works reveal that unequal participant probabilities across devices severely inflate the steady-state error through data heterogeneity. To eliminate this statistical bias and ensure stable convergence, we mandate a uniform successful sensing probability for any arbitrary UAV :
where is the predefined minimum reliability threshold. Following (15), each UAV must adaptively adjust its sensing speed and altitude to achieve global unified . We further obtain Corollary 1.
Corollary 1. Under the uniform sensing probability , an upper bound to the steady-state error G is found as
(16)
where .
The proof to Corollary 1 is easy to obtain by applying the uniform , and thus is omitted here for simplicity. Note that Corollary 1 reveals the intrinsic system tradeoffs: increasing the computation workload reduces the gradient variance in , but prolongs the local computation time . Meanwhile, increasing suppresses the heterogeneity terms in , but forces the UAV's sensing parameters away from their time-optimal sensing settings. Hence, the variables must be jointly optimized. By replacing G with , the RHS of (14) is upper bounded by
Since , the initial error term vanishes as increases, and asymptotically approaches . To guarantee an -optimal global model, where is the predefined target optimality gap, we impose the following convergence constraint:
B. Problem Formulation
We aim to minimize the expected total training time , while guaranteeing the model convergence and meeting the multidimensional system limitations. Let . The training time minimization problem is formulated as follows:
(P1):
Due to the tight coupling of continuous variables and discrete variables in highly nonlinear constraints (e.g., (11) and (17)), Problem (P1) is a mixed-integer non-convex program (MINLP), which is generally NP-hard. Next section proposes an efficient alternating optimization (AO) framework to decouple and solve it.
IV. TWO-LAYER AO ALGORITHM
To solve (P1), we propose the Two-Layer AO algorithm. The outer layer conducts a one-dimensional search over the rounds N to strictly enforce the energy limit. For any given N, the inner AO iteratively updates four decoupled blocks: deriving in closed form, optimizing via successive convex approximation (SCA), determining through an integer-aware bisection search, and allocating in closed form.
A. Optimal Broadcasting Speeds
Given , (P1) reduces to the broadcasting subproblem (SP-1), which naturally decouples across the UAVs. For each UAV , (SP-1) minimizes the broadcasting time over the speed , subject to the data constraint in (2) and the speed cap in (18).
Substituting (1) into (2) directly cancels the flight distance , reformulating the data constraint in (2) as an explicit upper bound on the speed , where is independent of . Because the objective monotonically decreases as increases, the optimal closed-form solution is directly obtained by capping this bound at the maximum speed:
B. Optimization of Sensing Phase
Given , (P1) reduces to the sensing subproblem (SP-2), which minimizes over subject to (3), (4), (13), (15), and (17). Problem (SP-2) is non-convex due to the fractional term in (13), the nonlinear equality in (15), the ceiling operation in the sensing distance, and the highly coupled variables in (17). The following addresses each constraint.
First, substituting the bound (16) into (17), the term in (16) couples all UAVs. By replacing with its worst-case constant , we decouple the variables in (17), transforming it into a lower bound on :
where , .
Next, to handle (13), we remove the ceiling operation in and newly obtain that with sensing time . Since both and remain highly non-convex, directly solving (SP-2) is intractable. Hence, we employ SCA to replace these non-convex terms with their affine approximations. At the -th iteration around a local point , their first-order Taylor expansions are derived as:
Substituting (21) and (22) into (13) successfully transforms the intractable expected time constraint into a linear inequality:
Similarly, the nonlinear coupling (15) is linearized as
As a result, (SP-2) is approximated by the following convex problem at each iteration i:
(SP-2.1):
where with stabilizes the iteration, and the last two constraints define the trust region with step limits and . At each iteration, problem (SP-2.1) can be efficiently solved by CVX to obtain the optimal variables, which then serve as the local points for the next iteration. This SCA procedure repeats successively until the relative decrease of the objective falls below a predefined tolerance .
C. Optimal Local Computation Workloads
Given , (P1) reduces to the workload subproblem (SP-3), which minimizes over subject to (6), (13) and (17). Since and are constants, the bottleneck time is determined by , which increases with . Let and . The constraint in (13) is reduced to . For any candidate , the largest admissible integer workload for UAV k is given by
A candidate is feasible if for all and (17) holds under . Since in (17) is nonincreasing over , the feasibility of (SP-3) is monotonic with respect to . To obtain the exact integer global optimum, we sort all possible time thresholds and construct the following set:
inside the operational range . By performing a bisection search over the sorted set , the smallest feasible element yields the optimal expected time and the optimal workloads .
D. Optimal Uploading Speeds and Bandwidth
Given , (P1) reduces to the uploading subproblem (SP-4), which minimizes over the uploading speeds and bandwidth allocations , subject to (7), (9), (13), and (18). Similar to the broadcasting phase, since , substituting the uploading rate (8) into (9) directly cancels , reformulating the data constraint as an upper bound on the uploading speed: , where is the spatial integral independent of and .
To minimize , UAV must fly as fast as possible for any allocated bandwidth . Thus, the time-optimal speed is tightly bounded by . Let denote the fixed time budget consumed by the previous phases. According to the bottleneck constraint (13), the uploading time must satisfy . Consequently, for a target maximum time , enforcing dictates the required speed and the required minimum bandwidth . The target is globally feasible if and only if both and hold. Since decreases with , these two feasibility conditions give two lower bounds on the time variable as and , where , . Therefore, problem (SP-4) admits the closed-form optimal solutions: , , .
E. Overall Algorithm and Complexity
Algorithm 1 summarizes the proposed two-layer AO algorithm. The outer layer searches , respectively bounded by the convergence and energy constraints. Since (SP-1), (SP-3), and (SP-4) are solved exactly and (SP-2)
Algorithm 1 Two-layer AO Algorithm
Require: , , the sensing areas, , , and the system parameters.
1: for to do
2: Initialize the variables and set ;
3: repeat
4: Update and in closed form, by (SP-2.1), and by (SP-3);
5: ;
6: until the relative decrease of is below
7: if and the energy budget holds for all then
8: Record and the variables;
9: end if
10: end for
11: .
Ensure: and the optimal .
via SCA, the objective is non-increasing. Bounded below by zero, the inner loop converges; and the global minimum is obtained by evaluating across all feasible N.
Complexity: Let and denote the inner iterations and outer search size. Each iteration evaluates integrals in , solves (SP-2.1) in , and bisects in . Thus, the overall complexity is , which remains scalable for practical UAV swarms.
V. NUMERICAL RESULTS AND PERFORMANCE EVALUATION
We evaluate the proposed system with two UAVs, each scanning a area. For the federated learning task, the YOLO11x architecture is adopted and trained on the dataset provided in [10]. The simulation parameters are listed in Table I. The proposed joint optimization yields FEEL rounds with an expected bottleneck time per round. The per-UAV total energy consumption reaches 2.98 MJ at , rendering the 3.0 MJ battery constraint in (11) strictly tight. Fig. 2 and Fig. 3 compare our proposed algorithm against Baseline 1 with fixed sensing settings given in Table II and Baselines 2 and 3 with fixed learning or resource allocations, respectively.
- Impact of Sensing Parameters: As compared to all the five settings in Baseline 1, Fig. 2 shows that our proposed algorithm always achieves the fastest convergence and highest accuracy. Baseline 1 with fixed high-altitude settings, such as (v-slow, h-high), is observed to converge noticeably slower. This is because that although a higher altitude enlarges the camera footprint and reduces the required lawnmower tracks (thus shortening the sensing flight), it usually coarsens the GSD and degrades image quality. Hence, the participation
TABLE I
SYSTEM PARAMETERS
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| Number of UAVs K | 2 | Model size | 217.61 MB |
| Bandwidth | 6 MHz | SNR , | 52.5, 78.5 dB |
| Pixel array | 4000 3000 | Diagonal FOV | 84 |
| CPU frequency | 5 10 Hz | Cycles per sample | 2.5 10 |
| Sensing speed , | 0.5, 30 m/s | Participation | 0.84 |
| Altitude , | 8, 110 m | Energy budget | 3.0 MJ |
| Image interval | 1 s | Path-loss exp. | 2.3 |
| Powers , , | 5, 0.5, 0.5 W | Hardware constant | 10 |
TABLE II
BASELINE 1: UAV SENSING SPEED AND HEIGHT INTERVALS
| Scenario | Speed (m/s) | Altitude (m) | Fixed |
|---|---|---|---|
| v-fast, h-high | [7, 10, 69] | [70, 110, 37] | (9, 90) |
| v-fast, h-low | [7, 10, 69] | [8, 45] | (9, 30) |
| v-medium, h-medium | [5, 8] | [45, 70] | (5, 55) |
| v-slow, h-high | [0.5, 4] | [70, 110, 37] | (1, 90) |
| v-slow, h-low | [0.5, 4] | [8, 45] | (1, 25) |
probability drops, demanding more time to converge. Conversely, the (v-slow, h-low) setting yields the worst mAP50. This is because that the low altitude shrinks the footprint, resulting in a dense lawnmower trajectory. This inflates the sensing time, turning the UAV into a system straggler. Under a strict time budget, only a few aggregation rounds can be executed, severely limiting model generalization. Unlike Baseline 1, our proposed algorithm co-optimizes and along the boundary, effectively balancing data quality against time overhead.
- Impact of Data Volume and Resource Allocation: While a large dataset generally improves per-round learning, training YOLO11x may incur large in-place computation delay. To balance this trade-off, our algorithm adaptively bounds the workloads, yielding optimal sizes and out of 227 and 228 captured samples. Unlike our proposed algorithm, utilizing a fixed data size in Baseline 2 fails to balance this trade-off. Specifically, as shown in Fig. 3, a large dataset with severely prolongs the round time, causing a rightward convergence shift, whereas a small dataset with fundamentally limits the final accuracy. Moreover, Baseline 3's random bandwidth allocation preserves per-round accuracy but induces unoptimized uploading delays. This causes a system straggler that visibly shifts its training curve rightward. In contrast, our closed-form allocation optimally equalizes uploading times across UAVs, thereby eliminating this straggler effect.
VI. CONCLUSION
We investigated UAV-assisted federated edge vision. We conducted convergence analysis and enforced a uniform participation probability to mitigate sensing data heterogeneity. To minimize the total training time under per-UAV operation and energy constraints, we proposed the Two-layer AO algorithm to jointly optimize the training rounds, sensing mobility, computation workloads, and bandwidth allocations. Simulations validate that our design significantly accelerates model convergence and accuracy. Future work will relax the linear flight assumption, optimizing UAV trajectories during broadcast and upload phases for time minimization.
REFERENCES
[1] W. Jiang, B. Han, M. A. Habibi, and H. D. Schotten, “The road towards 6g: A comprehensive survey,” IEEE Open Journal of the Communications Society, vol. 2, pp. 334–366, 2021.
[2] P. Liu, G. Zhu, S. Wang, W. Jiang, W. Luo, H. V. Poor, and S. Cui, “Forward ambient intelligence: Federated edge learning with task-oriented sensing, computation, and communication integration,” IEEE Journal of Selected Topics in Signal Processing, vol. 17, no. 1, pp. 158–172, 2023.
(a) Accuracy

(b) Loss
Fig. 2. Comparison with Baseline 1 under fixed from Table II: (a) validation mAP50 and (b) loss versus training time.
(a) Accuracy

(b) Loss
Fig. 3. Comparisons with Baseline 2 under fixed and Baseline 3 under a random bandwidth split: (a) validation mAP50 and (b) loss versus training time.
[3] H. Zhang and L. Hanzo, “Federated learning assisted multi-uav networks,” IEEE Transactions on Vehicular Technology, vol. 69, no. 11, pp. 14 104–14 109, 2020.
[4] T. Zeng, O. Semiari, M. Mozaffari, M. Chen, W. Saad, and M. Bennis, “Federated learning in the sky: Joint power allocation and scheduling with uav swarms,” in ICC 2020-2020 IEEE International Conference on Communications (ICC). IEEE, 2020, pp. 1–6.
[5] H. Yang, J. Zhao, Z. Xiong, K.-Y. Lam, S. Sun, and L. Xiao, “Privacy-preserving federated learning for uav-enabled networks: Learning-based joint scheduling and resource management,” IEEE Journal on Selected Areas in Communications, vol. 39, no. 10, pp. 3144–3159, 2021.
[6] Y. Jing, Y. Qu, C. Dong, Y. Shen, Z. Wei, and S. Wang, “Joint uav location and resource allocation for air-ground integrated federated learning,” in 2021 IEEE Global Communications Conference (GLOBE-COM), 2021, pp. 1–6.
[7] C. Wang, X. Tang, Z. Xiong, D. Zhai, R. Zhang, D. Niyato, and Z. Han, “Uav-assisted federated learning with robust resource and trajectory optimization under location uncertainties,” IEEE Transactions on Cognitive Communications and Networking, 2025.
[8] Y. Tang, G. Zhu, W. Xu, M. H. Cheung, T.-M. Lok, and S. Cui, “Integrated sensing, computation, and communication for uav-assisted federated edge learning,” IEEE Transactions on Wireless Communications, 2025.
[9] N. Zhang, Q. Hu, D. Wen, Y. Mao, T.-M. Ma, G. Yu, and W. Wang, “Integrated sensing-communication-computation based online federated learning with limited cache in ofdm systems,” IEEE Transactions on Cognitive Communications and Networking, 2026.
[10] L. Lança, M. Malisa, K. Jakac, and S. Ivić, “Optimal flight speed and height parameters for computer vision detection in uav search,” Drones, vol. 9, no. 9, 2025. [Online]. Available: https://www.mdpi.com/2504-446X/9/9/595
[11] A. Al-Hourani, S. Kandeepan, and S. Lardner, “Optimal lap altitude for maximum coverage,” IEEE Wireless Communications Letters, vol. 3, no. 6, pp. 569–572, 2014.
[12] M. Li, N. Cheng, J. Gao, Y. Wang, L. Zhao, and X. Shen, “Energy-efficient uav-assisted mobile edge computing: Resource allocation and trajectory optimization,” IEEE Transactions on Vehicular Technology, vol. 69, no. 3, pp. 3424–3438, 2020.