






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Exploding and vanishing gradient problems
during backpropagation.
Gradients are those values which to update neural
networks weights. In other words, we can say that
Gradient carries information.
Vanishing gradient is a big problem in deep neural
networks. it vanishes or explodes quickly in earlier
layers and this makes RNN unable to hold information
of longer sequence. and thus RNN becomes short-term
memory.
If we apply RNN for a paragraph RNN may leave out
necessary information due to gradient problems and
not be able to carry information from the initial time
control the fl ow of information and cells to hold
information. The Cell States carries the information
from initial to later time steps without getting
vanished.
the input gate, now the output gate
comes into play.
states. and cell states are carried over
the next time step.
LSTM networks. GRU is a kind of newer version
of RNN. However, there are some differences
between GRU and LSTM.
GRU doesn’t contain a cell state
GRU uses its hidden states to transport
information
It Contains only 2 gates(Reset and Update
Gate)
GRU is faster than LSTM
GRU has lesser tensor’s operation that
makes it faster
Gate and Input Gate. Forget gate decides
what information to ignore and what
information to add in memory.
order to get rid of gradient explosion.
Reset Gate determines how much past
information should be forgotten.
al