fangvv/UAV-DDPG
Code for paper "Computation Offloading Optimization for UAV-assisted Mobile Edge Computing: A Deep Deterministic Policy Gradient Approach"
What it solves
This project addresses the problem of minimizing processing delays in UAV-assisted Mobile Edge Computing (MEC) systems. It optimizes how computing tasks are split between user equipment (UE) and a drone (UAV), while simultaneously managing the drone's flight path (angle and speed) and user scheduling to handle dynamic, non-convex environments.
How it works
The system uses a Deep Deterministic Policy Gradient (DDPG) reinforcement learning agent to manage a continuous action space. The agent observes the state of the environment—including UAV battery levels, positions of the UAV and users, and remaining task sizes—and decides on the target user, flight angle, flight distance, and the ratio of the task to be offloaded.
To ensure stability and convergence, the project implements:
- Actor-Critic Architecture: An Actor network determines the action, while a Critic network evaluates the action's Q-value.
- Experience Replay: Stores past transitions to break correlation in training data.
- State Normalization: Scales raw input values (like battery Joules and coordinates) to a [0, 1] range to accelerate training.
- Reward Function: The agent is rewarded based on the negative of the maximum processing delay, forcing it to minimize the worst-case delay across all users.
Who it’s for
Researchers and engineers working on wireless communication, drone-based edge computing, and the application of reinforcement learning to resource allocation in telecommunications.
Highlights
- Joint Optimization: Simultaneously optimizes user scheduling, offloading ratios, and UAV flight parameters.
- Continuous Action Space: Uses DDPG to handle continuous variables rather than discretizing them, which is more efficient than baseline methods like DQN.
- Comprehensive Baselines: Includes implementations of DQN, Actor-Critic, and simple local/edge-only offloading strategies for performance comparison.
- Ablation Studies: Provides specific versions of the code to test the impact of state normalization and exploration noise.
Related
- Project
- Dispatch
- Dispatch
- Dispatch