[Paper Review] Why Does Stagewise Training Accelerate Convergence of Testing Error Over SGD
This paper explains why stagewise training accelerates convergence in neural network optimization by proposing a stagewise regularized training algorithm that uses geometrically decreasing learning rates and explicit regularization at each stage. For loss functions satisfying the Polyak-Łojasiewicz condition—including convex and weakly convex functions—it achieves faster convergence in both training and testing error than vanilla SGD, with dimensionality- and norm-independent testing error bounds.
Stagewise training strategy is commonly used for learning neural networks, which uses a stochastic algorithm (e.g., SGD) starting with a relatively large step size (aka learning rate) and geometrically decreasing the step size after a number of iterations. It has been observed that the stagewise SGD has much faster convergence than the vanilla SGD with a polynomial decaying step size in terms of both training error and testing error. {\it But how to explain this phenomenon has been largely ignored by existing studies.} This paper provides some theoretical evidence for explaining this faster convergence. In particular, we consider the stagewise training strategy for minimizing empirical risk that satisfies the Polyak-\L ojasiewicz condition, which has been observed/proved for neural networks and also holds for a broad family of convex functions. For convex loss functions and nice-behaviored non-convex loss functions that are close to a convex function (namely weakly convex functions), we establish faster convergence of stagewise training than the vanilla SGD under the same condition on both training error and testing error. Indeed, the proposed algorithm has additional favorable features that come with theoretical guarantee for the considered non-convex optimization problems, including using explicit algorithmic regularization at each stage, using stagewise averaged solution for restarting, and returning the last stagewise averaged solution as the final solution. To differentiate from commonly used stagewise SGD, we refer to our algorithm as stagewise regularized training algorithm. Of independent interest, the proved testing error bounds for a family of non-convex loss functions are dimensionality and norm independent.
Motivation & Objective
- To explain the empirical observation that stagewise training accelerates convergence of testing error compared to vanilla SGD with polynomial learning rate decay.
- To provide theoretical justification for the faster convergence of stagewise training in minimizing empirical risk under the Polyak-Łojasiewicz condition.
- To establish dimensionality- and norm-independent testing error bounds for non-convex loss functions commonly found in neural networks.
- To introduce and analyze a stagewise regularized training algorithm with explicit regularization, averaged solutions at each stage, and a final solution based on the last averaged iterate.
Proposed method
- The algorithm applies stochastic gradient descent with a geometrically decreasing learning rate schedule across stages.
- At each stage, explicit algorithmic regularization is applied to stabilize optimization and improve generalization.
- The solution is averaged within each stage, and the average is used as the starting point for the next stage.
- The final output is the last stagewise averaged solution, which is shown to have improved generalization performance.
- Theoretical analysis relies on the Polyak-Łojasiewicz condition, which holds for many neural network loss functions and convex-like non-convex functions.
- The analysis derives generalization bounds that are independent of data dimension and parameter norm, a novel result for non-convex settings.
Experimental results
Research questions
- RQ1Why does stagewise training lead to faster convergence of testing error compared to vanilla SGD with polynomial learning rate decay?
- RQ2Under what conditions can stagewise training achieve faster convergence in both training and testing error?
- RQ3Can generalization bounds for non-convex loss functions be derived that are independent of data dimension and parameter norm?
- RQ4What role does explicit regularization at each stage play in improving convergence and generalization?
- RQ5How does using averaged solutions across stages contribute to better test error performance?
Key findings
- The stagewise regularized training algorithm achieves faster convergence in both training and testing error compared to vanilla SGD under the Polyak-Łojasiewicz condition.
- The proposed method provides dimensionality- and norm-independent testing error bounds for a broad class of non-convex loss functions, including those typical in neural networks.
- Explicit regularization at each stage contributes to improved generalization and stable convergence.
- Using averaged solutions for restarting at each stage enhances performance and ensures theoretical guarantees.
- The final solution, taken as the last stagewise averaged iterate, achieves superior generalization with provable error bounds.
- The theoretical analysis confirms that the faster convergence observed empirically in stagewise training is mathematically grounded in the optimization dynamics under the Polyak-Łojasiewicz condition.
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.