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

流匹配模型的Bellman最优步长拉直

Bellman Optimal Stepsize Straightening of Flow-Matching Models

VinUniversity(Vin大学);National University of Singapore(新加坡国立大学);Chinese University of Hong Kong(香港中文大学)

Bao Nguyen, Binh Nguyen, Viet Anh Nguyen

AI总结:

本文提出BOSS技术,通过动态规划优化步长并拉直生成路径,在计算预算约束下实现流匹配模型的少步高效图像采样,兼顾效率与质量。

摘要:

流匹配是一种强大的框架,可在各种应用中生成高质量样本,尤其是在图像合成领域。然而,这些模型的高强度计算需求,特别是在微调过程和采样过程中,给低资源场景带来了重大挑战。本文提出了Bellman最优步长拉直(BOSS)技术,用于蒸馏流匹配生成模型:其目标是在遵守计算预算约束的同时,实现少步高效的图像采样。首先,该技术涉及一种动态规划算法,用于优化预训练网络的步长。然后,它精炼速度网络以匹配最优步长,旨在拉直生成路径。在图像生成任务上的广泛实验评估证明了BOSS在资源利用和图像质量两方面的有效性。我们的结果表明,BOSS在保持有竞争力的样本质量的同时实现了显著的效率提升,有效弥合了低资源约束与流匹配生成模型苛刻需求之间的差距。我们的论文还加强了人工智能的负责任发展,提供了一种更具可持续性的生成模型,降低了计算成本和环境足迹。我们的代码可在https://github.com/nguyenngocbaocmt02/BOSS找到。

英文摘要:

Flow matching is a powerful framework for generating high-quality samples in various applications, especially image synthesis. However, the intensive computational demands of these models, especially during the finetuning process and sampling processes, pose significant challenges for low-resource scenarios. This paper introduces Bellman Optimal Stepsize Straightening (BOSS) technique for distilling flow-matching generative models: it aims specifically for a few-step efficient image sampling while adhering to a computational budget constraint. First, this technique involves a dynamic programming algorithm that optimizes the stepsizes of the pretrained network. Then, it refines the velocity network to match the optimal step sizes, aiming to straighten the generation paths. Extensive experimental evaluations across image generation tasks demonstrate the efficacy of BOSS in terms of both resource utilization and image quality. Our results reveal that BOSS achieves substantial gains in efficiency while maintaining competitive sample quality, effectively bridging the gap between low-resource constraints and the demanding requirements of flow-matching generative models. Our paper also fortifies the responsible development of artificial intelligence, offering a more sustainable generative model that reduces computational costs and environmental footprints. Our code can be found at https://github.com/nguyenngocbaocmt02/BOSS.

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

↑