Link Graph Encyclopedia

Centrality

Betweenness centrality

A node is central if many shortest paths between other nodes pass through it. Betweenness finds bridges and brokers, not popular destinations.

Betweenness centrality scores a node by how often it lies on the shortest paths between other nodes. Linton Freeman defined it in 1977 to capture brokerage: the person through whom information between two groups must pass holds power even if few people know them directly. On a link graph, a high-betweenness node is a bridge that connects regions which would otherwise be far apart. It answers a different question from PageRank or harmonic centrality, which score destinations.

Definition

Let σst\sigma_{st} be the number of shortest paths from ss to tt, and σst(x)\sigma_{st}(x) the number of those that pass through xx. The betweenness of xx is

b(x)=∑s≠x≠tσst(x)σst,b(x) = \sum_{s \ne x \ne t} \frac{\sigma_{st}(x)}{\sigma_{st}} ,

summed over ordered pairs with tt reachable from ss. When several shortest paths tie, each gets an equal share of the credit. On a directed graph, dividing by (n−1)(n−2)(n-1)(n-2) scales the result to [0,1][0, 1].

Worked example

On the running example only three nodes lie inside any shortest path:

Node C A D B, E, F, G
Betweenness 6 3 1 0

C earns 6. It is the only route for A → G, B → A, B → G, D → G and E → G, which gives 5, and it lies on one of the two shortest paths for E → A (E → C → A and E → D → A) and for E → B (E → C → A → B and E → D → A → B), which gives two halves. A earns 3: C → B, D → B and E → B all pass through it. D earns 1 from the other halves of E → A and E → B. E, the hub with three out-links, scores 0: shortest paths start at E but never pass through it, because nothing links to E.

What betweenness captures

Axioms

In Boldi and Vigna’s tests betweenness satisfies only the pp half of the size axiom: in a graph made of a clique and a separate long cycle, cycle nodes carry many paths while clique nodes carry none, because every pair of clique nodes is directly linked. It fails density and score monotonicity: a new link to xx never lowers its score, but it need not raise it either, as when xx and the linking node are both isolated (see axioms for centrality). These are not defects so much as a reminder that betweenness measures brokerage, not prominence.

Computing it

The naive method counts shortest paths for every pair, O(n3)O(n^3) or worse. Brandes’ algorithm (2001) computes exact betweenness for all nodes in O(nm)O(nm) time on unweighted graphs: one breadth-first search per source, followed by a backward sweep that accumulates each node’s share. That is the algorithm behind every serious implementation, and behind the numbers above.

O(nm)O(nm) is still out of reach on a web graph. For Common Crawl’s domain graph it means about 3×10173 \times 10^{17} arc visits. Large-scale betweenness is therefore estimated by sampling:

Neither Common Crawl nor the commercial link indexes publish betweenness for domains.

Betweenness on the web

On a domain graph, nodes with high betweenness are the connectors between linguistic, national and topical regions: large portals, reference sites, platforms hosting content from many communities, and infrastructure domains that appear in pages everywhere. Betweenness explains network resilience better than it explains importance. A domain can be a crucial bridge and still attract little traffic or trust.

For a domain buyer, betweenness rarely matters directly. It becomes useful when mapping a suspected link spam network: computed on the network’s own subgraph, it shows which few domains hold the network together.

Variants

References

Edit this entry on GitHub