arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.15720cs.CLcs.LG
收藏

基于预训练语言模型的长文本渐进生成

Progressive Generation of Long Text with Pretrained Language Models

Carnegie Mellon University(卡内基梅隆大学);Petuum Inc.(Petuum公司);MBZUAI(穆罕默德·本·扎耶德人工智能大学);UC San Diego(加州大学圣迭戈分校)

Bowen Tan, Zichao Yang, Maruan AI-Shedivat, Eric P. Xing, Zhiting Hu

摘要:

大规模语言模型(LM)在大量文本语料库上进行预训练,如GPT-2,是强大的开放域文本生成器。然而,正如我们的系统检查所揭示的那样,这种模型生成连贯的长文本段落仍然具有挑战性(例如,1000个标记),特别是当模型在小语料库上被微调到目标域时。以前的规划然后生成方法也无法在各个领域产生如此长的文本。为了克服这些限制,我们提出了一种简单但有效的方法,以渐进的方式生成文本,灵感来自生成从低到高分辨率的图像。我们的方法首先产生特定领域的内容关键字,然后在多个阶段逐步将其细化为完整的段落。简单的设计使我们的方法能够在每个阶段利用预训练的LM,并有效地适应任何目标域,只需一小部分示例。我们进行了一个全面的实证研究,广泛的评估指标,并表明,我们的方法显着提高了微调大型LM和各种规划,然后生成方法的质量和样本效率。人类的评估也证实了我们的模型生成更加一致。

英文摘要:

Large-scale language models (LMs) pretrained on massive corpora of text, such as GPT-2, are powerful open-domain text generators. However, as our systematic examination reveals, it is still challenging for such models to generate coherent long passages of text (e.g., 1000 tokens), especially when the models are fine-tuned to the target domain on a small corpus. Previous planning-then-generation methods also fall short of producing such long text in various domains. To overcome the limitations, we propose a simple but effective method of generating text in a progressive manner, inspired by generating images from low to high resolution. Our method first produces domain-specific content keywords and then progressively refines them into complete passages in multiple stages. The simple design allows our approach to take advantage of pretrained LMs at each stage and effectively adapt to any target domain given only a small set of examples. We conduct a comprehensive empirical study with a broad set of evaluation metrics, and show that our approach significantly improves upon the fine-tuned large LMs and various planning-then-generation methods in terms of quality and sample efficiency. Human evaluation also validates that our model generations are more coherent.

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

↑