Optimisation and AI
Gradient descent is not magic. It is a repeated mathematical choice.
This prototype shows how a point moves across a loss landscape by repeatedly stepping in the opposite direction to the gradient. It is a simple way into optimisation, calculus and the mathematics behind many machine learning systems.
The goal is to help learners experiment: change the learning rate, change the starting point, watch what happens, and explain why.
Interactive prototype
Watch gradient descent move across a loss landscape
The dot starts at a chosen point and repeatedly moves in the opposite direction to the gradient. Change the landscape, learning rate and start point to see what helps or harms convergence.
Iteration
0 / 24
Point
(-2.4, 2.3)
Loss
22.45
Gradient size
9.476
Joy in the process
The point is not just to finish. It is to notice, test and return.
These tools are invitations to explore. A good mistake, a surprising pattern or a question you cannot yet answer is part of the work, not a failure of it.
The challenge is deliberate: the site should support thinking, not remove the need for it.
Guided exploration
Use the prototype to create predictions, not just observations.
Future extensions