Link Graph Encyclopedia

Centrality

Spam mass

The share of a node's PageRank that does not come from known good nodes. A high-PageRank site whose rank comes mostly from outside the reputable web is a link-spam suspect.

PageRank says how much link attention a site gets; it does not say from whom. Spam mass, introduced in 2006 by Gyöngyi, Berkhin, Garcia-Molina and Pedersen, splits a site’s PageRank into the part contributed by known good sites and the rest. A popular, legitimate site draws most of its PageRank from the reputable web. A site boosted by a link farm draws most of its PageRank from the farm. Comparing ordinary PageRank with a trust-seeded version turns that difference into a number.

PageRank contributions

Spam mass rests on a property of PageRank’s linear form. Write PageRank without the dangling-node correction, as the solution of a linear system:

p=(1−α) v (I−αP)−1,p = (1 - \alpha)\, v\, (I - \alpha P)^{-1},

where vv gives each node 1/n1/n of teleport mass and PP has empty rows for dangling nodes, so mass reaching them simply leaks away. This pp is linear in vv. Split vv into one piece per node, v=∑xvxv = \sum_x v_x with vxv_x putting 1/n1/n on xx alone, and pp splits into contributions: p=∑xqxp = \sum_x q^x, where qx(y)q^x(y) is the PageRank that node yy owes to random jumps landing on xx. Each qxq^x is a personalized PageRank vector from xx, scaled by 1/n1/n.

Definition

Let V+V^+ be a good core, a set of nodes known to be reputable. The PageRank that yy receives from the good core is

p+(y)=∑x∈V+qx(y),p^+(y) = \sum_{x \in V^+} q^x(y),

computed in one pass by teleporting only to the good core, with 1/n1/n per good node. The absolute spam mass of yy is what remains,

M(y)=p(y)−p+(y),M(y) = p(y) - p^+(y),

and the relative spam mass is its share:

m(y)=M(y)p(y)=1−p+(y)p(y).m(y) = \frac{M(y)}{p(y)} = 1 - \frac{p^+(y)}{p(y)} .

A relative mass near 0 means nearly all of yy’s PageRank traces back to good nodes; near 1 means nearly none does.

Worked example

Take A and B as the good core in the running example, with α=0.85\alpha = 0.85:

Node A B C G D E F
Linear PageRank pp 0.086 0.058 0.125 0.075 0.028 0.021 0.028
From the good core p+p^+ 0.044 0.040 0.053 0.022 0 0 0
Relative mass mm 0.49 0.31 0.58 0.70 1.00 1.00 1.00

(The linear PageRank sums to 0.42, not 1, because mass that reaches the dangling nodes F and G leaks away.)

D, E and F have relative mass 1: the good core cannot reach them, so all of their PageRank comes from elsewhere. C, the top node, gets 58% of its PageRank from outside the core: 26% from random jumps landing on C itself and 32% from D and E. That illustrates the method’s main caution: a high relative mass flags a node for review, not for condemnation. Here the “outside” nodes D and E are not spam at all; the core is simply too small.

Using it to find spam

The paper’s procedure:

  1. Assemble a large good core, largely automatically, from sources that rarely host spam.
  2. Compute ordinary PageRank and core-based PageRank, two power iterations over the whole graph.
  3. Consider only nodes with high PageRank, where spam does the most damage and where the estimate is reliable.
  4. Flag those whose relative mass exceeds a threshold.

On a host graph from Yahoo!'s index, the share of spam among flagged hosts rose steadily with the mass threshold: the higher the relative mass, the more likely a hand-checked host was spam.

Limits

What it means for a domain

Spam mass formalises a question every domain buyer should ask about a strong-looking metric: where does it come from? A domain with a high PageRank or a high vendor score whose referring domains are mostly obscure sites linking to each other has high relative mass, whatever the headline number says. Checking that a reasonable share of a domain’s link strength comes from sites you recognise as reputable is an informal mass estimate. The metric audit entry shows how much of one vendor’s referring-domain counts comes from a handful of domains that link to almost every listed auction domain.

References

Edit this entry on GitHub