arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.01445stat.MLcs.LGmath.STstat.TH
收藏

特征学习的高维渐近:一个梯度步长如何改善表示

High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation

University of Toronto(多伦多大学);Vector Institute for Artificial Intelligence(向量人工智能研究所);University of Tokyo(东京大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);University of California, San Diego(加州大学圣地亚哥分校);Microsoft Research AI(微软研究院人工智能部门)

Jimmy Ba, Murat A. Erdogdu, Taiji Suzuki, Zhichao Wang, Denny Wu, Greg Yang

摘要:

研究了两层神经网络$f(\boldsymbol{x}) = \frac{1}{\sqrt{N}}\boldsymbol{a}^\topσ(\boldsymbol{W}^\top\boldsymbol{x})$中第一层参数$\boldsymbol{W}$的第一梯度下降步骤,其中$\boldsymbol{W}\in\mathbb{R}^{d\times N}, \boldsymbol{a}\in\mathbb{R}^{N}$是随机初始化的,训练目标是经验MSE损失:$\frac{1}{n}\sum_{i=1}^n (f(\boldsymbol{x}_i)-y_i)^2$ .在比例渐近极限,其中$n,d,N\to\infty$在相同的速率,和一个理想化的学生-教师设置,我们表明,第一梯度更新包含一个秩1“尖峰”,这导致在第一层的权重和教师模型$f^*$的线性组件之间的对齐。为了表征这种对齐的影响,我们计算了当$f^*$是单指标模型时,在$\boldsymbol{W}$上使用学习率$η$进行一个梯度步骤后,共轭核上岭回归的预测风险。我们考虑两个缩放的第一步学习率$η$。对于小的$η$,我们建立了一个高斯等价属性的训练特征映射,并证明了学习的内核提高了初始的随机特征模型,但不能击败最好的线性模型的输入。而对于足够大的$η$,我们证明了对于某些$f^*$,相同的脊估计训练的功能可以超越这个“线性制度”,并优于广泛的随机功能和旋转不变的内核。我们的研究结果表明,即使是一个梯度步骤也可以带来比随机特征更大的优势,并突出了学习率缩放在训练初始阶段的作用。

英文摘要:

We study the first gradient descent step on the first-layer parameters $\boldsymbol{W}$ in a two-layer neural network: $f(\boldsymbol{x}) = \frac{1}{\sqrt{N}}\boldsymbol{a}^\topσ(\boldsymbol{W}^\top\boldsymbol{x})$, where $\boldsymbol{W}\in\mathbb{R}^{d\times N}, \boldsymbol{a}\in\mathbb{R}^{N}$ are randomly initialized, and the training objective is the empirical MSE loss: $\frac{1}{n}\sum_{i=1}^n (f(\boldsymbol{x}_i)-y_i)^2$. In the proportional asymptotic limit where $n,d,N\to\infty$ at the same rate, and an idealized student-teacher setting, we show that the first gradient update contains a rank-1 "spike", which results in an alignment between the first-layer weights and the linear component of the teacher model $f^*$. To characterize the impact of this alignment, we compute the prediction risk of ridge regression on the conjugate kernel after one gradient step on $\boldsymbol{W}$ with learning rate $η$, when $f^*$ is a single-index model. We consider two scalings of the first step learning rate $η$. For small $η$, we establish a Gaussian equivalence property for the trained feature map, and prove that the learned kernel improves upon the initial random features model, but cannot defeat the best linear model on the input. Whereas for sufficiently large $η$, we prove that for certain $f^*$, the same ridge estimator on trained features can go beyond this "linear regime" and outperform a wide range of random features and rotationally invariant kernels. Our results demonstrate that even one gradient step can lead to a considerable advantage over random features, and highlight the role of learning rate scaling in the initial phase of training.

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

↑