Mining Search Subtopics from Query Logs

Dan Zhu, Jianwei Cui, Jun He, Xiaoyong Du, Hongyan Liu

Abstract

This paper presents a practical approach to "subtopic mining"—the process of decomposing ambiguous, short search queries into their various intended meanings. By constructing a bipartite graph of queries and clicked URLs from search logs and applying the SimRank algorithm, the researchers successfully grouped related queries into distinct user intents. This method significantly improves the diversity and relevance of search results by leveraging user behavior rather than relying solely on textual similarity.

Introduction

Web search queries are notoriously brief and often ambiguous. A user searching for "Mars" might be interested in the planet, the chocolate brand, or music equipment. To be effective, search engines must identify these distinct "subtopics" to provide a diverse set of results that satisfy various potential intents. The challenge lies in automatically identifying these subtopics from massive, noisy datasets. While traditional methods rely on text similarity, this research leverages user behavior—specifically the relationship between queries and clicked URLs—to infer semantic similarity.

Methodology

The proposed system utilizes a multi-step pipeline to extract and group subtopics:

  1. Candidate Extraction: Queries containing the original search term as a substring are identified in the SogouQ log. Segmentation techniques are applied to filter out phonetic or linguistic noise.
  2. Bipartite Graph Construction: The relationship between queries ($q$) and URLs ($u$) is modeled as a bipartite graph. An edge is established if a user clicked a specific URL after performing a query.
  3. SimRank Similarity: To determine intent similarity, the authors use SimRank, a structural measure. The intuition is that two queries are similar if they link to similar URLs, and vice versa.
  4. Clustering: Queries with high similarity scores are clustered, with the most frequent query in each cluster serving as the subtopic representative.
  5. External Fallback: For "long-tail" queries missing from logs, the system uses suggestions from external engines (Google/Baidu) clustered via edit distance.
Bipartite graph illustrating the relationship between queries and clicked URLs.

Experimental Evaluation

The method was evaluated using the SogouQ Log Data, a large-scale dataset of real-world search logs, and benchmarks from the NTCIR-9 Intent Task (Chinese Subtopic Mining subtask). Performance was measured using I-rec (intent recall/diversity) and D-nDCG (relevance across intents).

Key Results

The system demonstrated strong performance across multiple rank thresholds. At the top 10 results (@10), the system achieved an I-rec of 0.4694 and a D-nDCG of 0.5620.

Performance metrics for subtopic mining at various rank thresholds.

A case study involving the query "The Prince changed to a frog" (a popular TV drama) further validated the approach. The system successfully identified and ranked diverse subtopics such as "Watch for free," "Download," "Theme song," and "Episode guide," showing that the most frequent user intents naturally rose to the top of the rankings.

Conclusion and Future Work

By using clicks as proxies for intent, the system moves beyond keyword matching to capture latent relationships between queries. However, the authors note that some redundancy remains in the generated subtopics (e.g., "Watch for free" vs. "Watch online"). Future work will focus on reducing this redundancy, incorporating session data for deeper context, and optimizing the computational efficiency of SimRank for production-scale graphs.

Summary updated

BibTeX
@inproceedings{zhu2011mining,
  author = {Dan Zhu and Jianwei Cui and Jun He and Xiaoyong Du and Hongyan Liu},
  title = {{Mining Search Subtopics from Query Logs}},
  booktitle = {NTCIR},
  year = {2011},
}
Figure