Query chains: learning to rank from implicit feedback

Filip Radlinski, Thorsten Joachims

Introduction

In the field of Information Retrieval, the challenge of ranking documents effectively is compounded by the subjective and context-dependent nature of relevance. While machine learning offers a path toward optimizing ranking functions, it typically requires vast amounts of labeled training data. Traditional approaches rely on either expensive explicit feedback (user ratings) or abundant but noisy implicit feedback (click logs). This paper by Filip Radlinski and Thorsten Joachims (2005) introduces the concept of "query chains"—sequences of reformulated queries within a single user session—as a rich source of implicit feedback that captures user intent more holistically than isolated queries.

The Problem with Local Implicit Feedback

Standard implicit feedback models are often "local." If a user enters a misspelled query, finds no relevant results, and subsequently reformulates the query to find what they need, a standard system treats these as two unrelated events. The system fails to learn that the results clicked for the second query might actually be the intended targets for the first. By recognizing that query reformulations represent a user's attempt to refine their search, the authors leverage this "free" signal to improve rankings for initial, less successful queries.

User Behavior and the "One-Past" Rule

To ground their model in actual user behavior, the authors conducted an eye-tracking study. They observed that users generally scan search results from top to bottom and, crucially, tend to look at least one result beyond the one they eventually click. This behavior provides a reliable negative signal: if a user clicks the third result, the first and second results were likely seen and rejected, while the fourth result might not have been evaluated at all.

User scanning behavior relative to the clicked link, showing that users typically view abstracts below the one they click.

Methodology: Query Chains and Ranking SVMs

The proposed framework involves three primary stages:

  1. Query Chain Detection: Using a Support Vector Machine (SVM) classifier, the system groups queries into chains based on features such as temporal proximity, shared keywords, and result set overlap.
  2. Preference Generation: The authors define several strategies to transform clicks into pairwise preferences (e.g., "Document A is preferred over Document B"). These include standard strategies (skipping higher-ranked results) and chain-based strategies, where a click in a later query informs the relevance of documents in an earlier query.
  3. Ranking SVM with Term/Document Features: A modified Ranking SVM learns a linear retrieval function. By incorporating term-document pair features, the model can learn direct associations between specific query terms and documents even if those terms do not appear in the document text—effectively automating synonym discovery and spelling correction.
Implicit feedback strategies used to derive pairwise preferences from user interaction patterns.

Experimental Results

The effectiveness of the query chain approach was validated using logs from the Cornell University Library. The preference judgments derived from these chains showed an 84.5% agreement rate with explicit human relevance judges, nearly matching the 86.4% agreement rate between two different human judges.

In live interleaving evaluations, the model trained on query chains (rel_QC) significantly outperformed both the baseline search engine and models trained on clicks without chain context. Qualitatively, the system demonstrated an ability to "correct" queries; for instance, it successfully learned to associate the misspelled query "lexus" with the Lexis-Nexis database and the acronym "oed" with the Oxford English Dictionary.

Conclusion and Future Work

Query chains represent a powerful evolution in learning to rank, turning the user's search process into a teaching tool for the engine. While the current model treats all queries in a chain equally, future work could involve weighting the final, most refined query more heavily. Additionally, while the study focused on global ranking, the query chain framework is naturally suited for developing personalized search experiences that adapt to individual user trajectories.

Summary updated

BibTeX
@inproceedings{radlinski2005query,
  author = {Filip Radlinski and Thorsten Joachims},
  title = {{Query chains: learning to rank from implicit feedback}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2005},
  doi = {10.1145/1081870.1081899},
}
Figure