PageRank in depth
The damping factor
The probability α that PageRank's random surfer follows a link rather than jumping. It trades link structure against uniformity, sets the speed of convergence, and is conventionally 0.85 for no deep reason.
The damping factor is the one parameter of PageRank. At each step the random surfer follows a link with probability and teleports with probability . Brin and Page used , and almost everyone since has copied them, including Common Crawl’s PageRank and the default of most graph libraries. The choice matters more than its conventional status suggests: it decides how far link influence travels, how fast the computation converges, and how stable the ranking is.
What α controls
The PageRank equation weights two terms:
At , links are ignored and every node scores . As grows, the link term takes over. Expanding the solution as a series makes the trade-off explicit:
PageRank sums the influence of paths of every length, with a path of length weighted by . With , a path of 5 links keeps 44% of its weight and a path of 20 links keeps 4%. With , the same paths keep 3% and one in a million. Small makes PageRank local, close to a weighted in-degree; large makes it global.
Worked example
The running example’s PageRank at several damping factors:
| α | C | A | G | B | D, F | E | Iterations |
|---|---|---|---|---|---|---|---|
| 0.10 | 0.165 | 0.148 | 0.141 | 0.140 | 0.137 | 0.133 | 10 |
| 0.50 | 0.242 | 0.176 | 0.150 | 0.134 | 0.105 | 0.090 | 24 |
| 0.85 | 0.298 | 0.205 | 0.177 | 0.138 | 0.065 | 0.051 | 43 |
| 0.99 | 0.319 | 0.216 | 0.193 | 0.142 | 0.047 | 0.035 | 57 |
At the scores barely differ from the uniform . As grows, probability flows into the core (A, B, C) and towards G, which hangs off it, and drains from D, E and F, which only feed the core. On this small graph the order never changes; on large graphs it does, as the next sections show. Iterations are counted until the total change falls below . Move the α slider in the lab and watch the same flow:
Convergence
Power iteration reduces the error by a factor of about per iteration, the second-largest eigenvalue modulus of the PageRank matrix. Haveliwala and Kamvar proved , with equality whenever the graph has at least two closed strongly connected components, which every web graph has. So to reach an error of takes about
iterations: 113 for at , but 1,833 at . The running example converges faster than the bound because its two dangling nodes teleport every visitor, which shortens every walk. Higher is more faithful to the link structure and much more expensive.
Sensitivity as α approaches 1
As the teleport vanishes, and PageRank approaches the stationary distribution of the raw walk, which puts all its mass in closed components such as the OUT side of the bow tie and dense spam clusters that link only to themselves. Boldi, Santini and Vigna studied PageRank as a function of and showed that the limit as exists but concentrates on the recurrent states: the closed components, where the surfer gets stuck. Rankings near are therefore dominated by rank sinks and change sharply with . Small has the opposite risk: the ranking barely uses the link structure at all.
Why 0.85?
The value is a compromise that Brin and Page reported without derivation. It keeps substantial link influence (mean run of 5.7 clicks between jumps), converges in about a hundred iterations, and keeps rank sinks in check. Several researchers have argued for other values. Avrachenkov, Litvak and Pham, analysing how mass splits between the giant component and the rest, suggested . None of these displaced the convention: 0.85 remains the standard because everyone else uses it, which makes results comparable.
Practical advice
- Report α with every PageRank. A score computed with is not comparable with one computed at 0.5. The same holds for the dangling-node treatment and the teleport distribution (see dangling nodes and personalized PageRank).
- Check stability. If a ranking you care about changes a lot between and , it rests on fragile structure, often a rank sink or a single strong link.
- Do not chase precision you cannot use. The ranks and scores entry explains why the tenth digit of a PageRank value carries no information about a domain. Stopping at a relative change of or usually fixes every position that matters.
References
- Brin, S., & Page, L. (1998). The anatomy of a large-scale hypertextual Web search engine. Computer Networks and ISDN Systems 30(1–7), 107–117.
- Haveliwala, T. H., & Kamvar, S. D. (2003). The second eigenvalue of the Google matrix. Stanford InfoLab Technical Report 2003-20.
- Boldi, P., Santini, M., & Vigna, S. (2005). PageRank as a function of the damping factor. WWW 2005, 557–566.
- Avrachenkov, K., Litvak, N., & Pham, K. S. (2008). A singular perturbation approach for choosing the PageRank damping factor. Internet Mathematics 5(1–2), 47–69.
Links here
Dangling nodes · PageRank · Personalized PageRank · Random walks and Markov chains · Redirects and canonicalisation · Strongly connected components · The bow-tie structure · The random surfer