BREAKTHROUGH — escaped the losing pattern

Downswing Escape Simulator

A ball sits trapped in a "stuck" strategy, jostled by noise. Below a critical amount of randomness, it's trapped behind an energy barrier for a very long time — then, purely by chance, it escapes and finds the better strategy. This is grokking: noise-driven escape from a metastable state, governed by the Arrhenius law escape_time ∼ exp(ΔV / T).

Modeled after: "Noise-Driven Escape from Metastable Phases explains Grokking in Deep Neural Networks" (arXiv:2606.17120)

Live Simulation Euler–Maruyama Langevin dynamics

← STUCK: losing pattern / overfit memorization BREAKTHROUGH: generalization →
Current run time
0.00
Escapes logged
0
Mean escape time
—
Escape rate
—

Statistics accumulated across runs

Escape Time Histogram — at current T

Every simulated trial (hero ball + fast background trials) at the current temperature is binned here (log-scale). The rightmost gold bar = trials that never escaped inside the time budget — "still stuck".

Arrhenius Plot — mean escape time vs 1/T

Sweeps several temperatures at the current barrier height, runs many trials each, and plots mean escape time (log scale) against inverse temperature. A straight line here is the Arrhenius law: ln(escape_time) ≈ ΔV · (1/T) + const. Dashed line = analytic Kramers prediction for this potential.