Abstract
Mobile edge computing offloads compute-intensive tasks generated on mobile wireless devices (WD) to edge servers (ES), which provides mobile users with low-latency computing services. Opportunistic computing offloading is effective to enhance computing performance in dynamic edge network environments; however, careless offloading of tasks to ESs can lead to WDs preempting network computing resources with limited bandwidth, thereby resulting in inefficient allocation of computing resources. To address these challenges, this paper proposes the density clustering and ensemble learning training-based deep reinforcement learning (DCEDRL) method for task offloading decision-making in mobile edge computing (MEC). Firstly, DCEDRL utilizes multiple deep neural networks to explore the environment. It trains multiple models using ensemble learning methods to obtain a combination of prediction results. Secondly, DCEDRL utilizes an optimized density clustering method to identify and classify computing tasks with similar characteristics to improve subsequent task scheduling and resource allocation efficiency. Finally, according to the stored priority information, DCEDRL utilizes the priority weight to resample the samples, adjust the sampling strategy in real time, and improve the adaptability and robustness of the system. Simulation results demonstrate that the proposed DCEDRL method can reduce the backlog of tasks by greater than over 21% compared to the baseline algorithms.
Introduction
Mobile Edge Computing (MEC) serves as a critical bridge between local processing on mobile devices and distant cloud servers. By offloading tasks to nearby edge servers, systems can significantly reduce latency and conserve battery life. However, "blind" offloading in crowded networks often leads to a "tragedy of the commons," where devices compete for limited bandwidth, causing congestion and inefficient resource allocation.
The primary challenge lies in making real-time offloading decisions within highly dynamic environments characterized by random task arrivals and fluctuating wireless channel conditions. While traditional heuristic methods lack flexibility, standard Deep Reinforcement Learning (DRL) often struggles with stability and the high-dimensional complexity of managing numerous devices simultaneously.
The DCEDRL Framework
To address these issues, this paper introduces the Density Clustering and Ensemble learning training–based Deep Reinforcement Learning (DCEDRL) method. The architecture integrates three core components to optimize task offloading:
- DBSCAN (Density-Based Spatial Clustering of Applications with Noise): The system employs DBSCAN to group tasks with similar characteristics, such as size, priority, and resource requirements. This reduces the state space complexity, allowing the DRL agent to process similar tasks as clusters rather than individual problems.
- Ensemble Learning: Rather than relying on a single agent, DCEDRL utilizes multiple deep neural networks (DNNs). By combining their predictions through weighted averaging or sampling, the framework smooths out individual model errors and accelerates convergence.
- Actor-Critic DRL with Lyapunov Optimization: The "Actor" generates candidate offloading strategies, while the "Critic" evaluates them. This is coupled with Lyapunov optimization to ensure long-term system stability, preventing data queues from growing indefinitely while adhering to energy constraints.
Experimental Evaluation
The DCEDRL model was evaluated using a custom simulation environment built in PyTorch, reflecting real-world parameters like 915MHz carrier frequency and Rician fading channels. The study compared DCEDRL against several benchmarks, including LyDROO (Lyapunov-guided DRL), ETHC (Elastic Task offloading), and Enum (exhaustive enumeration). Tests were conducted in both Urban (high density, high bandwidth) and Rural (low density, limited bandwidth) scenarios.
Key Insights
- Optimal Ensemble Size: Increasing the number of models in the ensemble improves performance up to a point. Five models were identified as the "sweet spot," balancing accuracy with computational overhead.
- Robustness through Clustering: By using DBSCAN to identify core points and noise, the model filters out outliers that typically hinder DRL agents, making the learning process more robust in noisy environments.
- Load Adaptability: DCEDRL demonstrates superior stability under heavy loads. While simpler algorithms struggle when task arrival rates are high, DCEDRL maintains a stable queue.
Results and Discussion
The simulation results highlight the effectiveness of the DCEDRL approach:
- Backlog Reduction: DCEDRL achieved a reduction in average task queue length (backlog) of over 21% compared to baseline algorithms like LyDROO and ETHC.
- Throughput Gains: In high-load scenarios with 20 devices, DCEDRL’s throughput was approximately 15.5% to 25% higher than competing methods.
- Clustering Performance: DBSCAN outperformed other clustering methods (K-means, GMM) by 17.7% to 40% in maintaining low queue lengths over extended periods.
- Energy Efficiency: The framework successfully maintained average power consumption below the 0.08W threshold while maximizing computation rates.
Conclusion and Future Work
While DCEDRL offers significant improvements, the current model has limitations. It simplifies latency by ignoring specific upload/download times and server computation delays. Future work will focus on incorporating more chaotic real-world data arrival patterns and exploring model pruning or distributed learning to reduce the computational cost of ensemble learning, making it more suitable for resource-constrained edge hardware.
Summary updated