arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09609cs.LGcs.AI
收藏

SA-MLP:从GNN中提取图形知识到结构感知MLP

SA-MLP: Distilling Graph Knowledge from GNNs into Structure-Aware MLP

Fudan University(复旦大学);The University of Sydney(悉尼大学)

Jie Chen, Shouzhen Chen, Mingyuan Bai, Junbin Gao, Junping Zhang, Jian Pu

摘要:

消息传递机制帮助图神经网络(GNN)在各种节点分类任务上取得了显着的效果。然而,在将GNN部署到大规模图时,消息传递中的递归节点获取和聚合会导致推理延迟。一个有前途的推理加速方向是将GNN提取为无消息传递的学生多层感知器(MLP)。然而,由于缺乏结构输入,MLP学生不能完全学习结构知识,这导致在异质性和归纳情景中的表现较差。为了解决这个问题,我们打算以低延迟和可解释的方式将结构信息注入MLP类学生。具体来说,我们首先设计了一个结构感知MLP(SA-MLP)的学生,编码功能和结构,而无需消息传递。然后,我们引入了一种新的结构混合知识蒸馏策略,以提高学习能力的结构信息的MLP。此外,我们设计了一个潜在的结构嵌入近似技术与两阶段蒸馏归纳的情况下。在转换和归纳设置下对八个基准数据集进行的广泛实验表明,我们的SA-MLP可以始终优于教师GNN,同时保持MLP的更快推理。我们工作的源代码可以在https://github.com/JC-202/SA-MLP中找到。

英文摘要:

The message-passing mechanism helps Graph Neural Networks (GNNs) achieve remarkable results on various node classification tasks. Nevertheless, the recursive nodes fetching and aggregation in message-passing cause inference latency when deploying GNNs to large-scale graphs. One promising inference acceleration direction is to distill the GNNs into message-passing-free student multi-layer perceptrons (MLPs). However, the MLP student cannot fully learn the structure knowledge due to the lack of structure inputs, which causes inferior performance in the heterophily and inductive scenarios. To address this, we intend to inject structure information into MLP-like students in low-latency and interpretable ways. Specifically, we first design a Structure-Aware MLP (SA-MLP) student that encodes both features and structures without message-passing. Then, we introduce a novel structure-mixing knowledge distillation strategy to enhance the learning ability of MLPs for structure information. Furthermore, we design a latent structure embedding approximation technique with two-stage distillation for inductive scenarios. Extensive experiments on eight benchmark datasets under both transductive and inductive settings show that our SA-MLP can consistently outperform the teacher GNNs, while maintaining faster inference as MLPs. The source code of our work can be found in https://github.com/JC-202/SA-MLP.

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

↑