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

流映射语言模型:通过连续去噪实现一步语言建模

Flow Map Language Models: One-step Language Modeling via Continuous Denoising

Carnegie Mellon University(卡内基梅隆大学)

Chanhyuk Lee, Jaehoon Yoo, Manan Agarwal, Sheel Shah, Jerry Huang, Aditi Raghunathan, Seunghoon Hong, Nicholas M. Boffi, Jinwoo Kim

AI总结:

本文提出了一种基于连续流的流映射语言模型,通过在one-hot token嵌入上构建连续流,实现了在质量和速度上优于离散扩散模型的性能,展示了连续流在离散模态生成建模中的潜力。

摘要:

基于离散扩散的语言模型因其在生成速度上优于自回归模型而受到广泛关注。尽管具有潜力,这些模型通常在少量步骤范围内生成质量急剧下降,从而在实践中限制了速度的大幅提升。本文表明,基于连续流的一步语言模型在质量和速度上均优于离散扩散模型。重要的是,我们的连续公式定义了一个独特的流映射,可以直接学习以实现高效的少量步骤推断,这种结构在离散方法中不可用。在此设置中,我们展示了流及其关联的流映射可以通过简单的交叉熵目标学习,这些目标尊重数据的简单几何结构,并且我们识别了三种不同的流映射蒸馏选择,其性能在实践中进行了比较。利用这些见解,我们构建了一个流语言模型(FLM),该模型在One Billion Words(LM1B)和OpenWebText(OWT)数据集上与最先进的离散扩散基线相媲美。然后,我们将FLM蒸馏为流映射语言模型(FMLM),其一步生成超过了最近少量步骤离散扩散语言模型的8步质量。本文的工作挑战了广泛认为离散噪声过程是离散模态生成建模所必需的假设,并为大规模加速语言建模铺平了道路。代码可在https://github.com/david3684/flm获取。

英文摘要:

Language models based on discrete diffusion have attracted widespread interest for their potential to provide faster generation than autoregressive models. Despite their promise, these models typically produce samples whose quality sharply degrades in the few-step regime, preventing a dramatic speedup in practice. Here, we show that language models based on continuous flows over one-hot token embeddings can outperform discrete diffusion in both quality and speed. Importantly, our continuous formulation defines a unique flow map that can be learned directly for efficient few-step inference, a structure we show is unavailable to discrete methods. In this setting, we show that both the flow and its associated flow map can be learned with simple cross-entropy objectives that respect the simplex geometry of the data, and we identify three distinct choices for flow map distillation whose performance we compare in practice. Using these insights, we build a flow language model (FLM), a continuous flow that matches state-of-the-art discrete diffusion baselines on the One Billion Words (LM1B) and OpenWebText (OWT) datasets. We then distill FLM into a flow map language model (FMLM), whose one-step generation exceeds the 8-step quality of recent few-step discrete diffusion language models. Our work challenges the widely-held hypothesis that discrete noising processes are necessary for generative modeling over discrete modalities and paves the way toward accelerated language modeling at scale. Code is available at https://github.com/david3684/flm.

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

↑