Abstract
Evaluating new ranking algorithms in search and recommendation systems typically relies on live A/B testing, which is both costly and potentially detrimental to user experience. Offline counterfactual evaluation via Inverse Propensity Weighting (IPW) offers a safer alternative but suffers from high variance and data sparsity. This paper introduces a "Learning to Evaluate" framework that employs an Imitation Ranker to parametrically estimate document propensities. By modeling the historical ranker's behavior and incorporating uncertainty, the proposed method provides more stable and accurate offline performance estimates than traditional empirical approaches.
Introduction
The deployment of improved ranking algorithms is central to the success of search and recommendation platforms. While A/B testing remains the gold standard for evaluation, its practical limitations necessitate robust offline evaluation techniques. Inverse Propensity Weighting (IPW) is the standard approach for unbiasing historical logs to predict the performance of a new "Measurement Ranker." However, IPW is often brittle. List-level matching fails when new rankings haven't appeared exactly in logs, and empirical propensity estimates—based on raw counts—are frequently sparse and noisy, leading to unreliable metrics and massive variance.
Methods
To address these limitations, the authors propose a parametric approach to propensity estimation. Instead of relying on raw counts, they train an Imitation Ranker ($M_{IR}$) to mimic the behavior of the historical "Observation Ranker."
- Imitation Ranker: A machine learning model (such as a neural network) is trained on the same features used by the original system to predict document scores and reproduce historical rankings.
- Uncertainty Modeling: The model infers a noise parameter ($\sigma$) to account for deviations between the model's predicted scores and actual historical behavior.
- SoftRank Recursion: These scores and noise parameters are transformed into a full probability matrix representing the "propensity" of any document appearing at any rank for a given query.
- Parametric IPW: These smoothed, feature-based propensities are used in the IPW formula. This allows the system to generalize to unseen (document, rank) pairs based on shared features, providing estimates even for rare occurrences.
Evaluation and Results
The framework was evaluated using the Yahoo Learning to Rank dataset. User clicks were simulated to create an "Observation Set" of 50,000 impressions to serve as historical logs. The results demonstrate that the parametric approach significantly outperforms empirical methods.
List-level matching was found to be highly biased, underestimating the "Number of Clicks" (NoC) metric by over 90% because it could not find enough exact matches in the logs. In contrast, the proposed Imitation Ranker method consistently produced estimates closer to the ground truth.
As shown in the comparison above, empirical propensities can lead to extreme variance. In "Setting 2," a small change in observation frequency caused the empirical NoC estimate to jump to 5, while the parametric estimate remained stable at 0.83, reflecting a more realistic prediction of the ranker's behavior.
Key Insights
- Generalization: Feature-based modeling allows the system to estimate propensities for new items by leveraging similarities to known items (e.g., identifying that "high-quality sports articles" generally rank high).
- Bias-Variance Tradeoff: While empirical counts have low bias in the limit, they are highly "jumpy" and sparse in practice. The parametric approach offers a "sweet spot," providing a stable estimate that is much closer to the ground truth.
- Model Capacity: High-capacity models, such as 3-layer neural networks, are essential for accurately imitating complex historical rankers across the entire list, rather than just the top positions.
Conclusion
Parametric propensity estimation via Imitation Rankers offers a promising path toward more reliable offline evaluation. By moving from simple counting to feature-based modeling, practitioners can gain more accurate insights from historical logs, reducing the need for risky live experiments. Future work involves integrating these system-bias models with sophisticated user-bias models (like position or trust bias) to further refine offline evaluation accuracy.
Summary updated