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

用于交通预测的时空图卷积网络的知识蒸馏

Knowledge Distillation on Spatial-Temporal Graph Convolutional Network for Traffic Prediction

Isfahan University of Technology(伊斯法罕理工大学)

Mohammad Izadi, Mehran Safayani, Abdolreza Mirzaei

AI总结:

本文提出利用知识蒸馏与剪枝算法压缩时空图神经网络,在仅保留3%参数的情况下,使交通预测学生网络保持接近教师网络的准确率。

摘要:

高效的实时交通预测对于减少交通时间至关重要。为了预测交通状况,我们采用时空图神经网络(ST-GNN)将实时交通数据建模为时序图。尽管ST-GNN具有强大能力,但在为真实世界交通数据提供高效实时预测时仍经常面临挑战。考虑到实时数据的动态特性使得及时预测具有重要意义,我们采用知识蒸馏(KD)作为解决方案,以提升用于交通预测的ST-GNN的执行时间。在本文中,我们引入了一种代价函数,旨在利用来自复杂网络(教师网络)的蒸馏数据训练一个参数更少的网络(学生网络),同时保持其准确率接近教师网络。我们使用知识蒸馏,结合来自教师网络的时空相关性,使学生网络能够学习教师网络所感知到的复杂模式。然而,一个挑战在于如何确定学生网络架构,而不是无意中考虑它。为应对这一挑战,我们提出了一种算法,利用代价函数计算剪枝分数,解决小型网络架构搜索问题,并使用KD对每个剪枝阶段得到的网络进行联合微调。最后,我们在两个真实世界数据集PeMSD7和PeMSD8上评估了我们提出的想法。结果表明,即使仅保留3%的网络参数,我们的方法也能使学生网络的准确率保持接近教师网络。

英文摘要:

Efficient real-time traffic prediction is crucial for reducing transportation time. To predict traffic conditions, we employ a spatio-temporal graph neural network (ST-GNN) to model our real-time traffic data as temporal graphs. Despite its capabilities, it often encounters challenges in delivering efficient real-time predictions for real-world traffic data. Recognizing the significance of timely prediction due to the dynamic nature of real-time data, we employ knowledge distillation (KD) as a solution to enhance the execution time of ST-GNNs for traffic prediction. In this paper, We introduce a cost function designed to train a network with fewer parameters (the student) using distilled data from a complex network (the teacher) while maintaining its accuracy close to that of the teacher. We use knowledge distillation, incorporating spatial-temporal correlations from the teacher network to enable the student to learn the complex patterns perceived by the teacher. However, a challenge arises in determining the student network architecture rather than considering it inadvertently. To address this challenge, we propose an algorithm that utilizes the cost function to calculate pruning scores, addressing small network architecture search issues, and jointly fine-tunes the network resulting from each pruning stage using KD. Ultimately, we evaluate our proposed ideas on two real-world datasets, PeMSD7 and PeMSD8. The results indicate that our method can maintain the student's accuracy close to that of the teacher, even with the retention of only 3% of network parameters.

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

↑