Scalable similarity estimation in social networks: closeness, node labels, and random edge lengths

Similarity estimation between nodes based on structural properties of graphs is a basic building block used in the analysis of massive networks for diverse purposes such as link prediction, product recommendations, advertisement, collaborative filtering, and community discovery. While local similarity measures, based on properties of immediate neighbors, are easy to compute, those relying on global properties have better recall. Unfortunately, this better quality comes with a computational price tag. Aiming for both accuracy and scalability, we make several contributions. First, we define closeness similarity, a natural measure that compares two nodes based on the similarity of their relations to all other nodes. Second, we show how the all-distances sketch (ADS) node labels, which are efficient to compute, can support the estimation of closeness similarity and shortest-path (SP) distances in logarithmic query time. Third, we propose the randomized edge lengths (REL) technique and define the corresponding REL distance, which captures both path length and path multiplicity and therefore improves over the SP distance as a similarity measure. The REL distance can also be the basis of closeness similarity and can be estimated using SP computation or the ADS labels. We demonstrate the effectiveness of our measures and the accuracy of our estimates through experiments on social networks with up to tens of millions of nodes.

[1]  Edith Cohen,et al.  Spatially-decaying aggregation over a network: model and algorithms , 2004, SIGMOD '04.

[2]  Amos Fiat,et al.  HLDB: location-based services in databases , 2012, SIGSPATIAL/GIS.

[3]  Leo Katz,et al.  A new status index derived from sociometric analysis , 1953 .

[4]  Karen Spärck Jones A statistical interpretation of term specificity and its application in retrieval , 2021, J. Documentation.

[5]  Edith Cohen,et al.  What You Can Do with Coordinated Samples , 2012, APPROX-RANDOM.

[6]  Edith Cohen,et al.  Reachability and distance queries via 2-hop labels , 2002, SODA '02.

[7]  Lada A. Adamic,et al.  How to search a social network , 2005, Soc. Networks.

[8]  Edith Cohen,et al.  Size-Estimation Framework with Applications to Transitive Closure and Reachability , 1997, J. Comput. Syst. Sci..

[9]  E. S. Keeping,et al.  Introduction to statistical inference , 1958 .

[10]  Marco Rosa,et al.  Robustness of Social Networks: Comparative Results Based on Distance Distributions , 2011, SocInfo.

[11]  Gert Sabidussi,et al.  The centrality index of a graph , 1966 .

[12]  David Liben-Nowell,et al.  The link-prediction problem for social networks , 2007 .

[13]  Yinglian Xie,et al.  How user behavior is related to social affinity , 2012, WSDM '12.

[14]  Béla Bollobás,et al.  Modern Graph Theory , 2002, Graduate Texts in Mathematics.

[15]  Edith Cohen,et al.  Summarizing data using bottom-k sketches , 2007, PODC '07.

[16]  Boaz Patt-Shamir,et al.  Sparse Reliable Graph Backbones , 2010, ICALP.

[17]  Marco Rosa,et al.  HyperANF: approximating the neighbourhood function of very large graphs on a budget , 2010, WWW.

[18]  Andrew V. Goldberg,et al.  Hierarchical Hub Labelings for Shortest Paths , 2012, ESA.

[19]  Mikkel Thorup,et al.  Approximate distance oracles , 2001, JACM.

[20]  Roberto Grossi,et al.  A Comparison of Three Algorithms for Approximating the Distance Distribution in Real-World Graphs , 2011, TAPAS.

[21]  Christos Faloutsos,et al.  ANF: a fast and scalable tool for data mining in massive graphs , 2002, KDD.

[22]  M. Zelen,et al.  Rethinking centrality: Methods and examples☆ , 1989 .

[23]  Jon M. Kleinberg,et al.  The small-world phenomenon: an algorithmic perspective , 2000, STOC '00.

[24]  Edith Cohen,et al.  A Case for Customizing Estimators: Coordinated Samples , 2012, ArXiv.

[25]  M. Newman Clustering and preferential attachment in growing networks. , 2001, Physical review. E, Statistical, nonlinear, and soft matter physics.

[26]  Takuya Akiba,et al.  Fast exact shortest-path distance queries on large networks by pruned landmark labeling , 2013, SIGMOD '13.

[27]  Christos Faloutsos,et al.  Fast Random Walk with Restart and Its Applications , 2006, Sixth International Conference on Data Mining (ICDM'06).

[28]  C. Dangalchev Residual closeness in networks , 2006 .

[29]  Sreenivas Gollapudi,et al.  A sketch-based distance oracle for web-scale graphs , 2010, WSDM '10.

[30]  Edith Cohen,et al.  All-Distances Sketches, Revisited: Scalable Estimation of the Distance Distribution and Centralities in Massive Graphs , 2013 .

[31]  Edith Cohen,et al.  Spatially-decaying aggregation over a network , 2007, J. Comput. Syst. Sci..

[32]  Sergey Brin,et al.  The Anatomy of a Large-Scale Hypertextual Web Search Engine , 1998, Comput. Networks.

[33]  Jennifer Widom,et al.  SimRank: a measure of structural-context similarity , 2002, KDD.