arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.07043cs.CL
收藏

基于文本编辑模型的文本生成

Text Generation with Text-Editing Models

Google(谷歌);McGill University(麦吉尔大学);Mila(米拉研究所)

Eric Malmi, Yue Dong, Jonathan Mallinson, Aleksandr Chuklin, Jakub Adamek, Daniil Mirylenka, Felix Stahlberg, Sebastian Krause, Shankar Kumar, Aliaksei Severyn

摘要:

文本编辑模型最近已经成为seq 2seq模型的一个突出的替代品,用于单语文本生成任务,如语法错误纠正,简化和风格转换。这些任务有一个共同的特点-它们在源文本和目标文本之间表现出大量的文本重叠。文本编辑模型利用这种观察,并通过预测应用于源序列的编辑操作来学习生成输出。相比之下,seq 2seq模型从零开始逐字生成输出,从而使它们在推理时变慢。与seq 2seq模型相比,文本编辑模型提供了几个优点,包括更快的推理速度、更高的样本效率以及更好的输出控制和可解释性。本教程全面概述了文本编辑模型和当前最先进的方法,并分析了它们的优缺点。我们讨论了与生产化相关的挑战,以及如何使用这些模型来减轻幻觉和偏见,这两个都是文本生成领域的紧迫挑战。

英文摘要:

Text-editing models have recently become a prominent alternative to seq2seq models for monolingual text-generation tasks such as grammatical error correction, simplification, and style transfer. These tasks share a common trait - they exhibit a large amount of textual overlap between the source and target texts. Text-editing models take advantage of this observation and learn to generate the output by predicting edit operations applied to the source sequence. In contrast, seq2seq models generate outputs word-by-word from scratch thus making them slow at inference time. Text-editing models provide several benefits over seq2seq models including faster inference speed, higher sample efficiency, and better control and interpretability of the outputs. This tutorial provides a comprehensive overview of text-editing models and current state-of-the-art approaches, and analyzes their pros and cons. We discuss challenges related to productionization and how these models can be used to mitigate hallucination and bias, both pressing challenges in the field of text generation.

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

↑