Abstract
As the Metaverse expands, the demand for AI-Generated Content (AIGC) is growing exponentially. However, the high computational requirements of generative models like Stable Diffusion pose significant challenges for mobile and VR devices. This paper proposes a novel "AIGC-as-a-Service" (AaaS) architecture that offloads these tasks to the wireless edge. To optimize service provider selection in this complex environment, the authors introduce D2SAC (Deep Diffusion Soft Actor-Critic), a reinforcement learning algorithm that utilizes a diffusion process to generate optimal decisions. D2SAC demonstrates superior performance over traditional deep reinforcement learning (DRL) methods, offering a robust solution for uncertain and high-dimensional decision spaces.
The Challenge: Edge-Enabled AIGC
The integration of AIGC into Metaverse applications requires real-time generation of high-quality assets. Running these models locally on user devices is often infeasible due to hardware constraints. Moving these models to edge servers—the AaaS approach—addresses the hardware bottleneck but introduces a critical management problem: Service Provider Selection.
A central manager must efficiently allocate user tasks to various AIGC Service Providers (ASPs). This task is complicated by the subjective nature of user satisfaction ("human-aware" utility), the inherent uncertainty of wireless environments, and the limitations of traditional DRL in discrete, high-dimensional action spaces.
Methodology: AI-Generated Optimal Decisions (AGOD)
To overcome these hurdles, the authors propose two key innovations:
- AGOD (AI-Generated Optimal Decision): This algorithm treats decision-making as a generative process, similar to image synthesis. It begins with a random noise distribution and iteratively "denoises" it into a probability distribution that identifies the optimal action.
- D2SAC (Deep Diffusion Soft Actor-Critic): By integrating AGOD into the Soft Actor-Critic (SAC) framework, the agent can capture complex relationships between environmental states and optimal actions more effectively than standard multi-layer perceptron (MLP) based actors.
To ensure the system remains "human-aware," the authors employ the BRISQUE metric, a no-reference image quality evaluator, to calculate rewards based on predicted human perception of the generated content.
Experimental Evaluation
The system was evaluated using a custom AIGC simulation environment featuring 1,000 Metaverse users and 20 ASPs. Real-world image data from the CelebA-HQ dataset was used to model varying ASP capabilities. Furthermore, the algorithm's generalizability was tested on standard OpenAI Gym benchmarks, including Acrobot-v1, CartPole-v1, CoinRun-v0, and Maze-v0.
Key Insights and Results
- Diffusion as an Optimizer: A primary finding is that diffusion models are exceptionally well-suited for navigating complex optimization landscapes. By denoising a policy, the agent explores the action space more effectively than traditional methods.
- The "Small T" Advantage: While image generation often requires hundreds of denoising steps, the authors found that for decision-making, a small number of steps ($T \approx 5$) is optimal, providing complexity without significant computational lag.
- Performance and Efficiency: D2SAC outperformed seven leading DRL algorithms (e.g., DQN, PPO, SAC). It reached performance baselines in just 190 training steps, compared to over 430 for DQN. In the ASP selection task, D2SAC achieved a test reward of 537 with a near-zero server crash rate (1.1%).
- Generalizability: In the "Maze-v0" benchmark, D2SAC scored 7.00, more than doubling the score of standard SAC (3.00).
Limitations and Future Work
The main trade-off for D2SAC is increased computational complexity per decision step due to the iterative denoising process. While this leads to faster total convergence, the real-time overhead may impact ultra-low-latency applications. Future work will focus on refining the algorithm with real-world edge computing datasets and exploring methods to further reduce inference time.
Summary updated