arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.11848cs.LGcs.AIcs.CVstat.ML
收藏

神经网络如何外推:从前馈到图神经网络

How Neural Networks Extrapolate: From Feedforward to Graph Neural Networks

Massachusetts Institute of Technology (MIT)(麻省理工学院(MIT));University of Maryland(马里兰大学);University of Washington(华盛顿大学);National Institute of Informatics (NII)(信息学研究所(NII))

Keyulu Xu, Mozhi Zhang, Jingling Li, Simon S. Du, Ken-ichi Kawarabayashi, Stefanie Jegelka

摘要:

我们研究了通过梯度下降训练的神经网络如何外推,即,他们在培训分发的支持之外学到了什么。以前的工作报告混合的经验结果时,外推与神经网络:而前馈神经网络,又名。尽管多层感知器(MLP)在某些简单任务中不能很好地外推,但图神经网络(GNN)--具有MLP模块的结构化网络--在更复杂的任务中已经显示出一些成功。在理论上的解释工作,我们确定的条件下,MLP和GNN外推良好。首先,我们量化了ReLU MLP沿着原点的任何方向快速收敛到线性函数的观察结果,这意味着ReLU MLP不会外推大多数非线性函数。但是,当训练分布足够“多样化”时,它们可以证明学习线性目标函数。其次,在分析GNN的成功和局限性方面,这些结果提出了一个我们提供理论和经验证据的假设:GNN在将算法任务外推到新数据方面的成功(例如,更大的图或边权重)依赖于对架构或特征中的特定于任务的非线性进行编码。我们的理论分析建立在过参数化网络与神经切线核的连接上。从经验上讲,我们的理论适用于不同的训练环境。

英文摘要:

We study how neural networks trained by gradient descent extrapolate, i.e., what they learn outside the support of the training distribution. Previous works report mixed empirical results when extrapolating with neural networks: while feedforward neural networks, a.k.a. multilayer perceptrons (MLPs), do not extrapolate well in certain simple tasks, Graph Neural Networks (GNNs) -- structured networks with MLP modules -- have shown some success in more complex tasks. Working towards a theoretical explanation, we identify conditions under which MLPs and GNNs extrapolate well. First, we quantify the observation that ReLU MLPs quickly converge to linear functions along any direction from the origin, which implies that ReLU MLPs do not extrapolate most nonlinear functions. But, they can provably learn a linear target function when the training distribution is sufficiently "diverse". Second, in connection to analyzing the successes and limitations of GNNs, these results suggest a hypothesis for which we provide theoretical and empirical evidence: the success of GNNs in extrapolating algorithmic tasks to new data (e.g., larger graphs or edge weights) relies on encoding task-specific non-linearities in the architecture or features. Our theoretical analysis builds on a connection of over-parameterized networks to the neural tangent kernel. Empirically, our theory holds across different training settings.

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

↑