Estimating Current-Flow Closeness Centrality with a Multigrid Laplacian Solver

Matrices associated with graphs, such as the Laplacian, lead to numerous interesting graph problems expressed as linear systems. One field where Laplacian linear systems play a role is network analysis, e. g. for certain centrality measures that indicate if a node (or an edge) is important in the network. One such centrality measure is current-flow closeness. To allow network analysis workflows to profit from a fast Laplacian solver, we provide an implementation of the LAMG multigrid solver in the NetworKit package, facilitating the computation of current-flow closeness values or related quantities. Our main contribution consists of two algorithms that accelerate the current-flow computation for one node or a reasonably small node subset significantly. One algorithm is an unbiased estimator using sampling, the other one is based on the Johnson-Lindenstrauss transform. Our inexact algorithms lead to very accurate results in practice. Thanks to them one is now able to compute an estimation of current-flow closeness of one node on networks with tens of millions of nodes and edges within seconds or a few minutes. From a network analytical point of view, our experiments indicate that current-flow closeness can discriminate among different nodes significantly better than traditional shortest-path closeness and is also considerably more resistant to noise - we thus show that two known drawbacks of shortest-path closeness are alleviated by the current- flow variant.

[1]  J. W. Ruge,et al.  4. Algebraic Multigrid , 1987 .

[2]  Ralf Diekmann,et al.  Efficient schemes for nearest neighbor load balancing , 1999, Parallel Comput..

[3]  David Eppstein,et al.  Fast approximation of centrality , 2000, SODA '01.

[4]  Shang-Hua Teng,et al.  Nearly-linear time algorithms for graph partitioning, graph sparsification, and solving linear systems , 2003, STOC '04.

[5]  Ulrik Brandes,et al.  Centrality Measures Based on Current Flow , 2005, STACS.

[6]  Gábor Csárdi,et al.  The igraph software package for complex network research , 2006 .

[7]  D. Bartuschat Algebraic Multigrid , 2007 .

[8]  Aric Hagberg,et al.  Exploring Network Structure, Dynamics, and Function using NetworkX , 2008, Proceedings of the Python in Science Conference.

[9]  Peter Sanders,et al.  Better Approximation of Betweenness Centrality , 2008, ALENEX.

[10]  Nikhil Srivastava,et al.  Graph sparsification by effective resistances , 2008, SIAM J. Comput..

[11]  Gary L. Miller,et al.  Combinatorial preconditioners and multilevel solvers for problems in computer vision and image processing , 2009, Comput. Vis. Image Underst..

[12]  Henning Meyerhenke,et al.  Graph partitioning and disturbed diffusion , 2009, Parallel Comput..

[13]  Robert H. Halstead,et al.  Matrix Computations , 2011, Encyclopedia of Parallel Computing.

[14]  Shang-Hua Teng,et al.  Electrical flows, laplacian systems, and faster approximation of maximum flow in undirected graphs , 2010, STOC '11.

[15]  Timothy A. Davis,et al.  The university of Florida sparse matrix collection , 2011, TOMS.

[16]  Achi Brandt,et al.  Lean Algebraic Multigrid (LAMG): Fast Graph Laplacian Linear Solver , 2011, SIAM J. Sci. Comput..

[17]  Yifan Hu,et al.  A Maxent-Stress Model for Graph Layout , 2012, IEEE Transactions on Visualization and Computer Graphics.

[18]  Zeyuan Allen Zhu,et al.  A simple, combinatorial algorithm for solving SDD systems in nearly-linear time , 2013, STOC '13.

[19]  Jure Leskovec,et al.  {SNAP Datasets}: {Stanford} Large Network Dataset Collection , 2014 .

[20]  Ulrike von Luxburg,et al.  Hitting and commute times in large random neighborhood graphs , 2014, J. Mach. Learn. Res..

[21]  Tiago P. Peixoto,et al.  The graph-tool python library , 2014 .

[22]  Michael Wegner,et al.  Is Nearly-linear the Same in Theory and Practice? A Case Study with a Combinatorial Laplacian Solver , 2015, SEA.

[23]  Ioannis Koutis,et al.  Spanning Edge Centrality: Large-scale Computation and Applications , 2015, WWW.

[24]  J. Gilbert,et al.  Evaluating the Dual Randomized Kaczmarz Laplacian Linear Solver , 2016 .