Abstract
In the rapidly evolving landscape of the Internet of Things (IoT) and 6G networks, Digital Twins (DTs)—virtual replicas of physical objects—are becoming essential for real-time monitoring and industrial automation. However, maintaining these twins requires massive computational power and ultra-low latency. This paper proposes a novel task offloading algorithm designed specifically for DTs operating in a hybrid environment of Edge and Cloud computing. By utilizing a Distributed Deep Learning (DDL) approach, the system generates near-optimal offloading decisions in under 0.01 seconds without requiring pre-labeled training data, effectively balancing latency and energy consumption.
Introduction
Digital Twins are complex models fed by continuous streams of data from various sensors, cameras, and IoT devices. To keep a DT synchronized with its physical counterpart, this data must be processed with minimal delay. Currently, developers face a significant trade-off: Mobile Cloud Computing (MCC) offers massive processing power but suffers from high latency due to physical distance, while Mobile Edge Computing (MEC) offers low latency but has limited processing capacity.
Existing research often treats these environments in isolation or assumes a simple one-to-one relationship between a device and its DT. This study addresses the challenges of a heterogeneous environment (mixing edge and cloud) and the multi-source data problem, where a single DT relies on multiple data collection devices. The goal is to solve the "Mixed-Integer Programming" (MIP) problem of determining which server should host which DT to minimize the weighted cost of time and energy.
System Architecture
The proposed system model integrates both MEC and MCC to handle data from multiple sources. A critical insight of this model is that a DT is only as fast as its slowest data source. Consequently, the model calculates the overall time cost based on the maximum transmission time among all devices linked to a specific DT.
As illustrated in the system architecture, the "Physical Environment" contains various devices (e.g., vehicles, cameras, VR headsets) that transmit data to the "DT Maintenance" layer. This layer manages the allocation of tasks between local edge servers and centralized cloud servers, ensuring that the virtual replicas remain synchronized with their physical counterparts.
The DDL-based Offloading Algorithm
To overcome the computational complexity of traditional optimization methods, the authors introduce a Distributed Deep Learning (DDL) based offloading algorithm. This approach allows for real-time decision-making in dynamic IoT environments.
The algorithm employs several key innovations:
- Parallel DNNs: The system runs $K$ parallel Deep Neural Networks with different initial weights to explore the decision space effectively.
- Self-Training Mechanism: Each DNN generates a potential offloading decision. The system calculates the cost for all $K$ decisions and selects the best one. This "best" decision is then used to train the networks further, allowing the model to learn "on the fly" without pre-labeled datasets.
- Feature Extraction: A fully connected layer simplifies the complex relationships between multiple devices and their respective DTs before passing the data to the decision-making module.
Performance Evaluation
The algorithm's performance was evaluated using a simulation dataset consisting of 1,024 different test scenarios involving up to 120 data collection devices and 15 different DTs. Key results include:
- Efficiency: Once trained, the model generates offloading decisions in less than 0.01 seconds.
- Cost Reduction: The DDL algorithm significantly reduced the weighted cost of latency and energy compared to baseline methods like Random Offloading and Cloud-Only processing.
- Scalability: The study found that using 12 parallel DNNs provided the optimal balance between accuracy and training overhead.
- Stability: The model demonstrated strong convergence, with decision consistency approaching 1.0 after approximately 1,000 iterations.
Conclusion
This research provides a robust framework for managing Digital Twins in complex, multi-source data environments. By leveraging Distributed Deep Learning, the proposed algorithm achieves near-optimal task offloading with minimal computational delay. Future work will focus on integrating real-world variables such as device mobility and signal interference, as well as exploring privacy-preserving techniques like Federated Learning to secure the offloading process.
Summary updated