Abstract
AI-Generated Content (AIGC), as a novel manner of providing Metaverse services in the forthcoming Internet paradigm, can resolve the obstacles of immersion requirements. Concurrently, edge computing, as an evolutionary paradigm of computing in communication systems, effectively augments real-time interactive services. In pursuit of enhancing the accessibility of AIGC services, the deployment of AIGC models (e.g., diffusion models) to edge servers and local devices has become a prevailing trend. Nevertheless, this approach faces constraints imposed by battery life and computational resources when tasks are offloaded to local devices, limiting the capacity to deliver high-quality content to users while adhering to stringent latency requirements. This paper proposes a joint optimization algorithm for offloading decisions, computation time, and diffusion steps of the diffusion models in the reverse diffusion stage. Moreover, we take the average error into consideration as the metric for evaluating the quality of the generated results. Experimental results conclusively demonstrate that the proposed algorithm achieves superior joint optimization performance compared to the baselines.
Introduction
We are entering the era of "AIGC-as-a-Service" (AaaS), where users expect high-quality, AI-generated images and videos on their mobile devices in real-time. However, the diffusion models (like DALL-E or Stable Diffusion) that power these services are computationally intensive. Running these models entirely on a smartphone leads to significant battery drain and often requires lower-quality "lightweight" models due to hardware limitations. Conversely, offloading all tasks to an edge server can overwhelm server capacity and introduce network delays. This research addresses the "triple tradeoff" between image quality, processing latency, and battery life by distributing tasks across a 6G edge computing network to find the optimal balance.
Methodology
The researchers modeled the problem as a joint optimization of offloading decisions (local vs. edge) and the number of reverse diffusion steps, which directly determines image quality. Key technical components include:
- Mathematical Quality Modeling: The quality of the AIGC result is modeled as a function of the number of reverse diffusion steps ($s_n$). The "utility" of these steps is treated as a concave function, acknowledging diminishing returns in quality after a certain point.
- Successive Convex Approximation (SCA): To solve the NP-hard problem involving discrete binary decisions (offloading) and continuous variables (time and steps), the authors used SCA and a penalty-based method to transform it into a solvable convex problem.
- KKT Conditions: Karush-Kuhn-Tucker (KKT) conditions were applied to derive optimal solutions for sub-problems, ensuring computational efficiency for real-time management.
Results and Discussion
The algorithm was evaluated through numerical simulations of a network with 30 mobile users. The results demonstrate several key trends:
- Latency Reduction: As the edge server's capacity ($S_e^{max}$) increases, the total computation time decreases because the system can offload more complex tasks to the faster server.
- Energy vs. Quality: While more diffusion steps increase energy consumption, the proposed algorithm manages this growth more efficiently than random allocation baselines.
- Optimization Performance: The joint optimization metric—a weighted sum of cost and utility—shows that the proposed algorithm reaches a stable, optimal state effectively.
As shown in the performance analysis, the algorithm is sensitive to weight parameters, allowing it to be tuned for different priorities, such as extreme battery saving for low-power devices or ultra-low latency for interactive applications.
Conclusion
This paper introduces a robust framework for managing AIGC services in edge networks. By treating diffusion steps as an allocatable resource, the system can significantly save energy without a perceived drop in quality. Future work will address limitations such as downlink transmission delays in congested environments, multi-server load balancing, and the integration of perceptual metrics like CLIP scores to better capture subjective image quality.
Summary updated