LSTM
LSTM
Memory(LSTM)
By: Benamara Icherak
Messar Aya
Introduction
01
The first part chooses whether the information coming from the
previous timestamp is to be remembered or is irrelevant and can
be forgotten. In the second part, the cell tries to learn new
information from the input to this cell. At last, in the third part, the
cell passes the updated information from the current timestamp
to the next timestamp. This one cycle of LSTM is considered a
single-time step.
LSTM Architecture
Just like a simple RNN, an LSTM also has a hidden state where H(t-1)
represents the hidden state of the previous timestamp and Ht is the
hidden state of the current timestamp. In addition to that, LSTM also
has a cell state represented by C(t-1) and C(t) for the previous and
current timestamps, respectively.
Here the hidden state is known as Short term memory, and the cell
state is known as Long term memory. Refer to the following image.
Objectives
After processing the entire news During training, the LSTM adjusts its
article, the final state of the LSTM is weights and biases based on the
used as input to a classification prediction error,
layer, which predicts whether the This allows the network to learn to
article is real or fake based on the distinguish between real and fake
patterns learned during training. news articles.