Jargonautica
Training and Post-training

Loss Spike

A sudden jump in error partway through a long training run. Sometimes it recovers by itself, sometimes it destroys the model and weeks of compute along with it. Watching for these and knowing how to respond is a large part of what running a big training job involves.

Technical view

Causes include bad data batches, numerical instability in attention logits, learning rate too high for the current curvature, and hardware faults producing silent corruption. Mitigations include gradient clipping, careful initialisation and normalisation placement, skipping offending batches, and reverting to a recent checkpoint with a reduced learning rate. Frequency of spikes tends to increase with scale, making checkpoint cadence a real design decision.


Part of AI Terminology Index, section: Training and Post-training.

How it connects

Loss Spike links to 6 other terms. The faint lines are links between those terms. See it in the full graph.

TrainingTrainingData Centre and InterconnectData Centre and Int…Gradient ClippingGradient ClippingData QualityData QualityLearning Rate ScheduleLearning Rate Sched…Layer NormalisationLayer NormalisationLoss Spike