神经网络的可训练性和精确性:一种交互粒子系统方法
Trainability and Accuracy of Neural Networks: An Interacting Particle System Approach
摘要:
神经网络是机器学习的核心工具,在图像识别和分类任务中表现出显着的高保真性能。这些成功表明了精确表示高维函数的能力,但关于训练后神经网络的逼近误差的严格结果很少。在这里,我们建立了机器学习应用中使用的标准优化算法,随机梯度下降(SGD)的全局收敛条件,并量化其误差随网络大小的缩放。这是通过将SGD重新解释为粒子系统的演化来完成的,该粒子系统的相互作用由与用于训练网络的目标或“损失”函数相关的势支配。我们发现,当单位的数量$n$是大的,经验分布的粒子下降的凸景观对全球最小的速率独立于$n$,由此产生的近似误差,普遍规模为$O(n^{-1})$。这些性质以经验分布的大数定律和中心极限定理的形式建立。我们的分析还量化了SGD引入的噪声的规模和性质,并为训练神经网络时使用的步长和批量提供了指导。我们说明了我们的研究结果的例子中,我们训练神经网络学习的能量函数的连续3自旋模型的领域。近似误差的尺度与我们的分析预测的一样,在与$d=25$一样高的维度上。
英文摘要:
Neural networks, a central tool in machine learning, have demonstrated remarkable, high fidelity performance on image recognition and classification tasks. These successes evince an ability to accurately represent high dimensional functions, but rigorous results about the approximation error of neural networks after training are few. Here we establish conditions for global convergence of the standard optimization algorithm used in machine learning applications, stochastic gradient descent (SGD), and quantify the scaling of its error with the size of the network. This is done by reinterpreting SGD as the evolution of a particle system with interactions governed by a potential related to the objective or "loss" function used to train the network. We show that, when the number $n$ of units is large, the empirical distribution of the particles descends on a convex landscape towards the global minimum at a rate independent of $n$, with a resulting approximation error that universally scales as $O(n^{-1})$. These properties are established in the form of a Law of Large Numbers and a Central Limit Theorem for the empirical distribution. Our analysis also quantifies the scale and nature of the noise introduced by SGD and provides guidelines for the step size and batch size to use when training a neural network. We illustrate our findings on examples in which we train neural networks to learn the energy function of the continuous 3-spin model on the sphere. The approximation error scales as our analysis predicts in as high a dimension as $d=25$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。