Link Graph Encyclopedia

Centrality

TrustRank

Pick a small set of sites a human has checked, and let trust flow outward from them along links, fading with each step. Spam sites, which reputable sites rarely link to, end up with little trust however many links they have.

TrustRank was proposed in 2004 by Zoltán Gyöngyi and Hector Garcia-Molina of Stanford and Jan Pedersen of Yahoo! to separate reputable sites from spam semi-automatically. Its premise is an approximate isolation of good sites: reputable sites rarely link to spam, while spam sites link freely to reputable ones (to look legitimate) and to each other. So start from a set of sites a human has checked, let trust flow along their out-links, and let it fade as it travels. A site many links away from any trusted seed, or reachable only through spam, gets almost no trust. Mathematically, TrustRank is personalized PageRank with the jumps aimed at the seed set.

Definition

Let SS be the set of good seed sites and vSv_S the uniform distribution over them. The trust vector is

t=α tP+(1−α) vS,t = \alpha\, t P + (1 - \alpha)\, v_S ,

with PP the row-normalised adjacency matrix and α\alpha a decay parameter; the paper used α=0.85\alpha = 0.85 and stopped after 20 iterations. In the paper, trust that reaches a site with no out-links leaks away; the worked example below returns it to the seeds instead, which scales every score by the same factor and leaves the order unchanged. Two forms of decay are built in:

Choosing the seeds

Human review is expensive, so the seed set must be small and must reach as much of the web as possible. The authors ranked sites by inverse PageRank, PageRank computed on the graph with every link reversed, which favours sites whose out-links reach many sites quickly. They reviewed the top candidates by hand, discarded spam and unclear cases, and kept a good seed set of fewer than 200 sites from an index of about 31 million. On AltaVista’s 2003 data, ranking by trust pushed spam sites far down compared with ordinary PageRank.

Inverse PageRank on the running example ranks E first (0.282): it reaches every other node in at most three steps, so it would make the best single seed. Out-link reach is also what CheiRank measures.

Worked example

Seed the running example with A alone:

Node A C B G D E F
TrustRank, seed {A} 0.393 0.309 0.167 0.131 0 0 0
Ordinary PageRank 0.205 0.298 0.138 0.177 0.065 0.051 0.065

D, E and F get exactly zero trust: no path leads from A to them. G, reached through C, gets about two-fifths of C’s trust. Under ordinary PageRank, D, E and F score above zero thanks to teleportation, which hands every site the same baseline whether or not anyone vouches for it. TrustRank removes that baseline: trust comes only from the seeds.

Weaknesses

Anti-TrustRank

Krishnan and Raj (2006) ran the idea in reverse. Start from a set of known spam sites and propagate distrust backwards along in-links: a site that links to spam is probably spam, or at least careless. The computation is TrustRank on the transposed graph with a spam seed set. They found that it picked out spam with higher precision than TrustRank, and left combining the two scores to future work.

TrustRank and the SEO industry

The paper left a lasting mark on how practitioners talk about links. “Trust” and “distance from trusted seeds” became common vocabulary, and commercial metrics borrowed the idea. Majestic describes its Trust Flow as a score based on how closely a site is linked from manually reviewed trusted seed sites (Trust Flow). Ahrefs and Moz do not describe seed-based trust in their headline metrics, which rest on link quantity and the strength of the linking domains (Domain Rating, Domain Authority).

Whatever Google does internally is not public. The safe reading for a domain buyer: links from sites that reputable sites themselves link to are worth far more than links from sites only spam links to, and no amount of the second kind substitutes for a few of the first. Spam mass turns that intuition into a number.

References

Edit this entry on GitHub