A Measure of Betweenness Centrality Based on Random Walks M.E.J

Total Page:16

File Type:pdf, Size:1020Kb

A Measure of Betweenness Centrality Based on Random Walks M.E.J Social Networks 27 (2005) 39–54 A measure of betweenness centrality based on random walks M.E.J. Newman Center for the Study of Complex Systems, University of Michigan, Ann Arbor, MI 48109-1120, USA Abstract Betweenness is a measure of the centrality of a node in a network, and is normally calculated as the fraction of shortest paths between node pairs that pass through the node of interest. Betweenness is, in some sense, a measure of the influence a node has over the spread of information through the network. By counting only shortest paths, however, the conventional definition implicitly assumes that information spreads only along those shortest paths. Here, we propose a betweenness measure that relaxes this assumption, including contributions from essentially all paths between nodes, not just the shortest, although it still gives more weight to short paths. The measure is based on random walks, counting how often a node is traversed by a random walk between two other nodes. We show how our measure can be calculated using matrix methods, and give some examples of its application to particular networks. © 2004 Elsevier B.V. All rights reserved. Keywords: Centrality; Betweenness; Random walks; Current flow 1. Introduction Over the years, network researchers have introduced a large number of centrality indices, measures of the varying importance of the vertices in a network according to one criterion or another (Wasserman and Faust, 1994; Scott, 2000). These indices have proved of great value in the analysis and understanding of the roles played by actors in social networks, as well 0378-8733/$ – see front matter © 2004 Elsevier B.V. All rights reserved. doi:10.1016/j.socnet.2004.11.009 40 M.E.J. Newman / Social Networks 27 (2005) 39–54 as by vertices in networks of other types, including citation networks, computer networks, and biological networks. Perhaps the simplest centrality measure is degree, which is the number of edges incident on a vertex in a network—the number of ties an actor has in social network parlance. Degree is a measure in some sense of the popularity of an actor. A more sophisticated centrality measure is closeness, which is the mean geodesic (i.e., shortest- path) distance between a vertex and all other vertices reachable from it.1 Closeness can be regarded as a measure of how long it will take information to spread from a given vertex to others in the network. Another important class of centrality measures is the class of betweenness measures. Betweenness, as one might guess, is a measure of the extent to which a vertex lies on the paths between others. The simplest and most widely used betweenness measure is that of Freeman (1977, 1979), usually called simply betweenness. (Where necessary, to distinguish this measure from other betweenness measures considered in this paper, we will refer to it as shortest-path betweenness.) The betweenness of a vertex i is defined to be the fraction of shortest paths between pairs of vertices in a network that pass through i. If, as is frequently the case, there is more than one shortest path between a given pair of vertices, then each such path is given equal weight such that the weights sum to unity. To be precise, suppose (st) that gi is the number of geodesic paths from vertex s to vertex t that pass through i, and suppose that nst is the total number of geodesic paths from s to t. Then, the betweenness of vertex i is (st) s<t gi /nst bi = , (1) (1/2)n(n − 1) where n is the total number of vertices in the network.2 We may, or may not, according to taste, consider the end-points of a path to fall on that path; the choice makes only the difference of an additive constant in the values for bi. In this paper, we will generally include the end-points. Betweenness centrality can be regarded as a measure of the extent to which an actor has control over information flowing between others. In a network in which flow is entirely or at least mostly along geodesic paths, the betweenness of a vertex measures how much flow will pass through that particular vertex. Betweenness can be calculated for all vertices in time O(mn) for a network with m edges and n vertices (Newman, 2001; Brandes, 2001). In most networks, however, information (or anything else) does not flow only along geodesic paths (Stephenson and Zelen, 1989; Freeman et al., 1991). News or a rumor or a message or a fad does not know the ideal route to take to get from one place to another; more likely it wanders around more randomly, encountering who it will. And even in a case such as the famous small-world experiment of Milgram (1967) and Travers and Milgram (1969), or its modern-day equivalent (Dodds et al., 2003), in which participants are explicitly instructed to get a message to a target by the most direct route possible, there is no evidence that people are especially successful in this task. Thus, we would imagine that in most cases 1 Some define closeness to be the reciprocal of this quantity, but either way the information communicated by the measure is the same. 2 Alternatively, bi may be normalized by dividing by its maximum possible value, which it achieves for a “star graph” in which one central vertex is connected to every other by a single edge (Freeman, 1979). M.E.J. Newman / Social Networks 27 (2005) 39–54 41 Fig. 1. (a) Vertices A and B will have high (shortest-path) betweenness in this configuration, while vertex C will not. (b) In calculations of flow betweenness, vertices A and B in this configuration will get high scores while vertex C will not. a realistic betweenness measure should include non-geodesic paths in addition to geodesic ones. Furthermore, by giving all the weight to the geodesic paths, and none to any other paths, no matter how closely competitive they are, the shortest-path betweenness measure can produce some odd effects. Consider the network sketched in Fig. 1a, for instance, in which two large groups are bridged by connections among just a few of their members. Vertices A and B will certainly get high betweenness scores in this case, since all shortest paths between the two communities must pass through them. Vertex C, on the other hand, will get a low score, since none of those shortest paths pass through it, taking instead the direct route from A to B. It is plausible, however, that in many real-world situations C would have quite a significant role to play in information flows. Certainly, it is possible for information to flow between two individuals via a third mutual acquaintance, even when the two individuals in question are themselves well acquainted. To address these problems, Freeman et al. (1991) suggested a more sophisticated be- tweenness measure, usually known as flow betweenness, that includes contributions from some non-geodesic paths. Flow betweenness is based on the idea of maximum flow. Imag- ine each edge in a network as a pipe that can carry a unit flow of some fluid. We can ask what the maximum possible flow then is between a given source vertex s and target vertex t through these pipes. In general, the answer is that more than a single unit of flow can be carried between source and target by making simultaneous use of several different paths through the network. The flow betweenness of a vertex i is defined as the amount of flow through vertex i when the maximum flow is transmitted from s to t, averaged over all s and t.3 Maximum flow from a given s to all reachable targets t can be calculated in worst-case time O(m2) using, for instance, the augmenting path algorithm (Ahuja et al., 1993), and hence the flow betweenness for all vertices can be calculated in time O(m2n).4 In practical terms, one can think of flow betweenness as measuring the betweenness of vertices in a network in which a maximal amount of information is continuously pumped between all sources and targets. Necessarily, that information still needs to “know” the ideal route (or one of the ideal routes) from each source to each target, in order to realize the 3 Technically, this definition is not unique, because there need not be a unique solution to the flow problem. To get around this difficulty, Freeman et al. define their betweenness measure as the maximum possible flow through i over all possible solutions to the st maximum flow problem, averaged over all s and t. 4 One can do somewhat better, particularly on networks like those discussed here in which all edges have the same capacity, by using more advanced algorithms (see Ahuja et al., 1993). 42 M.E.J. Newman / Social Networks 27 (2005) 39–54 maximum flow. Although the flow betweenness does take account of paths other than the shortest path (and indeed need not take account of the shortest path at all), this still seems an unrealistic definition for many practical situations: flow betweenness suffers from some of the same drawbacks as shortest-path betweenness, in that it is often the case that flow does not take any sort of ideal path from source to target, be it the shortest path, the maximum flow path, or another kind of ideal path. Moreover, like the shortest-path measure, flow betweenness can give counterintuitive results in some cases. Consider, for example, the network sketched in Fig. 1b, which again has two large groups joined by a few contacts.
Recommended publications
  • Approximating Network Centrality Measures Using Node Embedding and Machine Learning
    Approximating Network Centrality Measures Using Node Embedding and Machine Learning Matheus R. F. Mendon¸ca,Andr´eM. S. Barreto, and Artur Ziviani ∗† Abstract Extracting information from real-world large networks is a key challenge nowadays. For instance, computing a node centrality may become unfeasible depending on the intended centrality due to its computational cost. One solution is to develop fast methods capable of approximating network centralities. Here, we propose an approach for efficiently approximating node centralities for large networks using Neural Networks and Graph Embedding techniques. Our proposed model, entitled Network Centrality Approximation using Graph Embedding (NCA-GE), uses the adjacency matrix of a graph and a set of features for each node (here, we use only the degree) as input and computes the approximate desired centrality rank for every node. NCA-GE has a time complexity of O(jEj), E being the set of edges of a graph, making it suitable for large networks. NCA-GE also trains pretty fast, requiring only a set of a thousand small synthetic scale-free graphs (ranging from 100 to 1000 nodes each), and it works well for different node centralities, network sizes, and topologies. Finally, we compare our approach to the state-of-the-art method that approximates centrality ranks using the degree and eigenvector centralities as input, where we show that the NCA-GE outperforms the former in a variety of scenarios. 1 Introduction Networks are present in several real-world applications spread among different disciplines, such as biology, mathematics, sociology, and computer science, just to name a few. Therefore, network analysis is a crucial tool for extracting relevant information.
    [Show full text]
  • Contextual Experience Modifies Functional Connectome Indices of Topological Strength and Organization
    bioRxiv preprint doi: https://doi.org/10.1101/2020.06.13.150060; this version posted June 17, 2020. The copyright holder for this preprint (which was not certified by peer review) is the author/funder. All rights reserved. No reuse allowed without permission. Contextual experience modifies functional connectome indices of topological strength and organization Marjory Pompilus1,2, Luis M. Colon-Perez4, Matteo M. Grudny1, **Marcelo Febo1,2,3 1 Department of Psychiatry, 2Advanced Magnetic Resonance Imaging and Spectroscopy (AMRIS) Facility, 3Evelyn F. and William L. McKnight Brain Institute, College of Medicine, University of Florida, Gainesville, Florida; 4Center for the Neurobiology of Learning and Memory, Department of Neurobiology and Behavior, School of Medicine, University of California, Irvine, California Short title: Experience-dependent functional topology in rat brain **Corresponding author: Marcelo Febo, PhD P.O. Box 100256, Department of Psychiatry, College of Medicine, University of Florida, Gainesville, FL 32611 Email: [email protected]; Phone: +1 (352) 294 4911 Acknowledgments: Supported by National Institute on Drug Abuse grant R03 DA042971, R21 AG065819 and University of Florida College of Medicine Opportunity fund (DRPD-ROF2019) to MF. LMC-P was supported by a McKnight Brain Foundation postdoctoral fellowship and is supported by K25 DA047458 and a young investigator grant from the Brain and Behavior Research Foundation. The contents of this manuscript are solely the responsibility of the authors and do not necessarily represent the official views of the funding agencies. This work was performed in the McKnight Brain Institute at the National High Magnetic Field Laboratory’s AMRIS Facility, which is supported by National Science Foundation Cooperative Agreement No.
    [Show full text]
  • Improving the Betweenness Centrality of a Node by Adding Links
    X Improving the Betweenness Centrality of a Node by Adding Links ELISABETTA BERGAMINI, Karlsruhe Institute of Technology, Germany PIERLUIGI CRESCENZI, University of Florence, Italy GIANLORENZO D’ANGELO, Gran Sasso Science Institute (GSSI), Italy HENNING MEYERHENKE, Institute of Computer Science, University of Cologne, Germany LORENZO SEVERINI, ISI Foundation, Italy YLLKA VELAJ, University of Chieti-Pescara, Italy Betweenness is a well-known centrality measure that ranks the nodes according to their participation in the shortest paths of a network. In several scenarios, having a high betweenness can have a positive impact on the node itself. Hence, in this paper we consider the problem of determining how much a vertex can increase its centrality by creating a limited amount of new edges incident to it. In particular, we study the problem of maximizing the betweenness score of a given node – Maximum Betweenness Improvement (MBI) – and that of maximizing the ranking of a given node – Maximum Ranking Improvement (MRI). We show 1 that MBI cannot be approximated in polynomial-time within a factor ¹1 − 2e º and that MRI does not admit any polynomial-time constant factor approximation algorithm, both unless P = NP. We then propose a simple greedy approximation algorithm for MBI with an almost tight approximation ratio and we test its performance on several real-world networks. We experimentally show that our algorithm highly increases both the betweenness score and the ranking of a given node and that it outperforms several competitive baselines. To speed up the computation of our greedy algorithm, we also propose a new dynamic algorithm for updating the betweenness of one node after an edge insertion, which might be of independent interest.
    [Show full text]
  • Navigation of Brain Networks
    Navigation of brain networks Caio Seguina,1, Martijn P. van den Heuvelb,c, and Andrew Zaleskya,d aMelbourne Neuropsychiatry Centre, The University of Melbourne and Melbourne Health, Melbourne, VIC 3010, Australia; bDutch Connectome Lab, Department of Complex Trait Genetics, Center for Neurogenomics and Cognitive Research, Amsterdam Neuroscience, VU University Amsterdam, 1081 HV Amsterdam, The Netherlands; cDepartment of Clinical Genetics, Amsterdam Neuroscience, VU University Medical Center, 1081 HV Amsterdam, The Netherlands; and dDepartment of Biomedical Engineering, Melbourne School of Engineering, The University of Melbourne, Melbourne, VIC 3010, Australia Edited by Edward T. Bullmore, University of Cambridge, Cambridge, United Kingdom, and accepted by Editorial Board Member Michael S. Gazzaniga May 7, 2018 (received for review January 24, 2018) Understanding the mechanisms of neural communication in large- Navigation is a network communication strategy that routes scale brain networks remains a major goal in neuroscience. We information based on the distance between network nodes (23). investigated whether navigation is a parsimonious routing model Navigating a network is as simple as progressing to the next node for connectomics. Navigating a network involves progressing to that is closest in distance to a desired target. Navigation is not the next node that is closest in distance to a desired destina- guaranteed to successfully reach a target destination. Moreover, tion. We developed a measure to quantify navigation efficiency targets might be reached using long, inefficient paths. However, and found that connectomes in a range of mammalian species several real-world networks are known to be efficiently naviga- (human, mouse, and macaque) can be successfully navigated with ble, including biological, social, transportation, and technological near-optimal efficiency (>80% of optimal efficiency for typical systems (24–26).
    [Show full text]
  • Communicability Betweenness in Complex Networks
    Communicability Betweenness in Complex Networks Ernesto Estrada1,3*, Desmond J. Higham2 and Naomichi Hatano3 1 Institute of Complex Systems at Strathclyde, Department of Physics and Department of Mathematics, University of Strathclyde, Glasgow G1 1XH, UK 2Department of Mathematics, University of Strathclyde, Glasgow G1 1XH, UK 3Institute of Industrial Science, University of Tokyo, Komaba, Meguro, 153-8505, Japan PACS: 89.75.Fb; 89.75.Hc; 87.15.km; 02.10.Ox Keywords: centrality measures, protein-protein interactions, communicability, spectral graph theory, conserved proteins, linear response, Fréchet derivative * Corresponding author. E-mail: [email protected] 1 Abstract Betweenness measures provide quantitative tools to pick out fine details from the massive amount of interaction data that is available from large complex networks. They allow us to study the extent to which a node takes part when information is passed around the network. Nodes with high betweenness may be regarded as key players that have a highly active role. At one extreme, betweenness has been defined by considering information passing only through the shortest paths between pairs of nodes. At the other extreme, an alternative type of betweenness has been defined by considering all possible walks of any length. In this work, we propose a betweenness measure that lies between these two opposing viewpoints. We allow information to pass through all possible routes, but introduce a scaling so that longer walks carry less importance. This new definition shares a similar philosophy to that of communicability for pairs of nodes in a network, which was introduced by Estrada and Hatano (Phys. Rev. E 77 (2008) 036111).
    [Show full text]
  • Node Centrality Measures Are a Poor Substitute for Causal Inference
    Node Centrality Measures are a poor substitute for Causal Inference Fabian Dablander and Max Hinne Department of Psychological Methods, University of Amsterdam Abstract Network models have become a valuable tool in making sense of a diverse range of social, biological, and information systems. These models marry graph and probability theory to visualize, understand, and interpret variables and their relations as nodes and edges in a graph. Many applications of network models rely on undirected graphs in which the absence of an edge between two nodes encodes conditional independence between the corresponding variables. To gauge the importance of nodes in such a network, various node centrality measures have become widely used, especially in psychology and neuroscience. It is intuitive to interpret nodes with high centrality measures as being important in a causal sense. Here, using the causal framework based on directed acyclic graphs (DAGs), we show that the relation between causal influence and node centrality measures is not straightforward. In particular, the correlation between causal influence and several node centrality measures is weak, except for eigenvector centrality. Our results provide a cautionary tale: if the underlying real-world system can be modeled as a DAG, but researchers interpret nodes with high centrality as causally important, then this may result in sub-optimal interventions. 1 Introduction In the last two decades, network analysis has become increasingly popular across many disciplines dealing with a diverse range of social, biological, and information systems. From a network per- spective, variables and their interactions are considered nodes and edges in a graph. Throughout this paper, we illustrate the network paradigm with two areas where it has been applied exten- sively: psychology and neuroscience.
    [Show full text]
  • Virtual Identification of Essential Proteins Within the Protein Interaction Network of Yeast
    Virtual Identification of Essential Proteins Within the Protein Interaction Network of Yeast Ernesto Estrada Complex Systems Research Group, X-Ray Unit, RIAIDT, University of Santiago de Compostela, Edificio CACTUS, Campus Sur, Santiago de Compostela 15782, Spain. Tel. +34 981 563 100 Ext. 16262 Fax: +34 981 547 077 E-mail: estrada66ahoo.com Topological analysis of large scale protein-protein interaction networks (PINs) is important for understanding the organisational and functional principles of individual proteins. The number of interactions that a protein has in a PIN has been observed to be correlated with its indispensability. Essential proteins generally have more interactions than the non-essential ones. We show here that the lethality associated with removal of a protein from the yeast proteome correlates with different centrality measures of the nodes in the PIN, such as the closeness of a protein to many other proteins, or the number of pairs of proteins which need a specific protein as an intermediary in their communications, or the participation of a protein in different protein clusters in the PIN. These measures are significantly better than random selection in identifying essential proteins in a PIN. Centrality measures based on graph spectral properties of the network, in particular the subgraph centrality, show the best performance in identifying essential proteins in the yeast PIN. Subgraph centrality gives important structural information about the role of individual proteins and permits the selection of possible targets for rational drug discovery through the identification of essential proteins in the PIN. 1 1 Introduction A recent explosion of research papers related to the structure of complex networks has led to important results related to the topological properties of biological networks [1].
    [Show full text]
  • Social Networking Analysis
    Social Networking Analysis Kevin Curran and Niamh Curran Abstract A social network indicates relationships between people or organisations and how they are connected through social familiarities. The concept of social net- work provides a powerful model for social structure, and that a number of important formal methods of social network analysis can be perceived. Social network analysis can be used in studies of kinship structure, social mobility, science citations, con- tacts among members of nonstandard groups, corporate power, international trade exploitation, class structure and many other areas. A social network structure is made up of nodes and ties. There may be few or many nodes in the networks or one or more different types of relations between the nodes. Building a useful understanding of a social network is to sketch a pattern of social relationships, kinships, community structure, interlocking dictatorships and so forth for analysis. 1 Introduction Communication is and has always been vital to the growth and the development of human society. An individual’s attitudes opinions and behaviours can only be characterised in a group or community [5]. Social networking is not an exact science, it can be described as a means of discovering the method in which problems are solved, how individuals achieve goals and how businesses and operations are run. In network theory, social networks are discussed in terms of node and ties (see Fig. 1). Nodes are individual actors and ties are relationships within networks. The social capital of individual nodes/actors can be measured through social network diagrams, as can measures of determination of the usefulness of the network to the actors individually [4].
    [Show full text]
  • Measures of Centrality
    Measures of centrality Measures of centrality Background Centrality Complex Networks measures Degree centrality CSYS/MATH 303, Spring, 2011 Closeness centrality Betweenness Eigenvalue centrality Hubs and Authorities Prof. Peter Dodds References Department of Mathematics & Statistics Center for Complex Systems Vermont Advanced Computing Center University of Vermont Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. 1 of 28 Measures of Outline centrality Background Centrality measures Degree centrality Closeness centrality Background Betweenness Eigenvalue centrality Hubs and Authorities References Centrality measures Degree centrality Closeness centrality Betweenness Eigenvalue centrality Hubs and Authorities References 2 of 28 Measures of How big is my node? centrality Background Centrality measures I Basic question: how ‘important’ are specific nodes Degree centrality Closeness centrality and edges in a network? Betweenness Eigenvalue centrality I An important node or edge might: Hubs and Authorities 1. handle a relatively large amount of the network’s References traffic (e.g., cars, information); 2. bridge two or more distinct groups (e.g., liason, interpreter); 3. be a source of important ideas, knowledge, or judgments (e.g., supreme court decisions, an employee who ‘knows where everything is’). I So how do we quantify such a slippery concept as importance? I We generate ad hoc, reasonable measures, and examine their utility... 3 of 28 Measures of Centrality centrality Background Centrality measures Degree centrality I One possible reflection of importance is centrality. Closeness centrality Betweenness I Presumption is that nodes or edges that are (in some Eigenvalue centrality Hubs and Authorities sense) in the middle of a network are important for References the network’s function.
    [Show full text]
  • Application of Social Network Analysis in Interlibrary Loan Services
    5/2/2020 Application of social network analysis in interlibrary loan services Webology, Volume 10, Number 1, June, 2013 Home Table of Contents Titles & Subject Index Authors Index Application of social network analysis in interlibrary loan services Ammar Jalalimanesh Information Engineering Department, Iranian Research Institute for Information Science and Technology (IRANDOC), Tehran, Iran. E-mail: jalalimanesh (at) irandoc.ac.ir Seyyed Majid Yaghoubi Computer Engineering Department, University of Science and Technology, Tehran, Iran. E-mail: majidyaghoubi (at) comp.iust.ac.ir Received May 5, 2012; Accepted June 10, 2013 Abstract This paper aims to analyze interlibrary load (ILL) services' network using Social Network Analysis (SNA) techniques in order to discover knowledge about information flow between institutions. Ten years (2000 to 2010) of logs of Ghadir, an Iranian national interlibrary loan service, were processed. A data warehouse was created containing data of about 61,000 users, 158,000 visits and 160,000 borrowed books from 240 institutions. Social network analysis was conducted on data using NodeXL software and network metrics were calculated using tnet software. The network graph showed that Tehran, the capital, is hub of Ghadir project and Qazvin, Tabriz and Isfahan have the highest amount of relationship with it. The network also showed that neighbor cities and provinces have the most interactions with each other. The network metrics imply the richness of collections of institutions in different subjects. This is the first study to analyze logs of Iranian national ILL service and is one of the first studies that use SNA techniques to study ILL services. Keywords Interlibrary loan; Information services; Document delivery; Document supply; Interlending; Social network analysis; Iran Introduction The network that is also called graph is a mathematical representation of elements that interact with or relate to each other.
    [Show full text]
  • Social Networking in the Workplace: Exploring the Structural Characteristics and Conversational Nature of Enterprise Social Networks
    Master of Science Thesis Utrecht University Faculty of Science Department of Information and Computing Sciences Business Informatics Social Networking in the Workplace: Exploring the Structural Characteristics and Conversational Nature of Enterprise Social Networks 25.01.2016 Author: Steffen Bjerkenås [email protected] Supervisors: Prof. dr. ir. Remko W. Helms Prof. Kai Riemer [This page is intentionally left blank] Additional Information Author: Steffen Bjerkenås E-mail: [email protected] Student ID: 3896161 Project supervisor: Prof. dr. ir. Remko W. Helms [email protected] Department of Information and Computing Sciences Utrecht University Daily supervisor: Prof. Kai Riemer [email protected] Discipline of Business Information Systems The University of Sydney Second examiner: Dr. Marco Spruit [email protected] Department of Information and Computing Sciences Utrecht University i ii Acknowledgments In the course of any labor-intensive endeavor, it is not uncommon to find yourself relying on the knowledge, expertise, and support of others in order to succeed. This project has been no exception. From the start to the very end, there have been several involved parties from whom I have received much appreciated (and needed) back-up, and for this I am truly grateful. First off, I wish to express my gratitude towards my supervisors; Prof. dr. ir. Remko W. Helms and Prof. Kai Riemer. Through our collaboration on this project I have gotten the opportunity to get involved with the research community at the University of Sydney, which has been a much welcomed experience both personally and professionally. Their expertise and academic vigor have helped me overcome my own knowledge gaps many times during this project, and thanks to this I am left with a valuable learning experience.
    [Show full text]
  • Triangle Centrality [16] Is Based on the Sum of Triangle Counts for a Vertex and Its Neighbors, Normalized Over the Total Triangle Count in the Graph
    Triangle Centrality Paul Burkhardt ∗ September 13, 2021 Abstract Triangle centrality is introduced for finding important vertices in a graph based on the concentration of triangles surrounding each vertex. An important vertex in triangle centrality is at the center of many triangles, and therefore it may be in many triangles or none at all. Given a simple, undirected graph G =(V,E), with n = V vertices and m = E edges, where N(v) | | | | + is the neighborhood set of v, N△(v) is the set of neighbors that are in triangles with v, and N△(v) is the closed set that includes v, then the triangle centrality for v, where (v) and (G) denote the respective △ △ triangle counts of v and G, is given by 1 + (u)+ w N v N v (w) 3 u∈N (v) ∈{ ( )\ △( )} TC(v)= P △ △ P △ . (G) △ It follows that the vector of triangle centralities for all vertices is ˇ 1 3A 2T + IT C = − , 1⊤T 1 where A is adjacency matrix of G, I is the identity matrix, 1 is the vectors of all ones, and the elementwise product A2 A gives T , and Tˇ is the binarized analog of T . ◦ We give optimal algorithms that compute triangle centrality in O(m√m) time and O(m + n) space. On a Concurrent Read Exclusive Write (CREW) Parallel Random Access Memory (PRAM) machine, we give a near work-optimal parallel algorithm that takes O(log n) time using O(m√m) CREW PRAM processors. In MapReduce, we show it takes four rounds using O(m√m) communication bits, and is therefore optimal.
    [Show full text]