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

Flexiffusion:面向高效扩散模型的免训练分段式神经架构搜索

Flexiffusion: Training-Free Segment-Wise Neural Architecture Search for Efficient Diffusion Models

Hongtao Huang, Xiaojun Chang, Lina Yao

AI总结:

Flexiffusion提出免训练分段式NAS框架,通过灵活组合full、partial、null三种步骤类型联合优化生成调度与模型架构,并引入rFID轻量评估指标,在扩散模型上实现至少2倍加速且质量损失低于5%。

摘要:

扩散模型(DMs)是强大的生成模型,能够生成高保真图像,但由于迭代式多步推理而受到高计算成本的制约。虽然神经架构搜索(NAS)可以优化扩散模型,但现有方法受到重新训练需求、逐步优化带来的指数级搜索复杂度以及依赖大规模图像生成的缓慢评估的阻碍。为应对这些挑战,我们提出Flexiffusion,一个免训练的NAS框架,在不修改预训练参数的情况下联合优化生成调度和模型架构。我们的核心见解是将生成过程分解为等长的灵活分段,其中每个分段动态组合三种步骤类型:full(完整计算)、partial(缓存复用计算)和null(跳过计算)。与逐步NAS相比,这种分段式搜索空间在保持架构多样性的同时,将候选池呈指数级缩减。此外,我们引入相对FID(rFID),一种用于NAS的轻量级评估指标,它衡量与教师模型输出而非真实标签之间的差异,将评估时间缩短超过90%。在实践中,Flexiffusion在ImageNet和MS-COCO上的LDMs、Stable Diffusion和DDPMs上实现了至少2倍的加速,FID退化低于5%,优于先前的NAS和缓存方法。值得注意的是,它在Stable Diffusion上实现了5.1倍的加速,且CLIP分数几乎相同。我们的工作开创了一种资源高效的范式,用于在不牺牲质量的前提下搜索高速扩散模型。

英文摘要:

Diffusion models (DMs) are powerful generative models capable of producing high-fidelity images but are constrained by high computational costs due to iterative multi-step inference. While Neural Architecture Search (NAS) can optimize DMs, existing methods are hindered by retraining requirements, exponential search complexity from step-wise optimization, and slow evaluation relying on massive image generation. To address these challenges, we propose Flexiffusion, a training-free NAS framework that jointly optimizes generation schedules and model architectures without modifying pre-trained parameters. Our key insight is to decompose the generation process into flexible segments of equal length, where each segment dynamically combines three step types: full (complete computation), partial (cache-reused computation), and null (skipped computation). This segment-wise search space reduces the candidate pool exponentially compared to step-wise NAS while preserving architectural diversity. Further, we introduce relative FID (rFID), a lightweight evaluation metric for NAS that measures divergence from a teacher model's outputs instead of ground truth, slashing evaluation time by over $90\%$. In practice, Flexiffusion achieves at least $2\times$ acceleration across LDMs, Stable Diffusion, and DDPMs on ImageNet and MS-COCO, with FID degradation under $5\%$, outperforming prior NAS and caching methods. Notably, it attains $5.1\times$ speedup on Stable Diffusion with near-identical CLIP scores. Our work pioneers a resource-efficient paradigm for searching high-speed DMs without sacrificing quality.

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

↑