Introduction
Contextual bandits are widely used for sequential decision-making tasks, such as personalized recommendations and clinical trial assignments. Traditional bandit algorithms rely heavily on exploration—trying sub-optimal actions to discover potentially better ones. However, in high-stakes domains like healthcare or finance, unconstrained exploration can be costly or dangerous.
Conservative Contextual Bandits (CCBs) address this by enforcing a strict safety constraint: the learning agent's performance must not degrade beyond a specified margin (a $(1+\alpha)$ factor) compared to an existing baseline or production policy. While prior work successfully developed Upper Confidence Bound (UCB) algorithms for multi-armed and linear contextual settings, real-world reward functions are rarely linear. Extending UCB to non-linear models, such as deep neural networks, is mathematically challenging and computationally prohibitive because it requires constructing complex confidence sets around predictions. This paper introduces a novel framework for CCBs that accommodates general, non-linear reward functions, bridging the gap between conservative exploration and modern deep learning.
Methodology
To bypass the limitations of UCB-based exploration, the authors propose a reduction to online regression. They introduce two new algorithms that decouple the learning mechanism (the neural network) from the exploration strategy:
C-SquareCB: This algorithm utilizes a squared-loss regression oracle. It achieves sub-linear regret, meaning the performance gap between the agent and the optimal policy grows slower than the total time horizon ($T$).C-FastCB: This algorithm employs a KL-loss (log-loss) regression oracle to provide a first-order regret bound. This means the algorithm's regret scales with the cumulative loss of the optimal policy ($L^*$) rather than just the time horizon. If the optimal policy is highly effective,C-FastCBlearns significantly faster.
Inverse Gap Weighting (IGW) and the Safety Condition Instead of relying on computationally heavy confidence ellipsoids, both algorithms use Inverse Gap Weighting (IGW) for action selection. IGW assigns higher sampling probabilities to actions deemed favorable by the regression model. Crucially, a mathematical safety condition is evaluated at every step. If the potential risk of the IGW-selected action exceeds the allowable threshold, the algorithm conservatively "falls back" to the baseline policy, ensuring the safety constraint is never breached.
Experimental Setup
The researchers evaluated their framework using multiclass classification datasets from the OpenML platform—including Covertype, Fashion, MagicTelescope, Mushroom, Plants, and Shuttle—transforming them into bandit problems. In these environments, selecting the incorrect class incurred a high cost (1.0), while the correct class incurred a low cost (0.01).
Key Findings
- Theoretical Guarantees: The authors mathematically prove that both
C-SquareCBandC-FastCBsatisfy the conservative safety constraint with high probability. When using a neural network for function approximation and online gradient descent as the regression oracle, they achieve regret bounds of $\tilde{\mathcal{O}}\big(\sqrt{KT} + K/\alpha\big)$ and $\tilde{\mathcal{O}}\big(\sqrt{KL^*} + K (1 + 1/\alpha)\big)$, respectively. - Empirical Superiority: In empirical evaluations, both proposed algorithms significantly outperformed the prior state-of-the-art linear baseline (
C-LinUCB). - Strict Constraint Satisfaction: Standard (non-conservative) neural bandits frequently violated safety constraints, sometimes in over 20% of rounds. In contrast, the proposed conservative algorithms maintained violations near zero while successfully minimizing regret.
Limitations and Future Directions
While the proposed framework marks a significant step forward for non-linear conservative bandits, it has a few limitations. First, the primary algorithms assume the expected cost of the baseline policy is known. Although an extension for unknown baseline costs is provided in the appendix, it introduces additional complexity and forces more conservative behavior. Second, the current regret bounds scale linearly with the number of available actions ($K$). Adapting this framework for infinite or continuous action spaces remains an open challenge. Finally, the authors highlight that transitioning these safety guarantees from contextual bandits (single-step decisions) to full reinforcement learning (sequential, dependent decisions) is a promising and necessary direction for future research.
Summary updated