Dependency-aware Task Collaborative Offloading and Resource Allocation in UAV Enabled Edge Computing

Zhenqi Huang, Zhufang Kuang, Bin Xu, Yuanguo Bi, Anfeng Liu

Abstract

Edge computing, a new wireless communications technology, can provide abundant resources for computing and storage. Recently, it is a challenging problem to jointly consider the offloading and resource allocation of generally dependent tasks in multi Unmanned Aerial Vehicles (UAVs) multi Terminal Devices (TDs) edge computing system. In this paper, the joint problem of offloading decisions, collaborative decisions and resource allocation of general dependent tasks is investigated, considering and highlighting the cooperation between TDs. The corresponding optimization problem, which is a Mixed Integer Nonlinear Programming problem, is formulated. To make this problem solved, an iterative method based on Deep Reinforcement Learning (DRL) and Convex optimization is proposed to decompose the original problem into two subproblems. Given the resource allocation scheme, the Deep Q network (DQN) algorithm is employed to solve the offloading and collaborative decisions of all tasks. Then, given the offloading decision and cooperation decision of all tasks, the convex optimization algorithm is used to solve the optimal resource allocation scheme in the UAV enabled edge computing system. Two subproblems iterative alternately. The simulation results demonstrated that our proposed method can significantly reduce the system energy consumption compared to other schemes.

Introduction

The proliferation of resource-intensive mobile applications, such as augmented reality (AR) and autonomous driving, has pushed the limits of traditional mobile devices. Mobile Edge Computing (MEC) addresses this by offloading computation to the network edge. Unmanned Aerial Vehicles (UAVs) have recently emerged as a flexible solution for providing MEC services, acting as flying servers that can be deployed on demand. However, most existing literature treats tasks as independent entities, ignoring the complex dependencies inherent in modern software architectures. This paper addresses the joint optimization of offloading decisions, UAV collaboration, and resource allocation for tasks with general dependencies.

System Architecture

The proposed system model involves a set of UAVs hovering at a fixed altitude to serve multiple ground-based Terminal Devices (TDs). Each TD generates tasks that can be processed locally or offloaded to a serving UAV. Furthermore, UAVs can collaborate by sharing tasks via wireless links to balance the computational load across the network.

UAV-enabled edge computing system model with terminal devices and wireless links.

The optimization goal is to minimize the total system energy consumption, which includes the energy used by TDs for local processing and transmission, and the energy consumed by UAVs for computation, communication, and hovering.

Task Dependency Modeling

Unlike simple "all-or-nothing" offloading models, this research considers tasks composed of multiple sub-tasks with specific execution orders. These dependencies are modeled using Directed Acyclic Graphs (DAGs), where nodes represent sub-tasks and edges represent data dependencies.

Example of a Directed Acyclic Graph (DAG) representing sub-task dependencies.

In a DAG-based model, a sub-task can only begin execution once all its precursor tasks have completed and their output data has been received. This dependency awareness is crucial; for instance, sequential tasks (where each task depends on the previous one) inherently consume more energy and time than parallelizable tasks due to the lack of concurrent processing opportunities.

The JDAC Algorithm

The resulting optimization problem is a Mixed Integer Nonlinear Programming (MINLP) problem, which is NP-hard. To solve it efficiently, the authors propose the Joint DQN and Convex optimization (JDAC) scheme. JDAC decomposes the problem into two iterative sub-problems:

  1. Discrete Decision Making: A Deep Q-Network (DQN) is used to determine the offloading and collaborative decisions. This handles the "where" of the problem—deciding whether a sub-task stays on the TD, moves to the primary UAV, or is forwarded to a collaborative UAV.
  2. Continuous Resource Allocation: Given the decisions from the DQN, the problem of allocating CPU frequencies and transmission power becomes convex. This is solved using standard convex optimization techniques (CVX) to find the mathematically optimal resource distribution.

By iterating between these two components, the system converges to a solution that minimizes energy consumption while respecting task deadlines and hardware constraints.

Performance and Insights

Numerical simulations demonstrate that the JDAC algorithm converges reliably, typically within 1,200 iterations. Key findings include:

  • Energy Efficiency: JDAC significantly outperforms "Edge-only" and "Random-decision" benchmarks, as well as pure DRL approaches that lack the precision of convex optimization for continuous variables.
  • Collaboration Benefits: Allowing UAVs to share tasks prevents individual nodes from becoming bottlenecks, extending the overall operational life of the aerial network.
  • Hardware Scaling: The study identifies a "sweet spot" for hardware; increasing UAV CPU frequency beyond 0.8 GHz yields diminishing returns in energy reduction.

Conclusion

This research highlights the necessity of considering task dependencies in UAV-enabled edge computing. By combining the decision-making power of Deep Reinforcement Learning with the precision of Convex Optimization, the JDAC scheme provides a robust framework for energy-efficient task offloading. Future work will focus on dynamic scenarios involving mobile UAV trajectories and moving terminal devices.

Summary updated

BibTeX
@article{huang2025dependency,
  author = {Zhenqi Huang and Zhufang Kuang and Bin Xu and Yuanguo Bi and Anfeng Liu},
  title = {{Dependency-aware Task Collaborative Offloading and Resource Allocation in UAV Enabled Edge Computing}},
  journal = {Peer Peer Netw. Appl.},
  year = {2025},
  doi = {10.1007/s12083-025-01903-2},
}
Figure