GRAFT:在连续扩散语言模型中恢复缺失的采样接口
GRAFT: Restoring the Missing Sampling Interface in Continuous Diffusion Language Models
AI总结:
本研究针对连续扩散语言模型的词汇长尾崩溃问题,提出无需训练的GRAFT方法,通过嫁接缺失的采样选择机制,将生成文本的稀有单词占比提升34%-109%,使词频分布更接近人类。
摘要:
连续扩散语言模型会并行生成整个序列,在任何中间步骤都不会采样单个单词,仅在最终步骤将嵌入转换为文本。诸如ELF之类的模型现在在采样步骤仅为离散标记扩散模型的一小部分时,就达到了自回归级别的质量,而这种“无逐步离散化”的设计原则,正是其 ablation 实验所证实的性能提升原因。我们发现这一原则存在隐藏代价:词汇长尾的崩溃。在对保留的人类文本进行评估时,ELF的输出在常见单词上与人类出现率几乎完全匹配,但最稀有单词的出现率仅为人类的0.30倍,该差距在模型参数规模从1.05亿增加到6.52亿时并未缩小,且这些模型所提供的任何采样器设置都无法填补这一差距。相比之下,同等规模的GPT-2仅通过其解码规则就能覆盖从0到超过人类出现率的范围。我们将这种差异归因于连续扩散模型所缺失的机制:由于没有任何步骤会采样离散单词,每一步都由仍在候选集合中的平均结果驱动,而将稀有候选与竞争同一位置的常见单词平均后,结果会偏向常见单词。自回归模型则避免了这一问题,因为其解码规则是采样单个候选而非对所有候选求平均。我们提出GRAFT,这是一种无需训练的方法,可将这一缺失的选择机制嫁接至冻结的模型:当模型仍未确定时,GRAFT会确定平均结果原本会丢弃的稀有单词,然后在保留这些确定结果的情况下从头重新生成序列。在三种ELF规模及独立的连续扩散语言模型LangFlow上,GRAFT将生成文本的稀有单词占比从人类的0.42-0.77倍恢复至0.82-1.10倍,相对提升幅度为34%-109%,且在所有测试模型上都使整个词频分布更接近人类分布,在ELF-B上提升2.7倍,在LangFlow上提升12倍。
英文摘要:
Continuous diffusion language models generate a whole sequence in parallel, never drawing a single word at any intermediate step; only the final step turns embeddings into text. Models such as ELF now report autoregressive-level quality at a fraction of the sampling steps of discrete-token diffusion models, and this design principle -- no step-wise discretization -- is what their own ablations credit for the gain. We show that this same principle carries a hidden cost: a collapse of the lexical long tail. Measured against held-out human text, ELF's output matches the human rate on common words almost exactly, yet its rarest words appear at only 0.30x the human rate, a gap that does not close from 105M to 652M parameters and that no sampler setting these models expose can reach. A same-size GPT-2, in contrast, spans zero to above the human rate by its decoding rule alone. We trace the difference to what continuous diffusion models lack: with no step that ever draws a discrete word, every step is instead driven by an average over the candidates still in play, and averaging a rare candidate together with the common word competing for its slot lands on the common word. An autoregressive model avoids this because its decoding rule samples one candidate rather than averaging over all of them. We propose GRAFT, a training-free method that grafts this missing choice back onto a frozen model: while the model is still undecided, GRAFT commits the rare words the average would otherwise discard, then regenerates the sequence from scratch with those commitments held in place. Across three ELF scales and on LangFlow, an independent continuous dLLM, GRAFT restores the rare-word share of generated text from 0.42-0.77x the human rate to 0.82-1.10x, a relative gain of 34-109%, and moves the entire word-frequency profile closer to human on every model tested, by 2.7x on ELF-B and 12x on LangFlow.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。