The Epochal Sawtooth Phenomenon: Unveiling Training Loss Oscillations in Adam and Other Optimizers
Not on the map. Why?
Abstract (arXiv)
In this paper, we identify and analyze a recurring training loss pattern, which we term the textitEpochal Sawtooth Phenomenon (ESP), commonly observed during training with adaptive gradient-based optimizers, particularly Adam optimizer. This pattern is characterized by a sharp drop in loss at the beginning of each epoch, followed by a gradual increase, resulting in a sawtooth-shaped loss curve. Through empirical observations, we demonstrate that while this effect is most pronounced with Adam, it persists, although less severely, with other optimizers such as RMSProp. We empirically analyze the mechanisms underlying ESP, focusing on key factors such as Adam's β parameters, batch size, data shuffling, and sample replacement. Our analysis shows that ESP arises from adaptive learning rate adjustments controlled by the second moment estimate. Additionally, we identify the ``immediate re-exposure to samples'' effect during data shuffling, which causes the model to learn or memorize more at the beginning of each epoch. We also find that smaller values of β2 exacerbate ESP but can act as a form of regularization. While ESP is not necessarily indicative of overfitting, higher model capacity can amplify the phenomenon. To further support our analysis, we replicate ESP through a high-dimensional quadratic minimization task. We demonstrate that ESP can emerge even in simple optimization scenarios, reinforcing the generality of this pattern. The code for reproducing our experiments is available at https://github.com/qiliuchn/training-loss-pattern.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 6 of its 21 references that are in the map. First posted on arXiv 14 Oct 2024.
Builds on
6 of 21 references.
References · 6
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2016An overview of gradient descent optimization algorithmscited by 1,021
- 2015Cyclical Learning Rates for Training Neural Networkscited by 627
- 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 248
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025WaveNet's Precision in EEG Classificationcited by 0
- 2025WaveNet's Precision in EEG Classification10 Oct 2025