arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.03351cs.LGcs.CLstat.ML
收藏

真的还是假的?学习区分机器和人类生成的文本

Real or Fake? Learning to Discriminate Machine from Human Generated Text

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

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

摘要:

基于能量的模型(EBM),又名非规范化模型,最近在连续空间中取得了成功。然而,它们还没有成功地应用于模型文本序列。虽然减少训练样本的能量是简单的,但挖掘应该增加能量的(负)样本是困难的。在某种程度上,这是因为当输入是高维和离散的时,标准的基于梯度的方法不容易应用。在这里,我们通过使用预训练的自回归语言模型生成否定来回避这个问题。EBM然后在语言模型的残差中工作;并且被训练以将真实文本与由自回归模型生成的文本区分开。我们调查的推广能力的残留EBM,使用它们在其他应用程序的先决条件。我们广泛地分析了分类输入是机器还是人类生成的任务的泛化,考虑到训练损失的自然任务以及我们如何挖掘负面信息。总的来说,我们观察到EBM可以很好地推广到产生负面影响的发电机架构的变化。然而,EBM表现出更敏感的训练集使用这样的发电机。

英文摘要:

Energy-based models (EBMs), a.k.a. un-normalized models, have had recent successes in continuous spaces. However, they have not been successfully applied to model text sequences. While decreasing the energy at training samples is straightforward, mining (negative) samples where the energy should be increased is difficult. In part, this is because standard gradient-based methods are not readily applicable when the input is high-dimensional and discrete. Here, we side-step this issue by generating negatives using pre-trained auto-regressive language models. The EBM then works in the residual of the language model; and is trained to discriminate real text from text generated by the auto-regressive models. We investigate the generalization ability of residual EBMs, a pre-requisite for using them in other applications. We extensively analyze generalization for the task of classifying whether an input is machine or human generated, a natural task given the training loss and how we mine negatives. Overall, we observe that EBMs can generalize remarkably well to changes in the architecture of the generators producing negatives. However, EBMs exhibit more sensitivity to the training set used by such generators.

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

↑