TL;DR
Evaluating and comparing contextual bandit policies using historical data is notoriously difficult when sample sizes are small and the underlying data distributions are unknown. This paper introduces a Bayesian empirical likelihood framework that provides robust, accurate uncertainty quantification for single or multiple policies simultaneously. By shifting from frequentist approximations to a Bayesian paradigm, the method delivers reliable policy comparisons and well-calibrated credible intervals without relying on large-sample assumptions.
What Problem Does This Paper Address?
Contextual bandits are widely used in personalized decision-making, from news recommendations to clinical trials. To improve these systems, researchers use Off-Policy Evaluation (OPE) to estimate how a hypothetical "target" policy would perform using data already collected by an older "behavior" policy.
However, simply calculating a point estimate for a policy's value isn't enough; decision-makers need to know the uncertainty around that estimate (e.g., confidence intervals) to justify deploying a new policy. Existing frequentist methods often rely on empirical likelihood approximations (like Wilks' theorem) to draw these intervals. Unfortunately, these approximations break down in small-to-medium sample sizes, leading to poorly calibrated intervals that either over- or under-cover the true value. Furthermore, standard OPE methods evaluate policies in isolation, making it difficult to perform statistically sound comparisons between multiple, highly correlated policies.
Methods
The authors address these gaps by combining Empirical Likelihood (EL)—a powerful nonparametric approach that avoids strict distributional assumptions by relying on data-driven estimating equations—with the Bayesian paradigm.
Key methodological innovations include:
- Joint Empirical Likelihood: The framework defines a joint empirical likelihood for a vector of multiple policy values. It incorporates a constraint forcing the empirical average of the importance weights to equal 1, which effectively mirrors self-normalized importance sampling and bounds the likelihood within a realistic support space.
- Policy Value Difference ($d$): To streamline comparisons, the authors project the joint policy values onto a one-dimensional interval representing the direct difference between a new policy and a baseline ($d = v_{\text{new}} - v_{\text{baseline}}$).
- Adaptive Sub-Support Grid Computation: As sample sizes grow, the empirical likelihood concentrates sharply, making standard pre-defined grids computationally wasteful or insufficiently fine. The authors develop an adaptive grid method that isolates the sub-support region where the likelihood exceeds a minor threshold, ensuring fast and highly accurate posterior integration.
Datasets
The performance of the proposed framework was evaluated using two distinct environments:
- Synthetic Simulation Data: A simulated 10-armed contextual bandit problem featuring 12-dimensional context vectors and correlated Bernoulli rewards. This setup allowed the authors to control the ground truth and rigorously benchmark coverage probabilities across 10,000 replicates.
- Adolescent Body Mass Index (BMI) Dataset: A real-world dataset designed to mimic a two-stage randomized clinical trial for adolescent obesity. It compares two treatments—Meal Replacement (MR) versus Conventional Diet (CD)—using baseline patient covariates (gender, race, parent BMI, and baseline patient BMI).
Key Insights and Ideas
- The Frequentist Breakdown: In finite-sample regimes, frequentist Wilks' intervals suffer because the underlying distribution of importance weights is highly skewed and unknown. The Bayesian Highest Posterior Density (HPD) interval acts as a natural regularizer, providing stable, reliable coverage even when data is scarce.
- Policies are Inherently Dependent: When evaluating a baseline policy and a candidate policy on the same historical dataset, their values are highly correlated. Joint inference is necessary to capture this dependency; treating them as independent can severely miscalculate the probability that one policy outperforms the other.
- Metric Invariance via Constraints: By enforcing the constraint that importance weights must average to 1, the empirical likelihood yields mathematically equivalent results whether you evaluate the policy based on its expected value or its expected regret.
Key Results
- Robustness in Small Samples: In synthetic experiments with small sample sizes ($n < 100$), frequentist Wilks' intervals suffered from severe undercoverage or overcoverage. In contrast, the Bayesian HPD intervals consistently maintained coverage probabilities close to the nominal 90% and 95% levels.
Small Sample Size Behavior (Conceptual):
Frequentist (Wilks): [--- Highly Variable Width / Miscalibrated Coverage ---]
Bayesian (HPD): [------ Stable Width / Well-Calibrated Coverage ------]
- Narrower, More Accurate Intervals: When data was scarce, Wilks' intervals were roughly 10% wider on average than the Bayesian HPD intervals, yet they still failed to cover the true value accurately due to high variance in their interval limits.
- Real-World Clinical Utility: On the BMI dataset, the method evaluated a new heuristic policy against a randomized baseline. The point estimate for the new policy was 0.64 (95% HPD interval: [0.55, 0.72]). The framework elegantly quantified a 92% posterior probability that the new policy would deliver at least a 10% absolute improvement over the baseline.
Limitations and Future Work
The primary limitation is the curse of dimensionality. While the adaptive grid method is highly effective for low-dimensional policy spaces (e.g., comparing two or three policies), it becomes computationally expensive when jointly analyzing a large suite of candidate policies, as each grid point requires solving an independent optimization problem.
To scale the method to high-dimensional policy spaces, the authors suggest exploring Variational Inference (VI) techniques. However, they note that managing the inevitable trade-off between computational speedups and the loss of accuracy from variational approximations remains an open area for future research.
Summary updated