Current probe Best found
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Simulated Annealing: Escaping Local Minima

Simulated annealing is an optimization heuristic that, unlike plain gradient descent, can climb out of local minima. This simulator renders a randomly generated, deliberately bumpy 3D loss landscape and runs a real Metropolis-criterion annealing search across it: a probe proposes random nearby moves, accepts every downhill step, and accepts uphill steps with probability exp(−Δf/T) — so a hot search explores freely while a cooled search commits to a basin. Adjust the starting temperature, the geometric cooling rate, and the step size to see the classic trade-off between exploration and convergence, with live readouts of temperature, iteration count, current and best objective value, and recent acceptance rate.