下一概念建模:快速、并行的由粗到细文本生成

·

研究论文 · 2026/10/16

扩散语言模型(DLM)支持并行采样,生成速度比自回归模型更快,但随着推理成为主要计算负载,这一优势日益重要。然而,DLM在采样步数减少时性能迅速下降,每一步都处理完整序列,并且需要多次遍历数据集才能达到良好质量。我们提出Next-Concept Modeling(NCM),一种两阶段、由粗到细的框架:多尺度残差VQ-VAE将文本编码为离散码的层次结构,Transformer一次生成一个层级,并行预测该层级内的所有码。在匹配参数规模下,NCM在LM1B上实现了比最强DLM基线更好的生成困惑度,同时运行速度快21倍。在OpenWebText上,NCM与最强DLM竞争,速度快10倍;在XSum上,NCM匹配最强DLM的ROUGE-L,速度快31倍。在数独推理任务上,NCM在所有难度级别上均优于自回归和扩散基线,且使用更少的函数评估。

NCM在多个文本生成任务上实现了与最强扩散语言模型相当或更好的质量,同时速度提升10-31倍,并在数独推理任务上超越自回归和扩散基线,为高效文本生成提供了新思路。

Diffusion language models (DLMs) offer parallel sampling for faster generation than autoregressive models, an increasingly important advantage as inference becomes a dominant computational workload. However, DLMs degrade quickly with fewer sampling steps, process the full sequence at every step, and require many passes over the dataset to reach good quality. We introduce Next-Concept Modeling (NCM), a two-stage, coarse-to-fine framework: a multiscale residual VQ-VAE encodes text into a hierarchy of discrete codes, and a transformer generates one level at a time, predicting all codes within a level in parallel. At matched parameter scales, NCM achieves better generative perplexity than the strongest DLM baseline on LM1B while running 21times faster. On OpenWebText, NCM is competitive with the strongest DLM while running 10times faster; on XSum, it matches the strongest DLM's ROUGE-L while being 31times faster. On the reasoning task of Sudoku, NCM outperforms autoregressive and diffusion baselines across all difficulty levels, using fewer function evaluations. On the reasoning task of Sudoku, NCM outperforms autoregressive and diffusion baselines across all difficulty levels, using fewer function evaluations.

阅读原文

参与讨论