在梯度下降方法中描述所谓的“动量”动态被广泛用于神经网络训练,因为已经广泛观察到,至少在经验上,它通常导致显著更快的收敛。同时,在文献中很少有理论保证来解释这种明显的加速效应。即使对于经典的强凸二次型问题,已有的结果也只是证明了Polyak动量的线性加速率是渐近的。在本文中,我们首先回顾了二次问题,并证明了一个非渐近的加速线性率的Polyak的动量。然后,我们证明了Polyak的动量在训练一层宽的ReLU网络和深度线性网络时实现了加速,这可能是文献中研究优化和深度学习的两个最流行的规范模型。Du等人2019和Wu等人2019的先前工作表明,使用香草梯度下降,并使用过度参数化,在$t$迭代后,误差衰减为$(1- Θ(\frac{1}{ κ'}))^t$,其中$κ'$是Gram矩阵的条件数。我们的结果表明,在适当选择参数的情况下,Polyak的动量有一个速率为$(1-Θ(\frac{1}{\sqrt{κ'}}))^t$ .对于深度线性网络,Hu et al. 2020的先前工作表明,香草梯度下降的速率为$(1-Θ(\frac{1}κ))^t$,其中$κ$是数据矩阵的条件数。我们的结果表明,加速率$(1- Θ(\frac{1}{\sqrtκ}))^t$是由Polyak的动量实现。在这项工作中的所有结果是从模块化分析,这可以是独立的利益。这项工作证明动量确实可以加速神经网络的训练。
英文摘要:
Incorporating a so-called "momentum" dynamic in gradient descent methods is widely used in neural net training as it has been broadly observed that, at least empirically, it often leads to significantly faster convergence. At the same time, there are very few theoretical guarantees in the literature to explain this apparent acceleration effect. Even for the classical strongly convex quadratic problems, several existing results only show Polyak's momentum has an accelerated linear rate asymptotically. In this paper, we first revisit the quadratic problems and show a non-asymptotic accelerated linear rate of Polyak's momentum. Then, we provably show that Polyak's momentum achieves acceleration for training a one-layer wide ReLU network and a deep linear network, which are perhaps the two most popular canonical models for studying optimization and deep learning in the literature. Prior work Du at al. 2019 and Wu et al. 2019 showed that using vanilla gradient descent, and with an use of over-parameterization, the error decays as $(1- Θ(\frac{1}{ κ'}))^t$ after $t$ iterations, where $κ'$ is the condition number of a Gram Matrix. Our result shows that with the appropriate choice of parameters Polyak's momentum has a rate of $(1-Θ(\frac{1}{\sqrt{κ'}}))^t$. For the deep linear network, prior work Hu et al. 2020 showed that vanilla gradient descent has a rate of $(1-Θ(\frac{1}κ))^t$, where $κ$ is the condition number of a data matrix. Our result shows an acceleration rate $(1- Θ(\frac{1}{\sqrtκ}))^t$ is achievable by Polyak's momentum. All the results in this work are obtained from a modular analysis, which can be of independent interest. This work establishes that momentum does indeed speed up neural net training.
Proxy Convexity: A Unified Framework for the Analysis of Neural Networks Trained by Gradient Descent
Simons Institute for the Theory of Computing(西蒙斯计算理论研究所);University of California, Berkeley(加州大学伯克利分校);University of California, Los Angeles(加州大学洛杉矶分校)
MoSSP: A Momentum-Based Single-Loop Stochastic Penalty Method for Nonconvex Constrained DC-Regularized Optimization
School of Mathematical Sciences, Beihang University, Beijing 100191, China(北京航空航天大学数学学院);School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China(中山大学计算机科学与工程学院)
Booth School of Business, University of Chicago(芝加哥大学布斯商学院);University of Chicago(芝加哥大学)
Spike-and-Slab Deep Learning(SS-DL)是Dropout的完全贝叶斯替代方案,用于提高深度ReLU网络的泛化能力。这种新型的正则化能够证明恢复具有未知平滑度的平滑输入-输出映射。事实上,我们发现后验分布集中在$α$ -Hölder光滑映射的极小极大率附近,表现得就像我们提前知道$α$的光滑度一样好。我们的结果揭示了深神经网络的架构设计,即深度,宽度和稀疏水平的选择。这些网络属性通常取决于未知的平滑度,以便达到最佳。我们将这个约束与完全贝叶斯建设。作为一个旁白,我们表明,SS-DL并没有过拟合的意义上说,后验集中在较小的网络与较少(最佳数量)的节点和链接。我们的研究结果从贝叶斯的角度为深度ReLU网络提供了新的理论依据。
Understanding Self-supervised Learning with Dual Deep Networks
Facebook AI Research(脸书人工智能研究院);Stanford University(斯坦福大学)
我们提出了一个新的理论框架来理解对比自监督学习(SSL)方法,该方法采用双对深度ReLU网络(例如,Simplified)。首先,我们证明,在每个SGD更新Simplified与各种损失函数,包括简单的对比损失,软三重损失和InfoNCE损失,在每一层的权重更新的\emph{covariance operator},专门放大初始随机选择性,不同的数据样本,但生存的平均值超过数据增强。为了进一步研究协方差算子扮演的角色以及在这样的过程中学习到的特征,我们通过\emph{hierarchical latent tree model}(HLTM)对数据生成和增强过程进行建模,并证明深度ReLU网络的隐藏神经元可以学习HLTM中的潜变量,尽管网络从这些未观察到的潜变量中接收\emph{no direct supervision}。这导致通过对比SSL放大最初的随机选择性来证明分层特征的出现。大量的数值研究证明了我们的理论发现。代码发布在https://github.com/facebookresearch/luckmatters/tree/master/ssl。
Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformers
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学耿丽人工智能学院);School of Mechanical-Electronic and Vehicle Engineering, Beijing University of Civil Engineering and Architecture(北京建筑大学机械电子与车辆工程学院);School of Statistics and Management, Shanghai University of Finance and Economics(上海财经大学统计与管理学院)