TL;DR
This paper tackles the challenge of reliably evaluating new recommender system policies offline using historical data. They propose novel "local bias modeling" estimators that outperform traditional methods by better accounting for variations in user behavior and reward signals, leading to more accurate offline A/B tests and faster iteration cycles.
What Problem Does This Paper Address?
Online A/B testing is the gold standard for evaluating new features or algorithms in production systems like recommender engines. However, it's slow, costly, and can introduce risks if a bad policy is deployed even to a small user subset. To accelerate development, researchers and engineers often turn to offline A/B testing, which uses historical logged data. The core problem is accurately estimating the uplift (performance difference) of a new policy (πt) compared to the current production policy (πp) using only data collected under πp. Traditional methods like Importance Sampling (IS) suffer from high variance, while capped versions (CIS) introduce bias. This paper aims to bridge this gap by developing estimators that achieve a better bias-variance trade-off, specifically for the complex and often sparse reward signals in recommender systems.
Methods
The paper introduces several estimators building upon existing counterfactual estimation techniques.
- Importance Sampling (IS): The foundational method, but prone to high variance due to the large action space (possible rankings of items).
- Capped Importance Sampling (CIS): Attempts to reduce variance by clipping importance weights, but this introduces bias. The paper argues that for recommender systems, CIS often fails to provide a good bias-variance trade-off, leading to unreliable decisions.
- Normalised Capped Importance Sampling (NCIS): A global bias modeling approach that attempts to correct the bias introduced by capping by rescaling. It's an improvement over CIS but still struggles with localized variations in user behavior.
- Piecewise Constant Model (PieceNCIS): This approach stratifies the data into groups (e.g., based on user segments or predicted reward) and applies NCIS within each group. This allows for more localized bias modeling.
- Pointwise Model (PointNCIS): The most sophisticated approach, which models the bias at the individual context level (X=x). It uses techniques like rejection sampling to estimate conditional expectations, aiming for the most accurate local bias correction.
The core novelty lies in the move from global bias correction (NCIS) to local bias correction (PieceNCIS and PointNCIS), recognizing that user behavior and reward signals can vary significantly across different contexts.
Datasets
The paper uses a proprietary dataset from a commercial recommender system, comprising data from 39 online A/B tests. This dataset includes:
- Logged data for the production policy (πp) and the test policy (πt).
- Contextual features (X) for each display.
- The chosen ranking (action a) and its probability under the logging policy.
- The observed reward (r), specifically a click-based metric.
The authors note that clicks are relatively rare, leading to high variance in the reward signal, which is a key challenge for offline evaluation.
Key Insights and Ideas
- Local bias is crucial: The paper strongly advocates for modeling bias at a local level (context-specific) rather than globally. This is because user behavior and the impact of recommendations can differ drastically between user segments (e.g., frequent vs. occasional shoppers, Prime vs. non-Prime members).
- CIS is often insufficient: For real-world recommender systems with sparse rewards, CIS struggles to achieve a useful balance between bias and variance, making it difficult to make confident decisions.
- Pointwise model offers the best trade-off: The PointNCIS estimator, which models bias at the individual context level, demonstrates the most promising results in terms of correlation with online A/B tests and a lower false negative rate.
- False negatives are more costly: The paper highlights that false negatives (offline says "no improvement" when there is one) are more detrimental than false positives (offline says "improvement" when there isn't), as they prevent potentially good features from being rolled out.
Key Results
- Improved Correlation: The PointNCIS estimator achieved the highest correlation (0.49 ± 0.13) between offline and online uplift estimates, significantly outperforming CIS (-0.15 ± 0.35) and NCIS (0.24 ± 0.18).
- Reduced False Negatives: PointNCIS achieved the lowest False Negative Rate (FNR) of 0.16 ± 0.09, compared to 0.64 ± 0.11 for CIS. This indicates that PointNCIS is much better at identifying actual improvements.
- Higher Precision: PointNCIS also showed improved precision (0.56 ± 0.13), meaning its positive offline predictions are more likely to be correct.
- Computational Efficiency: PointNCIS, like CIS, is computationally efficient as it primarily uses positive examples, making it suitable for sparse reward scenarios.
Limitations and Future Work
- Limitations of NCIS: The paper points out that NCIS's global bias correction can be problematic when different user groups respond differently to policies, potentially leading to incorrect conclusions (as illustrated by a counter-example).
- Need for a value model: PieceNCIS and PointNCIS require learning a value function or using sophisticated sampling techniques, which adds complexity and computational overhead.
- Future Work: The authors suggest exploring other ways to reduce estimator variance, such as combining multiple historical policies to create a mixture that is closer to the test policy. They also plan to investigate other bias modeling approaches.
Summary updated