Summary
The paper investigates the consequences of the sharpness dynamics on step-size tuners' design. In particular, given a learning rate $\eta$, the sharpness exhibits a progressive sharpening phase towards the Edge of Stability (EoS) threshold of $2/\eta$ , where it stays for a large part of training time. First, the authors analyze the sharpness dynamics for two popular step-size tuners (linesearch and quadratically greedy tuners). In both cases, it is observed a significant decrease in learning rate over time, which coincides with a sharpening phase to ever-increasing thresholds. This leads to a suboptimal schedule of ever-decreasing learning rates that might perform better in a single step, but fails to deliver good performances at longer time scales. To fix this vicious cycle, the paper proposes Curvature Dynamics Aware Tuning (CDAT), which takes into consideration the alignment of the gradient with the Hessian, and it is designed to operate "at the edge" through a scalar multiplier $\sigma$. The intuitions are corroborated with simple theoretical analyses on the interplay between sharpness dynamics and learning rate schedules, which (compared to when the learning rate is fixed) have both a time dependence.
Strengths
1. **Novelty of the idea**. Compared to classical analysis (e.g. linear models) where the sharpness $\lambda_t$ is fixed at initialization, in neural networks the sharpness dynamics exhibit the consistent phenomenon of progressive sharpening towards the value of $2/\eta$ (idea crystallized in Cohen et al. 2021). Given that the sharpness also provides a bound on the maximum step size allowed based on the local landscape, there is an interesting interplay between sharpness dynamics and learning rate, especially when the learning rate is varied either with a fixed schedule (e.g. warmup and decay) or with a step-size tuner. Thus, by analyzing step-size tuners, the paper is a step toward understanding this delicate interplay. To my knowledge, this is the first work toward this direction and it's the main strength of the paper.
2. **Clarity**. The paper is exceptionally well-structured and flows nicely. The structure goes back and forth from empirical evidence to the theoretical model which provides intuitive justification. Overall, the paper is also very well-written and self-contained, and it provides all the necessary (and sufficient) context. The experiments are also portrayed schematically and intuitively.
3. **CDAT tuner**. The idea of the new proposed scheduler is simple and effective, and captures many interesting properties of the interplay between sharpness and learning rate, outperforming the base tuners in the full-batch case. Also, the authors put in a little extra engineering to ensure the stability of the optimizers, which makes intuitive sense.
Weaknesses
I am overall strongly in favor of acceptance. However, my score is not higher for the following reasons:
1. **Practical Limitations of CDAT**: I understand that the main purpose of the paper is to diagnose optimization properties at the edge of stability, and to study the interplay between learning rate and sharpness. However, there are a few practical limitations of the proposed tuner CDAT. First, it does not outperform the baseline of a constant learning rate in the practical deep learning use-case of mini-batch optimization, even after tuning the $\sigma$ parameter which is supposed to take into account stochastic batch noise. Furthermore, it has an additional hyperparameter $\sigma$ that has to be tuned. Thus, it loses the advantages of a learning rate tuner in the first place.
2. The authors attribute the lower performances of CDAT for the stochastic regime to (1) the optimal scaling factor is mini-batch dependent, and (2) that the sharpening effect is mitigated in the stochastic regime. However, (1) is not tested. Also, the fact that even after tuning the scaling factor $\sigma$, CDAT underperforms is a partial indication that something else (beyond the fact the stochastic batches lower the sharpness threshold below $2/\eta$) is responsible for the drop in performance. Again, it could be because you need a different $\sigma$ per batch, but this is not experimentally validated. Also, this would further limit the applicability of the tuner.
3. I would appreciate it if the theoretical model from Damial et al (2022)(together with its underlying assumptions) is summarized, at least in the Appendix.
Questions
1. The authors provide an experiment where the tuner uses the exact sharpness instead of CDAT, which takes into account how the update is aligned with the largest eigenvector. What conclusions can be drawn on the learning rate and Hessian interplay? For instance, that at the beginning of training, the updates are not aligned with the leading eigenvector, which allows you to take larger steps (i.e. by increasing $\sigma$)?
2. Varying width and depth. The authors have an experiment (Fig. 18) where either the width or the depth is increased. There is a line of work that studies how hyperparameters (such as the learning rate) transfer from small to large scale (Yang et al, 2022 https://arxiv.org/abs/2203.03466). What are the implications of this paper's results in this context? It is my understanding that [2] can be related/discussed.
These papers seem relevant for the discussion on EoS and its relation to the learning rate, and varying hyperparameters:
[1] Universal Sharpness Dynamics in Neural Network Training: Fixed Point Analysis, Edge of Stability, and Route to Chaos (https://arxiv.org/abs/2311.02076)
[2] Why do Learning Rates Transfer? Reconciling Optimization and Scaling Limits for Deep Learning (https://arxiv.org/abs/2402.17457)
[3] Understanding Gradient Descent on the Edge of Stability in Deep Learning (https://arxiv.org/abs/2205.09745)
Limitations
The authors provide extensive experimental details that make the results fully reproducible. Also, the Appendix provides a lot of interesting ablations, such as varying width and depth, additional base learning rate tuners, and comparisons with commonly used prefixed schedules. In general, I find the suite of experiments very extensive. Finally, I also appreciate that the authors provide an extensive limitation section, setting the boundaries to which aspects of the interplay between sharpness and learning rate dynamics can be captured by CDAT.