A Simple yet Effective Framework for Active Learning to Rank

Qingzhong Wang, Haifang Li, Haoyi Xiong, Wen Wang, Jiang Bian, Yu Lu, Shuaiqiang Wang, Zhicong Cheng, Dejing Dou, Dawei Yin · DOI

TL;DR

This paper tackles the challenge of efficiently training Learning to Rank (LTR) models for search engines by proposing a novel active learning framework. They introduce two complementary criteria, Ranking Entropy (RE) and Prediction Variance (PV), to intelligently select the most informative queries for human annotation, significantly reducing labeling costs while improving model performance.

What Problem Does This Paper Address?

Training effective Learning to Rank (LTR) models for search engines like Baidu requires a massive amount of labeled data. This data typically consists of queries paired with relevant webpages, where human annotators assign relevance scores. However, manually labeling trillions of webpages for billions of daily queries is prohibitively expensive and time-consuming. Active learning aims to alleviate this by intelligently selecting the most informative samples for annotation. The challenge lies in defining what "informative" means in the context of ranking, especially at web-scale, and ensuring that the selected samples lead to substantial improvements in the LTR model's performance. Existing active learning methods often struggle with the scale and specific characteristics of web search ranking.

Methods

The core of this paper is a novel active learning framework for ranking that introduces two new criteria for query selection:

  • Ranking Entropy (RE): This criterion, based on the Query-By-Committee (QBC) method, measures the uncertainty in the ranking of webpages for a given query across multiple LTR models. High RE suggests that the models disagree on the ranking order, indicating a potentially informative query for training.
  • Prediction Variance (PV): This criterion measures the variance of predicted ranking scores for webpages associated with a query. It aims to capture the diversity of ranking scores, assuming that queries with a wide range of predicted scores for their associated webpages are more informative.

The authors combine these two criteria into a single acquisition function: $f(q_i) = RE(q_i) + \alpha \cdot PV(q_i)$, where $\alpha$ is a hyperparameter balancing the two factors. Queries with the highest $f(q_i)$ values are selected for annotation.

Datasets

The paper utilizes several datasets for training and evaluation:

  • Baidu Search Data: The primary dataset used is derived from Baidu's search engine logs. For offline experiments, they construct a dataset of 15,000 queries and 900,000 documents, with labels ranging from 0 to 5. For online experiments, they use 0.6% of real-world web traffic, selecting 500 queries per day with approximately 60 retrieved webpages each.
  • Existing LTR Datasets: For comparison, they also reference and utilize data from established LTR benchmarks: Yahoo set1 and set2, and Microsoft.

Key Insights and Ideas

  • Complementary Nature of RE and PV: The paper highlights that RE tends to favor low-frequency queries, which might be difficult to rank due to a lack of supervisory signals. Conversely, PV tends to favor high-frequency queries. Combining them creates a balanced approach that leverages both uncertainty and diversity across different query frequencies.
  • PV as a Proxy for Label Variance: The study empirically demonstrates that Prediction Variance (PV) significantly correlates with the actual variance of human-annotated ground truth ranking scores (Label Variance or LV). This suggests PV is a reliable indicator of ranking difficulty and webpage diversity for a query.
  • Information Gain from Diverse Queries: The research indicates that queries with higher webpage diversity (as measured by LV or PV) are more informative for LTR training, leading to better model performance.
  • Balancing Uncertainty and Diversity is Key: The proposed combined approach (RE+PV) effectively balances the selection of uncertain queries (RE) with diverse queries (PV), leading to more robust and informative sample selection for active learning.

Key Results

  • Offline Experiments: The proposed RE+PV approach achieved a relative improvement in DCG4 (average DCG4 improvement over random selection) ranging from 0.35% to 1.38%, and a 43% increase in valid training pairs compared to random selection. It also generated 50% more neg-pos pairs, crucial for training pairwise loss LTR models.
  • Online Experiments: The RE+PV approach boosted DCG4 by up to 0.35% compared to random selection. It also reduced the percentage of irrelevant webpages in the top K results (R01) by up to 2.6% on low-frequency queries.
  • Comparison to Baselines: The RE+PV method consistently outperformed random selection and the ELO-DCG baseline in both offline and online experiments, demonstrating its effectiveness in improving LTR model performance with reduced labeling effort.

Limitations and Future Work

  • Limitations: The paper acknowledges that while RE favors low-frequency queries and PV favors high-frequency queries, the optimal balance ($\alpha$) might vary. The study focuses on relatively low-complexity criteria for sample selection.
  • Future Work: The authors suggest exploring cold-started active learning using pre-trained models and investigating the integration of Artificial Intelligence-Generated Content (AIGC) for search engines to better satisfy user demands. They also mention that more complex sample set selection algorithms exist but are outside the scope of this paper due to scalability concerns.

Summary updated

BibTeX
@article{wang2024simple,
  author = {Qingzhong Wang and Haifang Li and Haoyi Xiong and Wen Wang and Jiang Bian and Yu Lu and Shuaiqiang Wang and Zhicong Cheng and Dejing Dou and Dawei Yin},
  title = {{A Simple yet Effective Framework for Active Learning to Rank}},
  journal = {Mach. Intell. Res.},
  year = {2024},
  doi = {10.1007/s11633-023-1422-z},
}
Figure