Frustratingly Short Attention Spans in Neural Language Modeling

By Michal Daniluk, Tim Rocktaschel, Johannes Welbl, Sebastian Riedel. 2017

119 citations recorded by the source corpus.

Neural language models predict the next token using a latent representation of the immediate token history. Recently, various methods for augmenting neural language models with an attention mechanism over a differentiable memory have been proposed. For predicting the next token, these models query information from a memory of the recent history which can facilitate learning mid- and long-range dependencies. However, conventional attention mechanisms used in memory-augmented neural language models produce a single output vector per time step. This vector is used both for predicting the next token as well as for the key and value of a differentiable memory of a token history. In this paper, we propose a neural language model with a key-value attention mechanism that outputs separate representations for the key and value of a differentiable memory, as well as for encoding the next-word distribution. This model outperforms existing memory-augmented neural language models on two corpora. Yet, we found that our method mainly utilizes a memory of the five most recent output representations. This led to the unexpected main finding that a much simpler model based only on the concatenation of recent output representations from previous time steps is on par with more sophisticated memory-augmented neural language models.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yi Tay
  3. Luke S. Zettlemoyer
  4. Graham Neubig
  5. Percy Liang
  6. Jianfeng Gao
  7. Quoc V. Le
  8. Ruslan Salakhutdinov

In Natural Language Processing

  1. Graham Neubig
  2. Mohit Bansal
  3. Jianfeng Gao
  4. Percy Liang
  5. Luke S. Zettlemoyer
  6. Christopher D. Manning
  7. Noah A. Smith
  8. Kyunghyun Cho

Citations in the corpus