下一个概念建模:快速、并行的由粗到精文本生成
Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation
AI总结:
该研究提出NCM框架,通过多尺度残差VQ-VAE与Transformer实现由粗到精并行文本生成,在多个文本生成及数独推理任务中,相比基线模型在保持性能的同时大幅提升了运行速度。
摘要:
扩散语言模型(DLM)提供并行采样,相比自回归模型生成速度更快,随着推理成为主导计算工作负载,这一优势愈发重要。然而,DLM在采样步骤减少时性能快速下降,每一步都处理完整序列,且需要多次遍历数据集才能达到良好质量。我们提出下一个概念建模(Next-Concept Modeling,NCM),这是一个两阶段的由粗到精框架:多尺度残差VQ-VAE将文本编码为离散代码的层级结构,Transformer每次生成一个层级,并行预测该层级内的所有代码。在参数规模匹配的情况下,NCM在LM1B数据集上实现了比最强DLM基线更好的生成困惑度,同时运行速度快21倍;在OpenWebText上,NCM与最强DLM表现相当,同时运行速度快10倍;在XSum上,它达到了最强DLM的ROUGE-L指标,同时速度快31倍。在数独推理任务中,NCM在所有难度级别上均优于自回归和扩散基线,且使用更少的函数评估次数。
英文摘要:
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 $21\times$ faster. On OpenWebText, NCM is competitive with the strongest DLM while running $10\times$ faster; on XSum, it matches the strongest DLM's ROUGE-L while being $31\times$ 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。