Long-term Off-Policy Evaluation and Learning

Yuta Saito, Himan Abdollahpouri, Jesse Anderton, Ben Carterette, Mounia Lalmas

TL;DR

This paper introduces LOPE, a novel framework for estimating the long-term impact of algorithms in online systems without requiring lengthy online experiments. LOPE decomposes reward functions to effectively leverage short-term signals, offering more accurate and robust estimations than existing methods, especially when long-term outcomes are noisy or assumptions are violated.

What Problem Does This Paper Address?

In online services like recommender systems and search engines, algorithms are constantly updated. While these updates aim to improve user experience or business metrics, their true impact might only become apparent over a long period (e.g., user retention after a year). Traditional methods for evaluating these long-term effects involve running A/B tests for extended durations, which is slow and resource-intensive. Alternatively, methods like Long-term Causal Inference (LCI) rely on a strong "surrogacy" assumption, which is often hard to satisfy in practice. Existing Off-Policy Evaluation (OPE) techniques can estimate long-term outcomes from historical data but struggle to incorporate valuable short-term signals, leading to high variance, especially when the long-term reward is noisy. This paper addresses the critical need for a method that can accurately estimate long-term outcomes using readily available historical data and short-term experiment results, without making restrictive assumptions.

Methods

The core contribution is the Long-term Off-Policy Evaluation (LOPE) framework. LOPE tackles the problem by:

  • Reward Function Decomposition: It breaks down the expected long-term reward into two components: a "surrogate effect" (predictable by short-term rewards) and an "action effect" (the residual). This decomposition is more general than the surrogacy assumption used in LCI.
  • Leveraging Short-Term Rewards: LOPE uses "surrogate importance weights" to estimate the surrogate effect, effectively incorporating information from short-term rewards to reduce variance. This is a key differentiator from standard OPE methods.
  • Handling Action Effects: The action effect is estimated using a reward regression model, similar to LCI.

This approach allows LOPE to be unbiased under a weaker condition than LCI (conditional pairwise correctness) and significantly reduces variance compared to typical OPE methods, especially when long-term rewards are noisy. Furthermore, LOPE can be extended to a long-term off-policy learning (OPL) method, enabling efficient optimization of long-term outcomes directly from historical data.

Datasets

The paper evaluates LOPE using:

  • Synthetic Data: Generated to systematically study the performance of LOPE under various conditions, including different data sizes, levels of surrogacy violation, reward noise, and policy parameters.
  • Real-World Data: Collected from a large-scale music streaming platform, comprising historical logged data and data from a 3-week A/B test involving millions of users and thousands of content items. This real-world dataset is used to validate LOPE's effectiveness in a practical, large-scale setting.

Key Insights and Ideas

  • The Power of Decomposition: Breaking down the reward function is key. It allows for specialized treatment of different reward components, enabling the use of short-term signals to stabilize estimates of the long-term outcome.
  • Surrogacy is Too Strict: The paper demonstrates that the strict surrogacy assumption of LCI is often violated in practice, leading to significant bias. LOPE's more relaxed formulation makes it more robust.
  • Short-Term Signals are Gold: Even "weaker" short-term signals (like clicks) can be incredibly valuable for reducing the variance of long-term outcome estimations, especially when the direct long-term signal is noisy.
  • A Unified Framework: LOPE bridges the gap between LCI and OPE, inheriting the strengths of both while mitigating their weaknesses.

Key Results

  • Improved Accuracy: In synthetic experiments, LOPE consistently achieved lower Mean Squared Error (MSE) compared to LCI, IPS, and DR across various scenarios, including small sample sizes, surrogacy violations, and high reward noise. For instance, LOPE showed a 71% reduction in MSE compared to LCI when data size was large and a 45% reduction compared to DR when long-term reward noise was high.
  • Robustness: LOPE demonstrated superior robustness to violations of the surrogacy assumption and high noise levels in long-term rewards, outperforming LCI significantly in these challenging conditions.
  • Effective Policy Learning: The extended LOPE-based policy learning method (LOPE-PG) achieved better long-term values than baseline methods (IPS-PG, DR-PG, Reg-based) in synthetic experiments, particularly in low-data regimes and with noisy rewards.
  • Real-World Validation: In the music streaming platform experiment, LOPE accurately estimated the long-term values of three different recommendation policies, outperforming DR by 9.2% to 15.0% in MSE. This highlights LOPE's practical applicability in large-scale industrial settings.

Limitations and Future Work

  • Short-Term Reward Preprocessing: The paper acknowledges that its framework assumes pre-processed short-term rewards. Future work could explore representation learning for short-term rewards to further improve bias and variance.
  • Comparability Assumption: Like existing LCI and OPE methods, LOPE assumes that the distributions of short- and long-term rewards are consistent between historical and experimental data (the "comparability assumption"). Temporal effects (e.g., seasonal preferences) could violate this. Developing a framework to handle non-stationarity would be valuable.
  • Longer-Term Metrics: While LOPE showed strong performance for week 3 metrics in the real-world experiment, evaluating its effectiveness for even longer-term outcomes remains an open area.

Summary updated

BibTeX
@inproceedings{saito2024long,
  author = {Yuta Saito and Himan Abdollahpouri and Jesse Anderton and Ben Carterette and Mounia Lalmas},
  title = {{Long-term Off-Policy Evaluation and Learning}},
  booktitle = {The Web Conference},
  year = {2024},
}
Figure