skip to main content
research-article

ParTBC: Faster Estimation of Top-k Betweenness Centrality Vertices on GPU

Published: 02 November 2021 Publication History

Abstract

Betweenness centrality (BC) is a popular centrality measure, based on shortest paths, used to quantify the importance of vertices in networks. It is used in a wide array of applications including social network analysis, community detection, clustering, biological network analysis, and several others. The state-of-the-art Brandes’ algorithm for computing BC has time complexities of and for unweighted and weighted graphs, respectively. Brandes’ algorithm has been successfully parallelized on multicore and manycore platforms. However, the computation of vertex BC continues to be time-consuming for large real-world graphs. Often, in practical applications, it suffices to identify the most important vertices in a network; that is, those having the highest BC values. Such applications demand only the top vertices in the network as per their BC values but do not demand their actual BC values. In such scenarios, not only is computing the BC of all the vertices unnecessary but also exact BC values need not be computed. In this work, we attempt to marry controlled approximations with parallelization to estimate the k-highest BC vertices faster, without having to compute the exact BC scores of the vertices. We present a host of techniques to determine the top-k vertices faster, with a small inaccuracy, by computing approximate BC scores of the vertices. Aiding our techniques is a novel vertex-renumbering scheme to make the graph layout more structured, which results in faster execution of parallel Brandes’ algorithm on GPU. Our experimental results, on a suite of real-world and synthetic graphs, show that our best performing technique computes the top-k vertices with an average speedup of 2.5× compared to the exact parallel Brandes’ algorithm on GPU, with an error of less than 6%. Our techniques also exhibit high precision and recall, both in excess of 94%.

References

[1]
David A. Bader, Shiva Kintali, Kamesh Madduri, and Milena Mihail. 2007. Approximating betweenness centrality. In Proceedings of the 5th International Conference on Algorithms and Models for the Web-graph (WAW’07). Springer-Verlag, Berlin, 124–137. http://dl.acm.org/citation.cfm?id=1777879.1777889
[2]
David A. Bader and Kamesh Madduri. 2006. Parallel algorithms for evaluating centrality indices in real-world networks. InProceedings of the International Conference on Parallel Processing (ICPP’06). IEEE Computer Society, Washington, DC, 539–550. https://doi.org/10.1109/ICPP.2006.57
[3]
Vignesh Balaji and Brandon Lucia. 2019. Combining data duplication and graph reordering to accelerate parallel graph processing. In Proceedings of the 28th International Symposium on High-Performance Parallel and Distributed Computing (HPDC’19). Association for Computing Machinery, New York, NY, 133–144. https://doi.org/10.1145/3307681.3326609
[4]
Ulrik Brandes. 2001. A faster algorithm for betweenness centrality. J. Math. Sociol. 25, 2 (2001), 163–177. https://doi.org/10.1080/0022250X.2001.9990249
[5]
Thayne Coffman, Seth Greenblatt, and Sherry Marcus. 2004. Graph-based technologies for intelligence analysis. Commun. ACM 47, 3 (Mar. 2004), 45–47. https://doi.org/10.1145/971617.971643
[6]
Robert Geisberger, Peter Sanders, and Dominik Schultes. 2008. Better approximation of betweenness centrality. In Proceedings of the Meeting on Algorithm Engineering and Experiments. Society for Industrial and Applied Mathematics, Philadelphia, PA, 90–100.
[7]
M. Girvan and M. E. J. Newman. 2002. Community structure in social and biological networks. Proc. Natl. Acad. Sci. U.S.A. 99, 12 (2002), 7821–7826. https://doi.org/10.1073/pnas.122653799
[8]
Mostafa Haghir Chehreghani. 2013. An efficient algorithm for approximate betweenness centrality computation. InProceedings of the Conference on Information and Knowledge Management (CIKM’13). ACM, New York, NY, 1489–1492. https://doi.org/10.1145/2505515.2507826
[9]
Harshvardhan, Adam Fidel, Nancy M. Amato, and Lawrence Rauchwerger. 2014. KLA: A new algorithmic paradigm for parallel graph computations. In Proceedings of the 23rd International Conference on Parallel Architectures and Compilation (PACT’14). Association for Computing Machinery, New York, NY, 27–38. https://doi.org/10.1145/2628071.2628091
[10]
Loc Hoang, Matteo Pontecorvi, Roshan Dathathri, Gurbinder Gill, Bozhi You, Keshav Pingali, and Vijaya Ramachandran. 2019. A Round-Efficient distributed betweenness centrality algorithm. In Proceedings of the 24th Symposium on Principles and Practice of Parallel Programming (PPoPP’19). Association for Computing Machinery, New York, NY, 272–286. https://doi.org/10.1145/3293883.3295729
[11]
S. Jin, Z. Huang, Y. Chen, D. Chavarria-Miranda, J. Feo, and P. C. Wong. 2010. A novel application of parallel betweenness centrality to power grid contingency analysis. In Proceedings of the IEEE International Symposium on Parallel Distributed Processing (IPDPS’10). 1–7. https://doi.org/10.1109/IPDPS.2010.5470400
[12]
Hyoungshick Kim, John Tang, Ross Anderson, and Cecilia Mascolo. 2012. Centrality prediction in dynamic human contact networks. Comput. Netw. 56, 3 (2012), 983–996. https://doi.org/10.1016/j.comnet.2011.10.022(1) Complex Dynamic Networks (2) P2P Network Measurement.
[13]
Jérôme Kunegis. 2017. KONECT: The Koblenz network collection. Retrieved from http://konect.uni-koblenz.de.
[14]
Min-Joong Lee and Chin-Wan Chung. 2014. Finding K-highest betweenness centrality vertices in graphs. In Proceedings of the 23rd International Conference on World Wide Web (WWW’14). ACM, New York, NY, 339–340. https://doi.org/10.1145/2567948.2577358
[15]
Jure Leskovec and Rok Sosič. 2014. SNAP: A general purpose network analysis and graph mining library in C++. Retrieved from http://snap.stanford.edu/snap.
[16]
F. Liljeros, C. Edling, L. Amaral, H. Stanley, and Y. Aberg. 2001. The web of human sexual contacts. Nature 411 (2001), 907–908. https://doi.org/10.1038/35082140
[17]
Wai-Hung Liu and Andrew H. Sherman. 1976. Comparative analysis of the Cuthill-McKee and the reverse Cuthill-McKee ordering algorithms for sparse matrices. SIAM J. Numer. Anal. 13, 2 (1976), 198–213. https://doi.org/10.1137/0713020
[18]
Kamesh Madduri and David A. Bader. 2006. GTgraph: A suite of synthetic random graph generators. Retrieved from http://www.cse.psu.edu/ madduri/software/GTgraph/.
[19]
Kamesh Madduri, David Ediger, Karl Jiang, David A. Bader, and Daniel Chavarria-Miranda. 2009. A faster parallel algorithm and efficient multithreaded implementations for evaluating betweenness centrality on massive datasets. In Proceedings of the IEEE International Symposium on Parallel and Distributed Processing (IPDPS’09). IEEE Computer Society, Washington, DC, 1–8. https://doi.org/10.1109/IPDPS.2009.5161100
[20]
Adam McLaughlin and David A. Bader. 2014. Scalable and high performance betweenness centrality on the GPU. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC’14). IEEE Press, Piscataway, NJ, 572–583. https://doi.org/10.1109/SC.2014.52
[21]
Sparsh Mittal. 2016. A survey of techniques for approximate computing. ACM Comput. Surv. 48, 4, Article 62 (Mar. 2016), 33 pages. https://doi.org/10.1145/2893356
[22]
Sara Mumtaz and Xiaoyang Wang. 2017. Identifying Top-K influential nodes in networks. In Proceedings of the ACM on Conference on Information and Knowledge Management (CIKM’17). ACM, New York, NY, 2219–2222. https://doi.org/10.1145/3132847.3133126
[23]
Amir Hossein Nodehi Sabet, Junqiao Qiu, and Zhijia Zhao. 2018. Tigr: Transforming irregular graphs for GPU-friendly graph processing. In Proceedings of the 23rd International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS’18). ACM, New York, NY, 622–636. https://doi.org/10.1145/3173162.3173180
[24]
Keshav Pingali, Donald Nguyen, Milind Kulkarni, Martin Burtscher, M. Amber Hassaan, Rashid Kaleem, Tsung-Hsien Lee, Andrew Lenharth, Roman Manevich, Mario Méndez-Lojo, Dimitrios Prountzos, and Xin Sui. 2011. The tao of parallelism in algorithms. In Proceedings of the ACM SIGPLAN International Conference on Programming Language Design and Implementation (PLDI’11). ACM, 12–25. https://doi.org/10.1145/1993498.1993501
[25]
Dimitrios Prountzos and Keshav Pingali. 2013. Betweenness Centrality: Algorithms and implementations. In Proceedings of the 18th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP’13). ACM, New York, NY, 35–46. https://doi.org/10.1145/2442516.2442521
[26]
Matteo Riondato and Eli Upfal. 2018. ABRA: Approximating betweenness centrality in static and dynamic graphs with rademacher averages. ACM Trans. Knowl. Discov. Data 12, 5, Article 61 (July 2018), 38 pages. https://doi.org/10.1145/3208351
[27]
Ahmet Erdem Sariyüce, Kamer Kaya, Erik Saule, and Ümit V. Çatalyürek. 2013. Betweenness centrality on gpus and heterogeneous architectures. In Proceedings of the 6th Workshop on General Purpose Processor Using Graphics Processing Units (GPGPU’13). ACM, New York, NY, 76–85. https://doi.org/10.1145/2458523.2458531
[28]
Somesh Singh and Rupesh Nasre. 2018. Scalable and performant graph processing on GPUs using approximate computing. IEEE Trans. Multi-scale Comput. Syst. 4, 3 (2018), 190–203. https://doi.org/10.1109/TMSCS.2018.2795543
[29]
Somesh Singh and Rupesh Nasre. 2019. Optimizing graph processing on GPUs using approximate computing: Poster. In Proceedings of the 24th Symposium on Principles and Practice of Parallel Programming (PPoPP’19). Association for Computing Machinery, New York, NY, 395–396. https://doi.org/10.1145/3293883.3295736
[30]
Somesh Singh and Rupesh Nasre. 2020. Graffix: Efficient Graph processing with a tinge of GPU-specific approximations. In Proceedings of the 49th International Conference on Parallel Processing (ICPP’20). Association for Computing Machinery, New York, NY, Article 23, 11 pages. https://doi.org/10.1145/3404397.3404406
[31]
Edgar Solomonik, Maciej Besta, Flavio Vella, and Torsten Hoefler. 2017. Scaling betweenness centrality using communication-efficient sparse matrix multiplication. InProceedings of the International Conference for High Performance Computing (SC’17). ACM, New York, NY, Article 47, 14 pages. https://doi.org/10.1145/3126908.3126971

Cited By

View all
  • (2025)Efficient Parallel Algorithm for Approximating Betweenness Centrality Values of Top k Nodes in Large GraphsConcurrency and Computation: Practice and Experience10.1002/cpe.7002237:4-5Online publication date: 22-Feb-2025

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Design Automation of Electronic Systems
ACM Transactions on Design Automation of Electronic Systems  Volume 27, Issue 2
March 2022
217 pages
ISSN:1084-4309
EISSN:1557-7309
DOI:10.1145/3494074
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Journal Family

Publication History

Published: 02 November 2021
Accepted: 01 August 2021
Revised: 01 July 2021
Received: 01 February 2021
Published in TODAES Volume 27, Issue 2

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Betweenness centrality
  2. top-k
  3. Brandes’ algorithm
  4. graph reordering
  5. approximate computing
  6. GPU

Qualifiers

  • Research-article
  • Refereed

Funding Sources

  • Indian Institute of Technology Madras, India

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)63
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Efficient Parallel Algorithm for Approximating Betweenness Centrality Values of Top k Nodes in Large GraphsConcurrency and Computation: Practice and Experience10.1002/cpe.7002237:4-5Online publication date: 22-Feb-2025

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Full Text

View this article in Full Text.

Full Text

HTML Format

View this article in HTML Format.

HTML Format

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media