arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.11880cs.SIcs.DS
收藏

基于随机投影的快速近似CoSimRanks

Fast Approximate CoSimRanks via Random Projections

Renchi Yang, Xiaokui Xiao

AI总结:

针对图中所有成对CoSimRank计算成本过高的问题,提出基于随机投影的快速随机算法\rsim,在保证高概率绝对误差不超过$ε$的同时大幅降低时间复杂度,在真实图上比现有技术快数个数量级。

摘要:

给定一个具有 $n$ 个节点的图 $G$ 以及两个节点 $u,v\in G$,{\em CoSimRank} 值 $s(u,v)$ 基于图拓扑结构量化了 $u$ 和 $v$ 之间的相似度。与 SimRank 相比,在许多实际应用中(包括同义词扩展、词典提取和知识图谱中的实体相关性),CoSimRank 被证明更加准确和有效。在 $G$ 中计算所有成对的 CoSimRanks 计算量极大且具有挑战性。现有的解决方案都专注于设计用于计算所有成对 CoSimRanks 的近似算法。为了达到期望的绝对精度保证 $ε$,用于计算所有成对 CoSimRanks 的最先进近似算法需要 $O(n^3\log_2(\ln(\frac{1}ε)))$ 的时间,即使 $ε$ 很大,这也极其昂贵。在本文中,我们提出了 \rsim,一种用于计算所有成对 CoSimRank 值的快速随机算法。\rsim 的基本思想是通过随机投影来近似 CoSimRank 计算中的 $n\times n$ 矩阵乘法。理论上,\rsim 的运行时间为 $O(\frac{n^2\ln(n)}{ε^2}\ln(\frac{1}ε))$,同时以高概率保证 $G$ 中每个 CoSimRank 值的绝对误差最多为 $ε$。使用六个真实图进行的广泛实验表明,\rsim 比现有技术快几个数量级。特别是,在一个具有数百万条边的 Twitter 图上,\rsim 使用单台普通服务器在4小时内回答了 $ε$-近似($ε=0.1$)的所有成对 CoSimRank 查询,而现有解决方案在一天内无法终止。

英文摘要:

Given a graph $G$ with $n$ nodes and two nodes $u,v\in G$, the {\em CoSimRank} value $s(u,v)$ quantifies the similarity between $u$ and $v$ based on graph topology. Compared to SimRank, CoSimRank is shown to be more accurate and effective in many real-world applications, including synonym expansion, lexicon extraction, and entity relatedness in knowledge graphs. The computation of all pairwise CoSimRanks in $G$ is highly expensive and challenging. Existing solutions all focus on devising approximate algorithms for the computation of all pairwise CoSimRanks. To attain a desired absolute accuracy guarantee $ε$, the state-of-the-art approximate algorithm for computing all pairwise CoSimRanks requires $O(n^3\log_2(\ln(\frac{1}ε)))$ time, which is prohibitively expensive even though $ε$ is large. In this paper, we propose \rsim, a fast randomized algorithm for computing all pairwise CoSimRank values. The basic idea of \rsim is to approximate the $n\times n$ matrix multiplications in CoSimRank computation via random projection. Theoretically, \rsim runs in $O(\frac{n^2\ln(n)}{ε^2}\ln(\frac{1}ε))$ time and meanwhile ensures an absolute error of at most $ε$ in each CoSimRank value in $G$ with a high probability. Extensive experiments using six real graphs demonstrate that \rsim is more than orders of magnitude faster than the state of the art. In particular, on a million-edge Twitter graph, \rsim answers the $ε$-approximate ($ε=0.1$) all pairwise CoSimRank query within 4 hours, using a single commodity server, while existing solutions fail to terminate within a day.

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

↑