Parallel Diffusion Solver via Residual Dirichlet Policy Optimization

Ruoyu Wang, Ziyu Li, Beier Zhu, Liangyu Yuan, Hanwang Zhang, Xun Yang, Xiaojun Chang, Chi ZhangarXiv 2025 · DOI

Introduction

Diffusion models have revolutionized generative AI, yet their sequential sampling process remains a significant bottleneck for real-time applications. While fast ODE solvers can reduce the number of function evaluations (NFE), aggressive step reduction often leads to severe truncation errors, resulting in degraded image quality. This paper presents the Ensemble Parallel Direction (EPD) Solver, a novel framework that leverages parallel computation and reinforcement learning to achieve high-fidelity generation at ultra-low latencies.

The Challenge of Truncation Errors

The sampling trajectory of a diffusion model is inherently curved. Standard solvers like DDIM attempt to approximate this path using a single gradient direction per step. When the step size is large (low NFE), these solvers "cut the corner" too sharply, deviating from the true probability flow. This deviation, known as truncation error, is the primary cause of blurriness and artifacts in accelerated sampling.

The EPD-Solver Framework

The core innovation of the EPD-Solver is the Parallel Gradient Ensemble. Instead of relying on a single gradient or sequential multi-step evaluations, EPD computes $K$ gradients at different intermediate timesteps simultaneously within a single interval.

Comparison of diffusion ODE solvers. EPD-Solver (d) computes multiple gradients in parallel to improve accuracy without increasing latency.

Because these $K$ evaluations are independent, they can be parallelized on modern hardware, effectively providing the accuracy of a high-order solver for the time cost of a first-order one. These gradients are then combined using learned weights to form a more accurate update direction that better follows the curved trajectory.

Two-Stage Optimization Strategy

To optimize the solver's parameters (intermediate timesteps and combination weights), the authors employ a two-stage training pipeline:

  1. Stage 1: Distillation. The solver is first trained to mimic the trajectory of a high-step "teacher" solver (e.g., 1000-step DDIM). This provides a strong initialization by minimizing the mean squared error between the student and teacher paths.
  2. Stage 2: Residual Dirichlet Policy Optimization (RDPO). For complex text-to-image tasks, distillation alone may not capture human aesthetic preferences. The authors freeze the massive diffusion backbone and treat the solver's parameters as a stochastic policy. Using Proximal Policy Optimization (PPO), they fine-tune these parameters against a human preference reward model (HPSv2.1). By using Dirichlet distributions for the weights, they ensure the ensemble coefficients naturally sum to one, maintaining stability.

This approach is significantly more efficient than traditional RL fine-tuning, which updates billions of model parameters. By only optimizing the low-dimensional solver space, the method avoids "reward hacking" and preserves the base model's original capabilities.

Key Results and Insights

Empirical evaluations across various datasets (CIFAR-10, ImageNet, Stable Diffusion) demonstrate the EPD-Solver's superiority. At a budget of 5 Parallel NFE, it achieves an FID of 4.47 on CIFAR-10, nearly tripling the performance of previous state-of-the-art solvers like AMED.

FID vs. Latency performance. EPD-Solver achieves significantly lower FID scores at the same latency budget compared to existing fast solvers.

In text-to-image benchmarks, EPD-Solver with 20 steps outperforms the official 50-step baselines for Stable Diffusion v1.5 in human preference scores. The authors also highlight the "2D Manifold Insight": diffusion trajectories largely reside on a 2D plane, explaining why a weighted ensemble of just a few parallel directions can capture the curve so effectively.

Conclusion

The EPD-Solver represents a paradigm shift in diffusion acceleration. By moving from sequential to parallel gradient evaluation and applying RL to the solver rather than the model, it provides a highly efficient, "plug-and-play" solution for high-quality, real-time image generation.

Summary updated

BibTeX
@misc{wang2025parallel,
  author = {Ruoyu Wang and Ziyu Li and Beier Zhu and Liangyu Yuan and Hanwang Zhang and Xun Yang and Xiaojun Chang and Chi Zhang},
  title = {{Parallel Diffusion Solver via Residual Dirichlet Policy Optimization}},
  year = {2025},
  eprint = {2512.22796},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.22796},
}
Figure