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

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

TL;DR

Evaluating a new decision-making policy using historical data (Off-Policy Evaluation) usually forces a brutal trade-off between high bias and high variance. This paper introduces DR-IC, a novel estimator that tackles both sides of the coin by "borrowing" information from geometrically similar contexts and using a smart, KL-divergence-based switching mechanism. The result is a provably robust framework that consistently outperforms state-of-the-art methods across multiple benchmark datasets.

What Problem Does This Paper Address?

In contextual bandits—systems used for everything from personalized medical treatments to ad placement—we often want to know how a new strategy (the target policy) will perform before deploying it. Testing it live is risky and expensive, so we turn to Off-Policy Evaluation (OPE), which estimates the performance of the target policy using data collected by an older, active strategy (the logging policy).

Standard OPE approaches fall into three buckets:

  1. Direct Method (DM): Builds a reward model from historical data. It has low variance but high bias if the model is wrong.
  2. Inverse Propensity Scoring (IPS): Reweights historical data to match the target policy. It is unbiased but suffers from massive variance when the two policies disagree.
  3. Doubly Robust (DR): Combines DM and IPS to get the best of both worlds.

While most recent research focuses heavily on reducing the variance caused by large importance weights in the DR framework, few address the high bias inherent in the underlying DM reward model. This paper fills that gap by optimizing both bias and variance simultaneously.

Methods

The authors introduce the Doubly Robust with Information borrowing and Context-based switching (DR-IC) estimator, which relies on two core innovations:

  • Direct Method with Information Borrowing (DM-IB): Standard reward models treat all historical data points equally. DM-IB uses a kernel-based correlation structure to "borrow" information from contexts that are geometrically close to the test context. Crucially, it assigns more weight to data points that have high importance weights (meaning they are highly relevant to the target policy). The bandwidth of this kernel adapts dynamically based on these weights.
  • Context-Based KL Switching: Instead of blindly applying the DR correction everywhere, the algorithm adaptively switches between the DM-IB model and the full DR framework. While previous methods switched based on individual sample importance weights, DR-IC switches based on the Kullback-Leibler (KL) divergence between the logging and target policies for a given context. This provides a smoother, log-scale averaging effect that makes threshold optimization much more stable.

Datasets

The authors evaluated their approach by transforming 10 multi-class classification datasets from the UCI Machine Learning Repository into contextual bandit problems using the Open Bandit Pipeline framework. The datasets include:

  • Glass, Ecoli, Wdbc, Vehicle, Yeast, Page-Blocks, OptDigits, SatImage, PenDigits, and Letter.

Each dataset was evaluated under two distinct conditions: deterministic rewards (where the correct classification yields a fixed reward) and stochastic rewards (where rewards are probabilistic).

Key Insights and Ideas

  • Policy-Aware Reward Modeling: Traditional regression models learn the reward function completely in the dark about what the target policy actually wants to do. DM-IB actively uses the target policy's structure to guide the reward model's focus toward the most critical areas of the context space.
  • Context-Level vs. Sample-Level Decisions: Switching based on the KL divergence of the entire context's action distribution is inherently more robust than looking at a single action's importance weight. It captures the holistic mismatch between what the logger did and what the target wants to do.
  • Provable Bias Elimination: The authors mathematically prove (Theorem 1) that as the number of samples grows, the bias of the DM-IB estimator converges to zero, overcoming a classic limitation of parametric direct methods.

Key Results

  • DM-IB outshines standard DM: In 7 out of the 8 primary evaluation cases, the information-borrowing mechanism (DM-IB) yielded significant practical improvements over traditional ridge regression DM.
  • DR-IC dominates the state-of-the-art: The full DR-IC estimator outperformed or matched top-tier OPE algorithms (like Switch-DR and DR-OS) in 7 out of 8 cases.
  • Deterministic vs. Stochastic Settings: In deterministic reward settings, DR-IC achieved clean sweeps (e.g., 10 wins out of 10 datasets against standard DM). In stochastic settings, where variance naturally increases for all estimators, DR-IC still proved to be as good as or better than competitors in the vast majority of cases.
  • Optimal Variance Bound: The authors proved that DR-IC maintains a Mean Squared Error (MSE) upper bound of $O(1/n)$, matching the best theoretical rates of existing variance-reduction techniques while offering superior bias properties.

Limitations and Future Work

While the "oracle" version of DR-IC (which uses ground truth to pick the perfect switching threshold $\tau$) performs exceptionally well, the data-driven method for tuning $\tau$ in practice still leaves a small gap. The authors note that developing more sophisticated optimization schemes to bring the practical tuned estimate closer to the oracle version is an open area for research.

Additionally, they suggest extending this policy-dependent information borrowing framework to full reinforcement learning (sequential decision-making) and scenarios involving data assimilation from multiple distinct logging policies.

Summary updated

Abstract

We consider the off-policy evaluation (OPE) problem in contextual bandits, where the goal is to estimate the value of a target policy using the data collected by a logging policy. Most popular approaches to the OPE are variants of the doubly robust (DR) estimator obtained by combining a direct method (DM) estimator and a correction term involving the inverse propensity score (IPS). Existing algorithms primarily focus on strategies to reduce the variance of the DR estimator arising from large IPS. We propose a new approach called the Doubly Robust with Information borrowing and Context-based switching (DR-IC) estimator that focuses on reducing both bias and variance. The DR-IC estimator replaces the standard DM estimator with a parametric reward model that borrows information from the 'closer' contexts through a correlation structure that depends on the IPS. The DR-IC estimator also adaptively interpolates between this modified DM estimator and a modified DR estimator based on a context-specific switching rule. We give provable guarantees on the performance of the DR-IC estimator. We also demonstrate the superior performance of the DR-IC estimator compared to the state-of-the-art OPE algorithms on a number of benchmark problems.
BibTeX
@inproceedings{dasgupta2021off,
  author = {Sutanoy Dasgupta and Yabo Niu and Kishan Panaganti and Dileep Kalathil and Debdeep Pati and Bani Mallick},
  title = {{Off-Policy Evaluation Using Information Borrowing and Context-Based Switching}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc57313.2025.11312500},
}
Figure