Generating Coherent Narratives by Learning Dynamic and Discrete Entity States with a Contrastive Framework

Jian Guan, Zhenyu Yang, Rongsheng Zhang, Zhipeng Hu, Minlie Huang
8/8/2022
cs.CL

No official code found. Best implementation: thu-coai/ERIC (4 stars, last commit 2023-07-04).

Abstract

Despite advances in generating fluent texts, existing pretraining models tend to attach incoherent event sequences to involved entities when generating narratives such as stories and news. We conjecture that such issues result from representing entities as static embeddings of superficial words, while neglecting to model their ever-changing states, i.e., the information they carry, as the text unfolds. Therefore, we extend the Transformer model to dynamically conduct entity state updates and sentence realization for narrative generation. We propose a contrastive framework to learn the state representations in a discrete space, and insert additional attention layers into the decoder to better exploit these states. Experiments on two narrative datasets show that our model can generate more coherent and diverse narratives than strong baselines with the guidance of meaningful entity states.

View on arXivView PDF

Code Implementations(1)

thu-coai/ERICCommunity100%

Code for the AAAI 2023 paper "Generating Coherent Narratives by Learning Dynamic and Discrete Entity States with a Contrastive Framework"

40Shell, PythonNov 21, 20223 years ago

Similar Papers

Cite this paper

@article{guan2022generating,
  title  = {Generating Coherent Narratives by Learning Dynamic and Discrete Entity States with a Contrastive Framework},
  author = {Jian Guan and Zhenyu Yang and Rongsheng Zhang and Zhipeng Hu and Minlie Huang},
  year   = {2022},
  eprint = {2208.03985},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.03985v2}
}

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

Discussion