Abstract
Online Convex Optimization (OCO) provides a robust framework for sequential decision-making under uncertainty. However, the presence of time-varying, adversarial constraints—often referred to as Constrained OCO (COCO)—presents significant challenges for both computational efficiency and performance guarantees. This paper presents a new optimistic algorithm that leverages predictions of future losses and constraints to achieve tighter performance bounds. Specifically, we demonstrate that regret and constraint violations can scale with the cumulative prediction error rather than the total time horizon. Our approach maintains low per-round complexity through simple projection steps, bridging the gap between high-performance guarantees and real-time applicability in dynamic environments.
Introduction
In online learning, a learner iteratively selects actions to minimize a sequence of evolving loss functions. While standard OCO is well-studied, real-world applications—such as autonomous navigation or resource allocation—frequently involve constraints that are not only time-varying but may also be adversarial. For instance, a robot must minimize energy consumption while avoiding obstacles whose positions are revealed only after a movement is made.
Traditional algorithms for COCO typically face a trade-off: they either suffer from high computational costs (e.g., solving complex optimization problems at each step) or provide relatively loose performance guarantees, often $O(\sqrt{T})$ for regret and constraint violation. This paper addresses this gap by introducing "optimism" into the constrained setting. By utilizing "hints" or predictions about future gradients, we can significantly improve performance when these predictions are accurate, while maintaining robustness in the worst-case scenario.
Methodology
The core of the proposed framework is a meta-algorithm that integrates optimistic updates with a novel constraint-handling mechanism.
1. Surrogate Loss and the Lyapunov Potential
To manage constraints, the algorithm defines a surrogate loss function $\mathcal{L}_t(x)$ that combines the primary loss $f_t(x)$ with a penalty for constraint violations $g_t^+(x)$. A critical innovation is the use of an exponential Lyapunov potential function $\Phi(Q) = \exp(\lambda Q) - 1$, where $Q_t$ represents a "queue" of cumulative past violations. This exponential potential penalizes large violations more aggressively than linear or quadratic alternatives, ensuring that total violations remain sublinear even under adversarial conditions.
2. Optimistic Updates via Predictions
The algorithm utilizes Optimistic Mirror Descent (OMD). At each round $t$, the learner receives a prediction $M_t$ of the upcoming gradient. The algorithm performs a "look-ahead" step based on this prediction to determine a tentative action, which is then refined once the true loss $f_t$ and constraint $g_t$ are observed. This mechanism allows the algorithm to "pre-empt" changes in the environment, effectively turning high-quality predictions into lower regret.
3. Computational Efficiency
A key advantage of this framework is its efficiency. Unlike methods that require solving a full constrained optimization problem at every iteration (Conv-OPT), this algorithm only requires a simple projection onto the base decision set. This makes it suitable for high-frequency, real-time applications where computational resources are limited.
Theoretical Comparison and Results
The primary theoretical breakthrough is the derivation of error-dependent bounds. Instead of performance scaling solely with the time horizon $T$, the bounds scale with the cumulative prediction error $\mathcal{E}_T$. If predictions are perfect, the regret can be reduced to $O(1)$.
As shown in Table 1, the proposed algorithm ("Ours") achieves state-of-the-art results across several dimensions. While maintaining "Projection" level complexity, it achieves static regret of $O(\sqrt{\mathcal{E}_T(f)})$ and constraint violations of $O(\sqrt{\mathcal{E}_T(g^+)} \log T)$. For dynamic regret, which compares performance against a sequence of optimal actions, the bound scales as $O(\sqrt{P_T \mathcal{E}_T(f)})$, where $P_T$ is the path length of the optimal sequence. This represents a significant improvement over previous works that typically rely on $T$-dependent bounds or higher computational complexity. Furthermore, the algorithm is robust; if predictions are inaccurate, it gracefully degrades to the standard $O(\sqrt{T})$ rates.
Extensions and Future Work
Beyond the standard COCO setting, the framework extends to Adversarial Contextual Bandits with constraints. In this setting, where the learner only observes the loss for the chosen action, the algorithm achieves optimistic bounds of approximately $\tilde{O}(\sqrt{\mathcal{E}_T(f)}T^{1/3})$, outperforming existing benchmarks when high-quality predictions are available.
Despite these advances, several avenues for future research remain. The non-smooth nature of the constraint violation function $g_t^+$ currently prevents the attainment of logarithmic regret bounds ($O(\log T)$) seen in unconstrained optimistic OCO. Additionally, exploring performance against more aggressive oracle sets or under strong convexity assumptions could further refine the theoretical landscape of constrained online learning.
Conclusion
This research presents a computationally efficient, optimistic algorithm for OCO with adversarial constraints. By effectively leveraging predictions, the method provides tighter performance guarantees that adapt to the quality of available information. This work bridges the gap between theoretical OCO and the practical needs of dynamic, constrained systems.
Summary updated