Vehicular Edge Computing via Deep Reinforcement Learning

Qi Qi, Zhanyu MaarXiv 2019

Abstract

This paper introduces a Knowledge-Driven (KD) framework for optimizing task offloading in Vehicular Edge Computing (VEC) environments. By leveraging the Asynchronous Advantage Actor-Critic (A3C) algorithm, the framework addresses the challenges of vehicle mobility, heterogeneous resource availability, and complex task dependencies modeled as Directed Acyclic Graphs (DAGs). Simulation results demonstrate that the proposed approach significantly reduces service delay compared to traditional heuristic methods.

Introduction

Modern vehicles are increasingly equipped with advanced applications such as AI-driven autonomous driving and high-definition multimedia entertainment. However, the internal Electronic Control Units (ECUs) often lack the computational power to handle these intensive tasks in real-time. Vehicular Edge Computing (VEC) offers a solution by offloading computation to external nodes, including Base Stations (BS), roadside Access Points (AP), and neighboring vehicles.

The offloading decision process is complicated by three primary factors:

  1. High Mobility: Rapidly moving vehicles necessitate frequent handoffs between network nodes.
  2. Resource Heterogeneity: Edge nodes vary significantly in terms of latency, cost, and processing capacity.
  3. Data Dependency: Complex services are typically composed of interdependent tasks. A decision for one task affects the communication overhead for subsequent tasks.
Vehicular service DAG and heterogeneous edge computing environment.

Methodology

The authors propose a Knowledge-Driven (KD) service offloading framework based on Deep Reinforcement Learning (DRL).

System Modeling

Services are represented as Directed Acyclic Graphs (DAGs), which capture the sequential and parallel dependencies between sub-tasks. To handle the dynamic nature of the environment, the authors developed mathematical models for different node types:

  • Infrastructure Nodes (BS/AP): Modeled based on residence times and handoff frequencies.
  • Vehicular Nodes: Modeled using a discrete-time finite-state Markov chain to predict link stability based on inter-vehicle distances.
Mathematical notations used in the VEC system model.

The A3C Algorithm

The framework utilizes the Asynchronous Advantage Actor-Critic (A3C) algorithm. A3C employs multiple parallel agents to interact with environment replicas, which stabilizes training and accelerates convergence. The model follows a hybrid learning strategy: it is pre-trained on powerful edge servers using historical data and then fine-tuned online within the vehicle to adapt to real-time network fluctuations.

Experimental Setup

The framework was evaluated using synthetic scenarios modeled after real-world applications such as image segmentation, object detection, and voice translation. These tasks were containerized with specific CPU requirements (2K–9K commands) and data sizes (~2GB). The simulated environment consisted of 2 BS nodes, 2 AP nodes, and 6 neighboring vehicles with varying compute frequencies.

Key Insights and Results

The DRL approach effectively balances immediate gains with long-term performance. Unlike "greedy" algorithms that only minimize the delay of the current task, the KD framework accounts for future data transfer costs between dependent tasks.

Key findings include:

  • Performance: The KD framework consistently outperformed traditional greedy strategies in minimizing total service delay.
  • Convergence: The A3C-based model reached an optimal policy within approximately 80,000 service samples.
  • Context Awareness: The system learned to prioritize neighboring vehicles during high-density traffic (e.g., traffic jams) when inter-vehicle links are most stable, while favoring infrastructure nodes at higher speeds.

Conclusion and Future Work

While the simulation results are promising, the study identifies several areas for future exploration. The current model does not fully account for real-world physical layer issues like signal interference or the computational overhead of running the DRL agent itself on a vehicle's ECU. Future research will focus on joint optimization strategies that integrate computation offloading with content caching and handle more complex, large-scale DAGs.

Summary updated

BibTeX
@misc{qi2019vehicular,
  author = {Qi Qi and Zhanyu Ma},
  title = {{Vehicular Edge Computing via Deep Reinforcement Learning}},
  year = {2019},
  eprint = {1901.04290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.04290},
}
Figure