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

为预训练 Flow Matching 扩散模型构建捷径几乎是免费午餐

Shortcutting Pre-trained Flow Matching Diffusion Models is Almost Free Lunch

AI Research Center, iHuman Inc.(人工智能研究中心,iHuman公司)

Xu Cai, Yang Wu, Qianli Chen, Haoran Wu, Lichuan Xiang, Hongkai Wen

AI总结:

本文提出速度场自蒸馏方法,无需步长嵌入即可将预训练 flow matching 扩散模型高效转为少步采样器,并支持预训练融合与少样本蒸馏。

摘要:

我们提出了一种超高效的后训练方法,通过新颖的速度场自蒸馏,将大规模预训练 flow matching 扩散模型转化为高效的少步采样器。虽然 flow matching 中的捷径化(最初由 shortcut models 引入)可提供灵活的轨迹跳过能力,但它需要专门的步长嵌入,而这与现有模型不兼容,除非从头重新训练——该过程的成本几乎与预训练本身相当。因此,我们的关键贡献在于为标准 flow matching 模型(例如 Flux)赋予更激进的捷径机制,并利用一种独特的蒸馏原理消除对步长嵌入的需求。该方法作用于速度场而非样本空间,并以在线方式从自引导蒸馏中快速学习,因此训练高效,例如在不到一个 A100 天的时间内生成一个 3 步 Flux。除蒸馏之外,我们的方法还可纳入预训练阶段本身,使模型在本质上学习高效的少步流,同时不损害质量。据我们所知,这种能力还催生了首个面向数十亿参数扩散模型的少样本蒸馏方法(例如 10 对文本-图像),以几乎免费的成本实现最先进性能。

英文摘要:

We present an ultra-efficient post-training method for shortcutting large-scale pre-trained flow matching diffusion models into efficient few-step samplers, enabled by novel velocity field self-distillation. While shortcutting in flow matching, originally introduced by shortcut models, offers flexible trajectory-skipping capabilities, it requires a specialized step-size embedding incompatible with existing models unless retraining from scratch$\unicode{x2013}$a process nearly as costly as pretraining itself. Our key contribution is thus imparting a more aggressive shortcut mechanism to standard flow matching models (e.g., Flux), leveraging a unique distillation principle that obviates the need for step-size embedding. Working on the velocity field rather than sample space and learning rapidly from self-guided distillation in an online manner, our approach trains efficiently, e.g., producing a 3-step Flux less than one A100 day. Beyond distillation, our method can be incorporated into the pretraining stage itself, yielding models that inherently learn efficient, few-step flows without compromising quality. This capability also enables, to our knowledge, the first few-shot distillation method (e.g., 10 text-image pairs) for dozen-billion-parameter diffusion models, delivering state-of-the-art performance at almost free cost.

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

↑