In graph theory, betweenness centrality is a measure of centrality in a graph based on shortest paths. For every pair of vertices in a connected graph, there exists at least one shortest path between the vertices such that either the number of edges that the path passes through (for unweighted graphs) or the sum of the weights of the edges (for weighted graphs) is minimized. The betweenness centrality for each vertex is the number of these shortest paths that pass through the vertex.
Betweenness centrality was devised as a general measure of centrality:[1] it applies to a wide range of problems in network theory, including problems related to social networks, biology, transport and scientific cooperation. Although earlier authors have intuitively described centrality as based on betweenness, Freeman (1977) gave the first formal definition of betweenness centrality.
Betweenness centrality finds wide application in network theory; it represents the degree to which nodes stand between each other. For example, in a telecommunications network, a node with higher betweenness centrality would have more control over the network, because more information will pass through that node.
Definition
editThe betweenness centrality of a node is given by the expression:
where is the total number of shortest paths from node to node and is the number of those paths that pass through (not where is an end point).[2]
Note that the betweenness centrality of a node scales with the number of pairs of nodes as suggested by the summation indices. Therefore, the calculation may be rescaled by dividing through by the number of pairs of nodes not including , so that . The division is done by for directed graphs and for undirected graphs, where is the number of nodes in the giant component. Note that this scales for the highest possible value, where one node is crossed by every single shortest path. This is often not the case, and a normalization can be performed without a loss of precision
which results in:
Note that this will always be a scaling from a smaller range into a larger range, so no precision is lost.
Weighted networks
editIn a weighted network the links connecting the nodes are no longer treated as binary interactions, but are weighted in proportion to their capacity, influence, frequency, etc., which adds another dimension of heterogeneity within the network beyond the topological effects. A node's strength in a weighted network is given by the sum of the weights of its adjacent edges.
With and being adjacency and weight matrices between nodes and , respectively. Analogous to the power law distribution of degree found in scale free networks, the strength of a given node follows a power law distribution as well.
A study of the average value of the strength for vertices with betweenness shows that the functional behavior can be approximated by a scaling form:[3]
Percolation centrality
editPercolation centrality is a version of weighted betweenness centrality, but it considers the 'state' of the source and target nodes of each shortest path in calculating this weight. Percolation of a ‘contagion’ occurs in complex networks in a number of scenarios. For example, viral or bacterial infection can spread over social networks of people, known as contact networks. The spread of disease can also be considered at a higher level of abstraction, by contemplating a network of towns or population centres, connected by road, rail or air links. Computer viruses can spread over computer networks. Rumours or news about business offers and deals can also spread via social networks of people. In all of these scenarios, a ‘contagion’ spreads over the links of a complex network, altering the ‘states’ of the nodes as it spreads, either recoverably or otherwise. For example, in an epidemiological scenario, individuals go from ‘susceptible’ to ‘infected’ state as the infection spreads. The states the individual nodes can take in the above examples could be binary (such as received/not received a piece of news), discrete (susceptible/infected/recovered), or even continuous (such as the proportion of infected people in a town), as the contagion spreads. The common feature in all these scenarios is that the spread of contagion results in the change of node states in networks. Percolation centrality (PC) was proposed with this in mind, which specifically measures the importance of nodes in terms of aiding the percolation through the network. This measure was proposed by Piraveenan, Prokopenko & Hossain (2013).[4]
Percolation centrality is defined for a given node, at a given time, as the proportion of ‘percolated paths’ that go through that node. A ‘percolated path’ is a shortest path between a pair of nodes, where the source node is percolated (e.g., infected). The target node can be percolated or non-percolated, or in a partially percolated state.
where is total number of shortest paths from node to node and is the number of those paths that pass through . The percolation state of the node at time is denoted by and two special cases are when which indicates a non-percolated state at time whereas when which indicates a fully percolated state at time . The values in between indicate partially percolated states ( e.g., in a network of townships, this would be the percentage of people infected in that town).
The attached weights to the percolation paths depend on the percolation levels assigned to the source nodes, based on the premise that the higher the percolation level of a source node is, the more important are the paths that originate from that node. Nodes which lie on shortest paths originating from highly percolated nodes are therefore potentially more important to the percolation. The definition of PC may also be extended to include target node weights as well. Percolation centrality calculations run in time with an efficient implementation adspted from Brandes' algorithm. If the calculation needs to consider target node weights, the worst case time is .
Algorithms
editCalculating the betweenness and closeness centralities of all the vertices in a graph involves calculating the shortest paths between all pairs of vertices on a graph, which takes time with the Floyd–Warshall algorithm, modified to not only find one but count all shortest paths between two nodes. On a sparse graph, Johnson's algorithm or Brandes' algorithm may be more efficient, both taking time. On unweighted graphs, calculating betweenness centrality takes time using Brandes' algorithm.[5]
In calculating betweenness and closeness centralities of all vertices in a graph, it is assumed that graphs are undirected and connected with the allowance of loops and multiple edges. When specifically dealing with network graphs, often graphs are without loops or multiple edges to maintain simple relationships (where edges represent connections between two people or vertices). In this case, using Brandes' algorithm will divide final centrality scores by 2 to account for each shortest path being counted twice.[6]
Another algorithm generalizes the Freeman's betweenness computed on geodesics and Newman's betweenness computed on all paths, by introducing a hyper-parameter controlling the trade-off between exploration and exploitation. The time complexity is the number of edges times the number of nodes in the graph.[7]
An approximate, probabilistic estimation of betweenness centralities can be obtained much faster by sampling paths using a bidirectional breadth-first search.[8]
Applications
editSocial networks
editIn social network analysis, betweenness centrality can have different implications. From a macroscopic perspective, bridging positions or "structural holes" (indicated by high betweenness centrality) reflect power, because they allow the person on the bridging position to exercise control (e.g., decide whether to share information or not) over the persons it connects between.[9] From the microscopic perspective of ego networks (i.e., only considering first-degree connections), in online social networks a high betweenness centrality coincides with nominations of closest friends (i.e., strong interpersonal ties), because it reflects social capital investments into the relationship when distant social circles (e.g., family and university) are bridged (often resulting from an introduction by ego).[10]
River networks
editBetweenness centrality has been used to analyze the topological complexity of river networks as well as their use in maritime trade.[11][12]
Related concepts
editBetweenness centrality is related to a network's connectivity, in so much as high betweenness vertices have the potential to disconnect graphs if removed (see cut set).
See also
editReferences
edit- ^ Freeman (1977), p. 39.
- ^ "Calculating the Betweenness Centrality in Gephi". YouTube.
- ^ Barrat et al. (2004).
- ^ Piraveenan, Prokopenko & Hossain (2013).
- ^ Brandes (2001), p. 1.
- ^ Brandes (2001), p. 9.
- ^ Mantrach et al. (2010).
- ^ Borassi & Natale (2019).
- ^ Burt (2009).
- ^ Stolz & Schlereth (2021).
- ^ Sarker et al. (2019).
- ^ Eiland, Murray (2020). "Networks of Rome, Byzantium, and China". Antiqvvs. 4 (1). Interview with Johannes Preiser-Kapeller: 41–45.
Bibliography
edit- Barrat, A.; et al. (2004). "The architecture of complex weighted networks". Proceedings of the National Academy of Sciences of the United States of America. 101 (11): 3747–3752. arXiv:cond-mat/0311416. Bibcode:2004PNAS..101.3747B. doi:10.1073/pnas.0400087101. ISSN 0027-8424. PMC 374315. PMID 15007165.
- Borassi, Michele; Natale, Emanuele (2019). "KADABRA is an ADaptive Algorithm for Betweenness via Random Approximation". ACM Journal of Experimental Algorithmics. 24: 1.2:1–1.2:35. arXiv:1604.08553. doi:10.1145/3284359. ISSN 1084-6654. S2CID 67871875.
- Brandes, Ulrik (2001). "A faster algorithm for betweenness centrality" (PDF). Journal of Mathematical Sociology. 25 (2): 163–177. CiteSeerX 10.1.1.11.2024. doi:10.1080/0022250x.2001.9990249. hdl:10983/23603. S2CID 13971996. Archived (PDF) from the original on March 29, 2021. Retrieved March 29, 2021.
- Burt, Ronald (2009). Structural holes: The social structure of competition. Cambridge: Harvard University Press. ISBN 978-0-674-02909-5. OCLC 1041149426. Retrieved March 29, 2021.
- Freeman, Linton (1977). "A set of measures of centrality based on betweenness". Sociometry. 40 (1): 35–41. doi:10.2307/3033543. JSTOR 3033543.
- Goh, K.-I.; Kahng, B.; Kim, D. (2001). "Universal Behavior of Load Distribution in Scale-Free Networks". Physical Review Letters. 87 (27): 278701. arXiv:cond-mat/0106565. Bibcode:2001PhRvL..87A8701G. doi:10.1103/PhysRevLett.87.278701. ISSN 0031-9007. PMID 11800921. S2CID 15746304.
- Mantrach, Amin; et al. (2010). "The Sum-over-Paths Covariance Kernel: A Novel Covariance Measure between Nodes of a Directed Graph". IEEE Transactions on Pattern Analysis and Machine Intelligence. 32 (6): 1112–1126. doi:10.1109/tpami.2009.78. PMID 20431135. S2CID 4807216.
- Moxley, Robert L.; Moxley, Nancy F. (1974). "Determining Point-Centrality in Uncontrived Social Networks". Sociometry. 37 (1): 122–130. doi:10.2307/2786472. JSTOR 2786472.
- Newman, Mark E. J. (2010). Networks: An Introduction. Oxford: Oxford University Press. ISBN 978-0-19-920665-0. OCLC 964511577.
- Piraveenan, Mahendra; Prokopenko, Mikhail; Hossain, Liaquat (2013). Holme, Petter (ed.). "Percolation Centrality: Quantifying Graph-Theoretic Impact of Nodes during Percolation in Networks". PLOS ONE. 8 (1): e53095. Bibcode:2013PLoSO...853095P. doi:10.1371/journal.pone.0053095. ISSN 1932-6203. PMC 3551907. PMID 23349699.
- Sarker, Shiblu; et al. (2019). "Critical Nodes in River Networks". Scientific Reports. 9 (1): 11178. Bibcode:2019NatSR...911178S. doi:10.1038/s41598-019-47292-4. ISSN 2045-2322. PMC 6672004. PMID 31371735.
- Stolz, Simon; Schlereth, Christian (2021). "Predicting tie strength with ego network structures". Journal of Interactive Marketing. 54 (May): 40–52. doi:10.1016/j.intmar.2020.10.001. S2CID 229403802.