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

图神经网络中特征演化的神经坍缩视角

A Neural Collapse Perspective on Feature Evolution in Graph Neural Networks

New York University(纽约大学);Bar-Ilan University(巴伊兰大学)

Vignesh Kothapalli, Tom Tirer, Joan Bruna

AI总结:

本文从神经坍缩视角研究图神经网络节点分类中的特征演化,揭示图拓扑结构条件对精确坍缩的限制,并解释了GNN中观察到的部分坍缩现象。

摘要:

图神经网络(GNNs)在图结构数据的分类任务中日益流行。然而,图拓扑与GNNs中特征演化之间的相互作用尚未被充分理解。本文聚焦于节点级分类,以随机块模型图上的社区检测为例,并通过“神经坍缩”(Neural Collapse, NC)现象的视角来探索特征演化。当在超过零训练误差点之后训练实例级深度分类器(例如用于图像分类)时,NC表现出最深特征类内变异性的降低,以及其类均值与某些对称结构对齐程度的增强。我们首先进行了一项实证研究,表明类内变异性的降低在节点级分类设置中同样普遍存在,但未达到实例级情形中所观察到的程度。然后,我们从理论上研究了这一区别。具体而言,我们证明,即使是一个“乐观”的数学模型也要求图满足严格的结构条件,才能拥有具有精确坍缩的最小化器。有趣的是,该条件对于异配图也是可行的,并且与近期关于改进GNNs泛化能力的设置的经验研究相关。此外,通过研究该理论模型的梯度动力学,我们为经验上观察到的部分坍缩提供了推理依据。最后,我们提出了一项关于训练良好的GNN各层中类内和类间特征变异性演化的研究,并将该行为与谱方法进行了对比。

英文摘要:

Graph neural networks (GNNs) have become increasingly popular for classification tasks on graph-structured data. Yet, the interplay between graph topology and feature evolution in GNNs is not well understood. In this paper, we focus on node-wise classification, illustrated with community detection on stochastic block model graphs, and explore the feature evolution through the lens of the "Neural Collapse" (NC) phenomenon. When training instance-wise deep classifiers (e.g. for image classification) beyond the zero training error point, NC demonstrates a reduction in the deepest features' within-class variability and an increased alignment of their class means to certain symmetric structures. We start with an empirical study that shows that a decrease in within-class variability is also prevalent in the node-wise classification setting, however, not to the extent observed in the instance-wise case. Then, we theoretically study this distinction. Specifically, we show that even an "optimistic" mathematical model requires that the graphs obey a strict structural condition in order to possess a minimizer with exact collapse. Interestingly, this condition is viable also for heterophilic graphs and relates to recent empirical studies on settings with improved GNNs' generalization. Furthermore, by studying the gradient dynamics of the theoretical model, we provide reasoning for the partial collapse observed empirically. Finally, we present a study on the evolution of within- and between-class feature variability across layers of a well-trained GNN and contrast the behavior with spectral methods.

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

↑