arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.05105cs.LG
收藏

图神经网络如何学习:来自训练动力学的启示

How Graph Neural Networks Learn: Lessons from Training Dynamics

Amazon Web Services(亚马逊网络服务);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究院)

Chenxiao Yang, Qitian Wu, David Wipf, Ruoyu Sun, Junchi Yan

AI总结:

该研究通过在函数空间分析图神经网络的训练动力学,提出核-图对齐现象解释其优化机制,揭示异配图局限性,并提出速度更快、效果相当的无参数稀疏矩阵更新算法。

摘要:

深度学习领域的一个长期目标是以更具可解释性的方式刻画黑盒模型的学习行为。对于图神经网络(GNNs),目前在形式化其可表示的函数方面已取得显著进展,但GNNs在优化过程中是否能学习到期望的函数仍不明确。为填补这一空白,我们在函数空间中研究其训练动力学。具体而言,我们发现GNNs的梯度下降优化会隐式利用图结构来更新学习到的函数,这一现象可通过我们提出的“核-图对齐(kernel-graph alignment)”进行量化。我们从理论上解释了该现象在过参数化场景下的产生机制,并在真实GNNs上通过实验验证了这一结论。该发现为理解GNN学习函数的泛化时机与原因提供了新的可解释性见解,同时揭示了其在异配图上的局限性。在实践层面,我们提出了一种无参数算法,直接使用稀疏矩阵(即图邻接矩阵)更新学习到的函数。实验表明,这种极其简单的方法效果可与GNNs相当,且速度快数个数量级。

英文摘要:

A long-standing goal in deep learning has been to characterize the learning behavior of black-box models in a more interpretable manner. For graph neural networks (GNNs), considerable advances have been made in formalizing what functions they can represent, but whether GNNs will learn desired functions during the optimization process remains less clear. To fill this gap, we study their training dynamics in function space. In particular, we find that the gradient descent optimization of GNNs implicitly leverages the graph structure to update the learned function, as can be quantified by a phenomenon which we call \emph{kernel-graph alignment}. We provide theoretical explanations for the emergence of this phenomenon in the overparameterized regime and empirically validate it on real-world GNNs. This finding offers new interpretable insights into when and why the learned GNN functions generalize, highlighting their limitations in heterophilic graphs. Practically, we propose a parameter-free algorithm that directly uses a sparse matrix (i.e. graph adjacency) to update the learned function. We demonstrate that this embarrassingly simple approach can be as effective as GNNs while being orders-of-magnitude faster.

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

↑