Accelerating AIGC Services with Latent Action Diffusion Scheduling in Edge Networks

Changfu Xu, Jianxiong Guo, Wanyu Lin, Haodong Zou, Wentao Fan, Tian Wang, Xiaowen Chu, Jiannong CaoarXiv 2024

Artificial Intelligence Generated Content (AIGC) services, such as Midjourney and ChatGPT, have revolutionized digital creativity. However, their reliance on centralized cloud frameworks often leads to significant service latency, with users frequently waiting 40–80 seconds for a single image generation. Moving these services to edge networks—servers located closer to end-users—offers a promising solution to slash delays, but introduces complex scheduling and resource management challenges.

This paper introduces LAD-TS, a novel task-scheduling framework designed to orchestrate AIGC services across edge networks efficiently. By leveraging a "latent action diffusion" strategy and a memory-optimized model variant, the authors achieve substantial improvements in both latency and resource utilization.

The Challenge of Edge-Based AIGC

Transitioning AIGC to the edge is hindered by three primary factors:

  1. Workload Variability: Unlike traditional data-heavy tasks, AIGC workloads are defined by model complexity and the number of denoising steps required, rather than simple input size.
  2. Scheduling Complexity: Real-time allocation of requests to edge servers is an NP-hard problem. Traditional Deep Reinforcement Learning (DRL) schedulers often struggle to balance exploration and exploitation in these high-dimensional spaces.
  3. Resource Constraints: State-of-the-art models like Stable Diffusion 3 (SD3) require massive VRAM, often exceeding the capacity of edge hardware like the Nvidia Jetson series.

System Architecture: Edge-Enabled AIGC

To address these hurdles, the authors propose a distributed edge architecture where multiple Base Stations (BS) and Edge Servers (ES) collaborate to process incoming AIGC tasks.

The proposed edge network architecture featuring edge-edge collaboration and distributed schedulers.

In this model, each edge station runs a local scheduler (LAD-TS) that decides whether to process a task locally or offload it to a neighboring edge server or the cloud, based on real-time network conditions and server loads.

Methods: Latent Action Diffusion-based Task Scheduling (LAD-TS)

The core innovation of this work is the use of a Diffusion Model as the "Actor" within a Soft Actor-Critic (SAC) reinforcement learning framework.

Latent Action Strategy

While standard diffusion-based schedulers typically start from random Gaussian noise, LAD-TS utilizes historical action probabilities to guide the iterative denoising process. This "latent" guidance allows the model to converge on near-optimal scheduling decisions significantly faster than traditional methods.

The architecture of the Latent Action Diffusion Network (LADN) within the Actor model, showing the iterative denoising process from latent action probabilities to final scheduling decisions.

Hardware-Aware Model Refinement

To make deployment feasible on edge hardware, the authors developed reSD3-m, a refined version of Stable Diffusion 3. By removing the memory-intensive T5xxl text encoder, they achieved a 60% reduction in memory footprint (from 40GB to 16GB), allowing the model to fit within the VRAM of an Nvidia Jetson AGX Orin while maintaining high generation quality.

Key Results and Insights

The LAD-TS framework was evaluated using the Flickr8k dataset for realistic user prompts and synthetic workloads to test scalability. Key findings include:

  • Latency Reduction: LAD-TS reduced average service delay by 8.58% to 33.67% compared to state-of-the-art DRL and standard diffusion-based baselines.
  • Training Efficiency: The latent action strategy enabled the model to reach convergence in just 60 episodes—an 80% improvement over standard Deep Q-Network (DQN) methods.
  • Real-world Performance: In head-to-head tests against commercial cloud platforms, the prototype DEdgeAI system achieved 29.18% shorter service delays for large task batches by leveraging parallel processing across the edge cluster.

Conclusion

By reimagining task scheduling through the lens of latent action diffusion and optimizing model architectures for resource-constrained environments, this research demonstrates that high-quality AIGC services can be effectively delivered at the network edge. Future work will look toward extending this paradigm to more complex tasks like text-to-video and large-scale LLM inference in volatile wireless environments.

Summary updated

BibTeX
@misc{xu2024accelerating,
  author = {Changfu Xu and Jianxiong Guo and Wanyu Lin and Haodong Zou and Wentao Fan and Tian Wang and Xiaowen Chu and Jiannong Cao},
  title = {{Accelerating AIGC Services with Latent Action Diffusion Scheduling in Edge Networks}},
  year = {2024},
  eprint = {2412.18212},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18212},
}
Figure