---
title: "Topic-Sensitive PageRank — paper by Haveliwala (2002)"
description: "Haveliwala proposes making link-based importance depend on the topic while keeping query-time… 18 references, cited by 92 papers here."
authors: ["Taher H. Haveliwala"]
year: 2002
venue: "WWW 2002 (Best Student Paper)"
source: "http://www-cs-students.stanford.edu/~taherh/papers/"
doi: "10.1145/511446.511513"
licence: "author's copy (Stanford CS) — read only"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/haveliwala-2002-topic-sensitive-pagerank/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/haveliwala-2002-topic-sensitive-pagerank/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2002](https://md.research.elamur.ai/free/en/papers/2002/) / Topic-Sensitive PageRank

# Topic-Sensitive PageRank

**Authors:** Taher H. Haveliwala · **Year:** 2002 · **Venue:** WWW 2002 (Best Student Paper) · **Licence:** author's copy (Stanford CS) — read only

**Links:** [Publisher's page](https://doi.org/10.1145/511446.511513) · [PDF](http://www-cs-students.stanford.edu/~taherh/papers/topic-sensitive-pagerank.pdf) · [DOI 10.1145/511446.511513](https://doi.org/10.1145/511446.511513) · [OpenAlex](https://openalex.org/W2170344111)

**Citations:** 1,532 citations (OpenAlex, 2026-10-14) · [92](https://md.research.elamur.ai/free/en/papers/haveliwala-2002-topic-sensitive-pagerank/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
Standard PageRank assigns every Web page one query-independent importance score. As a result, heavily linked pages can rank well for queries outside their area of authority. Haveliwala proposes making link-based importance depend on the topic while keeping query-time cost close to ordinary PageRank. Offline, the method computes several biased PageRank vectors. Each one replaces the uniform teleportation (personalization) vector with one concentrated on URLs listed under a single top-level category of the Open Directory Project (ODP). At query time, a unigram language model classifier estimates how strongly the query relates to each topic. It can also use surrounding context, such as text around a highlighted term. The final page score is a linear combination of the topic vectors, weighted by these estimates. Examples such as the query "blues" show that the method separates music-related and mental-health-related results, whereas unbiased PageRank returns generic popular sites. The approach matters because it brings query sensitivity, similar to HITS, into a precomputed, spam-resistant ranking framework. It also offers a practical basis for personalized and context-aware search.

## Key points
- The system uses 16 topic-biased PageRank vectors, one per top-level ODP category. Each vector teleports uniformly to that category's URLs (1/|T_j| for members, 0 otherwise). The biasing is applied during the iteration itself, not as post-processing.
- At query time, a unigram language model computes topic weights for the query or its context. These weights mix the precomputed vectors, so link analysis stays offline.
- The paper considers two scenarios: ordinary keyword search and search in context, where a user highlights a term in a page. The author also discusses query history, bookmarks, and browsing history as further sources of context.
- The author highlights four claimed advantages of using basis topics: flexibility, transparency, privacy, and efficiency. On privacy, a client could send only topic weights to the server instead of browsing history or document text.
- Planned work includes finer-grained ODP levels, which raise cost because computation grows linearly with the number of topics. Another plan is a damping vector built from classifier-assigned topic weights for all pages (Eq. 11), intended to reduce sensitivity to individual ODP editors.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Stanford University](https://md.research.elamur.ai/free/en/universities/stanford-university/) — University, Stanford, United States · 506 works · 330,053 citations

📚 Shelves (2): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🗄️ Information Systems](https://md.research.elamur.ai/free/en/shelves/computer-science/information-systems/) · 1,730 works

## Cite

Cite as: Taher H. Haveliwala. 2002. Topic-Sensitive PageRank. WWW 2002 (Best Student Paper).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{haveliwala2002topic,
  title = {{Topic-Sensitive PageRank}},
  author = {Taher H. Haveliwala},
  booktitle = {WWW 2002 (Best Student Paper)},
  year = {2002},
  doi = {10.1145/511446.511513},
  url = {https://doi.org/10.1145/511446.511513}
}
```

- [← previous Learning Question Classifiers](https://md.research.elamur.ai/free/en/papers/li-2002-learning-question-classifiers/)
- [next → Multiword Expressions: A Pain in the Neck for NLP](https://md.research.elamur.ai/free/en/papers/sag-2002-multiword-expressions-pain-neck-nlp/)
- [↑ back to papers of 2002](https://md.research.elamur.ai/free/en/papers/2002/)

## References

18 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. The Google Search Engine: Commercial search engine founded by the originators of PageRank. [http://www.google.com/](http://www.google.com/). [↗](http://www.google.com/)
2. The Open Directory Project: Web directory for over 2.5 million URLs. [http://www.dmoz.org/](http://www.dmoz.org/). [↗](http://www.dmoz.org/)
3. ‘More Evil Than Dr. Evil?’ [http://searchenginewatch.com/sereport/99/11-google.html](http://searchenginewatch.com/sereport/99/11-google.html). [↗](http://searchenginewatch.com/sereport/99/11-google.html)
4. Krishna Bharat and Monika R. Henzinger. Improved algorithms for topic distillation in a hyperlinked environment. In Proceedings of the ACM-SIGIR, 1998. [find](https://scholar.google.com/scholar?q=Krishna+Bharat+and+Monika+R%2E+Henzinger%2E+Improved+algorithms+for+topic+distillation+in+a+hyperlinked+environment%2E+In+Proceedings+of+the+ACM%2DSIGIR%2C+1998%2E)
5. Krishna Bharat and George A. Mihaila. When experts agree: Using non-affiliated experts to rank popular topics. In Proceedings of the Tenth International World Wide Web Conference, 2001. [find](https://scholar.google.com/scholar?q=Krishna+Bharat+and+George+A%2E+Mihaila%2E+When+experts+agree%3A+Using+non%2Daffiliated+experts+to+rank+popular+topics%2E+In+Proceedings+of+the+Tenth+International+World+Wide+Web+Conference%2C+2001%2E)
6. Sergey Brin, Rajeev Motwani, Larry Page, and Terry Winograd. What can you do with a web in your pocket. In Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 1998. [find](https://scholar.google.com/scholar?q=Sergey+Brin%2C+Rajeev+Motwani%2C+Larry+Page%2C+and+Terry+Winograd%2E+What+can+you+do+with+a+web+in+your+pocket%2E+In+Bulletin+of+the+IEEE+Computer+Society+Technical+Committee+on+Data+Engineering%2C+1998%2E)
7. Sergey Brin and Larry Page. [The anatomy of a large-scale hypertextual web search engine](https://md.research.elamur.ai/free/en/papers/brin-1998-anatomy-large-scale-hypertextual-web/). In Proceedings of the Seventh International World Wide Web Conference, 1998.
8. S. Chakrabarti, B. Dom, D. Gibson, J. Kleinberg, P. Raghavan, and S. Rajagopalan. Automatic resource compilation by analyzing hyperlink structure and associated text. In Proceedings of the Seventh International World Wide Web Conference, 1998. [find](https://scholar.google.com/scholar?q=S%2E+Chakrabarti%2C+B%2E+Dom%2C+D%2E+Gibson%2C+J%2E+Kleinberg%2C+P%2E+Raghavan%2C+and+S%2E+Rajagopalan%2E+Automatic+resource+compilation+by+analyzing+hyperlink+structure+and+associated+text%2E+In+Proceedings+of+the+Seventh+Int)
9. Cynthia Dwork, Ravi Kumar, Moni Naor, and D. Sivakumar. Rank aggregation methods for the web. In Proceedings of the Tenth International World Wide Web Conference, 2001. [find](https://scholar.google.com/scholar?q=Cynthia+Dwork%2C+Ravi+Kumar%2C+Moni+Naor%2C+and+D%2E+Sivakumar%2E+Rank+aggregation+methods+for+the+web%2E+In+Proceedings+of+the+Tenth+International+World+Wide+Web+Conference%2C+2001%2E)
10. Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: the concept revisited. In Proceedings of the Tenth International World Wide Web Conference, 2001. [find](https://scholar.google.com/scholar?q=Lev+Finkelstein%2C+Evgeniy+Gabrilovich%2C+Yossi+Matias%2C+Ehud+Rivlin%2C+Zach+Solan%2C+Gadi+Wolfman%2C+and+Eytan+Ruppin%2E+Placing+search+in+context%3A+the+concept+revisited%2E+In+Proceedings+of+the+Tenth+International)
11. Taher H. Haveliwala. Efficient computation of PageRank. Stanford University Technical Report, 1999. [find](https://scholar.google.com/scholar?q=Taher+H%2E+Haveliwala%2E+Efficient+computation+of+PageRank%2E+Stanford+University+Technical+Report%2C+1999%2E)
12. J. Hirai, S. Raghavan, H. Garcia-Molina, and A. Paepcke. Webbase: A repository of web pages. In Proceedings of the Ninth International World Wide Web Conference, 2000. [find](https://scholar.google.com/scholar?q=J%2E+Hirai%2C+S%2E+Raghavan%2C+H%2E+Garcia%2DMolina%2C+and+A%2E+Paepcke%2E+Webbase%3A+A+repository+of+web+pages%2E+In+Proceedings+of+the+Ninth+International+World+Wide+Web+Conference%2C+2000%2E)
13. Glen Jeh and Jennifer Widom. Scaling personalized web search. Stanford University Technical Report, 2002. [find](https://scholar.google.com/scholar?q=Glen+Jeh+and+Jennifer+Widom%2E+Scaling+personalized+web+search%2E+Stanford+University+Technical+Report%2C+2002%2E)
14. Jon Kleinberg. [Authoritative sources in a hyperlinked environment](https://md.research.elamur.ai/free/en/papers/kleinberg-1999-authoritative-sources-hyperlinked-environment/). In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms, 1998.
15. Rajeev Motwani and Prabhakar Raghavan. Randomized Algorithms. Cambridge University Press, United Kingdom, 1995. [find](https://scholar.google.com/scholar?q=Rajeev+Motwani+and+Prabhakar+Raghavan%2E+Randomized+Algorithms%2E+Cambridge+University+Press%2C+United+Kingdom%2C+1995%2E)
16. Larry Page. PageRank: Bringing order to the web. Stanford Digital Libraries Working Paper, 1997. [find](https://scholar.google.com/scholar?q=Larry+Page%2E+PageRank%3A+Bringing+order+to+the+web%2E+Stanford+Digital+Libraries+Working+Paper%2C+1997%2E)
17. Davood Rafiei and Alberto O. Mendelzon. What is this page known for? Computing web page reputations. In Proceedings of the Ninth International World Wide Web Conference, 2000. [find](https://scholar.google.com/scholar?q=Davood+Rafiei+and+Alberto+O%2E+Mendelzon%2E+What+is+this+page+known+for%3F+Computing+web+page+reputations%2E+In+Proceedings+of+the+Ninth+International+World+Wide+Web+Conference%2C+2000%2E)
18. Matthew Richardson and Pedro Domingos. The Intelligent Surfer: Probabilistic Combination of Link and Content Information in PageRank, volume 14. MIT Press, Cambridge, MA, 2002 (To appear). [find](https://scholar.google.com/scholar?q=Matthew+Richardson+and+Pedro+Domingos%2E+The+Intelligent+Surfer%3A+Probabilistic+Combination+of+Link+and+Content+Information+in+PageRank%2C+volume+14%2E+MIT+Press%2C+Cambridge%2C+MA%2C+2002+%28To+appear%29%2E)

*Updated 2 November 2026*
