TL;DR
RISE introduces a training-free collaborative inference framework that splits text-to-image diffusion workloads between powerful edge servers and local user devices. By leveraging the shared latent space within model families, it executes early semantic denoising on the edge before handing off to the device for detail refinement, achieving up to a 2.1× speedup while fully preserving image quality.
What Problem Does This Paper Address?
Deploying massive text-to-image diffusion models (like SDXL or Stable Diffusion 3.5) at the network edge presents a classic trade-off dilemma.
- Edge-only inference yields high-fidelity images but suffers from high latency and heavy server GPU loads under heavy traffic.
- Device-only inference runs lightweight models locally to save network bandwidth and protect privacy, but these smaller models frequently fail at complex prompts, introducing semantic errors and ugly artifacts.
While collaborative "split inference" has been successful for LLMs and CNNs, doing it efficiently for diffusion models is challenging. Denoising is an iterative process where different steps serve different purposes, and a clumsy handoff between models can destroy an image's semantic coherence. Furthermore, scheduling multiple user requests across heterogeneous devices with varying network conditions and computing power is an NP-hard optimization problem.
Methods
RISE (Relay Inference and Online Scheduling) tackles these challenges with a two-pronged approach:
1. Training-Free Relay Inference
The authors exploit a key property of diffusion models: early denoising steps establish the coarse semantic layout (object placement, composition), while later steps merely refine fine-grained details. Because models within the same family (e.g., SD3.5 Large and SD3.5 Medium) share a compatible latent space, a large edge model ($M_L$) can handle the critical early steps and pass the intermediate latent ($x_s$) directly to a smaller device model ($M_S$) to finish the job.
To ensure a seamless handoff without any fine-tuning, RISE uses a sigma matching strategy. It maps the noise schedules between the two models to maintain noise continuity during the latent transfer.
2. Context-Aware Online Scheduling
To manage this in a real-world service environment, RISE implements an online scheduler based on a LinUCB contextual bandit. For every incoming request, the scheduler constructs an 8-dimensional context vector encoding:
- Task features (prompt complexity, text-rendering requirements)
- Network/hardware status (network quality, device battery)
- System state (real-time GPU node occupancy)
The scheduler uses a modified LinUCB algorithm paired with softmax sampling (with temperature decay) and forced exploration to dynamically select the optimal "arm"—which defines the model pair, the specific relay step, and the target edge node. A dynamic reward function balances image quality metrics against costs like latency and memory usage.
Datasets
The framework was evaluated using two distinct text-to-image datasets:
- DiffusionDB: A massive, large-scale prompt gallery dataset used to evaluate diverse visual scenes and general image generation quality.
- DrawTextCreative: A dataset specifically containing prompts that require legible text rendering within the generated images, serving as a strict test for typographic fidelity.
Key Insights and Ideas
- The Latent Trajectory is Stable: Empirical analysis showed that after handing off the latent from SD3.5 Large to Medium, the per-step relative deviation ($\rho_t$) in latent intensity stays below 1.5%. The smaller model naturally continues down the generation path established by the larger model.
- Task Type Dictates Model Choice: Different model families have distinct architectural strengths. For instance, the SD3 family excels at text rendering, whereas the SDXL family is highly efficient for general visual tasks but struggles with text. The scheduler naturally learns this, routing text-heavy prompts to SD3 relay configurations and simpler visual prompts to SDXL.
Key Results
- Significant Speedups: The relay mechanism achieved up to a 2.1× speedup over full-model edge inference while maintaining, or sometimes even improving, human preference and aesthetic scores.
- Superior Scheduling: In multi-tenant simulations, the RISE contextual bandit scheduler outperformed standard reinforcement learning baselines (PPO and SAC), achieving a 15.74% higher total reward than PPO.
- Context Sensitivity: Ablation studies proved that context-aware features are vital; removing them caused the system's OCR (text-rendering) scores to collapse by 76.4%, proving that the scheduler successfully distinguishes and routes specialized tasks.
Limitations and Future Work
Currently, RISE is constrained to intra-family relaying because it relies on the large and small models sharing an identical latent space (e.g., within the SD3.5 family or the SDXL family). It cannot natively hand off a latent from an SDXL edge model to an SD3.5 device model.
As a next step, the authors propose developing a lightweight adapter to align latent representations across different model families, which would unlock true cross-family collaborative inference.
Summary updated