Mining query subtopics from search log data

Yunhua Hu, Ya-nan Qian, Hang Li, Daxin Jiang, Jian Pei, Qinghua Zheng

Introduction

Most web queries are either ambiguous or multifaceted. For instance, a search for "Harry Shum" might refer to a prominent Microsoft executive or a popular actor from the television show Glee. Similarly, a query like "Xbox" is multifaceted, potentially referring to the console hardware, specific games, or the online marketplace. For modern search engines, simply providing a list of links is insufficient; the system must understand these underlying subtopics to offer diverse results or relevant suggestions.

Search results for "harry shum" illustrating query ambiguity between an actor and a Microsoft executive.

While traditional approaches analyze the text content of search results, this paper argues that user behavior—specifically how individuals interact with results and refine their queries—provides a cleaner signal for identifying subtopic intent.

Methodology

The authors propose a clustering approach based on two newly formalized behavioral phenomena:

  1. One Subtopic per Search (OSS): This rule observes that if a user clicks multiple links within a single search session, those links almost always represent the same subtopic. Users are generally rational and do not typically jump between different meanings of a word in a single session.
  2. Subtopic Clarification by Keyword (SCAK): This rule notes that users often add "clarifier" keywords (e.g., "Harry Shum Glee" vs. "Harry Shum Microsoft") to narrow their search. These expanded queries serve as natural labels for subtopics.

The Algorithm

The system follows a multi-stage process to mine these subtopics:

  • Indexing: To manage the data efficiently, the system builds specialized prefix and suffix trees to store queries and their expanded versions. Query prefix and suffix trees used to store and organize expanded query keywords. Source, p. 5
  • Pruning: It filters out "false" expansions where there is no overlap in clicked URLs, ensuring keywords are genuinely related to the original intent.
  • Clustering: An agglomerative clustering algorithm groups URLs based on a weighted combination of OSS similarity (co-occurrence in sessions), SCAK similarity (shared keywords), and URL string similarity.
  • Post-processing: Final clusters are labeled using the most frequent keywords from the expanded queries.
Query prefix and suffix trees used to store and organize expanded query keywords.

Experimental Results

The method was evaluated using the TREC 2009 benchmark and two proprietary datasets (DataSetA and DataSetB) sampled from commercial search logs.

  • High Accuracy: On the TREC dataset, the method achieved an F1-measure of 0.925 for ambiguous queries and 0.896 for multifaceted ones.
  • Superior Clustering: The approach outperformed state-of-the-art content-based methods by 5.4% in precision and 6.1% in recall.
  • User Experience: In re-ranking applications, the method improved the "average click position" by 0.61 points, significantly reducing user effort. Human assessors preferred the subtopics generated by this method 60% of the time compared to baselines.

Key Insights and Discussion

The core innovation lies in treating user behavior as ground truth. By leveraging the "one sense" rule—which analysis showed to have an 84.2% average accuracy—the system avoids the noise inherent in document-text analysis. Furthermore, using the keywords users naturally add to their searches provides more intuitive subtopic labels than automated summarization.

However, the method faces limitations regarding data sparsity. It performs exceptionally well for popular "head queries" but struggles with "tail queries" that lack sufficient click data. Future work may involve incorporating additional features, such as session duration or document metadata, and exploring dynamic updates to account for evolving search intents.

Summary updated

BibTeX
@inproceedings{hu2012mining,
  author = {Yunhua Hu and Ya-nan Qian and Hang Li and Daxin Jiang and Jian Pei and Qinghua Zheng},
  title = {{Mining query subtopics from search log data}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2012},
  doi = {10.1145/2348283.2348327},
}
Figure