Progressive Generation of Long Text with Pretrained Language Models

Bowen Tan, Zichao Yang, Maruan AI-Shedivat, Eric P. Xing, Zhiting Hu
6/28/2020
cs.CLcs.LG

Official code: tanyuqian/progressive-generation (82 stars, Python, Apache-2.0, last commit 2020-10-02).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

NAACL 2021 - Progressive Generation of Long Text

8211Python, ShellJun 8, 20206 years agoApache-2.0
bartnlpprogressive-generative-networkstext-generation

Similar Papers

Cite this paper

@article{tan2020progressive,
  title  = {Progressive Generation of Long Text with Pretrained Language Models},
  author = {Bowen Tan and Zichao Yang and Maruan AI-Shedivat and Eric P. Xing and Zhiting Hu},
  year   = {2020},
  eprint = {2006.15720},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.15720}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.15720.svg)](https://codeofpaper.com/paper/2006.15720)

Discussion