Skip to content
DeepForgeby svx

Sims

Live simulations you can play, pause, and step through.

3 simulations · everything runs locally

Six gradient-descent variants race down the same elongated valley. Tune the learning rate and watch momentum and adaptive methods pull ahead — or diverge.

Optimizer Race

Six optimizers start from the same point on an elongated valley. Momentum and Adam escape the flat direction fast, plain SGD crawls, and AdaGrad's accumulated squared gradients shrink its steps until the rate is raised. Drag the slider and stage your own race.

step 0/1500
0.08
Current optimizer state: steps, loss, and status
OptimizerStepsLossStatus
SGD—7.2900In progress
Momentum—7.2900In progress
Nesterov—7.2900In progress
AdaGrad—7.2900In progress
RMSProp—7.2900In progress
Adam—7.2900In progress

Check your intuition

1 / 5

At lr 0.08, after 20 steps, which optimizer has the lower loss?

Pick an answer to see why.