English

Fast Approximate CoSimRanks via Random Projections

Social and Information Networks 2024-02-21 v4 Data Structures and Algorithms

Abstract

Given a graph GG with nn nodes and two nodes u,vGu,v\in G, the {\em CoSimRank} value s(u,v)s(u,v) quantifies the similarity between uu and vv 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 GG 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 ϵ\epsilon, the state-of-the-art approximate algorithm for computing all pairwise CoSimRanks requires O(n3log2(ln(1ϵ)))O(n^3\log_2(\ln(\frac{1}{\epsilon}))) time, which is prohibitively expensive even though ϵ\epsilon 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×nn\times n matrix multiplications in CoSimRank computation via random projection. Theoretically, \rsim runs in O(n2ln(n)ϵ2ln(1ϵ))O(\frac{n^2\ln(n)}{\epsilon^2}\ln(\frac{1}{\epsilon})) time and meanwhile ensures an absolute error of at most ϵ\epsilon in each CoSimRank value in GG 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 ϵ\epsilon-approximate (ϵ=0.1\epsilon=0.1) all pairwise CoSimRank query within 4 hours, using a single commodity server, while existing solutions fail to terminate within a day.

Keywords

Cite

@article{arxiv.2010.11880,
  title  = {Fast Approximate CoSimRanks via Random Projections},
  author = {Renchi Yang and Xiaokui Xiao},
  journal= {arXiv preprint arXiv:2010.11880},
  year   = {2024}
}

Comments

full version of the paper titled "Fast Approximate All Pairwise CoSimRanks via Random Projection" published at WISE 2021

R2 v1 2026-06-23T19:33:51.500Z