NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient and effective spam filtering and re-ranking for large web datasets

Gordon V. Cormack, Mark D. Smucker, Charles L. A. Clarke

TL;DR

This paper tackles the pervasive problem of web spam in large-scale search engine datasets. The authors demonstrate that a simple, efficient content-based spam filter can significantly improve search result quality by identifying and mitigating the impact of spam, even on massive collections like ClueWeb09. Their work provides a practical method for spam filtering and quantifies its substantial positive impact on retrieval effectiveness.

What Problem Does This Paper Address?

The internet is rife with "web spam" – pages designed to manipulate search engine rankings and deceive users, often leading to unwanted content or malicious payloads. While the existence of spam is well-known, its precise impact on the effectiveness of information retrieval (IR) systems, especially on large, diverse web crawls, has not been systematically studied. Previous IR evaluations often used cleaner datasets. The TREC 2009 Web Track, however, introduced the ClueWeb09 dataset, a massive collection of 1 billion web pages, a significant portion of which is estimated to be spam. This paper aims to quantify the detrimental effect of this spam on IR performance and to develop and evaluate an efficient method for filtering it out, thereby improving search results.

Methods

The core of the paper's contribution lies in developing and evaluating a simple, content-based spam filter. This filter uses logistic regression trained on a limited set of features extracted from the raw text of web pages (specifically, overlapping byte 4-grams). Crucially, the authors emphasize efficiency: the filter can process the entire ClueWeb09 dataset (approximately 500 million English pages) on a standard PC in about 48 hours.

They explore several strategies for generating training data:

  • UK2006: Using a pre-existing, smaller spam dataset.
  • Britney: Generating training data automatically by using popular search queries as "honeypots" to attract spam, and then using Open Directory Project (ODP) links for non-spam examples. This method requires minimal human adjudication.
  • GroupX: Using human-adjudicated examples from a subset of the ClueWeb09 dataset.

Finally, they combine the outputs of these individual filters using a naive Bayes fusion approach, which they hypothesize will yield superior performance.

Datasets

  • ClueWeb09: A newly introduced dataset for TREC 2009, containing approximately 1 billion web pages crawled in early 2009. The English subset used in this study comprises about 500 million pages. This dataset is notable for its scale and the significant presence of web spam.
  • WEBSPAM-UK2006: A dataset used in previous AIRWeb Web Spam Challenges, consisting of spam and non-spam labels for a sample of hosts.
  • TREC 2009 Web Track Data: The paper leverages the official submissions and relevance judgments from the TREC 2009 Web Ad Hoc and Relevance Feedback tasks for evaluation.

Key Insights and Ideas

  • Spam is a major impediment to IR effectiveness: The paper provides strong quantitative evidence that spam significantly degrades the performance of even well-established IR methods.
  • Simple content-based filters can be highly effective and efficient: Contrary to the intuition that sophisticated graph-based methods are necessary for web spam, the authors show that a fast, content-based approach can achieve high accuracy.
  • Automatic training data generation is feasible: The "honeypot" query approach for generating training data with minimal human effort is a significant practical contribution, reducing the barrier to applying spam filtering to new, large datasets.
  • Filtering spam can dramatically improve results: The impact of spam filtering is not marginal; it can elevate the performance of IR systems from poor to good, and even from worst to best among submitted runs.
  • Spam is a strong proxy for non-relevance: The high correlation between spam identification and non-relevance assessment suggests that spam filters might be implicitly learning aspects of page quality beyond just malicious intent.

Key Results

  • The developed spam filter can classify every page in the ClueWeb09 dataset (approx. 500 million pages) in about 48 hours on a standard PC.
  • The fusion filter achieved an AUC of 0.95 for spam identification on Category A and 0.94 on Category B, comparable to top performers in previous challenges.
  • Applying the spam filter to TREC 2009 Web Ad Hoc submissions led to significant improvements in effectiveness measures like estimated precision at rank 10 (estP10), estR-Precision, StatMAP, and MAP.
  • For Category A, the average estP10 increased substantially, with some runs showing improvements from below 0.25 to over 0.45.
  • The reranking method, which reorders documents based on spam scores rather than filtering them out, also showed significant improvements across various metrics.
  • The paper demonstrates that spam filtering can improve the effectiveness of IR methods by as much as 20-30% in some cases.

Limitations and Future Work

  • Correlation vs. Causation: While the filters show high correlation with non-relevance, the authors acknowledge that it's possible the filters are serendipitously discovering other aspects of static relevance, not just spam. However, they argue that even if this is the case, the harm is minimal.
  • Comparison with Graph-Based Methods: The paper notes that graph-based quality and spam metrics for ClueWeb09 were still under preparation at the time of writing. Future work could involve comparing their content-based approach with these graph-based methods or combining them into a "super meta-filter."
  • Generalizability of Training Data: The effectiveness of the "Britney" training set, generated automatically, suggests potential for broader application, but further validation on different datasets would be beneficial.
  • Reranking Thresholds: The reranking method involves finding an optimal threshold tk to optimize estPk. The paper notes that tk is not necessarily monotonic in k due to noise, suggesting potential for more sophisticated reranking strategies.

Summary updated

BibTeX
@inproceedings{cormack2011efficient,
  author = {Gordon V. Cormack and Mark D. Smucker and Charles L. A. Clarke},
  title = {{Efficient and effective spam filtering and re-ranking for large web datasets}},
  booktitle = {Inf. Retr},
  year = {2011},
  url = {https://openreview.net/forum?id=_GxnfOfYdgP},
}

Loading related content...

Figure