Skip to main content
QUICK REVIEW

[Paper Review] A Comparison of Techniques for Sampling Web Pages

Eda Baykan, Monika Henzinger|ArXiv.org|Feb 10, 2009
Web Data Mining and AnalysisComputer Science13 references7 citations
TL;DR

This paper compares three random walk-based web sampling algorithms—Algorithm A, B, and C—under identical conditions to evaluate their bias and representativeness. It finds that Algorithms A and B suffer from severe bias due to getting 'stuck' on low-outdegree hosts, while Algorithm C shows strong bias toward high PageRank and high-outdegree pages, though it rarely gets stuck. The study concludes that Algorithm B with state subsampling performs best among the three.

ABSTRACT

As the World Wide Web is growing rapidly, it is getting increasingly challenging to gather representative information about it. Instead of crawling the web exhaustively one has to resort to other techniques like sampling to determine the properties of the web. A uniform random sample of the web would be useful to determine the percentage of web pages in a specific language, on a topic or in a top level domain. Unfortunately, no approach has been shown to sample the web pages in an unbiased way. Three promising web sampling algorithms are based on random walks. They each have been evaluated individually, but making a comparison on different data sets is not possible. We directly compare these algorithms in this paper. We performed three random walks on the web under the same conditions and analyzed their outcomes in detail. We discuss the strengths and the weaknesses of each algorithm and propose improvements based on experimental results.

Motivation & Objective

  • To evaluate and compare the representativeness of three random walk-based web sampling algorithms (A, B, and C) under identical experimental conditions.
  • To identify and analyze biases in each algorithm’s sampling behavior, particularly regarding host connectivity, outdegree, PageRank, and content length.
  • To determine the impact of different subsampling strategies (steps vs. states) on sample quality and bias.
  • To propose improvements based on experimental findings, especially addressing the 'stuck' problem in Algorithms A and B.

Proposed method

  • Performed three independent random walks on the web using Algorithms A, B, and C under identical computational resources and time constraints.
  • Applied multiple subsampling techniques: selecting from the last half or quarter of steps, and subsampling states instead of steps to reduce host-specific bias.
  • Used the same starting node and web crawl duration to minimize initial node bias in comparisons.
  • Analyzed sample distributions across key metrics: host frequency, outdegree, top-level domain, document content length, and PageRank.
  • Compared the resulting samples to assess representativeness and identify systematic biases.
  • Evaluated the impact of subsampling from steps versus states, noting that step-based sampling amplifies host-level biases.

Experimental results

Research questions

  • RQ1How do the three random walk-based sampling algorithms (A, B, and C) compare in terms of representativeness across key web metrics?
  • RQ2Why do Algorithms A and B exhibit a strong bias toward hosts with few outedges and high internal connectivity?
  • RQ3To what extent does Algorithm C’s design lead to bias toward high PageRank and high-outdegree web pages?
  • RQ4Does subsampling from steps or from states yield more representative samples for each algorithm?
  • RQ5Can the 'stuck' behavior in Algorithms A and B be mitigated by introducing periodic random resets, as in Algorithm C?

Key findings

  • Algorithms A and B exhibit a severe bias toward internally highly connected hosts with few outedges, due to frequent 'stuck' behavior where the walk fails to leave a host after many consecutive visits.
  • Algorithm C never got stuck during the experiments, due to its random reset mechanism, but showed a strong bias toward high PageRank and high-outdegree web pages.
  • More than 30% of nodes in A and B samples belonged to only three hosts, indicating poor host distribution and low representativeness.
  • Subsampling from states rather than steps significantly reduced host-level bias, especially for A and B samples, which showed spikes in content length and host frequency when steps were subsampled.
  • The subsampling strategy had a major impact on A and B samples but only a minor effect on C samples, indicating C’s bias is inherent to its walk mechanism.
  • The difference in performance between A and B samples is primarily due to their subsampling probabilities (inversely proportional to degree vs. uniform), not the set of nodes visited, as the node sets were nearly identical.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.