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

Flashlight:可扩展的链接预测与有效的解码器

Flashlight: Scalable Link Prediction with Effective Decoders

National University of Singapore(新加坡国立大学);Snap Inc.(Snap公司);University of Notre Dame(圣母大学)

Yiwei Wang, Bryan Hooi, Yozen Liu, Tong Zhao, Zhichun Guo, Neil Shah

摘要:

链接预测(LP)是图学习中的一个重要任务,具有广泛的实际应用。LP的典型应用是检索给定源节点的最高得分邻居,例如朋友推荐。这些服务需要高的推理可扩展性,以便在低延迟下从许多候选节点中找到得分最高的邻居。最近的LP模型主要使用两种流行的解码器来计算节点嵌入的边缘分数:HadamardMLP和点积解码器。经过理论和实验分析,我们发现HadamardMLP解码器通常是更有效的LP。然而,HadamardMLP缺乏用于检索大型图上的最高得分邻居的可扩展性,因为据我们所知,不存在用于以次线性复杂度检索HadamardMLP解码器的最高得分邻居的算法。为了使HadamardMLP的可扩展性,我们提出了手电筒算法,以加速最高得分的邻居检索HadamardMLP:一个次线性算法,逐步应用近似最大内积搜索(MIPS)技术与自适应调整查询嵌入。实验结果表明,Flashlight在OGBL-CITATION 2大型数据集上将LP的推理速度提高了100倍以上,而不会牺牲有效性。我们的工作铺平了道路,大规模LP应用程序的有效HadamardMLP解码器大大加快他们的推理。

英文摘要:

Link prediction (LP) has been recognized as an important task in graph learning with its broad practical applications. A typical application of LP is to retrieve the top scoring neighbors for a given source node, such as the friend recommendation. These services desire the high inference scalability to find the top scoring neighbors from many candidate nodes at low latencies. There are two popular decoders that the recent LP models mainly use to compute the edge scores from node embeddings: the HadamardMLP and Dot Product decoders. After theoretical and empirical analysis, we find that the HadamardMLP decoders are generally more effective for LP. However, HadamardMLP lacks the scalability for retrieving top scoring neighbors on large graphs, since to the best of our knowledge, there does not exist an algorithm to retrieve the top scoring neighbors for HadamardMLP decoders in sublinear complexity. To make HadamardMLP scalable, we propose the Flashlight algorithm to accelerate the top scoring neighbor retrievals for HadamardMLP: a sublinear algorithm that progressively applies approximate maximum inner product search (MIPS) techniques with adaptively adjusted query embeddings. Empirical results show that Flashlight improves the inference speed of LP by more than 100 times on the large OGBL-CITATION2 dataset without sacrificing effectiveness. Our work paves the way for large-scale LP applications with the effective HadamardMLP decoders by greatly accelerating their inference.

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

↑