COINS: Dynamically Generating COntextualized Inference Rules for Narrative Story Completion

Debjit Paul, Anette Frank
6/4/2021
cs.CLcs.AI

Official code: Heidelberg-NLP/COINS (19 stars, Python, last commit 2022-06-27).

Abstract

Despite recent successes of large pre-trained language models in solving reasoning tasks, their inference capabilities remain opaque. We posit that such models can be made more interpretable by explicitly generating interim inference rules, and using them to guide the generation of task-specific textual outputs.

Show full abstract

In this paper we present COINS, a recursive inference framework that i) iteratively reads context sentences, ii) dynamically generates contextualized inference rules, encodes them, and iii) uses them to guide task-specific output generation. We apply COINS to a Narrative Story Completion task that asks a model to complete a story with missing sentences, to produce a coherent story with plausible logical connections, causal relationships, and temporal dependencies. By modularizing inference and sentence generation steps in a recurrent model, we aim to make reasoning steps and their effects on next sentence generation transparent. Our automatic and manual evaluations show that the model generates better story sentences than SOTA baselines, especially in terms of coherence. We further demonstrate improved performance over strong pre-trained LMs in generating commonsense inference rules. The recursive nature of COINS holds the potential for controlled generation of longer sequences.

View on arXivView PDF

Code Implementations(1)

The corresponding code from our paper " COINS: Dynamically Generating COntextualized Inference Rules for Narrative Story Completion (ACL 2021)". Do not hesitate to open an issue if you run into any trouble!

192Python, ShellMay 11, 20214 years ago
commonsensecommonsense-reasoningcommonsense-storynatual-language-inferencenatural-language-generation

Similar Papers

Cite this paper

@article{paul2021coins,
  title  = {COINS: Dynamically Generating COntextualized Inference Rules for Narrative Story Completion},
  author = {Debjit Paul and Anette Frank},
  year   = {2021},
  eprint = {2106.02497},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02497}
}

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

Discussion