Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

LSTM and GRU in Recurrent Neural Networks

Beoordeling
-
Verkocht
-
Pagina's
4
Geüpload op
22-02-2025
Geschreven in
2024/2025

LSTM (Long Short-Term Memory) and GRU (Gated Recurrent Unit) are types of Recurrent Neural Networks (RNNs) designed to address the limitations of traditional RNNs. In this explanation, I’ll cover the motivation behind LSTMs and GRUs, their internal architectures, and their differences and similarities, all within the context of improving sequential learning

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

LSTM and GRU in Recurrent Neural Networks
Instructor: Jaskirat Singh
October 7, 2024


LSTM (Long Short-Term Memory) and GRU (Gated Recurrent Unit) are types of Recurrent
Neural Networks (RNNs) designed to address the limitations of traditional RNNs. In this ex-
planation, I’ll cover the motivation behind LSTMs and GRUs, their internal architectures, and
their differences and similarities, all within the context of improving sequential learning.


1 Recurrent Neural Networks (RNNs) Recap
RNNs are a type of neural network specifically designed for sequential data, such as time series,
natural language, or any data where previous inputs can provide context for the current output.
They work by using hidden states that loop back on themselves, allowing information to persist
from one step in the sequence to the next.
The standard RNN has the following limitations:

• Vanishing and Exploding Gradients: During backpropagation, the gradients used to
update the model parameters can become very small (vanish) or excessively large (explode),
leading to ineffective training. This is especially problematic for long sequences, making it
difficult for RNNs to learn long-term dependencies.
• Short-term Memory: Traditional RNNs tend to “forget” long-term dependencies, which
limits their capacity to remember information beyond a few steps in the past.
To overcome these issues, LSTMs and GRUs were developed. They incorporate mechanisms
that make it easier to retain long-term dependencies, improving the performance of RNNs for
tasks that require memory over long time periods.


2 Long Short-Term Memory (LSTM)
LSTM is a type of RNN that was introduced by Sepp Hochreiter and Jürgen Schmidhuber in
1997. The key idea behind LSTMs is to use gates and a special type of memory cell that helps
regulate the flow of information, thus mitigating the vanishing gradient problem and making it
easier to learn long-term dependencies.



1

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
22 februari 2025
Aantal pagina's
4
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Jaskirat
Bevat
Alle colleges

Onderwerpen

$8.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
shreyanshkhandelwal

Maak kennis met de verkoper

Seller avatar
shreyanshkhandelwal Poornima University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 jaar
Aantal volgers
0
Documenten
3
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen