- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper elevates the concept of greedy alignment, which maximizes the inner product of the gradient and the update, into a principled framework for optimizer selection. By viewing an optimizer as a causal filter that maps input gradients to output updates, the authors demonstrate the existence of an optimal optimizer that maximizes the expected rate of loss decrease (Section 2). In particular, this framework is applied to selecting the optimal hyperparameters for momentum-based optimizers (Section 3), deriving an exact formula for the optimal momentum parameter at each iteration in terms of the expected loss drop rate (Theorem 3.1). Leveraging this theoretical insight, they propose two online algorithms that dynamically select the best momentum parameter at each step: K-Switch SGD+Momentum and K-Switch Adam (Algorithm 1 and 2). Numerical experiments across various tasks and architectures demonstrate that the K-Switch mechanism consistently matches or outperforms strong baseline configurations with fixed hyperparameters (Section 5).
Strengths and weaknesses
Strengths
- The presentation of the paper is clear and easy to follow.
- Applying the greedy alignment mechanism to optimizer selection is a highly novel approach.
- Based on sound theory, the paper derives a meaningful estimation formula for the optimal momentum parameter in terms of the expected rate of loss decrease, and its effectiveness is well-validated through experiments.
- Since the proposed algorithm provides dynamic parameter selection at each iteration, it will significantly reduce the cost and effort required for tuning momentum hyperparameters.
Weaknesses
- To select the optimal momentum parameter, a set of candidates must be prepared in advance. While these candidates themselves act as hyperparameters, the paper lacks an investigation into their sensitivity.
- The computational complexity appears to scale sharply as increases (e.g., approximately a +5% overhead when , but jumping to around a +100% overhead when ).
Questions
- The -Switch algorithm includes a special fallback mechanism for cases where remains negative for more than consecutive steps. To what extent did this exception handling actually trigger and function during the experiments reported in the main text?
- Is it possible to visualize the trajectory of the selected values during training? According to the appendix, the candidate momentum parameters for SGD+Momentum () are set to and . How frequently was the candidate selected over the course of training?
- Relatedly, some of the candidate momentum parameters appear somewhat arbitrary and extreme. Could you provide a sensitivity analysis regarding the choice of these candidate sets?
Limitations
Yes
Paper formatting concerns
N/A
Final justification
This paper is very unique, and the authors' reply was sufficient to resolve my concerns.
We appreciate reviewer 7q2K for their encouraging and considerate review. We are grateful to have our work acknowledged as a sound and novel theoretical approach. We provide our answers to each raised concern below.
Weaknesses
[W1,Q3] Sensitivity analysis on candidate optimizers
We provide additional sensitivity analysis on the endpoints of K-Switch as follows, using ResNet-18 / CIFAR-100 / SGDM settings:
For each experiment in the paper, we simply chose two candidates of the K=2 K-Switch algorithm by selecting endpoints of a rough enclosing interval of possible momentum values we would like to search from. Generally speaking, our K-Switch algorithm alleviates the need for a brute-force hyperparameter sweep and changes this into interval designation. We will add these experimental results in the final version of the manuscript as well. We thank the reviewer for the constructive review.
[W2] Computational complexity at high K
We will make clear that K=2 is the proposed practical default. The K=5 results in the appendix are an exploratory demonstration that finer candidate control can lead to even better results, highlighting the validity of the theory of our greedy alignment approach.
Questions
[Q1] Heuristic fallback mechanism
We provide additional tables below to show the frequency and effect of the soft attenuation mechanism we adopted:
In small-scale experiments with simpler weights, negative alignment occurs moderately, around 13.5% of the total run. This aligns with the observations in Cautious Optimizers. However, as the network size increases to a practically meaningful scale (LLM), the frequency of soft attenuation drops to zero. Essentially, this mechanism is never triggered, which does not harm the validity or applicability of our theory at practical scale. Also, we see little improvement in performance. We therefore decided to exclude all the heuristic components from the paper, since it only complicates the storyline.
[Q2] Trajectory of beta during training
Since we are not allowed to upload any images, links, or amendments to the manuscript during this rebuttal phase, we resort to showing these dynamics in the table below:
It is quite interesting to see that the frequency of the low-β value is preferred at first, while the high-β value is gradually chosen more often in the later, lower learning rate regime. This suggests that once the learning rate goes down below a certain threshold, the parameter trajectory dives into some locally optimal basin more frequently, where the momentum and the consecutive gradients all align better. We will include the actual plots in the final manuscript.
[Q3] Sensitivity analysis on candidate optimizers
We regard this question as overlapping with Weakness 1. The sensitivity analysis is provided in the corresponding answer to [W1]. Recommended strategy for selecting this candidates, which we have applied throughout the experiments, is to simply pick the endpoints of the interval that encloses all the sweep candidates we have in mind. This simplifies tedious search to simple interval designation. We again thank the reviewer for helping make this work more complete.