Efficiently Computing Maximum Flows in Scale-Free Networks

We study the maximum-flow/minimum-cut problem on scale-free networks, i.e., graphs whose degree distribution follows a power-law. We propose a simple algorithm that capitalizes on the fact that often only a small fraction of such a network is relevant for the flow. At its core, our algorithm augments Dinitz's algorithm with a balanced bidirectional search. Our experiments on a scale-free random network model indicate sublinear run time. On scale-free real-world networks, we outperform the commonly used highest-label Push-Relabel implementation by up to two orders of magnitude. Compared to Dinitz's original algorithm, our modifications reduce the search space, e.g., by a factor of 275 on an autonomous systems graph. Beyond these good run times, our algorithm has an additional advantage compared to Push-Relabel. The latter computes a preflow, which makes the extraction of a minimum cut potentially more difficult. This is relevant, for example, for the computation of Gomory-Hu trees. On a social network with 70000 nodes, our algorithm computes the Gomory-Hu tree in 3 seconds compared to 12 minutes when using Push-Relabel.

[1]  E. A. Dinic Algorithm for solution of a problem of maximal flow in a network with power estimation , 1970 .

[2]  Jure Leskovec,et al.  Community Structure in Large Networks: Natural Cluster Sizes and the Absence of Large Well-Defined Clusters , 2008, Internet Math..

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

[4]  Ryan A. Rossi,et al.  The Network Data Repository with Interactive Graph Analytics and Visualization , 2015, AAAI.

[5]  Sandeep Koranne,et al.  Boost C++ Libraries , 2011 .

[6]  Alexander V. Karzanov,et al.  On finding a maximum flow in a network with special structure and some applications 1 , 1973 .

[7]  Dorit S. Hochbaum,et al.  A Computational Study of the Pseudoflow and Push-Relabel Algorithms for the Maximum Flow Problem , 2009, Oper. Res..

[8]  Robert E. Tarjan,et al.  Graph Clustering and Minimum Cut Trees , 2004, Internet Math..

[9]  Dan Gusfield,et al.  Very Simple Methods for All Pairs Network Flow Analysis , 1990, SIAM J. Comput..

[10]  Vladimir Kolmogorov,et al.  An experimental comparison of min-cut/max- flow algorithms for energy minimization in vision , 2001, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[11]  D. R. Fulkerson,et al.  Maximal Flow Through a Network , 1956 .

[12]  Ralph Keusch,et al.  Geometric Inhomogeneous Random Graphs , 2015, Theor. Comput. Sci..

[13]  Roland H. C. Yap,et al.  A MapReduce-Based Maximum-Flow Algorithm for Large Small-World Network Graphs , 2011, 2011 31st International Conference on Distributed Computing Systems.

[14]  Dorit S. Hochbaum,et al.  The Pseudoflow Algorithm: A New Algorithm for the Maximum-Flow Problem , 2008, Oper. Res..

[15]  Ravindra K. Ahuja,et al.  Computational investigations of maximum flow algorithms , 1997 .

[16]  Dhruv Batra,et al.  MaxFlow Revisited: An Empirical Comparison of Maxflow Algorithms for Dense Vision Problems , 2012, BMVC.

[17]  Alan M. Frieze,et al.  Random graphs , 2006, SODA '06.

[18]  Robert E. Tarjan,et al.  Network Flow and Testing Graph Connectivity , 1975, SIAM J. Comput..

[19]  Zeyuan Allen Zhu,et al.  Flow-Based Algorithms for Local Graph Clustering , 2013, SODA.

[20]  Haim Kaplan,et al.  Maximum Flows by Incremental Breadth-First Search , 2011, ESA.

[21]  Andrew V. Goldberg,et al.  A new approach to the maximum flow problem , 1986, STOC '86.

[22]  Amin Vahdat,et al.  Hyperbolic Geometry of Complex Networks , 2010, Physical review. E, Statistical, nonlinear, and soft matter physics.

[23]  Andrew V. Goldberg,et al.  On Implementing the Push—Relabel Method for the Maximum Flow Problem , 1997, Algorithmica.

[24]  Ulrik Brandes,et al.  What is network science? , 2013, Network Science.

[25]  Ulrich Meyer,et al.  Efficiently generating geometric inhomogeneous and hyperbolic random graphs , 2019, Network Science.

[26]  Jérôme Kunegis,et al.  KONECT: the Koblenz network collection , 2013, WWW.

[27]  Andrew V. Goldberg,et al.  Efficient maximum flow algorithms , 2014, CACM.

[28]  Charu C. Aggarwal,et al.  Graph Clustering , 2010, Encyclopedia of Machine Learning and Data Mining.

[29]  Ulrich Derigs,et al.  Implementing Goldberg's max-flow-algorithm — A computational investigation , 1989, ZOR Methods Model. Oper. Res..

[30]  Thomas Bläsius,et al.  Efficient Shortest Paths in Scale-Free Networks with Underlying Hyperbolic Geometry , 2018, ICALP.

[31]  T. C. Hu,et al.  Multi-Terminal Network Flows , 1961 .

[32]  Kevin J. Lang Finding good nearly balanced cuts in power law graphs , 2004 .

[33]  Boris Schling The Boost C++ Libraries , 2011 .

[34]  Ravindra K. Ahuja,et al.  Network Flows: Theory, Algorithms, and Applications , 1993 .

[35]  Hawoong Jeong,et al.  Random field Ising model and community structure in complex networks , 2005, cond-mat/0502672.