Manuscript Offprint
arXiv:2611.08302Dynamic Optimistic Constrained OCO with Memory via Delay Equivalence
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 ) 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 regret under perfect predictions, with cumulative constraint violation (CCV) for unknown and for known or online observable , 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 , a learner selects , an adversary reveals a convex loss function , and the learner incurs cost . Performance is measured via regret, , which compares the learner's cumulative loss against a benchmark sequence . Depending on the choice of benchmark, one obtains static regret against a fixed decision ; worst-case dynamic regret against per-round minimizers, ; or the more general universal dynamic regret, which allows comparison to any sequence . 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 depends on a window of past decisions . 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 . In this constrained OCO (COCO) setting, the goal is to control both regret and cumulative constraint violation (CCV), . 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 . [7] established worst-case dynamic regret and for time-invariant constraints. For time-varying adversarial constraints, [8] obtained universal dynamic regret and . 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 . 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 (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.
We denote with the prediction of the function and with the partial gradient (a subgradient) of with respect to . Also, is the -dimensional unit simplex.
Metrics & Benchmarks. At each round , the learner decides and incurs loss and constraint violation , where . We compare the learner against a comparator sequence that belongs to the feasible benchmark set:
where we use the convention , to streamline presentation. Observe that is confined to satisfy the constraints on a per-round basis. This is necessary so as to avoid the impossibility result of [23] and is in line with prior COCO works (see Appendix Sec. A). Still, expands the static-regret COCO-M benchmark set in [5]; an advantage of our new memory-to-delay reduction in Sec. 5.
The learner is assessed using the metrics of dynamic regret and cumulative constraint violation :
Our goal is to ensure both and are sublinear in and the comparator's path length . Here we study universal dynamic regret, which is measured against all feasible comparator sequences [24]; this is a more general (and more challenging) metric [11].
Meta-learning with Hedge. Optimizing for dynamic regret requires knowledge of or adaptation at runtime. A key idea here is to use a meta-learner that hedges against a set of base learners, that are implemented with different learning rates in a way that ensures at least one of them is tuned within a constant factor of [25]. Unfortunately, in our problem the hedging is compounded by the memory effects that introduce delay in discerning the best base learner.
Memory-to-Delay. In memory-less OCO, the loss gradient is available immediately; however, in OCO-M the impact of is dispersed across the next rounds; thus, memory induces feedback delay. To state this connection in a form that also applies to constrained problems, let be a memory-dependent loss. In the unconstrained case, , while in the constrained case is the penalized surrogate loss. We define the credit gradient as the sum of partial gradients of all functions influenced by , i.e., , where . Clearly, cannot be computed until round , which reveals a feedback delay of rounds in OCO-M. Using this observation (formalized in Sec. 5), we shift our focus from the per-round loss to the per-decision credit , i.e., from memory to a delayed feedback problem. A similar transformation, at the function level, was used by [5] and [17]; we discuss the differences in Sec. 5.
Optimism. Another key idea in this work is optimism, i.e., incorporating in learning (possibly inaccurate) predictions of future gradient vectors and/or actions [26]. Optimistic learning turns non-optimistic regret bounds of the form , for some , to , where is the accumulated prediction error. These bounds hence range from for accurate predictions, to the non-optimistic bound in the worse case. This improvement happens, typically, through prediction errors-adaptive regularization, e.g., see [27, 28], and do not require prior information of the prediction accuracy. Finally, an important connection between optimism and feedback delay in OCO, which we also leverage here, was recently introduced in [19].
We rely on the following standard OCO assumptions throughout the paper.
If there are multiple constraints , one may define .
We use throughout for simplicity; if the functions are not differentiable, should be interpreted as a subgradient
Assumption 1. The decision set is nonempty, closed, bounded, and convex, with and diameter .
Assumption 2. For every , the functions are convex in their arguments and uniformly bounded in absolute value by .
Assumption 3. For every , the gradients of and , as well as their predicted counterparts, are uniformly bounded in norm by .
Finally, we consider an oblivious adversary, in line with [3, 29, 30] and others. Hence, the loss and constraint functions are determined at , but are not revealed before each round is realized.
Remark 1. Unlike prior optimistic OCO/COCO-M works [5, 17], Assumptions 1-3 do not impose separability of the memory-dependent functions. Further, we do not impose Slater-type conditions.
Roadmap. Given the identified memory-to-delay equivalence, we start in Section 3 by studying universal dynamic regret for the optimistic delayed OCO problem. In Section 4, we extend this analysis to the case of time-varying adversarial constraints (COCO with delay). Finally, Section 5 formalizes the memory-to-delay connection and shows how these results can be transferred to the targeted optimistic COCO-M problem.
3 Dynamic Optimistic OCO with Delay
We start with the problem of optimistic OCO with feedback delay. We use a decision-time convention that makes the delay explicit and facilitates making later the connection with memory. The decision is played at time , while its associated feedback vector is fully revealed only after rounds. Equivalently, at round , the learner receives the delayed feedback . Abusing slightly the notation (in order to facilitate presentation in Section 5), we redefine to denote the convex loss at round which is associated (due to delay) with the earlier decision . We also redefine . This notation aims to emphasize the delayed feedback. By convexity:
Thus, we control the regret of the delayed linear losses . We study the challenging case where the comparator path length is unknown, and employ a meta-learning construction with base learners, similarly in spirit to [25]. At each round , every base learner proposes an action , and the meta-learner plays a fused action:
For any fixed base learner , the delayed linearized regret decomposes as:
Since and , where is the -th vertex of , Term (I) becomes:
This way, we obtain a meta-level problem with losses and a base-level problem with losses ; and we treat both problems with delayed learning and optimism.
Unfortunately, standard dynamic-regret meta-learning schemes such as [25] do not handle delayed expert losses, while delayed/adaptive Hedge methods such as [2, 31] do not provide the optimistic prediction-dependent form needed here. Therefore, we build a bespoke meta-learning construction, leveraging and extending the delay-as-optimism framework of [19]: the missing delayed gradients are handled through predictions (or, hints) rather than worst-case gradient bounds; and we use a delayed-upper-bound (DUB) tuning to set the regularization from revealed quantities, thus avoiding over-regularization and preserving the benefit of predictions.
Let us clarify first the prediction structure which is essentially common for both problems. At each round , after observing , the block remains unavailable to the learner. To overcome this issue, the algorithm uses the prediction block , which includes both this missing information and the next hint . That is, at each round , the learner needs to predict the gradient of , and also the , as it appears in the function of round . We emphasize that this is not the only possible way to construct the hint. As in prior optimistic works, predicted gradients may be evaluated instead at current decisions (which are known); see [19, 21, 26]. More generally, the algorithm does not require these quantities to be predicted separately: it only needs a bounded vector that serves as a prediction of .
Now, focusing on Term (I), the meta-learner leverages delayed optimistic FTRL/AdaHedge to , and updates its fusing weights by executing:
where we defined . Here we used an entropic regularizer , and the DUB regularization from [19], which employs the formula:
Parameters and are problem-specific, and for our meta-learning are defined as:
There are few interesting remarks here. First, the meta-learner operates on linear losses, so itself does not need to be predicted. Second, before choosing , the meta-learner already knows and hence the only unknown quantity is the future feedback . Finally, observe that we need to predict only the gradient vectors, not matrices (see Lemma 3 in Appendix).
Turning our attention to Term (II), each base learner is tuned to a path-length guess , using the dyadic grid of possible values, as in [25]. However, here the base learners need also to handle the feedback delay and include the predictions. To enable this, we rely again on the toolbox of [19] which we modify for dynamic regret. This extension involves a non-trivial analysis due to the interaction of the prediction errors with the comparator variation (see Theorem 4 and Corol. 2 in Appendix); yet, interestingly, its implementation requires minimal changes. Namely, each base learner runs:
Alg. 1 summarizes the execution of this meta-learning framework, and the next theorem its regret.
Theorem 1 (Delayed optimistic OGD). Let be the delayed gradient feedback and let be its prediction. For any comparator sequence , Algorithm 1 ensures universal dynamic regret:
Proof outline. By convexity, the delayed loss regret is upper bounded by the delayed linearized regret, . Term (I) is the meta-regret of Alg. 1, and is controlled by the delayed optimistic FTRL/AdaHedge update of [19, Theorem 12] with entropic regularizer, see Lemma 3. Term (II) is the delayed dynamic regret of the best-tuned base learner, Alg. 2, and is controlled by Theorem 4 and Corollary 2. Finally, the path-length grid, following the meta-learning idea of [25], ensures one base learner is tuned to up to constants.
Algorithm 1 Universal Meta-Algorithm for Delayed Optimistic OCO
Require: Grid of path-length scales , initial weights .
Require: Constraint parameters , and .
1: Activate base learners by running Algorithm 2 with scale , for each .
2: for do
3: Receive from each base learner and set .
4: Play the convex combination .
5: Observe the delayed feedback and the hints .
6: Send and to all base learners.
7: Receive the next predictions and set .
8: Define the delayed meta-loss and optimistic hints
9: Compute using (3) with (4).
10: Update using (2).
11: end for
Algorithm 2 Delayed Optimistic OGD Base Learner
Require: Path-length scale , initial points .
Require: Constraint parameters , and .
1: for do
2: Submit to the meta-algorithm.
3: Receive the delayed feedback and the hints .
4: Compute using (3) with (6).
5: Update using (5).
6: end for
Discussion. The factor should be interpreted as the cost of maintaining a prediction-adaptive bound under delayed feedback. If predictions are ignored and a uniform gradient bound is available, one can instead use fixed worst-case tuning and obtain a delayed dynamic-regret bound with linear dependence on . We refer to Appendix B.1.2 for a more detailed discussion of this dependence. However, such a worst-case tuning would lose the benefit of accurate predictions and is less suitable for the constrained setting, where the surrogate gradients may not admit a useful uniform Lipschitz bound. Under worst-case predictions accuracy, Theorem 1 guarantees regret , which matches the lower bound of [25] for , and the delay dependency (equivalently, memory length) of [3] (static regret; no predictions). Interestingly, under perfect predictions we obtain regret . The bound holds for any value of and recovers (up to constants) the respective no-memory bound of [22] in the known case, where is the accumulated prediction error.
Technically, the main difference from [19] is that, under a dynamic benchmark, prediction errors interact with the movement of comparator. We control this interaction using an auxiliary Young-type argument and show it does not change the desired prediction-adaptive order, except through the path-length dependence. We kindly refer the reader to Appendix B for the derivations and discussion. From a computational perspective, we use multiple base learners to adapt to unknown . Still, unlike previous delayed OCO frameworks e.g., [18], we use only one copy of the algorithm for each value, instead of parallel copies that would have been trained only on a fraction of data.
4 Handling Time-average Adversarial Constraints
This section extends the above analysis to handle time-average adversarially-varying constraints, i.e., to constrained optimistic OCO with delayed feedback. To facilitate presentation, we use the shifted notation from Section 3: the feedback received at round corresponds to decision . COCO methods perform OCO over a time-varying Lagrangian-type surrogate using either a primal–dual method, e.g., [32], or a penalty method where the accumulated constraint violation, , is penalized directly in a scalarized surrogate loss [6, 9, 33, 34]. We follow the latter approach and define:
where is a trade-off parameter, and an increasing convex penalty function. Equivalently, in the decision-time notation of Sec. 3, one sets , so that the feedback associated with is the gradient of the surrogate loss revealed at . The penalty coefficient is evaluated at , which is available when is decided. This avoids the need to predict the future queue evolution when forming the gradient prediction. As a result, the prediction error of the surrogate gradient separates naturally into the prediction error of the objective and that of the constraint violation.
We define the prediction errors at the level of the delayed gradients. For every , set
The term is defined analogously. At , all past decisions are known, thus suffices to predict only . We now recall the decomposition connecting the surrogate regret to and .
Lemma 1 (adapted from [5, 11]). For any differentiable, convex and increasing penalty , it is:
where the dynamic regret is computed with respect to comparator sequences .
Remark 2. The queue is maintained globally using the actually played trajectory. After the learner plays , the queue is updated from the realized constraint violation, and the corresponding surrogate feedback is constructed and fed to all base learners and to the meta-learner. Thus, the base learners do not maintain separate counterfactual queues.
4.1 Unknown Path Length: Regret and CCV Bounds
We first consider the case where is unknown. We apply the meta-base delayed optimistic algorithm developed in Section 3 to the surrogate loss defined in (7).
Theorem 2 (Unknown-path-length bounds with CCV-oriented tuning). Let be any feasible comparator sequence with path length . Using a quadratic penalty , and
Then, under the delayed optimistic meta-base algorithm 1 the following bounds hold
We note that appearing in the bound on can be taken as the smallest feasible path length. In particular, it can be zero whenever there exists a fixed decision that satisfies all constraints.
Discussion. Theorem 2 gives an optimistic delayed-COCO guarantee under a universal dynamic benchmark. Under worst-case predictions, we obtain an regret bound and an CCV bound, recovering the best known rates of [11] when m=0.
Under perfect predictions, our bounds reduce to regret and CCV. We note that [7] achieves regret and CCV for time-invariant constraints. Our perfect-prediction regime recovers the same CCV order while handling time-varying constraints. In the known setting, we get better bounds as shown later. As discussed in Appendix B.1.2, the extra factor in the simplified delayed-regret bound can be absorbed by the meta-complexity or path-length terms when or dominates m, leading to linear dependence on the delay. Finally, since V depends on , we use a doubling trick to learn this quantity online, introducing at most an overhead, as is standard in optimistic COCO, see, e.g., [5, 9].
Remark 3 (Penalty choice and path-length dependence). In COCO, the surrogate loss must do two things: track the comparator for regret and penalize constraint violations to control the queue. This coupling between tracking and feasibility is what leads to a higher dependency on . If is known, the penalty parameter can be tuned to the true scale of comparator motion, allowing balancing regret and queue control. When is unknown, this tuning is not available. Moreover, the usual meta-learning approach cannot be applied directly to the penalty parameter, since different penalty choices generate different surrogate loss sequences. Thus, one must use a single surrogate construction that works uniformly; this leads to a more conservative trade-off.
Also, the -type term in the CCV bound comes from the same limitation. We use the quadratic penalty , which is the smallest polynomial penalty that still yields sublinear queue growth. Stronger penalties, such as with , or exponential penalties, may improve the CCV exponent, but they also amplify the path-length contribution in the surrogate regret bound. Thus, improving CCV in this way comes at the cost of worse dependence on . We study next the known-path-length regime, where this trade-off can be tuned more carefully.
4.2 Known Path Length
When is known we can tune the surrogate loss directly to the scale of the comparator motion via the penalty . Hence, we can directly run only one base learner, Algorithm 2, with .
Theorem 3 (Known-path-length case with exponential penalty). For any with path length to be known. Choose , and , with:
Feeding these parameters into Algorithm 2, the following bounds hold:
Discussion. Theorem 3 gives prediction-dependent bounds for the known case, without using meta-learning. We first compare with dynamic optimistic COCO works with predictions. When , we recover the no-memory optimistic COCO bounds of [9]: , . Thus, our result extends their prediction-dependent guarantees to delayed and memory-dependent settings. The closest static optimistic memory-dependent works are [5, 17]. These works rely on separability of the memory terms, which facilitates isolating the contribution of each decision, but leads to a more restrictive benchmark in constrained problems and restricted class of loss functions. Our approach avoids this assumption and recovers the same type of prediction-dependent bounds while preserving the original joint feasibility benchmark. Finally, compared to [35], which studies the static memory-constrained problem without predictions, our bounds improve over their regret and CCV rates.
Remark 4. If is unknown but measurable online, a standard doubling trick recovers the bounds of this subsection. The same applies to tuning , since is observable online.
5 Memory as Delayed Feedback
We now transfer the delayed optimistic dynamic regret guarantees to the memory problems. In this setting, the loss and constraint functions depend on a block of past decisions, and . Thus, affects all losses whose memory window contains it, i.e., all such that . Hence, its full first-order contribution is revealed only after these losses are observed, which induces a feedback delay of at most . Note that we redefine here the learning functions, , and the horizon ( instead of ) (further explanations about notation conventions, please see Appendix Sec. D).
The reduction is performed at the regret level. The memory losses are not assumed to be linear. Rather, we use the standard OCO linearization argument: applying the first-order convexity inequality to each memory surrogate loss around the played block gives an upper bound in terms of partial gradients. More precisely, when is nondifferentiable, we select a joint subgradient
and interpret below as the coordinate block . Thus, all coordinate blocks associated with a given are taken from the same joint subgradient, the same convention applies to predicted functions. For each decision index s, define
Here, is the set of losses whose memory window contains , and is the corresponding credit gradient. It induces the auxiliary linearized loss . Since , the vector is fully revealed no later than round .
Lemma 2 (Memory-to-delay linearization). Let be jointly convex , and define , as in (11), using the joint-subgradient convention above whenever is non-differentiable. Then, for any comparator sequence , it holds that
Moreover, is revealed with delay at most m.
The following corollary transfers the delayed guarantees to the memory setting.
Corollary 1 (Transfer from delayed OCO to memory). Any regret guarantee for delayed OCO with delay at most , applied to the auxiliary linearized losses , yields the corresponding guarantee for the memory-dependent regret. In particular, Theorems 1, 2, and 3 apply to the memory-dependent problem after replacing the delayed gradients by the credit gradients . The corresponding objective and constraint prediction errors induced by the credit gradients are specified below.
In the delayed case without memory, the hint predicts one delayed gradient, e.g., , and constructing the next hint only requires a one-step proxy decision. In the memory case, the hint must predict the whole credit gradient . Thus, one may set
Consequently, constructing may require predicting the future memory block up to , not only the next decision . Thus, the hints used by Algorithm 1 when is unknown, or directly by Algorithm 2 when is known, are
Remark 5. In the constrained case, we use the surrogate loss
The regret decomposition Lemma of [5] applies to this surrogate too for . Thus, once the dynamic regret of is controlled via Corollary 1, the objective-regret and CCV bounds follow as in the delayed case. Equivalently, the prediction errors for the final COCO-M bounds are defined at the level of the objective and constraint credit gradients, and , where
The latter quantity provides a penalty-independent upper envelope for the normalized constraint credit-gradient prediction error, as shown in Appendix D.
Discussion. Prior optimistic approaches to OCO with memory [5, 17], isolate the contribution of each decision at the level of loss functions, which requires separability across the memory variables. Our reduction keeps the memory-dependent loss in its original jointly convex form and linearizes only at the regret level. The price is that optimistic hints must predict credit gradients rather than single gradients. This may require predicting future memory blocks, but avoids imposing component-wise feasibility on separable parts of the constraint, and preserves the original joint feasibility benchmark. For the constraints, different memory contributions carry different queue-dependent penalty coefficients. We therefore use a penalty-independent envelope of the aggregated prediction errors, which parallels the separable setting [5] while controlling the corresponding weighted error. It vanishes under perfect predictions and preserves an worst-case dependence, up to memory-dependent factors.
6 Conclusions and Limitations
The proposed framework contributes in closing a gap in COCO with memory, and NSC with time-average budget constraints, and can be used to tackle important problems in ML, operations research, control of cyber-physical systems, and so on. Aiming for universal dynamic regret ensures the learning is against the most demanding comparators; while the inclusion of optimism enables the bounds to improve, reaching path-length-oblivious regret , together with when is unknown, and when known or observable at runtime.
There are few limitations which call for follow up work. First, the framework requires predicting, apart from future functions, also some future actions. This cyclic dependency is implicit in almost all optimistic learning works (unless the losses are linear); still, it is worth investigating whether it can be avoided, see discussion in [21]. Secondly, the constraint violation does not scale down to under perfect predictions. While this matches the best-known optimistic COCO bounds (without memory), it is certainly exciting to explore further improvements. Finally, expanding the set of eligible benchmarks in COCO is a key challenge; our work contributes in this direction but the question of approaching closer to horizon-long feasibility remains open.
Acknowledgments
This work was supported in part by the French government through the France 2030 program under the Celtic RAI-6Green project, and in part by the European Commission under Grant No. 101192462 (FLECON-6G).
References
[1] Elad Hazan. Introduction to online convex optimization. 2016.
[2] Francesco Orabona. A modern introduction to online learning. arXiv preprint arXiv:1912.13213, 2019.
[3] Oren Anava, Elad Hazan, and Shie Mannor. Online learning for adversaries with memory: price of past mistakes. Advances in Neural Information Processing Systems, 28, 2015.
[4] Elad Hazan and Karan Singh. Introduction to online control, 2026. URL https://arxiv.org/abs/2211.09619.
[5] Mohammed Abdullah, George Iosifidis, Salah Eddine Elayoubi, and Tijani Chahed. Constrained online convex optimization with memory and predictions. Proceedings of the AAAI Conference on Artificial Intelligence, 40(24):19524–19532, Mar. 2026. doi: 10.1609/aaai.v40i24.39031.
[6] Abhishek Sinha and Rahul Vaze. Beyond constraint violation for online convex optimization with adversarial constraints. arXiv preprint arXiv:2505.06709, 2025.
[7] Xinlei Yi, Xiuxian Li, Tao Yang, Lihua Xie, Tianyou Chai, and Karl H Johansson. Regret and cumulative constraint violation analysis for online convex optimization with long term constraints. In International Conference on Machine Learning, pages 11998–12008, 2021.
[8] Hengquan Guo, Xin Liu, Honghao Wei, and Lei Ying. Online convex optimization with hard constraints: Towards the best of two worlds and beyond. Advances in Neural Information Processing Systems, 35:36426–36439, 2022.
[9] Jordan Lekeufack and Michael I Jordan. An optimistic algorithm for online convex optimization with adversarial constraints. arXiv preprint arXiv:2412.08060, 2024.
[10] Qingsong Liu, Wenfei Wu, Longbo Huang, and Zhixuan Fang. Simultaneously achieving sublinear regret and constraint violations for online convex optimization with time-varying constraints. Performance Evaluation, 152:102240, 2021.
[11] Subhamon Supantha and Abhishek Sinha. Universal dynamic regret and constraint violation bounds for constrained online convex optimization. arXiv preprint arXiv:2510.01867, 2025.
[12] Lijun Zhang, Wei Jiang, Shiyin Lu, and Tianbao Yang. Revisiting smoothed online learning. In Advances in Neural Information Processing Systems 34, pages 13599–13612, 2021.
[13] Sifan Yang, Wenhao Yang, Wei Jiang, Yuanyu Wan, and Lijun Zhang. Smoothed online convex optimization with delayed feedback. In James Kwok, editor, Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25, pages 6812–6820. International Joint Conferences on Artificial Intelligence Organization, 8 2025. doi: 10.24963/ijcai.2025/758. URL https://doi.org/10.24963/ijcai.2025/758. Main Track.
[14] Peng Zhao, Yu-Hu Yan, Yu-Xiang Wang, and Zhi-Hua Zhou. Non-stationary online learning with memory and non-stochastic control. Journal of Machine Learning Research, 24(206):1–70, 2023.
[15] Dheeraj Baby and Yu-Xiang Wang. Optimal dynamic regret in lqr control. Advances in Neural Information Processing Systems, 35:24879–24892, 2022.
[16] Hongyu Zhou, Zirui Xu, and Vasileios Tzoumas. Efficient online learning with memory via frank-wolfe optimization: Algorithms with bounded dynamic regret and applications to control. In 2023 62nd IEEE Conference on Decision and Control (CDC), pages 8266–8273, 2023. doi: 10.1109/CDC49753.2023.10384153.
[17] Naram Mhaisen and George Iosifidis. Optimistic online non-stochastic control via ftrl. In 2024 IEEE 63rd Conference on Decision and Control (CDC), pages 7116–7123. IEEE, 2024.
[18] Pooria Joulani, Andras Gyorgy, and Csaba Szepesvári. Online learning under delayed feedback. In International conference on machine learning, pages 1453–1461. PMLR, 2013.
[19] Genevieve E Flaspohler, Francesco Orabona, Judah Cohen, Soukayna Mouatadid, Miruna Oprescu, Paulo Orenstein, and Lester Mackey. Online learning with optimism and delay. In International Conference on Machine Learning, pages 3363–3373. PMLR, 2021.
[20] Yuanyu Wan, Chang Yao, Mingli Song, and Lijun Zhang. Non-stationary online convex optimization with arbitrary delays. In Proceedings of the 41st International Conference on Machine Learning, pages 49991–50011, 2024.
[21] Pedro Zattoni Scroccaro, Arman Sharifi Kolarijani, and Peyman Mohajerin Esfahani. Adaptive composite online optimization: Predictions in static and dynamic environments. IEEE Transactions on Automatic Control, 68(5):2906–2921, 2023.
[22] Naram Mhaisen and George Iosifidis. On the dynamic regret of following the regularized leader: Optimism with history pruning. In International Conference on Machine Learning, pages 43990–44016. PMLR, 2025.
[23] Shie Mannor, John N Tsitsiklis, and Jia Yuan Yu. Online learning with sample path constraints. Journal of Machine Learning Research, 10(3), 2009.
[24] Lijun Zhang, Tianbao Yang, Rong Jin, and Zhi-Hua Zhou. Dynamic regret of strongly adaptive methods. In Proceedings of the 35th International Conference on Machine Learning (ICML), pages 5882–5891, 2018.
[25] Lijun Zhang, Shiyin Lu, and Zhi-Hua Zhou. Adaptive online learning in dynamic environments. Advances in neural information processing systems, 31, 2018.
[26] Alexander Rakhlin and Karthik Sridharan. Online learning with predictable sequences. In Conference on Learning Theory, pages 993–1019, 2013.
[27] Mehryar Mohri and Scott Yang. Accelerating online convex optimization via adaptive prediction. In Artificial Intelligence and Statistics, pages 848–856. PMLR, 2016.
[28] Pooria Joulani, András György, and Csaba Szepesvári. A modular analysis of adaptive (non)-convex optimization: Optimism, composite objectives, variance reduction, and variational bounds. Theor. Comput. Sci., 808:108–138, February 2020.
[29] Neri Merhav, Erik Ordentlich, Gadiel Seroussi, and Marcelo J Weinberger. On sequential strategies for loss functions with memory. IEEE Transactions on Information Theory, 48(7):1947–1958, 2002.
[30] Andras Gyorgy and Gergely Neu. Near-optimal rates for limited-delay universal lossy source coding. IEEE Transactions on Information Theory, 60(5):2823–2834, 2014.
[31] Alexander Korotin, Vladimir V'yugin, and Evgeny Burnaev. Adaptive hedging under delayed feedback. Neurocomputing, 397:356–368, 2020.
[32] Jianjun Yuan and Andrew Lamperski. Online convex optimization for cumulative constraints. In Advances in Neural Information Processing Systems (NeurIPS), pages 6140–6149, 2018.
[33] Abhishek Sinha and Rahul Vaze. Optimal algorithms for online convex optimization with adversarial constraints. Advances in Neural Information Processing Systems, 37:41274–41302, 2024.
[34] Nikolaos Liakopoulos, Apostolos Destounis, Georgios Paschos, Thrasyvoulos Spyropoulos, and Panayotis Mertikopoulos. Cautious regret minimization: Online optimization with long-term budget constraints. Proceedings of Machine Learning Research, pages 3944–3952. PMLR, 09–15 Jun 2019.
[35] Xin Liu, Zixian Yang, and Lei Ying. Online nonstochastic control with adversarial and static constraints. In International Conference on Machine Learning, pages 22277–22288. PMLR, 2023.
[36] Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th international conference on machine learning (icml-03), pages 928–936, 2003.
[37] Nicolo Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cambridge university press, 2006.
[38] Dheeraj Baby and Yu-Xiang Wang. Optimal dynamic regret in exp-concave online learning. In Proceedings of the 34th Annual Conference On Learning Theory, pages 359–409, 2021.
[39] Peng Zhao, Yu-Jie Zhang, Lijun Zhang, and Zhi-Hua Zhou. Dynamic regret of convex and smooth functions. In Advances in Neural Information Processing Systems, volume 33, pages 12510–12520, 2020.
[40] Peng Zhao, Yu-Jie Zhang, Lijun Zhang, and Zhi-Hua Zhou. Adaptivity and non-stationarity: Problem dependent dynamic regret for online convex optimization. Journal of Machine Learning Research, 25(98):1–52, 2024.
[41] Lijun Zhang, Shiyin Lu, and Tianbao Yang. Minimizing dynamic regret and adaptive regret simultaneously. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS), pages 309–319, 2020.
[42] Tianbao Yang, Lijun Zhang, Rong Jin, and Jinfeng Yi. Tracking slowly moving clairvoyant: Optimal dynamic regret of online learning with true and noisy gradient. In International Conference on Machine Learning, pages 449–457. PMLR, 2016.
[43] Lijun Zhang, Tianbao Yang, Jinfeng Yi, Rong Jin, and Zhi-Hua Zhou. Improved dynamic regret for non-degenerate functions. In Advances in Neural Information Processing Systems 30, pages 732–741, 2017.
[44] Lijun Zhang, Guanghui Wang, Jinfeng Yi, and Tianbao Yang. A simple yet universal strategy for online convex optimization. In International Conference on Machine Learning, pages 26605–26623. PMLR, 2022.
[45] Xi Chen, Yining Wang, and Yu-Xiang Wang. Non-stationary stochastic optimization under -variation measures. arXiv preprint arXiv:1708.03020, 2017.
[46] Rahul Vaze and Abhishek Sinha. static regret and instance dependent constraint violation for constrained online convex optimization. arXiv preprint arXiv:2502.05019, 2025.
[47] Rahul Vaze and Abhishek Sinha. static regret and instance dependent constraint violation for constrained online convex optimization. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
[48] Rodolphe Jenatton, Jim Huang, and Cédric Archambeau. Adaptive algorithms for online convex optimization with long-term constraints. In International Conference on Machine Learning, pages 402–411. PMLR, 2016.
[49] Daron Anderson, George Iosifidis, and Douglas J Leith. Lazy lagrangians for optimistic learning with budget constraints. IEEE/ACM Transactions on Networking, 31(5):1935–1949, 2023.
[50] Mehrdad Mahdavi, Rong Jin, and Tianbao Yang. Trading regret for efficiency: online convex optimization with long term constraints. The Journal of Machine Learning Research, 13(1):2503–2528, 2012.
[51] Heyan Huang, Ping Wu, Haolin Lu, and Zhengyang Liu. On the constrained online convex optimization with feedback delay. Expert Systems with Applications, 287:127871, 2025. ISSN 0957-4174. doi: https://doi.org/10.1016/j.eswa.2025.127871. URL https://www.sciencedirect.com/science/article/pii/S0957417425014939.
[52] Yingying Li, Subhro Das, and Na Li. Online optimal control with affine constraints. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 8527–8537, 2021.
[53] N. Merhav, E. Ordentlich, G. Seroussi, and M.J. Weinberger. On sequential strategies for loss functions with memory. IEEE Transactions on Information Theory, 48(7):1947–1958, 2002. doi: 10.1109/TIT.2002.1013135.
[54] Raman Arora, Ofer Dekel, and Ambuj Tewari. Online bandit learning against an adaptive adversary: from regret to policy regret. ICML'12, 2012.
[55] Chang-Heng Wang, Jaime Llorca, Antonia M. Tulino, and Tara Javidi. Dynamic cloud network control under reconfiguration delay and cost. IEEE/ACM Transactions on Networking, 27(2): 491–504, 2019.
[56] Samrat Mukhopadhyay and Abhishek Sinha. Online caching with optimal switching regret. In 2021 IEEE International Symposium on Information Theory (ISIT), pages 1546–1551, 2021.
[57] Tareq Si Salem, Giovanni Neglia, and Stratis Ioannidis. No-regret caching via online mirror descent. ACM Trans. Model. Perform. Eval. Comput. Syst., 8(4), 2023.
[58] Kush Bhatia and Karthik Sridharan. Online learning with dynamics: A minimax perspective. In Advances in Neural Information Processing Systems, volume 33, pages 15020–15030, 2020.
[59] Raunak Kumar, Sarah Dean, and Robert Kleinberg. Online convex optimization with unbounded memory. In Advances in Neural Information Processing Systems, volume 36, pages 26229–26270, 2023.
[60] Naman Agarwal, Brian Bullins, Elad Hazan, Sham Kakade, and Karan Singh. Online control with adversarial disturbances. In International Conference on Machine Learning, pages 111–119. PMLR, 2019.
[61] Nanfei Jiang, Spencer Hutchinson, and Mahnoosh Alizadeh. Online nonstochastic control with convex safety constraints. arXiv preprint arXiv:2501.18039, 2025.
[62] Marko Nonhoff and Matthias A Müller. An online convex optimization algorithm for controlling linear systems with state and input constraints. In 2021 American Control Conference (ACC), pages 2523–2528. IEEE, 2021.
[63] Yu-Hu Yan, Peng Zhao, and Zhi-Hua Zhou. Online non-stochastic control with partial feedback. Journal of Machine Learning Research, 24(273):1–50, 2023.
[64] Hongyu Zhou and Vasileios Tzoumas. Safe non-stochastic control of linear dynamical systems. In 2023 62nd IEEE Conference on Decision and Control (CDC), pages 5033–5038. IEEE, 2023.
[65] Marcelo J Weinberger and Erik Ordentlich. On delayed prediction of individual sequences. IEEE Transactions on Information Theory, 48(7):1959–1976, 2002.
[66] Kent Quanrud and Daniel Khashabi. Online learning with adversarial delays. In Advances in Neural Information Processing Systems 28, pages 1270–1278, 2015.
[67] Pooria Joulani, Andras Gyorgy, and Csaba Szepesvári. Delay-tolerant online convex optimization: Unified analysis and adaptive-gradient algorithms. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 30, 2016.
[68] Yu-Guan Hsieh, Franck Iutzeler, Jérôme Malick, and Panayotis Mertikopoulos. Multi-agent online optimization with delays: Asynchronicity, adaptivity, and optimism. Journal of Machine Learning Research, 23(78):1–49, 2022.
[69] Yuanyu Wan. Black-box reductions for decentralized online convex optimization in changing environments. In Proceedings of Thirty Eighth Conference on Learning Theory, pages 5605–5631, 2025.
[70] Juncheng Wang, Min Dong, Ben Liang, Gary Boudreau, and Hatem Abou-Zeid. Delay-tolerant oco with long-term constraints: Algorithm and its application to network resource allocation. IEEE/ACM Transactions on Networking, 31(1):147–163, 2023. doi: 10.1109/TNET.2022.3188285.
[71] Ali Jadbabaie, Alexander Rakhlin, Shahin Shahrampour, and Karthik Sridharan. Online optimization: Competing with dynamic comparators. In Proceedings of the 18th International Conference on Artificial Intelligence and Statistics, pages 398–406, 2015.
The structure of this appendix is as follows.
-
Section A provides a comprehensive discussion of related work.
-
Section B provides the proof of Theorem 1. This requires deriving a dynamic-regret bound for our delayed optimistic OCO algorithm; the section includes both the auxiliary results and their proofs.
-
Section C provides the proofs of Theorem 2 and Theorem 3, respectively in Sections C.1 and C.2.
-
Section D provides the proofs of the memory-to-delay equivalence results stated in the main paper, namely Lemma 2 and Corollary 1.
A Discussion of Related Work
This section provides a detailed discussion of related works. Table 1 presents a concise high-level comparison with selected prior results. The proposed method is at the nexus of different OCO flavors, namely OCO with time-average adversarially-changing constraints, OCO with memory, OCO with delay and OCO with predictions. Therefore, we review below most relevant works.
A.1 Dynamic Regret in OCO and COCO
Regarding the standard OCO model, the seminal work [36] proved the universal dynamic regret bound for Online Gradient Descent (OGD), where is the norm-based path-length of the benchmark. More recently, [25] showed this problem has a lower bound and designed a tight algorithm (i.e., meeting this bound) using Hedge [37]. Namely, they deploy a set of OGD experts (or, base learners) with learning rates that cover the entire range of path-length values, and a meta-learning algorithm that discerns at runtime which base learner is aligned with the realized functions. Refinements of this result include curvature-specific bounds [38], variation-based guarantees [39, 40], and methods which achieve both adaptive and dynamic regret [41]. On the other hand, [42] showed that OGD achieves worst-case dynamic regret, where here is the path-length of the per-round minimizers. Under additional assumptions, tighter worst-case dynamic regret bounds were established by follow-up works, e.g., see [43–45].
There is a recent flurry of research in COCO, with important works improving the bounds of the most general problem (time-varying adversarial constraints) while dropping assumptions (such as the Slater condition); see for instance [33], [46], [47], [6] which follow a penalty-based approach like the one considered in this work. A different class of COCO techniques rely on primal-dual algorithms with adaptive regularization, e.g., see [32, 48–50]. However, dynamic regret in COCO is largely underexplored. The few exceptions include [7] that achieved worst-case dynamic regret and CCV for time-invariant functions, that was subsequently improved to regret and CCV by [8]. In case of time-varying adversarial constraints, [8] achieved universal dynamic regret and CCV. More recently, [9] proposed an algorithm with worst-case dynamic regret and CCV. [10] introduced an algorithm with regret and CCV , where . Other recent works include [51] which considers time-invariant constraints, and [11] which established universal dynamic regret and CCV guarantees under adversarial constraints using a penalty-based method. None of these works considers memory dependency; a property that changes fundamentally the required methodological approach.
A.2 Memory Effects: COCO-M and NSC
The first study on OCO-M appeared in [53], followed later by [54]. A seminal work in this area is [3] which proved that the Follow-The-Regularized-Leader algorithm can be applied to a proxy memory-less function and guarantee sublinear regret for the memory-based function. A special case of OCO-M is when the learner is penalized for decision switches, i.e., the loss function has memory of just . This setting captures several practical problems such as workload management in datacenters [55], caching with fetching delays, etc., [56], [57]. On the other hand, there are studies for the case of infinite (but discounted) memory effects, e.g., see [58], [59].
| Reference | Constraints | Loss | Memory | Predictions | Regret | Assumptions | |
|---|---|---|---|---|---|---|---|
| Obj. | Constr. | ||||||
| [35] | adversarial | convex | ✓ | ✓ | ✗ | Static | |
| [52] | static affine | convex | ✓ | ✓ | ✗ | Static | |
| [3] | none | convex | ✓ | ✗ | ✗ | Static | |
| [17] | none | linear | ✓ | ✗ | ✓ | Static | separability |
| [33] | adversarial | convex | ✗ | ✗ | ✗ | Static | |
| [49] | adversarial | convex | ✗ | ✗ | ✓ | Static | |
| [5] | adversarial | convex | ✓ | ✓ | ✓ | Static | separability |
| [11] | adversarial | convex | ✗ | ✗ | ✗ | Dynamic | |
| [9] | adversarial | convex | ✗ | ✗ | ✓ | Dynamic | |
| This work | adversarial | convex | ✓ | ✓ | ✓ | Dynamic | |
Table 1: Summary of the most relevant prior works. The current study is the first to consider loss and constraint functions with memory dependency, under universal dynamic regret while using (imperfect) predictions.
The advent of non-stochastic control [60] renewed the interest in OCO-M. In NSC, the action at each round is a weighted sum of the past disturbances, and these weights are learned through OCO-M. Such formulations have a vast range of practical applications, see [4]. However, most NSC works impose deterministic constraints on the state and input [52, 61–63] or assume the constraint at is revealed before that slot [64]; thus, they do not focus on time-average constraints nor on unknown constraints. Notable exceptions include [35] which analyzes an adversarial COCO-M setting and proves static regret and CCV; and [5] that improves these bounds to static regret and CCV.
Dynamic regret is significantly less explored for this class of problems, with exceptions confined to the special case of switching costs, cf.[12], [13], or to NSC without budget constraints, e.g., [14], [15], [16]. Therefore, the problem of dynamic regret for COCO-M, and time-average constrained NSC, remains open. Our work aspires to fill this gap.
A.3 Delay and Predictions in OCO
Two key methods we employ in this work are OCO with delay, which we use to handle memory effects, unearthing an equivalence between these two OCO versions; and optimism, which expedites the learning convergence. Starting with the former, [65] was the first to study the setting where the effect of decision is observed after rounds, and extended vanilla OCO algorithms to cope with this delay. Significant follow-up works include [18] which handles arbitrary feedback delays, and [66] that improved the regret bounds to . These works share the main elegant idea, namely running multiple delay-free copies of a base learning algorithm over the delay window. However, this replication is computationally costly and each copy is trained only on partial observations, as it does not utilize the feedback from every round. Few other works avoid replication and incorporate delays directly into the analysis. For example, [67] derived adaptive FTRL/Mirror-Descent bounds through a single-instance reduction based on prediction drift; and [68] developed a delayed dual averaging with data- and delay-dependent guarantees. Finally, [31] studied the delayed Hedge problem without using replication. All these studies focus on static regret.
More recently, [20] proved a universal dynamic regret bound of by leveraging the delayed Hedge of [31] to meta-learn over a set of delayed-OGD base learners; and [69] extended this to a decentralized setting. Finally, [70] studied worse-case dynamic regret in COCO with fixed delay. Unlike these important works, our method is adaptive and does not require an a priori Lipschitz bound on the gradients. Besides, our approach differs conceptually as we handle delay through optimism.
Optimistic learning builds on the idea that predictions of forthcoming loss gradients can expedite the learning by reducing the regret bounds commensurately to the accuracy of these predictions, [26]. This framework has been extended in various ways, e.g., by achieving data-adaptive optimistic bounds [27, 28]. Our approach here is motivated by the insightful proposal of [19], that interpreted delayed feedback as a "bad hint" or, equivalently, used predictions to recover missing gradients in OCO with delay. Here, we extend this idea, for the first time, to the universal dynamic regret setting.
Such demanding benchmarks are indeed rare in optimistic learning, even for the simpler problem without feedback delay. The few exceptions include [21, 22, 71]. However, these works do not consider delayed feedback or memory, nor their extension to these settings is straightforward (see main paper). Hence, our optimistic delayed OCO algorithm is of independent interest.
Summary. To the best of our knowledge, this is the first work to tackle memory and optimism, both in the loss and constraint functions, under universal dynamic regret for adversarial COCO. This result extends the recently-introduced COCO-M problem of [5] to the universal dynamic setting, while being able to drop key assumptions such as the function separability and also expand the benchmark set. Furthermore, our analysis yields several byproducts of independent interest: (i) we enable the study of Non-Stochastic Control with adversarial time-varying constraints under dynamic regret guarantees, whereas prior works focus on static regret [5, 35]; (ii) we establish dynamic regret bounds for optimistic delayed OCO (and delayed COCO), while [20] study dynamic regret for delayed OCO but cannot benefit from predictions; (iii) we extend the “delay-as-optimism” framework of [19] to the dynamic setting by handling the interaction between prediction errors and comparator variation, while other dynamic optimistic OCO algorithms such as [22] do not handle memory nor delay.
B Proofs of Section 3
B.1 Proof of Theorem 1
We provide the proof of Theorem 1, which we restate here for the readers convenience.
Let be the delayed gradient feedback and let be its prediction. For any comparator sequence , Algorithm 1 ensures dynamic regret:
The proof of this result comprises two stages. First, we bound Term (II) and then Term (I). For the former, we introduce an optimistic dynamic regret variant of OGD that uses adaptive regularization and can handle delays. For Term (I), we adapt the static regret delayed optimistic algorithm of [19].
B.1.1 Bounding Term(II)
We first analyze the undelayed optimistic problem. This step is useful because the delayed update will later be recovered through the delay-as-optimism reduction. In the dynamic setting, the main challenge is the movement of the comparator. We therefore use the projected one-step geometry, which yields a clean telescoping argument and exposes the additional interaction between the prediction error and the comparator variation. We introduce the following algorithm and respective bound:
Theorem 4 (Optimistic dynamic OGD). Let be a nondecreasing positive sequence. Let be convex losses, and let . In this theorem, feedback is non-delayed (after playing the learner observes ). consider the projected optimistic one-step update
we have that for any comparator sequence , the regret satisfies:
where , , and .
Theorem 4 will serve as a technical bridge with the delayed analysis. Related optimistic dynamic-regret guarantees have been studied before; see, for instance, [71] and, more recently [21] and [22]. However, these results are developed for the standard non-delayed feedback model and cannot be used here. The purpose of Theorem 4 is to derive a non-delayed optimistic dynamic-regret bound in a form compatible with the delayed-upper-bound (DUB) argument, both in the -step delayed setting of [19] and in the one-step delayed adaptive-tuning argument of [2]. After applying the delay-as-optimism reduction, this structure will allow us to choose the regularization adaptively from observed quantities, avoiding over-regularization and preserving the benefit of accurate predictions. The additional term compared with the static-benchmark case of [19] is , which couples the prediction error with the movement of the comparator.
We now pass from the undelayed optimistic bound to the delayed setting. By Lemma 2 of [19], delayed feedback can be viewed as optimism with a particular choice of “bad” hint. In our notation, this hint is
Applying this representation to the bound in (16), we obtain the same form of guarantee after replacing and by
The algebraic verification of this substitution is deferred to Appendix B.2.2, using Corollary 3 presented there.
The genuinely new term in the dynamic optimistic analysis is
It appears because the comparator used here changes from to . In a standard non-optimistic analysis, this change only contributes through the path length. In the optimistic analysis, however, the update direction depends on predictions, so the movement of the comparator interacts with the prediction error . The term therefore measures whether the prediction error helps or hurts the tracking of the moving comparator. However this term is yet controlled and upper bounded by the desired bound that is of order in the worst case and shrinks with prefect prediction and/or with static benchmark to be zero.
Corollary 2 (DUB-tuned bound for Term (II)). Let
Assume that the base learner uses the DUB-tuned regularization
Then the delayed dynamic regret of the best-tuned base learner satisfies
Compared with [20], our method is adaptive and does not require an a priori Lipschitz bound on the gradients. The standard black-box reduction of [18] handles delays by running multiple delay-free copies of a base algorithm, but this replication can be computationally costly and each copy is trained only on a partial subsequence of the observations. Other works avoid replication and incorporate delays directly into the analysis. For example, [67] derives adaptive FTRL/Mirror-Descent bounds through a single-instance reduction based on prediction drift. More recently, [68] develops delayed dual averaging with data- and delay-dependent guarantees, including an optimistic variant. These works, however, focus on static regret. Our contribution is complementary. Building on the optimistic delayed-OCO perspective of [19], we develop delayed optimistic guarantees for a dynamic comparator sequence. This distinction is important because static-regret techniques do not directly control the path length of a moving comparator. We then use these dynamic delayed-OCO guarantees as a bridge to constrained OCO with memory through the credit-gradient reduction.
B.1.2 Bounding Term(I)
We now turn our focus to Term(I) and bound it using an optimistic delayed AdaHedge algorithm. Using and , it follows that , thus we can write:
This is the meta-regret of the delayed expert-combination scheme. This part follows from the delayed optimistic OCO framework of [19] applied to the linear meta-losses .
Lemma 3 (Bound on Term (I)). Under the assumptions above, and using the static delayed optimistic FTRL meta-learner of [19, Theorem 12], for every expert , we have:
• Finally, the proof of Theorem 1 is obtained by recalling that:
and hence the results follow by combining Lemma 3 with Corollary 2.
Discussion The factor in Theorem 1 should be understood as the price of obtaining a prediction-adaptive bound under delayed feedback. The factor comes from the block prediction error , whereas the additional comes from the delayed-upper-bound (DUB) argument. More precisely, it appears when controlling the unrevealed window term
This term is the cost of choosing the regularization adaptively from delayed observations, which avoids over-regularization and preserves the benefit of accurate predictions.
If predictions are ignored and a uniform gradient bound is available, one can instead use a fixed worst-case tuning and recover a delayed dynamic-regret bound with linear dependence on . Thus, the dependence is not intrinsic to delayed OCO itself, but to the adaptive optimistic tuning under delay.
We also note that the sharper bounds in (35) and (33) retain more information than the simplified statement. In particular, within the prediction-adaptive bound itself, the additional factor in Term (I) can be dominated by the meta-complexity term when , while the corresponding term in Term (II) can be dominated by the path-length term when .
Remark 6. One may alternatively implement the adaptive DUB tuning of [19, Theorem 12], which yields the same theoretical order, but yields for better performance in practice.
B.2 Auxiliary Results and Proofs for Theorem 1 and Section 3
This subsection provides the intermediate results that are required for the proof of the main result of Section 3, namely of Theorem 1 that we proved in the previous subsection.
B.2.1 Proof of Theorem 4
We remind the reader that this theorem assumes no delays, and thus after committing at round , the gradient is revealed directly and there is no delay of steps.
Recall that:
Proof. Since each is convex and , we have
Step 1: Exact decomposition. For each , we have
Summing (19) over yields
(20)
Now the last sum telescopes as follows:
where the last equality uses and . Substituting (21) into (20), we obtain:
Since , we have:
Hence, it is:
Step 2: One-step projected inequality. By the Euclidean projection optimality condition, it is:
Rearranging, gives:
Substituting this into (23), we obtain:
where
Step 3: Local bound preserving the Huber structure. Rewrite the local term in (24) as:
We first bound the bracketed term as in the proof of Theorem 16 of [19]. Since:
the nonexpansiveness of Euclidean projection implies that:
Also, since and , it is . Hence, we can write:
Applying Lemmas 17–18 of [19] with the Euclidean norm, we obtain:
Therefore, we can write:
Step 4: Bound the weighted telescope . We rewrite as
Since is nondecreasing and , the first and third terms yield:
Moreover, we can write:
Thus, we get:
Step 5: Final bound. Substituting (27), (28), and the initialization estimate
Therefore, it holds:
And this proves the claim.
B.2.2 Delay as optimism
We now transfer the previous undelayed optimistic bound to the delayed-feedback setting. The key observation, following Lemma 2 of [19], is that a delayed optimistic update can be written as an undelayed optimistic one-step update with a particular choice of “bad” hint. This allows us to reuse Theorem 4 without reproving the whole dynamic regret argument. In the delayed setting, the gradient is revealed only at time . Throughout the delayed analysis, we use the convention
and empty sums are set to zero. Thus, the first rounds are warm-start rounds: the corresponding decisions are included in the regret, but no genuine delayed feedback has yet been revealed. Define the bad hint
Then the optimistic one-step update
is equivalent to the delayed optimistic update
Indeed, the update uses the most recent revealed gradient , together with predictions for the missing gradients.
Corollary 3 (Dynamic delayed optimistic OGD). As a direct application of Lemma 2 [19], let be a nondecreasing positive sequence, and consider the delayed optimistic update
For any comparator sequence , define:
with the convention . Also define:
Then the dynamic regret
satisfies
(29)
B.2.3 Proof of Corollary 2
From the delayed dynamic bound, obtained by combining Theorem 4 with the delay to optimism reduction (with bad hints), we have
The first two terms have the form required by the delayed-upper-bound Lemma 22 of [19], with the regularization scale now depending on the path length. The last term is specific to the dynamic comparator and will be controlled separately by introducing an axillary variable .
For any , Young's inequality gives
Summing over , and taking , we can write:
Therefore we can update the bound of the term as follows:
where
We now apply the DUB tuning Lemma with , and step:
where quantities involving negative indices are interpreted according to the zero-padding convention stated above.
We allow to be dependent on here because this bound corresponds to the base learner tuned to the correct path-length scale. This gives:
because . We next bound the two terms in (32). First, using:
Hence, we can write:
and therefore,
Second, by Cauchy–Schwarz,
Since , we get
Combining the previous estimates yields:
Since , we have . Thus:
It remains to bound the interaction term. Since it is , we can write:
Therefore,
Since it is:
we obtain the looser, but cleaner, bound:
Finally, given that it holds:
we get,
a cleaner term:
This proves the corollary.
B.2.4 Proof of Lemma 3
Lemma 3 bounds Term (I) using the optimistic delayed AdaHedge meta-learner of [19]. At round t, the meta-loss is the linear function
Thus, its actual and predicted gradients are
In the delayed setting, the meta-learner needs a prediction of the unavailable block of gradient meta-losses. Thus, at the time when is computed, we use the block hint:
which predicts
Importantly, only the gradient-related quantities need to be predicted. The matrices are known when the corresponding meta-update is performed. In particular, after processing the feedback available at round t, each base learner outputs its candidate decision for round , so:
is available before the meta-learner computes . Therefore, there is no need to predict . We now define the meta-loss prediction error
As before, we use the convention for . We first bound Term (I) in terms of , and later relate to prediction errors and . Specifically, we want to bound:
In the considered delayed setting, at round only the losses are revealed, while the missing block may be predicted by a hint. For each , define
where we use the -geometry on , so that .
Then, by Theorem 12 of [19], we can write:
We use the shifted negative-entropy regularizer:
and choose . Since , we have that:
Then we can write
Therefore,
Next,
By Cauchy–Schwarz,
Thus,
We now relate to the prediction error of the credit gradients. Since it is and , we have . Therefore, we can write:
Now, for any vector v it holds:
since for all . Therefore, , and applying Cauchy–Schwarz we can write:
Summing over and using that each term appears in at most windows yields
Returning to (34) and using the bounds derived above for each term, we obtain
A cleaner upper bound is
C Proofs of Section 4
C.1 Proof of Theorem 2
Proof. Define
and
For compactness, let
From the delayed optimistic OCO analysis, the surrogate dynamic regret satisfies
We now relate the surrogate-gradient prediction error to the prediction errors of the objective and constraint functions. In reveal-time notation, the surrogate loss is
Equivalently, setting , the same surrogate can be written in decision-time notation as
Thus, the feedback associated with decision is
Since is nondecreasing and , we have
Relabeling as , and using the quadratic penalty , so that , Minkowski's inequality gives
Therefore,
Combining this with the delayed regret decomposition lemma gives
Define
Then
For the regret bound, rearranging gives
Using , with and , we obtain
Thus,
We now choose
Since
we have
Therefore,
Hence,
Substituting the definitions of and , and hiding problem-dependent constants, gives
Moreover, since
we obtain
We now prove the CCV bound. Using the lower bound
in the coupled inequality gives
Since , the implication
yields
Using
we get
Using the crude bound , we have
Also,
where problem-dependent constants are hidden. Therefore,
It remains to expand . By the choice of V,
Hence,
Substituting this into the previous inequality gives
Finally, substituting
we get
Therefore,
Thus
This proves the stated regret and CCV bounds.
C.2 Proof of Theorem 3
Proof. Since is known, we do not need the meta-learner. The base learner is tuned directly to the path length . Define
Then the delayed optimistic dynamic OCO bound for the base learner gives
Thus
Now choose
Then
Let
By the choice of ,
and therefore . Hence
We first bound the regret. From the previous inequality,
Since the last term is non-positive, we get
The term only depends on the initial delayed rounds and is absorbed into the constants. Therefore,
Using the definition of , this yields
We now bound the CCV. Using the lower bound
we obtain
Thus,
Taking logarithms gives
Since , we get
Under the standard boundedness assumptions, the logarithmic factor is of order . Therefore,
Substituting the definition of , we obtain
This proves the theorem.
D Proof of Section 5
D.1 Proof of Lemma 2
We start with the proof of the main result of this section, namely Lemma 2.
Proof. The proof follows from two remarkably simple observations: first, convexity allows us to linearize each memory loss around the played memory window; second, after re-indexing the resulting terms, the contribution of each decision can be grouped into a single gradient quantity that is revealed only after, at most, m future rounds.
In detail, recall that the memory regret is:
Since is convex in its joint argument , the first-order convexity inequality gives, for every :
Here denotes the partial gradient of with respect to its -th coordinate, evaluated at the played decision . Summing the above inequality over , we obtain:
At this stage, the right-hand side is still indexed by the loss time t. However, for the online-learning interpretation, it is more natural to regroup the terms according to the decision time. To do so, we set:
Then, for a fixed s, the index k must satisfy
Therefore the admissible range of k is
Using this change of variables and swapping the order of summation, we can write:
where we just used t instead of s. This motivates the definition of the credit gradient
With this notation, we can write:
Indexing convention and delayed interpretation. The original memory-dependent losses are indexed by , since a full memory window is only available from round onward. After linearization, however, the auxiliary delayed problem is naturally indexed by the decision times . Indeed, even the early decisions may appear in later memory windows, and the corresponding partial gradients must be assigned to the credit gradient of the decision that generated them. Algorithmically, feedback starts at round : whenever a memory loss is revealed, it contributes partial gradients to all decisions in its memory window .
This also explains why the resulting auxiliary problem is a delayed linear problem. By construction, aggregates the effect of the single decision on the losses
Hence is not entirely known when is played; it is only fully revealed once all these losses have been observed, that is, by round . Therefore, is a sequence of linear losses revealed with delay at most . Consequently, the original memory-dependent regret is upper bounded by the regret of this delayed linear problem. Thus, any applicable delayed-OCO regret guarantee for the auxiliary linear losses can be transferred to the memory-dependent problem through the credit gradients . The resulting guarantee has the same structure as in the delayed setting; the only difference is the effective gradients are now the credit gradients , whose size introduces constants depending on the memory length .
At a conceptual level, the key idea is that we postpone the construction of the auxiliary delayed loss until after linearizing the memory-dependent regret. The contribution of each decision is then captured through the corresponding coordinate block of the joint gradient and aggregated into its credit gradient. This is also why constructing optimistic hints may require predicting the future block , rather than only . In the separable case, this recovers the usual forward-gradient aggregation, while our construction does not require separability and therefore preserves the original joint feasibility benchmark. In contrast, [5] applies the penalty to an individual component of the separable constraint, , whereas here the penalty is applied to the joint constraint function.
D.2 Proof of Remark 5
Proof. To transfer the delayed-feedback guarantees of Sections 3–4 to the memory setting, it remains to relate the prediction error of the credit gradients to the memory prediction errors defined in Remark 5.
In the unconstrained case, , and therefore
Hence, directly from (14),
Therefore, Theorem 1 applies directly to the memory problem through Corollary 1.
We next consider the constrained case. To recover the prediction-error structure used in Section 4, it suffices to show that
Recall that
and
For the predicted credit gradient, we use the same queue coefficient, namely
Indeed, implies , and therefore . Hence, is already available when the hint associated with is formed.
Using the definitions of and , we obtain
(38)
It remains to control the second term. Fix and order . Since both and are nondecreasing,
whenever .
A discrete summation-by-parts identity then gives
All coefficients on the right-hand side are nonnegative, and their sum is
Therefore, by the triangle inequality,
(39)
Multiplying (39) by and using yields
(40)
If , monotonicity implies for every , so (40) holds trivially.
Combining (38) and (40), and then applying Minkowski's inequality across s, gives
By (14)–(15), this is exactly
Thus, in the unconstrained case, the delayed prediction-error term reduces exactly to , so Theorem 1 transfers directly. In the constrained case, (37) has the same form as the prediction-error decomposition used in Section 4. Hence, after replacing and by and , respectively, the proofs of Theorems 2 and 3 carry over through Corollary 1.