Optimal Task Offloading and Resource Allocation in Mobile-Edge Computing with Inter-user Task Dependency

Jia Yan, Suzhi Bi, Ying-Jun Angela Zhang, Meixia TaoarXiv 2018

This paper, "Optimal Task Offloading and Resource Allocation in Mobile-Edge Computing with Inter-user Task Dependency," tackles a critical but often overlooked reality in the Internet of Things (IoT): wireless devices don't operate in silos.

TL;DR

Researchers have developed a new framework for Mobile-Edge Computing (MEC) that accounts for dependencies between different users' tasks. By proving that optimal offloading follows a "one-climb" policy (migrating to the edge at most once), they designed an efficient Gibbs Sampling algorithm that significantly reduces energy and latency compared to traditional independent optimization methods.

What Problem Does This Paper Address?

Mobile-Edge Computing (MEC) allows resource-constrained wireless devices (WDs)—like sensors or wearables—to offload heavy computational tasks to nearby edge servers. Most existing research treats these devices as independent. However, in real-world applications like smart homes or distributed sensor networks, tasks are often coupled. For example, a smart thermostat might need the processed temperature data from a separate sensor before it can execute its own control algorithm.

When the input of a task on one device depends on the output of a task on another, their offloading decisions (whether to compute locally or at the edge) and resource allocations (transmit power and CPU speed) become tightly coupled. Solving this joint optimization problem is incredibly difficult because the number of possible offloading combinations grows exponentially with the number of tasks.

Methods

The authors model the system using a "call graph" that maps out task sequences and inter-user dependencies.

The considered call graph in a two-user MEC network.

Their approach involves three main steps:

  1. Resource Allocation: For a fixed set of offloading decisions, they derived closed-form mathematical solutions for the optimal local CPU frequencies and wireless transmit powers. They used a bi-section search method to efficiently find the optimal balance between energy and time.
  2. The One-Climb Policy: The authors proved a key theoretical result: the one-climb policy. They showed that for any device, it is never optimal to offload a task to the edge and then migrate a subsequent task back to the local device. The execution should migrate to the edge at most once.
  3. Gibbs Sampling: To find the best offloading decisions among the combinatorial possibilities, they employed a Gibbs Sampling algorithm. Crucially, by restricting the search to only those decisions that satisfy the "one-climb" policy, they drastically reduced the computational complexity from $2^{M+N}$ to $O(M^2 N^2)$, where $M$ and $N$ are the number of tasks for each user.

Datasets

The study relies on numerical simulations rather than a standard public dataset. The authors generated synthetic task graphs and wireless channel environments using parameters derived from established empirical studies in the field (e.g., specific values for effective switched capacitance and wireless path loss models).

Key Insights and Ideas

  • Dependency Changes Everything: Ignoring inter-user dependency leads to significant inefficiencies. If User A is slow, User B might waste energy rushing through its own tasks only to sit idle waiting for User A's output.
  • The Efficiency of "One-Climb": The proof of the one-climb policy (illustrated below) is a major contribution. It simplifies a massive search space into something manageable for real-time systems. If the edge server is faster than the local device, once you've paid the "cost" to move data to the edge, it rarely makes sense to move it back until the sequence is finished.
Fig. 3: Illustration of a two-time offloading and an one-climb scenarios in WD j.
  • Wait-Time Synchronization: The optimal solution naturally synchronizes users. The second user's waiting time for the first user's output is balanced against its own local processing time to minimize the overall system cost.

Key Results

  • Performance Gains: The proposed joint optimization achieved between 15.24% and 47.64% lower Energy-Time Cost (ETC) compared to benchmarks like "all-offloading," "all-local," or optimizing each user independently.
  • Scalability: The one-climb based Gibbs Sampling algorithm is highly efficient. Simulations showed it achieved approximately 46.68% lower runtime than general Gibbs sampling and remained insensitive to the total size of the task call graph.
  • Multi-user Extension: The authors successfully extended the model to scenarios with more than two users, proving that the one-climb policy remains optimal even as the network grows more complex.

Limitations and Future Work

The authors acknowledge several simplifying assumptions that provide avenues for future research:

  • Non-Causal CSI: The model assumes perfect "non-causal" knowledge of wireless channel conditions. In practice, channels fluctuate unpredictably, requiring the development of online algorithms that work with real-time, imperfect data.
  • Orthogonal Channels: The study assumes users don't interfere with each other's wireless signals. Future work needs to consider bandwidth contention in high-density networks.
  • Fixed Edge Resources: The edge server's computing power is treated as a fixed constant. A more realistic model would account for the server's own resource allocation challenges when handling many users simultaneously.
  • AI Integration: The authors suggest that Deep Reinforcement Learning could be used to quickly map varying channel conditions to optimal offloading decisions in real-time.

Summary updated

BibTeX
@misc{yan2018optimal,
  author = {Jia Yan and Suzhi Bi and Ying-Jun Angela Zhang and Meixia Tao},
  title = {{Optimal Task Offloading and Resource Allocation in Mobile-Edge Computing with Inter-user Task Dependency}},
  year = {2018},
  eprint = {1810.11199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.11199},
}
Figure