Mining Web Query Hierarchies from Clickthrough Data

Dou Shen, Min Qin, Weizhu Chen, Qiang Yang, Zheng ChenAAAI 2007

Abstract

In this paper, we propose to mine query hierarchies from clickthrough data, which is within the larger area of automatic acquisition of knowledge from the Web. When a user submits a query to a search engine and clicks on the returned Web pages, the user's understanding of the query as well as its relation to the Web pages is encoded in the clickthrough data. With millions of queries being submitted to search engines every day, it is both important and beneficial to mine the knowledge hidden in the queries and their intended Web pages. We can use this information in various ways, such as providing query suggestions and organizing the queries. In this paper, we plan to exploit the knowledge hidden in clickthrough logs by constructing query hierarchies, which can reflect the relationship among queries. Our proposed method consists of two stages: generating candidate queries and determining "generalization/specialization" relations between these queries in a hierarchy. We test our method on some labeled data sets and illustrate the effectiveness of our proposed solution empirically.

Introduction

Web search queries are the primary interface for information retrieval, yet they are often short, ambiguous, and lack the context necessary for machines to fully understand user intent. While manual taxonomies like WordNet provide structured knowledge, they are labor-intensive to maintain and often fail to capture the dynamic, evolving vocabulary of the Web.

This research explores the automatic construction of query hierarchies—organizing terms into "is-a" relationships (e.g., recognizing that "BMW" is a specialization of "car")—by mining search engine clickthrough logs. These logs represent a vast repository of human knowledge, where user clicks act as a bridge between disparate search terms. By organizing this data into structured taxonomies, search engines can significantly improve query suggestions and the organization of search results.

A sample query hierarchy generated for the seed query 'bmw', categorizing related terms into Children, Brothers, and Parents.

Methodology

The proposed framework operates on three core assumptions regarding user behavior:

  1. Relatedness: Related queries tend to share a common set of clicked web pages.
  2. Subsumption: If query A is a parent of query B, the set of pages clicked for B should ideally be a subset of those clicked for A.
  3. Consistency: Specific queries (children) typically lead to more consistent and similar click patterns than general queries (parents).

To quantify these relationships, the authors introduce two metrics: Relative Coverage (RC), which measures the overlap of clicked pages between two queries, and Specificity (Spec), which measures the internal consistency of a query's click set.

The hierarchy construction follows a two-stage process. First, Candidate Generation identifies potential relatives by finding queries that share clicked pages above a certain threshold. Second, Relation Determination compares the RC and Spec scores. A query with significantly higher coverage is labeled the Parent; if coverage is balanced, the queries are considered Brothers.

Experimental Results

The system was evaluated using real-world data from Live Search. A key finding was the impact of how web pages are represented. The researchers compared using the page's full text, its search snippet, and a "Queries" representation—the set of other queries that led users to that specific page.

Surprisingly, the "Queries" representation consistently outperformed text-based methods in identifying related terms. This suggests that the collective intelligence of searchers provides a cleaner signal for relationship mining than the often-messy HTML content of web pages.

Accuracy comparison of different page representations, highlighting the performance boost from the Specificity metric (indicated by *).

Furthermore, the inclusion of the Specificity score proved vital for determining the direction of hierarchical relationships. As shown in the results, models incorporating Specificity (denoted with an asterisk in Figure 4) achieved a significant jump in accuracy. This metric helps filter out noise by rewarding queries that produce a tight, consistent set of clicks, allowing the system to more accurately distinguish between parents and children.

Conclusion

Mining clickthrough data offers a scalable way to build rich, dynamic query hierarchies. While challenges such as query ambiguity remain, the dual-metric approach of Relative Coverage and Specificity provides a robust foundation for organizing the search space. Future work will focus on scaling these methods to larger datasets and integrating them into live search features like automatic query expansion and enhanced suggestion engines.

Summary updated

BibTeX
@inproceedings{shen2007mining,
  author = {Dou Shen and Min Qin and Weizhu Chen and Qiang Yang and Zheng Chen},
  title = {{Mining Web Query Hierarchies from Clickthrough Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2007},
  url = {https://openreview.net/forum?id=HJ-_Lpe_br},
}
Figure