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:
where gives each node of teleport mass and has empty rows for dangling nodes, so mass reaching them simply leaks away. This is linear in . Split into one piece per node, with putting on alone, and splits into contributions: , where is the PageRank that node owes to random jumps landing on . Each is a personalized PageRank vector from , scaled by .
Definition
Let be a good core, a set of nodes known to be reputable. The PageRank that receives from the good core is
computed in one pass by teleporting only to the good core, with per good node. The absolute spam mass of is what remains,
and the relative spam mass is its share:
A relative mass near 0 means nearly all of ’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 :
| Node | A | B | C | G | D | E | F |
|---|---|---|---|---|---|---|---|
| Linear PageRank | 0.086 | 0.058 | 0.125 | 0.075 | 0.028 | 0.021 | 0.028 |
| From the good core | 0.044 | 0.040 | 0.053 | 0.022 | 0 | 0 | 0 |
| Relative mass | 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:
- Assemble a large good core, largely automatically, from sources that rarely host spam.
- Compute ordinary PageRank and core-based PageRank, two power iterations over the whole graph.
- Consider only nodes with high PageRank, where spam does the most damage and where the estimate is reliable.
- 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
- The core decides everything. Good sites outside the core’s reach look exactly like spam, as D and E do above. A core that under-represents a language or region flags that region wholesale.
- Mass needs a large PageRank to mean anything. For a low-ranked node, a few links shift the ratio a lot, so the estimate is noisy. The method targets nodes that rank high.
- Spammers can buy core links. A link from a good-core site carries good mass. Paid links on reputable sites, and spam links injected into comments or hacked pages of good sites, defeat the measure, as they defeat TrustRank.
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
- Gyöngyi, Z., Berkhin, P., Garcia-Molina, H., & Pedersen, J. (2006). Link spam detection based on mass estimation. VLDB 2006, 439–450.
- Gyöngyi, Z., Garcia-Molina, H., & Pedersen, J. (2004). Combating Web spam with TrustRank. VLDB 2004, 576–587.
Links here
Auditing vendor metrics · Authority Score (Semrush) · Centrality · Clustering coefficient · Community detection · Dangling nodes · Degree centrality · Link spam · PageRank · PageRank as a linear system · Personalized PageRank · Push algorithms · Small worlds · TrustRank