[Paper Review] Learning Rate Annealing Can Provably Help Generalization, Even for Convex Problems
This paper demonstrates that learning rate annealing—using a large initial learning rate followed by a small one—can provably improve generalization even in convex problems like 2D linear regression. By exploiting mismatch between train and test loss landscapes and early stopping, annealed gradient descent reaches minima with significantly lower test loss than gradient flow with a small constant learning rate.
Learning rate schedule can significantly affect generalization performance in modern neural networks, but the reasons for this are not yet understood. Li-Wei-Ma (2019) recently proved this behavior can exist in a simplified non-convex neural-network setting. In this note, we show that this phenomenon can exist even for convex learning problems -- in particular, linear regression in 2 dimensions. We give a toy convex problem where learning rate annealing (large initial learning rate, followed by small learning rate) can lead gradient descent to minima with provably better generalization than using a small learning rate throughout. In our case, this occurs due to a combination of the mismatch between the test and train loss landscapes, and early-stopping.
Motivation & Objective
- To demonstrate that learning rate annealing can improve generalization in convex optimization problems, challenging the assumption that non-convexity is necessary for such effects.
- To analyze the interaction between learning rate schedules, early stopping, and the discrepancy between empirical (train) and population (test) loss landscapes.
- To provide a theoretically grounded, minimal example where annealing leads to better generalization than constant small learning rates, despite identical training loss.
- To clarify that generalization benefits from learning rate scheduling are not solely due to non-convexity or implicit bias, but can arise from optimization dynamics and estimation error.
Proposed method
- Model a 2D linear regression problem with a ground-truth parameter vector and a data distribution that samples two orthogonal features uniformly.
- Define train and test (population) loss functions based on empirical and true covariance matrices, respectively, creating a mismatch in curvature between the two.
- Compare two optimization strategies: (A) gradient flow with a small constant learning rate, and (B) gradient descent with a large step size followed by gradient flow.
- Use the large initial learning rate to induce oscillation in the highest-curvature direction (first coordinate), preventing full optimization along that axis during the discrete phase.
- Analyze the resulting parameter trajectories and final test losses using bounds on population loss based on eigenvalue ratios and decay rates.
- Prove that under specific data sampling conditions (e.g., 3/4 probability of two identical samples), the annealed method achieves a test loss half that of the constant small learning rate method.
Experimental results
Research questions
- RQ1Can learning rate annealing improve generalization in convex problems where the global minimum is unique?
- RQ2What mechanisms underlie the generalization improvement from learning rate scheduling in convex settings?
- RQ3How does the mismatch between train and test loss landscapes interact with early stopping to affect generalization?
- RQ4Is the benefit of annealing due to non-convexity, or can it emerge in strongly convex problems?
- RQ5Can gradient flow and gradient descent with large initial steps produce different generalization outcomes even when reaching the same training loss?
Key findings
- For a 2D linear regression problem, learning rate annealing reduces test loss to half that of constant small learning rate gradient flow when training loss is identical.
- With probability 3/4 over training data samples, the test loss of the annealed method is twice as low as that of the constant small learning rate method.
- The improvement arises because the large initial learning rate prevents optimization along high-curvature train directions that are low-curvature in the true distribution.
- The key mechanism is the combination of curvature mismatch between train and test loss and early stopping, which breaks the uniqueness of the minimum at a given training loss.
- The result holds even in strongly convex problems, showing that non-convexity is not required for learning rate scheduling to affect generalization.
- The theoretical analysis confirms that gradient descent with large steps followed by gradient flow can escape poor generalization minima that gradient flow alone would converge to.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.