Abstract
Query Auto-Completion (QAC) is a critical component of modern search engines, yet traditional ranking models often overlook the complex user behaviors occurring during the keystroke journey. This paper introduces the Two-Dimensional Click Model (TDCM), which accounts for both vertical position bias and horizontal skipping bias—the tendency of users to type past relevant suggestions. By modeling the decision to examine a list and the subsequent selection process, TDCM significantly improves prediction accuracy on both PC and mobile platforms.
Introduction
In the world of search, Query Auto-Completion (QAC) is the unsung hero of user experience. We’ve all come to rely on those helpful suggestions that appear as we type. However, behind the scenes, ranking these suggestions is surprisingly difficult. Most models only look at the final query a user clicks, ignoring the flurry of keystrokes and ignored suggestion lists that led there.
In their SIGIR '14 paper, Yanen Li and colleagues from UIUC and Yahoo Labs introduce a more nuanced way to look at this process: the Two-Dimensional Click Model (TDCM).
The Problem: Horizontal Skipping Bias
Traditional QAC models suffer from a "data resolution" problem. Most logs only record the final prefix and the final clicked query. This leads researchers to simulate user behavior by assuming the user examined every suggestion list for every character they typed.
However, real humans don't work that way. If you’re a fast typist, you might hammer out five characters before even glancing at the suggestion box. This creates Horizontal Skipping Bias: a user might "skip" a perfectly relevant suggestion simply because they were in the middle of a typing burst. If a machine learning model sees a relevant query that wasn't clicked and assumes it was "rejected" by the user, it learns the wrong lessons. The authors set out to model when a user actually stops to look (the horizontal dimension) and where they look in the list (the vertical dimension).
The Two-Dimensional Click Model (TDCM)
The authors propose the TDCM, which decomposes the QAC process into three sub-models:
- The Horizontal (H) Model: Predicts the probability that a user actually stops to examine the suggestion list after a specific keystroke. It uses features like typing speed, whether the user reached a word boundary (space), and the similarity of suggestions to previous ones.
- The Vertical (D) Model: Once a user decides to look, this models which positions in the list they are likely to examine (the classic "position bias").
- The Relevance (R) Model: Predicts the intrinsic relevance of a query candidate given the current prefix, using features like popularity (MPC), user history, and demographics.
The model is trained using an Expectation-Maximization (EM) algorithm, treating the "did the user look?" and "which rank did they see?" questions as latent (hidden) variables.
Datasets and Evaluation
The study utilizes a "high-resolution" QAC log—the first of its kind at the time—which recorded every single keystroke, timestamp, and the corresponding top 10 suggestions shown to the user. The dataset included 125,392 PC sessions and 31,227 iPhone 5 sessions. For evaluation, the researchers used a "Random Bucket" where the top 10 suggestions were randomly shuffled to provide an unbiased measure of true query relevance.
Key Insights
- The "Skipping" Phenomenon is Pervasive: In over 60% of sessions, users typed past a list that already contained their intended query in the top 3 positions. This confirms that "not clicked" does not mean "not relevant."
- Typing Speed as a Signal: Typing speed is the most critical feature for the Horizontal model. Faster typists are significantly more likely to skip suggestion lists.
- Mobile vs. PC Behavior: Mobile users tend to rely more on QAC than PC users. Interestingly, mobile users are more willing to look deeper down the suggestion list, likely because typing on a phone is more laborious than on a physical keyboard.
Results and Conclusion
The TDCM was evaluated using Mean Reciprocal Rank (MRR), a standard metric for ranking quality. TDCM outperformed the standard Most Popular Completion (MPC) and state-of-the-art 1D click models (like UBM and DBN) across all datasets. On the PC dataset, TDCM achieved an MRR@All of 0.525, compared to 0.447 for MPC. The gains were even more pronounced on the iPhone dataset, where TDCM reached an MRR@All of 0.580 (vs. 0.542 for MPC).
By accounting for the "keystroke journey," TDCM provides a more accurate reflection of user intent, particularly in mobile environments where interaction costs are higher. Future work may address the independence assumptions between prefixes to further refine the model's sequential predictive power.
Summary updated