Abstract
This paper presents GEneric iNtent Encoder (GEN Encoder) which learns a distributed representation space for user intent in search. Leveraging large scale user clicks from Bing search logs as weak supervision of user intent, GEN Encoder learns to map queries with shared clicks into similar embeddings end-to-end and then fine-tunes on multiple paraphrase tasks. Experimental results on an intrinsic evaluation task - query intent similarity modeling - demonstrate GEN Encoder's robust and significant advantages over previous representation methods. Ablation studies reveal the crucial role of learning from implicit user feedback in representing user intent and the contributions of multi-task learning in representation generality. We also demonstrate that GEN Encoder alleviates the sparsity of tail search traffic and cuts down half of the unseen queries by using an efficient approximate nearest neighbor search to effectively identify previous queries with the same search intent. Finally, we demonstrate distances between GEN encodings reflect certain information seeking behaviors in search sessions.
Introduction
In web search, the words a user types often fail to capture their true underlying intent. Traditional retrieval methods rely on term overlap (bag-of-words) or general semantic similarity (like word2vec or BERT), but these approaches face significant hurdles. Vocabulary mismatch occurs when queries like "cheap cars" and "low-priced autos" share no words but have identical intent. Conversely, semantic drift occurs when queries like "Harvard student housing" and "Cornell student housing" are semantically similar but represent distinct intents due to location. Furthermore, a massive portion of search traffic consists of "long-tail" queries—unique or rare phrases that search engines struggle to interpret.
To bridge this gap, we developed the GEN Encoder, a neural model that maps search queries into a distributed intent space. By training on what users actually click rather than just the words they type, the model learns a generic representation of intent that groups queries seeking the same information, even if they are lexically distinct.
Methodology
The GEN Encoder utilizes a specialized architecture and a two-phase learning strategy to capture intent effectively.
Architecture
The model combines a character-aware recurrent neural network (Bi-GRU) with a hybrid embedding layer. The character-level component handles misspellings and rare words, while the Bi-GRU captures word order (e.g., distinguishing "horse racing" from "racing horse"). This is combined with a bag-of-words model via a residual layer to ensure robust representation.
Learning Strategy
- Phase 1: Weakly Supervised Learning: The model is trained on 200 million "co-click" groups from Bing logs. If two different queries lead users to click the same URL, the model learns to map those queries close together in the embedding space.
- Phase 2: Multi-Task Learning: To ensure the model doesn't overfit to click noise, it is fine-tuned on human-labeled paraphrase tasks for both search queries and natural language questions. This adds "generality" to the representations.
Datasets and Evaluation
We introduced three new benchmarks for Query Intent Similarity, sampled from Bing logs and labeled by human experts:
- General: A broad set of query pairs with varying intent match quality.
- Easy: Focuses on trivial variations like spelling errors.
- Hard: Targets "adversarial" cases where queries look similar but have different intents.
Training leveraged a massive dataset of 200M co-click groups, 800K query paraphrases, and 350K question paraphrases.
Key Results and Discussion
Superior Accuracy and Generality
GEN Encoder outperformed all baselines, including BERT and Google’s Universal Sentence Encoder (USE). On the "Hard" dataset, it achieved a 40.6% improvement in AUC over standard bag-of-words baselines. The study found that supervision from user clicks is more important than the specific neural architecture; even a simple encoder trained on co-clicks outperformed complex models trained only on general text.
Alleviating Tail Sparsity
By mapping rare queries to a continuous intent space, we can transfer knowledge from popular queries to the long tail. Using Approximate Nearest Neighbor (ANN) search, the system can identify previously seen queries with the same intent in just 10 milliseconds. This process effectively reduced the fraction of "unseen" queries from 38% to 19%.
Production Impact
When deployed in Bing’s online question-answering pipeline, the GEN Encoder doubled the coverage of answerable questions without losing quality. The model's efficiency—roughly 15ms for inference on a GPU—makes it highly viable for real-time web search applications.
Conclusion
The GEN Encoder demonstrates that implicit user feedback is a powerful signal for representing search intent. While the current model encodes queries in isolation, future work will explore deeper architectures like Transformers and incorporate session context to further refine intent understanding. Additionally, mapping queries and documents into the same intent space could revolutionize direct retrieval methods.
Summary updated