arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.17566cs.CV
收藏

Flexiffusion:面向灵活去噪调度的分段式神经架构搜索

Flexiffusion: Segment-wise Neural Architecture Search for Flexible Denoising Schedule

University of New South Wales(新南威尔士大学);University of Technology Sydney(技术与科学大学);CSIRO’s Data61 and University of New South Wales(CSIRO的数据61与新南威尔士大学)

Hongtao Huang, Xiaojun Chang, Lina Yao

AI总结:

本文提出免训练的分段式 NAS 方法 Flexiffusion,通过联合搜索完整、部分和空去噪步骤及网络结构,在多个扩散模型与数据集上显著降低推理冗余并取得最高 5.1 倍加速。

摘要:

扩散模型是前沿的生成模型,擅长生成多样化、高质量的图像。尽管这些模型十分有效,但由于其包含大量顺序去噪步骤,且每一步都有显著的推理成本,因此通常需要大量计算资源。最近,神经架构搜索(NAS)技术已被用于自动搜索更快的生成过程。然而,面向扩散模型的 NAS 本质上非常耗时,因为它需要评估数千个扩散模型以搜索最优模型。本文提出 Flexiffusion,这是一种新颖的免训练 NAS 范式,旨在通过同时优化生成步骤和网络结构来加速扩散模型。具体而言,我们将生成过程划分为等长的步骤段,每个段依次由一个完整步骤、多个部分步骤和若干空步骤组成。完整步骤计算所有网络块,部分步骤只涉及部分网络块,而空步骤不进行任何计算。Flexiffusion 会自主探索每个段的灵活步骤组合,从而大幅降低搜索成本,并相较于扩散模型的最先进(SOTA)方法实现更高的加速。我们搜索得到的模型在原始 LDM-4-G 上报告了 2.6 倍加速,相对于 SOTA 报告了 1.5 倍加速;在 Stable Diffusion V1.5 上的加速因子为 5.1 倍,相对于 SOTA 为 2.0 倍。我们还在多个数据集上验证了 Flexiffusion 的性能,积极的实验结果表明 Flexiffusion 能够有效减少扩散模型中的冗余。

英文摘要:

Diffusion models are cutting-edge generative models adept at producing diverse, high-quality images. Despite their effectiveness, these models often require significant computational resources owing to their numerous sequential denoising steps and the significant inference cost of each step. Recently, Neural Architecture Search (NAS) techniques have been employed to automatically search for faster generation processes. However, NAS for diffusion is inherently time-consuming as it requires estimating thousands of diffusion models to search for the optimal one. In this paper, we introduce Flexiffusion, a novel training-free NAS paradigm designed to accelerate diffusion models by concurrently optimizing generation steps and network structures. Specifically, we partition the generation process into isometric step segments, each sequentially composed of a full step, multiple partial steps, and several null steps. The full step computes all network blocks, while the partial step involves part of the blocks, and the null step entails no computation. Flexiffusion autonomously explores flexible step combinations for each segment, substantially reducing search costs and enabling greater acceleration compared to the state-of-the-art (SOTA) method for diffusion models. Our searched models reported speedup factors of $2.6\times$ and $1.5\times$ for the original LDM-4-G and the SOTA, respectively. The factors for Stable Diffusion V1.5 and the SOTA are $5.1\times$ and $2.0\times$. We also verified the performance of Flexiffusion on multiple datasets, and positive experiment results indicate that Flexiffusion can effectively reduce redundancy in diffusion models.

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

↑