Latency-Aware Resource Allocation for Mobile Edge Generation and Computing via Deep Reinforcement Learning

Yinyu Wu, Xuhui Zhang, Jinke Ren, Huijun Xing, Yanyan Shen, Shuguang Cui · DOI

As we transition toward 6G networks, the paradigm of Mobile Edge Computing (MEC) is evolving. This paper explores the intersection of MEC and Generative AI (GAI), proposing a new framework termed Mobile Edge Generation and Computing (MEGC). In this environment, edge servers do more than just process data; they actively generate content to meet the diverse needs of next-generation applications.

The MEGC Framework and Heterogeneous User Needs

Traditional edge computing focuses on offloading computationally intensive tasks to save local battery and time. However, the rise of AI-Generated Content (AIGC) introduces a new request pattern: a user might send a small prompt (e.g., a text string) to generate a large, high-resolution file (e.g., an image or video).

The challenge lies in managing heterogeneity. As shown in the system model below, a single edge server must balance resources for three distinct user types:

  1. Computation Users ($U_{comp}$): Require traditional data offloading and processing.
  2. AIGC Users ($U_{AIGC}$): Send minimal prompts and receive large generated outputs.
  3. Vision Enhancement Users ($U_{VE}$): Send data for processing (like upscaling) and receive enhanced versions back.
System architecture of the MEGC framework showing the interaction between the Edge Server and different user types.

Because bandwidth, transmit power, and CPU cycles are finite and coupled—where changing one parameter affects the efficiency of others—finding the optimal resource split is a complex, non-convex optimization problem that traditional mathematical methods struggle to solve in real-time.

The LARA Algorithm

To address this, the authors propose LARA (Latency-Aware Resource Allocation), a Deep Reinforcement Learning (DRL) algorithm based on Deep Deterministic Policy Gradient (DDPG).

DDPG was selected because resource allocation involves continuous variables—such as allocating a specific percentage of bandwidth or power—rather than discrete "on/off" choices. LARA performs joint optimization across several dimensions:

  • Bandwidth Allocation: Splitting frequency for offloading and backhauling.
  • Power Allocation: Determining the server's transmission power for returning results.
  • Offloading Ratio: Deciding the balance between local and edge computation.
  • Computation Partitioning: Splitting server CPU/GPU cycles between processing and generation.

Performance and Convergence

The study utilized a simulated environment with realistic networking parameters, including GPT-4 performance benchmarks for AIGC modeling and Line-of-Sight (LoS) channel gain models.

A key insight from the experiments is the importance of network depth. The authors found that "Large Network" (LN) structures in the DRL agent provided significantly better stability and convergence than smaller networks. If the neural network is too shallow, the agent fails to capture the complex interdependencies between power and bandwidth.

Convergence performance of the LARA algorithm comparing different network sizes (SN vs LN) and learning rates.

LARA achieved lower average latency than standard benchmarks, including Fixed Resource Allocation (FRA) and Random Allocation (RRA). Notably, its performance closely approached that of an Exhaustive Searching Scheme (ESS), which finds the absolute optimal solution but is too computationally expensive for real-time deployment.

Conclusion and Future Directions

LARA demonstrates that DRL can effectively manage the complex resource coupling in MEGC systems, ensuring fairness across diverse user types while minimizing overall latency. Future research may expand this model to include high-mobility scenarios, such as users in moving vehicles, and incorporate energy consumption constraints alongside latency optimization to better reflect the limitations of mobile hardware.

Reference: Wu, Y., et al. "Latency-Aware Resource Allocation for Mobile Edge Generation and Computing via Deep Reinforcement Learning." arXiv:2408.02047v2 [eess.SY], 2024.

Summary updated

BibTeX
@article{wu2024latency,
  author = {Yinyu Wu and Xuhui Zhang and Jinke Ren and Huijun Xing and Yanyan Shen and Shuguang Cui},
  title = {{Latency-Aware Resource Allocation for Mobile Edge Generation and Computing via Deep Reinforcement Learning}},
  journal = {IEEE Netw. Lett.},
  year = {2024},
  doi = {10.1109/lnet.2024.3486194},
}
Figure