Abstract: Many web systems rank and present a list of items to users, from recommender systems to search and advertising. An important problem in practice is to evaluate new ranking policies offline and optimize them before they are deployed. We address this problem by proposing evaluation algorithms for estimating the expected number of clicks on ranked lists from historical logged data. The existing algorithms are not guaranteed to be statistically efficient in our problem because the number of recommended lists can grow exponentially with their length. To overcome this challenge, we use models of user interaction with the list of items, the so-called click models, to construct estimators that learn statistically efficiently. We analyze our estimators and prove that they are more efficient than the estimators that do not use the structure of the click model, under the assumption that the click model holds. We evaluate our estimators in a series of experiments on a real-world dataset and show that they consistently outperform prior estimators.
Introduction
In web systems like search engines and recommender systems, the gold standard for evaluation is online A/B testing. However, A/B testing is expensive, potentially harms user experience, and is slow to iterate. The alternative is offline evaluation, where historical logs from a "logging policy" are used to estimate how a new "target policy" would have performed.
The standard approach uses Importance Sampling (IS). To get an unbiased estimate, IS looks for instances in the logs where the old policy happened to show the exact same list the new policy wants to show. However, the number of possible lists is astronomical ($L! / (L-K)!$). In practice, the exact same list is rarely seen twice, leading to estimators with massive variance or high bias if weights are "clipped" to manage that variance. This paper tackles this "curse of dimensionality" by breaking the list down into its constituent parts using structured models.
Methodology: Structured Estimators
The authors propose moving away from list-level evaluation toward item-level evaluation by incorporating click models—mathematical assumptions about how users interact with lists. They introduce several estimators based on different structural assumptions:
- List Estimator (Baseline): The traditional approach that treats the entire list as a single unit.
- Item-Position (IP) Estimator: Assumes the probability of a click depends only on the specific item and the position it occupies. This reduces the number of importance weights from the number of possible lists to just $K \times |E|$ (positions times items).
- Position-Based Model (PBM) Estimator: A more restrictive model that factors click probability into two independent parts: the probability the user examines a position and the probability the item is relevant.
- Item Estimator (DCTR): The simplest model, assuming click probability depends only on the item itself, regardless of position.
To handle the bias-variance tradeoff, Clipped Importance Sampling is applied to all these estimators. The framework is also extended to handle weighted metrics like Discounted Cumulative Gain (DCG).
Experimental Setup
The researchers evaluated their methods using the Yandex dataset, a massive real-world web search log containing over 167 million queries.
- Setup: A "leave-one-day-out" approach was used, treating 26 days of data as the "production set" (logged data) and the remaining day as the "evaluation set" (ground truth for the target policy).
- Metrics: Performance was measured using Root-Mean-Square Error (RMSE) across three problems: predicting clicks at the top 2 positions ($K=2$), top 3 positions ($K=3$), and the overall DCG.
Key Results and Insights
The structured estimators consistently and significantly outperformed the baselines across various query frequencies.
Accuracy Gains and Clipping
On the Yandex dataset, the IP estimator achieved errors that were 17.9% to 81.9% lower than the standard list estimator. As shown in the figure below for the 100 most frequent queries, the IP and Item estimators converge quickly to low RMSE values as the clipping parameter $M$ increases, significantly outperforming the list-based baseline.
Robustness to Sparsity
As the ranking task became more complex (moving from $K=2$ to $K=3$), the performance of the traditional list estimator degraded rapidly. In contrast, the structured estimators remained stable. This robustness is particularly evident in sparser data regimes. For less frequent queries, the structured estimators maintain stable performance, whereas the traditional list-level estimator (yellow line) exhibits significantly higher error and variance.
Theoretical and Practical Implications
- Structure as a Regularizer: By assuming a click model (like IP or PBM), the evaluation problem is essentially regularized, trading a small amount of potential model bias for a massive reduction in variance.
- The Bias-Variance Sweet Spot: Interestingly, the simplest model—the Item Estimator—often outperformed the more complex IP Estimator in data-sparse regimes because it has even fewer parameters to estimate.
- Policy Optimization: Because these estimators are more accurate, they can be used inside a Linear Program to find a better ranking policy offline before deployment.
Limitations and Future Work
While effective, the current framework assumes the total reward is a linear sum of individual item rewards, meaning it cannot currently model non-linear metrics (e.g., "did the user click at least one item?"). Additionally, the models do not yet account for the "cascade effect," where a user's decision to look at an item depends on their interaction with previous items. Extending these structured estimators to accommodate cascade models and non-linear rewards remains a key area for future research.
Summary updated