TL;DR
This paper introduces a novel training framework for fast ad matching models in search engines. It tackles the challenge of balancing model accuracy with strict latency requirements by using powerful, but undeployable, "teacher" models to generate weak annotations for unlabeled search log data. This allows for learning a deployable "student" model that significantly improves performance and data efficiency compared to traditional methods.
What Problem Does This Paper Address?
In sponsored search systems, a critical component is the "fast matching model" which quickly retrieves a relevant subset of ads from a massive corpus for a given user query. This model faces two major challenges:
- Accuracy vs. Latency: To handle the immense volume of user requests, these models must be extremely fast, which often means using simpler, less accurate architectures (like Siamese networks). More complex, accurate models are often "inseparable" and too slow for online deployment.
- Data Scarcity: Training these models typically relies on expensive, human-annotated relevance labels. While vast amounts of unlabeled search log data exist, effectively leveraging it for relevance matching is underexplored. Existing methods using click data are often noisy and oversimplified.
This paper aims to bridge this gap by enabling the training of accurate, yet deployable, fast matching models that can effectively utilize both limited human labels and abundant unlabeled search log data.
Methods
The proposed framework employs a "teacher-student" paradigm, where stronger, undeployable models act as teachers to train a deployable student model. The process involves four key steps:
- Annotator Training via Multi-Task Learning (MTL): Powerful, but undeployable, models (like Deep Crossing or decision tree ensembles) are trained on the available human-labeled data. To maximize their learning, they are trained on multiple auxiliary tasks derived from the fine-grained relevance labels, using an MTL approach.
- Weak Annotation Generation: These trained "annotator" models are then used to assign scores (weak annotations) to both the labeled and unlabeled search log data.
- Deployable Model Training on Unlabeled Data: A deployable model (e.g., CDSSM) is first trained on the weakly annotated unlabeled data. This step leverages the vast amount of available search log data.
- Fine-tuning with Label-Aware Weighted Loss: Finally, the deployable model is fine-tuned on the scored labeled data. A novel "label-aware weighted loss" function is introduced to balance the influence of human labels and the scores from the annotator models, giving more weight to samples where the annotator's score and the human label disagree.
Datasets
The experiments were conducted using three types of datasets sampled from a commercial search engine's search logs:
- Labeled Data: Human-judged relevance labels for query-ad pairs.
- Unlabeled Data: Query-ad pairs from search logs without explicit relevance labels.
- Clicked Data: A subset of unlabeled data specifically containing clicked query-ad pairs, used for comparison with traditional click-based baselines.
The paper does not introduce new benchmarks but rather uses these real-world datasets to evaluate the proposed framework against existing methods.
Key Insights and Ideas
- Leveraging "Undeployable" Models as Teachers: The core idea is that complex, accurate models that are too slow for online use can still be invaluable offline for generating high-quality training signals for simpler, deployable models. This decouples model architecture complexity from training data requirements.
- Multi-Task Learning for Stronger Annotators: By training annotator models on multiple, related tasks derived from fine-grained labels, their ability to capture nuanced relevance signals is significantly enhanced.
- Principled Use of Unlabeled Data: The framework offers a robust way to utilize unlabeled search logs, avoiding the noise and oversimplification issues associated with using click data alone.
- Label-Aware Weighted Loss: This novel loss function intelligently combines human labels and annotator scores, allowing for more effective fine-tuning by considering the confidence and agreement between different sources of information.
Key Results
The proposed framework demonstrated significant improvements:
- Performance Boost: The fast matching model trained using the proposed framework outperformed a baseline trained solely on user clicks by a large margin (e.g., 9.8% for ROC AUC and 9.32% for PR AUC).
- Data Efficiency: The framework achieved comparable performance to a baseline trained on the entire labeled dataset, using only 20% of the labeled data. This highlights a substantial reduction in the dependency on expensive human annotations.
- Comparison to Baselines: When fine-tuned on labeled data, the proposed method with combined annotators (DC + DT) achieved a 4.5% higher ROC AUC and 3.2% higher PR AUC compared to the labeled-only baseline.
Limitations and Future Work
- Computational Cost of Annotators: While the final deployed model is fast, training the powerful "teacher" annotator models can be computationally intensive.
- Hyperparameter Tuning: The effectiveness of the label-aware weighted loss depends on the hyperparameter $\theta$, which requires tuning.
- Future Work: The authors suggest exploring more sophisticated annotation models and mapping functions, as well as investigating the framework's applicability to other search-related tasks. The potential for further reducing reliance on human labels remains a key area for future research.
Summary updated