cs.LGNov 16, 2026

Cancellation-Free Constrained SquareCB for Safe Controller Selection

Authors: Kartik Pandit, Sourav Ganguly, Arnob Ghosh

Organizations: Electrical and Computer Engineering Department, NJIT, Newark, NJ, USA

Abstract

We study constrained contextual bandits, in which a learner chooses one of KK actions in each round to minimize loss while keeping the expected cost of its play below a budget. Existing reductions to online regression weight the cost by a Lagrange multiplier learned from past constraint residuals, so slack in some rounds can offset violations in others. We instead run SquareCB proposed in \citep{foster2020beyond} with a rectified weight on the cost: it is zero when the estimated cost is within the budget, and otherwise just large enough to bring it back to the budget. Under realizability and Slater's condition with margin δδ, the algorithm attains regret O(KT RegSq(T)/δ)O(\sqrt{KT\,\mathrm{Reg}_{\mathsf{Sq}}(T)}/δ) and cancellation-free violation ∑t(Vcpt−b)+=O(KT RegSq(T))\sum_t(V_c^{p_t}-b)^+=O(\sqrt{KT\,\mathrm{Reg}_{\mathsf{Sq}}(T)}), where RegSq\mathrm{Reg}_{\mathsf{Sq}} is the error of the regression oracle. The same bounds hold when the budget must be met in every context, potentially adversarially chosen contexts. In controller selection for a safe-control-gym quadrotor and a BOPTEST building, the violation is 6 to 9 times lower than that of primal-dual and virtual-queue baselines, with a lower or comparable regret.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Constrained Contextual Bandits with Adversarial Contexts

    May 7, 2026Dhruv Sarkar, Abhishek SinhaContextual BanditsAdversarial Bandits

  2. Safety by Design: Realized-Cost Constraints for Contextual Bandits with Continuous Actions

    Aug 27, 2026Spyros Dragazis, Aldo PacchianoContextual BanditsMulti-Armed Bandits

  3. Eluder-Dimension-Free Regret for Stage-Wise Constrained Contextual Bandits via Offline Regression

    May 11, 2025Haichen Hu, David Simchi-Levi, Navid AzizanContextual BanditsUCB Algorithms