arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.17432cs.CLcs.LG
收藏

SSD-LM:用于文本生成和模块化控制的半自回归基于单纯形的扩散语言模型

SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control

University of Washington(华盛顿大学);Carnegie Mellon University(卡内基梅隆大学)

Xiaochuang Han, Sachin Kumar, Yulia Tsvetkov

AI总结:

本文提出SSD-LM,一种半自回归且基于单纯形的扩散语言模型,通过在自然词汇空间上迭代生成文本块,结合现成分类器实现模块化控制,在文本生成质量与多样性上匹敌GPT-2并大幅超越现有扩散基线。

摘要:

尽管扩散模型在连续值领域(如图像)取得了越来越多的成功,但其在文本等离散领域的类似尝试尚未能匹敌自回归语言模型的性能。在本研究中,我们提出了SSD-LM——一种基于扩散的语言模型,包含两个关键设计选择。首先,SSD-LM是半自回归的,迭代地生成文本块,在解码时允许灵活的输出长度,同时实现局部双向上下文更新。其次,它是基于单纯形的,在自然词汇空间而非学习到的潜在空间上执行扩散,使我们能够使用现成的分类器结合分类器引导和模块化控制,而无需任何适配。我们在无约束文本生成基准上评估了SSD-LM,结果表明它在标准质量和多样性指标上匹敌或优于强大的自回归GPT-2模型,同时大幅优于基于扩散的基线。在受控文本生成上,SSD-LM也优于具有竞争力的基线,并在模块化方面具有额外优势。

英文摘要:

Despite the growing success of diffusion models in continuous-valued domains (e.g., images), similar efforts for discrete domains such as text have yet to match the performance of autoregressive language models. In this work, we present SSD-LM -- a diffusion-based language model with two key design choices. First, SSD-LM is semi-autoregressive, iteratively generating blocks of text, allowing for flexible output length at decoding time while enabling local bidirectional context updates. Second, it is simplex-based, performing diffusion on the natural vocabulary space rather than a learned latent space, allowing us to incorporate classifier guidance and modular control using off-the-shelf classifiers without any adaptation. We evaluate SSD-LM on unconstrained text generation benchmarks, and show that it matches or outperforms strong autoregressive GPT-2 models across standard quality and diversity metrics, while vastly outperforming diffusion-based baselines. On controlled text generation, SSD-LM also outperforms competitive baselines, with an extra advantage in modularity.

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

↑