- Introduced by
- Opsahl, T.; Agneessens, F.; Skvoretz, J. (extending Freeman 1977 and Brandes 2001)
- Year
- 2010
- Type
- Centrality measure (path-based)
- Family
- Network science
What does it do?
Weighted Betweenness Centrality extends Freeman's betweenness measure to edge-weighted graphs by computing shortest paths on distances derived from the edge weights through a tunable transformation.
A node scores highly when it lies on many shortest weighted paths between other pairs of nodes, which makes the measure a candidate indicator of brokerage and bridging roles in social, biological and information networks where tie strength matters.
The intuition behind the method
Imagine a city where roads have different traffic capacities. The most influential intersections are not just those with many roads, but those that lie on the fastest or highest-capacity routes between many pairs of locations. Weighted betweenness centrality captures exactly this: it finds nodes that lie on many of these preferred routes, accounting for how strong or weak the connections passing through them are. A node with high weighted betweenness lies on many strong or efficient routes between other pairs; under the assumption that flow follows shortest weighted paths, this suggests a brokerage role. Whether removing that node would actually disrupt those flows requires a separate analysis.
History
Betweenness centrality was introduced by Linton Freeman in 1977 as a measure of a node's role in connecting others via shortest paths. Ulrik Brandes (2001) developed an algorithm for betweenness that requires O(n + m) space and runs in O(nm) time on unweighted networks and O(nm + n^2 log n) time on weighted networks, which made the computation practical for sparse networks. Opsahl, Agneessens and Skvoretz (2010) extended the measure to edge-weighted networks through the alpha-parameterised weight-to-distance transformation described above.
When to use it
Choose weighted betweenness centrality when edge weights carry a substantive meaning, such as frequency of contact, flow volume, collaboration intensity or similarity, and you want to identify brokers, gatekeepers or single points of failure. It fits social and collaboration networks, transportation grids and biological pathways where the strength of connections shapes which routes are actually used. Avoid it when the weights are noisy or arbitrary, because the ranking then depends on the weight construction; plain betweenness is the safer choice in that case. For very large networks, exact computation may be impractical, and approximate or sampling-based computation should be planned in advance.
Limitations and considerations
- Exact computation is costly on large networks: Brandes' bounds for weighted graphs are O(nm + n^2 log n) time and O(n + m) space, so cost grows quickly with the number of nodes and, especially, with the number of edges in dense graphs.
- Results are sensitive to alpha, and different values can change the ranking of nodes substantially.
- The score assumes that flow or influence moves only along geodesic (shortest) paths, which may not match real diffusion or routing processes.
- The transformation d = w^(-alpha) is undefined for zero weights. Negative weights are also unsuitable: they make the transformed distances negative, which invalidates Dijkstra-based shortest paths at any alpha. Such edges must be excluded, or the weights transformed to non-negative values with a documented rationale, before the paths are computed.
- Pairs of nodes in different components have no connecting path and contribute nothing, so scores depend on component structure and need to be interpreted within that context.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The alpha parameter sets how strongly tie strength shapes shortest-path choice, moving continuously from unweighted hop counts (alpha = 0) to paths dominated by strong ties (alpha = 1).
- The score counts, for each node, the source-target pairs whose weighted shortest routes it lies on, so high-scoring nodes are those whose removal would affect many strong routes.
- Brandes' dependency accumulation avoids enumerating paths pair by pair, which is what makes the weighted computation feasible at moderate network sizes.
- The normalising constant in the formula makes scores comparable across networks of different sizes, subject to the convention check noted above.
Applications
- Identifying knowledge brokers and boundary spanners in organizational and collaboration networks.
- Locating critical relay nodes in communication or supply-chain networks for resilience analysis.
- Finding hub airports or transit stations that carry the most inter-city traffic in transportation networks.
- Detecting regulatory bottlenecks in protein-interaction or gene-regulatory networks.
- Pinpointing influential spreaders in weighted epidemic or information diffusion models.
- Community-level brokerage analysis in weighted co-authorship and citation networks.
How it works
How it works
Each edge weight w is converted to a distance d = w^(-alpha), where alpha lies in [0, 1]. At alpha = 0 every distance equals 1, so shortest paths are the unweighted hop-count paths and the measure reduces to standard betweenness. As alpha increases toward 1, edges with larger weights become shorter, so strong ties are preferred when paths are chosen. Use this transformation when weights express strength, such as contact frequency or flow volume. When weights are cost-like, such as distance or travel time, larger values already mean longer paths, so they are used directly as distances rather than transformed. Similarity-type weights behave like strength and are usually transformed in the same way. Because the transformation divides by w, zero weights have no defined distance and need to be handled before this step. Report the alpha value used.
Formula
d_{ij} = w_{ij}^{-\alpha}, \; \alpha \in [0,1]Dijkstra's algorithm is run from each source node on the transformed distances to find all shortest weighted paths to the other nodes. This identifies which routes are geodesically optimal under the chosen alpha. Brandes' algorithm organises this computation so that the path information needed in the next step is reused rather than recomputed for every pair.
For each source node, the algorithm records the number of shortest paths to every reachable node and which predecessors lie on those paths. Brandes' dependency accumulation then propagates these counts backward through the shortest-path structure, giving each candidate node v its share of the shortest paths between each source and target. This avoids enumerating every path explicitly.
For each node v, the raw score is the sum over source-target pairs of the fraction of their shortest paths that pass through v, as given in the formula. A node that lies on every shortest path between a pair contributes 1.0 for that pair, and a node that no shortest path uses contributes 0.
Formula
C_B(v) = \sum_{s \neq v \neq t} \frac{\sigma_{st}(v)}{\sigma_{st}}The raw score is divided by (n-1)(n-2)/2, the normalising constant for undirected networks, where the summation is taken over unordered pairs of distinct nodes. For directed networks, the summation runs over ordered pairs and the constant is (n-1)(n-2). Matching the constant to the pair convention keeps normalised values comparable across networks of different sizes.
Formula
C_B^{\text{norm}}(v) = \frac{C_B(v)}{(n-1)(n-2)/2}Common pitfalls
- Setting alpha without stating its value or justifying it theoretically; the value chosen should be reported with the results.
- Comparing raw, unnormalised scores across networks of different sizes.
- Ignoring edge direction in a directed network and computing the undirected version by mistake.
- Reading high weighted betweenness as high influence without checking whether the flows in the domain actually follow shortest weighted paths.
- Overlooking disconnected components, where nodes in small components score only on pairs within their own component, so their ranking against nodes in the largest component is not directly comparable.
Frequently asked questions
How do I choose the alpha parameter?
Alpha controls how much weight influences path choice. At alpha=0 you get classic unweighted betweenness; at alpha=1 stronger ties fully define shortest paths. A common practice is to test alpha=0, 0.5, and 1 and report sensitivity. If the node rankings are stable across values, any choice is defensible; if they differ substantially, justify your choice theoretically based on whether strong ties should be preferred.
What is the difference between weighted and unweighted betweenness centrality?
Unweighted betweenness counts hops; every edge has the same length. Weighted betweenness uses edge weights (converted to distances) so that paths preferentially follow stronger or shorter connections. In networks where tie strength is substantively meaningful, such as frequency of collaboration or volume of trade, the weighted version gives a more accurate picture of which nodes control actual flows.
Is weighted betweenness centrality suitable for very large networks?
Exact computation becomes costly as the network grows, because the Brandes bounds depend on both the number of nodes and the number of edges. For very large networks, use approximate, sampling-based computation, in which only a subset of source nodes is used. Report whether you used exact or approximate computation, the sampling method and the sample size.
Can I use weighted betweenness when my network has isolated nodes or multiple components?
Yes, but isolated nodes will always have a score of zero, and nodes in small components will have scores based only on paths within their component. Compute betweenness separately per component if you want within-component rankings, and report the component structure alongside the scores.
How should I report weighted betweenness centrality in a manuscript?
Report the software and version used (e.g., NetworkX, igraph), the value of alpha, whether scores were normalized, how you handled disconnected components, and a summary statistic (mean, range) alongside the top-ranked nodes. A degree-versus-betweenness scatter plot or network visualisation with node size proportional to score aids interpretation.
Related methods
Sources
Opsahl, T., Agneessens, F., & Skvoretz, J. (2010). Node centrality in weighted networks: Generalizing degree and shortest paths. Social Networks, 32(3), 245–251.
Open DOI referenceBrandes, U. (2001). A faster algorithm for betweenness centrality. Journal of Mathematical Sociology, 25(2), 163–177.
Open DOI reference