Knowledge-Driven Multi-Agent Reinforcement Learning for Computation Offloading in Cybertwin-Enabled Internet of Vehicles

Ruijin Sun, Xiao Yang, Nan Cheng, Xiucheng Wang, Changle Li · DOI

Introduction

As the Internet of Vehicles (IoV) matures, the demand for real-time, high-performance computing within vehicles has skyrocketed. Applications such as autonomous driving, augmented reality navigation, and complex path planning require processing power that often exceeds the local capabilities of a single vehicle. Mobile Edge Computing (MEC) has emerged as a vital solution, allowing vehicles to offload intensive tasks to Roadside Units (RSUs) or Macro Base Stations (MBSs).

However, implementing effective offloading in a dynamic, high-speed environment presents significant challenges. Traditional Deep Reinforcement Learning (DRL) methods often rely on centralized controllers, which introduce communication bottlenecks and latency. Furthermore, standard neural network architectures struggle with scalability and lack "permutation invariance"—the ability to recognize that the optimal strategy should not change simply because the order of vehicles in a data list is swapped. To address these issues, this research introduces KMARL, a knowledge-driven multi-agent reinforcement learning framework designed to optimize computation offloading in Cybertwin-enabled IoV environments.

Methodology

The KMARL framework is built upon three foundational pillars designed to enhance decision-making efficiency and system scalability:

1. Cybertwin-Enabled Architecture

In this model, every physical vehicle is paired with a "Cybertwin"—a digital representation residing in the virtual edge space. These Cybertwins act as intelligent agents that handle the negotiation and decision-making processes. By shifting the coordination to the virtual layer, the system utilizes high-speed, wired communication links between edge servers, preserving the limited wireless bandwidth for actual data transmission and task offloading.

2. The QMIX Framework

To manage the complexities of a multi-agent environment, the researchers employed the QMIX algorithm. QMIX facilitates Centralized Training and Decentralized Execution (CTDE). During the training phase, the agents learn a joint action-value function based on global state information. During execution, however, each Cybertwin agent can make independent offloading decisions based on its local observations, ensuring the system remains responsive in real-time scenarios.

3. Knowledge-Driven Graph Neural Networks (GNNs)

The "Knowledge-Driven" aspect of KMARL is realized through the integration of Graph Neural Networks. Unlike traditional models that treat vehicle data as a flat vector, GNNs model the IoV as a graph where vehicles are nodes and communication links are edges. This approach embeds domain knowledge about the network topology directly into the AI's architecture. Crucially, GNNs provide permutation invariance, ensuring the model remains stable and accurate regardless of how vehicles are indexed or how many new vehicles enter the network.

Experimental Setup

The framework was evaluated using a simulated IoV environment with the following parameters:

  • Network Density: 20 to 28 vehicles.
  • Task Complexity: Task sizes ranging from 1 to 2 Mbits.
  • Computational Resources: CPU capacities were set at $5 \cdot 10^5$ Hz for vehicles, $6 \cdot 10^6$ Hz for RSUs, and $10^7$ Hz for Macro Base Stations.
  • Communication Bandwidth: RSU channels were allocated 200 MHz, while MBS channels were allocated 20 MHz.

Key Results and Discussion

The performance of KMARL was benchmarked against two prominent MARL algorithms: Value-Decomposition Networks (VDN) and standard QMIX.

  • Superior Reward Accumulation: KMARL consistently achieved higher cumulative episode rewards than both VDN and standard QMIX. This indicates that the knowledge-driven GNN approach allows agents to converge on more efficient offloading strategies faster.
  • Latency Optimization: While total system latency naturally increases as the number of vehicles grows, KMARL demonstrated a significantly lower rate of increase compared to the baselines.
  • Scalability: The advantage of KMARL became most evident as the vehicle count increased to 28. While standard models began to struggle with the increased complexity, KMARL’s graph-based architecture allowed it to maintain high performance, proving its suitability for dense urban traffic environments.

Conclusion

KMARL represents a significant step forward in making IoV systems more efficient and scalable. By combining the virtual coordination of Cybertwins with the topological intelligence of GNNs, the framework successfully reduces latency and improves decision-making in complex edge computing scenarios.

Future research will focus on refining the mobility models to include more realistic urban driving patterns (such as turns and varying speeds) and exploring "task partitioning," where single computational tasks can be split and processed across multiple edge nodes simultaneously to further minimize bottlenecks.

Summary updated

BibTeX
@inproceedings{sun2023knowledge,
  author = {Ruijin Sun and Xiao Yang and Nan Cheng and Xiucheng Wang and Changle Li},
  title = {{Knowledge-Driven Multi-Agent Reinforcement Learning for Computation Offloading in Cybertwin-Enabled Internet of Vehicles}},
  booktitle = {VTC Fall},
  year = {2023},
  doi = {10.1109/vtc2023-fall60731.2023.10333855},
}
Figure