TL;DR
This paper investigates how to best generate training data for Semantic Embedding Models (SEMs) used in web search, specifically by formulating "pairwise judgments" from user click data. They discover that traditional methods used in Learning-to-Rank (LTR) are surprisingly suboptimal for SEMs, and propose new strategies that significantly improve SEM performance.
What Problem Does This Paper Address?
Semantic Embedding Models (SEMs) are powerful tools for understanding the meaning of text and are increasingly used in web search to match user queries with relevant documents. To train these models effectively, researchers often rely on large datasets of user interactions, like click logs from search engines. These logs are used to create "pairwise judgments," which essentially tell the model: "Given this query, document A is better than document B." The challenge is that the best way to derive these judgments from click data for SEMs isn't well understood. While established methods exist for Learning-to-Rank (LTR) tasks, the authors question whether these same methods are optimal for SEMs, which have a different objective (learning representations vs. learning ranking features).
Methods
The authors propose and evaluate several strategies for generating pairwise judgments from user click data. These strategies are categorized as "atomic" (basic comparisons) and "hybrid" (combinations of atomic strategies).
- Atomic Strategies:
- Clicked > Skipped: Assumes clicked results are preferred over results ranked higher but not clicked. (Standard LTR approach)
- Clicked > Clicked: Differentiates between clicked results based on their click-through rate (CTR).
- Clicked > Non-Examined: Assumes clicked results are preferred over results ranked below all clicked ones (likely never seen).
- Skipped > Non-Examined: Assumes skipped results are preferred over non-examined ones. (Less common in LTR)
- Hybrid Strategy:
- Clicked > Non-Clicked: A combination of "Clicked > Skipped" and "Clicked > Non-Examined."
The SEM architecture itself is described as a Siamese network that maps queries and document titles into a shared embedding space, trained using a hinge loss to maximize the similarity between relevant query-document pairs and minimize it for irrelevant ones. The training process uses stochastic gradient descent.
Datasets
The paper uses query logs and click-through data from a major commercial search engine. They construct two testing datasets:
- Test-1: A large dataset (23,000,000 pairwise judgments) derived from search query logs, consisting of randomly selected clicked and non-clicked results for queries and their top ten results.
- Test-2: A manually curated dataset (530,000 pairwise judgments) annotated by human experts, used to evaluate the model's alignment with human judgment.
Key Insights and Ideas
- LTR heuristics don't directly translate to SEMs: The most surprising finding is that the conventional "Clicked > Skipped" strategy, a staple in LTR, performs poorly for training SEMs. This suggests that the underlying goals of SEM training (learning semantic representations) require different data formulation than traditional ranking tasks.
- "Clicked > Non-Examined" is surprisingly effective for SEMs: This strategy, often overlooked in LTR, yields the best performance among the atomic strategies for SEM training. It seems to provide cleaner, more informative signals for learning embeddings.
- Hybrid strategies offer a balance: While "Clicked > Non-Examined" is strong, it might create a smaller dataset. The "Clicked > Non-Clicked" hybrid strategy, by incorporating more diverse (though potentially noisier) judgments, can slightly outperform the best atomic strategy by exposing the model to more training instances, leading to better long-term performance.
- Data diversity matters: Relying on a single atomic strategy can exclude many potentially useful training instances. Hybrid strategies, by combining judgments, increase the training data size and can lead to better generalization.
Key Results
- On Test-1, the "Clicked > Non-Examined" strategy achieved the highest precision among atomic strategies.
- The hybrid strategy "Clicked > Non-Clicked" slightly outperformed the best atomic strategy ("Clicked > Non-Examined") on Test-1, achieving a precision of approximately 0.64 compared to 0.62.
- On Test-2, the performance trends were similar, with "Clicked > Non-Examined" initially outperforming the hybrid strategy, but they converged to similar performance levels.
- The "Clicked > Clicked" strategy consistently led to a decrease in precision, indicating its pairwise judgments were nearly redundant.
Limitations and Future Work
- Limitations: The paper acknowledges that the "Clicked > Non-Clicked" hybrid strategy's advantage on Test-1 might be partly due to the test set's composition. The performance gap between atomic strategies narrows over time, suggesting that while initial data quality is important, sufficient training iterations can mitigate some issues.
- Future Work: The authors suggest incorporating additional signals into pairwise judgment formulation, exploring SEM variants, and leveraging more advanced language models (like BERT and large language models) for improved semantic understanding. They also highlight the potential of pairwise judgments for training future advanced semantic relevance models.
Summary updated