用稀疏引导提升低计算量扩散模型的生成质量
Guiding Token-Sparse Diffusion Models
- 以令牌级稀疏性替代条件丢弃,实现更精准的生成引导
- 在ImageNet-256上达成1.58 FID,FLOPs减少25%
- 适合追求高效高质图像生成的研究与应用
扩散模型在图像生成中表现优异,但训练与推理成本高昂。近期工作通过仅在部分视觉信息上训练,利用视觉内容固有的冗余性降低训练成本。然而,稀疏训练的扩散模型在推理阶段表现不佳,主要因无法有效响应无分类器引导(CFG),导致生成质量下降。为此,本文提出稀疏引导(Sparse Guidance, SG)。SG不采用条件丢弃作为引导信号,而是利用令牌级稀疏性,更好地保持条件预测的高方差特性,从而生成高质量且多样性高的输出。在推理阶段引入令牌级稀疏性,SG在降低计算量的同时提升了保真度,在常用ImageNet-256基准上实现1.58 FID,且减少25%的FLOPs;在匹配基线质量时,最高可节省58%的计算量。为验证有效性,本文使用训练阶段稀疏性训练了一个2.5B参数的文本到图像扩散模型,并在推理阶段使用SG,显著提升构图质量与人类偏好评分,同时提高吞吐量。
原文摘要 · Abstract (English)
Diffusion models deliver high quality in image synthesis but remain expensive during training and inference. Recent works have leveraged the inherent redundancy in visual content to make training more affordable by training only on a subset of visual information. While these methods were successful in providing cheaper and more effective training, sparsely trained diffusion models struggle in inference. This is due to their lacking response to Classifier-free Guidance (CFG) leading to underwhelming performance during inference. To overcome this, we propose Sparse Guidance (SG). Instead of using conditional dropout as a signal to guide diffusion models, SG uses token-level sparsity. As a result, SG preserves the high-variance of the conditional prediction better, achieving good quality and high variance outputs. Leveraging token-level sparsity at inference, SG improves fidelity at lower compute, achieving 1.58 FID on the commonly used ImageNet-256 benchmark with 25% fewer FLOPs, and yields up to 58% FLOP savings at matched baseline quality. To demonstrate the effectiveness of Sparse Guidance, we train a 2.5B text-to-image diffusion model using training time sparsity and leverage SG during inference. SG achieves improvements in composition and human preference score while increasing throughput at the same time.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。