arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.20744cs.CVcs.AI
收藏

单GPU上的高质量扩散蒸馏:相对与绝对位置匹配

High Quality Diffusion Distillation on a Single GPU with Relative and Absolute Position Matching

University of Exeter(埃克塞特大学);NTT Communication Science Laboratories(NTT通信科学实验室);Victoria University of Wellington(惠灵顿维多利亚大学)

Guoqiang Zhang, Kenta Niwa, J. P. Lewis, Cedric Mesnage, W. Bastiaan Kleijn

AI总结:

提出RAPM扩散蒸馏方法,通过匹配相对和绝对位置,在单GPU上实现高质量生成,且性能与多GPU最佳方法相当。

摘要:

我们提出了相对与绝对位置匹配(RAPM),一种扩散蒸馏方法,能够生成高质量图像,并可在单个GPU上高效训练。近期的扩散蒸馏研究已在高分辨率文本到图像生成方面取得了优异成果,例如采用分阶段一致性模型(PCM)和改进的分布匹配蒸馏(DMD2)等方法。然而,这些方法在训练时通常需要多个GPU(如8-64个)和较大的批次大小(如128-2048),导致内存和计算需求超出了部分研究者的资源范围。RAPM实现了有效的单GPU扩散蒸馏训练,批次大小为1。该新方法通过匹配相对和绝对位置来模仿教师模型的采样轨迹。相对位置的设计灵感来源于PCM。相应地,RAPM引入了两个判别器,一个用于匹配相对位置,另一个用于匹配绝对位置。在StableDiffusion(SD)V1.5和SDXL上的实验结果表明,在计算资源非常有限的情况下,使用4个时间步的RAPM产生的FID分数与使用1个时间步的最佳方法相当。

英文摘要:

We introduce relative and absolute position matching (RAPM), a diffusion distillation method resulting in high quality generation that can be trained efficiently on a single GPU. Recent diffusion distillation research has achieved excellent results for high-resolution text-to-image generation with methods such as phased consistency models (PCM) and improved distribution matching distillation (DMD2). However, these methods generally require many GPUs (e.g.~8-64) and significant batchsizes (e.g.~128-2048) during training, resulting in memory and compute requirements that are beyond the resources of some researchers. RAPM provides effective single-GPU diffusion distillation training with a batchsize of 1. The new method attempts to mimic the sampling trajectories of the teacher model by matching the relative and absolute positions. The design of relative positions is inspired by PCM. Two discriminators are introduced accordingly in RAPM, one for matching relative positions and the other for absolute positions. Experimental results on StableDiffusion (SD) V1.5 and SDXL indicate that RAPM with 4 timesteps produces comparable FID scores as the best method with 1 timestep under very limited computational resources.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑