Optimal Load-Aware Task Offloading in Mobile Edge Computing

Odysseas Polycarpou, Christos Anagnostopoulos, Kostas KolomvatsosProceedings of the International Conference of Control, Dynamic Systems, and Robotics 2021

Abstract: Mobile Edge Computing (MEC) has emerged as a new computing paradigm to provide computing resources and storing applications closer to the end-users at the operator network boundary. One of the main challenges of MEC is task offloading, i.e., the transfer of computational tasks to a remote processor or external platforms such as a grid of servers or the Cloud. Task offloading mainly faces when and where is best to offload tasks to mitigate a smart device's energy consumption and workload. This paper tackles this challenge by adopting the principles of Optimal Stopping Theory (OST) with three time-optimised sequential decision-making models. A performance evaluation is provided with upon real data-sets on which our proposed models are applied and compared to the theoretical optimal model. Our results show how close our models can be to the theoretical optimal one based on probabilistic and scaling factors. Moreover, in our performance evaluation section, we conclude that one of the applied sequential models can be extremely close to the optimal one making it suitable in single-user and competitive user scenarios.

The Offloading Dilemma in Mobile Edge Computing

In the evolving landscape of the Internet of Things (IoT) and autonomous vehicular networks, mobile devices frequently encounter tasks that exceed their local processing capabilities. Mobile Edge Computing (MEC) addresses this by deploying servers at the network's edge, such as on cellular base stations, to provide low-latency computational support.

However, mobility introduces a significant challenge: a mobile node (e.g., a vehicle) passes a sequence of MEC servers, each characterized by fluctuating workloads. The decision-maker faces a classic sequential problem: should the task be offloaded to the current server, or should the node continue moving in hopes of finding a server with a lighter load? Because the vehicle is in motion, once a server is passed, it cannot be revisited—a constraint known as "no-recall." Offloading too early to a congested server results in high latency, while waiting too long may lead to missing the optimal offloading window entirely.

Conceptual framework of task offloading in a mobile environment where a vehicle observes multiple edge servers.

Methodology: Optimal Stopping Models

To solve the "when and where" problem, this research applies Optimal Stopping Theory (OST), evaluating three distinct mathematical models against real-world CPU load data:

  1. The Random (P) Model: A baseline probabilistic approach where the device offloads based on a fixed probability, ignoring the actual server load.
  2. The Secretary Model: Based on the classic "Secretary Problem," the device observes a sample of the first $r$ servers (approximately 37% of the total) to establish a baseline and then selects the first subsequent server that outperforms all previous candidates.
  3. The House Selling (HS) Model: The most sophisticated approach, treating server selection like a homeowner evaluating offers. It utilizes dynamic programming and backward induction to calculate a threshold ($\alpha$) for each step. If a server's availability exceeds this threshold, the task is offloaded. This model also incorporates a "discount factor" to represent the cost of waiting.

Experimental Setup and Data

The models were tested using a real-world dataset of EC2 CPU utilization load values from Amazon Web Services (AWS) CloudWatch. The researchers processed 4,000 measurements collected over two weeks into "chunks" of 100 to 200 servers. This approach ensures the models are evaluated against the bursty and unpredictable nature of actual server workloads rather than synthetic simulations.

Key Results and Performance Analysis

The performance evaluation revealed significant differences in how these models handle dynamic workloads:

  • House Selling Superiority: The HS model emerged as the clear winner, with performance nearly identical to the theoretical "Optimal" solution (which assumes perfect foresight of all future server loads). As the discount factor approaches zero, the HS model converges almost perfectly with the optimum.
  • Secretary Model Efficiency: The Secretary model proved to be a strong runner-up. While it occasionally missed the absolute best server, it consistently selected the "next best" candidate, making it highly effective for competitive scenarios.
  • The Necessity of Load-Awareness: The Random (P) model failed to hit the optimal server in any run and showed a massive offset from the best stopping time, proving that effective MEC offloading requires active environmental observation.
Load realization and timing offsets for the Secretary model, demonstrating its proximity to optimal performance.

Conclusion and Future Directions

By framing task offloading as an optimal stopping problem, this study demonstrates that intelligent sequential decision-making can significantly reduce latency and energy waste in MEC environments. While the House Selling model provides near-optimal results, future work is needed to address fluctuating network signal strengths and competitive scenarios where multiple users vie for the same edge resources simultaneously.

Summary updated

BibTeX
@inproceedings{polycarpou2021optimal,
  author = {Odysseas Polycarpou and Christos Anagnostopoulos and Kostas Kolomvatsos},
  title = {{Optimal Load-Aware Task Offloading in Mobile Edge Computing}},
  booktitle = {Proceedings of the International Conference of Control, Dynamic Systems, and Robotics},
  year = {2021},
  doi = {10.11159/cdsr21.301},
}
Figure