Abstract
This paper investigates a collaborative edge computing framework where mobile users offload computationally intensive tasks to nearby idle devices via Device-to-Device (D2D) communication. We formulate a joint task assignment and resource allocation problem as a Mixed-Integer Non-Linear Program (MINLP) to minimize total execution latency under energy and CPU constraints. By employing convex relaxation and Lagrangian dual decomposition, we develop an efficient optimization algorithm that significantly outperforms traditional local execution and heuristic offloading strategies.
Introduction
Mobile-Edge Computing (MEC) typically relies on powerful servers at base stations. However, these can become congested or remain out of reach in dense environments. D2D-enabled MEC offers a solution by turning a neighborhood of mobile devices into a collaborative "edge cloud." By leveraging D2D communication, a local user can offload heavy tasks to nearby helpers (e.g., idle smartphones or tablets) to minimize latency without exhausting their own battery.
System Model and Problem Formulation
The paper addresses three primary challenges: combinatorial complexity in task matching, the coupling of communication and computation resources, and strict hardware constraints regarding energy and CPU speed. The system operates under a three-phase Time Division Multiple Access (TDMA) protocol:
- Phase I (Offloading): The user offloads tasks to helpers sequentially.
- Phase II (Computation): Helpers execute tasks, potentially utilizing Dynamic Voltage and Frequency Scaling (DVFS) to optimize energy consumption.
- Phase III (Downloading): Helpers return results to the user in the same sequential order as the initial offloading.
As shown in the timing diagram above, the sequential nature of Phase I and Phase III creates a "waiting time" bottleneck, where the total latency is determined by the completion time of the final helper in the queue.
Methodology
To solve the resulting MINLP, the authors employ several mathematical techniques to ensure real-time feasibility:
- Problem Reformulation: Recursive
maxterms representing waiting times are transformed into a manageable equivalent form. - Convex Relaxation: Binary task assignment variables are relaxed into continuous values, converting the problem into a convex optimization task.
- Lagrangian Dual Decomposition: The large-scale problem is decomposed into smaller sub-problems for each helper. These are solved using the Ellipsoid method and the Lambert W function to determine optimal offloading rates and CPU frequencies.
- Rounding and Heuristics: A specific rounding procedure ensures valid task assignments, while a "Greedy" heuristic is developed for lower-complexity implementation.
Key Insights and Results
Numerical simulations using Rayleigh fading channel models and varied task parameters reveal several critical insights:
- The Role of DVFS: Adjusting CPU frequency is vital. If a helper finishes a task early but must wait for its TDMA download slot, slowing the CPU saves significant energy without increasing total system latency.
- Performance Gains: The proposed joint optimization algorithm achieves performance near that of an exhaustive optimal search. In scenarios with 5 tasks and 2 helpers, it reduced latency by over 50% compared to random assignment.
- Energy Sensitivity: The algorithm is highly responsive to helper energy budgets. When helpers are energy-constrained, the system intelligently shifts more workload back to the local user to maintain feasibility.
Conclusion and Future Work
While the proposed framework significantly improves latency in static environments, future research must address device mobility and the development of incentive systems to encourage helper cooperation. Additionally, moving beyond sequential TDMA to parallel protocols like OFDMA or NOMA could further mitigate scheduling delays.
Summary updated