Event Transition Planning for Open-ended Text Generation

Qintong Li, Piji Li, Wei Bi, Zhaochun Ren, Yuxuan Lai +1 more
4/20/2022
cs.CL

Official code: qtli/EventPlanforTextGen (4 stars, Python, MIT, last commit 2022-12-26).

Abstract

Open-ended text generation tasks, such as dialogue generation and story completion, require models to generate a coherent continuation given limited preceding context. The open-ended nature of these tasks brings new challenges to the neural auto-regressive text generators nowadays.

Show full abstract

Despite these neural models are good at producing human-like text, it is difficult for them to arrange causalities and relations between given facts and possible ensuing events. To bridge this gap, we propose a novel two-stage method which explicitly arranges the ensuing events in open-ended text generation. Our approach can be understood as a specially-trained coarse-to-fine algorithm, where an event transition planner provides a "coarse" plot skeleton and a text generator in the second stage refines the skeleton. Experiments on two open-ended text generation tasks demonstrate that our proposed method effectively improves the quality of the generated text, especially in coherence and diversity. The code is available at: \url{https://github.com/qtli/EventPlanforTextGen}.

View on arXivView PDF

Code Implementations(1)

MIT

ACL 2022 Findings

40Python, ShellMar 5, 20223 years agoMIT

Similar Papers

Cite this paper

@article{li2022event,
  title  = {Event Transition Planning for Open-ended Text Generation},
  author = {Qintong Li and Piji Li and Wei Bi and Zhaochun Ren and Yuxuan Lai and Lingpeng Kong},
  year   = {2022},
  eprint = {2204.09453},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.09453}
}

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/2204.09453.svg)](https://codeofpaper.com/paper/2204.09453)

Discussion