Energy-efficient Task Offloading for Relay Aided Mobile Edge Computing under Sequential Task Dependency

Xiang Li, Rongfei Fan, Han HuarXiv 2021

Abstract

Mobile Edge Computing (MEC) offers a promising solution for resource-constrained mobile devices by offloading computationally intensive tasks to edge servers. However, sequential task dependencies and poor direct link quality pose significant challenges to energy efficiency. This paper presents a framework for energy-efficient offloading using a cooperative node that acts as both a relay and a secondary processor. We formulate the problem as a mixed-integer non-convex optimization to minimize total energy consumption under strict latency constraints. By employing a two-level decomposition approach and exploiting the monotonic properties of offloading indices, we derive efficient algorithms to determine optimal CPU frequencies, transmission times, and offloading points.

Introduction

Modern mobile applications, such as Augmented Reality (AR) and Deep Neural Network (DNN) inference, often consist of tasks with strict sequential dependencies. In such scenarios, a task cannot begin until its predecessor is completed. Furthermore, direct communication between a mobile device (MD) and a base station (BS) can be severely degraded by physical obstacles or distance, a condition known as deep fading. To address these issues, cooperative nodes (CNs)—nearby devices with spare resources—can be utilized to facilitate offloading. Unlike traditional relays, these nodes can also process tasks, acting as "prosumers" of computing resources.

System Model and Problem Formulation

We consider a three-tier MEC system comprising an MD, a CN, and a BS. The MD has a sequence of $N$ tasks ($\phi_1, \dots, \phi_N$), while the CN may have its own sequence of $M$ tasks ($\varphi_1, \dots, \varphi_M$). Due to sequential dependencies, tasks must be executed in order. The goal is to minimize the weighted sum of energy consumption at the MD and CN while meeting a total completion time deadline.

The optimization problem is defined by offloading indices $n_1, n_2$ for the MD's tasks. Tasks $\phi_1$ to $\phi_{n_1-1}$ are processed locally at the MD, tasks $\phi_{n_1}$ to $\phi_{n_2-1}$ are offloaded to and processed by the CN, and tasks $\phi_{n_2}$ to $\phi_N$ are offloaded via the CN to the BS.

Offloading chain for the Mobile Device's sequential tasks across three tiers.

Methodology

The resulting optimization problem is mixed-integer and non-convex, making it notoriously difficult to solve directly. To address this, we employ a two-level decomposition strategy.

Lower-Level Optimization

For fixed offloading indices, the problem reduces to a convex sub-problem involving continuous variables: CPU frequencies and transmission durations. We apply Karush-Kuhn-Tucker (KKT) conditions to derive semi-closed-form solutions. Notably, the optimal time allocation for data transmission is expressed using the Lambert W function. A key finding (Remark 1) is that the optimal CPU frequency remains constant for all tasks processed consecutively at the same node, which significantly simplifies resource allocation.

Upper-Level Optimization

The upper level determines the optimal integer offloading indices. A brute-force search would be computationally expensive. However, we prove a monotonic condition: the optimal offloading point is related to the data size of the tasks. This property allows for a significantly narrowed search space, enabling the use of efficient bisection-like search algorithms rather than exhaustive traversal.

Case Analysis: Idle vs. Active Relay

The framework considers two primary scenarios based on the status of the cooperative node:

  1. Case 1 (Idle CN): The CN has no tasks of its own and purely assists the MD in relaying and processing.
  2. Case 2 (Active CN): The CN has its own sequential tasks to complete. In this case, we introduce priority scheduling to manage resource contention and interference. We propose three transmission schemes based on the relative ordering of data uploads to the BS, ensuring that both the MD and CN can meet their respective deadlines while sharing the same wireless channel.
Offloading of the Cooperative Node's own sequential tasks to the Base Station.

Key Insights

  • Dual Role of CN: The CN serves as a "relay-processor," deciding whether to compute a task to reduce transmission volume or simply forward it based on energy and time constraints.
  • Complexity Reduction: Proving the monotonicity of offloading indices transforms a high-complexity combinatorial problem into a manageable search process.
  • Resource Allocation: The constant CPU frequency result simplifies the hardware control logic required for energy-efficient execution at each node.

Conclusion and Future Work

This paper provides a rigorous mathematical foundation for energy-efficient offloading in relay-aided MEC systems with sequential tasks. By treating the cooperative node as a prosumer, the system achieves better energy performance than traditional relaying. Future research could extend this model to multi-relay environments, dynamic channel conditions, and the development of incentive mechanisms to encourage cooperative behavior among nodes.

Summary updated

BibTeX
@misc{li2021energy,
  author = {Xiang Li and Rongfei Fan and Han Hu},
  title = {{Energy-efficient Task Offloading for Relay Aided Mobile Edge Computing under Sequential Task Dependency}},
  year = {2021},
  eprint = {2103.03708},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.03708},
}
Figure