Part III · Chapter 8

Who Matters

Who is the most important person in a network? The one with the most friends, the one closest to everyone, the one standing between groups, or the one that important people point to? Each answer is a different way of measuring centrality, and each crowns a different winner.

In any office there is the person everybody chats with, the person who seems to hear news first, and the person whose absence leaves two departments unable to talk to each other. They might be three different people. “Important” is not one thing, and network science has several precise ways to say what it might mean. Together they are called measures of centrality.

Four ways to matter

A classic teaching example, Krackhardt’s kite, was drawn up by the organisational scientist David Krackhardt to show that these measures really do disagree. Try each lens on it.

Interactive 8.1

Centrality lens

Switch lenses to resize the nodes by each measure. Click two nodes to link or unlink them, or click a line to cut it, and watch the winners change.

Lens
D has the most links. F and G have the fewest total steps to everyone. But H, with only three links, has by far the highest betweenness: every path to I and J must go through it. Cut the link H–I and watch H’s betweenness collapse, because there is no longer anything for it to broker.
Key idea

Centrality is not one number: degree rewards many links, closeness rewards short distances to everyone, betweenness rewards sitting on the routes between others, and each can crown a different node.

Which one to use depends on what flows and what you want to know. If you want to know who can spread a message fastest, closeness is a good guide. If you want to know whose departure would most disrupt communication between groups, betweenness. If you want to know who is simply most active, degree. Betweenness will return in Chapter 9 as a tool for finding the seams between communities.

PageRank and the random surfer

The early web had a problem: millions of pages, and no good way to decide which ones a search should show first. Web links are one-way, so each page has two degrees: its in-degree (links arriving) and its out-degree (links leaving). Counting incoming links helps, but it is easy to game, and a link from an obscure page is not worth as much as a link from a famous one. In 1998 Sergey Brin and Larry Page described a fix that became a founding idea of Google’s search engine: PageRank.

Imagine a bored surfer clicking links at random, forever. At each step, with probability d (the “damping factor”, commonly set to 0.85), the surfer clicks a random link on the current page. Otherwise, or whenever a page has no links out, the surfer gets bored and teleports to a page chosen completely at random. A page’s PageRank is the long-run share of time the surfer spends on it.

Interactive 8.2

The random surfer

Press Play to watch the surfer, or fast-forward 1,000 hops. Click one page then another to add or remove a one-way link between them.

the surfershare of visits so farcomputed PageRank (tick)
0.85
After a few thousand hops, the amber bars settle onto the black ticks: the surfer’s footprints are the PageRank. Home ranks highest because many pages link to it, including News, which is itself well visited. The Map page has no links out; landing there always triggers a teleport. Give the Map page a link back to Home and watch the ranks shift.

Notice the self-referential twist: a page is important if important pages link to it, and a page splits its importance among all the pages it links to. That sounds circular, but the surfer cuts through the circle. Simply let them wander long enough, and the share of time on each page settles to a single stable answer.

Key idea

PageRank is the long-run share of time a random surfer spends on each page, when the surfer follows a random link with probability d and otherwise teleports to a random page.

A closer look: why teleport?

Without teleporting, the surfer could get stuck on a page with no links out, or trapped in a little cluster of pages that only link to each other, which would then soak up all the “importance”. The occasional random jump guarantees that every page can be reached, and that the long-run shares settle to one answer no matter where the surfer starts. Mathematically, the PageRank list is a special vector that the “one hop” step leaves unchanged: an eigenvector. Search engines today blend many signals, but this idea was an important early ingredient.

Intuition check

Page X has 50 incoming links, all from obscure pages that nobody links to. Page Y has just 2 incoming links, from two very highly ranked pages that link to almost nothing else. Which statement is right?

What you now see

  • Degree, closeness and betweenness capture different kinds of importance and often disagree.
  • Betweenness finds brokers: nodes on many shortest paths between others, often bridges between groups.
  • PageRank says a node matters if nodes that matter point to it, computed as a random surfer’s long-run time share.
  • The teleport (damping factor, commonly 0.85) keeps the surfer from getting stuck and makes the answer unique.