基于序列漂移的一步文本生成 One-Step Text Generation by Seq-Drifting 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-09
👁️ 预览文献
💡 AI 中文简介
这项研究探索能否让语言模型一步生成完整文本。作者提出Seq-Drifting框架,将漂移方法应用于连续词元表示序列,直接学习从高斯噪声到文本的映射。训练时构建漂移场,每个位置的目标根据当前生成上下文自适应调整:吸引项引导输出趋向上下文合理的词元表示,排斥项防止样本坍缩和序列内重复。推理时一次前向传播即可联合生成所有词元。在LM1B上单步生成困惑度为36.01,并在翻译、摘要和推理任务上验证了框架的适用性。
领域自然语言处理 / 文本生成
适合谁读需要一定专业背景(熟悉扩散模型和语言模型)
核心贡献1. 提出Seq-Drifting框架,首次将漂移方法应用于连续词元表示序列,实现单步联合生成所有词元;2. 设计位置自适应的漂移场,通过吸引和排斥机制防止样本坍缩与序列内重复。
关键数据在LM1B数据集上单步生成困惑度为36.01;在翻译、摘要和推理任务上表现有竞争力。
推荐理由想了解如何让语言模型像人一样“脱口而出”整句话?这篇论文用漂移方法实现了一步文本生成,效果不俗,值得一读。
关键词["一步文本生成", "扩散语言模型", "序列漂移", "连续词元表示", "非自回归生成", "生成模型"]

原文摘要

查看英文原文摘要

Diffusion language models generate tokens in parallel, but still require multiple sampling steps to produce high-quality text. In this paper, we investigate whether a model can learn to generate an entire sequence in a single forward pass. We propose Seq-Drifting, a framework that applies drifting to sequences of continuous token representations and directly learns a map from Gaussian noise to text. Unlike existing DLMs that derive the supervision at each position directly from the observed token in a training sequence, Seq-Drifting builds a drift field whose position-wise targets adapt to the current generated context. At each position, attraction guides each output toward a set of contextually plausible token representations, while repulsion discourages collapse across samples and repetition within sequences. The generator learns from this drift field during training and produces all tokens jointly in one pass at inference. Empirically, Seq-Drifting achieves a generative perplexity of 36.01 on LM1B in one step and performs competitively in both unconditional and conditional generation. Experiments on translation, summarization, and reasoning further demonstrate the applicability of the framework beyond open-ended generation. These results suggest that drifting over token sequences offers a promising path toward effective one-step text generation. Our code is available at https://github.com/jyliu-ai/Seq-Drifting.