Advertisement
Beginner Deep Learning, Long Short-Term Memory (LSTM) Networks

How does Long Short-Term Memory (LSTM) Networks work

Short answer

It uses internal gates that control what information to keep, what to forget, and what to output at each step, which helps it handle long sequences better than a basic RNN.

Save Deep Learning mock interview
Advertisement
AModel answer
It uses internal gates that control what information to keep, what to forget, and what to output at each step, which helps it handle long sequences better than a basic RNN.
Real-world example
An LSTM model can generate coherent paragraphs of text by remembering context from many words earlier in the passage.
Likely follow-ups
  • What is Deep Learning, How is Long Short-Term Memory (LSTM) Networks evaluated in practice, What tools are commonly used for Long Short-Term Memory (LSTM) Networks
Related topics