Detecting Spam Blogs: A Machine Learning Approach

Pranam Kolari, Akshay Java, Tim Finin, Tim Oates, Anupam JoshiAAAI 2006

Abstract

Weblogs or blogs are an important new way to publish information, engage in discussions, and form communities on the Internet. The Blogosphere has unfortunately been infected by several varieties of spam-like content. Blog search engines, for example, are inundated by posts from splogs - false blogs with machine generated or hijacked content whose sole purpose is to host ads or raise the PageRank of target sites. We discuss how SVM models based on local and link-based features can be used to detect splogs. We present an evaluation of learned models and their utility to blog search engines; systems that employ techniques differing from those of conventional web search engines.

Introduction

In the mid-2000s, the "Blogosphere" exploded, but so did a parasitic sub-industry: splogs. These are fake blogs created with two main goals: hosting context-based ads for profit or creating "link farms" to artificially boost the PageRank of target websites.

Splog detection is distinct from general web spam for several reasons. First, blog search engines prioritize recency over authority, requiring instant content verification. Second, these engines often crawl only a "preferential" subset of the web, lacking the global view required for traditional link-analysis algorithms like TrustRank. This research seeks to identify splogs quickly using only the information available to specialized search engines.

Methodology

The researchers employed Support Vector Machines (SVMs) to classify blogs as either authentic or spam, exploring two main categories of features:

  1. Local Models: These rely solely on the content of a single page, including Bag-of-Words (binary features), tokenized anchors and URLs (e.g., identifying the frequent use of the .info domain), and specialized heuristics like text compression ratios.
  2. Global Models: These examine the "neighborhood" of a blog. Local models are used to "pre-classify" incoming and outgoing links, which then serve as features to determine the status of the central blog.

To evaluate these models, a primary dataset was constructed consisting of a manually labeled seed set of 1,400 examples and an expanded set of approximately 20,000 unique pages fetched via the Technorati API to simulate a real-world blog search engine index.

Key Insights and Results

One of the most significant findings is that authentic blogs have a distinct linguistic signature, frequently using personal pronouns like "I," "we," and "my." Conversely, splogs reveal themselves through technical omissions or commercial terms. Interestingly, while complex specialized features like compression ratios were tested, they were found to be less effective than standard bag-of-words models.

Performance degradation of non-linear kernels compared to the linear kernel as feature size increases for tokenized URL/anchor features.

The study also highlighted that Linear Kernels are Sufficient. For high-dimensional binary features, simple linear kernels performed as well as or better than complex non-linear kernels, which often degraded in performance as feature sizes increased. The best-performing models used a linear kernel with a bag-of-words approach, achieving an AUC (Area Under the ROC Curve) of 0.95.

AUC performance of different SVM kernels across varying feature sizes for the bag-of-words model.

Tokenized URLs and anchor text alone were also quite potent, reaching AUCs in the 0.80–0.90 range. In real-world validation against 10,000 blogs that had already passed major search engine filters, this model identified an additional 1,500 splogs, significantly outperforming industry standards of the time.

Conclusion

Splogging remains an adversarial game; as models learn to identify specific markers, spammers adapt their tactics. Future work should move toward relational splog detection, examining how groups of splogs link to one another in complex webs. There is a continuous need for models that can adapt quickly as spammers attempt to obfuscate the linguistic markers identified in this study.

Summary updated

BibTeX
@inproceedings{kolari2006detecting,
  author = {Pranam Kolari and Akshay Java and Tim Finin and Tim Oates and Anupam Joshi},
  title = {{Detecting Spam Blogs: A Machine Learning Approach}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2006},
  url = {https://openreview.net/forum?id=SJEKJl-OWr},
}
Figure