Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization
Abstract
The typical training of neural networks using large stepsize gradient descent (GD) under the logistic loss often involves two distinct phases, where the empirical risk oscillates in the first phase but decreases monotonically in the second phase. We investigate this phenomenon in two-layer networks that satisfy a near-homogeneity condition. We show that the second phase begins once the empirical risk falls below a certain threshold, dependent on the stepsize. Additionally, we show that the normalized margin grows nearly monotonically in the second phase, demonstrating an implicit bias of GD in training non-homogeneous predictors. If the dataset is linearly separable and the derivative of the activation function is bounded away from zero, we show that the average empirical risk decreases, implying that the first phase must stop in finite steps. Finally, we demonstrate that by choosing a suitably large stepsize, GD that undergoes this phase transition is more efficient than GD that monotonically decreases the risk. Our analysis applies to networks of any width, beyond the well-known neural tangent kernel and mean-field regimes.
Cite
Text
Cai et al. "Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization." Neural Information Processing Systems, 2024. doi:10.52202/079017-2278Markdown
[Cai et al. "Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/cai2024neurips-large/) doi:10.52202/079017-2278BibTeX
@inproceedings{cai2024neurips-large,
title = {{Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization}},
author = {Cai, Yuhang and Wu, Jingfeng and Mei, Song and Lindsey, Michael and Bartlett, Peter L.},
booktitle = {Neural Information Processing Systems},
year = {2024},
doi = {10.52202/079017-2278},
url = {https://mlanthology.org/neurips/2024/cai2024neurips-large/}
}