arXiv:2611.08302cs.LGNov 2026

Manuscript Offprint

arXiv:2611.08302

Dynamic Optimistic Constrained OCO with Memory via Delay Equivalence

Mohammed Abdullah, George Iosifidis, Salah Eddine Elayoubi, Tijani Chahed

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mohammed Abdullah

L2S, CentraleSupélec Université Paris-Saclay, CNRS France mohammed.abdullah@centralesupelec.fr

George Iosifidis

Delft University of Technology The Netherlands G.Iosifidis@tudelft.nl

Salah Eddine Elayoubi

L2S, CentraleSupélec Université Paris-Saclay, CNRS France salaheddine.elayoubi@centralesupelec.fr

Tijani Chahed

Télécom SudParis Institut Polytechnique de Paris France tijani.chahed@telecom-sudparis.eu

Abstract

Online Convex Optimization with memory and time-varying constraints (COCO-M) is a recently-introduced framework that captures the dynamics of stateful online learning and non-stochastic control with budget constraints. Despite its expressive power, COCO-M remains largely understudied. In this work, we tackle this problem in its full scale, providing an optimistic algorithm that incorporates untrusted predictions to tame universal dynamic regret and cumulative constraint violation. Our analysis leverages a potent reduction from memory to delay and treats state-dependent gradients as delayed feedback. We establish the first bounds that adapt to both environment non-stationarity (path length PTP_T) and prediction accuracy, while lifting previous restrictive assumptions such as functional separability. En route to these results, we derive findings of independent interest for the memory-to-delay reduction, and for delayed OCO with time-varying constraints. The proposed framework ensures sublinear worst-case guarantees that improve with prediction accuracy, reaching O(1)\mathcal{O}(1) regret under perfect predictions, with cumulative constraint violation (CCV) O(T)\mathcal{O}(\sqrt{T}) for unknown PTP_T and O(log⁡T)\mathcal{O}(\log T) for known or online observable PTP_T, while recovering the optimal COCO rates when memory disappears.

1 Introduction

Online Convex Optimization (OCO) is a powerful framework for sequential decision making: at each round t=1…Tt = 1 \ldots T, a learner selects xt∈Xx_t \in \mathcal{X}, an adversary reveals a convex loss function ft:X→Rf_t : \mathcal{X} \to \mathbb{R}, and the learner incurs cost ft(xt)f_t(x_t). Performance is measured via regret, RT\mathcal{R}_T, which compares the learner's cumulative loss against a benchmark sequence {ut}t\{u_t\}_{t}. Depending on the choice of benchmark, one obtains static regret against a fixed decision ut=x⋆,∀tu_t = x^\star, \forall t; worst-case dynamic regret against per-round minimizers, ut=xt⋆=arg⁡min⁡x∈Xft(x),∀tu_t = x_t^\star = \arg \min_{x \in \mathcal{X}} f_t(x), \forall t; or the more general universal dynamic regret, which allows comparison to any sequence {ut}t\{u_t\}_{t}. Over the years, OCO has been extended to a wide range of settings with many practical applications [1, 2].

A key extension is OCO with memory (OCO-M), where the loss at time tt depends on a window of past decisions xt−m,…,xtx_{t-m}, \ldots, x_t. This formulation arises naturally in applications such as recommender systems, portfolio optimization, and continual learning [3]. Importantly, OCO-M underlies the

Preprint.

framework of non-stochastic control (NSC), which optimizes stateful systems under adversarial disturbances [4]. In many such problems, the learner must also satisfy time-average constraints of adversarially-varying functions gt(xt)≤0g_t(x_t) \leq 0. In this constrained OCO (COCO) setting, the goal is to control both regret and cumulative constraint violation (CCV), QT≐∑tmax⁡{gt(xt),0}Q_T \doteq \sum_t \max\{g_t(x_t), 0\}. In practice, these constraints often exhibit memory as well, depending jointly on past decisions. Following [5], we refer to this setting as COCO-M.

Despite its many applications in stateful online decision problems and NSC with time-average constraints, COCO-M remains largely unexplored. This gap is not due to a lack of attention, but reflects inherent technical barriers. Indeed, even simplified versions of this problem challenge existing OCO methods: memory induces delay between decisions and their fully-observed feedback, time-varying constraints interact with long-term feasibility requirements, and dynamic benchmarks introduce additional non-stationarity. As a result, current techniques are insufficient to address COCO-M in its full generality, motivating the development of new methodological approaches.

Prior Work. We review briefly here the main lines of pertinent work and refer the reader to Appendix A for a comprehensive discussion. While COCO attracts growing attention, see [6] and references therein, only few works consider dynamic regret. Under this benchmark, the learner must additionally adapt to the variability of comparator, measured by its path length PT=∑t∥ut−ut−1∥P_T = \sum_t \|u_t - u_{t-1}\|. [7] established worst-case dynamic regret O((1+PT)T)\mathcal{O}(\sqrt{(1+P_T)T}) and QT=O(T)Q_T = \mathcal{O}(\sqrt{T}) for time-invariant constraints. For time-varying adversarial constraints, [8] obtained O((1+PT)T)\mathcal{O}(\sqrt{(1+P_T)T}) universal dynamic regret and QT=O(T3/4)Q_T = \mathcal{O}(T^{3/4}). Subsequent works [9, 10] refined these guarantees under different assumptions, and [11] provided the first bounds for universal dynamic regret and CCV. However, none of these important works considers memory. The few studies of dynamic regret in memory-dependent problems are confined to the special case of switching costs (one-round memory) [12], [13], or to NSC without time-average constraints [14], [15], [16]. Thus, dynamic regret for COCO-M, and more broadly for constrained NSC, remains essentially open.

From a methodological standpoint, this work brings together memory, delay, and optimism. Existing static optimistic memory-to-delay reductions [5, 17] require separability across memory variables, which in COCO-M yields a restrictive benchmark and prevents a direct application to constrained NSC; we drop this assumption by introducing a more general memory-to-delay reduction. Learning with delay is typically treated with multiple interleaved learners, e.g., [18], while [19] unified delay and optimism by interpreting the delayed gradients as "bad hints". This line of work focuses on static regret, with few exceptions such as [20] which does not consider constraints. Finally, optimistic learning, i.e., incorporating potentially inaccurate predictions in OCO, has been studied with dynamic regret in [21] and [22], but without delay or memory effects. In summary, current methods do not provide the tools required to address even intermediate variants of the problem considered here.

Contributions. Motivated by this gap, we study COCO-M under universal dynamic regret while leveraging (possibly inaccurate) predictions of the losses and constraints. We propose a meta-learning framework that combines an adaptive hedge-based meta-learner with a collection of optimistic delayed Online Gradient Descent (OGD) base learners, each tuned to a different value of the (unknown) path length PTP_T. Both the meta-learner and the base learners are bespoke. Moreover, a key idea in our work is that learning with memory can be effectively mapped to learning with delay; we formalize this connection and employ it to study the targeted COCO-M problem. To the best of our knowledge, this is the first work to address this problem, and its contributions can be summarized as follows:

  • Develops an optimistic delayed OCO algorithm and derives prediction-dependent universal dynamic regret guarantees (Theorem 1). This is the algorithm engine of the framework.

  • Extends this framework to constrained OCO with time-varying constraints, obtaining regret and cumulative constraint violation bounds for unknown and known PTP_T (Theorems 2 and 3).

  • Establishes a reduction from memory-dependent OCO to delayed OCO via partial gradient aggregation, without imposing function separability (Lemma 2). Building on this, it employs delayed OCO to deliver universal dynamic regret and CCV bounds for COCO-M (Corollary 1).

In all cases, our optimistic COCO-M bounds subsume the best-known results of simpler problem versions, e.g., without memory (or delay) and/or without predictions; and, when dropping the optimism, we obtain fully-adaptive COCO-M bounds, covering an important gap in literature. The details of proofs and intermediate results (some of independent interest) are included in Appendices.

References (68)