Safe Linear Bandits over Unknown Polytopes
Aditya Gangrade, Tianrui Chen, Venkatesh Saligrama
TL;DR
This work introduces Safe Linear Bandits over Unknown Polytopes (SLB) where both the objective and the constraints are unknown and must be learned online from noisy feedback. It proves a fundamental hardness barrier showing that simultaneous polylogarithmic bounds on efficacy and safety cannot be achieved in general, then presents a doubly-optimistic algorithm (DOSS) that attains near-optimal trade-offs: $E_T=O( ext{polylog}(T))$ while $S_T= ilde{O}(rac{}{}{ ext{}}{T})$, with polylog dependence on unknown constraint counts and problem dimensions. Central to the analysis is a dual LP perspective: extreme points are recast as saturating $d$ constraints, and DOSS activates noisy versions of $d$ constraints to manage primal performance and constraint-satisfaction costs separately via new dual gaps. The paper also discusses finite-precision relaxations (tolerances on constraint levels and grid-precision for constraint parameters) that can significantly improve safety performance, and provides simulations demonstrating strong efficacy control and controlled safety violations. Overall, the results illuminate the fundamental limits of safe learning with unknown polytopes and offer a practical, theoretically-grounded method with strong performance guarantees and broad applicability to safety-constrained online decision-making.
Abstract
The safe linear bandit problem (SLB) is an online approach to linear programming with unknown objective and unknown roundwise constraints, under stochastic bandit feedback of rewards and safety risks of actions. We study the tradeoffs between efficacy and smooth safety costs of SLBs over polytopes, and the role of aggressive doubly-optimistic play in avoiding the strong assumptions made by extant pessimistic-optimistic approaches. We first elucidate an inherent hardness in SLBs due the lack of knowledge of constraints: there exist `easy' instances, for which suboptimal extreme points have large `gaps', but on which SLB methods must still incur $Ω(\sqrt{T})$ regret or safety violations, due to an inability to resolve unknown optima to arbitrary precision. We then analyse a natural doubly-optimistic strategy for the safe linear bandit problem, DOSS, which uses optimistic estimates of both reward and safety risks to select actions, and show that despite the lack of knowledge of constraints or feasible points, DOSS simultaneously obtains tight instance-dependent $O(\log^2 T)$ bounds on efficacy regret, and $\tilde O(\sqrt{T})$ bounds on safety violations. Further, when safety is demanded to a finite precision, violations improve to $O(\log^2 T).$ These results rely on a novel dual analysis of linear bandits: we argue that \algoname proceeds by activating noisy versions of at least $d$ constraints in each round, which allows us to separately analyse rounds where a `poor' set of constraints is activated, and rounds where `good' sets of constraints are activated. The costs in the former are controlled to $O(\log^2 T)$ by developing new dual notions of gaps, based on global sensitivity analyses of linear programs, that quantify the suboptimality of each such set of constraints. The latter costs are controlled to $O(1)$ by explicitly analysing the solutions of optimistic play.
