arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.19983cs.LGstat.ML
收藏

浅层神经网络SGD学习中的涌现与标度律

Emergence and scaling laws in SGD learning of shallow neural networks

Princeton University(普林斯顿大学);New York University(纽约大学);Flatiron Institute(Flatiron研究所)

Yunwei Ren, Eshaan Nichani, Denny Wu, Jason D. Lee

AI总结:

本文研究了各向同性高斯数据下两层神经网络的在线SGD学习复杂性,在宽网络机制下精确分析了SGD动力学,确定了恢复信号方向的转变时间,并刻画了幂律设置下MSE损失的标度律指数,揭示了大量神经元涌现学习曲线叠加导致平滑标度律。

摘要:

我们研究了在线随机梯度下降(SGD)学习具有$P$个神经元的两层神经网络的复杂性,数据为各向同性高斯数据:$f_*(\boldsymbol{x}) = \sum_{p=1}^P a_p\cdot σ(\langle\boldsymbol{x},\boldsymbol{v}_p^*\rangle)$,$\boldsymbol{x} \sim \mathcal{N}(0,\boldsymbol{I}_d)$,其中激活函数$σ:\mathbb{R}\to\mathbb{R}$是信息指数$k_*>2$(定义为Hermite展开中的最低阶数)的偶函数,$\{\boldsymbol{v}^*_p\}_{p\in[P]}\subset \mathbb{R}^d$是标准正交信号方向,非负第二层系数满足$\sum_{p} a_p^2=1$。我们专注于具有挑战性的“宽网络”机制$P\gg 1$,并允许第二层的条件数发散,涵盖了幂律标度$a_p\asymp p^{-β}$(其中$β\in\mathbb{R}_{\ge 0}$)这一特殊情况。我们对学生两层网络最小化均方误差(MSE)目标的训练过程进行了精确的SGD动力学分析,并明确确定了恢复每个信号方向的急剧转变时间。在幂律设置下,我们刻画了MSE损失相对于训练样本数、SGD步数以及学生神经网络参数数量的标度律指数。我们的分析表明,尽管单个教师神经元的学习表现出急剧转变,但在不同时间尺度上$P\gg 1$条涌现学习曲线的叠加,导致了累积目标中平滑的标度律。

英文摘要:

We study the complexity of online stochastic gradient descent (SGD) for learning a two-layer neural network with $P$ neurons on isotropic Gaussian data: $f_*(\boldsymbol{x}) = \sum_{p=1}^P a_p\cdot σ(\langle\boldsymbol{x},\boldsymbol{v}_p^*\rangle)$, $\boldsymbol{x} \sim \mathcal{N}(0,\boldsymbol{I}_d)$, where the activation $σ:\mathbb{R}\to\mathbb{R}$ is an even function with information exponent $k_*>2$ (defined as the lowest degree in the Hermite expansion), $\{\boldsymbol{v}^*_p\}_{p\in[P]}\subset \mathbb{R}^d$ are orthonormal signal directions, and the non-negative second-layer coefficients satisfy $\sum_{p} a_p^2=1$. We focus on the challenging ``extensive-width'' regime $P\gg 1$ and permit diverging condition number in the second-layer, covering as a special case the power-law scaling $a_p\asymp p^{-β}$ where $β\in\mathbb{R}_{\ge 0}$. We provide a precise analysis of SGD dynamics for the training of a student two-layer network to minimize the mean squared error (MSE) objective, and explicitly identify sharp transition times to recover each signal direction. In the power-law setting, we characterize scaling law exponents for the MSE loss with respect to the number of training samples and SGD steps, as well as the number of parameters in the student neural network. Our analysis entails that while the learning of individual teacher neurons exhibits abrupt transitions, the juxtaposition of $P\gg 1$ emergent learning curves at different timescales leads to a smooth scaling law in the cumulative objective.

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

↑