cs.LGJul 28, 2026

Data-Dependent Regret and Polyak Corrections for Constrained Online Convex Optimization

Authors: Wentao Zhang

Organizations: Tsinghua Shenzhen International Graduate School · Tsinghua University

Abstract

Constrained online convex optimization requires minimizing regret against adversarial convex costs while satisfying a convex constraint at every round, as needed in safety-critical applications. A computationally efficient method combines online gradient descent with a Polyak feasibility step, using one constraint evaluation and one subgradient per round. Although this method achieves O(sqrt(T)) regret with per-round feasibility, we derive a tighter, data-dependent analysis by retaining two quantities omitted by the standard worst-case argument. First, we replace the gradient envelope G_f^2 T with the observed accumulation G_T = sum_t ||grad f_t(x_t)||^2. Second, we identify a nonnegative Polyak correction P_T that measures the cumulative squared displacement caused by feasibility projections and enters the regret bound with a negative sign. The resulting improvement, Delta_T = (eta/2)(G_f^2 T - G_T) + P_T/(2 eta), is always nonnegative. We further propose AdaOGD-PFS, an adaptive-step-size method that achieves O(sqrt(G_T)) regret while preserving per-round feasibility. Experiments on ball- and halfspace-constrained problems improve the regret bound by 38 to 43 percent, with both data-dependent gradients and Polyak corrections contributing substantially.

Explore similar work

Jun 6, 2026cs.LG

Noise-Adaptive High-Probability Regret Bounds for Online Convex Optimization

We study high-probability regret bounds for online convex optimization (OCO) with strongly convex losses and establish three results that resolve open questions at the intersection of noise adaptivity, feedback structure, and constraint satisfaction. For the full-information setting with sub-Gaussian stochastic gradients, we prove a noise-adaptive high-probability regret bound in which the martingale deviation term scales with the noise level σσ rather than the gradient bound GG, yielding a multiplicative improvement of G/σG/σ over the classical Azuma-Hoeffding baseline. Our analysis introduces an exponential supermartingale argument that bypasses the bounded-difference requirement of Freedman's inequality, enabling direct treatment of unbounded sub-Gaussian noise without truncation artifacts. For bandit feedback, we prove a minimax lower bound: the high-probability regret scales linearly in log(1/δ)\log(1/δ), in contrast to the log(1/δ)\sqrt{\log(1/δ)} confidence cost under full information. This constitutes a formal separation in the confidence cost of strongly convex OCO across feedback models. Regarding constrained OCO with stochastic constraints satisfying a Slater condition, we provide simultaneous high-probability guarantees for both cumulative regret and long-run constraint violation, achieving O(Tlog(m/δ))\mathcal{O}(\sqrt{T\log(m/δ)}) regret and O(T/(ζδ)+mTlog(m/δ))\mathcal{O}(\sqrt{T}/(ζδ) + m\sqrt{T\log(m/δ)}) violation. Synthetic experiments corroborate all theoretical predictions.
Wentao Zhang, Yutong Zhang, Wentao Mo
Jun 30, 2026cs.LG

Constrained Online Convex Optimization without Slater's Condition

We study constrained online convex optimization with adversarial losses and stochastic or adversarial constraints. For stochastic constraints, existing algorithms that achieve nearly optimal regret and constraint violation bounds typically rely on regularity assumptions such as Slater's condition, while adversarial-constraint algorithms avoid these assumptions by using a rather restrictive round-wise feasible comparator. We bridge this gap with an anytime primal-dual framework that incorporates an adaptive regularizer into the dual update. The regularizer stabilizes the dual process without relying on the negative drift induced by Slater's condition. For stochastic constraints and convex losses, our algorithm achieves O(T)O(\sqrt{T}) expected regret and O(TlogT)O(\sqrt{T}\log T) expected cumulative constraint violation. Furthermore, we show that our algorithm also admits high-probability bounds of the same order on regret and constraint violation. For strongly convex losses, the regret bound improves to O(logT)O(\log T) with a violation bound of the same order. With a minor modification, the framework also applies to adversarial constraints and provides guarantees for hard constraint violation.
Kihyun Yu, Junehee Lee, Dabeen Lee
May 20, 2026cs.LG

A Geometric Approach to Constrained Online Learning

We study constrained online convex optimization with adversarial time-varying constraints. At each round the learner acts before observing the loss and constraint, and is compared with the best fixed action satisfying all constraints in hindsight. The goal is to obtain minimax-optimal regret while controlling cumulative constraint violation (CCV). Prior algorithms achieved O(logT)O(\log T) regret with O(TlogT)O(\sqrt{T\log T}) CCV for strongly convex losses, and O(T)O(\sqrt{T}) regret with O(TlogT)O(\sqrt{T}\log T) CCV for convex losses. We propose NP-OGD, an iterated nested-projection algorithm. For strongly convex losses it achieves O(logT)O(\log T) regret and O(logT)O(\log T) CCV; for convex losses it achieves O(T)O(\sqrt{T}) regret and O(T)O(\sqrt{T}) CCV. The analysis relies on a geometric movement bound: after lifting the nested projected-gradient trajectory to one higher dimension, the lifted path is self-contracted under a nonstandard norm, so a finite-length theorem for self-contracted curves controls the total projection movement. We also prove complementary lower bounds using layered sphere packings. For strongly convex losses, any online algorithm with polynomially sublinear regret can incur CCV at least Ω((logT)(d1)/(d+1)/loglogT)Ω((\log T)^{(d-1)/(d+1)}/\log\log T). For convex losses, we prove CCV lower bounds Ω(T(d1)/(2(d+3)))Ω(T^{(d-1)/(2(d+3))}) for weakly adaptive algorithms and Ω(T(d1)/(2d))Ω(T^{(d-1)/(2d)}) for NP-OGD. Finally, for the constrained experts special case over NN experts, an active Hedge algorithm attains O(TlogN)O(\sqrt{T\log N}) regret and O(N)O(N) CCV, with a matching minimax CCV lower bound for sufficiently large horizons.
Dhruv Sarkar, Abhishek Sinha