2025-01-17 · 专家 · 机器学习 · 计算机视觉

Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Steps

本文提出了一种用于扩散模型的推理时间扩展框架,通过搜索优化噪声,显著提高了生成样本的质量,并探讨了不同验证器和算法组合在不同任务上的表现。

更新于 2025-01-17。作者:Nanye Ma、Shangyuan Tong、Haolin Jia、Hexiang Hu、Yu-Chuan Su、Mingda Zhang、Xuan Yang、Yandong Li、Tommi Jaakkola、Xuhui Jia、Saining Xie。

中文摘要

生成模型在各个领域都产生了重大影响,这主要得益于它们在训练过程中通过增加数据、计算资源和模型规模来实现可扩展性的能力,这一现象被称为扩展定律。最近的研究开始探索大型语言模型(LLMs)在推理时间内的扩展行为,揭示了通过推理过程中的额外计算,性能可以进一步得到提升。与LLMs不同,扩散模型内在地具有通过调整去噪步骤的数量来调整推理时间计算的灵活性,尽管性能提升通常在几十步后趋于平缓。在这项工作中,我们探讨了扩散模型在增加去噪步骤之外的推理时间扩展行为,并研究了生成性能如何随着计算量的增加而进一步提升。具体来说,我们考虑了一个搜索问题,旨在识别扩散采样过程中更好的噪声。我们沿着两个轴来结构化设计空间:用于提供反馈的验证器,以及用于寻找更好的噪声候选者的算法。通过对类条件化和文本条件化的图像生成基准的大量实验,我们的发现揭示了增加推理时间计算量可以显著提高扩散模型生成样本的质量,并且由于图像的复杂性,可以根据不同的应用场景特别选择框架中的组件组合。

英文摘要

Generative models have made significant impacts across various domains, largely due to their ability to scale during training by increasing data, computational resources, and model size, a phenomenon characterized by the scaling laws. Recent research has begun to explore inference-time scaling behavior in Large Language Models (LLMs), revealing how performance can further improve with additional computation during inference. Unlike LLMs, diffusion models inherently possess the flexibility to adjust inference-time computation via the number of denoising steps, although the performance gains typically flatten after a few dozen. In this work, we explore the inference-time scaling behavior of diffusion models beyond increasing denoising steps and investigate how the generation performance can further improve with increased computation. Specifically, we consider a search problem aimed at identifying better noises for the diffusion sampling process. We structure the design space along two axes: the verifiers used to provide feedback, and the algorithms used to find better noise candidates. Through extensive experiments on class-conditioned and text-conditioned image generation benchmarks, our findings reveal that increasing inference-time compute leads to substantial improvements in the quality of samples generated by diffusion models, and with the complicated nature of images, combinations of the components in the framework can be specifically chosen to conform with different application scenario.

解读

一句话总结

本文提出了一种用于扩散模型的推理时间扩展框架,通过搜索优化噪声,显著提高了生成样本的质量,并探讨了不同验证器和算法组合在不同任务上的表现。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:扩散模型在推理时具有灵活性,可以通过调整去噪步骤的数量来调整推理时间计算,但性能提升通常在几十个步骤后趋于平坦。 • 现有方案不足:通过增加去噪步骤来扩展推理时间的方法在性能提升后趋于饱和,限制了扩展计算的好处。 • 研究目标:探索扩散模型推理时间扩展行为,通过搜索优化噪声来进一步提高生成性能。

问题2:论文的核心创新点是什么?

• 技术创新:提出了一种用于扩散模型推理时间扩展的框架,通过搜索优化噪声来提高生成性能。 • 方法改进:引入了验证器和算法作为搜索框架的两个关键设计轴,并通过实验验证了不同组合的有效性。 • 优势:与仅通过增加去噪步骤来扩展计算的方法相比,搜索方法可以实现更好的性能提升。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在图像生成基准上进行了广泛的实验,包括图像分类和文本条件图像生成。 • 性能提升:通过增加推理时间计算,生成样本的质量显著提高,例如FID分数降低,Inception分数提高。 • 对比结果:与仅增加去噪步骤的方法相比,搜索方法在所有设置中均表现出显著改进。

问题4:这个研究的实际应用价值是什么?

• 应用场景:该研究可以应用于需要高质量图像生成的领域,如计算机视觉、动画和娱乐。 • 实施建议:建议根据具体任务选择合适的验证器和算法组合,以实现最佳性能。 • 局限与展望:该研究在图像生成任务上取得了成功,但未来可以扩展到其他生成模型和任务。

来源

机器可读索引:llms.txt