Memory and Knowledge Augmented Language Models for Inferring Salience in Long-Form Stories

David Wilmot, Frank Keller
9/8/2021
cs.CLcs.AI

Official code: dwlmt/story-fragments (3 stars, Python, last commit 2023-07-24).

Abstract

Measuring event salience is essential in the understanding of stories. This paper takes a recent unsupervised method for salience detection derived from Barthes Cardinal Functions and theories of surprise and applies it to longer narrative forms.

Show full abstract

We improve the standard transformer language model by incorporating an external knowledgebase (derived from Retrieval Augmented Generation) and adding a memory mechanism to enhance performance on longer works. We use a novel approach to derive salience annotation using chapter-aligned summaries from the Shmoop corpus for classic literary works. Our evaluation against this data demonstrates that our salience detection model improves performance over and above a non-knowledgebase and memory augmented language model, both of which are crucial to this improvement.

View on arXivView PDF

Code Implementations(1)

Models to experiment with story understanding and generation tasks using embedding based knowledgebase and memory representations.

31Python, ShellOct 23, 20203 years ago

Similar Papers

Cite this paper

@article{wilmot2021memory,
  title  = {Memory and Knowledge Augmented Language Models for Inferring Salience in Long-Form Stories},
  author = {David Wilmot and Frank Keller},
  year   = {2021},
  eprint = {2109.03754},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03754}
}

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

Discussion