Off-Policy Evaluation Using Information Borrowing and Context-Based Switching

Sutanoy Dasgupta, Yabo Niu, Kishan Panaganti, Dileep Kalathil, Debdeep Pati, Bani K. Mallick

TL;DR

This paper introduces a novel approach to off-policy evaluation (OPE) in contextual bandits called DR-IC. It tackles the challenge of accurately estimating the performance of a new policy using data from an old policy by introducing "information borrowing" to reduce bias and a context-based switching mechanism to reduce variance, outperforming existing state-of-the-art methods.

What Problem Does This Paper Address?

In contextual bandits, a system observes a context, takes an action, and receives a reward. A common task is Off-Policy Evaluation (OPE), where we want to estimate how well a new policy would perform using data collected by an old (logging) policy. This is crucial because online experiments to evaluate every new policy are costly and risky. Traditional OPE methods like the Direct Method (DM) can be biased, while Inverse Propensity Scoring (IPS) can have high variance. The Doubly Robust (DR) estimator combines DM and IPS to mitigate these issues, but can still suffer from high variance when the logging and target policies differ significantly. This paper aims to improve upon DR by reducing both bias and variance, especially in scenarios with large differences between policies.

Methods

The paper proposes the Doubly Robust with Information Borrowing and Context-Based Switching (DR-IC) estimator, built on two core ideas:

  1. Information Borrowing Reward Model (DM-IB): Instead of treating all data points equally, this method borrows information from "similar" contexts to improve the reward model. It uses a correlation structure that depends on the importance weights (how likely the logging policy was to take the action compared to the target policy). This helps reduce bias, especially when the reward model doesn't perfectly fit the data.
  2. Context-Based Switching (DR-IC): This component adaptively switches between the improved DM-IB estimator and a modified DR estimator (which also uses information borrowing). The switching criterion is the Kullback-Leibler (KL) divergence between the logging and target policies for a given context. This measures how different the policies are in that specific context. If the KL divergence is low (policies are similar), the DR estimator is used; if it's high (policies are very different), the DM-IB estimator is preferred. This context-specific switching aims to reduce variance more effectively than previous methods that relied solely on individual importance weights.

Datasets

The experiments were conducted on the Open Bandit Pipeline library, using 10 multi-class classification datasets from the UCI Machine Learning Repository. These datasets were transformed into contextual bandit problems by treating classes as actions and classification error as loss (converted to reward). The datasets include: Ecoli, Glass, Wdbc, Vehicle, Yeast, Page-Blocks, OptDigits, SatImage, PenDigits, and Letter.

Key Insights and Ideas

  • Borrowing information from similar contexts is key: The paper highlights that not all data points are equally informative for OPE. By intelligently borrowing information from contexts that are similar to the one being evaluated, the reward model can be made more accurate and less biased.
  • KL divergence is a better switching criterion than importance weights: The authors argue that using KL divergence between policies at a context level is more robust for switching than using importance weights at a context-action pair level. This context-specific approach leads to more stable and effective switching.
  • Adaptive bandwidths matter: The experiments show that using adaptive bandwidths in kernel methods, informed by importance weights, significantly improves performance compared to fixed bandwidths. This allows the model to dynamically adjust how much information it borrows.

Key Results

  • The proposed DM-IB estimator shows significant practical improvement over the standard DM, especially in reducing bias.
  • The full DR-IC estimator, incorporating context-based switching, consistently outperforms state-of-the-art methods across various datasets and reward distributions (deterministic and stochastic).
  • In seven out of eight cases for deterministic rewards, DR-IC significantly outperforms other methods.
  • The KL divergence-based switching in DR-IC is shown to be more effective than importance weight-based switching in 12 out of 20 cases considered.
  • The paper provides theoretical guarantees, showing that the bias of the DM-IB estimator converges to zero, and the MSE of DR-IC is bounded by O(1/n).

Limitations and Future Work

  • Hyperparameter Optimization: The paper acknowledges that finding the optimal threshold parameter for the KL divergence switching is crucial and proposes a method to minimize the estimated MSE. However, further research into better optimization schemes for this tuning parameter is suggested to get closer to the oracle performance.
  • Generalizability of Information Borrowing: While the paper demonstrates the effectiveness of information borrowing for OPE, future work could explore its application in more general off-policy optimization and reinforcement learning problems, especially when dealing with multiple logging policies or varying similarities between policies.
  • Continuous Reward Models: The paper notes that stronger performance might be expected for the DR-IC approach when the reward model is continuous in context and action space, suggesting this as an area for further investigation.

Summary updated

BibTeX
@inproceedings{dasgupta2021off,
  author = {Sutanoy Dasgupta and Yabo Niu and Kishan Panaganti and Dileep Kalathil and Debdeep Pati and Bani K. Mallick},
  title = {{Off-Policy Evaluation Using Information Borrowing and Context-Based Switching}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc57313.2025.11312500},
}
Figure