arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.08727cs.LGcs.AI
收藏

无图神经网络:通过蒸馏教老MLP新技巧

Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillation

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Snap Inc.(色拉布公司)

Shichang Zhang, Yozen Liu, Yizhou Sun, Neil Shah

摘要:

图神经网络(GNN)是图机器学习的热门工具,在广泛的节点分类任务中表现出了很好的效果。然而,由于数据依赖性带来的可扩展性挑战,它们在行业实际部署中不太受欢迎。也就是说,GNN推理依赖于距离目标多跳的邻居节点,并且获取它们会给延迟受限的应用程序带来负担。现有的推理加速方法(如修剪和量化)可以通过减少乘法和累积(MAC)操作来加速GNN,但由于数据依赖性没有得到解决,因此改进是有限的。相反,多层感知器(MLP)没有图形依赖性,并且比GNN更快地进行推断,即使它们通常在节点分类方面不如GNN准确。在这些互补的优势和劣势的激励下,我们通过知识蒸馏(KD)将GNN和MLP结合在一起。我们的工作表明,使用GNN KD可以大幅提高MLP的性能。我们称提取的MLP为无图神经网络(GLNN),因为它们没有推理图依赖。我们发现,具有竞争力准确性的GLNN比GNN的推断速度快146倍-273倍,比其他加速方法快14倍-27倍。在涉及7个数据集的转换和归纳预测的生产环境下,GLNN的准确性平均比独立的MLP提高了12.36%,并在6/7个数据集上与GNN相匹配。综合分析显示了GLNN何时以及为什么可以达到与GNN竞争的精度,并建议GLNN作为延迟受限应用的方便选择。

英文摘要:

Graph Neural Networks (GNNs) are popular for graph machine learning and have shown great results on wide node classification tasks. Yet, they are less popular for practical deployments in the industry owing to their scalability challenges incurred by data dependency. Namely, GNN inference depends on neighbor nodes multiple hops away from the target, and fetching them burdens latency-constrained applications. Existing inference acceleration methods like pruning and quantization can speed up GNNs by reducing Multiplication-and-ACcumulation (MAC) operations, but the improvements are limited given the data dependency is not resolved. Conversely, multi-layer perceptrons (MLPs) have no graph dependency and infer much faster than GNNs, even though they are less accurate than GNNs for node classification in general. Motivated by these complementary strengths and weaknesses, we bring GNNs and MLPs together via knowledge distillation (KD). Our work shows that the performance of MLPs can be improved by large margins with GNN KD. We call the distilled MLPs Graph-less Neural Networks (GLNNs) as they have no inference graph dependency. We show that GLNNs with competitive accuracy infer faster than GNNs by 146X-273X and faster than other acceleration methods by 14X-27X. Under a production setting involving both transductive and inductive predictions across 7 datasets, GLNN accuracies improve over stand-alone MLPs by 12.36% on average and match GNNs on 6/7 datasets. Comprehensive analysis shows when and why GLNNs can achieve competitive accuracies to GNNs and suggests GLNN as a handy choice for latency-constrained applications.

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

↑