Effective Evaluation using Logged Bandit Feedback from Multiple Loggers

Aman Agarwal, Soumya Basu, Tobias Schnabel, Thorsten JoachimsKDD 2017 · DOI

Abstract

Accurately evaluating new policies (e.g., ad-placement models, ranking functions) is a prerequisite for improving interactive systems. While online A/B tests are standard, counterfactual estimators offer an inexpensive offline alternative using historical log data. This paper addresses the challenge of estimating target policy performance when logs come from multiple historical policies. We demonstrate that naively combining such data can be highly suboptimal, with standard Inverse Propensity Score (IPS) estimators suffering from increased variance when logging and target policies diverge. We propose two alternative estimators—Balanced IPS and Weighted IPS—that provide substantially improved estimation accuracy, supported by both theoretical characterization and experimental results.

The Challenge of Multiple Loggers

In interactive systems like search engines or recommendation platforms, policies are updated frequently. This results in historical logs generated by a sequence of different "logging policies." Counterfactual evaluation aims to use these logs to predict the performance of a new "target policy" without running a live A/B test.

The standard approach uses Inverse Propensity Scoring (IPS) to re-weight historical actions based on the probability the target policy would have chosen them. However, when logs from multiple policies are combined naively, the estimator's variance can skyrocket.

The "More Data is Worse" Paradox

A counterintuitive finding in this research is that adding more data can actually degrade the accuracy of the standard IPS estimator. If a logging policy is highly divergent from the target policy (i.e., it rarely selects actions the target policy prefers), the resulting samples introduce significant noise into the estimate.

The "More Data is Worse" Paradox. Values below 1.0 indicate that throwing away data from a divergent logger actually improves the naive estimator's precision.

As seen in the figure above across three different datasets (Scene, Yeast, and LYRL), for various ratios of data ($r_1$) and divergence levels ($v_1$), the variance ratio often falls below 1.0. This confirms that a "bad" logger can drown out the signal from more relevant data sources, making the naive combination of all available data suboptimal.

Proposed Estimators

To overcome these limitations, the authors propose two new estimators:

  1. Balanced IPS Estimator: This method treats the multi-source dataset as if it were generated by a single "mixture" policy. By normalizing propensities against the average probability across all loggers, it stabilizes the importance weights. The paper provides a formal proof that Balanced IPS always has equal or lower variance than the naive approach.
  2. Weighted IPS Estimator: This approach assigns optimal weights ($\lambda$) to each logging policy. By prioritizing loggers that are "closer" to the target policy, it minimizes overall variance. The authors also provide a practical method to estimate these weights empirically from the log data itself.

Experimental Results

The proposed methods were evaluated on three multi-label classification datasets (Scene, Yeast, LYRL) converted into contextual bandit problems.

Performance of the Balanced IPS Estimator. Values consistently below 1.0 demonstrate the significant variance reduction achieved by the balanced approach compared to the naive estimator.

The results consistently show that the Balanced IPS estimator significantly reduces variance compared to the naive approach. The improvement is most pronounced when logging policies are highly divergent, where the naive estimator's performance is most fragile. Across all datasets, the balanced and weighted approaches provide a more stable and accurate evaluation of target policies.

Conclusion

Evaluating policies using logs from multiple sources is a common practical requirement as systems evolve. This research demonstrates that standard methods are ill-equipped for this task, potentially leading to the paradox where more data leads to worse estimates. The proposed Balanced and Weighted IPS estimators provide a robust and theoretically grounded solution, offering substantial improvements in evaluation accuracy for real-world interactive systems.

Summary updated

BibTeX
@inproceedings{agarwal2017effective,
  author = {Aman Agarwal and Soumya Basu and Tobias Schnabel and Thorsten Joachims},
  title = {{Effective Evaluation using Logged Bandit Feedback from Multiple Loggers}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2017},
  doi = {10.1145/3097983.3098155},
}
Figure