EasyDeepLearn

GRU vs LSTM — how are they different in practice?

medium

Answer

  • GRU merges forget + input gates into an update gate and drops the separate cell state (uses only h).
  • Fewer parameters (~25% less), often trains faster, similar accuracy on most sequence tasks.
  • LSTM is a bit more expressive on very long sequences with complex temporal dynamics.
  • Rule of thumb: try GRU first for simplicity; use LSTM when GRU underfits.
Check yourself — multiple choice
  • GRU has more parameters than LSTM
  • GRU merges gates and drops cell state — fewer params, faster, similar accuracy to LSTM on most tasks
  • Same architecture
  • GRU has no gates

GRU: merged gates, no cell state → fewer params, similar accuracy.

#rnn#lstm#gru

Practise Deep Learning

214 interview questions in this topic.

Related questions