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

STRIDE:面向图神经网络的基于注意力的结构与嵌入蒸馏

STRIDE: Structure and Embedding Distillation with Attention for Graph Neural Networks

Anshul Ahluwalia, Payman Behnam, Rohit Das, Alind Khare, Biswadeep Chakraborty, Pan Li, Alexey Tumanov

AI总结:

本文提出STRIDE方法,通过注意力机制选择重要中间层对进行图结构与节点嵌入蒸馏,在多个数据集上以更高压缩比实现优于现有方法的GNN压缩精度。

摘要:

图神经网络(GNNs)的最新进展促使模型规模不断增大,以提升其容量和精度。这类大模型会带来较高的内存占用、推理延迟和计算成本,从而限制了它们的推理部署。GNN压缩技术能够将大型GNN压缩为更小的模型,同时保持可忽略的精度损失。其中最有前景的压缩技术之一是知识蒸馏(KD)。然而,大多数面向GNN的KD方法只考虑最后一层的输出,而没有考虑GNN中间层的输出。中间层可能包含由图结构和嵌入所指示的重要归纳偏置。忽略这些层可能导致较大的精度下降,尤其是在压缩比较高时。为了解决这些不足,我们提出了一种新颖的面向GNN压缩的KD方法,称为基于注意力的结构与嵌入蒸馏(STRIDE)。STRIDE利用注意力机制识别重要的中间教师-学生层对,并专注于利用这些层对来对齐图结构和节点嵌入。我们在多个数据集上评估STRIDE,例如OGBN-Mag和OGBN-Arxiv,并使用不同的模型架构,包括GCNII、RGCN和GraphSAGE。平均而言,在大型图数据集OGBN-Mag上,与最先进的方法相比,STRIDE在32.3倍压缩比下实现了2.13%的精度提升。在较小的数据集(例如Pubmed)上,STRIDE在保持与最先进方法相同精度的情况下,实现了高达141倍的压缩比。这些结果凸显了关注中间层知识对于获得紧凑、准确且实用的GNN模型的有效性。

英文摘要:

Recent advancements in Graph Neural Networks (GNNs) have led to increased model sizes to enhance their capacity and accuracy. Such large models incur high memory usage, latency, and computational costs, thereby restricting their inference deployment. GNN compression techniques compress large GNNs into smaller ones with negligible accuracy loss. One of the most promising compression techniques is knowledge distillation (KD). However, most KD approaches for GNNs only consider the outputs of the last layers and do not consider the outputs of the intermediate layers of the GNNs. The intermediate layers may contain important inductive biases indicated by the graph structure and embeddings. Ignoring these layers may lead to a high accuracy drop, especially when the compression ratio is high. To address these shortcomings, we propose a novel KD approach for GNN compression that we call Structure and Embedding Distillation with Attention (STRIDE). STRIDE utilizes attention to identify important intermediate teacher-student layer pairs and focuses on using those pairs to align graph structure and node embeddings. We evaluate STRIDE on several datasets, such as OGBN-Mag and OGBN-Arxiv, using different model architectures, including GCNIIs, RGCNs, and GraphSAGE. On average, STRIDE achieves a 2.13% increase in accuracy with a 32.3X compression ratio on OGBN-Mag, a large graph dataset, compared to state-of-the-art approaches. On smaller datasets (e.g., Pubmed), STRIDE achieves up to a 141X compression ratio with the same accuracy as state-of-the-art approaches. These results highlight the effectiveness of focusing on intermediate-layer knowledge to obtain compact, accurate, and practical GNN models.

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

↑