Online Statistical Inference for Contextual Bandits via Stochastic Gradient Descent
Xiangyu Chang, Xi Chen, Zehua Lai, He Li, Zhihong Liu, Yichen Zhang
TL;DR
This work develops a general online statistical inference framework for contextual bandits via adaptive weighted SGD, enabling fully online updating and uncertainty quantification. It establishes asymptotic normality for the averaged SGD estimator with covariance H^−1SH^−1 under broad weighting and policy schemes, and provides a Bahadur representation that highlights slower convergence due to adaptive data collection. The paper also provides online plug-in methods to estimate the limiting covariance, analyzes optimal weighting in linear regression, and extends to non-smooth losses such as quantile regression. It offers practical guidance through two policies (modified ε-greedy and exponential) and validates the theory with simulations and a Yahoo! real-data study, showing reliable, narrow confidence intervals in online decision-making contexts.
Abstract
With the fast development of big data, learning the optimal decision rule by recursively updating it and making online decisions has been easier than before. We study the online statistical inference of model parameters in a contextual bandit framework of sequential decision-making. We propose a general framework for an online and adaptive data collection environment that can update decision rules via weighted stochastic gradient descent. We allow different weighting schemes of the stochastic gradient and establish the asymptotic normality of the parameter estimator. Our proposed estimator significantly improves the asymptotic efficiency over the previous averaged SGD approach via inverse probability weights. We also conduct an optimality analysis on the weights in a linear regression setting. We provide a Bahadur representation of the proposed estimator and show that the remainder term in the Bahadur representation entails a slower convergence rate compared to classical SGD due to the adaptive data collection.
