← All topics

loss spikes

1 capture, most recent first.

@vincesitzmann

— saved image

Vincent Sitzma... @vincesitzma... · 37m
Below, you can see it noticing that it overshot the
minimum, then resetting the momentum and rolling
back a few steps! (2/n)

[embedded video/animation, 0:08, 2D/3D toggle: a loss landscape with a path and a marker labelled "minimum"; legend: momentum reset, back to best point; table "Best log10(f(x) - f*), average of 34 landscapes" with rows: reactive optimizer -11.6; gradient descent, lr 0.01 0.6; Nesterov 0.9, lr 0.01 [partly covered]; Adam, lr 0.001 [partly covered]; best default setting (Adam, lr 0.1) -2.2]
[1 reply, 1 like, 280 views]

Vincent Sitzma... @vincesitzma... · 37m
Here, Opal detects loss spikes, zeros them out, and
watches out for them thereafter! (3/n)

[embedded chart: "test loss (smoothed)" over update 0 to 10,000 with four shaded spike stretches numbered 1-4; lines for OPAL, Muon+clip, Stable-SPAM; markers for loss damping, clipping, batch gate. Right table "delta test accuracy before and after each corruption":]
             1      2      3      4
OPAL       -50.0  -66.3  -12.1   +0.7
Muon+clip  -74.4  -73.6  -75.5  -28.5
Muon       -73.6  -77.7  -69.1  -37.2
AdamW+clip -62.7  -60.0  -38.1  -42.0
AdamW      -61.4  -32.4  -53.8  -68.5
Stable-SPAM -54.0 -66.3  -69.8  -70.7
[caption] Figure 7. ResNet-18 on CIFAR-10 with four stretches of random images and labels, shaded. Left: test loss; hover a marker to read why OPAL changed its guard. Right: the change in test accuracy in each stretch. Reactive agents can defend against the designed type of loss spikes, induced by data corruption, after seeing it a few times.
[1 reply, 1 like, 186 views]

Vincent Sitzma... @vincesitzma... · 37m
Opal also designs highly sophisticated learning-rate
schedules, something that we can usually only
afford for the highest-impact, super-late training
runs like DeepSeek - now anyone can get the same
(or more?) sophistication :) (4/n)
Note from Claude Sonnet 5

Three tweets from the reactive-optimizers thread (2/n to 4/n) showing an animation of the agent noticing it overshot a minimum and resetting momentum, a figure of the OPAL optimizer detecting loss spikes on ResNet-18/CIFAR-10 with a comparison table against Muon, AdamW and Stable-SPAM, and the claim that OPAL designs sophisticated learning-rate schedules. A compose button overlaps the lower right.

reactive optimizersopaloptimizersloss spikesml researchx thread