Joint Task Offloading and Resource Allocation for Streaming Application in Cooperative Mobile Edge Computing

Xiang Li 0024, Rongfei Fan, Han Hu, Xiangming LiarXiv 2023 · DOI

Abstract

Mobile Edge Computing (MEC) is essential for offloading computation from resource-constrained IoT devices. However, standard models often overlook continuous data streams and physical obstructions. This paper proposes a cooperative MEC framework for streaming applications, utilizing a relay node to bridge blocked paths. By optimizing offloading ratios and resource allocation through Dinkelbach and Difference of Convex (DCA) algorithms, the study demonstrates significant power savings and scalability for real-time IoT tasks.

Introduction

Mobile Edge Computing (MEC) has emerged as a cornerstone of 5G and IoT ecosystems, allowing resource-constrained devices to offload heavy computations to nearby servers. While many studies treat tasks as discrete, "one-off" events, modern applications—such as smart city traffic monitoring or industrial video analytics—generate data continuously. Furthermore, physical obstacles often block the direct wireless path between a user and a base station (BS). This paper addresses the joint challenge of continuous data streaming and channel occlusion in a cooperative MEC environment.

System Architecture

The proposed system model introduces a "cooperative node" (such as a laptop or a dedicated relay) that acts as an intermediary between multiple users and the Base Station. This node collects tasks from users whose direct paths to the BS are obstructed and forwards them for edge processing.

System model of cooperative MEC with multiple users and a relay node.

The Streaming Pipeline

To handle continuous data, the authors model the process as an assembly-line pipeline. This ensures that while one batch of data is being processed or transmitted, the next batch is already being collected, preventing data backlogs. The process consists of four distinct stages:

  1. Local Computation & Collection ($t_1$): Users collect data and process a portion of it locally.
  2. First-hop Transmission ($t_2$): Users send the remaining data to the cooperative node via Frequency Division Multiple Access (FDMA).
  3. Second-hop Transmission ($t_3$): The cooperative node forwards the aggregated data to the BS.
  4. Edge Execution ($t_4$): The BS completes the computation.
Timing diagram illustrating the four-stage pipeline for continuous task processing.

A critical constraint of this model is that the total time taken to offload and process a task ($t_2 + t_3 + t_4$) must be less than or equal to the time taken to collect the subsequent batch of data ($t_1$).

Optimization Methodology

The primary goal is to minimize the average power consumption, defined as the ratio of total energy to time latency. The authors formulate non-convex optimization problems for two scenarios: Case I (abundant BS capacity) and Case II (limited BS capacity).

To solve these complex problems, the paper employs several sophisticated techniques:

  • Dinkelbach Method: Transforms the fractional objective function (Energy/Time) into a more manageable subtractive form.
  • Block Coordinate Descent (BCD): In Case I, the algorithm alternates between optimizing time durations and resource allocation (bandwidth and offloading ratios).
  • Difference of Convex (DCA) Algorithm: In Case II, where variables are tightly coupled by the BS's limited capacity, DCA is used to find a convergent, locally optimal solution.
  • Lagrangian Multipliers & Bisection Search: These methods solve sub-problems with significantly lower computational complexity than standard generic solvers, ensuring scalability for dense IoT networks.

Simulation and Results

The framework was validated through numerical simulations in Matlab, modeling 5 to 10 users with Rayleigh fading channels. Key findings include:

  • Efficiency: The joint optimization significantly outperforms benchmark schemes like "Equal Bandwidth" or "Equal Time Allocation."
  • Convergence: The DCA algorithm for limited capacity scenarios typically reaches a stable solution within just 6 iterations.
  • Bottlenecks: For smaller user counts, wireless transmission bandwidth and channel quality are the dominant factors in power consumption, rather than the BS's computation speed.
  • Sensitivity: Power consumption rises sharply as the data generation rate increases, highlighting the necessity of optimal offloading for high-bandwidth applications like 4K video streaming.

Conclusion

This research provides a robust framework for managing continuous data streams in MEC environments where direct communication is hindered. By leveraging cooperative nodes and efficient optimization algorithms, the proposed system minimizes power consumption while maintaining the throughput required for real-time streaming applications. Future work may explore multi-hop relays, node mobility, and the impact of imperfect channel state information.

Summary updated

BibTeX
@misc{li2023joint,
  author = {Xiang Li and Rongfei Fan and Han Hu and Xiangming Li},
  title = {{Joint Task Offloading and Resource Allocation for Streaming Application in Cooperative Mobile Edge Computing}},
  year = {2023},
  eprint = {2305.04747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.04747},
}
Figure