并行扩散求解器 via 剩余狄利克雷策略优化
Parallel Diffusion Solver via Residual Dirichlet Policy Optimization
AI总结:
本文提出EPD-Solver,通过并行梯度评估和狄利克雷策略优化,提升扩散模型的低延迟采样性能。
摘要:
扩散模型(DMs)在生成性能上达到了最先进的水平,但因其序列去噪特性导致采样延迟较高。现有基于求解器的加速方法在低延迟预算下往往面临显著的图像质量下降,主要由于无法捕捉高曲率轨迹段导致的累积截断误差。在本文中,我们提出了Ensemble Parallel Direction求解器(简称EPD-Solver),一种新的微分方程求解器,通过在每一步中结合多个并行梯度评估来减轻这些误差。受采样轨迹主要限制在低维流形的几何洞察启发,EPD-Solver利用向量值函数的中值定理来更准确地近似积分解。重要的是,由于额外的梯度计算是独立的,它们可以完全并行化,从而保持低延迟采样特性。我们引入了两阶段优化框架。首先,EPD-Solver通过基于蒸馏的方法优化少量可学习参数。我们进一步提出了一种参数高效的强化学习(RL)微调方案,将求解器重新表述为随机狄利克雷策略。与传统方法不同,我们的RL方法严格限制在低维求解器空间内,有效缓解了奖励黑客问题,同时在复杂的文本到图像(T2I)生成任务中提升了性能。此外,我们的方法具有灵活性,可以作为插件(EPD-Plugin)来改进现有的ODE采样器。
英文摘要:
Diffusion models (DMs) have achieved state-of-the-art generative performance but suffer from high sampling latency due to their sequential denoising nature. Existing solver-based acceleration methods often face significant image quality degradation under a low-latency budget, primarily due to accumulated truncation errors arising from the inability to capture high-curvature trajectory segments. In this paper, we propose the Ensemble Parallel Direction solver (dubbed as EPD-Solver), a novel ODE solver that mitigates these errors by incorporating multiple parallel gradient evaluations in each step. Motivated by the geometric insight that sampling trajectories are largely confined to a low-dimensional manifold, EPD-Solver leverages the Mean Value Theorem for vector-valued functions to approximate the integral solution more accurately. Importantly, since the additional gradient computations are independent, they can be fully parallelized, preserving low-latency sampling nature. We introduce a two-stage optimization framework. Initially, EPD-Solver optimizes a small set of learnable parameters via a distillation-based approach. We further propose a parameter-efficient Reinforcement Learning (RL) fine-tuning scheme that reformulates the solver as a stochastic Dirichlet policy. Unlike traditional methods that fine-tune the massive backbone, our RL approach operates strictly within the low-dimensional solver space, effectively mitigating reward hacking while enhancing performance in complex text-to-image (T2I) generation tasks. In addition, our method is flexible and can serve as a plugin (EPD-Plugin) to improve existing ODE samplers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。