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

Distill2Vec:基于知识蒸馏的动态图表示学习

Distill2Vec: Dynamic Graph Representation Learning with Knowledge Distillation

KTH Royal Institute of Technology(瑞典皇家理工学院);Hive Streaming AB(Hive Streaming AB公司);Maastricht University(马斯特里赫特大学)

Stefanos Antaris, Dimitrios Rafailidis

摘要:

动态图表示学习策略基于不同的神经架构来捕获图随时间的演化。然而,底层的神经架构需要大量的参数来进行训练,并且遭受高在线推理延迟,即当新数据在线到达时,必须更新若干模型参数。在这项研究中,我们提出了Distill 2 Vec,知识蒸馏策略,训练一个紧凑的模型与少量的可训练参数,以减少延迟的在线推理和保持模型的准确性高。我们设计了一个基于Kullback-Leibler散度的蒸馏损失函数,将获得的知识从离线数据训练的教师模型转移到在线数据的小规模学生模型。我们的实验公开可用的数据集显示,我们提出的模型的优越性,在链接预测任务的相对增益高达5%的几个国家的最先进的方法。此外,我们证明了我们的知识蒸馏策略的有效性,在所需的参数,其中Distill 2 Vec达到压缩比高达7:100时,与基线方法相比。出于复制目的,我们的实现可在https://stefanosantaris.github.io/Distill2Vec上公开获得。

英文摘要:

Dynamic graph representation learning strategies are based on different neural architectures to capture the graph evolution over time. However, the underlying neural architectures require a large amount of parameters to train and suffer from high online inference latency, that is several model parameters have to be updated when new data arrive online. In this study we propose Distill2Vec, a knowledge distillation strategy to train a compact model with a low number of trainable parameters, so as to reduce the latency of online inference and maintain the model accuracy high. We design a distillation loss function based on Kullback-Leibler divergence to transfer the acquired knowledge from a teacher model trained on offline data, to a small-size student model for online data. Our experiments with publicly available datasets show the superiority of our proposed model over several state-of-the-art approaches with relative gains up to 5% in the link prediction task. In addition, we demonstrate the effectiveness of our knowledge distillation strategy, in terms of number of required parameters, where Distill2Vec achieves a compression ratio up to 7:100 when compared with baseline approaches. For reproduction purposes, our implementation is publicly available at https://stefanosantaris.github.io/Distill2Vec.

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

↑