arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05271stat.MLcs.AIcs.LG

特征学习作为对齐:非线性神经网络中梯度下降的结构性质

Feature learning as alignment: a structural property of gradient descent in non-linear neural networks

UC San Diego(加州大学圣地亚哥分校);Mila(米拉计算科学研究所);Université de Montréal(蒙特利尔大学);Google DeepMind(谷歌DeepMind)

Daniel Beaglehole, Ioannis Mitliagkas, Atish Agarwala

AI总结:

本文揭示了神经特征假设中权重Gram矩阵与平均梯度外积相关性的本质,证明其源于权重矩阵左奇异结构与预激活切向特征的对齐,并提出一种优化规则显著提升特征学习质量。

摘要:

理解神经网络通过特征学习从输入-标签对中提取统计信息的机制,是监督学习中最重要的未解问题之一。先前的研究表明,在训练过程中,权重的Gram矩阵(即神经特征矩阵,NFM)与平均梯度外积(AGOP)会变得相关,这一结论被称为神经特征假设(NFA)。通过NFA,作者们引入了以AGOP作为映射的机制,作为神经特征学习的一般机制。然而,这些研究并未为这种相关性或其起源提供理论解释。在本研究中,我们进一步阐明了这种相关性的本质,并解释了其产生的原因。我们证明,这种相关性等价于权重矩阵的左奇异结构与每层新定义的预激活切向特征之间的对齐。我们进一步确立,这种对齐是由SGD引起的权重变化与预激活特征之间的相互作用所驱动的,并在早期阶段根据输入和标签的简单统计量对由此产生的动力学进行了分析。我们证明,在特定的高维设置中,导数对齐几乎必然发生。最后,我们引入了一种由我们对中心化相关性分析所启发的简单优化规则,该规则在任何给定层都能显著增强NFA相关性,并提升所学习特征的质量。

英文摘要:

Understanding the mechanisms through which neural networks extract statistics from input-label pairs through feature learning is one of the most important unsolved problems in supervised learning. Prior works demonstrated that the gram matrices of the weights (the neural feature matrices, NFM) and the average gradient outer products (AGOP) become correlated during training, in a statement known as the neural feature ansatz (NFA). Through the NFA, the authors introduce mapping with the AGOP as a general mechanism for neural feature learning. However, these works do not provide a theoretical explanation for this correlation or its origins. In this work, we further clarify the nature of this correlation, and explain its emergence. We show that this correlation is equivalent to alignment between the left singular structure of the weight matrices and the newly defined pre-activation tangent features at each layer. We further establish that the alignment is driven by the interaction of weight changes induced by SGD with the pre-activation features, and analyze the resulting dynamics analytically at early times in terms of simple statistics of the inputs and labels. We prove the derivative alignment occurs almost surely in specific high dimensional settings. Finally, we introduce a simple optimization rule motivated by our analysis of the centered correlation which dramatically increases the NFA correlations at any given layer and improves the quality of features learned.

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

↑