TL;DR
This paper introduces QD-PageRank, an evolution of the classic PageRank algorithm that replaces the "random surfer" with a "directed surfer" guided by query relevance. By precomputing term-specific rankings at crawl time and combining them at query time, the authors achieve a 20-34% improvement in search relevance without sacrificing the speed required for large-scale search engines.
What Problem Does This Paper Address?
In the early days of the web, two titans dominated link-based search: PageRank (Google) and HITS.
PageRank modeled a "random surfer" who clicks links blindly. Because this is calculated at crawl time, it is incredibly fast but "query-blind"—it knows which pages are important globally, but not which are important for your specific search. Conversely, HITS (Hyperlink-Induced Topic Search) is query-dependent but requires heavy computation at the moment a user hits "search," making it too slow for millions of daily users. Furthermore, both suffer from "topic drift," where a very popular page (like a privacy policy) might outrank a highly relevant but less-linked page.
The authors seek a "Goldilocks" solution: an algorithm that is as relevant as HITS but as efficient as PageRank.
Methods
The core innovation is the Directed Surfer Model. Instead of a surfer who follows all out-links with equal probability, this surfer is "intelligent": they are more likely to follow links to pages that contain the terms they are looking for.
- Relevance-Weighted Transitions: The authors redefine the transition matrix. The probability of moving from page $i$ to page $j$ is no longer $1/(\text{out-degree})$, but is instead weighted by a relevance function $R_q(j)$ for a specific query term $q$.
- The Scalability Trick: Computing a unique PageRank for every possible multi-word query is impossible. To solve this, the authors precompute the PageRank vector for individual terms in the lexicon at crawl time.
- Linear Combination: When a user enters a multi-term query (e.g., "Jaguar speed"), the system takes the precomputed vectors for "Jaguar" and "speed" and combines them. The authors provide a mathematical justification showing that this linear combination is a very close approximation of the "true" primary eigenvector of the combined transition matrix.
Datasets
The authors evaluated their approach on two significant subsets of the Web:
- educrawl: A crawl of 1.76 million pages restricted to the
.edudomain, seeded from Google results for "University." - WebBase: A larger set of 15 million pages from the Stanford WebBase repository, covering over 120 million pages in total.
For evaluation, they used human volunteers to rate search results on a scale of 0 (not relevant) to 2 (good search result).
Key Insights and Ideas
- Surfers Have Goals: The "random surfer" was always a mathematical convenience. By modeling a surfer with a probabilistic goal, the link structure of the web becomes much more informative. A link from a page about "cars" to another page about "cars" is more valuable than a link to a generic "home" page.
- The Power of Approximation: One of the "aha moments" is the realization that you don't need to solve the eigenvector problem at query time. Because the individual term-based surfers are often similar (or very different), the average of their individual PageRank vectors is a mathematically sound approximation for the combined behavior.
- Efficiency through Sparsity: Since the "directed surfer" only cares about pages containing the query term, the computation for a single term only needs to happen on a small sub-graph of the web. This makes precomputing millions of terms feasible.
Key Results
- Relevance Boost: QD-PageRank significantly outperformed standard PageRank. It showed a 34% improvement on the
WebBasedataset and a 20% relative improvement in relevance on theeducrawldataset.
- Statistical Significance: The results were robust, with p-values (<.03 and <.001 respectively) indicating the improvements weren't just due to luck.
- Feasibility: The authors calculated that storing these term-specific ranks requires about 165 times the storage of standard PageRank—a significant but manageable cost for a modern search engine, especially since it is still smaller than the storage required for a standard search engine's reverse index.
Limitations and Future Work
The main limitation noted is term dependency. The linear combination approach assumes query terms are somewhat independent. For phrases like "financial aid," where the combined meaning is different from the sum of "financial" and "aid," the approximation is less effective.
The authors suggest that this could be mitigated by adding common phrases (n-grams) to the lexicon and precomputing vectors for them as if they were single words. Additionally, while the storage is "manageable," 165x the storage of PageRank is still a heavy lift for infrastructure, suggesting further research into compressing these rank vectors.
Summary updated