Mobile edge computing (MEC) has emerged as a key solution for addressing the demands of computation-intensive network services by providing computational resources at the network edge, thereby minimizing service delays. Leveraging their flexible deployment, wide coverage, and reliable wireless communication, unmanned aerial vehicles (UAVs) have been integrated into MEC systems to enhance performance. This paper investigates the task offloading problem in a Multi-UAV-assisted MEC environment and proposes a collaborative optimization framework that integrates the Distance to Task Location and Capability Match (DTLCM) mechanism with a Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithm. Unlike traditional task priority-based offloading schemes, the proposed approach ensures optimal UAV selection based on both computational capability and spatial proximity. The system gain is defined in terms of energy efficiency and task delay with the optimization formulated as a mixed-integer programming problem. To efficiently solve this complex problem, a Multi-Agent Deep Reinforcement Learning framework is employed, combining MADDPG with DTLCM to jointly optimize UAV trajectories, task offloading decisions, computational resource allocation, and communication resource management. Comprehensive simulations demonstrate that the proposed MADDPG-DTLCM framework significantly outperforms four state-of-the-art methods (MADDPG-DTLCM,MADQN, MADDPG without DTLCM, and Greedy offloading), achieving 18% higher task completion rates and 12% lower latency under varying network conditions, particularly in high-user-density scenarios with UAV collaboration.
Mobile Edge Computing (MEC) addresses the demands of computation-intensive network services by providing processing capabilities at the network’s edge, reducing service latency. Unmanned Aerial Vehicles (UAVs) enhance MEC due to their flexibility, broad coverage, and reliable wireless communication. This paper investigates task offloading in a UAV-assisted MEC system with multiple collaborating UAVs, optimizing task allocation in binary offloading mode to enhance system efficiency. System performance is evaluated in terms of energy consumption and task delay, while the proposed framework jointly optimizes UAV trajectory design, binary offloading, computation resource allocation, and communication resource management to achieve better resource utilization. To overcome the limitations of traditional heuristic-based approaches, we propose an innovative Deep Reinforcement Learning (DRL)-based task offloading framework and conduct a comparative analysis of Deep Deterministic Policy Gradient with Distance to Task Location and Capability Matching (DDPG with DTLCM), Deep Q-Network (DQN), and Q-Learning. Our approach leverages DTLCM to enhance decision-making, allowing UAVs to assign tasks more intelligently by factoring in both their proximity to the task and their computational capabilities. Experimental results show that DDPG with DTLCM consistently outperforms both DQN and Q-Learning, delivering more stable task allocation and better adaptability in dynamic scenarios. While DQN is more stable than Q-Learning in high-dimensional state spaces, it still suffers from discretization constraints. In contrast, DDPG with DTLCM benefits from a continuous action space, enabling more flexible and fine-tuned decision-making. These insights underscore the strength of policy-gradient DRL methods, particularly when augmented with context-aware mechanisms like DTLCM, in advancing UAV-assisted MEC task scheduling and resource optimization.