DL
    intermediate

    RNN & LSTM Networks

    algorithms.live

    RNN & LSTM Networks Visualizer

    Watch how recurrent networks process sequential data and maintain memory

    1/6

    Network Architecture

    Advanced architecture with forget, input, and output gates

    Playback Settings

    1.5s

    Current State

    Token

    Hello

    Step

    1/6

    Forget Gate

    0.30

    Input Gate

    0.70

    HelloINPUT SEQUENCE,howareyou?LSTMf:0.3 i:0.7 o:0.8htLSTM Gates:f = Forget Gate (what to forget)i = Input Gate (what to add)o = Output Gate (what to output)c_new = f⊙c_old + i⊙g̃ • h = o⊙tanh(c_new)

    Current Input

    Token: "Hello"

    Hidden State

    Dim: [0.20, 0.30, 0.40]

    Gate Values

    F: 0.30, I: 0.70, O: 0.80

    Sequence Modeling
    RNN
    LSTM
    NLP
    Time Series

    What does each LSTM gate do?

    Sort

    Match each gate to its job.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Forget gate

    Drop items here

    Input gate

    Drop items here

    Output gate

    Drop items here
    6 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    Recurrent Neural Networks (RNNs) are designed for…

    Learn these first

    Interview Questions

    Apple
    Google
    Amazon
    Apple
    Meta
    Uber
    Google
    Amazon
    Meta
    Microsoft
    Meta
    Twitter
    LinkedIn
    Google
    Microsoft
    Amazon
    Siemens

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required