Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2506.21714

帮助 | 高级搜索

计算机科学 > 机器学习

arXiv:2506.21714 (cs)
[提交于 2025年6月26日 (v1) ,最后修订 2025年7月2日 (此版本, v2)]

标题: 常微分方程$_t$(常微分方程$_l$):在扩散和流模型中缩短时间和长度以实现更快的采样

标题: ODE$_t$(ODE$_l$): Shortcutting the Time and Length in Diffusion and Flow Models for Faster Sampling

Authors:Denis Gudovskiy, Wenzhao Zheng, Tomoyuki Okuno, Yohei Nakata, Kurt Keutzer
摘要: 最近,连续归一化流(CNFs)和扩散模型(DMs)已被纳入统一的理论框架中进行研究。 尽管这些模型可以从噪声分布生成高质量的数据点,但采样需要多次迭代以解决具有高计算复杂度的常微分方程(ODE)。 大多数现有方法专注于减少采样过程中的时间步数以提高效率。 在本工作中,我们探索了一种补充方向,其中质量-复杂度权衡可以在时间步数和神经网络长度方面动态控制。 我们通过重新连接基于Transformer的架构中的块来求解关于其长度的内部离散化ODE来实现这一点。 然后,在流匹配训练过程中,我们采用时间和长度一致性的项,结果是采样可以使用任意数量的时间步和Transformer块。 与其他方法不同,我们的 ODE$_t$(ODE$_l$) 方法在时间维度上与求解器无关,并减少了延迟和内存使用。 与之前的最先进方法相比,CelebA-HQ和ImageNet上的图像生成实验显示,在最有效的采样模式下延迟减少了多达3$\times$,在高质量采样中FID分数提高了多达3.5分。 我们发布了代码和模型权重,并进行了完全可复现的实验。
摘要: Recently, continuous normalizing flows (CNFs) and diffusion models (DMs) have been studied using the unified theoretical framework. Although such models can generate high-quality data points from a noise distribution, the sampling demands multiple iterations to solve an ordinary differential equation (ODE) with high computational complexity. Most existing methods focus on reducing the number of time steps during the sampling process to improve efficiency. In this work, we explore a complementary direction in which the quality-complexity tradeoff can be dynamically controlled in terms of time steps and in the length of the neural network. We achieve this by rewiring the blocks in the transformer-based architecture to solve an inner discretized ODE w.r.t. its length. Then, we employ time- and length-wise consistency terms during flow matching training, and as a result, the sampling can be performed with an arbitrary number of time steps and transformer blocks. Unlike others, our ODE$_t$(ODE$_l$) approach is solver-agnostic in time dimension and decreases both latency and memory usage. Compared to the previous state of the art, image generation experiments on CelebA-HQ and ImageNet show a latency reduction of up to 3$\times$ in the most efficient sampling mode, and a FID score improvement of up to 3.5 points for high-quality sampling. We release our code and model weights with fully reproducible experiments.
评论: 预印本。GitHub 页面:github.com/gudovskiy/odelt
主题: 机器学习 (cs.LG) ; 计算机视觉与模式识别 (cs.CV)
引用方式: arXiv:2506.21714 [cs.LG]
  (或者 arXiv:2506.21714v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2506.21714
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Denis Gudovskiy [查看电子邮件]
[v1] 星期四, 2025 年 6 月 26 日 18:59:59 UTC (12,892 KB)
[v2] 星期三, 2025 年 7 月 2 日 20:53:10 UTC (12,892 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.LG
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-06
切换浏览方式为:
cs
cs.CV

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号