DL
    intermediate

    Optimizers: SGD, Momentum, RMSprop, Adam

    algorithms.live

    Controls

    Settings

    0.050

    Analysis

    SGD: Simple gradient descent, can be slow. Oscillates in ravines, struggles with saddle points.

    SGD
    Start
    Minimum
    Step: 0 / 83
    Loss: 18.0000
    LR: 0.050

    What does each optimiser track?

    Sort

    Sort each optimiser by the state it keeps per parameter.

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

    No extra state

    Drop items here

    Gradient average only

    Drop items here

    Gradient and squared-gradient

    Drop items here
    5 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    MOMENTUM improves plain SGD by…

    Learn these first

    Interview Questions

    Google
    Meta
    Apple
    Twitter
    LinkedIn
    Snap
    OpenAI
    Hugging Face
    Cohere
    NVIDIA
    DeepMind
    Microsoft
    Google Brain
    Amazon
    Databricks

    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