Hierarchical Neural Story Generation

Angela Fan, Mike Lewis, Yann Dauphin
5/13/2018
cs.CL

Official code: facebookresearch/fairseq (32,213 stars, MIT, PyTorch, last commit 2025-09-30).

Abstract

We explore story generation: creative systems that can build coherent and fluent passages of text about a topic. We collect a large dataset of 300K human-written stories paired with writing prompts from an online forum. Our dataset enables hierarchical story generation, where the model first generates a premise, and then transforms it into a passage of text. We gain further improvements with a novel form of model fusion that improves the relevance of the story to the prompt, and adding a new gated multi-scale self-attention mechanism to model long-range context. Experiments show large improvements over strong baselines on both automated and human evaluations. Human judges prefer stories generated by our approach to those from a strong non-hierarchical model by a factor of two to one.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

32,2136,667C++, LuaAug 29, 20171 years agoMIT
artificial-intelligencepythonpytorch

Cite this paper

@article{fan2018hierarchical,
  title  = {Hierarchical Neural Story Generation},
  author = {Angela Fan and Mike Lewis and Yann Dauphin},
  year   = {2018},
  eprint = {1805.04833},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.04833}
}

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

Discussion