Abstract
Traditional search engines often require users to undergo multiple query reformulations before reaching their final information goal. This paper proposes a "final query prediction" framework that leverages machine learning to anticipate a user's ultimate search objective early in a session. By predicting the final, most effective version of a query, search systems can bypass the trial-and-error process, significantly improving search efficiency.
Introduction
Web search is frequently an iterative process. Users often start with broad or imprecise queries and refine them through a series of reformulations until they find the desired information. While standard recommendation systems suggest the next logical step in this chain, they often fail to capture the ultimate destination. This research addresses the challenge of identifying the "final query"—the most accurate representation of a user's information need—from the very first interactions in a session.
Methodology
The authors frame final query prediction as a Learning to Rank (LTR) problem. The goal is to rank a set of candidate queries based on the probability that a candidate represents the final query of the current session. The model utilizes Gradient Boosted Regression Trees (GBRT), a robust algorithm for ranking tasks.
To train the model, three categories of features were extracted:
- Session Features: Contextual data such as total session time and trends in query length.
- Query Pair Features: Metrics comparing the current query to candidates, such as n-gram overlaps.
- Final Query Features: Intrinsic properties of the candidate query, including historical popularity and click-through rates.
Experimental Setup
The study utilized the MSN RFP 2006 query log, comprising approximately 15 million queries. Data preprocessing involved standard normalization techniques and session splitting via a "Query Flow Graph." The analysis focused on sessions with more than four queries to ensure a meaningful study of the reformulation process. The final model was trained on 20,000 sessions and evaluated on a test set of 4,000 sessions.
Results and Analysis
Performance was evaluated using Precision at $k$ (P@k) and Mean Reciprocal Rank (MRR) across different stages of the session ($i=2, 3, 4$).
Key findings include:
- Early Prediction Accuracy: With only two queries of context ($i=2$), the model achieved a P@1 of 24.45%.
- Improvement with Context: Accuracy increased as the session progressed. At $i=4$, the P@1 reached 30.92%, and the P@5 reached 57.62%.
- Consistent Ranking: The MRR showed a steady upward trend, confirming that additional session data consistently improves the ranking of the correct final query.
Conclusion and Future Work
This study demonstrates the feasibility of shortening search sessions by predicting the user's ultimate goal. However, limitations remain, particularly in efficient candidate generation and the assumption that the last query is always the "best." Future research will explore more sophisticated semantic features and refined candidate selection methods to enhance the real-world applicability of this "shortcut" search service.
Summary updated