arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.02713stat.MLcs.LG
收藏

基于结构化特征的SGD学习曲线

Learning Curves for SGD on Structured Features

John A. Paulson School of Engineering and Applied Sciences(约翰·A·保尔森工程与应用科学学院);Center for Brain Science(脑科学中心);Harvard University(哈佛大学)

Blake Bordelon, Cengiz Pehlevan

摘要:

诸如神经网络的机器学习算法的泛化性能以非平凡的方式取决于数据分布的结构。为了分析数据结构对测试损失动态的影响,我们研究了一个精确可解的均方损失随机梯度下降(SGD)模型,该模型在训练具有任意协方差结构的特征时预测测试损失。我们精确地解决了高斯特征和任意特征的理论,并且我们证明了更简单的高斯模型可以准确地预测非线性随机特征模型和在真实数据集(如MNIST和CIFAR-10)上使用SGD训练的深度神经网络的测试损失。我们发现,在固定的计算预算的最佳批量大小通常很小,并取决于特征相关性结构,展示了小批量SGD的计算优势。最后,我们将我们的理论扩展到固定子采样训练集上更常见的随机梯度下降设置,表明在我们的框架中,训练和测试误差都可以在真实数据上准确预测。

英文摘要:

The generalization performance of a machine learning algorithm such as a neural network depends in a non-trivial way on the structure of the data distribution. To analyze the influence of data structure on test loss dynamics, we study an exactly solveable model of stochastic gradient descent (SGD) on mean square loss which predicts test loss when training on features with arbitrary covariance structure. We solve the theory exactly for both Gaussian features and arbitrary features and we show that the simpler Gaussian model accurately predicts test loss of nonlinear random-feature models and deep neural networks trained with SGD on real datasets such as MNIST and CIFAR-10. We show that the optimal batch size at a fixed compute budget is typically small and depends on the feature correlation structure, demonstrating the computational benefits of SGD with small batch sizes. Lastly, we extend our theory to the more usual setting of stochastic gradient descent on a fixed subsampled training set, showing that both training and test error can be accurately predicted in our framework on real data.

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

↑