Abstract
Query segmentation is the process of taking a user’s search-engine query and dividing the tokens into individual phrases or semantic units. Identification of these query segments can potentially improve both document-retrieval precision, by first returning pages which contain the exact query segments, and document-retrieval recall, by allowing query expansion or substitution via the segmented units. We train and evaluate a machine-learned query segmentation system that achieves 86% segmentation decision accuracy on a gold standard set of segmented noun phrase queries, well above recently published approaches. Key enablers of this high performance are features derived from previous natural language processing work in noun compound bracketing. For example, token association features beyond simple N-gram counts provide powerful indicators of segmentation.
Introduction
When a user inputs a query like "two man power saw," a search engine must determine if the intent refers to [two man] [power saw] or [two] [man power] [saw]. This process, known as query segmentation, is vital for accurate document retrieval. Historically, this task relied on unsupervised heuristics such as Mutual Information (MI). However, these methods often struggle with the nuances of natural language in search queries. This paper proposes a supervised classification approach that leverages web-scale association features to significantly improve segmentation accuracy.
Methodology
The authors frame query segmentation as a discriminative classification task. A Support Vector Machine (SVM) is trained to evaluate every pair of adjacent words and determine the presence of a segment boundary.
Feature Engineering
The core innovation of this work is the adaptation of features from Noun Compound (NC) bracketing research. These features include:
- Indicator Features: Basic linguistic data such as Part-of-Speech (POS) tags and the relative position of tokens within the query.
- Web-based Statistical Features: Leveraging web-scale data to determine the frequency of word pairs in specific contexts.
- Query Log Statistics: Frequency of phrases appearing as standalone queries in the AOL search logs.
By providing the raw components of statistical measures (like individual log counts) as separate features, the SVM can learn the optimal weights for each component, rather than relying on a fixed formula like standard MI. This approach alone improved performance by 4%.
Experimental Setup
The system was evaluated using a subset of the AOL search query database, specifically focusing on noun phrase queries of four or more words. A "gold standard" dataset of 1,500 manually annotated queries was used for training and testing. Notably, inter-annotator agreement on full query segmentation was only approximately 60%, reflecting the inherent subjectivity of the task.
Results and Discussion
The supervised approach demonstrated a substantial improvement over the MI-based baseline. The inclusion of context and dependency features further refined the model's ability to identify boundaries by considering the influence of surrounding tokens.
Key findings include:
- Accuracy Gains: The proposed system achieved 86.3% segmentation decision accuracy, compared to 68.0% for the MI baseline.
- Query-Level Performance: Full query accuracy (correctly identifying all breaks) rose from 26.6% to 63.8%.
- Web vs. Corpus Stats: Statistics derived from the entire web proved more effective for search queries than those from curated linguistic corpora, likely due to the prevalence of slang and brand names in user queries.
Conclusion
This research demonstrates that transforming query segmentation into a supervised learning task with rich, web-scale features yields significant performance improvements. While current work focuses on noun phrases, future research will explore broader query types involving verbs and prepositional idioms. Additionally, measuring the end-to-end impact of improved segmentation on search engine relevance remains a key objective.
Summary updated