Gradient Descent Simulator

Visualize gradient descent on 2D loss landscapes � drag to set start, watch it descend

Loss Landscape

x: -4.000y: 4.000

Click and drag to place the starting point

Function

Learning Rate

Gradient Vector

?f/?x

-8.0000

?f/?y

8.0000

||?f|| = 11.3137

Stats

Steps

0

Loss

32.0000

How it works

Gradient: The orange arrow points in the direction of steepest ascent. The ball moves opposite.

Learning rate: Controls step size. Too high overshoots; too low converges slowly.

Tip: Drag on the canvas to place the ball anywhere on the landscape.