Skip to main content
QUICK REVIEW

[Paper Review] Tracking the World State with Recurrent Entity Networks

Mikael Henaff, Jason Weston|arXiv (Cornell University)|Dec 12, 2016
Topic ModelingComputer Science157 citations
TL;DR

The paper introduces the Recurrent Entity Network (EntNet), a memory-augmented model with parallel dynamic memory slots for tracking world state, achieving state-of-the-art results on the bAbI tasks and strong performance on CBT with single-pass reading.

ABSTRACT

We introduce a new model, the Recurrent Entity Network (EntNet). It is equipped with a dynamic long-term memory which allows it to maintain and update a representation of the state of the world as it receives new data. For language understanding tasks, it can reason on-the-fly as it reads text, not just when it is required to answer a question or respond as is the case for a Memory Network (Sukhbaatar et al., 2015). Like a Neural Turing Machine or Differentiable Neural Computer (Graves et al., 2014; 2016) it maintains a fixed size memory and can learn to perform location and content-based read and write operations. However, unlike those models it has a simple parallel architecture in which several memory locations can be updated simultaneously. The EntNet sets a new state-of-the-art on the bAbI tasks, and is the first method to solve all the tasks in the 10k training examples setting. We also demonstrate that it can solve a reasoning task which requires a large number of supporting facts, which other methods are not able to solve, and can generalize past its training horizon. It can also be practically used on large scale datasets such as Children's Book Test, where it obtains competitive performance, reading the story in a single pass.

Motivation & Objective

  • Motivate the need for maintaining a dynamic world-state representation while processing text.
  • Propose a memory-augmented neural network with parallel, gated memory slots to update entity-specific representations.
  • Demonstrate that EntNet solves all bAbI tasks and generalizes to longer sequences beyond training horizon.
  • Show competitive results on the Children’s Book Test (CBT) with single-pass reading.

Proposed method

  • Propose EntNet with a fixed number of memory slots, each with a key w_j and content h_j, updated by a gating mechanism conditioned on input.
  • Use a parallel set of gated RNNs (memory blocks) with shared parameters to model concept-entity dynamics.
  • Define a content- and location-based gating function g_j = sigmoid(s_t^T h_j + s_t^T w_j) to determine per-slot updates.
  • Provide an input encoder that aggregates input tokens into a fixed-length vector s_t via a learned mask and summation.
  • Implement an output module akin to a one-hop Memory Network that weighs memories by q^T h_j and combines them to predict answers.
  • Train the entire system by backpropagation through time, propagating gradients from time steps requiring an output.

Experimental results

Research questions

  • RQ1Can a fixed-size, parallel, memory-augmented network maintain and update an internal world model while processing sequential text?
  • RQ2Does EntNet scale to longer reasoning sequences and generalize beyond training horizons?
  • RQ3How does EntNet perform on standard reasoning benchmarks (bAbI) and real-world-like data (CBT) compared to prior memory architectures?

Key findings

  • EntNet solves all 20 bAbI tasks with 10k training samples, setting a new state-of-the-art.
  • The model generalizes to sequences longer than seen during training, indicating learned world dynamics.
  • On synthetic World Model tasks, EntNet outperforms MemN2N and LSTM as sequence length grows and generalizes beyond training horizon.
  • EntNet achieves competitive results on CBT, with a simplified variant performing best among single-pass models in Named Entities and Common Nouns tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.