Learning Semantic Query Suggestions

Edgar Meij, Marc Bron, Laura Hollink, Bouke Huurnink, Maarten de Rijke

Abstract

Most search engines offer query suggestions based on term frequencies, which often fail to capture the underlying user intent. This paper introduces a supervised machine learning framework designed to transform short, ambiguous user queries into formal semantic concepts from DBpedia. By integrating traditional information retrieval with concept-specific features and session history, the authors achieved a 0.89 Precision@1, effectively bridging the gap between raw text and the Linked Open Data cloud.

Introduction: The Semantic Gap

Standard query suggestion systems typically suggest strings like "apple pie" when a user types "apple." However, these systems lack a conceptual understanding of whether "apple" refers to the fruit or the technology company. Semantic query suggestion aims to bridge this gap by mapping queries to structured knowledge bases. The primary challenge lies in the brevity of user queries, which lack the linguistic context required by standard semantic tagging tools.

Methodology

The proposed framework operates in two distinct stages: candidate retrieval and supervised reranking.

1. Candidate Retrieval

The system first identifies a list of potential DBpedia concepts using a language modeling framework for Information Retrieval (IR). The authors explored two strategies: breaking the query into every possible sub-phrase (N-grams) and treating the entire query as a single unit.

Table 1: Examples of N-grams and their corresponding candidate concepts from DBpedia.

As shown in the table above, decomposing a query like "obama white house" into N-grams generates a wide array of candidates, ranging from specific individuals to geographic locations, which must then be disambiguated.

2. Supervised Reranking

To select the most relevant concept from the candidate list, the authors employed machine learning classifiers, including Support Vector Machines (SVM), Decision Trees (J48), and Naive Bayes. The performance of these models depends heavily on a robust set of features.

Feature Engineering

The "secret sauce" of this approach is a comprehensive feature set categorized into four types: query-specific N-gram features, concept metadata from DBpedia, combined query-concept matches, and session history signals.

Table 2: Comprehensive list of features used for supervised reranking, categorized by type.

Experimental Setup and Results

The system was evaluated using 264,503 real-world queries from the Netherlands Institute for Sound and Vision and the Dutch version of DBpedia. A manual gold standard of 629 high-quality queries was used for benchmarking.

Key findings include:

  • Superiority of Full-Query Processing: Treating the query as a single unit outperformed N-gram decomposition. While N-grams can identify multiple entities, they often introduce noise that degrades classifier performance.
  • Structural Signals: Features derived from DBpedia's graph structure—specifically inlinks and redirects—were highly informative. Popular, well-connected concepts are statistically more likely to be the intended targets.
  • Performance: The SVM classifier using full-query features achieved a Precision@1 of 0.8908 and a Success Rate@5 of 0.8963, significantly outperforming the baseline IR approach (P1 of 0.56).

Conclusion

This research demonstrates that supervised learning, combined with rich structural and contextual features, can effectively map ambiguous search queries to formal concepts. While session history provides a helpful boost, the most critical factors are the use of the full query string and the exploitation of the knowledge base's internal link structure. Future work may extend this framework to handle typos and suggest related concepts beyond exact matches.

Summary updated

BibTeX
@inproceedings{meij2009learning,
  author = {Edgar Meij and Marc Bron and Laura Hollink and Bouke Huurnink and Maarten de Rijke},
  title = {{Learning Semantic Query Suggestions}},
  booktitle = {ISWC},
  year = {2009},
  doi = {10.1007/978-3-642-04930-9\_27},
}
Figure