arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.02636cs.LGcs.CV

基于流模型的快速似然评估与采样联合蒸馏

Joint Distillation for Fast Likelihood Evaluation and Sampling in Flow-based Models

Carnegie Mellon University(卡内基梅隆大学);Peking University(北京大学)

Xinyue Ai, Yutong He, Albert Gu, Ruslan Salakhutdinov, J Zico Kolter, Nicholas Matthew Boffi, Max Simchowitz

AI总结:

本文提出F2D2框架,通过联合蒸馏减少流模型采样和似然评估的NFE数量,实现高效计算与高精度似然估计。

摘要:

对数似然评估在生成模型中至关重要,包括模型比较、某些微调目标和许多下游应用。然而,尽管扩散模型和流模型是当前最先进的生成模型,但计算单个似然仍需要数百到数千次神经函数评估(NFE)。虽然最近的蒸馏方法已将采样加速到几步,但代价是似然可计算性:现有方法要么放弃似然计算,要么仍需要昂贵的完整轨迹积分。我们提出了快速流联合蒸馏(F2D2),一种框架,通过同时减少采样和似然评估所需的NFE数量两到三个数量级。我们的关键见解是,在连续归一化流中,采样和似然的耦合ODE由共享的底层速度场计算,允许我们使用单个流映射联合蒸馏采样轨迹和累积发散性。F2D2是模块化的,与现有基于流的少步采样模型兼容,并且只需要额外的发散性预测头。实验表明F2D2能够以少量评估实现准确的对数似然,同时保持高质量的样本,解决了流生成模型中的长期计算瓶颈。作为我们方法的应用,我们提出了一种轻量级的自我指导方法,使2步MeanFlow能够仅用一个额外的反向NFE就优于1024步的流匹配模型。

英文摘要:

Log-likelihood evaluation enables important capabilities in generative models, including model comparison, certain fine-tuning objectives, and many downstream applications. Yet paradoxically, some of today's best generative models -- diffusion and flow-based models -- still require hundreds to thousands of neural function evaluations (NFEs) to compute a single likelihood. While recent distillation methods have successfully accelerated sampling to just a few steps, they achieve this at the cost of likelihood tractability: existing approaches either abandon likelihood computation entirely or still require expensive integration over full trajectories. We present fast flow joint distillation (F2D2), a framework that simultaneously reduces the number of NFEs required for both sampling and likelihood evaluation by two orders of magnitude. Our key insight is that in continuous normalizing flows, the coupled ODEs for sampling and likelihood are computed from a shared underlying velocity field, allowing us to jointly distill both the sampling trajectory and cumulative divergence using a single flow map. F2D2 is modular, compatible with existing flow-based few-step sampling models, and requires only an additional divergence prediction head. Experiments demonstrate F2D2's capability of achieving accurate log-likelihood with few-step evaluations while maintaining high sample quality, solving a long-standing computational bottleneck in flow-based generative models. As an application of our approach, we propose a lightweight self-guidance method that enables a 2-step MeanFlow to outperform a 1024 step flow matching model with only a single additional backward NFE.

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

↑