Skip to main content
QUICK REVIEW

[论文解读] Generalisation dynamics of online learning in over-parameterised neural networks

Sebastian Goldt, Madhu Advani|arXiv (Cornell University)|Jan 25, 2019
Neural Networks and Applications参考文献 44被引用 7
一句话总结

本文研究了在教师-学生框架下,通过随机梯度下降(SGD)训练的过参数化两层神经网络的泛化动态。利用一组解析推导出的常微分方程(ODE),研究发现泛化误差随过参数化程度(L)线性增加,且在小学习率下呈现 $\epsilon_g^* \sim \eta\sigma^2L$ 的缩放关系,揭示了在线学习中模型容量与泛化性能之间的根本权衡。

ABSTRACT

Deep neural networks achieve stellar generalisation on a variety of problems, despite often being large enough to easily fit all their training data. Here we study the generalisation dynamics of two-layer neural networks in a teacher-student setup, where one network, the student, is trained using stochastic gradient descent (SGD) on data generated by another network, called the teacher. We show how for this problem, the dynamics of SGD are captured by a set of differential equations. In particular, we demonstrate analytically that the generalisation error of the student increases linearly with the network size, with other relevant parameters held constant. Our results indicate that achieving good generalisation in neural networks depends on the interplay of at least the algorithm, its learning rate, the model architecture, and the data set.

研究动机与目标

  • 理解为何过参数化神经网络尽管具备记忆训练数据的能力,仍能实现良好泛化。
  • 通过随机梯度下降(SGD)建模学生网络从教师网络学习的训练动态。
  • 以网络规模和学习率表示,推导泛化误差演化的闭式描述。
  • 研究过参数化(多余隐藏单元)如何影响在线学习中的泛化性能。

提出的方法

  • 构建一个教师-学生学习框架,其中学生从具有 M 个隐藏单元的教师网络生成的数据中学习。
  • 将学生网络建模为具有 K 个隐藏单元的两层网络,允许 K > M 以实现受控的过参数化(L = K - M)。
  • 推导一组常微分方程(ODE),描述在大 N 极限下泛化误差和有序参数的时间演化。
  • 利用统计物理工具,假设输入为独立同分布的高斯分布且噪声方差 $\sigma^2$ 有限,对渐近泛化误差 $\epsilon_g^*$ 进行解析计算。
  • 在小学习率 $\eta$ 的条件下,通过微扰法求解 ODE,获得 $\epsilon_g^*$ 的显式表达式。
  • 在 MNIST 数据上验证结果,显示其与独立同分布高斯输入的缩放行为一致,证实了对输入分布的鲁棒性。

实验结果

研究问题

  • RQ1在在线 SGD 训练过程中,过参数化学生网络的泛化误差如何演化?
  • RQ2最终泛化误差对过参数化程度(L)的解析依赖关系是什么?
  • RQ3学习率和噪声水平是否影响过参数化网络的泛化性能?
  • RQ4当训练集为有限或较大时,泛化误差如何随网络规模缩放?
  • RQ5早停是否能缓解过参数化对泛化性能的负面影响?

主要发现

  • 收敛后的泛化误差 $\epsilon_g^*$ 随过参数化程度 L 线性增加,且在小学习率下满足 $\epsilon_g^* \sim \eta\sigma^2L$。
  • 泛化误差随 L 的线性缩放关系在不同激活函数下均成立:线性、S型(误差函数)和 ReLU。
  • 模型预测存在两种不同行为区域:当 P ≫ K 时,增加 L 会降低泛化性能;当 P ≈ K 时,泛化性能稳定或改善。
  • ODE 框架在合成的独立同分布高斯数据和真实 MNIST 数据上均能准确预测泛化误差,且缩放关系一致。
  • 早停可减少过拟合,尤其在 S 型网络中效果显著,但无法消除与 L 相关的泛化误差趋势。
  • 解析解通过统计物理方法推导,在足够大的训练集下,于大 N 极限内是精确的。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。