[Paper Review] Post-Contextual-Bandit Inference
This paper introduces the Contextual Adaptive Doubly Robust (CADR) estimator, the first method for asymptotically normal inference in contextual bandit settings with adaptive data collection. By stabilizing the doubly robust estimator using adaptive, consistent conditional variance estimates derived from importance-sampling ratios, CADR enables valid 95% confidence intervals—demonstrated to achieve correct coverage across 57 OpenML datasets where prior methods fail.
Contextual bandit algorithms are increasingly replacing non-adaptive A/B tests in e-commerce, healthcare, and policymaking because they can both improve outcomes for study participants and increase the chance of identifying good or even best policies. To support credible inference on novel interventions at the end of the study, nonetheless, we still want to construct valid confidence intervals on average treatment effects, subgroup effects, or value of new policies. The adaptive nature of the data collected by contextual bandit algorithms, however, makes this difficult: standard estimators are no longer asymptotically normally distributed and classic confidence intervals fail to provide correct coverage. While this has been addressed in non-contextual settings by using stabilized estimators, the contextual setting poses unique challenges that we tackle for the first time in this paper. We propose the Contextual Adaptive Doubly Robust (CADR) estimator, the first estimator for policy value that is asymptotically normal under contextual adaptive data collection. The main technical challenge in constructing CADR is designing adaptive and consistent conditional standard deviation estimators for stabilization. Extensive numerical experiments using 57 OpenML datasets demonstrate that confidence intervals based on CADR uniquely provide correct coverage.
Motivation & Objective
- To address the lack of valid inference in contextual bandit experiments, where adaptive data collection invalidates standard confidence intervals.
- To develop an estimator that achieves asymptotic normality under context-dependent adaptive data collection.
- To construct confidence intervals with correct coverage for average treatment effects, subgroup effects, or policy values in real-world adaptive experiments.
- To overcome the challenge of designing consistent, adaptive conditional variance estimators for stabilization in the contextual setting.
- To ensure robustness to outcome model misspecification while maintaining valid inference.
Proposed method
- Proposes the Contextual Adaptive Doubly Robust (CADR) estimator as a stabilized, weighted time average of the canonical gradient, with inverse weighting by estimated conditional standard deviation.
- Designs adaptive conditional variance estimators using the importance-sampling ratio between the current policy and past policies at each time point.
- Employs cross-fitting and plug-in estimation for outcome models to ensure consistency under adaptive sampling.
- Uses doubly robust estimation to maintain asymptotic normality even if the outcome model is misspecified.
- Applies variance stabilization to reduce the impact of high inverse propensity scores in high-variance regions.
- Validates the method through extensive experiments on 57 OpenML datasets under both well-specified and misspecified outcome models.
Experimental results
Research questions
- RQ1Can we construct valid confidence intervals for policy values in contextual bandit experiments where data collection is adaptive and context-dependent?
- RQ2Is it possible to achieve asymptotic normality for policy value estimators under contextual adaptive data collection?
- RQ3How can we design consistent, adaptive conditional variance estimators that stabilize doubly robust estimators in this setting?
- RQ4Does the CADR estimator maintain correct coverage under outcome model misspecification?
- RQ5How does CADR compare to existing estimators like DR, IPW, DM, and ADR in terms of coverage accuracy across diverse real-world datasets?
Key findings
- CADR achieves correct 95% confidence interval coverage across 57 OpenML datasets, while all baseline methods (DR, IPW, DM, ADR, MRDR) fail to maintain valid coverage.
- In the case of a misspecified linear outcome model, CADR significantly outperforms DR in coverage on 38 out of 72 datasets, with a substantial improvement in variance stabilization.
- When the outcome model is well-specified (using decision trees), CADR and DR show comparable coverage, but CADR remains more robust across diverse data distributions.
- The variant CAMRDR, which uses importance-sampling weighted training for the outcome model, performs slightly better than CADR in the well-specified case and slightly worse in the misspecified case, but still outperforms all baselines.
- The CADR estimator’s asymptotic normality is robust to outcome model misspecification, enabling reliable inference even when the outcome model is inaccurate.
- Extensive experiments confirm that CADR is the only method that consistently maintains correct coverage across both well-specified and misspecified models, establishing it as the first valid inference method for contextual bandit data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.