Abstract
Evaluating new ranking algorithms offline is notoriously difficult because historical logs rarely contain the exact ranked lists that a new algorithm would produce. This paper introduces two novel methods—Trunc-match and Rand-interleaving—that significantly boost data efficiency by focusing on relative comparisons between rankers rather than absolute performance metrics. By relaxing matching requirements, the authors achieved up to a 10x increase in usable data compared to standard offline evaluation techniques, while simultaneously increasing the sensitivity of the evaluation.
Introduction
In search engines and recommender systems, online A/B testing is the gold standard for evaluation. However, it is expensive, slow, and potentially risky to expose users to experimental results. Offline evaluation, which uses historical logs to predict how a new algorithm would perform, is the preferred alternative for rapid iteration.
The standard tool for offline evaluation is Inverse Propensity Scoring (IPS). However, IPS faces a massive data efficiency hurdle when dealing with ranked lists (slates). If an algorithm presents a list of $n$ items, there are $n!$ possible permutations. As $n$ grows, the probability that a historical log contains the exact same ordering as a new experimental ranker becomes vanishingly small. Consequently, most expensive historical data is discarded because it does not "match" the new ranker's output.
Proposed Methods
The authors propose moving away from absolute score estimation (like Click-Through Rate) toward offline comparison (determining if Ranker A is better than Ranker B). They introduce two techniques using uniformly randomized historical data:
- Trunc-match: Standard methods attempt to match the top $k$ items of a new ranker against a full list of $n$ items. Trunc-match first truncates the historical randomized log to only the top $k$ items. This mathematically increases the probability of a match from $1/P(n, k)$ to $1/k!$. While this sacrifices the ability to provide a point estimate of a metric, it is much more efficient for comparing two rankers.
- Rand-interleaving: This adapts "interleaving"—a highly sensitive online evaluation method—for the offline world. It takes two rankers (A and B), creates a combined interleaved list, and matches that against the randomized logs. This is the first time interleaving has been applied to offline evaluation, leveraging its inherent sensitivity to distinguish small differences between models with less data.
Experimental Setup
The researchers evaluated their methods using a real-world dataset from a large-scale commercial email search engine. The dataset comprised 1,034,343 queries collected over a two-week period. Rankings were presented to users uniformly at random (representing a small fraction of production traffic). Each query returned approximately 5 results, and the system recorded at most one click per query due to the specific UI overlay used in the service.
Key Results and Insights
Data Efficiency
The authors compared their methods against a baseline called Direct-match. As shown in the data retention table, the proposed methods utilize significantly more of the available log data.
For a ranking depth of $k=3$, Direct-match only retained about 8,886 queries. In contrast, both Trunc-match and Rand-interleaving retained over 80,000 queries—a nearly 10-fold increase in data utilization. This allows researchers to make decisions using a much larger sample size from the same historical logs.
Sensitivity and Confidence
In head-to-head tests between a known "better" ranker and a "worse" ranker, Rand-interleaving showed the clearest separation. While Direct-match often suffered from overlapping error bars (making it difficult to statistically confirm which ranker was superior), the proposed methods produced much tighter confidence intervals.
By sacrificing absolute accuracy for relative comparison, the system can keep significantly more data and reach statistically significant conclusions faster. Interleaving, even in an offline setting, remains a powerful "sensitivity booster," producing smaller error bars and allowing for the detection of subtle improvements in ranking logic.
Conclusion and Future Work
This research demonstrates that focusing on relative ranker comparison rather than absolute metric estimation can overcome the primary bottleneck of offline slate evaluation. The proposed Trunc-match and Rand-interleaving methods provide a robust framework for data-efficient model selection.
Future work will focus on extending these methods to non-uniformly randomized data (logged via existing production rankers), which would eliminate the need for showing users completely random results. Additionally, exploring more sophisticated interleaving variants could further improve the sensitivity of offline comparisons.
Summary updated