Optimal Anytime Algorithms for Online Convex Optimization with Adversarial Constraints

Abstract

We propose an anytime online algorithm for the problem of learning a sequence of adversarial convex cost functions while approximately satisfying another sequence of adversarial online convex constraints. A sequential algorithm is called anytime if it provides a non-trivial performance guarantee for any intermediate timestep t without requiring prior knowledge of the length of the entire time horizon T. Our proposed algorithm achieves optimal performance bounds without resorting to the standard doubling trick, which has poor practical performance due to multiple restarts. Our core technical contribution is the use of time-varying Lyapunov functions to keep track of constraint violations. This must be contrasted with prior works that used a fixed Lyapunov function tuned to the known horizon length T. The use of time-varying Lyapunov function poses unique analytical challenges as properties, such as monotonicity, on which the prior proofs rest, no longer hold. By introducing a new analytical technique, we show that our algorithm achieves O(t) regret and O(t) cumulative constraint violation bounds for any t≥ 1. We extend our results to the dynamic regret setting, achieving bounds that adapt to the path length of the comparator sequence without prior knowledge of its total length. We also present an adaptive algorithm in the optimistic setting, whose performance gracefully scales with the cumulative prediction error. We demonstrate the practical utility of our algorithm through numerical experiments involving the online shortest path problem.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…