TL;DR
This paper introduces a novel approach to understanding the Web's structure by combining graph analysis with content-based topic classification. They demonstrate that random walks on the Web graph converge to a stable topic distribution, and that this topic structure is crucial for understanding link-based ranking algorithms like PageRank and for designing better web crawlers.
What Problem Does This Paper Address?
While extensive research has modeled the Web as a giant social network based on its link structure (e.g., power-law distributions, bow-tie models), most studies have largely ignored the content of the pages. This means that our understanding of "Web communities" and the dynamics of information flow has been primarily graph-theoretic, neglecting the semantic meaning of the pages. The authors argue that a topic taxonomy is a more useful framework for understanding how content clusters and communities form and interact on the Web. They aim to bridge this gap by measuring the distribution of broad topics, how these topics link to each other, and how topic context is preserved or lost during web traversal.
Methods
The core of their methodology involves:
- Topic Taxonomy: Utilizing the Open Directory (DMoz) taxonomy, which provides a hierarchical classification of web pages. They prune this to a manageable 482 leaf nodes for their experiments.
- Automatic Classification: Employing a fast, public-domain BOW toolkit and the Rainbow Naive Bayes classifier to assign topics to web pages.
- Sampling Web Pages: Developing and using a "SAMPLING walk" algorithm. This is a variant of the Bar-Yossef random walk, which turns the directed Web graph into an undirected, regular graph and incorporates random jumps to ensure faster convergence to a near-uniform sample of URLs. This is crucial for efficiently obtaining representative samples without crawling the entire Web.
- Topic Distribution Measurement: Calculating the "soft-counting" topic distribution for a set of sampled pages by averaging the topic probability vectors of individual documents.
- Topic Citation Matrix: Constructing a matrix where entry (i, j) represents the probability that a page about topic i links to a page about topic j. This is done using soft-counting on sampled links.
- Topic Mixing Distance: Measuring how quickly the topic distribution of pages encountered during a random walk diverges from the initial topic or the global background distribution. This is quantified using the L1 distance between topic probability vectors.
Datasets
- Open Directory (DMoz): Used to derive a topic taxonomy. Initially, they used a large dataset with over 271,954 topics, which was then pruned to 482 leaf nodes and approximately 120,000 sample URLs.
- NEC Crawl Data: Used for comparing breadth-first crawl behavior with their topic distribution estimates.
Key Insights and Ideas
- The Web Has a Stable Background Topic Distribution: Their SAMPLING walks, starting from diverse topics, converge to a similar topic distribution. This suggests that despite the Web's dynamic nature, there's an underlying, measurable distribution of broad topics.
- Topic Structure Matters for Link Analysis: The way topics link to each other (topic citation matrix) is not random. This structure explains why systems like HITS and focused crawlers work well, and provides insights into the effectiveness of global ranking algorithms like PageRank.
- Topic Context is Lost Gradually: Random walks (especially undirected ones) lose their initial topic context over time, but this loss is gradual. This "topic mixing distance" is a key metric that can explain why short random jumps in PageRank are effective – they exploit the topical homogeneity of short paths.
- Topic-Specific Degree Distributions Mirror Global Trends: Pages within specific topic communities also tend to exhibit power-law degree distributions, similar to the Web graph as a whole, though with some variations.
- Topic Directories Aren't Perfect Microcosms: Their analysis reveals significant discrepancies between the topic distribution in DMoz and the estimated background distribution on the Web, indicating biases in directory representation.
Key Results
- Convergence of Topic Distributions: SAMPLING walks starting from different topics converged to a stable topic distribution within approximately 1000-1500 virtual hops, with an L1 distance dropping to around 0.19.
- Topic Citation Matrix Asymmetry: The matrix shows strong diagonal dominance (self-citation within topics) but also significant off-diagonal entries, indicating cross-topic linkages. Notably,
/Computersand/Societytopics tend to receive links from a wide variety of other topics. - Topic Mixing Distance: Forward (directed) random walks without jumps retain topical locality much longer than undirected walks, with topic drift being slow for the first 5-10 hops.
- Breadth-First Crawl Bias: Breadth-first crawls show slow topic distribution changes across layers, meaning initial biases in seed URLs can persist for several levels.
- DMoz Bias: The L1 distance between the DMoz collection and the background topic distribution was high (1.43), suggesting DMoz is highly topic-biased.
Limitations and Future Work
- Fixed Taxonomy: The reliance on a fixed taxonomy (DMoz) means new topics or fine-grained distinctions might be missed. The authors acknowledge that new topics often emerge as extensions of existing ones.
- Classifier Accuracy: While the classifier is fast and provides a significant boost over random choice, its absolute accuracy is not perfect. They use held-out data to estimate confusion and discount errors.
- Future Work: The authors suggest exploring how to set topic-specific PageRank jump probabilities, developing content-cognizant HITS and stochastic variants, and using topic citation maps to reorganize and improve taxonomy design. They also propose building synthetic graphs to better understand the interaction between topic mixing and ranking algorithms.
Summary updated