Lune

NeurIPS2022Top-tier venue

Online Convex Optimization with Hard Constraints: Towards the Best of Two Worlds and Beyond

Hengquan Guo, Xin Liu, Honghao Wei, Lei Ying

Abstract

This paper considers online convex optimization with hard constraints and analyzes achievable regret and cumulative hard constraint violation (violation for short). The problem distinguishes itself from online convex optimization with soft constraints, where a violation at one round can be compensated/cancelled by a conservative decision at a different round. We propose a RECtified Online Optimization al-gorithm (RECOO) and consider two settings: fixed constraints and adversarial constraints. Both settings have been considered in the literature. Compared with existing results, RECOO achieves the best of two worlds and beyond. For the fixed-constraints setting, RECOO achieves O ? T ˘ regret and O p 1 q violation, where T is the learning horizon. The best known results in this case are O p? T q regret and O T 1 4 ˘ violation. For the adversarial-constraints setting, it guarantees O p? T q regret and O p T 3 4 q violation, which match the best existing results. When the loss function is strongly convex, RECOO can guarantee O p log T q regret and O p 1 q violation for fixed constraints, and O p log T q regret and O p? T log T q violation for adversarial constraints. Both these results are order-wise better than the existing bounds. The regret and violation bounds mentioned above use the best fixed decision in hindsight as the baseline. This paper further considers a dynamic baseline where the comparator sequence is time-varying. This paper shows that RECOO not only improves the existing bounds for the fixed-constraints setting but also for the first time, establishes dynamic regret and violation bounds for the adversarial-constraints setting. Our experiment results confirm that RECOO outperforms several existing algorithms for both fixed and adversarial

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Optimal Algorithms for Online Convex Optimization with Adversarial Constraints cites Regret and Cumulative Constraint Violation Analysis for Online Convex Optimization with Long Term Constraints
  • Revisiting Projection-Free Online Learning with Time-Varying Constraints cites Optimal Algorithms for Online Convex Optimization with Adversarial Constraints
  • Revisiting Projection-Free Online Learning with Time-Varying Constraints cites Regret and Cumulative Constraint Violation Analysis for Online Convex Optimization with Long Term Constraints
  • Beyond Õ(√T)$ Constraint Violation for Online Convex Optimization with Adversarial Constraints cites Optimal Algorithms for Online Convex Optimization with Adversarial Constraints
  • Beyond Õ(√T)$ Constraint Violation for Online Convex Optimization with Adversarial Constraints cites Regret and Cumulative Constraint Violation Analysis for Online Convex Optimization with Long Term Constraints
  • O√T Static Regret and Instance Dependent Constraint Violation for Constrained Online Convex Optimization cites Optimal Algorithms for Online Convex Optimization with Adversarial Constraints
  • O√T Static Regret and Instance Dependent Constraint Violation for Constrained Online Convex Optimization cites Regret and Cumulative Constraint Violation Analysis for Online Convex Optimization with Long Term Constraints
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Optimal Algorithms for Online Convex Optimization with Adversarial ConstraintsAbhishek Sinha, Rahul VazeNeurIPS 2024 · 48 citations
  2. O√T Static Regret and Instance Dependent Constraint Violation for Constrained Online Convex OptimizationRahul Vaze, Abhishek SinhaNeurIPS 2025 · 15 citations
  3. Enhancing Safety in Reinforcement Learning with Human Feedback via Rectified Policy OptimizationXiyue Peng, Hengquan Guo, Jiawei Zhang, Dongqing Zou et al.NeurIPS 2025 · 9 citations
  4. Revisiting Projection-Free Online Learning with Time-Varying ConstraintsYibo Wang, Yuanyu Wan, Lijun ZhangAAAI 2025 · 6 citations
  5. Beyond Õ(√T)$ Constraint Violation for Online Convex Optimization with Adversarial ConstraintsAbhishek Sinha, Rahul VazeNeurIPS 2025 · 6 citations

Builds on4

  1. Dual Mirror Descent for Online Allocation ProblemsSantiago R. Balseiro, Haihao Lu, Vahab S. MirrokniICML 2020 · 102 citations
  2. Regret and Cumulative Constraint Violation Analysis for Online Convex Optimization with Long Term ConstraintsXinlei Yi, Xiuxian Li, Tao Yang, Lihua Xie et al.ICML 2021 · 63 citations
  3. A Single Recipe for Online Submodular Maximization with Adversarial or Stochastic ConstraintsOmid Sadeghi, Prasanna Sanjay Raut, Maryam FazelNeurIPS 2020 · 11 citations
  4. MLaaS in the Wild: Workload Analysis and Scheduling in Large-Scale Heterogeneous GPU ClustersQizhen Weng, Wencong Xiao, Yinghao Yu, Wei Wang et al.NSDI 2022

Related papers

  1. Double Queue for Constrained Online Convex Optimization: Bridging the Best-of-Two-Worlds Constraint ViolationsWeiyi Qin, Wei Bao, Juncheng Wang, Min ZhouINFOCOM 2026
  2. Doubly-Bounded Queue for Constrained Online Learning: Keeping Pace with Dynamics of Both Loss and ConstraintJuncheng Wang, Bingjie Yan, Yituo LiuAAAI 2025 · 1 citation
  3. Online Nonstochastic Control with Adversarial and Static ConstraintsXin Liu, Zixian Yang, Lei YingICML 2023 · 6 citations
  4. Projection-Free Online Convex Optimization with Time-Varying ConstraintsDan Garber, Ben KretzuICML 2024 · 5 citations
  5. Constrained Online Convex Optimization with Memory and PredictionsMohammed Abdullah, George Iosifidis, Salah-Eddine Elayoubi, Tijani ChahedAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines