arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2004.11714cs.CLcs.LG
收藏

基于剩余能量的文本生成模型

Residual Energy-Based Models for Text Generation

Harvard University(哈佛大学);Facebook AI Research(Facebook人工智能研究院)

Yuntian Deng, Anton Bakhtin, Myle Ott, Arthur Szlam, Marc'Aurelio Ranzato

摘要:

文本生成在许多NLP任务中无处不在,从摘要到对话和机器翻译。主导参数方法基于局部归一化模型,该模型一次预测一个单词。虽然这些工作得非常好,但由于生成过程的贪婪性质,它们受到曝光偏差的困扰。在这项工作中,我们研究非归一化的基于能量的模型(EBM),它不是在令牌,而是在序列水平上运行。为了使训练易于处理,我们首先在预训练的局部规范化语言模型的残差中工作,然后使用噪声对比估计进行训练。此外,由于EBM在序列级别上工作,因此我们可以利用预先训练的双向上下文表示,例如BERT和RoBERTa。我们在两个大型语言建模数据集上的实验表明,与局部归一化基线相比,剩余EBM产生更低的困惑。此外,通过重要性采样的生成是非常有效的,并且根据人的评估比基线模型具有更高的质量。

英文摘要:

Text generation is ubiquitous in many NLP tasks, from summarization, to dialogue and machine translation. The dominant parametric approach is based on locally normalized models which predict one word at a time. While these work remarkably well, they are plagued by exposure bias due to the greedy nature of the generation process. In this work, we investigate un-normalized energy-based models (EBMs) which operate not at the token but at the sequence level. In order to make training tractable, we first work in the residual of a pretrained locally normalized language model and second we train using noise contrastive estimation. Furthermore, since the EBM works at the sequence level, we can leverage pretrained bi-directional contextual representations, such as BERT and RoBERTa. Our experiments on two large language modeling datasets show that residual EBMs yield lower perplexity compared to locally normalized baselines. Moreover, generation via importance sampling is very efficient and of higher quality than the baseline models according to human evaluation.

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

↑