The impact of history length on personalized search

Yangbo Zhu, Jamie Callan, Jaime G. CarbonellSIGIR 2008

Abstract

Personalized search is a promising way to better serve different users' information needs. Search history is one of the major information sources for search personalization. We investigated the impact of history length on the effectiveness of personalized ranking. We carried out a task-based user study for Web search and obtained ranked relevance judgments for all queries. Query contexts derived from previous queries in the same task are used to re-rank results for the current query. Experimental results show that the performance of personalization generally improves as more queries are accumulated, but most of the benefits come from a few immediately preceding queries.

Introduction

Web search queries are notoriously short and ambiguous. If you type "Python," are you looking for a programming tutorial, a snake, or a comedy troupe? Personalization attempts to solve this by building a user profile from search history to disambiguate intent. However, a critical gap remains in search research: How many related queries do we actually need to understand the current one? While long-term profiles are common, they can be computationally expensive to maintain and may become irrelevant as a user's focus shifts. This paper specifically investigates the impact of "short-term context"—the sequence of queries within a single task—on ranking effectiveness.

Methodology

The researchers conducted a pilot user study where participants performed specific information-seeking tasks. To test the impact of history, they followed a three-step re-ranking paradigm:

  1. Identify Related Queries: Queries were grouped by task.
  2. Construct Context: A "context vector" was built (using TF-IDF) by aggregating the best results from previous queries in that same task.
  3. Re-rank: Top 10 results from a standard search engine were re-ordered based on a combination of their original rank and their cosine similarity to the context vector.

Notably, the authors introduced a novel metric called Weighted Rank Distance (WRD). Unlike standard metrics that treat all positions equally, WRD places higher importance on getting the top-ranked results right, reflecting how users actually interact with search engines.

Experimental Setup

The study utilized a high-quality dataset involving expert Web users performing 20 distinct tasks, ranging from general hobbies to technical programming.

Table 1: Examples of tasks and their corresponding search queries used to evaluate personalization context.

The dataset included 164 total queries across 24 completed tasks. Instead of simple binary labels, participants provided ranked relevance judgments, identifying which specific results they preferred over others, allowing for a finer-grained evaluation of ranking quality.

Key Results

The experimental results across multiple metrics (NDCG, Kendall-Tau, and WRD) showed a clear trend regarding the utility of search history.

Table 2: Performance metrics across history lengths 1 through 5. Each metric block shows baseline, personalized, and percentage improvement.

The Law of Diminishing Returns

The most significant jump in search quality happens when moving from zero context to just one or two previous queries. Adding a third, fourth, or fifth query provides marginal gains and can sometimes even hurt performance.

  • NDCG (Relevance): Improved from a baseline of 0.643 to 0.677 with just one query of history (a 5.3% lift). It peaked around 4 queries but dropped slightly at 5.
  • WRD (Ranking Quality): The novel WRD(2) metric showed a 7.5% improvement with one query of history and a 13.2% improvement with two.
  • The "History Ceiling": Beyond two queries, the relative improvement slowed down significantly. For example, the jump from 2 to 3 queries only added about 1.6% improvement in WRD(2).

Disambiguation vs. Noise

Personalization is most useful for ambiguous queries. For "perfectly clear" queries, history adds little value. For ambiguous ones, a long history provides more information but also introduces "noise" as the user's specific sub-topic evolves. The authors observed that users often move from general to specific terms or explore different facets of a topic. In the latter case, the vocabulary from one aspect might actually bias the search away from what the user needs in the next step.

Conclusion and Future Work

This study demonstrates that while personalization generally improves search results, the "sweet spot" for history length is surprisingly short. Most benefits come from just the last one or two queries in a session. Future systems need to be more "careful" when using results from related but different aspects of a topic to avoid biasing the search in the wrong direction. Identifying task boundaries and "best" results remains a noisy, difficult process that warrants further investigation in real-world settings.

Summary updated

BibTeX
@inproceedings{zhu2008impact,
  author = {Yangbo Zhu and Jamie Callan and Jaime G. Carbonell},
  title = {{The impact of history length on personalized search}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2008},
  url = {https://openreview.net/forum?id=B1ZsQLZOZS},
}
Figure