Introduction
Query Auto-Completion (QAC) is a standard feature in modern search engines, designed to predict and suggest full queries as users type. While personalization—leveraging a user's recent search history—is a common strategy to improve relevance, it is not universally beneficial. A "one-size-fits-all" approach to personalization can degrade user experience when a user's intent shifts from previous topics to new, generic, or popular interests. For instance, a user who recently searched for "pizza" may type "a" intending to find "anchovies" (personalized) or "Amazon" (popular). The core challenge addressed in this research is determining the optimal balance between historical context and global popularity in real-time.
The SP-QAC Model
The authors introduce SP-QAC (Selectively Personalizing Query Auto-Completion), a framework that replaces fixed personalization weights with a dynamic "dimmer switch" approach. Using a logistic regression model, SP-QAC predicts the optimal trade-off parameter ($\phi$) for each keystroke based on three primary signals:
- Typed Prefix Signal ($f_p$): This measures whether the current prefix matches terms used earlier in the session. A match strongly suggests the user is refining a previous thought, warranting higher personalization.
- Search Satisfaction ($f_d$): By calculating the semantic similarity (via word2vec) between a query and the description of the clicked document, the system estimates user satisfaction. High satisfaction often indicates a completed task, signaling the system to reduce personalization for subsequent queries.
- Topic Shifts ($f_q$): The model monitors the semantic distance between consecutive queries. Significant jumps in topic suggest a shift in intent, prompting the system to rely more on global popularity (MPC).
Experimental Setup
The model was evaluated using the AOL query log dataset. The researchers preprocessed the data to remove navigational queries and single-query sessions to ensure sufficient context for personalization. To facilitate semantic analysis, clicked URLs were mapped to descriptions from the Open Directory Project (ODP) and converted into vector representations.
Results and Analysis
The performance of SP-QAC was measured using Mean Reciprocal Rank (MRR). The model was compared against two baselines: the non-personalized Most Popular Completion (MPC) and a state-of-the-art personalized model with a fixed weight (P-QAC).
Performance by Prefix Length
SP-QAC demonstrated significant improvements over both baselines, particularly for short prefixes. As shown in the table below, the gains are most pronounced when the system has the least amount of textual input (1–3 characters), which is typically the most difficult stage for auto-completion.
Impact of Session Depth
The model's effectiveness also scales with session depth. As a user progresses through a search session and more context is gathered, SP-QAC's ability to selectively apply that context allows it to widen the performance gap over non-adaptive models.
Ablation studies revealed that the typed prefix signal ($f_p$) is the most influential factor in the model's success. When the prefix matches the session buffer, personalization is almost always the optimal strategy.
Conclusion
SP-QAC proves that personalization in search is a variable, not a constant. By dynamically adjusting to real-time behavioral signals like topic shifts and satisfaction, search engines can avoid the pitfalls of "over-personalization." Future work may involve integrating long-term user profiles and more granular signals like dwell time to further refine the selective personalization dial.
Summary updated