Introduction
In the realm of contextual bandits—commonly used for personalized news recommendations, medical treatments, and adaptive testing—researchers have traditionally focused on regret minimization. The goal in that setting is to lose as little reward as possible while learning. However, in many critical applications, the objective is instead best-arm identification (or PAC learning). Here, the learner wants to interact with the environment just long enough to identify a policy that is "Probably Approximately Correct" (within $\epsilon$ of the best possible policy with probability $1-\delta$).
The challenge with existing PAC bounds is that they are predominantly "minimax," meaning they describe the worst-case scenario for any possible problem. This paper asks a fundamental question: Can we do better by adapting to the specific difficulty of the instance at hand? For example, if one policy is clearly superior to all others, an algorithm should be able to identify it much faster than if two policies are nearly identical. This work provides the first instance-dependent sample complexity analysis for $(\epsilon, \delta)$-PAC contextual bandits, identifying exactly how many samples are needed to find a near-optimal policy for a specific problem.
Theoretical Foundations: The Regret-PAC Gap
The authors tackle the problem through several layers of theoretical innovation, beginning with a new complexity characterization. They introduce a quantity, $\rho_\Pi$, which captures the geometry of the policy class and the context distribution. They prove that this quantity dictates the fundamental lower bound on how many samples any algorithm needs, establishing that sample complexity must scale with $\rho_{\Pi,0} \log(1/\delta)$.
Crucially, the paper mathematically demonstrates a "no-free-lunch" theorem between regret minimization and best-arm identification. An algorithm perfectly optimized to minimize cumulative regret will necessarily be sub-optimal at identifying the best policy quickly. Regret-minimizing algorithms (like LinUCB or EXP4) are inherently "greedy" in a way that prevents them from exploring the specific directions needed to quickly distinguish between the top two policies. The authors prove that any $\alpha$-minimax regret algorithm requires $O(m^2)$ samples on specific hard instances where an instance-optimal PAC algorithm only needs $O(m)$ samples (where $m$ is the number of policies), demonstrating a severe quadratic blowup.
The CODA Algorithm
To achieve instance-optimality without requiring infinite computing power, the authors propose the Contextual Oracle-efficient Dualized Algorithm (CODA).
Enumerating every possible policy in a large class is computationally infeasible (often scaling exponentially). To bypass this, CODA relies on a polynomial number of calls to a cost-sensitive classification oracle. The algorithm's mechanics include:
- Argmax Oracles: A standard computational tool used to find the best policy for a given set of weights, making the algorithm practical for large policy classes.
- Frank-Wolfe & Gradient Descent: These optimization techniques are used to solve a dual optimization problem that determines the "optimal experimental design." This step essentially decides which contexts and actions will provide the most information to the learner.
- Regularized IPS Estimator: A robust Inverse Propensity Scoring method used to estimate policy values from the collected data.
CODA achieves a sample complexity that matches the instance-dependent lower bound up to logarithmic factors, while remaining computationally efficient.
Key Insights
A surprising finding from the paper is that the "trivial" approach is rarely optimal. In cases where one might simply want to find the best action for each context independently, running a standard best-arm identification algorithm per context is sub-optimal. A global approach that considers the entire policy class simultaneously proves to be significantly faster.
Limitations and Future Work
While CODA marks a significant step forward for agnostic contextual best-arm identification, the authors note a few limitations:
- Offline Data Dependency: The algorithm assumes access to a large "burn-in" dataset of unlabeled contexts (contexts without rewards) to approximate the underlying context distribution before it can effectively plan its exploration.
- Linear Realizability Gap: The paper provides an instance-optimal algorithm for the agnostic setting (general policy classes). However, the computationally efficient CODA algorithm does not immediately translate to the realizable linear setting, where rewards are assumed to be a linear function of features.
- Gaussian Assumptions: Some of the lower bound proofs rely on the assumption of additive Gaussian noise, which may not perfectly reflect the noise distributions in all real-world bandit applications.
Summary updated