Learning Based Task Offloading in Digital Twin Empowered Internet of Vehicles

Jinkai Zheng, Tom H. Luan, Longxiang Gao, Yao Zhang, Yuan WuarXiv 2021

Abstract

Mobile edge computing has become an effective and fundamental paradigm for futuristic autonomous vehicles to offload computing tasks. However, due to the high mobility of vehicles, the dynamics of the wireless conditions, and the uncertainty of the arrival computing tasks, it is difficult for a single vehicle to determine the optimal offloading strategy. In this paper, we propose a Digital Twin (DT) empowered task offloading framework for Internet of Vehicles. As a software agent residing in the cloud, a DT can obtain both global network information by using communications among DTs, and historical information of a vehicle by using the communications within the twin. The global network information and historical vehicular information can significantly facilitate the offloading. In specific, to preserve the precious computing resource at different levels for most appropriate computing tasks, we integrate a learning scheme based on the prediction of futuristic computing tasks in DT. Accordingly, we model the offloading scheduling process as a Markov Decision Process (MDP) to minimize the long-term cost in terms of a trade off between task latency, energy consumption, and renting cost of clouds. Simulation results demonstrate that our algorithm can effectively find the optimal offloading strategy, as well as achieve the fast convergence speed and high performance, compared with other existing approaches.

Introduction

Modern vehicles are rapidly evolving into "computers on wheels," necessitating immense processing power for safety-critical tasks like autonomous driving and data-heavy applications like augmented reality. While Mobile Edge Computing (MEC) provides a solution by allowing vehicles to offload tasks to nearby servers, making real-time optimal decisions remains a significant challenge. High vehicle mobility, fluctuating wireless channel conditions, and the stochastic nature of task arrivals create a complex environment where local information is insufficient for efficient resource management.

Digital Twin Empowered IoV Framework

To address these challenges, the proposed architecture consists of a Physical Space (vehicles and sensors) and a Virtual Space (the Digital Twin network). In the physical space, vehicles interact with Base Stations (BSs) and Roadside Units (RSUs). In the virtual space, each vehicle is represented by a Digital Twin (DT)—a cloud-based software agent.

The Digital Twin empowered IoV framework, illustrating the interaction between physical and virtual spaces.

The DT serves as an information hub, maintaining a real-time mapping of the vehicle's state. Because these twins reside in the cloud, they can exchange global network information (e.g., server congestion, network topology) much faster than physical vehicles communicating over unstable wireless links. This global perspective, combined with the vehicle's historical data, allows for more informed offloading decisions.

Task Offloading and Prediction Strategy

The core of the framework is an intelligent offloading mechanism that leverages both prediction and reinforcement learning within the DT environment.

  1. Predictive Modeling: Unlike reactive systems, this framework employs a Recurrent Neural Network (RNN) within the DT to predict future task arrival rates and channel throughput. This foresight allows the system to proactively reserve resources, preventing bottlenecks at the edge or local queues.
  2. MDP and A3C Learning: The offloading problem is modeled as a Markov Decision Process (MDP) to minimize a long-term cost function that balances execution latency, energy consumption, and cloud rental fees. The system utilizes the Asynchronous Advantage Actor-Critic (A3C) algorithm, which employs multiple parallel workers to stabilize training and accelerate convergence.
Detailed offloading decision process within the Digital Twin, incorporating task and throughput prediction modules.

Performance Evaluation

The framework was evaluated in a simulated IoV environment featuring high-speed mobility (up to 30 m/s) and dynamic channel fading. Key findings include:

  • Superior Convergence: The A3C-based model converged to an optimal policy faster and achieved higher average rewards than standard Deep Q-Learning (DQN) approaches.
  • Reduced Task Loss: By anticipating task surges, the predictive DT module significantly reduced task drops due to queue overflows compared to non-predictive baselines.
  • Mobility Robustness: The system maintained near-zero re-transmissions even at high speeds, effectively managing handovers by accounting for predicted vehicle paths and RSU coverage.
  • Cost-Effective Offloading: The framework intelligently shifted tasks between local, MEC, and cloud resources based on real-time congestion and cost trade-offs.

Conclusion

The integration of Digital Twins into the IoV offloading process provides the necessary "global view" and predictive capabilities to handle the inherent dynamics of vehicular networks. While the current model shows significant promise, future work should address the potential synchronization overhead between physical vehicles and their twins, as well as the competitive dynamics in multi-vehicle scenarios.

Summary updated

BibTeX
@misc{zheng2021learning,
  author = {Jinkai Zheng and Tom H. Luan and Longxiang Gao and Yao Zhang and Yuan Wu},
  title = {{Learning Based Task Offloading in Digital Twin Empowered Internet of Vehicles}},
  year = {2021},
  eprint = {2201.09076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.09076},
}
Figure