# Parallel Sampling of Diffusion Models

> 原标题：Parallel Sampling of Diffusion Models

- 来源：Stanford ILIAD / Dorsa Sadigh
- 文章发布日期：2023-05-25
- Physical AI Hot：https://physical-ai-hot.pages.dev/items/qr25hq89t1xpofykitrj78qzm
- 原文：https://arxiv.org/abs/2305.16317

## 一句话结论

ParaDiGMS通过Picard迭代并行执行扩散模型的多个去噪步骤，在不降低任务奖励、FID或CLIP分数的前提下，将多类机器人与图像生成模型的采样速度提升约2至4倍。

## 摘要

Diffusion models are powerful generative models but suffer from slow sampling, often taking 1000 sequential denoising steps for one sample. As a result, considerable efforts have been directed toward reducing the number of denoising steps, but these methods hurt sample quality. Instead of reducing the number of denoising steps (trading quality for speed), in this paper we explore an orthogonal approach: can we run the denoising steps in parallel (trading compute for speed)? In spite of the sequential nature of the denoising steps, we show that surprisingly it is possible to parallelize sampling via Picard iterations, by guessing the solution of future denoising steps and iteratively refining until convergence. With this insight, we present ParaDiGMS, a novel method to accelerate the sampling of pretrained diffusion models by denoising multiple steps in parallel. ParaDiGMS is the first diffusion sampling method that enables trading compute for speed and is even compatible with existing fast sampling techniques such as DDIM and DPMSolver. Using ParaDiGMS, we improve sampling speed by 2-4x across a range of robotics and image generation models, giving state-of-the-art sampling speeds of 0.2s on 100-step DiffusionPolicy and 14.6s on 1000-step StableDiffusion-v2 with no measurable degradation of task reward, FID score, or CLIP score.

## 为什么重要

以下为编辑分析，不能视作已验证结果。

这项工作把扩散采样加速从减少去噪步数转向增加并行计算，为保留采样质量同时降低延迟提供了另一条技术路线。

## 对 AI 研究或应用的影响

以下为编辑分析，不能视作已验证结果。

如果并行计算资源和Picard迭代的收敛条件在不同模型与硬件上都能稳定满足，扩散策略和图像生成应用可能在保持质量指标的同时获得更低采样延迟。

## 值得继续追的问题

原材料不足，暂无具体追问。

