English

An Optimistic Algorithm for Online Convex Optimization with Adversarial Constraints

Machine Learning 2025-03-14 v2 Machine Learning Optimization and Control

Abstract

We study Online Convex Optimization (OCO) with adversarial constraints, where an online algorithm must make sequential decisions to minimize both convex loss functions and cumulative constraint violations. We focus on a setting where the algorithm has access to predictions of the loss and constraint functions. Our results show that we can improve the current best bounds of O(T) O(\sqrt{T}) regret and O~(T) \tilde{O}(\sqrt{T}) cumulative constraint violations to O(ET(f)) O(\sqrt{E_T(f)}) and O~(ET(g+)) \tilde{O}(\sqrt{E_T(g^+)}) , respectively, where ET(f) E_T(f) and ET(g+)E_T(g^+) represent the cumulative prediction errors of the loss and constraint functions. In the worst case, where ET(f)=O(T)E_T(f) = O(T) and ET(g+)=O(T) E_T(g^+) = O(T) (assuming bounded gradients of the loss and constraint functions), our rates match the prior O(T) O(\sqrt{T}) results. However, when the loss and constraint predictions are accurate, our approach yields significantly smaller regret and cumulative constraint violations. Finally, we apply this to the setting of adversarial contextual bandits with sequential risk constraints, obtaining optimistic bounds O(ET(f)T1/3)O (\sqrt{E_T(f)} T^{1/3}) regret and O(ET(g+)T1/3)O(\sqrt{E_T(g^+)} T^{1/3}) constraints violation, yielding better performance than existing results when prediction quality is sufficiently high.

Keywords

Cite

@article{arxiv.2412.08060,
  title  = {An Optimistic Algorithm for Online Convex Optimization with Adversarial Constraints},
  author = {Jordan Lekeufack and Michael I. Jordan},
  journal= {arXiv preprint arXiv:2412.08060},
  year   = {2025}
}

Comments

18 pages

R2 v1 2026-06-28T20:30:26.440Z