Thank you for your comments.
---
**Q1:** The analysis is based on the fact that the momentum effect is dominated by other factors when the learning rate is negligible. This is somewhat intuitive and needs to dive deeper into what the special role of momentum is.
**A1:** We are not sure about what is excluded from “other factors”, and we appreciate it if more clarifications are provided.
The main message we wish to convey through this paper is that momentum has no special role when the learning rates are small, and tuning the momentum parameter has very limited benefits as model performance is agnostic to the choice of momentum parameters over a range of hyperparameter scales. This conclusion is supported by both our theoretical and empirical findings.
For some clarifications of our results, first, we believe that it is incorrect to claim that the momentum effect is dominated by changing the curvature-induced instability, rather than changing the noise-induced instability (defined in Lemma 2.4). Adding momentum actually modifies the noise part of parameter updates more than the curvature part. Second, simple intuitions like Section 3.1 cannot offer any suggestions on the number of steps when adding momentum accumulates non-negligible deviations. For instance, as our setting involves a $O(\sqrt{\eta})$-normed update per step, two adjacent SGD updates may differ by $O(\sqrt{\eta})$, therefore after $O(1/\sqrt{\eta})$ steps an SGDM trajectory will deviate from an SGD trajectory by the above intuition, which only accounts for $O(\sqrt{\eta})$ training loss decrease. Therefore even when the learning rate is small enough, it is not trivial to conclude that momentum has a negligible effect over the whole trajectory of $O(1/\eta)$ or $O(1/\eta^2)$ steps, when the training loss goes from initial to almost optimal and plateaus.
---
**Q2**: There needs to be clear examples of what scenarios the theory fits in. For example, with what class of loss and neural network does the theory fit in?
**A2:** For a short clarification, as our theory is a proof of the general non-convex landscape, it aims to model model training with any smooth loss, any neural networks architecture with any smooth activations (with polynomial growth) and small learning rates. For instance training with square loss for regression or logistic loss for classification falls into the assumptions. The boundedness of noise covariance and hessian are satisfied when the weights of the network have bounded moments during the course of the training, which is satisfied when weight decay is involved for general neural networks.
The assumptions of the paper are standard in a series of trajectory analysis works [1-4].
References
- [1] Qianxiao Li, Cheng Tai, and Weinan E. Stochastic modified equations and dynamics of stochastic gradient algorithms i: Mathematical foundations. Journal of Machine Learning Research, 20(40): 1–47, 2019.
- [2] Zhiyuan Li, Sadhika Malladi, and Sanjeev Arora. On the validity of modeling SGD with stochastic differential equations (SDEs). Advances in Neural Information Processing Systems, 34:12712– 12725, 2021a.
- [3] Li, Zhiyuan, Tianhao Wang, and Sanjeev Arora. "What Happens after SGD Reaches Zero Loss?--A Mathematical Framework." In International Conference on Learning Representations. 2021.
- [4] Sadhika Malladi, Kaifeng Lyu, Abhishek Panigrahi, and Sanjeev Arora. On the SDEs and scaling rules for adaptive gradient algorithms. Advances in Neural Information Processing Systems, 2022.
Furthermore, our experiment results further corroborate that our conclusion holds for general small-batch training from image tasks to natural language tasks, even when the learning rate is large. In practice, this implies that model performance is agnostic to the choice of momentum parameters when the batch sizes are scaled down.