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

高效的大规模图神经网络推理

Efficient Graph Neural Network Inference at Large Scale

The University of Queensland(昆士兰大学);Mila - Québec AI Institute(米拉-魁北克人工智能研究所);HEC Montréal(蒙特利尔高等商学院);Beijing University of Posts and Telecommunications(北京邮电大学);Griffith University(格里菲斯大学);Peking University(北京大学)

Xinyi Gao, Wentao Zhang, Yingxia Shao, Quoc Viet Hung Nguyen, Bin Cui, Hongzhi Yin

摘要:

图神经网络(GNN)在广泛的应用中表现出优异的性能。然而,大规模图的巨大规模阻碍了它们在实时推理场景下的应用。虽然现有的可扩展GNN利用线性传播来预处理特征并加速训练和推理过程,但这些方法在对看不见的节点进行推理时仍然存在可扩展性问题,因为特征预处理需要图形是已知的和固定的。为了加快推理的归纳设置,我们提出了一种新的自适应传播顺序的方法,生成个性化的传播顺序为每个节点的拓扑信息的基础上。这可以成功地避免特征传播的冗余计算。此外,可以通过简单的超参数灵活地控制准确性和推理延迟之间的权衡,以匹配应用场景的不同延迟约束。为了弥补潜在的推理精度损失,我们进一步提出了Inception Distillation来利用多尺度接收信息并提高推理性能。在四个不同规模和特征的公共数据集上进行了大量的实验,实验结果表明,我们提出的推理加速框架在准确性和效率方面都优于SOTA图推理加速基线。特别是,我们所提出的方法的优势是更大规模的数据集上更显着,我们的框架实现了$75\times$推理加速最大的Ogbn产品数据集。

英文摘要:

Graph neural networks (GNNs) have demonstrated excellent performance in a wide range of applications. However, the enormous size of large-scale graphs hinders their applications under real-time inference scenarios. Although existing scalable GNNs leverage linear propagation to preprocess the features and accelerate the training and inference procedure, these methods still suffer from scalability issues when making inferences on unseen nodes, as the feature preprocessing requires the graph is known and fixed. To speed up the inference in the inductive setting, we propose a novel adaptive propagation order approach that generates the personalized propagation order for each node based on its topological information. This could successfully avoid the redundant computation of feature propagation. Moreover, the trade-off between accuracy and inference latency can be flexibly controlled by simple hyper-parameters to match different latency constraints of application scenarios. To compensate for the potential inference accuracy loss, we further propose Inception Distillation to exploit the multi scale reception information and improve the inference performance. Extensive experiments are conducted on four public datasets with different scales and characteristics, and the experimental results show that our proposed inference acceleration framework outperforms the SOTA graph inference acceleration baselines in terms of both accuracy and efficiency. In particular, the advantage of our proposed method is more significant on larger-scale datasets, and our framework achieves $75\times$ inference speedup on the largest Ogbn-products dataset.

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

↑