arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02078cs.LG
收藏

超越ℓ2范数和ℓ∞范数:一种受曲率启发的深度神经网络ℓp范数方案

Beyond $\ell_2$-norm and $\ell_\infty$-norm: A Curvature-Inspired $\ell_p$-Norm Scheme for Deep Neural Networks

School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院)

Jianhao Xu, Zhuang Yang

AI总结:

针对现有优化器在参数维度曲率变化大时适应性差的问题,提出一种动态p值的ℓp范数方案,并融入SGD和SGDM,得到LPSGD和LPSGDM优化器,通过早期大p抑制高曲率方向、后期余弦退火减小p实现稳定更新,理论证明非凸情形下O(T^{-1/2})收敛率,在CIFAR和ImageNet数据集上验证了泛化性能提升。

摘要:

现有的深度神经网络(DNN)优化器通常依赖于ℓ2范数或ℓ∞范数,导致优化器不能很好地适应参数维度上曲率的显著变化。通常,DNN的训练过程在早期表现出强烈的曲率各向异性,而在后期,DNN的训练过程趋向于向各向异性较弱的平坦区域移动。特别地,基于ℓ2范数的优化器通常由高曲率方向主导,限制了优化器沿较低曲率方向的更新,从而导致收敛速度较慢。而基于ℓ∞范数的优化器由于坐标方向更新幅度相同,在平坦区域容易产生振荡。为了解决ℓ2和ℓ∞范数产生的这两种极端情况,我们提出了一种具有动态p值的新型ℓp范数方案,并将其融入随机梯度下降(SGD)和带动量的SGD(SGDM)中,从而得到两种具有更好泛化性能的新型优化器:ℓp-SGD(LPSGD)和ℓp-SGDM(LPSGDM)。特别地,所得到的优化器通过使用较大的p(p>2)来抑制早期高曲率方向的支配地位,随后将p逐渐减小至2以实现更稳定和精细的更新,其中后一过程受余弦退火策略启发。我们建立了所得到算法的理论保证,并分析了LPSGD和LPSGDM在非凸情形下均达到O(T^{-1/2})的收敛率。在基准数据集(包括CIFAR-10、CIFAR-100和ImageNet-1K)上,使用多种DNN(如VGG-11、ResNet-18和ResNet-50)进行了大量实验。

英文摘要:

The existing optimizers for deep neural networks (DNNs) typically rely on either the $\ell_2$ norm or the $\ell_\infty$ norm, resulting in optimizers that do not adapt well to substantial changes in curvature across parameter dimensions. Generally, the training process of DNNs often exhibits strong curvature anisotropy in the early period, whereas in the later period, the training process of DNNs tends to move toward flatter regions with weaker anisotropy. Particularly, optimizers based on the \(\ell_2\)-norm are usually dominated by high-curvature directions, restricting updates of optimizers along with lower curvature direction and thus leading to a slower convergence rate. While optimizers based on the \(\ell_\infty\)-norm are prone to oscillations in flatter regions, due to the coordinate-wise updates of the same magnitude. To address these two extreme cases generated by $\ell_2$ and $\ell_\infty$ norms, we propose a novel $\ell_p$-norm scheme with a dynamical value of $p$ and incorporate it into stochastic gradient descent (SGD) and SGD with momentum (SGDM), leading to two novel optimizers with better generalization performance: ${\ell_p}$-SGD (LPSGD) and ${\ell_p}$-SGDM (LPSGDM). Particularly, the resulting optimizers suppress the dominance of high-curvature directions in the early period by utilizing a large $p$ ($p>2$), followed by a gradual decrease of $p$ toward 2 to enable more stable and refined updates, where the latter process is motivated by the cosine annealing strategy. We establish theoretical guarantees of the resulting algorithms and analyze that both LPSGD and LPSGDM achieve an \(O(T^{-1/2})\) convergence rate for the nonconvex setting. Extensive experiments are conducted on benchmark datasets, including CIFAR-10, CIFAR-100, and ImageNet-1K, with multiple DNNs such as VGG-11, ResNet-18, and ResNet-50.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑