pith. machine review for the scientific record. sign in

arxiv: 1702.04521 · v1 · submitted 2017-02-15 · 💻 cs.CL · cs.AI· cs.LG· cs.NE

Recognition: unknown

Frustratingly Short Attention Spans in Neural Language Modeling

Authors on Pith no claims yet
classification 💻 cs.CL cs.AIcs.LGcs.NE
keywords languageneuralmodelsmemorytokenattentiondifferentiablehistory
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Hopfield Networks is All You Need

    cs.NE 2020-07 unverdicted novelty 7.0

    Modern Hopfield networks store exponentially many patterns, retrieve them in one update, and have an update rule equivalent to transformer attention, enabling new Hopfield layers that improve results on multiple insta...