arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.00158cs.CLcs.AIcs.LGstat.ML
收藏

文本填充

Text Infilling

Peking University(北京大学);Carnegie Mellon University(卡内基梅隆大学);Petuum Inc(佩图姆公司)

Wanrong Zhu, Zhiting Hu, Eric Xing

摘要:

近年来,不同语境下的文本生成取得了显著的进展,如最常见的文本生成环境是从零开始,以及正在兴起的检索重写范式。文本填充,即填充句子或段落中缺失的文本部分,在现实生活中也有许多用途,但尚未开发。以前的工作集中在限制设置,要么假设每个缺失部分单个单词,要么限制到文本结尾的单个缺失部分。本文研究了文本填充的一般任务,其中输入文本可以有任意数量的部分被填充,其中每个部分可能需要任意未知数量的令牌。我们研究了各种方法的任务,包括自我注意模型与段感知位置编码和双向上下文建模。我们通过使用不同的策略屏蔽文本来创建广泛的监督数据。实验表明,自我注意力模型大大优于其他模型,为未来的研究奠定了坚实的基础。

英文摘要:

Recent years have seen remarkable progress of text generation in different contexts, such as the most common setting of generating text from scratch, and the emerging paradigm of retrieval-and-rewriting. Text infilling, which fills missing text portions of a sentence or paragraph, is also of numerous use in real life, yet is under-explored. Previous work has focused on restricted settings by either assuming single word per missing portion or limiting to a single missing portion to the end of the text. This paper studies the general task of text infilling, where the input text can have an arbitrary number of portions to be filled, each of which may require an arbitrary unknown number of tokens. We study various approaches for the task, including a self-attention model with segment-aware position encoding and bidirectional context modeling. We create extensive supervised data by masking out text with varying strategies. Experiments show the self-attention model greatly outperforms others, creating a strong baseline for future research.

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

↑