Energy-Efficient Task Offloading and Resource Allocation in Mobile Edge Computing with Sequential Task Dependency

Xuming An, Rongfei Fan, Han Hu, Ning Zhang

Abstract

Incorporating mobile edge computing (MEC) in Internet of Things (IoT) enables resource-limited IoT devices to offload their computation tasks to a nearby edge server. This paper investigates an IoT system assisted by MEC where computation tasks are subject to sequential task dependency—a common requirement for video stream processing and intelligent applications. We aim to minimize energy consumption per IoT device while meeting task processing delay constraints by jointly optimizing task offloading strategies, communication resources, and computation resources under both slow and fast fading channels.

Introduction

IoT devices are increasingly tasked with heavy AI workloads, such as deep neural network (DNN) inference and real-time video processing. However, these devices often lack the necessary computational power and battery life to handle such tasks locally. While Mobile Edge Computing (MEC) offers a solution by offloading tasks to nearby servers, most existing research assumes tasks are either entirely offloadable (binary) or can be split into independent parallel parts (partial).

In practice, many intelligent applications consist of sequential sub-tasks. For instance, in a video processing pipeline, a feature extraction stage must complete before object classification can begin. This sequential dependency creates a bottleneck: Task $i+1$ cannot start until Task $i$ finishes and transmits its output data.

The Sequential Task Model

The core of this research is the modeling of these dependencies. As shown in Figure 1, a task is decomposed into $N$ sub-tasks. Each sub-task $\phi_i$ is characterized by its workload $l_i$ (CPU cycles) and the size of the input data $d_i$ it requires from the previous stage.

Sequential task dependency model where each sub-task $\phi_i$ depends on the output data $d_i$ of the previous stage.

The challenge lies in deciding the "best occasion to offload"—determining exactly which sub-task should trigger the transition from local execution to the edge server—while simultaneously managing CPU frequencies and transmit power to meet strict latency deadlines.

Methodology

The authors propose solutions tailored to the characteristics of the wireless channel:

1. Slow Fading Channels

In environments where the channel remains constant during task execution, the optimization problem is non-convex. The authors employ a two-level decomposition:

  • Upper Level: A one-dimensional exhaustive search identifies the optimal sub-task at which to switch from local to edge processing.
  • Lower Level: The non-convex resource allocation problem is transformed into a convex one by introducing an "assistant variable" for time consumption. This allows for the determination of optimal CPU frequency and transmit power using the Golden Search method and Karush-Kuhn-Tucker (KKT) conditions.

2. Fast Fading Channels

For rapidly changing channels, the authors develop online policies that adapt to instantaneous channel states. A significant theoretical contribution is the proof that as channel coherence time decreases (extremely fast fading), these complex online policies converge to a simpler offline policy. This finding allows for significant reductions in computational overhead for the IoT device without sacrificing performance.

Key Insights and Results

The study yields several critical insights for MEC system design:

  • The "One-Climb" Strategy: It is generally optimal to compute a sequence of tasks locally and then offload the remaining sequence to the edge in a single transition, rather than switching back and forth.
  • Energy Efficiency: Numerical simulations, modeling 10 sequential sub-tasks with varying workloads and data sizes, show that the proposed joint optimization significantly outperforms binary or non-optimized sequential offloading.
  • Latency Sensitivity: As the latency deadline ($T_{th}$) is relaxed, the system can drastically reduce energy consumption by lowering local CPU frequencies or reducing transmit power.
  • Computational Practicality: The algorithms are highly efficient. The optimal solution is found in approximately 3.0 ms for slow fading and 0.14 ms for fast fading, making them suitable for real-time deployment on low-power IoT hardware.

Conclusion and Future Work

This work provides a robust framework for managing sequential tasks in MEC environments. However, several avenues for future research remain. The current model focuses on a single-user scenario; future studies should address resource contention and interference in multi-user environments. Additionally, expanding the model from linear chains to Directed Acyclic Graphs (DAGs) would allow for more complex application structures. Finally, integrating user mobility and trajectory prediction remains a key challenge for maintaining offloading efficiency in dynamic environments.

Summary updated

BibTeX
@article{an2022energy,
  author = {Xuming An and Rongfei Fan and Han Hu and Ning Zhang},
  title = {{Energy-Efficient Task Offloading and Resource Allocation in Mobile Edge Computing with Sequential Task Dependency}},
  journal = {IEEE Internet of Things Journal},
  year = {2022},
  url = {https://openreview.net/forum?id=WNSLqdUvHz},
}
Figure