Neural Network Training Techniques Regularize Optimization Trajectory: An Empirical Study
Cheng Chen, Junjie Yang, Yi Zhou
TL;DR
The paper addresses why common DNN training techniques accelerate optimization by introducing a regularity principle for stochastic nonconvex optimization, parameterized by $\gamma$, which enforces alignment between updates and the optimization trajectory. It proves a sublinear convergence bound of $\mathcal{O}(1/(\gamma T))$ and demonstrates, through extensive experiments on AlexNet, VGG, ResNet, and U-Net, that training techniques raise $\gamma$ and yield faster convergence. The study systematically analyzes activation functions, batch normalization, skip-connections, and optimizers, showing that each technique contributes to trajectory regularization and faster progress according to the principle. This provides a quantitative metric for the regularization effect of training practices and offers guidance for designing training strategies with improved convergence behavior in deep learning.
Abstract
Modern deep neural network (DNN) trainings utilize various training techniques, e.g., nonlinear activation functions, batch normalization, skip-connections, etc. Despite their effectiveness, it is still mysterious how they help accelerate DNN trainings in practice. In this paper, we provide an empirical study of the regularization effect of these training techniques on DNN optimization. Specifically, we find that the optimization trajectories of successful DNN trainings consistently obey a certain regularity principle that regularizes the model update direction to be aligned with the trajectory direction. Theoretically, we show that such a regularity principle leads to a convergence guarantee in nonconvex optimization and the convergence rate depends on a regularization parameter. Empirically, we find that DNN trainings that apply the training techniques achieve a fast convergence and obey the regularity principle with a large regularization parameter, implying that the model updates are well aligned with the trajectory. On the other hand, DNN trainings without the training techniques have slow convergence and obey the regularity principle with a small regularization parameter, implying that the model updates are not well aligned with the trajectory. Therefore, different training techniques regularize the model update direction via the regularity principle to facilitate the convergence.
