TL;DR
This paper introduces the first "anytime" algorithm for Online Convex Optimization with adversarial constraints that achieves optimal performance without knowing the time horizon in advance. By replacing the clunky "doubling trick" with a novel time-varying Lyapunov function and a multiplicative update rule, the authors provide a more stable, efficient, and theoretically sound framework for real-world sequential decision-making under uncertainty.
What Problem Does This Paper Address?
In many real-world scenarios—like autonomous driving, budget-constrained bidding, or safety-aware AI—we need to minimize a cost while satisfying constraints that change over time. This is known as Constrained Online Convex Optimization (COCO).
The "adversarial" part means we don't assume the costs or constraints follow a nice, predictable pattern; they could be chosen by an opponent trying to make us fail. While researchers recently found "optimal" ways to handle this, those methods had a major catch: they required knowing exactly how many rounds ($T$) the process would last.
If you don't know $T$, the standard fallback is the "doubling trick"—running the algorithm for a fixed period, then restarting it with a doubled horizon. However, this is "aesthetically inelegant" and practically wasteful because the algorithm "forgets" everything it learned every time it restarts, leading to unstable performance and "jumps" in behavior. The authors set out to create an anytime algorithm that performs optimally at every single time step $t$ without ever needing to restart.
Methods
The authors build on a framework that reduces the complex constrained problem into a simpler unconstrained one by using a Lyapunov function to track constraint violations.
- Time-Varying Lyapunov Functions: Instead of a fixed function based on a known $T$, they use a sequence of functions $\Phi_t(x) = e^{\lambda_t x} - 1$, where the sensitivity parameter $\lambda_t$ decreases over time.
- The Multiplicative Correction: Shifting to a time-varying function usually breaks the mathematical "monotonicity" needed to prove the algorithm works. To fix this, the authors introduced a clever multiplicative correction to the "virtual queue" (the variable tracking cumulative violations). Instead of just adding the new violation to the old sum, they scale the old sum by a factor ($\lambda_{t-1}/\lambda_t$) to compensate for the shrinking Lyapunov parameter.
- Surrogate Loss: They combine the current cost and the "drift" of the constraint violation into a single surrogate loss function.
- Adaptive Subroutine: This surrogate loss is fed into a standard adaptive optimizer (like AdaGrad), which handles the actual decision-making without needing to know the Lipschitz constants (the "steepness") of the functions in advance.
Datasets
The authors evaluated their algorithm using a semi-synthetic dataset designed to simulate dynamic network conditions:
- Source: Raw data from RIPE Atlas, a global internet measurement platform.
- Task: An online shortest path problem where the goal is to minimize latency (cost) while satisfying a long-term bandwidth constraint.
- Scale: The graph consisted of 191 nodes and 1,200 edges. To mimic real-world fluctuations, they applied random scaling factors to latency and bandwidth at each of the 1,600 iterations.
Key Insights and Ideas
- Recovering Monotonicity: The "aha moment" of the paper is the realization that you can maintain mathematical stability in an anytime setting by growing the "violation queue" at the same rate you shrink the Lyapunov sensitivity. This allows for a clean regret analysis without the "memory loss" of the doubling trick.
- Horizon Obliviousness: The algorithm is truly "horizon-oblivious." It doesn't need a guess about the future to perform optimally in the present.
- Stability is Performance: By avoiding restarts, the algorithm maintains a much smoother performance trajectory. In the simulations, the doubling trick caused periodic spikes in regret and violations, whereas the anytime algorithm remained steady.
Key Results
- Optimal Bounds: The algorithm achieves $O(\sqrt{t})$ Regret and $\tilde{O}(\sqrt{t})$ Cumulative Constraint Violation (CCV) for all $t \geq 1$. These rates are information-theoretically optimal.
- Dynamic Adaptivity: The framework extends to dynamic regret, meaning it can compete with a benchmark that changes over time, adapting automatically to the "path length" (how much the optimal solution moves).
- Optimistic Gains: In the "optimistic" setting (where you have a rough prediction of the next round), the algorithm's error scales with the accuracy of those predictions rather than just the passage of time.
- Empirical Superiority: In shortest-path simulations, the anytime policy outperformed both the fixed-horizon baseline and the doubling-trick version in terms of both cumulative regret and constraint satisfaction.
Limitations and Future Work
- Diameter Dependence: The algorithm still requires knowledge of the "diameter" $D$ of the decision set (the maximum distance between any two possible actions). Designing a "fully parameter-free" anytime algorithm that doesn't even need $D$ remains an open challenge.
- Projection Constraints: The learner must be able to project onto the feasible set $\mathcal{X}$. In cases where the set $\mathcal{X}$ is unknown or extremely complex, this might be computationally expensive.
- Regret-Violation Trade-offs: The authors suggest that exploring ways to further reduce constraint violations at the cost of slightly higher regret is a promising future direction.
Summary updated