TL;DR
This paper introduces a unified, anytime primal-dual algorithm for Constrained Online Convex Optimization (COCO) that achieves nearly optimal regret and constraint violation bounds without relying on restrictive regularity assumptions like Slater's condition. By introducing a novel adaptive regularizer to stabilize the dual update, the algorithm provides strong expected and high-probability guarantees across both stochastic and adversarial constraint settings.
What Problem Does This Paper Address?
Constrained Online Convex Optimization (COCO) models sequential decision-making under uncertainty where an agent minimizes cumulative losses while satisfying time-varying constraints. Real-world applications include online advertising within a budget, portfolio risk management, and wireless resource allocation.
The challenge in COCO lies in balancing regret (how much worse the agent performed compared to an optimal fixed strategy in hindsight) and constraint violation. For stochastic constraints (where constraints are sampled i.i.d. from an unknown distribution), existing optimal algorithms rely heavily on "Slater's condition"—the assumption that there exists a baseline decision that strictly satisfies all constraints with a safety margin ($\mathbb{E}[g(x)] \leq -\epsilon$). If this margin $\epsilon$ approaches zero, previous algorithms break down, and their violation bounds explode ($O(\epsilon^{-1}\sqrt{T})$).
While some adversarial constraint algorithms avoid Slater's condition, they do so by comparing performance against a highly restrictive "round-wise feasible" comparator (feasible at every single step). This is poorly suited for stochastic environments where a comparator is typically only feasible in expectation. This paper bridges the gap, removing Slater's condition for stochastic constraints while maintaining a realistic, expectation-feasible comparator.
Methods
The authors propose a novel anytime primal-dual framework (Algorithm 1) characterized by two main components:
- Surrogate Primal Update: Instead of standard gradient descent on the loss function alone, the algorithm optimizes a surrogate subgradient based on an exponential Lyapunov function: $\nabla f_t(x_t) + \Phi'_t(Q_t)\nabla g_t(x_t)$, where $\Phi_t(x) = e^{\gamma_t x} - 1$. The exponential form ensures the derivative is always positive, preserving the convexity of the surrogate objective.
- Adaptive Regularizer ($R_t$): The core innovation is adding a time-varying regularizer $R_t$ directly into the dual variable update: $Q_{t+1} = Q_t + g_t(x_t) - R_t$. This regularizer is mathematically engineered to offset a problematic accumulation term involving the Lyapunov function's derivative that arises during regret analysis. Crucially, it stabilizes the dual process without needing the negative drift implicitly provided by Slater's condition.
Additionally, the step sizes ($\eta_t$) and Lyapunov parameters ($\gamma_t$) adapt dynamically over time, meaning the algorithm runs in an anytime manner without requiring prior knowledge of the total time horizon $T$.
Datasets
Not discussed in the paper. The paper is purely theoretical and focuses on proving mathematical bounds rather than empirical evaluation on datasets.
Key Insights and Ideas
- Ditching the Safety Margin: Traditional analyses use Slater's condition to guarantee a "negative drift" that keeps the dual variables (queues) from blowing up. This paper shows that you can manufacture stability algorithmically via the adaptive regularizer $R_t$, completely bypassing the need for an environmental safety margin ($\epsilon > 0$).
- The Dual Trade-off: Choosing $R_t$ is a delicate balancing act. If $R_t$ is too large, it destroys the constraint violation bounds (since cumulative violation scales with $\sum R_t$). The authors prove that their specific choice of $R_t$ grows sublinearly ($\tilde{O}(\sqrt{T})$), perfectly balancing dual stability and feasibility.
- A Unified Framework: A single algorithmic template handles both stochastic and adversarial constraints, as well as standard convex and strongly convex losses, simply by swapping the step-size rule or constraint function input.
Key Results
The paper establishes nearly optimal bounds across multiple settings, as summarized in the authors' comparison table:
- Stochastic Constraints + Convex Losses: Achieves $O(\sqrt{T})$ expected regret and $O(\sqrt{T}\log T)$ expected cumulative constraint violation.
- High-Probability Guarantees: Achieves the same $O(\sqrt{T})$ and $\tilde{O}(\sqrt{T})$ scaling with high probability ($1-\delta$), utilizing a supermartingale concentration inequality to handle the expectation-feasible comparator.
- Strongly Convex Losses: Regret improves significantly to $O(\log T)$ (expected) and $O(\log T + \sqrt{\log(1/\delta)})$ (high-probability), while constraint violation remains $\tilde{O}(\sqrt{T})$.
- Adversarial Constraints: With a slight modification (Algorithm 2, accumulating $[g_t(x)]_+$), it achieves $O(\sqrt{T})$ regret and $O(\sqrt{T}\log T)$ hard constraint violation (where positive and negative violations are not allowed to cancel out across rounds).
Limitations and Future Work
- Fixed vs. Dynamic Comparator: The paper focuses on minimizing regret against a fixed optimal comparator over time. A natural next step is extending this to dynamic regret, where the optimal comparator sequence can change at each round to track non-stationary environments.
- Projection Oracle Dependence: The primal update step requires a projection oracle onto the feasible action space $\mathcal{X}$. In high-dimensional spaces or complex geometries, computing this projection can be computationally expensive. Developing a projection-free variant (e.g., using Frank-Wolfe style updates) remains an open direction.
Summary updated