Go Back in Time: Generating Flashbacks in Stories with Event Temporal Prompts

Rujun Han, Hong Chen, Yufei Tian, Nanyun Peng
5/4/2022
cs.CLcs.AI

Official code: PlusLabNLP/flashback_gen (6 stars, Python, last commit 2022-04-28).

Abstract

Stories or narratives are comprised of a sequence of events. To compose interesting stories, professional writers often leverage a creative writing technique called flashback that inserts past events into current storylines as we commonly observe in novels and plays.

Show full abstract

However, it is challenging for machines to generate flashback as it requires a solid understanding of event temporal order (e.g. "feeling hungry" before "eat," not vice versa), and the creativity to arrange storylines so that earlier events do not always appear first in narrative order. Two major issues in existing systems that exacerbate the challenges: 1) temporal bias in pertaining and story datasets that leads to monotonic event temporal orders; 2) lack of explicit guidance that helps machines decide where to insert flashbacks. We propose to address these issues using structured storylines to encode events and their pair-wise temporal relations (before, after and vague) as temporal prompts that guide how stories should unfold temporally. We leverage a Plan-and-Write framework enhanced by reinforcement learning to generate storylines and stories end-to-end. Evaluation results show that the proposed method can generate more interesting stories with flashbacks while maintaining textual diversity, fluency, and temporal coherence.

View on arXivView PDF

Code Implementations(1)

Repo for Generating Flashbacks in Stories (NAACL'22)

61Python, ShellApr 23, 20224 years ago

Similar Papers

Cite this paper

@article{han2022back,
  title  = {Go Back in Time: Generating Flashbacks in Stories with Event Temporal Prompts},
  author = {Rujun Han and Hong Chen and Yufei Tian and Nanyun Peng},
  year   = {2022},
  eprint = {2205.01898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.01898}
}

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

Discussion