arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.11586cs.CL
收藏

合作文本生成的鉴别器是什么?

Which Discriminator for Cooperative Text Generation?

IRISA(法国国家信息与自动化研究所雷恩分院);IMATAG(IMATAG公司);ISIR - Sorbonne Université(索邦大学智能系统与机器人研究所);reciTAL(reciTAL公司);CNRS(法国国家科学研究中心);Université Rennes(雷恩大学)

Antoine Chaffin, Thomas Scialom, Sylvain Lamprier, Jacopo Staiano, Benjamin Piwowarski, Ewa Kijak, Vincent Claveau

摘要:

语言模型通过连续预测下一个标记的概率分布来生成文本。越来越多的兴趣领域试图在解码过程中利用外部信息,以便生成的文本具有所需的属性,例如更自然,无毒,忠实或具有特定的写作风格。一种解决方案是在每个生成步骤使用分类器,从而产生一个协作环境,其中分类器引导语言模型分布的解码朝向手头任务的相关文本。在本文中,我们研究了三个家庭(基于变换器)的鉴别器,这个特定的合作解码任务:双向,左到右和生成的。我们评估了这些不同类型的鉴别器用于合作生成的优缺点,探索了分类任务的各自准确性以及它们对所得样本质量和计算性能的影响。我们还提供了用于我们的实验,蒙特卡罗树搜索,与每个自然语言生成的搜索引擎的强大的合作解码策略的批量执行的代码。

英文摘要:

Language models generate texts by successively predicting probability distributions for next tokens given past ones. A growing field of interest tries to leverage external information in the decoding process so that the generated texts have desired properties, such as being more natural, non toxic, faithful, or having a specific writing style. A solution is to use a classifier at each generation step, resulting in a cooperative environment where the classifier guides the decoding of the language model distribution towards relevant texts for the task at hand. In this paper, we examine three families of (transformer-based) discriminators for this specific task of cooperative decoding: bidirectional, left-to-right and generative ones. We evaluate the pros and cons of these different types of discriminators for cooperative generation, exploring respective accuracy on classification tasks along with their impact on the resulting sample quality and computational performances. We also provide the code of a batched implementation of the powerful cooperative decoding strategy used for our experiments, the Monte Carlo Tree Search, working with each discriminator for Natural Language Generation.

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

↑