Introduction
As generative AI models like Stable Diffusion transition from cloud-based environments to the mobile edge, they encounter significant operational hurdles. Mobile AIGC Service Providers (MASPs) must manage finite computational resources while delivering high-quality content to users with varying device capabilities. This paper addresses two primary bottlenecks in this ecosystem: the "Raw Prompt" gap, where vague user inputs lead to poor results, and static resource provisioning, which fails to account for the varying complexity of different generation tasks.
The Challenges of Mobile AIGC
1. The "Raw Prompt" Gap
Most users are not expert prompt engineers. Simple descriptions often result in low-quality or irrelevant images, necessitating multiple re-generations. In a mobile environment, these repeated attempts are costly, draining both device battery and server-side GPU resources.
2. Static Service Provisioning
Traditional systems often treat all AIGC requests as equal. However, there is a stark difference in the resources required to generate a simple object versus a complex scene. Static allocation leads to significant inefficiencies, either over-allocating resources to simple tasks or under-allocating to complex ones, resulting in a poor overall user experience.
Proposed Methodology
To overcome these hurdles, the researchers propose a two-stage framework combining advanced prompt optimization with a novel reinforcement learning approach for resource management.
Interactive Prompt Engineering
Instead of processing raw text directly, the system employs an LLM-based Prompt Optimizer. This component suggests refinements—such as lighting, style, and background details—to enhance the final output.
To make this process effective, the authors utilized Inverse Reinforcement Learning (IRL). Because "good" image quality is subjective, IRL allows the system to learn and imitate expert prompt engineering behaviors. This is supported by an LLM Assessing Agent (built on GPT-4 Vision) that provides human-like scoring for generated images, serving as the ground truth for the IRL policy.
Dynamic Service Provisioning (D3PG)
To manage resources, the authors developed the Diffusion-Enhanced Deep Deterministic Policy Gradient (D3PG) algorithm. By integrating a diffusion process into the Deep Reinforcement Learning (DRL) architecture, the agent can explore complex action spaces more effectively than standard algorithms. This allows the MASP to dynamically adjust transmission power and the number of inference trials based on the specific complexity of the user's request.
Key Insights and Results
- Diffusion as an Exploration Tool: A key innovation is using diffusion models—typically used for image generation—to "denoise" the decision-making of the RL agent, leading to more stable and precise resource allocation.
- Task Heterogeneity: The study demonstrates that recognizing the difference in task complexity (e.g., a "simple apple" vs. a "complex city") is essential for optimizing bandwidth and power at the network edge.
- Performance Gains: The interactive prompt engineering approach improved single-round generation success by 6.3×. Furthermore, the D3PG algorithm increased overall user Quality of Experience (QoE) by 67.8% and achieved an 87% gain in converged utility compared to static allocation methods.
Conclusion
By bridging the gap between user intent and model requirements, and by treating resource allocation as a dynamic, task-aware process, this framework significantly enhances the viability of AIGC at the mobile edge. Future work will look toward extending these techniques to more complex modalities like text-to-video and exploring the economic incentives between competing service providers.
Summary updated