GRU

Recurrent & sequence · neural · 2014 · text · time series · speech

What it is

LSTM simplified to two gates and one merged state — fewer parameters, similar accuracy.

When to use it

The pragmatic recurrent default when you do not need LSTM's extra capacity.

Caveats

Like all RNNs it processes tokens one at a time, so it cannot be parallelised across a sequence and is slow on long inputs. Very long-range dependencies remain hard, and it can be slightly less expressive than an LSTM on some tasks.

Key ideas

  • Two gates (update and reset) instead of the LSTM's three
  • No separate cell state
  • Fewer parameters than an LSTM, with similar accuracy on many tasks

Related architectures

Original paper

Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation (2014, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted