Centrality
Katz centrality
Count every walk that ends at a node, weighting a walk of length k by β to the power k. Short walks count most, everyone gets a baseline, and one parameter slides the measure from in-degree to eigenvector centrality.
Leo Katz proposed in 1953 to measure a person’s status by counting not only who chooses them directly but also who chooses those people, and so on, with each extra step counting less. On a link graph, Katz centrality counts every walk that ends at a node, weighting walks of length by for some attenuation factor . It sits between degree centrality, which counts walks of length 1, and eigenvector centrality, which it approaches as grows. It also fixes eigenvector centrality’s habit of giving most of the web a score of zero.
Definition
Since counts the walks of length from to (see adjacency), the number of length- walks ending at each node is the vector . Katz centrality sums them with geometric weights:
The series converges if and only if , where is the largest eigenvalue of . Rearranging gives a recursive form that shows the connection to eigenvector centrality:
Each in-link contributes its source’s score plus one. The “+1” is the whole difference from eigenvector centrality: every node passes on at least a baseline, so nodes outside the dominant strongly connected component no longer vanish.
The two limits
- As , walks of length 1 dominate, and the ranking converges to in-degree.
- As , long walks dominate, the series grows without bound, and the ranking converges to eigenvector centrality.
Between the limits, is a dial between local popularity and global, recursive prestige. Bonacich’s alpha centrality and PageRank both belong to the same family, differing in what they add to each node and whether they divide by out-degree.
Worked example
The running example’s largest eigenvalue is 1.3247, so must stay below . With :
| Node | C | A | G | B | D | F | E |
|---|---|---|---|---|---|---|---|
| Katz () | 1.868 | 1.250 | 0.860 | 0.675 | 0.300 | 0.300 | 0 |
| Eigenvector | 0.325 | 0.245 | 0.245 | 0.185 | 0 | 0 | 0 |
D and F each receive one walk of length 1, from E, and nothing longer, since nothing reaches E: their score is exactly . Unlike eigenvector centrality, Katz separates A from G: both receive C’s walks, but A also receives walks from D and, through D, from E, which eigenvector centrality ignores because D and E score zero. Drag β towards 0.75 in the lab and watch the scores explode as the series approaches divergence:
Axioms
Katz satisfies density and score monotonicity, and the half of the size axiom (see axioms for centrality). Adding a link adds new walks into and removes none, so ’s score always rises. In that respect Katz behaves better than eigenvector centrality and as well as PageRank.
Computing it
The recursive form gives an iteration: start from and repeat . Each step costs one pass over the arcs and the error shrinks by a factor of about per step. Alternatively, solve the sparse linear system with Jacobi or Gauss–Seidel iterations, as for PageRank (see PageRank as a linear system).
The trouble with β on the web
The admissible range of depends on , and on a web graph that number is set by its densest corner. The spectral radius of a graph is at least the smallest in-degree inside any of its subgraphs, counting only arcs within the subgraph. One cluster of a few thousand domains that all link to each other therefore pushes into the thousands and forces below for the whole graph. With that small, Katz centrality is in-degree plus a rounding error everywhere outside the cluster. On a graph full of link farms, the farms decide the parameter. PageRank avoids this by dividing each node’s score among its out-links, which caps the spectral radius of its matrix at 1.
Where it is used
Katz centrality and its relative, the Katz index between pairs of nodes, are popular in social network analysis and in link prediction, where the weighted count of walks between two nodes predicts future links between them. In web ranking it is mostly of historical and conceptual importance: it showed in 1953 how to count indirect endorsements with decay, an idea PageRank refined forty-five years later.
References
- Katz, L. (1953). A new status index derived from sociometric analysis. Psychometrika 18(1), 39–43.
- Bonacich, P., & Lloyd, P. (2001). Eigenvector-like measures of centrality for asymmetric relations. Social Networks 23(3), 191–201.
- Vigna, S. (2016). Spectral ranking. Network Science 4(4), 433–445.
Links here
A short history of PageRank · Adjacency matrices and lists · Axioms for centrality · Centrality · Eigenvector centrality · Power iteration · The Perron–Frobenius theorem