Introduction
We consider the problem of deriving sharp, observable, anytime-valid envelopes to oracle performance measures associated with online stochastic optimization algorithms. Concretely, consider an algorithm { x t , ξ t } t ≥ 1 ∈ H × H \{x_t,\xi_t\}_{t\geq1}\in\mathcal{H}\times\mathcal{H} { x t , ξ t } t ≥ 1 ∈ H × H characterized by the recursion x t = h t ( x t − 1 , ξ t ) x_t=h_t(x_{t-1},\xi_t) x t = h t ( x t − 1 , ξ t ) for some functions { h t } t ≥ 1 \{h_t\}_{t\geq1} { h t } t ≥ 1 , where H \mathcal{H} H is some Hilbert space, and { ξ t } t = 1 ∞ ∼ P \{\xi_t\}_{t=1}^{\infty}\sim P { ξ t } t = 1 ∞ ∼ P for some Borel measure P P P on H ∞ \mathcal{H}^{\infty} H ∞ . The associated performance measure { Z t } t ≥ 1 \{Z_t\}_{t\geq1} { Z t } t ≥ 1 usually concerns how close the algorithm chain { x t } t ≥ 1 \{x_t\}_{t\geq1} { x t } t ≥ 1 is to convergence, where the notion of convergence may differ based on applications. Common examples of Z t Z_t Z t , for algorithms such as stochastic gradient descent (SGD), include squared distance ∥ x t − x ∗ ∥ 2 \lVert x_t-x^*\rVert^2 ∥ x t − x ∗ ∥ 2 to an unknown optimum x ∗ x^* x ∗ , or the objective suboptimality F ( x t ) − F ( x ∗ ) F(x_t)-F(x^*) F ( x t ) − F ( x ∗ ) , where F F F is the objective function in question. Clearly, this measure is oracle in nature, which neither informs any stopping time-analysis, nor provides a valid confidence set around the optimum when the algorithm is stopped at an ad-hoc stopping time (such as, when ∥ x t − x t − 1 ∥ \lVert x_t-x_{t-1}\rVert ∥ x t − x t − 1 ∥ falls below a certain threshold, or stopping based on asymptotic convergence guarantees at a pre-specified iteration). Both these issues can be addressed by constructing a non-asymptotic, anytime-valid upper bound to the measure Z t Z_t Z t . Specifically, for a prescribed α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and a deterministic starting time t 0 ≥ 1 t_0\geq1 t 0 ≥ 1 , we seek an envelope M ~ t ( α ) \widetilde{M}_t(\alpha) M t ( α ) satisfying
P ( Z t ≤ M ~ t ( α ) for all t ≥ t 0 ) ≥ 1 − α . \mathbb{P}\left(Z_t\leq\widetilde{M}_t(\alpha)\text{ for all }t\geq t_0\right)\geq1-\alpha. P ( Z t ≤ M t ( α ) for all t ≥ t 0 ) ≥ 1 − α .
The anytime-valid envelopes facilitate arbitrary and post-hoc data-dependent stopping times, allowing for potentially incorporating external domain-knowledge [54 , 122 ] . The existing literature on anytime-valid inference for optimization algorithms [46 , 47 , 112 , 4 , 5 ] is nascent, and they have left two important questions open:
(i) Sharpness: how to ensure sharpness of the constructed envelopes? A substantial section of boundaries constructed thus far have placed particular emphasis on optimal boundaries matching the fixed iterate analysis in the O ~ ( ⋅ ) \widetilde{O}(\cdot) O ( ⋅ ) sense. These deterministic anytime-valid envelopes are tuned to worst-case control, and are usually too large to be useful in practice. Therefore fail to provide any reasonable data-dependent stopping times. Moreover, often such results require particular choices of deterministic step-sizes, such as η t ≃ 1 / t \eta_t \simeq1/t η t ≃ 1/ t in [112 , 65 ] or η t ≃ 1 / log 2 t \eta_t \simeq1/\log^2 t η t ≃ 1/ log 2 t in [46 ] , hindering generalization to the more widely used data-dependent/adaptive step-sizes. The works closest to ours, Aolaritei and Jordan [ [4 ] , Aolaritei et al. [ [5 ] , partially address this issue by constructing data-adaptive time-uniform boundaries. Their boundaries, however, rely on sub-Gamma stitching, leaving open whether sharper boundaries can be obtained under the same assumptions through betting, much as Waudby-Smith and Ramdas [ [158 ] sharpened empirical-Bernstein confidence sequences by betting. We remark that the question of sharp envelopes, or early stopping in an online algorithm, is supremely important in myriad applications. In particular, for many machine-learning problems [174 , 135 , 136 ] as well as other scientific applications [111 , 94 ] , there exists a physical as well as computational cost of procuring new observations as well as gradient computation. In such situations, the role of a sharp envelope is paramount, as it provides an early stopping time while maintaining validity, potentially saving the user significant resources.
(ii) Generalizability: *can we get a unifying framework that does not require us to procure boundaries on a case-by-case basis for different algorithms and starting assumptions? Another common aspect of the existing time-uniform analysis of stochastic optimization algorithms is, that they are largely case-by-case. Most of them concern stochastic gradient descent, and do not extend to other iterative algorithms such as TD-learning or Q-learning. Even within SGD, each analysis is tailored to a fixed combination of noise assumptions (typically sub-Gaussian), structural assumptions (convexity, or particular forms of non-convexity) and performance measures; see, e.g., Pham et al. [ [112 ] , Feng et al. [ [46 , 47 ] , Li et al. [ [89 ] . On a high level, and despite apparent similarity in their treatments, every new combination seems to call for a new analysis.
We address both these questions by crystallizing the construction of the envelopes M ~ t ( α ) \widetilde{M}_t(\alpha) M t ( α ) into two broad steps, motivated, respectively, by the key recursion (1) satisfied by the performance measures, and by the burgeoning literature on anytime-valid testing and confidence sequences (starting from Howard et al. [ [58 , 59 ] ; see § 1.1 ). The former accommodates general, data-dependent step sizes and incorporates the noisy observations, such as the stochastic gradients in SGD; the latter, through the sub-ψ \psi ψ analysis and variants of product betting martingales, handles a host of combinations of structural assumptions, noise assumptions and performance measures:
In the first step, through an optimization module , we reduce the problem to constructing anytime-valid envelopes for arbitrary linear combinations of (dependent) random variables. Our approach is based on a variant of the Robbins–Siegmund almost-supermartingale framework [126 , 80 , 112 , 47 ] . In particular, for any iterative algorithm ( x t , ξ t ) (x_t, \xi_t) ( x t , ξ t ) and the corresponding performance measure Z t Z_t Z t , we show that Z t Z_t Z t satisfies a recursion
Z t ≤ a t Z t − 1 + b t + ⟨ v t , ξ t ⟩ , (1) Z_t \le a_t Z_{t-1} + b_t + \langle v_t, \xi_t\rangle, \tag*{(1)} Z t ≤ a t Z t − 1 + b t + ⟨ v t , ξ t ⟩ , (1)
where a t a_t a t and v t v_t v t are predictable , i.e., F t − 1 : = σ ( ξ s : s < t ) \mathcal{F}_{t-1} := \sigma(\xi_s : s < t) F t − 1 := σ ( ξ s : s < t ) -measurable, and b t b_t b t is observed or data-dependent. Unrolling the recursion (1) reduces the error analysis to control of weighted noise ∑ s = 1 t ⟨ v s , ξ s ⟩ \sum_{s=1}^{t}\langle v_s,\xi_s\rangle ∑ s = 1 t ⟨ v s , ξ s ⟩ ; see Lemma 2.1 .
In the second step, we build on the sub-ψ \psi ψ framework of Howard et al. [ [58 , 59 ] , Whitehouse et al. [ [166 ] to implement different strategies of anytime-valid bound constructions, such as mixing, stitching, and betting Waudby-Smith and Ramdas [2024], Martinez-Taboada and Ramdas [ [99 ] . Porting these constructions into our framework is not straightforward; in (1) , the noise variables ξ t \xi_t ξ t are not directly observable, which adds to the complications of the construction. Moreover, the weights v t v_t v t are arbitrary predictable sequences, often depending on oracle quantities such as x ⋆ x^\star x ⋆ , and cannot be absorbed directly into the global sub-ψ \psi ψ assumptions of Howard et al. [ [58 , 59 ] , Whitehouse et al. [ [166 ] . We circumvent these issues via adapting the slightly stronger sub-ψ \psi ψ condition from Casgrain et al. [ [20 ] to vector-valued processes (see Definition 2.2 herein), that ensures tractable tail behavior uniformly over predictable weights. This statistical module allows us to construct envelopes, which we then port together with observable surrogates for the oracle quantities, built inductively from previous envelopes (Lemma 2.1 ); for betting, we further exploit the boundedness of the observed gradients (Theorem 2.5 ). We defer the details of boundary constructions to § 2 .
Combining the two modules above furnishes a unified recipe of deriving anytime-valid boundaries for generic iterative algorithms. We document the two key benefits of our generalized perspective and the resulting constructions.
(i) Our modularized approach allows us to move away from a case-by-case analysis hitherto prevalent in the nascent literature of time-uniform boundary constructions for iterative algorithms; see the discussion in § 1.1 . In particular, decoupling the optimization module from the anytime-valid construction means that algorithm-specific tools are needed only to derive (1) . This modularity lets us recover (often under weaker conditions) and sharpen the few existing time-uniform bounds in the SGD literature. It also yields entirely new bounds for iterative algorithms that have never been given an anytime-valid analysis. Table 1 summarizes the existing results we recover and sharpen, along with the new results we establish for algorithms previously unexplored in the time-uniform setting.
Table 1. Comparison of our results with the relevant literature. For brevity, the table displays only results that are explicitly stated or discussed in this paper. To summarize, I compiles examples with existing anytime-valid, data-dependent boundaries. In contrast, existing time-uniform boundaries for the examples in group II have been deterministic, and in the case of PR-averaged SGD, only asymptotic. Finally, group III accumulates some cases where no time-uniform guarantees were previously available. Many further results, all of which are the first of their kind in the corresponding setting, follow directly by pairing the optimization modules of §9 with Theorems 2.3 –2.5 and Lemma 2.1 .
(ii) Our envelopes are not deterministic; they make use of the observed data-streams. Moreover, the use of exact product-betting martingales allows our envelopes to be much sharper than the existing stitching based envelopes. Therefore, our envelopes provide the sharpest such constructions in this literature; see Figure 1 .a.
Figure 1. (a) Comparison of different anytime-valid upper bounds versus t t t for a particular SGD run on a ridge-regression problem, where x ⋆ x^\star x ⋆ is the true regression coefficient. The Pham et al. [ [112 ] , Eqn. (26) boundary, in orange, is deterministic. The Aolaritei et al. [ [5 ] , Thm. 3.5 boundary, in red, is recovered by our framework as the sub-Gamma stitching bound; see (16) . The discrete mixture boundary, in green employs Corollary 7.4 with f ( λ ) = 0.4 1 0 < λ ≤ 0.38 / λ log 1.4 ( 0.38 e / λ ) f(\lambda)=0.4\,1_{0<\lambda\leq0.38}/\lambda\log^{1.4}(0.38e/\lambda) f ( λ ) = 0.4 1 0 < λ ≤ 0.38 / λ log 1.4 ( 0.38 e / λ ) . The sub-exponential stitching in maroon employs Proposition 8 and sharpens Theorem 3.5 of Aolaritei et al. [ [5 ] ; see §9.1. The betting boundary in violet employs Proposition 1. Since we run projected SGD, every boundary is capped at the global bound implied by the projection set. The details can be found in §5.1. (b) A schematic of our general approach; the user supplies structural assumptions on the algorithm and on the gradient noise together with a performance measure Z t Z_t Z t ; the probabilistic module returns anytime-valid bounds on the weighted noise sum, which are then transferred through (1) to yield the final envelope.
We emphasize that on a structural level, we require no particular tail assumptions, such as sub-Gaussianity on the noise process driving the stochastic algorithms, nor any growth or smoothness conditions, such as convexity or its generalizations, on the optimization problem itself. Any number of these conditions can be applied on top of our constructions to derive the suitable recursion (1) , and the resulting anytime-valid boundary. The co-ordination between these two steps, and the flexibility of this modularization, will be made clearer through the analyses in § 3 , § 4 , §9 and § 13 . We now situate our recipe within the broader literature on time-uniform inference and stochastic optimization.
Prior Work
Iterative stochastic algorithms are one of the commonest forms of sequential experiments. Common examples include the ubiquitous stochastic gradient descent (SGD; Robbins and Monro [ [123 ] ) and its variants, including momentum-based and accelerated methods [114 , 105 ] , as well as linear stochastic approximation methods such as Temporal Difference learning Sutton [ [141 ] and Q-learning Watkins and Dayan [ [157 ] ; online principal component analysis (PCA) using Oja’s algorithm Oja [ [106 ] ; stochastic mirror descent Nemirovsky and Yudin [ [104 ] , Nemirovski et al. [ [103 ] ; and many others. Classical non-asymptotic analyses [173 , 102 , 119 , 51 , 134 , 55 , 92 , 56 ] have mainly focused on deriving optimal high-probability or in-expectation rates of averaged or last-iterate performances of SGD and its variants in terms of Landau notations O ( ⋅ ) O(\cdot) O ( ⋅ ) , working mainly with the strongly convex optimization functions with various smoothness assumptions. Beyond strong convexity, complementary works such as [120 ] , [130 ] , [52 ] , [85 ] , [171 ] , [18 ] , [Lan, 2020], [91 ] , [70 ] , [45 ] provide asymptotic convergence, and non-asymptotic performance control results for general convex and non-convex stochastic optimization with SGD and its variants under different regimes of schedules.
Despite sustained research on the convergence of SGD and stochastic approximation algorithms, anytime-valid envelopes for the relevant error metrics have only recently begun to attract attention. In particular, Feng et al. [ [46 ] notes the limited development of such methods that are tailored for stochastic optimization, despite the extensive literature on anytime-valid testing, confidence sequences, and related inference [34 , 79 , 122 , 121 ] . This being a work at the cross-roads of the anytime-valid inference and stochastic optimization, we take a quick scan of the anytime-valid inference literature, before shifting focus to their application in stochastic optimization, where we further position our contribution vis-à-vis related developments.
Anytime-valid inference. Time-uniform inference owes its germination to the sequential tests and the confidence sequences of [154 ] , [34 ] , [79 ] . Moreover, nearly all modern [[A]] Recovers the cited guarantee on the stated comparison domain under the same or weaker conditions, or other assumptions on the noise distribution.
[[B]] Improves the result by providing a sharper envelope with the same initialization and under the same assumptions.
[[C]] Provides the first nonasymptotic, anytime-valid, and data-dependent envelope in the corresponding literature or specific setting. Previous results in these settings either provided deterministic envelopes or did not exist.
analyses leverage Ville’s inequality [149 ] which establishes a time-uniform control over non-negative supermartingales - a structure ubiquitous in iterative algorithms. This approach was popularized by Howard et al. [ [58 , 59 ] who discussed the stitching method of joining linear boundaries into curved ones. They also employed the classical method of mixtures [35 , 69 ] to construct continuous and discrete mixture boundaries. In particular, the stitching method was shown to achieve the optimal iterated logarithmic rates. This framework has since been extended to vector-valued processes [166 ] , as well as into more application-specific refinements [20 , 30 ] (Chugg et al. 2025). A closely related thread of work considers time-uniform empirical Bernstein confidence sequences [59 ] (Waudby-Smith and Ramdas 2024), an instance of which appears in the SGD envelopes of Aolaritei et al. [ [5 ] . These results have recently been further adapted to myriad settings [155 , 98 , 100 ] (Chugg and Ramdas 2025). In parallel, and rooted in game-theoretic probability [132 ] , betting-based constructions build test supermartingales as the wealth of a gambler wagering against the null with predictable stakes. For bounded observations these yield confidence sequences that are often markedly tighter than their stitching or empirical-Bernstein counterparts [137 , 109 ] (Waudby-Smith and Ramdas 2024), with recent refinements in Martinez-Taboada and Ramdas [ [99 ] , Voráček and Orabona [ [150 ] . Both approaches fit within the broader theory of e-values and e-processes [151 , 54 ] ; see Ramdas et al. [ [122 ] , Ramdas and Wang [ [121 ] for comprehensive treatments. Our probabilistic module draws on both the sub-ψ \psi ψ and betting constructions to instantiate mixture, stitching and betting boundaries in § 2 .
Stochastic optimization and time-uniform boundaries. A small but growing body of work on nonasymptotic anytime-valid envelopes for stochastic optimization draws on these developments [46 , 112 , 47 , 65 , 23 ] . These works largely concern SGD under fixed noise and structural assumptions. The closest precedents to this paper, Aolaritei and Jordan [ [4 ] , Aolaritei et al. [ [5 ] , obtain data-adaptive boundaries through sub-Gaussian and sub-Gamma stitching constructions. The key questions of generalizability and sharpness of the envelopes that they leave open, have already been discussed. Even on the asymptotic time-uniform front, Xie et al. [ [170 ] employs time-uniform Gaussian approximation results in the spirit of Waudby-Smith et al. [ [159 , 160 , 162 ] . In fact, the substantial similarity in the underlying approaches of these papers suggests the potential for a unifying framework that systematically organizes and improves them- a task we undertake in this paper. This is a natural point to offer a bird’s-eye view of the contributions and organization of this paper.
Organization of the paper
The general probabilistic toolbox, including the different approaches to constructions of boundaries, is discussed in § 2 . Section 3 then illustrates our approach in the canonical setting of SGD. Under conditions previously studied in the literature, such as convexity or Lipschitz gradients, we derive envelopes that are substantially sharper than existing ones. Finally, § 4 moves beyond SGD to five further applications, providing the first instances of data-dependent anytime-valid boundaries in each setting. In particular, previous anytime-valid confidence sequences [4 , 5 ] , derived for SGD, do not apply directly either, since these examples, such as TD or Q-learning algorithms, are not stochastic gradient methods. The ease and sharpness of these derivations stem from our modularized perspective, which lends a level of generalizability while enabling us to remove slack from hitherto overlooked aspects of any particular problem.
Notations. Here B ( I ) B(I) B ( I ) denotes the Borel sigma-field on I I I . For a measurable space X \mathcal{X} X , P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) denotes the set of probability measures on X \mathcal{X} X ; when X \mathcal{X} X is finite, it is identified with the probability simplex in R ∣ X ∣ \mathbb{R}^{|\mathcal{X}|} R ∣ X ∣ . Matrix-valued quantities are identified with vectors through vec ( ⋅ ) \operatorname{vec}(\cdot) vec ( ⋅ ) , so that ⟨ ⋅ , ⋅ ⟩ \langle\cdot,\cdot\rangle ⟨ ⋅ , ⋅ ⟩ and ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ on matrices denote the Frobenius inner product and norm. A sequence of random objects { y t } t ≥ 1 \{y_t\}_{t\ge1} { y t } t ≥ 1 is called predictable for a filtration { F t } t ≥ 1 \{\mathcal{F}_t\}_{t\ge1} { F t } t ≥ 1 if y t y_t y t is F t − 1 \mathcal{F}_{t-1} F t − 1 -measurable; it is called observable if it is available to the iterative algorithm as it runs. We sometimes shorten stochastic processes ( M t ) t ≥ 1 (M_t)_{t\ge1} ( M t ) t ≥ 1 to just M M M .
Probabilistic tools: sub-ψ \psi ψ processes and boundaries
In this section, we construct different anytime-valid boundaries for the generic performance measure Z t Z_t Z t from (1) . The key idea is to leverage (1) to proceed inductively; a valid envelope for Z t − 1 Z_{t-1} Z t − 1 is needed to procure one for Z t Z_t Z t . In particular, an envelope R t − 1 R_{t-1} R t − 1 for Z t − 1 Z_{t-1} Z t − 1 is fed forward to construct M t M_t M t and a t a_t a t . The resulting construction of R t R_t R t , when unrolled, illustrates why controlling Y t ( v ) : = ∑ s = 1 t ⟨ v s , ξ s ⟩ Y_t(\mathbf{v}) := \sum_{s=1}^{t}\langle v_s,\xi_s\rangle Y t ( v ) := ∑ s = 1 t ⟨ v s , ξ s ⟩ , v = { v t } t ≥ 1 \mathbf{v} = \{v_t\}_{t\ge1} v = { v t } t ≥ 1 , uniformly over time, is sufficient for obtaining anytime-valid guarantees for Z t Z_t Z t .
Lemma 2.1 (Observable recursive envelopes). Let ( Z t ) t ≥ 0 (Z_t)_{t\ge0} ( Z t ) t ≥ 0 be a nonnegative adapted process, let v t v_t v t be predictable, let b t b_t b t and ξ t \xi_t ξ t be observable and F t \mathcal{F}_t F t -adapted respectively. Let R 0 R_0 R 0 be observable with P ( Z 0 ≤ R 0 ) ≥ 1 − α 0 \mathbb{P}(Z_0 \le R_0) \ge1-\alpha_0 P ( Z 0 ≤ R 0 ) ≥ 1 − α 0 for some α 0 ∈ [ 0 , 1 ) \alpha_0 \in[0,1) α 0 ∈ [ 0 , 1 ) , and put U 0 = 0 U_0=0 U 0 = 0 . For t ≥ 1 t\ge1 t ≥ 1 , let a t > 0 a_t>0 a t > 0 be predictable and observable, possibly depending on { R s } s = 0 t − 1 \{R_s\}_{s=0}^{t-1} { R s } s = 0 t − 1 . Furthermore, let U t U_t U t be observable, and define recursively
A 0 = 1 , A t = ∏ s = 1 t a s , R t : = A t ( R 0 + ∑ s = 1 t b s A s + U t ) . A_0=1,\qquad A_t=\prod_{s=1}^{t}a_s,\qquad R_t:=A_t\left(R_0+\sum_{s=1}^{t}\frac{b_s}{A_s}+U_t\right). A 0 = 1 , A t = s = 1 ∏ t a s , R t := A t ( R 0 + s = 1 ∑ t A s b s + U t ) . Suppose that, for every t ≥ 1 t\ge1 t ≥ 1 , (1) holds almost surely on { Z t − 1 ≤ R t − 1 } \{Z_{t-1}\le R_{t-1}\} { Z t − 1 ≤ R t − 1 } . Set v ~ = ( v s / A s ) s ≥ 1 \widetilde{\mathbf{v}}=(v_s/A_s)_{s\ge1} v = ( v s / A s ) s ≥ 1 , fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , and let M α M_\alpha M α satisfy
P ( Y t ( v ~ ) ≤ M α ( t ; v ~ ) for all t ≥ 1 ) ≥ 1 − α . \mathbb{P}\left(Y_t(\widetilde{\mathbf{v}})\le M_\alpha(t;\widetilde{\mathbf{v}})\text{ for all }t\ge1\right)\ge1-\alpha. P ( Y t ( v ) ≤ M α ( t ; v ) for all t ≥ 1 ) ≥ 1 − α . Suppose, for every t ≥ 1 t\ge1 t ≥ 1 ,
⋂ s = 0 t − 1 { Z s ≤ R s } ∩ { Z t > R t } ⊆ { M α ( t ; v ~ ) ≤ U t } almost surely . (2) \bigcap_{s=0}^{t-1}\{Z_s\le R_s\}\cap\{Z_t>R_t\}\subseteq\{M_\alpha(t;\widetilde{\mathbf{v}})\le U_t\}\quad\text{almost surely}. \tag*{(2)} s = 0 ⋂ t − 1 { Z s ≤ R s } ∩ { Z t > R t } ⊆ { M α ( t ; v ) ≤ U t } almost surely . (2) Then ( R t ) t ≥ 0 (R_t)_{t\ge0} ( R t ) t ≥ 0 is observable, adapted, and satisfies P ( Z t ≤ R t for all t ≥ 0 ) ≥ 1 − α − α 0 \mathbb{P}(Z_t\le R_t\text{ for all }t\ge0)\ge1-\alpha-\alpha_0 P ( Z t ≤ R t for all t ≥ 0 ) ≥ 1 − α − α 0 .
The proof of Lemma 2.1 can be found in Appendix § 14 . In particular, if R 0 ≥ Z 0 R_0\ge Z_0 R 0 ≥ Z 0 almost surely and (1) holds almost surely for every t t t , the lemma applies with α 0 = 0 \alpha_0=0 α 0 = 0 . Two features of Lemma 2.1 deserve emphasis. Crucially, we only require (1) to hold on { Z t − 1 ≤ R t − 1 } \{Z_{t-1}\le R_{t-1}\} { Z t − 1 ≤ R t − 1 } , and a t a_t a t may be built from past envelopes, eg. in Oja’s algorithm § 4.1 or SGD analysis under local self concordance property, in Appendix § 12.3.3 .
The rest of this section is devoted to time-uniform analysis of Y t Y_t Y t , which fulfills a key requirement of Lemma 2.1. A key bottleneck towards establishing anytime-valid boundaries for Y t Y_t Y t is the presence of predictable but arbitrary v t v_t v t ’s. The literature in this direction [58 , 59 , 166 ] primarily considers families of exponential processes indexed by ξ \xi ξ and assumes the existence of a function that plays the role of a cumulant-generating function. This hinders a direct adoption of such assumptions for our analysis, since the predictable sequence v \mathbf{v} v cannot be incorporated inside a global assumption. Therefore, in § 2.1 , we pursue a slightly stronger assumption which allows us to deliver valid uniform boundaries across a multitude of tail behaviors.
Assumptions on ξ t \xi_t ξ t
Our key condition is directly motivated by the sub-ψ \psi ψ condition of Casgrain et al. [ [20 ] and Whitehouse et al. [ [166 ] . Specifically, for some λ max > 0 \lambda_{\max}>0 λ m a x > 0 , we call ψ : [ 0 , λ max ) → R + \psi:[0,\lambda_{\max})\to\mathbb{R}_+ ψ : [ 0 , λ m a x ) → R + a CGF-like function if ψ \psi ψ is strictly convex, ψ ′ ( 0 ) = ψ ′ ′ ( 0 ) = 0 \psi'(0) = \psi''(0) = 0 ψ ′ ( 0 ) = ψ ′′ ( 0 ) = 0 and ψ ′ ′ ( 0 ) > 0 \psi''(0) > 0 ψ ′′ ( 0 ) > 0 . We collect a few examples of ψ \psi ψ which are particularly useful in our applications.
ψ N ( λ ) = λ 2 2 , ψ E , c ( λ ) = − log ( 1 − c λ ) − c λ c 2 , and ψ G , c ( λ ) = λ 2 2 ( 1 − c λ ) , \psi_N(\lambda) = \frac{\lambda^2}{2}, \quad\psi_{E,c}(\lambda) = \frac{-\log(1-c\lambda)-c\lambda}{c^2}, \quad\text{and} \quad\psi_{G,c}(\lambda) = \frac{\lambda^2}{2(1-c\lambda)}, ψ N ( λ ) = 2 λ 2 , ψ E , c ( λ ) = c 2 − log ( 1 − c λ ) − c λ , and ψ G , c ( λ ) = 2 ( 1 − c λ ) λ 2 ,
where c ∈ R c \in\mathbb{R} c ∈ R . For example, a vast majority of stochastic gradient descent analysis appears to assume the noise process to be sub-Gaussian [46 , 97 , 47 , 27 , 4 , 138 , 5 , 1 ] , which corresponds to ψ = ψ N \psi= \psi_N ψ = ψ N . Note that the corresponding λ max \lambda_{\max} λ m a x for ψ E , c \psi_{E,c} ψ E , c and ψ G , c \psi_{G,c} ψ G , c are 1 / ( c ∨ 0 ) 1/(c \lor0) 1/ ( c ∨ 0 ) . In the following, we introduce a mildly strengthened notion of sub-ψ \psi ψ processes.
Definition 2.2 (Sub-ψ \psi ψ process). Suppose ψ : [ 0 , λ max ) → R + \psi: [0,\lambda_{\max}) \to\mathbb{R}_+ ψ : [ 0 , λ m a x ) → R + is a CFE-like function. Let { ξ t } t = 0 ∞ \{\xi_t\}_{t=0}^{\infty} { ξ t } t = 0 ∞ and { Δ V t } t = 0 ∞ \{\Delta V_t\}_{t=0}^{\infty} { Δ V t } t = 0 ∞ be R d \mathbb{R}^d R d and R d × d \mathbb{R}^{d \times d} R d × d -valued random processes adapted to a filtration ( F t ) t ≥ 0 (\mathcal{F}_t)_{t \ge0} ( F t ) t ≥ 0 such that Δ V t ⪰ 0 \Delta V_t \succeq0 Δ V t ⪰ 0 . Then ( ξ t , Δ V t ) t = 0 ∞ (\xi_t,\Delta V_t)_{t=0}^{\infty} ( ξ t , Δ V t ) t = 0 ∞ is called a sub-ψ \psi ψ process if for every u ∈ S d − 1 u \in S^{d-1} u ∈ S d − 1 and every λ ∈ [ 0 , λ max ) \lambda\in[0,\lambda_{\max}) λ ∈ [ 0 , λ m a x ) , it follows that
exp ( ∑ s = 1 t ( λ ⟨ u , ξ s ⟩ − ψ ( λ ) ⟨ u , Δ V s u ⟩ ) ) \exp\left(\sum_{s=1}^{t}\left(\lambda\langle u,\xi_s\rangle-\psi(\lambda)\langle u,\Delta V_su\rangle\right)\right) exp ( s = 1 ∑ t ( λ ⟨ u , ξ s ⟩ − ψ ( λ ) ⟨ u , Δ V s u ⟩ ) ) is a supermartingale.
Definition 2.2 can be understood to be a mild strengthening of the sub-ψ \psi ψ processes of Whitehouse et al. [ [166 ] , similar to how Casgrain et al. [ [20 ] strengthened the sub-ψ \psi ψ conditions of Howard et al. [ [58 ] . This strengthening is necessitated since we require anytime-valid envelopes not on ∑ s = 1 t ξ s \sum_{s=1}^t \xi_s ∑ s = 1 t ξ s , but on ∑ s = 1 t ⟨ v s , ξ s ⟩ \sum_{s=1}^t \langle v_s,\xi_s\rangle ∑ s = 1 t ⟨ v s , ξ s ⟩ where ( v s ) (v_s) ( v s ) are predictable. In particular, we recover Definition 2.3 of Whitehouse et al. [ [166 ] with S t = ∑ s = 1 t ξ s S_t = \sum_{s=1}^t \xi_s S t = ∑ s = 1 t ξ s , V t = ∑ s = 1 t Δ V s V_t = \sum_{s=1}^t \Delta V_s V t = ∑ s = 1 t Δ V s by taking v s = u ∈ S d − 1 v_s = u \in S^{d-1} v s = u ∈ S d − 1 . We note that Whitehouse et al. [ [166 ] , Model 5.1 therein, also uses an assumption similar to Definition 2.2 to analyze online linear regression. The key use of Definition 2.2 for our problem is captured in Lemma 7.1, presented in Appendix 7, where we show that Definition 2.2 is equivalent to ensuring that for every λ ∈ [ 0 , λ max ) \lambda\in[0,\lambda_{\max}) λ ∈ [ 0 , λ m a x ) and for every random process v : = { v s } s = 1 ∞ \mathbf{v} := \{v_s\}_{s=1}^{\infty} v := { v s } s = 1 ∞ adapted to ( F s − 1 ) s ≥ 1 (\mathcal{F}_{s-1})_{s \ge1} ( F s − 1 ) s ≥ 1 satisfying λ ∥ v s ∥ < λ max \lambda\|v_s\| < \lambda_{\max} λ ∥ v s ∥ < λ m a x for all s ≥ 1 s \ge1 s ≥ 1 ,
M t ( v , λ ) : = exp ( ∑ s = 1 t ( λ ⟨ v s , ξ s ⟩ − Γ ψ ( Δ V s , λ v s ) ) ) (3) M_t(\mathbf{v},\lambda) := \exp\left(\sum_{s=1}^{t}\left(\lambda\langle v_s,\xi_s\rangle-\Gamma_\psi(\Delta V_s,\lambda v_s)\right)\right) \tag*{(3)} M t ( v , λ ) := exp ( s = 1 ∑ t ( λ ⟨ v s , ξ s ⟩ − Γ ψ ( Δ V s , λ v s ) ) ) (3)
is itself a super-martingale, where Γ ψ : R d × d × R d → R ≥ 0 \Gamma_\psi: \mathbb{R}^{d \times d} \times\mathbb{R}^d \to\mathbb{R}_{\ge0} Γ ψ : R d × d × R d → R ≥ 0 is given by
Γ ψ ( A , θ ) = ψ ( ∥ θ ∥ ) ∥ θ ∥ 2 ⟨ θ , A θ ⟩ , ∥ θ ∥ < λ max . \Gamma_\psi(A,\theta) = \frac{\psi(\| \theta\|)}{\| \theta\|^2}\langle\theta,A\theta\rangle,\quad\|\theta\| < \lambda_{\max}. Γ ψ ( A , θ ) = ∥ θ ∥ 2 ψ ( ∥ θ ∥ ) ⟨ θ , A θ ⟩ , ∥ θ ∥ < λ m a x .
In Table 2 , we list a few practically relevant examples of sub-ψ \psi ψ processes. In particular, our results do not require ξ t \xi_t ξ t to have any finite moments, even though most of our applications involve martingale difference sequences { ξ t } \{\xi_t\} { ξ t } . With Definition 2.2 in place, we are ready to set up and state our uniform boundary results in the following section.
Table 2. Examples of pairs ( ψ , Δ V t ) (\psi,\Delta V_t) ( ψ , Δ V t ) for which ( ξ t , Δ V t ) t ≥ 0 (\xi_t,\Delta V_t)_{t\ge0} ( ξ t , Δ V t ) t ≥ 0 is a sub-ψ \psi ψ process (Definition Definition 2.2 ). Here c > 0 c>0 c > 0 is a constant, c t > 0 c_t>0 c t > 0 is predictable, and μ ^ 0 : = 0 \hat{\mu}_0:=0 μ ^ 0 := 0 by convention.
Boundaries by mixing, stitching and betting
Armed with the Definition 2.2, in this section we derive uniformly valid and observable boundaries ( b α , t ) t ≥ 1 (b_{\alpha,t})_{t \ge1} ( b α , t ) t ≥ 1 for Y t ( v ) Y_t(v) Y t ( v ) , which one can then combine with Lemma 2.1. Our approach combines three related but separate procedures of constructing time-uniform envelopes:
Mixing [35 , 124 , 125 , 78 , 69 , 59 , 166 ] (Chugg and Ramdas 2025). This proceeds via first mixing super-martingales via a mixture distribution over λ \lambda λ , before inverting it to obtain time-uniform boundaries. This is discussed in detail in §7.2.
Stitching [59 , 30 , 109 , 166 ] (Chugg et al. 2025). Stitching resembles the chaining argument in empirical process theory. In particular, in the stitching construction, one places a geometric grid over λ \lambda λ , and constructs a linear boundary over each grid via Ville’s inequality Ville [ [149 ] , Howard et al. [ [58 ] before combining them via union bound to provide a curved boundary. As a proponent of the stitching construction, Howard et al. [ [59 ] noted the asymptotic optimality of stitching construction for sums of random variables, obtaining the log log t t t rate instead of the log t t t rate that a mixing method often entails. § 9.3 contains a thorough discussion of the stitching construction.
Betting [137 , 150 , 99 ] (Waudby-Smith and Ramdas 2024). If the random variables are additionally known to be bounded, then one can provide a sharper construction than both stitching and mixing. The key idea is the observation that Definition 2.2 entails that E [ ξ t ] = 0 \mathbb{E}[\xi_t]=0 E [ ξ t ] = 0 if ξ t \xi_t ξ t are bounded (see Lemma 7.2 in Appendix § 9 ). Therefore, if we bet against the mean not being zero, and end up with a lot of wealth, then we can safely conclude that the considered envelope is invalid. Following Waudby-Smith and Ramdas [2024], we formalize the above insight into valid envelopes via product-betting martingales and their variants. This is elaborated in § 9.4 .
The triplet of constructions sets us up for application onto (1) to provide the final time-uniform boundaries for different iterative algorithms. However, there remain two key bottlenecks: (i) how to reach the recursion (1) for any standard iterative algorithm, i.e. the description of the optimization module ; and (ii) it is not entirely clear if the boundaries are completely observable, since the variance process Δ V s \Delta V_s Δ V s contains the oracle quantities ξ s \xi_s ξ s or E s − 1 g s \mathbb{E}_{s-1}g_s E s − 1 g s ; moreover, often, the linear coefficients v s v_s v s themselves may not be observable. Subsequently, we tackle the more straightforward second question.
Boundaries for Y t ( v ) Y_t(\mathbf{v}) Y t ( v )
This section collects observable, anytime-valid boundaries for Y t ( v ) Y_t(\mathbf{v}) Y t ( v ) via different constructions. The construction of observable boundaries is motivated by the observation that in most applications, it turns out that one can replace the potentially unobservable ∥ v s ∥ \lVert\mathbf{v}_s \rVert ∥ v s ∥ by slightly larger yet observable quantities. This provides us with valid time-uniform envelopes, which we summarize in Theorems 2.3 and 2.5.
In particular, we streamline exposition by providing observable boundaries to Y t ( v ) Y_t(\mathbf{v}) Y t ( v ) for each of the mixing, stitching or betting constructions. To describe the boundaries compactly, we get some mild notational bobbery out of the way here. For a CGF-like function ψ \psi ψ with an associated λ max \lambda_{\max} λ m a x , denote
K t ( λ ) : = ∑ s = 1 t v s ψ ( λ M s ) , λ ∈ Λ t ( M ) : = [ 0 , λ max ∧ λ max max s ≤ t M s ] , K_t(\lambda) := \sum_{s=1}^{t} v_s\psi(\lambda M_s),\quad\lambda\in\Lambda_t(M) := \left[0,\lambda_{\max}\wedge\frac{\lambda_{\max}}{\max_{s\le t}M_s}\right], K t ( λ ) := s = 1 ∑ t v s ψ ( λ M s ) , λ ∈ Λ t ( M ) := [ 0 , λ m a x ∧ max s ≤ t M s λ m a x ] ,
where M = ( M s ) s ≥ 1 M=(M_s)_{s\ge1} M = ( M s ) s ≥ 1 . Note that Eqn (3) prescribes choices of λ \lambda λ satisfying λ ∥ v s ∥ < λ max \lambda\lVert\mathbf{v}_s\rVert< \lambda_{\max} λ ∥ v s ∥ < λ m a x . Often the vectors v \mathbf{v} v themselves may not be observable, but we may have access to observable upper bounds ( M s ) (M_s) ( M s ) , which motivates the definition of Λ t \Lambda_t Λ t above. Furthermore, to emphasize the role of boundedness in betting constructions, we write Λ t ( M ) = Λ t G ( M ) \Lambda_t(M)=\Lambda_t^G(M) Λ t ( M ) = Λ t G ( M ) when λ max = 1 / G \lambda_{\max}=1/G λ m a x = 1/ G , where G G G is the deterministic bound on the random variables. The individual boundary constructions are discussed seriatim.
Mixing: suppose F F F denotes a probability distribution on [ 0 , λ max ) [0,\lambda_{\max}) [ 0 , λ m a x ) . Define
U α m i x ( t ; M , ν ) : = sup { x ∈ R : ∫ Λ t ( M ) e λ x − K t ( λ ) d F ( λ ) < 1 α } . (4) \mathcal{U}_{\alpha}^{\mathrm{mix}}(t;M,\nu):=\sup\left\{x\in\mathbb{R}:\int_{\Lambda_t(M)}e^{\lambda x-K_t(\lambda)}\,dF(\lambda)<\frac{1}{\alpha}\right\}. \tag*{(4)} U α mix ( t ; M , ν ) := sup { x ∈ R : ∫ Λ t ( M ) e λ x − K t ( λ ) d F ( λ ) < α 1 } . (4)
Discrete mixture and stitching: fix deterministic support points λ k ∈ ( 0 , λ max ) \lambda_k\in(0,\lambda_{\max}) λ k ∈ ( 0 , λ m a x ) , k ≥ 0 k\ge0 k ≥ 0 , and deterministic weights p k > 0 p_k>0 p k > 0 satisfying ∑ k = 0 ∞ p k ≤ 1 \sum_{k=0}^{\infty}p_k\le1 ∑ k = 0 ∞ p k ≤ 1 . Define
U α d m ( t ; M , ν ) : = sup { x ∈ R : ∑ k : λ k ∈ Λ t ( M ) p k e λ k x − K t ( λ k ) < 1 α } , \mathcal{U}_{\alpha}^{\mathrm{dm}}(t;M,\nu):=\sup\left\{x\in\mathbb{R}:\sum_{k:\lambda_k\in\Lambda_t(M)}p_k e^{\lambda_kx-K_t(\lambda_k)}<\frac{1}{\alpha}\right\}, U α dm ( t ; M , ν ) := sup ⎩ ⎨ ⎧ x ∈ R : k : λ k ∈ Λ t ( M ) ∑ p k e λ k x − K t ( λ k ) < α 1 ⎭ ⎬ ⎫ ,
U α S T ( t ; M , ν ) : = inf k : λ k ∈ Λ t ( M ) log ( 1 / ( α p k ) ) + K t ( λ k ) λ k , (5) \mathcal{U}_{\alpha}^{\mathrm{ST}}(t;M,\nu):=\inf_{k:\lambda_k\in\Lambda_t(M)}\frac{\log(1/(\alpha p_k))+K_t(\lambda_k)}{\lambda_k}, \tag*{(5)} U α ST ( t ; M , ν ) := k : λ k ∈ Λ t ( M ) inf λ k log ( 1/ ( α p k )) + K t ( λ k ) , (5)
with inf ∅ : = + ∞ \inf\varnothing:=+\infty inf ∅ := + ∞ .
J t ( λ ) : = ∑ s = 1 t φ E , 1 ( λ M s ∥ g s ∥ ) , λ ∈ Λ t G ( M ) . (6) J_t(\lambda):=\sum_{s=1}^{t}\varphi_{E,1}(\lambda M_s\lVert g_s\rVert),\quad\lambda\in\Lambda_t^G(M). \tag*{(6)} J t ( λ ) := s = 1 ∑ t φ E , 1 ( λ M s ∥ g s ∥) , λ ∈ Λ t G ( M ) . (6)
Additionally, consider functions H t : [ 0 , G − 1 ) × [ 0 , ∞ ) ⟶ [ 0 , ∞ ) H_t:[0,G^{-1})\times[0,\infty)\longrightarrow[0,\infty) H t : [ 0 , G − 1 ) × [ 0 , ∞ ) ⟶ [ 0 , ∞ ) such that the map z ↦ H t ( λ , z ) z\mapsto H_t(\lambda,z) z ↦ H t ( λ , z ) is non-decreasing, non-negative, and lower semicontinuous, with H t ( λ , 0 ) = 0 H_t(\lambda,0)=0 H t ( λ , 0 ) = 0 . Then, define
b t H ( y , z ) : = ∑ k : λ k ∈ Λ t G ( M ) p k exp ( λ k y − J t ( λ k ) + H t ( λ k , z ) ) , b_t^H(y,z):=\sum_{k:\lambda_k\in\Lambda_t^G(M)}p_k\exp\left(\lambda_k y-J_t(\lambda_k)+H_t(\lambda_k,z)\right), b t H ( y , z ) := k : λ k ∈ Λ t G ( M ) ∑ p k exp ( λ k y − J t ( λ k ) + H t ( λ k , z ) ) ,
U α b e t ( t ; M , H , z ) : = sup { y ∈ R : b t H ( y , z ) < 1 α } . (7) \mathcal{U}_{\alpha}^{\mathrm{bet}}(t;M,H,z):=\sup\left\{y\in\mathbb{R}:b_t^H(y,z)<\frac{1}{\alpha}\right\}. \tag*{(7)} U α bet ( t ; M , H , z ) := sup { y ∈ R : b t H ( y , z ) < α 1 } . (7)
Subsequently, we present the triarchy of boundary constructions in Theorems 2.3 and 2.5. Specifically, in Theorem 2.3 , we distinguish between mixing with continuous density, which sometimes have closed form solutions, and mixing with a discrete distribution, which can be implemented via numerical root-finding algorithms. The proof of Theorem 2.3 follows routine adaptation of Lemma 2 in Howard et al. [ [59 ] ; whenever ∥ v s ∥ < M s \lVert v_s\rVert< M_s ∥ v s ∥ < M s , the choice of λ \lambda λ ensures that λ ∥ v s ∥ < λ max \lambda\lVert v_s\rVert< \lambda_{\max} λ ∥ v s ∥ < λ m a x , and Definition 2.2 and Eqn. (3) yields a supermartingale, to which Ville’s inequality applies. Subsequently, via induction, we obtain tight observable envelopes for Z t Z_t Z t in (1) .
Theorem 2.3 (Mixing and stitching). Let v = ( v t ) t ≥ 1 \mathbf{v}=(v_t)_{t\ge1} v = ( v t ) t ≥ 1 be predictable and fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Consider M : = ( M t ) t ≥ 1 M:=(M_t)_{t\ge1} M := ( M t ) t ≥ 1 , where M M M is nonnegative, observable and predictable, and let E t ( M ) : = ⋂ s = 1 t { ∥ v s ∥ ≤ M s } E_t(M):=\bigcap_{s=1}^{t}\{\lVert v_s\rVert\le M_s\} E t ( M ) := ⋂ s = 1 t {∥ v s ∥ ≤ M s } for t ≥ 1 t\ge1 t ≥ 1 . Let ( ξ t , Δ V t ) t ≥ 0 (\xi_t,\Delta V_t)_{t\ge0} ( ξ t , Δ V t ) t ≥ 0 be a sub-ψ \psi ψ process such that Δ V t ≤ ν t I \Delta V_t\le\nu_t I Δ V t ≤ ν t I almost surely for all t ≥ 1 t\ge1 t ≥ 1 , where ν t ≥ 0 \nu_t\ge0 ν t ≥ 0 is observable. Recall U ⋄ U^\diamond U ⋄ for ⋄ ∈ { m i x , d m , S t } \diamond\in\{\mathrm{mix},\mathrm{dm},\mathrm{St}\} ⋄ ∈ { mix , dm , St } from (4) –(5) . Then, it holds that
P ( ⋃ t ≥ 1 [ E t ( M ) ∩ { Y t ( v ) > U α ⋄ ( t ; M , ν ) } ] ) ≤ α . \mathbb{P}\left(\bigcup_{t\ge1}\left[E_t(M)\cap\{Y_t(\mathbf{v})>U^\diamond_\alpha(t;M,\nu)\}\right]\right)\le\alpha. P ( t ≥ 1 ⋃ [ E t ( M ) ∩ { Y t ( v ) > U α ⋄ ( t ; M , ν )} ] ) ≤ α .
Theorem 2.3 is proved in Appendix § 14 ; to aid comprehension, the separate mixing and stitching based results are recorded in Theorem 7.3 and Proposition 8 , which we then combine to deliver Theorem 2.3 . Note that, the set E t ( M ) E_t(M) E t ( M ) forces the boundary in Theorem 2.3 to work within the set { ∥ v s ∥ ≤ M s } \{\lVert v_s\rVert\le M_s\} {∥ v s ∥ ≤ M s } . Ideally, we would want E t ( M ) E_t(M) E t ( M ) to hold almost surely, so that ∥ v t ∥ ≤ M t \lVert v_t\rVert\le M_t ∥ v t ∥ ≤ M t almost surely for all t ≥ 1 t\ge1 t ≥ 1 , and then P ( Y t ( v ) ≤ U t for all t ≥ 1 ) ≥ 1 − α \mathbb{P}(Y_t(\mathbf{v})\le U_t\text{ for all }t\ge1)\ge1-\alpha P ( Y t ( v ) ≤ U t for all t ≥ 1 ) ≥ 1 − α . In general, verifying this condition for a suitable choice of M M M is non-trivial. In the examples of § 3 , § 4 , §9 and § 13 , we do so by constructing each M s M_s M s recursively from the previous envelope R s − 1 R_{s-1} R s − 1 .
Before proceeding, we record a useful corollary providing closed-form, easily computable versions of the Gaussian mixture and stitching bounds when ψ = ψ N \psi=\psi_N ψ = ψ N , and of the stitching bound when ψ = ψ G \psi=\psi_G ψ = ψ G .
Corollary 2.4. Grant the assumptions in Theorem 2.3 , and let V t : = ∑ s = 1 t ν s M s 2 V_t:=\sum_{s=1}^{t}\nu_sM_s^2 V t := ∑ s = 1 t ν s M s 2 . Then, under the choices of ψ \psi ψ and tuning parameters in each row below, the corresponding boundary satisfies the stated bound.
Table 2 (PDF p. 11).
Here q α ( x ) : = max { x , 2 log ( 2 / α ) + 2 } q_\alpha(x):=\max\{x,2\log(2/\alpha)+2\} q α ( x ) := max { x , 2 log ( 2/ α ) + 2 } , c t : = G max { 1 , max s ≤ t M s } c_t:=G\max\{1,\max_{s\le t}M_s\} c t := G max { 1 , max s ≤ t M s } , and
N α ( V t ) : = 2 ( V t + ρ ) log ( 1 + 1 2 α V t + ρ ρ ) , N_\alpha(V_t):=\sqrt{2(V_t+\rho)\log\left(1+\frac{1}{2\alpha}\sqrt{\frac{V_t+\rho}{\rho}}\right)}, N α ( V t ) := 2 ( V t + ρ ) log ( 1 + 2 α 1 ρ V t + ρ ) ,
S α ( V t ) : = q α ( V t ) [ log ( 2 / α ) + log log ( e + q α ( V t ) ) ] , S_\alpha(V_t):=\sqrt{q_\alpha(V_t)\left[\log(2/\alpha)+\log\log(e+q_\alpha(V_t))\right]}, S α ( V t ) := q α ( V t ) [ log ( 2/ α ) + log log ( e + q α ( V t )) ] ,
G α ( V t , c t ) : = 4 S α ( V t ) + 2 e c t [ log π 2 6 α + 2 log ( 2 + 2 log + ( 2 c t ) ) ] . G_\alpha(V_t,c_t):=4S_\alpha(V_t)+2\sqrt{e}\,c_t\left[\log\frac{\pi^2}{6\alpha}+2\log\left(2+2\log_+(2c_t)\right)\right]. G α ( V t , c t ) := 4 S α ( V t ) + 2 e c t [ log 6 α π 2 + 2 log ( 2 + 2 log + ( 2 c t ) ) ] .
In particular, the choice of ( λ k , p k ) k ≥ 1 (\lambda_k,p_k)_{k\ge1} ( λ k , p k ) k ≥ 1 in Corollary 2.4(ii) mimics the choices of Aolaritei and Jordan [ [4 ] and Aolaritei et al. [ [5 ] in their stitching constructions. We discuss them in more detail in § 3 and Appendix §9.
Betting constructions. Moving beyond mixing and stitching, we proceed towards a betting-based boundary when the noise variables ξ t \xi_t ξ t form a martingale difference sequence with ∥ ξ t ∥ ≤ c \|\xi_t\| \le c ∥ ξ t ∥ ≤ c . At the outset, given a sequence ( λ ~ s ) s ≥ 1 ⊂ [ 0 , λ max ] (\widetilde{\lambda}_s)_{s\geq1} \subset[0,\lambda_{\max}] ( λ s ) s ≥ 1 ⊂ [ 0 , λ m a x ] , one can follow Waudby-Smith and Ramdas [ [158 ] to procure a confidence set for zero via the product-betting martingale
K t ( v ) = ∏ 1 ≤ s ≤ t λ ~ s ∥ v s ∥ ≤ 1 / c ( 1 + λ ~ s ⟨ v s , ξ s ⟩ ) , K 0 ( v ) = 1. (8) K_t(\mathbf{v}) = \prod_{\substack{1\leq s\leq t\\ \widetilde{\lambda}_s\|\mathbf{v}_s\|\leq1/c}} (1+\widetilde{\lambda}_s\langle\mathbf{v}_s,\xi_s\rangle), \qquad K_0(\mathbf{v})=1. \tag*{(8)} K t ( v ) = 1 ≤ s ≤ t λ s ∥ v s ∥ ≤ 1/ c ∏ ( 1 + λ s ⟨ v s , ξ s ⟩) , K 0 ( v ) = 1. (8)
Roughly speaking, at round s s s a gambler, betting against the (true) hypothesis that ⟨ v s , ξ s ⟩ \langle\mathbf{v}_s,\xi_s\rangle ⟨ v s , ξ s ⟩ has conditional mean zero, stakes λ ~ s \widetilde{\lambda}_s λ s fraction of her wealth. In contrast to the supermartingales from (3) underlying Theorem 2.3 2.3 2.3 , one would expect a sharpening of the boundaries constructed with K t K_t K t . The supermartingale structure used previously can be understood to lead to a wastage of wealth that the exact martingale structure takes care of. However, unlike Waudby-Smith and Ramdas [2024], this construction does not directly yield confidence sets for the performance measures Z t Z_t Z t we are concerned with. Recursion (1) dictates one must find an upper bound to Y t ( v ) = ∑ s = 1 t ⟨ v s , ξ s ⟩ Y_t(\mathbf{v})=\sum_{s=1}^{t}\langle\mathbf{v}_s,\xi_s\rangle Y t ( v ) = ∑ s = 1 t ⟨ v s , ξ s ⟩ . To that end, for any fixed λ > 0 \lambda>0 λ > 0 , write
log K t ( v ) = λ Y t ( v ) + ∑ s = 1 t [ log ( 1 + λ ~ s ⟨ v s , ξ s ⟩ ) − λ ⟨ v s , ξ s ⟩ ] (9) \log K_t(\mathbf{v})=\lambda Y_t(\mathbf{v})+\sum_{s=1}^{t}\left[\log(1+\widetilde{\lambda}_s\langle\mathbf{v}_s,\xi_s\rangle)-\lambda\langle\mathbf{v}_s,\xi_s\rangle\right] \tag*{(9)} log K t ( v ) = λ Y t ( v ) + s = 1 ∑ t [ log ( 1 + λ s ⟨ v s , ξ s ⟩) − λ ⟨ v s , ξ s ⟩ ] (9)
In order to control A A A in (9) , one might be tempted to choose λ ~ 1 = λ ~ 2 = ⋯ = λ ~ t = λ \widetilde{\lambda}_1=\widetilde{\lambda}_2=\cdots=\widetilde{\lambda}_t=\lambda λ 1 = λ 2 = ⋯ = λ t = λ to yield log K t ( v ) = λ Y t ( v ) − ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , ξ s ⟩ ) \log K_t(\mathbf{v})=\lambda Y_t(\mathbf{v})-\sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle\mathbf{v}_s,\xi_s\rangle) log K t ( v ) = λ Y t ( v ) − ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , ξ s ⟩) . However, this choice is sub-optimal in two different ways. Firstly, this choice forgoes the usual sharpness of betting-based confidence sets, which stems from a judicious, data-adaptive choice of the bets { λ ~ s } \{\widetilde{\lambda}_s\} { λ s } . Moreover, (8) does not directly exploit the oft-available additional information that g t g_t g t itself is bounded (i.e., in the case of bounded gradients for SGD). In particular, we would like to exploit the tighter bound ∥ ξ s ∥ ≤ c + ∥ E s − 1 g s ∥ \|\xi_s\|\leq c+\|E_{s-1}g_s\| ∥ ξ s ∥ ≤ c + ∥ E s − 1 g s ∥ , which can be much smaller than 2 c 2c 2 c when ∥ E s − 1 g s ∥ \|E_{s-1}g_s\| ∥ E s − 1 g s ∥ is small. For example:
from ∥ ξ ∥ ≤ 2 c \|\xi\|\leq2c ∥ ξ ∥ ≤ 2 c , we obtain λ ~ s ≤ 1 / ( 2 c ∥ v s ∥ ) \widetilde{\lambda}_s\leq1/(2c\|\mathbf{v}_s\|) λ s ≤ 1/ ( 2 c ∥ v s ∥ ) ;
using ∥ g s ∥ ≤ c \|g_s\|\leq c ∥ g s ∥ ≤ c , we obtain a potentially much larger admissible bet λ ~ s ≤ 1 / ( c ∥ v s ∥ + ⟨ v s , E s − 1 g s ⟩ ) \widetilde{\lambda}_s\leq1/(c\|\mathbf{v}_s\|+\langle\mathbf{v}_s,E_{s-1}g_s\rangle) λ s ≤ 1/ ( c ∥ v s ∥ + ⟨ v s , E s − 1 g s ⟩) .
Therefore, the gambler can afford to bet more when ⟨ v s , E s − 1 g s ⟩ < 0 \langle\mathbf{v}_s,E_{s-1}g_s\rangle<0 ⟨ v s , E s − 1 g s ⟩ < 0 , and must bet less when ⟨ v s , E s − 1 g s ⟩ > 0 \langle\mathbf{v}_s,E_{s-1}g_s\rangle>0 ⟨ v s , E s − 1 g s ⟩ > 0 . We formalize this by considering λ ~ s : = λ / ( 1 + λ ⟨ v s , E s − 1 g s ⟩ ) \widetilde{\lambda}_s:=\lambda/(1+\lambda\langle\mathbf{v}_s,E_{s-1}g_s\rangle) λ s := λ / ( 1 + λ ⟨ v s , E s − 1 g s ⟩) for a fixed λ > 0 \lambda>0 λ > 0 , so that (8) yields
K t 1 ( v , λ ) = ∏ s = 1 t ( 1 + λ s ⟨ v s , ξ s ⟩ ) = ∏ s = 1 t 1 + λ ⟨ v s , g s ⟩ 1 + λ ⟨ v s , E s − 1 g s ⟩ , K_t^1(\mathbf{v},\lambda)=\prod_{s=1}^{t}(1+\lambda_s\langle\mathbf{v}_s,\xi_s\rangle)=\prod_{s=1}^{t}\frac{1+\lambda\langle\mathbf{v}_s,g_s\rangle}{1+\lambda\langle\mathbf{v}_s,E_{s-1}g_s\rangle}, K t 1 ( v , λ ) = s = 1 ∏ t ( 1 + λ s ⟨ v s , ξ s ⟩) = s = 1 ∏ t 1 + λ ⟨ v s , E s − 1 g s ⟩ 1 + λ ⟨ v s , g s ⟩ ,
which is an exact nonnegative martingale. Analogous to (9) , we can proceed as
log K t 1 ( v , λ ) = λ Y t ( v ) − ∑ s = 1 t ( ψ E , 1 ( − λ ⟨ v s , g s ⟩ ) − ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) ) , \log K_t^1(\mathbf{v},\lambda)=\lambda Y_t(\mathbf{v})-\sum_{s=1}^{t}\left(\psi_{E,1}(-\lambda\langle\mathbf{v}_s,g_s\rangle)-\psi_{E,1}(-\lambda\langle\mathbf{v}_s,E_{s-1}g_s\rangle)\right), log K t 1 ( v , λ ) = λ Y t ( v ) − s = 1 ∑ t ( ψ E , 1 ( − λ ⟨ v s , g s ⟩) − ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩) ) ,
which leaves us to bound the two usually unobservable sums: ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , g s ⟩ ) \sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle\mathbf{v}_s,g_s\rangle) ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , g s ⟩) , and ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) \sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle\mathbf{v}_s,E_{s-1}g_s\rangle) ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩) . Assuming that ∥ v s ∥ ≤ M s \|\mathbf{v}_s\|\leq M_s ∥ v s ∥ ≤ M s where ( M s ) s ≥ 1 (M_s)_{s\geq1} ( M s ) s ≥ 1 are observable, it follows
∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , g s ⟩ ) ≤ ∑ s = 1 t ψ E , 1 ( λ M s ∥ g s ∥ ) , \sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle\mathbf{v}_s,g_s\rangle)\leq\sum_{s=1}^{t}\psi_{E,1}(\lambda M_s\|g_s\|), s = 1 ∑ t ψ E , 1 ( − λ ⟨ v s , g s ⟩) ≤ s = 1 ∑ t ψ E , 1 ( λ M s ∥ g s ∥ ) ,
which motivates the definition of J t ( λ ) J_t(\lambda) J t ( λ ) in (6) . The second sum is taken care of by a non-decreasing non-negative process H t H_t H t ; see equation (10) . Finally, the construction of λ s \lambda_s λ s involves yet another fixed λ \lambda λ , and we are still required to guarantee optimality over our choice of this λ \lambda λ . Therefore, much like Stitching, we choose a grid { λ k } \{\lambda_k\} { λ k } and probability mass { p k } \{p_k\} { p k } , and consider the martingale ∑ k p k K t 1 ( v , λ k ) \sum_k p_k K_t^1(v,\lambda_k) ∑ k p k K t 1 ( v , λ k ) . This leads to Theorem 2.5.
Theorem 2.5 (Betting). Let v v v , M M M and E t ( M ) E_t(M) E t ( M ) be as in Theorem 2.3 . Additionally, suppose for some observable g s g_s g s satisfying ∥ g s ∥ ≤ G \lVert g_s\rVert\le G ∥ g s ∥ ≤ G for a constant G > 0 G > 0 G > 0 , one can write ξ s = g s − E s − 1 g s \xi_s = g_s - E_{s-1}g_s ξ s = g s − E s − 1 g s . Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and consider ( λ k , p k ) (\lambda_k,p_k) ( λ k , p k ) as in Theorem 2.3 . Recall H t H_t H t from (7) , and assume that almost surely on E t ( M ) E_t(M) E t ( M ) , as well as simultaneously for λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) and 0 ≤ z ≤ Z t 0 \le z \le Z_t 0 ≤ z ≤ Z t , it holds that
H t ( λ , z ) ≤ ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) . (10) H_t(\lambda,z) \le\sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle v_s,E_{s-1}g_s\rangle). \tag*{(10)} H t ( λ , z ) ≤ s = 1 ∑ t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩) . (10) Then, for U α b e t U_\alpha^{\mathrm{bet}} U α bet from (7) , it follows that
P ( ⋃ t ≥ 1 [ E t ( M ) ∩ ⋃ 0 ≤ z ≤ Z t { Y t ( v ) > U α b e t ( t ; M , H , z ) } ] ) ≤ α . \mathbb{P}\left(\bigcup_{t\ge1}\left[E_t(M)\cap\bigcup_{0\le z\le Z_t}\left\{Y_t(v)>U_\alpha^{\mathrm{bet}}(t;M,H,z)\right\}\right]\right)\le\alpha. P ( t ≥ 1 ⋃ [ E t ( M ) ∩ 0 ≤ z ≤ Z t ⋃ { Y t ( v ) > U α bet ( t ; M , H , z ) } ] ) ≤ α .
Theorems 2.3-2.5 are proved in Appendix § 14 . Our two-step approach can be summarized as follows: once the problem at hand has been reduced to the anvil of (1) , Lemma 2.1 lets the hammers of Theorems 2.3-2.5 forge observable anytime-valid envelopes. In practice, for most applications it is straightforward to obtain observable J t J_t J t and H t H_t H t ; we will look at various examples of these computations for SGD in § 3 , and for a few other interesting applications, in § 4 .
Anytime-valid boundaries in stochastic gradient descent
As a canonical example of an iterative algorithm, we consider the problem of stochastic gradient descent. Consider minimizing a differentiable function F : R d → R F:\mathbb{R}^d\to\mathbb{R} F : R d → R , F ∈ C 1 F\in C^1 F ∈ C 1 over a set X ⊆ R d \mathcal{X}\subseteq\mathbb{R}^d X ⊆ R d , given by:
x ⋆ ∈ arg min x ∈ X F ( x ) ⊆ int ( X ) , x^\star\in\underset{x\in\mathcal{X}}{\operatorname{arg\,min}}\ F(x)\subseteq\operatorname{int}(\mathcal{X}), x ⋆ ∈ x ∈ X arg min F ( x ) ⊆ int ( X ) ,
and the corresponding SGD algorithm:
x t = Π X ( x t − 1 − η t g t ) , x 0 ∈ R d . (11) x_t=\Pi_{\mathcal{X}}(x_{t-1}-\eta_tg_t),\quad x_0\in\mathbb{R}^d. \tag*{(11)} x t = Π X ( x t − 1 − η t g t ) , x 0 ∈ R d . (11)
For convenience, throughout this paper, we let X = R d \mathcal{X}=\mathbb{R}^d X = R d . If X \mathcal{X} X is a closed convex set, almost the entirety of our analysis carries over via the contractive property of a projection. Typically, an analysis of (11) consists of some assumptions on the smoothness and growth of the objective function F F F , which then drives the performance metric to be considered for the error analysis of the recursion. A detailed discussion on a number of such assumptions and their relationship to the performance measures, is provided in Appendix § 10 . This analysis leads to a recursion of the form (1) , on top of which we can employ the anytime-valid boundaries derived in the previous section via Lemma 2.1 . In the following, we describe this entire procedure through three separate analyses of SGD under three different sets of assumptions. A discussion on the derivation of (1) under a diverse set of assumptions, along with implications between these assumptions themselves, is included in Appendix § 10 . Additional derivations of recursion (1) and corresponding anytime-valid envelopes under many different assumptions are discussed in §9. These examples also serve as practical illustrations of our general approach; we hope they will guide readers in carrying it over to the many other applications that space does not permit us to cover, where it should likewise yield diverse and new anytime-valid constructions.
Case I: Restricted secant inequality and bounded stochastic gradient
Assume that F F F satisfies the restricted secant inequality (RSI; Vaswani et al. [ [148 ] ): there exists μ > 0 \mu> 0 μ > 0 , such that
⟨ ∇ F ( x ) − ∇ F ( x ⋆ ) , x − x ⋆ ⟩ ≥ μ ∥ x − x ⋆ ∥ 2 , x ∈ X . \langle\nabla F(x)-\nabla F(x^\star),x-x^\star\rangle\ge\mu\lVert x-x^\star\rVert^2,\quad x\in\mathcal{X}. ⟨ ∇ F ( x ) − ∇ F ( x ⋆ ) , x − x ⋆ ⟩ ≥ μ ∥ x − x ⋆ ∥ 2 , x ∈ X .
Note that RSI is strictly weaker than strong convexity (SC). In fact, any μ \mu μ -strongly convex function satisfies RSI with the same parameter μ \mu μ , but the converse fails.2 Throughout this section, we additionally assume that the stochastic gradients are bounded, ∥ g t ∥ ≤ G \lVert g_t\rVert\le G ∥ g t ∥ ≤ G almost surely, and E t − 1 [ ξ t ] = 0 \mathbb{E}_{t-1}[\xi_t]=0 E t − 1 [ ξ t ] = 0 . While we work with a weaker condition in RSI, this set-up resembles that of Aolaritei et al. [ [5 ] , who derived time-uniform boundaries under strong convexity and bounded gradients, and we treat it as our baseline. Consider the performance metric Z t , 1 : = ∥ x t − x ⋆ ∥ 2 Z_{t,1}:=\lVert x_t-x^\star\rVert^2 Z t , 1 := ∥ x t − x ⋆ ∥ 2 .
Optimization module for RSI
In this section, we briefly discuss the derivation of (1) ; this is also present in Lemma C.2 of Aolaritei et al. [ [5 ] . Define A t = ∏ ℓ = 1 t ( 1 − 2 μ η ℓ ) A_t=\prod_{\ell=1}^{t}(1-2\mu\eta_\ell) A t = ∏ ℓ = 1 t ( 1 − 2 μ η ℓ ) , s < t s<t s < t , and assume 2 μ η t < 1 2\mu\eta_t<1 2 μ η t < 1 . Since ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 and ξ t = ∇ F ( x t − 1 ) − g t \xi_t=\nabla F(x_{t-1})-g_t ξ t = ∇ F ( x t − 1 ) − g t , expanding ∥ x t − 1 − η t g t − x ⋆ ∥ 2 \lVert x_{t-1}-\eta_tg_t-x^\star\rVert^2 ∥ x t − 1 − η t g t − x ⋆ ∥ 2 and applying RSI gives
Z t , 1 ≤ ( 1 − 2 μ η t ) Z t − 1 , 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ (12) Z_{t,1}\le(1-2\mu\eta_t)Z_{t-1,1}+\eta_t^2\lVert g_t\rVert^2+\langle2\eta_t(x_{t-1}-x^\star),\xi_t\rangle \tag*{(12)} Z t , 1 ≤ ( 1 − 2 μ η t ) Z t − 1 , 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ (12)
which is (1) with a t = 1 − 2 μ η t a_t=1-2\mu\eta_t a t = 1 − 2 μ η t , b t = η t 2 ∥ g t ∥ 2 b_t=\eta_t^2\lVert g_t\rVert^2 b t = η t 2 ∥ g t ∥ 2 and v t = 2 η t ( x t − 1 − x ⋆ ) v_t=2\eta_t(x_{t-1}-x^\star) v t = 2 η t ( x t − 1 − x ⋆ ) ; its unrolled form is Lemma C.2 of Aolaritei et al. [ [5 ] . Moreover, RSI, ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 and Jensen’s inequality give
μ ∥ x t − x ⋆ ∥ 2 ≤ ⟨ ∇ F ( x t ) , x t − x ⋆ ⟩ ≤ ∥ E t g t + 1 ∥ ∥ x t − x ⋆ ∥ ≤ G ∥ x t − x ⋆ ∥ , \mu\lVert x_t-x^\star\rVert^2\le\langle\nabla F(x_t),x_t-x^\star\rangle\le\lVert\mathbb{E}_t g_{t+1}\rVert\lVert x_t-x^\star\rVert\le G\lVert x_t-x^\star\rVert, μ ∥ x t − x ⋆ ∥ 2 ≤ ⟨ ∇ F ( x t ) , x t − x ⋆ ⟩ ≤ ∥ E t g t + 1 ∥ ∥ x t − x ⋆ ∥ ≤ G ∥ x t − x ⋆ ∥ ,
whence Z t , 1 ≤ R ⋆ : = G 2 / μ 2 Z_{t,1}\le R_\star:=G^2/\mu^2 Z t , 1 ≤ R ⋆ := G 2 / μ 2 almost surely. Throughout this section, we take R 0 : = R ⋆ R_0:=R_\star R 0 := R ⋆ and write D t : = R 0 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 / A s D_t:=R_0+\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2/A_s D t := R 0 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 / A s . On { Z t − 1 , 1 ≤ R t − 1 } \{Z_{t-1,1}\le R_{t-1}\} { Z t − 1 , 1 ≤ R t − 1 } , one can control v t v_t v t as ∥ v t ∥ ≤ 2 η t R t − 1 \lVert v_t\rVert\le2\eta_t\sqrt{R_{t-1}} ∥ v t ∥ ≤ 2 η t R t − 1 . Thereafter, Theorems 2.3 and 2.5 provide an observable anytime-valid envelope in conjunction with Lemma 2.1 .
Betting construction under RSI
As a typical demonstration of our modularized approach of combining the optimization module and Theorems 2.3 -2.5 , in this section we discuss a betting construction under RSI and bounded gradients. We separately discuss a sub-gamma stitching boundary in §9.1; while the sub-gamma stitching boundary has the benefit of a closed form expression, it uses the inequality ψ E , G ≤ ψ G , G \psi_{E,G}\le\psi_{G,G} ψ E , G ≤ ψ G , G . Clearly, this can be understood to introduce some slackness in the bound, which can be uniformly improved in a straightforward manner. For example, at the cost of an analytic computation, one can directly perform a sub-exponential stitching boundary with the same choices of p k , ℓ p_{k,\ell} p k , ℓ and λ k , ℓ \lambda_{k,\ell} λ k , ℓ to obtain a uniformly sharper boundary. In our simulation studies Figure 1 .a, the exponential discrete mixture boundary (i.e. ψ = ψ E , G \psi=\psi_{E,G} ψ = ψ E , G along with Corollary 7.4) with the choices as in Figure 4 of Howard et al. [ [59 ] dominates the stitching bound; see the discussion immediately preceding Proposition 2 in Howard et al. [ [59 ] . If we emphasize upon obtaining a closed form bound, then there are other alternatives as well. For example, in Appendix §7.2.1, we show that the gamma-exponential mixture boundary can also be accompanied by a sharp closed form upper bound, facilitating computation.
Figure 4. Universal implications among Assumptions 1–10 when X = R d \mathcal{X} = \mathbb{R}^{d} X = R d , F ∈ C 1 F \in C^{1} F ∈ C 1 , and x ∗ x^{*} x ∗ is a minimizer of F F F (unique wherever Q C γ \mathrm{QC}_{\gamma} QC γ is involved). A dashed arrow labelled + X +X + X means the source assumption together with X X X implies the target. Each arrow is labelled with the lemma in Appendix § 10.4 that proves it.
However, a common feature of the aforementioned boundaries is that they make use of the bounded gradients only through the use of ψ E , G \psi_{E,G} ψ E , G function in the Definition 2.2 formulation. As discussed before Theorem 2.5, and later in more detail in § 9.4 (also see Waudby-Smith and Ramdas [2024]), with the bounded gradients we can sharpen boundaries via the product-betting martingales compared to these supermartingale-based boundaries. In the following, we leverage Theorem 2.5 and Lemma 2.1 to derive an observable betting boundary for stochastic gradient descent under RSI and bounded gradient assumptions. First, some notational niceties are warranted. Recall J t J_t J t from (6) , and define
H t ( w ) ( λ , z ) : = ∑ s = 1 t ψ E , 1 ( 2 λ μ η s A s ( z − ∥ x t − x s − 1 ∥ ) + 2 ) (13) H_t^{(w)}(\lambda,z) := \sum_{s=1}^{t} \psi_{E,1}\left(\frac{2\lambda\mu\eta_s}{A_s}\left(\sqrt{z}-\left\lVert x_t-x_{s-1}\right\rVert\right)^2_+\right) \tag*{(13)} H t ( w ) ( λ , z ) := s = 1 ∑ t ψ E , 1 ( A s 2 λ μ η s ( z − ∥ x t − x s − 1 ∥ ) + 2 ) (13)
which plays the role of H t H_t H t from Theorem 2.5. Proposition 1 mimics the construction of U α U_\alpha U α in (7) .
Proposition 1. Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , w ∈ N 0 w \in\mathbb{N}_0 w ∈ N 0 , and deterministic λ k ∈ ( 0 , 1 / G ) \lambda_k \in(0,1/G) λ k ∈ ( 0 , 1/ G ) and p k > 0 p_k > 0 p k > 0 , k ≥ 0 k \ge0 k ≥ 0 , such that λ k ↓ 0 \lambda_k \downarrow0 λ k ↓ 0 and ∑ k ≥ 0 p k = 1 \sum_{k\ge0}p_k=1 ∑ k ≥ 0 p k = 1 . With R 0 w : = R ⋆ R_0^w := R_\star R 0 w := R ⋆ , define recursively, for t ≥ 1 t \ge1 t ≥ 1 , M t : = 2 η t R t − 1 w / A t M_t := 2\eta_t\sqrt{R_{t-1}^w}/A_t M t := 2 η t R t − 1 w / A t . Moreover, for λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) and z ≥ 0 z \ge0 z ≥ 0 , recall (13) and define W t ( w ) ( z ) : = b t w ( z / A t − D t , z ) W_t^{(w)}(z) := b_t^w(z/A_t-D_t,z) W t ( w ) ( z ) := b t w ( z / A t − D t , z ) , where b t w b_t^w b t w is as in (7) with H t ( w ) H_t^{(w)} H t ( w ) playing the role of H t H_t H t therein. Then,
R t w : = sup ( { 0 } ∪ { z ∈ [ 0 , R ⋆ ] : W t ( w ) ( z ) ≤ 1 / α } ) R_t^w := \sup\left(\{0\}\cup\left\{z\in[0,R_\star]:W_t^{(w)}(z)\le1/\alpha\right\}\right) R t w := sup ( { 0 } ∪ { z ∈ [ 0 , R ⋆ ] : W t ( w ) ( z ) ≤ 1/ α } ) satisfies P ( Z t , 1 ≤ R t w for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(Z_{t,1}\le R_t^w\text{ for all }t\ge0)\ge1-\alpha P ( Z t , 1 ≤ R t w for all t ≥ 0 ) ≥ 1 − α .
Proposition 1 is proved in Appendix 12.1. For λ > 0 \lambda>0 λ > 0 , consider the following elementary inequality:
ψ E , 1 ( x ) ≤ x 2 b 2 ψ E , 1 ( b ) , ∣ x ∣ ≤ b < 1 , (14) \psi_{E,1}(x)\le\frac{x^2}{b^2}\psi_{E,1}(b),\quad|x|\le b<1, \tag*{(14)} ψ E , 1 ( x ) ≤ b 2 x 2 ψ E , 1 ( b ) , ∣ x ∣ ≤ b < 1 , (14)
Note that, (14) along with ψ E , c ≤ ψ G , c \psi_{E,c}\le\psi_{G,c} ψ E , c ≤ ψ G , c entails that
J t ( λ ) ≤ ∑ s = 1 t ψ E , G ( λ M s ) ∥ g s ∥ 2 ≤ ψ G , G M t ( λ ) ∑ s = 1 t M s 2 ∥ g s ∥ 2 , M ~ t = max 1 ≤ s ≤ t M s . (15) J_t(\lambda)\le\sum_{s=1}^{t}\psi_{E,G}(\lambda M_s)\lVert g_s\rVert^2\le\psi_{G,GM_t}(\lambda)\sum_{s=1}^{t}M_s^2\lVert g_s\rVert^2,\quad\widetilde{M}_t=\max_{1\le s\le t}M_s. \tag*{(15)} J t ( λ ) ≤ s = 1 ∑ t ψ E , G ( λ M s ) ∥ g s ∥ 2 ≤ ψ G , G M t ( λ ) s = 1 ∑ t M s 2 ∥ g s ∥ 2 , M t = 1 ≤ s ≤ t max M s . (15)
The inequalities (15) enable a short comparison between the different envelopes. Throughout the comparison, we use the same mixtures { p k } \{p_k\} { p k } and parameters { λ k } \{\lambda_k\} { λ k } . Fix w > 0 w>0 w > 0 .
The exponential discrete mixture boundary, denoted by R t d m R_t^{\mathrm{dm}} R t dm , is obtained by replacing J t J_t J t and H t ( w ) ( λ k , z ) H_t^{(w)}(\lambda_k,z) H t ( w ) ( λ k , z ) in W t ( w ) W_t^{(w)} W t ( w ) by ∑ s = 1 t ψ E , G ( λ M s ) ∥ g s ∥ 2 \sum_{s=1}^{t}\psi_{E,G}(\lambda M_s)\lVert g_s\rVert^2 ∑ s = 1 t ψ E , G ( λ M s ) ∥ g s ∥ 2 , and 0 0 0 , respectively. The resultant W t ( z ) W_t(z) W t ( z ) satisfies W t ( z ) ≤ W t ( w ) ( z ) W_t(z)\le W_t^{(w)}(z) W t ( z ) ≤ W t ( w ) ( z ) , and therefore, R t w ≤ R t d m R_t^w\le R_t^{\mathrm{dm}} R t w ≤ R t dm .
Furthermore, the exponential stitching boundary, denoted by R t S T R_t^{\mathrm{ST}} R t ST , is derived by replacing the sum over { k ≥ 0 : λ k ∈ Λ t G } \{k\ge0:\lambda_k\in\Lambda_t^G\} { k ≥ 0 : λ k ∈ Λ t G } in W t ( z ) W_t(z) W t ( z ) by taking a supremum over the same set. Let W ~ t \widetilde{W}_t W t denote the resulting threshold, which satisfies W ~ t ( z ) ≤ W t ( z ) \widetilde{W}_t(z)\le W_t(z) W t ( z ) ≤ W t ( z ) . Consequently, R t d m ≤ R t S T R_t^{\mathrm{dm}}\le R_t^{\mathrm{ST}} R t dm ≤ R t ST .
Finally, the sub-gamma stitching boundary, denoted by R ~ t S T \widetilde{R}_t^{\mathrm{ST}} R t ST , can be conjured by replacing ψ E , G ( λ k M s ) ∥ g s ∥ 2 \psi_{E,G}(\lambda_kM_s)\lVert g_s\rVert^2 ψ E , G ( λ k M s ) ∥ g s ∥ 2 in W ~ t ( z ) \widetilde{W}_t(z) W t ( z ) by ψ G , G M ~ t ( λ k ) ∑ s = 1 t M s 2 ∥ g s ∥ 2 \psi_G,G\widetilde{M}_t(\lambda_k)\sum_{s=1}^{t}M_s^2\lVert g_s\rVert^2 ψ G , G M t ( λ k ) ∑ s = 1 t M s 2 ∥ g s ∥ 2 . In particular, the empirical-Bernstein boundary in Aolaritei et al. [ [5 ] , Theorem 3.5 (henceforth denoted by R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ ) provides a closed-form upper bound to the sub-Gamma stitching boundary with the choice
p k , ℓ = 1 ( k + 1 ) ( k + 2 ) ( ℓ + 1 ) ( ℓ + 2 ) , λ k , ℓ = 1 2 ℓ + 2 k − 1 / log ( 1 / ( α p k , ℓ ) ) . (16) p_{k,\ell}=\frac{1}{(k+1)(k+2)(\ell+1)(\ell+2)},\quad\lambda_{k,\ell}=\frac{1}{2^\ell+\sqrt{2^{k-1}/\log(1/(\alpha p_{k,\ell}))}}. \tag*{(16)} p k , ℓ = ( k + 1 ) ( k + 2 ) ( ℓ + 1 ) ( ℓ + 2 ) 1 , λ k , ℓ = 2 ℓ + 2 k − 1 / log ( 1/ ( α p k , ℓ )) 1 . (16)
Consequently, under (16) , the sub-gamma stitching boundary satisfies R t S T ≤ R ~ t S T ≤ R t A L B J R_t^{\mathrm{ST}}\le\widetilde{R}_t^{\mathrm{ST}}\le R_t^{\mathrm{ALBJ}} R t ST ≤ R t ST ≤ R t ALBJ for all t t t . This is further detailed in Appendix §9.1.
In particular, with choices of p k p_k p k and λ k \lambda_k λ k in (16) , it holds that for any w > 0 w>0 w > 0 , R t w ≤ R t A L B J R_t^w\le R_t^{\mathrm{ALBJ}} R t w ≤ R t ALBJ . To summarize, we provide a class of boundaries each uniformly sharper than Aolaritei et al. [ [5 ] .
Case II: Lipschitz gradient
RSI in §3.1 forces every stationary point of F F F to be the global minimizer, and thereby excludes a large class of nonconvex objectives routinely encountered in modern machine learning. In this section, we work with potentially non-convex F F F , and repeat the procedure of §3.1 by only assuming that F F F has an L L L -Lipschitz gradient (LS) i.e.,
∥ ∇ F ( x ) − ∇ F ( y ) ∥ ≤ L ∥ x − y ∥ , x , y ∈ R d . \lVert\nabla F(x)-\nabla F(y)\rVert\le L\lVert x-y\rVert,\quad x,y\in\mathbb{R}^{d}. ∥ ∇ F ( x ) − ∇ F ( y )∥ ≤ L ∥ x − y ∥ , x , y ∈ R d .
Equivalently, we assume that F F F satisfies the descent lemma, [9 Proposition A.24] :
F ( y ) ≤ F ( x ) + ⟨ ∇ F ( x ) , y − x ⟩ + L 2 ∥ x − y ∥ 2 . (17) F(y)\le F(x)+\langle\nabla F(x),y-x\rangle+\frac{L}{2}\lVert x-y\rVert^{2}. \tag*{(17)} F ( y ) ≤ F ( x ) + ⟨ ∇ F ( x ) , y − x ⟩ + 2 L ∥ x − y ∥ 2 . (17)
In this case, there might not be any unique global minima; therefore instead of Z t , 1 Z_{t,1} Z t , 1 , an appropriate performance metric would approximate stationarity [52 , 18 ] . Accordingly, the performance metric we consider is:
Z ~ t , 2 : = F ( x t ) − F ⋆ + ∑ s = 1 t η s ∥ ∇ F ( x s − 1 ) ∥ 2 . \widetilde{Z}_{t,2}:=F(x_t)-F^{\star}+\sum_{s=1}^{t}\eta_s\lVert\nabla F(x_{s-1})\rVert^{2}. Z t , 2 := F ( x t ) − F ⋆ + s = 1 ∑ t η s ∥ ∇ F ( x s − 1 ) ∥ 2 .
where F ⋆ = min F ( x ) F^{\star}=\min F(x) F ⋆ = min F ( x ) . The reason for using the notation Z ~ \widetilde{Z} Z will be apparent in the Appendix § 10.3 ; Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 turns out to be the sum of two measures often considered separately in the literature. In particular, Aolaritei and Jordan [ [4 ] provided anytime-valid control of one-component of Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 : the weighted stationarity measure Z t , 5 : = S t − 1 ∑ s = 1 t η s ∥ ∇ F ( x s − 1 ) ∥ 2 Z_{t,5}:=S_{t}^{-1}\sum_{s=1}^{t}\eta_s\lVert\nabla F(x_{s-1})\rVert^{2} Z t , 5 := S t − 1 ∑ s = 1 t η s ∥ ∇ F ( x s − 1 ) ∥ 2 , where S t = ∑ s = 1 t η s S_t=\sum_{s=1}^{t}\eta_s S t = ∑ s = 1 t η s . Subsequently, we derive the optimization module for Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 , with which we subsequently discuss a self-normalized as well as a betting-based time-uniform envelope.
Optimization module for LS
Deriving a recursion of the type (1) for Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 is trivial via (17). Let R 0 ≥ Z ~ 0 , 2 R_0\ge\widetilde{Z}_{0,2} R 0 ≥ Z 0 , 2 almost surely. Put b t : = L η t 2 ∥ g t ∥ 2 / 2 b_t:=L\eta_t^2\lVert g_t\rVert^2/2 b t := L η t 2 ∥ g t ∥ 2 /2 and D t : = R 0 + ∑ s = 1 t b s D_t:=R_0+\sum_{s=1}^{t}b_s D t := R 0 + ∑ s = 1 t b s . Applying (17) to the step x t = x t − 1 − η t g t x_t=x_{t-1}-\eta_tg_t x t = x t − 1 − η t g t , we obtain
Z ~ t , 2 ≤ Z ~ t − 1 , 2 + L η t 2 ∥ g t ∥ 2 / 2 + ⟨ v t , ξ t ⟩ . \widetilde{Z}_{t,2}\le\widetilde{Z}_{t-1,2}+L\eta_t^2\lVert g_t\rVert^2/2+\langle v_t,\xi_t\rangle. Z t , 2 ≤ Z t − 1 , 2 + L η t 2 ∥ g t ∥ 2 /2 + ⟨ v t , ξ t ⟩ .
where v t = η t E t − 1 g t v_t=\eta_t\mathbb{E}_{t-1}g_t v t = η t E t − 1 g t . Thereafter, Lemma 2.1 along with the boundaries of §2 provides a large class of anytime-valid boundaries for Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 , and by extension, Z t , 5 Z_{t,5} Z t , 5 . In particular, in the Appendix §9.2, we discuss how particular stitching constructions recover the envelope from Corollary 2.6 of Aolaritei and Jordan [ [4 ] ; therein, we also provide an alternative construction which can be sharper when the SGD chain is nearing the local optima. In the following, we explore some new constructions based on self-normalization (Table 2, row 3), and betting, and discuss the relationship between themselves, and with the stitching constructions in Appendix §9.2.
Self-normalized and betting envelopes under bounded gradients
In this section, we work with the additional assumption that ∥ ∇ F ( x ) ∥ ≤ G \lVert\nabla F(x)\rVert\le G ∥ ∇ F ( x )∥ ≤ G for all x ∈ R d x\in\mathbb{R}^{d} x ∈ R d , where G > 0 G>0 G > 0 is known, similar to Aolaritei and Jordan [ [4 ] , Corollary 2.6. This assumption enables us to construct several mixing and stitching-based envelopes via Table 2, third row. Following Whitehouse et al. [ [166 ] , we call these the self-normalized envelopes. Subsequently, we further sharpen these envelopes via a quadratic product-betting supermartingale.
In addition to ∥ ∇ F ( x ) ∥ ≤ G \lVert\nabla F(x)\rVert\le G ∥ ∇ F ( x )∥ ≤ G , assume that ξ t \xi_t ξ t are conditionally sub-Gaussian with variance proxy σ 2 \sigma^2 σ 2 ; i.e., in Definition 2.2 , ψ = ψ N \psi=\psi_N ψ = ψ N , λ max = ∞ \lambda_{\max}=\infty λ m a x = ∞ , and Δ V s = σ 2 I \Delta V_s=\sigma^2 I Δ V s = σ 2 I . Therefore, with ξ t = ∇ F ( x t − 1 ) − g t \xi_t=\nabla F(x_{t-1})-g_t ξ t = ∇ F ( x t − 1 ) − g t , and ψ = ψ N \psi=\psi_N ψ = ψ N , Lemma 7.2 in the appendix entails
E t − 1 ξ t = 0 , E t − 1 [ ξ t ξ t T ] ⪯ σ 2 I , t ≥ 1. (18) \mathbb{E}_{t-1}\xi_t=0,\quad\mathbb{E}_{t-1}[\xi_t\xi_t^\mathsf{T}]\preceq\sigma^2 I,\quad t\ge1. \tag*{(18)} E t − 1 ξ t = 0 , E t − 1 [ ξ t ξ t T ] ⪯ σ 2 I , t ≥ 1. (18)
Consider Table 2, row 3. Equation (18) implies that ( ξ t , Δ V t S N ) t ≥ 1 (\xi_t,\Delta V_t^{\mathrm{SN}})_{t\ge1} ( ξ t , Δ V t SN ) t ≥ 1 with Δ V t S N : = 1 3 ξ t ξ t T + 2 3 E t − 1 [ ξ t ξ t T ] \Delta V_t^{\mathrm{SN}}:=\frac{1}{3}\xi_t\xi_t^\mathsf{T}+\frac{2}{3}\mathbb{E}_{t-1}[\xi_t\xi_t^\mathsf{T}] Δ V t SN := 3 1 ξ t ξ t T + 3 2 E t − 1 [ ξ t ξ t T ] is a sub-ψ N \psi_N ψ N process. Since ∥ ξ t ∥ ≤ G + ∥ g t ∥ \lVert\xi_t\rVert\le G+\lVert g_t\rVert ∥ ξ t ∥ ≤ G + ∥ g t ∥ , (18) gives Δ V t S N ⪯ ν t I \Delta V_t^{\mathrm{SN}}\preceq\nu_t I Δ V t SN ⪯ ν t I with the observable ν t : = 1 3 ( G + ∥ g t ∥ ) 2 + 2 3 σ 2 \nu_t:=\frac{1}{3}(G+\lVert g_t\rVert)^2+\frac{2}{3}\sigma^2 ν t := 3 1 ( G + ∥ g t ∥ ) 2 + 3 2 σ 2 . Consequently, the choices in Theorem 2.3 read,
K t ( λ ) = λ 2 Q t S N / 2 , where Q t S N : = ∑ s = 1 t ν s M s 2 = G 2 3 ∑ s = 1 t η s 2 [ ( G + ∥ g s ∥ ) 2 + 2 σ 2 ] , K_t(\lambda)=\lambda^2 Q_t^{\mathrm{SN}}/2,\quad\text{where}\quad Q_t^{\mathrm{SN}}:=\sum_{s=1}^{t}\nu_s M_s^2=\frac{G^2}{3}\sum_{s=1}^{t}\eta_s^2[(G+\lVert g_s\rVert)^2+2\sigma^2], K t ( λ ) = λ 2 Q t SN /2 , where Q t SN := s = 1 ∑ t ν s M s 2 = 3 G 2 s = 1 ∑ t η s 2 [( G + ∥ g s ∥ ) 2 + 2 σ 2 ] ,
where M s = η s G M_s=\eta_sG M s = η s G . Let the discrete-mixture and stitching boundaries of Theorem 2.3 be denoted as U t S N , D M U_t^{\mathrm{SN,DM}} U t SN , DM and U t S N , S t U_t^{\mathrm{SN,St}} U t SN , St respectively. Denote by R t S N , D M R_t^{\mathrm{SN,DM}} R t SN , DM and R t S N , S t R_t^{\mathrm{SN,St}} R t SN , St the corresponding envelopes R 0 + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 / 2 + U t R_0+L\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2/2+U_t R 0 + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 /2 + U t . By Theorem 2.3 ,
P ( Z ~ t , 2 ≤ R t for all t ≥ 0 ) ≥ 1 − α , R t ∈ { R t S N , D M , R t S N , S t } . \mathbb{P}\left(\widetilde Z_{t,2}\le R_t\text{ for all }t\ge0\right)\ge1-\alpha,\quad R_t\in\left\{R_t^{\mathrm{SN,DM}},R_t^{\mathrm{SN,St}}\right\}. P ( Z t , 2 ≤ R t for all t ≥ 0 ) ≥ 1 − α , R t ∈ { R t SN , DM , R t SN , St } .
Betting envelope. Similar to the proof of Lemma 3(f) of Howard et al. [ [58 ] , the self-normalized construction can be further sharpened by retaining the positive quadratic factor underlying the finite-variance inequality. In particular, we proceed along the lines of Corollary 7.6, however, through a quadratic product-betting supermartingale in lieu of the linear product-betting martingale. Write
χ ( u ) : = u − log ( 1 + u + u 2 / 3 ) , u ∈ R , j ( b ) : = max { χ ( b ) , χ ( − min { b , 1 } ) } ≤ b 2 6 , b ≥ 0. (19) \chi(u):=u-\log(1+u+u^2/3),\quad u\in\mathbb{R},\quad j(b):=\max\{\chi(b),\chi(-\min\{b,1\})\}\le\frac{b^2}{6},\quad b\ge0. \tag*{(19)} χ ( u ) := u − log ( 1 + u + u 2 /3 ) , u ∈ R , j ( b ) := max { χ ( b ) , χ ( − min { b , 1 })} ≤ 6 b 2 , b ≥ 0. (19)
Analogous to (6) , define
J t Q ( λ ) : = ∑ s = 1 t [ j ( λ η s G ( G + ∥ g s ∥ ) ) + log ( 1 + λ 2 σ 2 G 2 η s 2 3 ) ] , J_t^Q(\lambda):=\sum_{s=1}^{t}\left[j(\lambda\eta_sG(G+\lVert g_s\rVert))+\log\left(1+\frac{\lambda^2\sigma^2G^2\eta_s^2}{3}\right)\right], J t Q ( λ ) := s = 1 ∑ t [ j ( λ η s G ( G + ∥ g s ∥)) + log ( 1 + 3 λ 2 σ 2 G 2 η s 2 ) ] ,
W t Q ( y ) : = ∑ k ≥ 0 p k exp ( λ k y − J t Q ( λ k ) ) . (20) W_t^Q(y):=\sum_{k\ge0}p_k\exp(\lambda_k y-J_t^Q(\lambda_k)). \tag*{(20)} W t Q ( y ) := k ≥ 0 ∑ p k exp ( λ k y − J t Q ( λ k )) . (20)
The following result establishes a betting-based anytime-valid envelope for Z ~ t , 2 \widetilde Z_{t,2} Z t , 2 under the bounded-gradient assumption.
Proposition 2 (Observable quadratic betting envelope). Grant (18) and ∥ ∇ F ∥ ≤ G \lVert\nabla F\rVert\le G ∥ ∇ F ∥ ≤ G , and let { λ k , p k } k ≥ 0 \{\lambda_k,p_k\}_{k\ge0} { λ k , p k } k ≥ 0 be as above. For t ≥ 1 t\ge1 t ≥ 1 and λ > 0 \lambda>0 λ > 0 , define
U t Q : = sup { y ∈ R : W t Q ( y ) < 1 / α } , R t Q : = R 0 + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 / 2 + U t Q , R 0 Q : = R 0 , U_t^Q:=\sup\{y\in\mathbb{R}:W_t^Q(y)<1/\alpha\},\quad R_t^Q:=R_0+L\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2/2+U_t^Q,\quad R_0^Q:=R_0, U t Q := sup { y ∈ R : W t Q ( y ) < 1/ α } , R t Q := R 0 + L s = 1 ∑ t η s 2 ∥ g s ∥ 2 /2 + U t Q , R 0 Q := R 0 , where we recall W t Q W_t^Q W t Q from (20) . Then ( R t Q ) t ≥ 0 (R_t^Q)_{t\ge0} ( R t Q ) t ≥ 0 is observable and adapted, and
P ( Z ~ t , 2 ≤ R t Q for all t ≥ 0 ) ≥ 1 − α . \mathbb{P}(\widetilde Z_{t,2}\le R_t^Q\text{ for all }t\ge0)\ge1-\alpha. P ( Z t , 2 ≤ R t Q for all t ≥ 0 ) ≥ 1 − α .
Proposition 2 is proved in Appendix 12. Its proof uses the nonnegative supermartingale
K t Q ( v , λ ) : = ∏ s = 1 t 1 + λ ⟨ v s , ξ s ⟩ + λ 2 ⟨ v s , ξ s ⟩ 2 / 3 1 + λ 2 σ 2 ∥ v s ∥ 2 / 3 , K 0 Q ( v , λ ) = 1. K_t^Q(v,\lambda):=\prod_{s=1}^{t}\frac{1+\lambda\langle v_s,\xi_s\rangle+\lambda^2\langle v_s,\xi_s\rangle^2/3}{1+\lambda^2\sigma^2\lVert v_s\rVert^2/3},\quad K_0^Q(v,\lambda)=1. K t Q ( v , λ ) := s = 1 ∏ t 1 + λ 2 σ 2 ∥ v s ∥ 2 /3 1 + λ ⟨ v s , ξ s ⟩ + λ 2 ⟨ v s , ξ s ⟩ 2 /3 , K 0 Q ( v , λ ) = 1.
We emphasize that unlike in §7.4, the numerator in K t Q K_t^Q K t Q is positive for every ⟨ v s , ξ s ⟩ \langle v_s,\xi_s\rangle ⟨ v s , ξ s ⟩ and every λ > 0 \lambda>0 λ > 0 , so that no restriction on λ \lambda λ or boundedness of ∥ g t ∥ \lVert g_t\rVert ∥ g t ∥ is required. Moreover, for comparison, j ( x ) ≤ x 2 / 6 j(x)\le x^2/6 j ( x ) ≤ x 2 /6 and log ( 1 + x ) ≤ x \log(1+x)\le x log ( 1 + x ) ≤ x , x ≥ 0 x\ge0 x ≥ 0 , give J t Q ( λ ) ≤ λ 2 Q t S N / 2 J_t^Q(\lambda)\le\lambda^2Q_t^{\mathrm{SN}}/2 J t Q ( λ ) ≤ λ 2 Q t SN /2 . Consequently, for the same { λ k , p k } \{\lambda_k,p_k\} { λ k , p k } , α \alpha α and R 0 R_0 R 0 , it holds that R t Q ≤ R t S N , D M ≤ R t S N , S t R_t^Q\le R_t^{\mathrm{SN,DM}}\le R_t^{\mathrm{SN,St}} R t Q ≤ R t SN , DM ≤ R t SN , St , for t ≥ 1 t\ge1 t ≥ 1 .
Combining the self-normalized and the betting envelope
In this section, we provide an envelope that combines the benefits of both the self-normalized and betting constructions. Interestingly, this leads to a uniformly sharper boundary than the sub-Gaussian stitching boundary of Aolaritei and Jordan [ [4 ] , which we also discuss in the Appendix §9.2.
It is evident that the self-normalized envelope uses sub-Gaussian assumption only through Lemma 7.2 , thereby foregoing its full efficacy; on the other hand, the betting envelope uses only the bounded gradient assumption. Instead of naively taking a maximum among the two envelopes to preserve validity, or using a union bound, we can combine both constructions into a single mixture before inversion. Define
W t H ( y ) : = 1 2 ∑ k ≥ 0 p k [ exp ( λ k y − λ k 2 2 Q t G ) + exp ( λ k y − J t Q ( λ k ) ) ] , W_t^{\mathrm{H}}(y) := \frac{1}{2} \sum_{k \ge0} p_k \left[ \exp\left(\lambda_k y - \frac{\lambda_k^2}{2} Q_t^{G}\right) + \exp\left(\lambda_k y - J_t^{Q}(\lambda_k)\right) \right], W t H ( y ) := 2 1 k ≥ 0 ∑ p k [ exp ( λ k y − 2 λ k 2 Q t G ) + exp ( λ k y − J t Q ( λ k ) ) ] ,
U t H : = sup { y ∈ R : W t H ( y ) < 1 / α } , R t H : = R 0 + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 / 2 + U t H , R 0 H : = R 0 , U_t^{\mathrm{H}} := \sup\{y \in\mathbb{R} : W_t^{\mathrm{H}}(y) < 1/\alpha\}, \quad R_t^{\mathrm{H}} := R_0 + L \sum_{s=1}^{t} \eta_s^2 \lVert g_s \rVert^2/2 + U_t^{\mathrm{H}}, \quad R_0^{\mathrm{H}} := R_0, U t H := sup { y ∈ R : W t H ( y ) < 1/ α } , R t H := R 0 + L s = 1 ∑ t η s 2 ∥ g s ∥ 2 /2 + U t H , R 0 H := R 0 ,
where Q t G : = σ 2 G 2 ∑ s = 1 t η s 2 Q_t^{G} := \sigma^2 G^2 \sum_{s=1}^{t} \eta_s^2 Q t G := σ 2 G 2 ∑ s = 1 t η s 2 . The following result derives a hybrid envelope that combines the benefits of both the sub-Gaussian discrete mixture, and the betting envelope.
Proposition 3 (Hybrid envelope). Under the assumptions of § 3.2 and ∥ ∇ F ( x ) ∥ ≤ G \lVert\nabla F(x) \rVert\le G ∥ ∇ F ( x )∥ ≤ G , it follows that
P ( Z ~ t , 2 ≤ R t H for all t ≥ 0 ) ≥ 1 − α . \mathbb{P}\left(\widetilde{Z}_{t,2} \le R_t^{\mathrm{H}} \text{ for all } t \ge0\right) \ge1-\alpha. P ( Z t , 2 ≤ R t H for all t ≥ 0 ) ≥ 1 − α .
For a comparison with existing literature, we let α ∈ ( 0 , 2 / e ) \alpha\in(0,2/e) α ∈ ( 0 , 2/ e ) , λ k = e − k / 2 \lambda_k=e^{-k/2} λ k = e − k /2 , p k = 6 / [ π 2 ( k + 1 ) 2 ] p_k=6/[\pi^2(k+1)^2] p k = 6/ [ π 2 ( k + 1 ) 2 ] and denote q ( x ) = max { x , 2 log ( 2 / α ) + 2 } q(x)=\max\{x,2\log(2/\alpha)+2\} q ( x ) = max { x , 2 log ( 2/ α ) + 2 } . These choices enable an application of Corollary 2.4(ii); the corresponding boundary is exactly the one in Corollary 2.6 of Aolaritei and Jordan [ [4 ] . This boundary is henceforth denoted by R ˉ t A J \bar{R}_t^{AJ} R ˉ t A J ; for details, we refer the reader to §9.2. As in § 9.4 , one can show that if R ˉ 0 A J = R 0 \bar{R}_0^{AJ}=R_0 R ˉ 0 A J = R 0 , then,
R t H < R ˉ t A J , t ≥ 1. (21) R_t^{\mathrm{H}} < \bar{R}_t^{AJ}, \quad t \ge1. \tag*{(21)} R t H < R ˉ t A J , t ≥ 1. (21)
Proposition 3, along with (21) is proved in Appendix 12.2. To conclude, § 3.1 and § 3.2 jointly provide a glimpse of the generality of our approach, as we are able to recover, improve and provide alternatives to existing results in the literature. In Appendix §9, we derive many more anytime-valid boundaries under various combinations of assumptions and performance measures, most of which come with no prior precedents in the corresponding set-ups.
Case III: Polyak–Ruppert averaging (strong convexity, Lipschitz gradient)
A weak smoothness assumption such as LS only allows us to control Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2 or Z t , 5 Z_{t,5} Z t , 5 . In order to ascertain convergence, which should lead to decaying envelopes for either Z t , 1 Z_{t,1} Z t , 1 or Z t , 2 Z_{t,2} Z t , 2 , one often needs to pair a growth assumption such as SC or RSI, and a smoothness assumption together. We defer a detailed discussion on different growth and smoothness assumptions to § 10 ; in this section, we consider SC along with LS. Moving beyond the final iterate analysis of § 3.1 , we establish anytime-valid boundaries for the Polyak–Ruppert averaged version. Our motivation for considering the PR-averaged iterates is two-fold. Firstly, averaging the iterates, x ˉ t : = t − 1 ∑ s = 1 t x s \bar{x}_t := t^{-1}\sum_{s=1}^{t}x_s x ˉ t := t − 1 ∑ s = 1 t x s , has been the classical remedy for the sensitivity of the last iterate to the step-size schedule [127 , 115 ] ; with η t ≍ t − β \eta_t \asymp t^{-\beta} η t ≍ t − β , β ∈ ( 1 / 2 , 1 ) \beta\in(1/2,1) β ∈ ( 1/2 , 1 ) , ∥ x ˉ t − x ⋆ ∥ \lVert\bar{x}_t-x^\star\rVert ∥ x ˉ t − x ⋆ ∥ attains the parametric rate t − 1 / 2 t^{-1/2} t − 1/2 , whereas ∥ x t − x ⋆ ∥ \lVert x_t-x^\star\rVert ∥ x t − x ⋆ ∥ is of order t − β / 2 t^{-\beta/2} t − β /2 [102 Theorems 1 and 3] . Secondly, this simple setting allows us to investigate the optimality properties of the different envelopes hitherto proposed. In fact, the combination of SC and LS has been among the most common assumptions in the analysis of SGD, from the classical works of Polyak and Juditsky [ [115 ] , Nemirovski et al. [ [103 ] , Moulines and Bach [ [102 ] to more recent analyses in convergence and inference [53 , 92 , 24 , 139 , 163 ] (Garrigos and Gower 2023). Existing time-uniform guarantees for x ˉ t \bar{x}_t x ˉ t are, however, asymptotic [170 ] .
Subsequently, we follow the same script as above, of first obtaining an optimization module before calling on Theorems 2.3 or 2.5 to provide the anytime-valid boundaries.
Optimization module for PR-averaged SGD under SC and LS
This section is devoted to a derivation of (1) for SGD under SC and LS. Concretely, consider F ∈ C 1 ( R d ) F \in C^1(\mathbb{R}^d) F ∈ C 1 ( R d ) satisfying SC and LS with known constants 0 < μ ≤ L < ∞ 0 < \mu\le L < \infty 0 < μ ≤ L < ∞ , i.e.,
⟨ ∇ F ( x ) − ∇ F ( y ) , x − y ⟩ ≥ μ ∥ x − y ∥ 2 , ∥ ∇ F ( x ) − ∇ F ( y ) ∥ ≤ L ∥ x − y ∥ , x , y ∈ R d , (22) \langle\nabla F(x) - \nabla F(y), x-y \rangle\ge\mu\lVert x-y \rVert^2,\quad\lVert\nabla F(x) - \nabla F(y) \rVert\le L\lVert x-y \rVert,\quad x,y \in\mathbb{R}^d, \tag*{(22)} ⟨ ∇ F ( x ) − ∇ F ( y ) , x − y ⟩ ≥ μ ∥ x − y ∥ 2 , ∥ ∇ F ( x ) − ∇ F ( y )∥ ≤ L ∥ x − y ∥ , x , y ∈ R d , (22)
and x ⋆ x^\star x ⋆ denotes its unique minimizer. We also assume that the gradients ∥ g t ∥ ≤ G \lVert g_t \rVert\le G ∥ g t ∥ ≤ G almost surely. A naive anytime-valid envelope for x ˉ t \bar{x}_t x ˉ t already follows from § 3.1 : on the event of Proposition 1 (under its step-size condition 2 μ η t < 1 2\mu\eta_t < 1 2 μ η t < 1 ), ∥ x ˉ t − x ⋆ ∥ ≤ t − 1 ∑ s ≤ t R s w \lVert\bar{x}_t - x^\star\rVert\le t^{-1}\sum_{s \le t}\sqrt{R_s^w} ∥ x ˉ t − x ⋆ ∥ ≤ t − 1 ∑ s ≤ t R s w for all t ≥ 1 t \ge1 t ≥ 1 . This bound averages error bounds rather than errors, and thereby forfeits the cancellation of the noise across iterations that motivates PR-averaging in the first place. In our analysis, we retain this cancellation by isolating the cumulative noise, which satisfies (1) with a t = 1 a_t = 1 a t = 1 , and by transferring its anytime-valid envelope to x ˉ t \bar{x}_t x ˉ t through an observable linearization of the averaged gradient. The performance measure considered is Z ˉ t = ∥ x ˉ t − x ⋆ ∥ 2 \bar{Z}_t = \lVert\bar{x}_t - x^\star\rVert^2 Z ˉ t = ∥ x ˉ t − x ⋆ ∥ 2 . Maintaining the notations as in § 3.1 , it follows ξ t = ∇ F ( x t − 1 ) − g t \xi_t = \nabla F(x_{t-1}) - g_t ξ t = ∇ F ( x t − 1 ) − g t , so that E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t = 0 E t − 1 ξ t = 0 . An anytime-valid envelope for Z ˉ t \bar{Z}_t Z ˉ t proceeds through a guarantee for ∥ Ξ t ∥ 2 \lVert\Xi_t \rVert^2 ∥ Ξ t ∥ 2 , where Ξ t : = ∑ s = 1 t ξ s \Xi_t := \sum_{s=1}^t \xi_s Ξ t := ∑ s = 1 t ξ s , Ξ 0 = 0 \Xi_0 = 0 Ξ 0 = 0 . To that end, we follow the recipe of § 2 . Since ξ t = ∇ F ( x t − 1 ) − g t \xi_t = \nabla F(x_{t-1}) - g_t ξ t = ∇ F ( x t − 1 ) − g t , direct expansion gives
∥ Ξ t ∥ 2 = ∥ Ξ t − 1 ∥ 2 + ∥ g t ∥ 2 − ∥ ∇ F ( x t − 1 ) ∥ 2 + ⟨ v t , ξ t ⟩ ≤ ∥ Ξ t − 1 ∥ 2 + ∥ g t ∥ 2 + ⟨ v t , ξ t ⟩ , (23) \lVert\Xi_t \rVert^2 = \lVert\Xi_{t-1} \rVert^2 + \lVert g_t \rVert^2 - \lVert\nabla F(x_{t-1}) \rVert^2 + \langle v_t,\xi_t\rangle\le\lVert\Xi_{t-1} \rVert^2 + \lVert g_t \rVert^2 + \langle v_t,\xi_t\rangle, \tag*{(23)} ∥ Ξ t ∥ 2 = ∥ Ξ t − 1 ∥ 2 + ∥ g t ∥ 2 − ∥ ∇ F ( x t − 1 ) ∥ 2 + ⟨ v t , ξ t ⟩ ≤ ∥ Ξ t − 1 ∥ 2 + ∥ g t ∥ 2 + ⟨ v t , ξ t ⟩ , (23)
and v t : = 2 ( Ξ t − 1 + ∇ F ( x t − 1 ) ) v_t := 2(\Xi_{t-1} + \nabla F(x_{t-1})) v t := 2 ( Ξ t − 1 + ∇ F ( x t − 1 )) . This recovers (1) for Z t : = ∥ Ξ t ∥ 2 Z_t := \lVert\Xi_t \rVert^2 Z t := ∥ Ξ t ∥ 2 .
Boundaries for PR-averaged iterates
Having discussed the optimization module for PR-averaged iterates x ˉ t \bar{x}_t x ˉ t , in this section we collect a catalog of different boundaries furnished by Theorems 2.3 and 2.5 .
To that end, observe that ∥ ∇ F ( x t − 1 ) ∥ = ∥ E t − 1 g t ∥ ≤ G \lVert\nabla F(x_{t-1}) \rVert= \lVert\mathbb{E}_{t-1}g_t \rVert\le G ∥ ∇ F ( x t − 1 )∥ = ∥ E t − 1 g t ∥ ≤ G by Jensen’s inequality. Therefore, for a sequence { B t } \{B_t\} { B t } such that ∥ Ξ s ∥ ≤ B s \lVert\Xi_s \rVert\le B_s ∥ Ξ s ∥ ≤ B s , it follows that ∥ v t ∥ ≤ M t : = 2 ( B t − 1 + G ) \lVert v_t \rVert\le M_t := 2(B_{t-1} + G) ∥ v t ∥ ≤ M t := 2 ( B t − 1 + G ) on { ∥ Ξ t − 1 ∥ ≤ B t − 1 } \{\lVert\Xi_{t-1} \rVert\le B_{t-1}\} {∥ Ξ t − 1 ∥ ≤ B t − 1 } . To streamline notations, U t = U t b U_t = U_t^b U t = U t b will refer to one of the following cases: b = N M b = \mathrm{NM} b = NM for the Gaussian mixture boundary in Corollary 2.4(i); b = G S b = \mathrm{GS} b = GS refers to the sub-Gaussian stitching boundary, i.e. (5) with ψ = ψ N \psi= \psi_N ψ = ψ N (or its upper bound in Corollary 2.4(ii)); similarly, b = Γ S b = \mathrm{\Gamma S} b = ΓS denotes the sub-Gamma stitching boundary, and b = B e t b = \mathrm{Bet} b = Bet denotes the betting boundary (7) with H t ≡ 0 H_t \equiv0 H t ≡ 0 . In particular, for b ≠ N M b \ne\mathrm{NM} b = NM , we use the choices of ( λ k , p k ) (\lambda_k,p_k) ( λ k , p k ) in Corollary 2.4.
Theorem 3.1 (Anytime-valid envelopes for the averaged iterate). Grant (22) , and fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and b ∈ { N M , G S , Γ S , B e t } b \in\{\mathrm{NM}, \mathrm{GS}, \mathrm{\Gamma S}, \mathrm{Bet}\} b ∈ { NM , GS , ΓS , Bet } . Additionally, assume that
∥ ∇ 2 F ( x ) − ∇ 2 F ( y ) ∥ o p ≤ L H ∥ x − y ∥ , L H > 0 , x , y ∈ R d . (24) \lVert\nabla^2 F(x) - \nabla^2 F(y) \rVert_{\mathrm{op}} \le L_H\lVert x-y\rVert,\quad L_H > 0,\quad x,y \in\mathbb{R}^d. \tag*{(24)} ∥ ∇ 2 F ( x ) − ∇ 2 F ( y ) ∥ op ≤ L H ∥ x − y ∥ , L H > 0 , x , y ∈ R d . (24) Put B 0 : = 0 B_0 := 0 B 0 := 0 and, for t ≥ 1 t \ge1 t ≥ 1 , define recursively
M t : = 2 ( B t − 1 + G ) , B t : = ( ∑ s = 1 t ∥ g s ∥ 2 + U t ) 1 / 2 , M_t := 2(B_{t-1} + G),\quad B_t := \left(\sum_{s=1}^t \lVert g_s \rVert^2 + U_t\right)^{1/2}, M t := 2 ( B t − 1 + G ) , B t := ( s = 1 ∑ t ∥ g s ∥ 2 + U t ) 1/2 ,
where U t = U t b U_t = U_t^b U t = U t b . Define D t , j = t − 1 ∑ s = 1 t ∥ x s − 1 − x ~ t ∥ D_{t,j} = t^{-1}\sum_{s=1}^{t}\lVert x_{s-1} - \tilde{x}_t\rVert D t , j = t − 1 ∑ s = 1 t ∥ x s − 1 − x ~ t ∥ , j ∈ { 1 , 2 } j \in\{1,2\} j ∈ { 1 , 2 } , where x ~ t : = t − 1 ∑ s = 1 t x s − 1 \tilde{x}_t := t^{-1}\sum_{s=1}^{t}x_{s-1} x ~ t := t − 1 ∑ s = 1 t x s − 1 . Finally, let R t P R R_t^{\mathrm{PR}} R t PR be given by
R t P R : = [ min { G μ , ∥ ∑ s = 1 t g s ∥ + B t μ t + min { L D t , 1 , L H D t , 2 / 2 } μ + ∥ x t − x 0 ∥ t } ] 2 , t ≥ 1. (25) R_t^{\mathrm{PR}} := \left[\min\left\{\frac{G}{\mu},\frac{\left\lVert\sum_{s=1}^{t}g_s\right\rVert+B_t}{\mu t}+\frac{\min\{LD_{t,1},L_HD_{t,2}/2\}}{\mu}+\frac{\lVert x_t-x_0\rVert}{t}\right\}\right]^2,\quad t\ge1. \tag*{(25)} R t PR := min ⎩ ⎨ ⎧ μ G , μ t ∑ s = 1 t g s + B t + μ min { L D t , 1 , L H D t , 2 /2 } + t ∥ x t − x 0 ∥ ⎭ ⎬ ⎫ 2 , t ≥ 1. (25)
Then it follows that P ( Z ‾ t ≤ R t P R for all t ≥ 1 ) ≥ 1 − α \mathbb{P}\left(\overline{Z}_t\le R_t^{\mathrm{PR}}\text{ for all }t\ge1\right)\ge1-\alpha P ( Z t ≤ R t PR for all t ≥ 1 ) ≥ 1 − α . Moreover, along the same trajectory, R t P R , B e t ≤ R t P R , Γ S R_t^{\mathrm{PR},\mathrm{Bet}}\le R_t^{\mathrm{PR},\mathrm{\Gamma S}} R t PR , Bet ≤ R t PR , ΓS for all t ≥ 1 t\ge1 t ≥ 1 .
Theorem 3.1 is proved in Appendix 12.3. The proof proceeds via transferring the problem of deriving a time-uniform boundary for Z ‾ t \overline{Z}_t Z t to deriving a time-uniform boundary for ∥ Ξ t ∥ 2 \lVert\Xi_t\rVert^2 ∥ Ξ t ∥ 2 .
Beyond constructing new anytime-valid boundaries, and recovering and sharpening existing ones, a key question has so far remained open: are any of these envelopes optimal in an asymptotic sense? While the plethora of assumptions and performance measures treated in this paper precludes a case-by-case optimality analysis within the confines of time and space, the ubiquitous setting of SC and LS offers a natural starting point.
Optimality properties of different boundaries
In this section, we consider the power law step-size schedule η t ≍ t − β \eta_t \asymp t^{-\beta} η t ≍ t − β , β ∈ ( 1 / 2 , 1 ) \beta\in(1/2,1) β ∈ ( 1/2 , 1 ) , and explore the asymptotic behavior of each of the mixing, stitching and betting constructions considered in §§ 3.3.2 .
In particular, for a fixed t t t , we are interested in the O ( ⋅ ) O(\cdot) O ( ⋅ ) rate of R t b R_t^b R t b for different choices of b b b . We note that the intuition that different boundaries may have different optimality properties is also discussed in Howard et al. [ [59 ] ; in particular, if the mixture distribution has a positive and continuous density around the origin (which includes the Gaussian mixture model), they show that the mixture boundary is supposed to behave logarithmically (x log x \sqrt{x\log x} x log x ), instead of the sharper iterated logarithmic rate of x log log x \sqrt{x\log\log x} x log log x (achieved by, eg. stitching). However, their results are derived for the sum of sub-ψ \psi ψ random variables, which is not directly applicable in our somewhat different setting of PR-averaged SGD iterates. This begs the question of whether the Gaussian mixture density indeed has sub-optimal boundaries over the other options for this case. We conclusively answer this question in Theorem 3.2.
Theorem 3.2 (Rates of the averaged-iterate envelopes). Put h N M ( t ) : = log ( e + t ) h_{\mathrm{NM}}(t):=\log(e+t) h NM ( t ) := log ( e + t ) and h b ( t ) : = 1 + log log ( e + t ) h_b(t):=1+\log\log(e+t) h b ( t ) := 1 + log log ( e + t ) for b ∈ { G S , Γ S , B e t } b\in\{\mathrm{GS},\mathrm{\Gamma S},\mathrm{Bet}\} b ∈ { GS , ΓS , Bet } . Grant the conditions of Theorem 3.1 with η t = η ∘ ( t + t 0 ) − β \eta_t=\eta_\circ(t+t_0)^{-\beta} η t = η ∘ ( t + t 0 ) − β , where η ∘ > 0 \eta_\circ>0 η ∘ > 0 , t 0 ≥ 0 t_0\ge0 t 0 ≥ 0 and β ∈ ( 1 / 2 , 1 ) \beta\in(1/2,1) β ∈ ( 1/2 , 1 ) . Then there is a constant C C C , depending only on ( α , G , μ , L , L H , η ∘ , t 0 , β ) (\alpha,G,\mu,L,L_H,\eta_\circ,t_0,\beta) ( α , G , μ , L , L H , η ∘ , t 0 , β ) , and additionally on ρ \rho ρ if b = N M b=\mathrm{NM} b = NM such that, for all t ≥ 1 t\ge1 t ≥ 1 , E R t P R ≤ C h b ( t ) / t \mathbb{E}R_t^{\mathrm{PR}}\le Ch_b(t)/t E R t PR ≤ C h b ( t ) / t .
Theorem 3.2 is proved in Appendix 12.3. It shows that the stitching and betting envelopes achieve iterated logarithmic rate, while the Gaussian-mixture envelope is sub-optimal, and of the order log t / t \log t/t log t / t . Intuitively, as the accumulated variance v v v increases, the useful values of λ \lambda λ approach zero, but a fixed Gaussian mixing distribution assigns exponentially decreasing mass to successive geometric scales of λ \lambda λ . In fact, in light of [59 Proposition 2] , it can be shown that any mixing distribution F F F which is continuous with positive density at or around the origin, will have the log t / t \log t/t log t / t rate with power law step-sizes. In contrast, our stitching weights p k ≍ ( k + 1 ) − 2 p_k\asymp(k+1)^{-2} p k ≍ ( k + 1 ) − 2 allocate the error budget polynomially across these scales.
Moreover, Theorem 3.2 also highlights that modulo the logarithmic penalties coming from ensuring validity over all t ≥ 1 t\ge1 t ≥ 1 , our envelopes achieve the known optimal rates in a fixed t t t -sense. While the result is derived under a specific set of assumptions for SGD, we expect such optimality to hold across the diverse settings and corresponding envelopes considered in this paper. To summarize, beyond simply furnishing time-uniform boundaries, our results are tight in an asymptotic sense.
Moving on, in §4 we move beyond SGD to analyze three separate iterative stochastic algorithms, and identify how the tools developed in §2 can be employed to provide anytime-valid boundaries.
Applications beyond SGD
We now apply the recipe of Figure 1 .b to three iterative algorithms beyond SGD: Oja’s algorithm (§ 4.1 ), temporal difference (TD) learning (§ 4.2 ), and Bures - Wasserstein SGD for Gaussian variational inference (§ 4.3 ). In the following, we primarily focus on completing the optimization module , deriving (1) , so that Theorems 2.3-2.5 can be employed to derive time-uniform boundaries. The resulting boundaries provide the first instances of data-dependent, anytime-valid boundaries, for each of the three applications.
Throughout, step sizes η t > 0 \eta_t > 0 η t > 0 are predictable and observable. In addition, U t U_t U t will be a generic placeholder for any one of the observable envelopes U α m i x \mathcal{U}^{\mathrm{mix}}_\alpha U α mix , U α d m \mathcal{U}^{\mathrm{dm}}_\alpha U α dm , U α S T \mathcal{U}^{\mathrm{ST}}_\alpha U α ST , or U α b e t \mathcal{U}^{\mathrm{bet}}_\alpha U α bet from Theorems 2.3 and 2.5. The realized boundary for the considered performance measure, corresponding to U α ( t ; M , ν ) U_\alpha(t; M, \nu) U α ( t ; M , ν ) , will be denoted R t R_t R t .
Oja’s algorithm
As a first illustration beyond SGD, we consider the online estimation of a leading principal component. Concretely, for a sequence of vectors { X n } n ≥ 1 ∈ R d \{X_n\}_{n\geq1} \in\mathbb{R}^d { X n } n ≥ 1 ∈ R d , let u ⋆ u^\star u ⋆ be the leading unit eigen-vector of Σ = E [ X t X t T ] \Sigma= \mathbb{E}[X_tX_t^\mathsf{T}] Σ = E [ X t X t T ] ; when d d d is large, storing the stream, or even maintaining the sample covariance matrix, is computationally prohibitive, and one instead seeks an online estimate of u ⋆ u^\star u ⋆ . Oja’s algorithm [106 , 107 , 74 ] constitutes the canonical procedure for this task. For a fixed iteration t t t , the asymptotic behavior of Oja’s algorithm is well-understood [7 , 133 , 62 , 95 , 77 ] . Beyond convergence analyses, a key bottleneck to the development of anytime-valid boundaries for Oja’s algorithm, has been that the random matrix product structure ∏ s ≤ t ( I + η s X s X s T ) u 0 \prod_{s\leq t}(I+\eta_sX_sX_s^\mathsf{T})u_0 ∏ s ≤ t ( I + η s X s X s T ) u 0 ; products, unlike sums, do not readily furnish an exponential supermartingale. To the best of our knowledge, the first time-uniform guarantee for Oja’s algorithm appeared in Pham et al. [ [112 ] , who bypass the product structure through a quantitative Robbins–Siegmund argument on the sine-squared error. While their envelope attains the optimal O ( log log t / t ) O(\log\log t/t) O ( log log t / t ) width, it suffers from a few limitations from a practitioner’s perspective. It (i) is deterministic, (ii) is tied to a particular deterministic schedule η t ≍ 1 / t \eta_t \asymp1/t η t ≍ 1/ t , and (iii) the analysis is confined to bounded observations.
Our recipe overcomes each of these obstacles via a direct derivation of a sharp recursive inequality (1) , and employing the results Theorem 2.3-2.5. In particular, assuming bounded observations X t X_t X t yields normal-mixture, stitching and betting envelopes, whereas the self-normalized construction of Table 2 requires only a known bound on the conditional fourth moment, and thereby covers Gaussian and other unbounded data. Therefore, through our generalized approach we are able to significantly relax the assumptions of Pham et al. [ [112 ] . Importantly, the resulting envelopes are data-dependent, valid for any predictable step sizes, require only E t − 1 [ X t X t T ] = Σ \mathbb{E}_{t-1}[X_tX_t^\mathsf{T}] = \Sigma E t − 1 [ X t X t T ] = Σ rather than independence. These developments represent, to the best of our knowledge, the first , data-dependent anytime-valid guarantees for streaming PCA, while facilitating significant improvements and relaxations over the corresponding guarantees of Pham et al. [ [112 ] .
Set-up and optimization module for Oja’s algorithm
Let X t ∈ R d X_t \in\mathbb{R}^d X t ∈ R d , d ≥ 2 d \ge2 d ≥ 2 , be F t \mathcal{F}_t F t -measurable with E t − 1 [ X t X t T ] = Σ \mathbb{E}_{t-1}[X_tX_t^{\mathsf{T}}] = \Sigma E t − 1 [ X t X t T ] = Σ for a fixed Σ ≥ 0 \Sigma\ge0 Σ ≥ 0 with eigenvalues λ 1 ( Σ ) ≥ ⋯ ≥ λ d ( Σ ) \lambda_1(\Sigma) \ge\cdots\ge\lambda_d(\Sigma) λ 1 ( Σ ) ≥ ⋯ ≥ λ d ( Σ ) . Let u ⋆ u^\star u ⋆ be a unit leading eigenvector of Σ \Sigma Σ , and suppose a known δ > 0 \delta> 0 δ > 0 satisfies λ 1 ( Σ ) − λ 2 ( Σ ) ≥ δ \lambda_1(\Sigma) - \lambda_2(\Sigma) \ge\delta λ 1 ( Σ ) − λ 2 ( Σ ) ≥ δ . With Σ ^ t : = X t X t T \widehat{\Sigma}_t := X_tX_t^{\mathsf{T}} Σ t := X t X t T and u 0 ∈ S d − 1 u_0 \in\mathbb{S}^{d-1} u 0 ∈ S d − 1 , Oja’s algorithm reads
u t = ( I + η t Σ ^ t ) u t − 1 ∥ ( I + η t Σ ^ t ) u t − 1 ∥ . u_t = \frac{(I+\eta_t\widehat{\Sigma}_t)u_{t-1}}{\lVert(I+\eta_t\widehat{\Sigma}_t)u_{t-1}\rVert}. u t = ∥( I + η t Σ t ) u t − 1 ∥ ( I + η t Σ t ) u t − 1 .
which is well defined since Σ ^ t ≥ 0 \widehat{\Sigma}_t \ge0 Σ t ≥ 0 . Note that the noise variable can be recognized as ξ t : = vec ( Σ ^ t − Σ ) \xi_t := \operatorname{vec}(\widehat{\Sigma}_t-\Sigma) ξ t := vec ( Σ t − Σ ) . We consider Z t : = 1 − ⟨ u t , u ⋆ ⟩ 2 ∈ [ 0 , 1 ] Z_t := 1-\langle u_t,u^\star\rangle^2 \in[0,1] Z t := 1 − ⟨ u t , u ⋆ ⟩ 2 ∈ [ 0 , 1 ] as the performance measure. For independent observations with ∥ X t ∥ ≤ B \lVert X_t\rVert\le B ∥ X t ∥ ≤ B , this is the measure analyzed by Pham et al. [ [112 ] , whose Proposition 4 and Theorem 3 furnish a scalar recursion and a warm-started, deterministic time-uniform bound. In the following, we derive a sharper recursion that produces (1) for Oja’s algorithm.
Proposition 4. Grant the notations and conditions in 4.1.1. For every t ≥ 1 t \ge1 t ≥ 1 , it almost surely holds that
Z t ≤ ( 1 − 2 δ η t ( 1 − Z t − 1 ) ) Z t − 1 + 3 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 + ⟨ η t vec H ( u t − 1 ) , ξ t ⟩ (26) Z_t \le(1-2\delta\eta_t(1-Z_{t-1}))Z_{t-1}+3\eta_t^2\lVert\widehat{\Sigma}_tu_{t-1}\rVert^2+\langle\eta_t\operatorname{vec}\mathcal{H}(u_{t-1}),\xi_t\rangle \tag*{(26)} Z t ≤ ( 1 − 2 δ η t ( 1 − Z t − 1 )) Z t − 1 + 3 η t 2 ∥ Σ t u t − 1 ∥ 2 + ⟨ η t vec H ( u t − 1 ) , ξ t ⟩ (26)
where H ( u ) : = 2 ⟨ u , u ⋆ ⟩ u u T − ⟨ u , u ⋆ ⟩ ( u u ⋆ T + u ⋆ u T ) \mathcal{H}(u) := 2\langle u,u^\star\rangle uu^{\mathsf{T}}-\langle u,u^\star\rangle(uu^{\star\mathsf{T}}+u^\star u^{\mathsf{T}}) H ( u ) := 2 ⟨ u , u ⋆ ⟩ u u T − ⟨ u , u ⋆ ⟩ ( u u ⋆ T + u ⋆ u T ) . Consequently, for any predictable r t − 1 ∈ [ 0 , 1 ] r_{t-1} \in[0,1] r t − 1 ∈ [ 0 , 1 ] and any predictable a t ≥ 1 − 2 δ η t ( 1 − r t − 1 ) a_t \ge1-2\delta\eta_t(1-r_{t-1}) a t ≥ 1 − 2 δ η t ( 1 − r t − 1 ) , (1) holds almost surely on { Z t − 1 ≤ r t − 1 } \{Z_{t-1} \le r_{t-1}\} { Z t − 1 ≤ r t − 1 } with
b t : = 3 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 , v t : = η t vec H ( u t − 1 ) . b_t := 3\eta_t^2\lVert\widehat{\Sigma}_tu_{t-1}\rVert^2,\qquad v_t := \eta_t\operatorname{vec}\mathcal{H}(u_{t-1}). b t := 3 η t 2 ∥ Σ t u t − 1 ∥ 2 , v t := η t vec H ( u t − 1 ) .
Proposition 4 is proved in Appendix § 16.1 . Regarding the choice of a t a_t a t , one can simply choose a t = exp ( − 2 δ η t ( 1 − r t − 1 ) ) a_t=\exp(-2\delta\eta_t(1-r_{t-1})) a t = exp ( − 2 δ η t ( 1 − r t − 1 )) or a t = 1 − 2 δ η t ( 1 − r t − 1 ) a_t=1-2\delta\eta_t(1-r_{t-1}) a t = 1 − 2 δ η t ( 1 − r t − 1 ) , which is sharper whenever it is positive. The recursion in Proposition 4 crucially differs from the corresponding recursion derived in Proposition 4 of Pham et al. [ [112 ] in the coefficient of the second-order term η t 2 \eta_t^2 η t 2 . While Pham et al. [ [112 ] includes the global control 5 B 4 + 2 η t B 6 5B^4+2\eta_tB^6 5 B 4 + 2 η t B 6 under the assumption ∥ X t ∥ ≤ B \lVert X_t\rVert\le B ∥ X t ∥ ≤ B , Proposition 4 replaces this by the much sharper, data-dependent control 3 ∥ Σ ^ t u t − 1 ∥ 2 = 3 ∥ X t ∥ 2 ⟨ X t , u t − 1 ⟩ 2 3\lVert\widehat{\Sigma}_tu_{t-1}\rVert^2=3\lVert X_t\rVert^2\langle X_t,u_{t-1}\rangle^2 3 ∥ Σ t u t − 1 ∥ 2 = 3 ∥ X t ∥ 2 ⟨ X t , u t − 1 ⟩ 2 . In fact, under the bounded observations assumption, it trivially follows that 3 ∥ Σ ^ t u t − 1 ∥ 2 ≤ 3 B 4 < 5 B 4 + 2 η t B 6 3\lVert\widehat{\Sigma}_tu_{t-1}\rVert^2\le3B^4<5B^4+2\eta_tB^6 3 ∥ Σ t u t − 1 ∥ 2 ≤ 3 B 4 < 5 B 4 + 2 η t B 6 .
Boundaries for Oja’s algorithm
The sharpened recursion (26) directly leads to observable boundaries via Theorem 2.3 upon a verification of the conditions therein. To that end, observe that ∥ H ( u ) ∥ 2 = 2 ⟨ u , u ⋆ ⟩ 2 ( 1 − ⟨ u , u ⋆ ⟩ 2 ) ≤ 2 ( 1 − ⟨ u , u ⋆ ⟩ 2 ) \lVert\mathcal{H}(u)\rVert^2=2\langle u,u^\star\rangle^2(1-\langle u,u^\star\rangle^2)\le2(1-\langle u,u^\star\rangle^2) ∥ H ( u ) ∥ 2 = 2 ⟨ u , u ⋆ ⟩ 2 ( 1 − ⟨ u , u ⋆ ⟩ 2 ) ≤ 2 ( 1 − ⟨ u , u ⋆ ⟩ 2 ) . Hence, on { Z t − 1 ≤ R t − 1 } \{Z_{t-1}\le R_{t-1}\} { Z t − 1 ≤ R t − 1 } ,
∥ v t ∥ A t ≤ M t : = η t 2 R t − 1 A t . \frac{\lVert v_t\rVert}{A_t}\le M_t:=\frac{\eta_t\sqrt{2R_{t-1}}}{A_t}. A t ∥ v t ∥ ≤ M t := A t η t 2 R t − 1 .
Since (1) admits predictable contraction coefficients, we feed the preceding envelope back into a t a_t a t through Lemma 2.1 , so that the time-uniform envelope sharpens its own contraction as the run proceeds. For the noise, either a sub-ψ \psi ψ proxy may be used, or, under bounded observations ∥ X t ∥ ≤ B \lVert X_t\rVert\le B ∥ X t ∥ ≤ B , the product-betting boundary: in that case vec Σ ^ t \operatorname{vec}\widehat{\Sigma}_t vec Σ t is observable, ∥ vec Σ ^ t ∥ = ∥ X t ∥ 2 ≤ B 2 \lVert\operatorname{vec}\widehat{\Sigma}_t\rVert=\lVert X_t\rVert^2\le B^2 ∥ vec Σ t ∥ = ∥ X t ∥ 2 ≤ B 2 and ξ t = vec Σ ^ t − E t − 1 vec Σ ^ t \xi_t=\operatorname{vec}\widehat{\Sigma}_t-\mathbb{E}_{t-1}\operatorname{vec}\widehat{\Sigma}_t ξ t = vec Σ t − E t − 1 vec Σ t , which is precisely the setting of Corollary 7.6 with c = B 2 c=B^2 c = B 2 . A large class of anytime-valid envelopes follow suit. For the reader’s convenience, we list a few concrete envelopes in the Appendix § 13.1 .
Temporal difference learning
Reinforcement learning furnishes two of the most widely deployed stochastic approximation schemes: temporal difference (TD) learning [141 ] and Q-learning Watkins and Dayan [ [157 ] . They look at two different aspects of the same problem: while TD learning evaluates a learned policy, Q-learning learns an optimal policy. Here, we discuss the derivation of time-uniform boundaries for TD learning; Appendix 10.4 discusses the analogous derivation for Q-learning.
TD learning evaluates a fixed policy by solving a projected Bellman equation from sampled transitions. Asymptotic convergence of TD learning is classical, eg. the analysis of Tsitsiklis and Van Roy [ [147 ] for TD with linear approximation and the ODE method of Borkar and Meyn [ [17 ] . For TD learning with linear value approximation, finite-sample theory began with Dalal et al. [ [33 ] , Lakshminarayanan and Szepesvári [ [81 ] , and was extended to high-probability bounds [101 , 71 , 88 , 41 , 42 ] as well as asymptotic inference [128 , 169 , 168 , 172 ] . Crucially, all of these guarantees are stated at a fixed, prespecified iteration; Zeng et al. [ [172 ] themselves note that optional stopping and confidence sequences require a different inferential framework. The guarantees that do hold simultaneously over iterations are mainly of the type: with some choice of step-sizes, every iterate after a burn-in N ( ϵ , δ ) N(\epsilon,\delta) N ( ϵ , δ ) lies in an ϵ \epsilon ϵ -ball around the TD fixed point with probability at least 1 − δ 1-\delta 1 − δ [33 Theorem 3.5] . More broadly, anytime-valid inference in sequential decision making has been developed for off-policy evaluation in contextual bandits [66 , 161 ] , where importance-weighted estimators have an explicit martingale structure. However, the iterates of TD-learning obey a contraction-plus-noise recursion around an unknown fixed point, to which such constructions do not directly apply. To the best of our knowledge, no data-dependent anytime-valid envelopes are available for TD learning before this work.
We again play the familiar game of reducing this iterative algorithm to (1) , and employing Theorems 2.3 -2.5 and Lemma 2.1 . For TD learning, the positive-definiteness of the mean dynamics [11 Lemma 3] yields the contraction directly (Proposition 5). The resulting envelopes are data-dependent, valid for any predictable step sizes, and require no burn-in. Additionally, the envelopes transfer simultaneously to the error in value function V V V , separated from the bias or the approximation error of the linear architecture (Theorem 4.1 ).
Set-up and optimization module for TD learning
This section discusses the formal set-up of TD learning, and goes on to derive the key recursion (1) for TD learning. Consider a finite discounted Markov decision process (MDP) [10 , 142 ] M = ( S , A , P , R , γ ) \mathcal{M}=(\mathcal{S},\mathcal{A},P,\mathcal{R},\gamma) M = ( S , A , P , R , γ ) , where S \mathcal{S} S and A \mathcal{A} A denote the state space of the environment and the action space available to the agent, both assumed for simplicity to be finite, P : S × A → P ( S ) P:\mathcal{S}\times\mathcal{A}\to\mathcal{P}(\mathcal{S}) P : S × A → P ( S ) is the transition kernel, R : S × A → P ( [ − r max , r max ] ) \mathcal{R}:\mathcal{S}\times\mathcal{A}\to\mathcal{P}([-r_{\max},r_{\max}]) R : S × A → P ([ − r m a x , r m a x ]) is the reward law with mean r ˉ ( s , a ) \bar{r}(s,a) r ˉ ( s , a ) , and γ ∈ [ 0 , 1 ) \gamma\in[0,1) γ ∈ [ 0 , 1 ) is the discount factor. For a known, fixed policy π : S → P ( A ) \pi:\mathcal{S}\to\mathcal{P}(\mathcal{A}) π : S → P ( A ) , consider the Markov chain on S \mathcal{S} S with transition kernel and mean reward
P π ( s , ⋅ ) : = ∑ a ∈ A π ( a ∣ s ) P ( ⋅ ∣ s , a ) , r π ( s ) : = ∑ a ∈ A π ( a ∣ s ) r ˉ ( s , a ) , P_{\pi}(s,\cdot):=\sum_{a\in\mathcal{A}}\pi(a\mid s)P(\cdot\mid s,a),\quad r_{\pi}(s):=\sum_{a\in\mathcal{A}}\pi(a\mid s)\bar{r}(s,a), P π ( s , ⋅ ) := a ∈ A ∑ π ( a ∣ s ) P ( ⋅ ∣ s , a ) , r π ( s ) := a ∈ A ∑ π ( a ∣ s ) r ˉ ( s , a ) ,
and we let d π d_{\pi} d π denote a stationary distribution of P π P_{\pi} P π , i.e., d π P π = d π d_{\pi}P_{\pi}=d_{\pi} d π P π = d π .
Following the set-up of Dalal et al. [ [33 ] , Wu et al. [ [169 ] , at each iteration, independently of F t − 1 \mathcal{F}_{t-1} F t − 1 and across iterations, one draws S t ∼ d π S_t\sim d_{\pi} S t ∼ d π , A t ∼ π ( ⋅ ∣ S t ) A_t\sim\pi(\cdot\mid S_t) A t ∼ π ( ⋅ ∣ S t ) , r t ∼ R ( ⋅ ∣ S t , A t ) r_t\sim\mathcal{R}(\cdot\mid S_t,A_t) r t ∼ R ( ⋅ ∣ S t , A t ) and S t ′ ∼ P ( ⋅ ∣ S t , A t ) S'_t\sim P(\cdot\mid S_t,A_t) S t ′ ∼ P ( ⋅ ∣ S t , A t ) , and only the triple ( S t , r t , S t ′ ) (S_t,r_t,S'_t) ( S t , r t , S t ′ ) is used by the algorithm. In particular, S t ′ ∣ S t ∼ P π ( S t , ⋅ ) S'_t\mid S_t\sim P_{\pi}(S_t,\cdot) S t ′ ∣ S t ∼ P π ( S t , ⋅ ) , E [ r t ∣ S t ] = r π ( S t ) \mathbb{E}[r_t\mid S_t]=r_{\pi}(S_t) E [ r t ∣ S t ] = r π ( S t ) and ∣ r t ∣ ≤ r max |r_t|\le r_{\max} ∣ r t ∣ ≤ r m a x . The value function of π \pi π , V π ( s ) : = E [ ∑ k ≥ 0 γ k r k ∣ S 0 = s ] V^{\pi}(s):=\mathbb{E}[\sum_{k\geq0}\gamma^k r_k\mid S_0=s] V π ( s ) := E [ ∑ k ≥ 0 γ k r k ∣ S 0 = s ] with actions A k ∼ π ( ⋅ ∣ S k ) A_k\sim\pi(\cdot\mid S_k) A k ∼ π ( ⋅ ∣ S k ) , is the unique solution of the Bellman equation V π = r π + γ P π V π V^{\pi}=r_{\pi}+\gamma P_{\pi}V^{\pi} V π = r π + γ P π V π . The statistical goal is to compute V π V^{\pi} V π .
In practice, it is computationally inconvenient to compute V π V^{\pi} V π directly due to the usually prohibitively large size of the state space S \mathcal{S} S . To mitigate this, one often resorts to a feature map ϕ : S → R d \phi:\mathcal{S}\to\mathbb{R}^{d} ϕ : S → R d satisfying
sup s ∥ ϕ ( s ) ∥ ≤ 1 , C : = E S ∼ d π [ ϕ ( S ) ϕ ( S ) T ] ⪰ c 0 I \sup_{s}\|\phi(s)\|\le1,\quad C:=\mathbb{E}_{S\sim d_{\pi}}[\phi(S)\phi(S)^{\mathsf{T}}]\succeq c_{0}I s sup ∥ ϕ ( s ) ∥ ≤ 1 , C := E S ∼ d π [ ϕ ( S ) ϕ ( S ) T ] ⪰ c 0 I
for a known c 0 > 0 c_{0}>0 c 0 > 0 . Denote V θ ( s ) : = ϕ ( s ) T θ V_{\theta}(s):=\phi(s)^{\mathsf{T}}\theta V θ ( s ) := ϕ ( s ) T θ . The goal of the temporal difference learning is to obtain an accurate approximation of V π V^{\pi} V π via learning θ ⋆ ∈ arg min θ ∥ V θ − V π ∥ d π \theta^{\star}\in\operatorname*{arg\,min}_{\theta}\|V_{\theta}-V^{\pi}\|_{d_{\pi}} θ ⋆ ∈ arg min θ ∥ V θ − V π ∥ d π , where for a measure μ \mu μ , ∥ f ∥ μ : = ( E X ∼ μ [ f ( X ) 2 ] ) 1 / 2 \|f\|_{\mu}:=(\mathbb{E}_{X\sim\mu}[f(X)^{2}])^{1/2} ∥ f ∥ μ := ( E X ∼ μ [ f ( X ) 2 ] ) 1/2 denotes the L 2 ( μ ) L_{2}(\mu) L 2 ( μ ) norm. Since V θ V_{\theta} V θ is a linear function of θ \theta θ , this is also known as the linear value approximation. TD learning proceeds via the recursion θ t = θ t − 1 − η t g t \theta_{t}=\theta_{t-1}-\eta_{t}g_{t} θ t = θ t − 1 − η t g t , where,
g t : = ϕ ( S t ) [ ( ϕ ( S t ) − γ ϕ ( S t ′ ) ) T θ t − 1 − r t ] . g_{t}:=\phi(S_{t})[(\phi(S_{t})-\gamma\phi(S_{t}^{\prime}))^{\mathsf{T}}\theta_{t-1}-r_{t}]. g t := ϕ ( S t ) [( ϕ ( S t ) − γ ϕ ( S t ′ ) ) T θ t − 1 − r t ] .
To identify the noise sequence ξ t \xi_{t} ξ t in the TD recursion, we introduce a few more notations. Define
A π : = E [ ϕ ( S ) ( ϕ ( S ) − γ ϕ ( S ′ ) ) T ] , and b π : = E [ r ϕ ( S ) ] . A_{\pi}:=\mathbb{E}[\phi(S)(\phi(S)-\gamma\phi(S^{\prime}))^{\mathsf{T}}],\quad\text{and}\quad b_{\pi}:=\mathbb{E}[r\phi(S)]. A π := E [ ϕ ( S ) ( ϕ ( S ) − γ ϕ ( S ′ ) ) T ] , and b π := E [ r ϕ ( S )] .
Let κ > 0 \kappa>0 κ > 0 be such that e T A π e ≥ κ ∥ e ∥ 2 e^{\mathsf{T}}A_{\pi}e\ge\kappa\|e\|^{2} e T A π e ≥ κ ∥ e ∥ 2 ; for example, Lemma 3 in Bhandari et al. [ [11 ] yields the choice κ = ( 1 − γ ) c 0 \kappa=(1-\gamma)c_{0} κ = ( 1 − γ ) c 0 , although sharper choices exist. Subsequently, to simplify computation, we assume θ ⋆ = A π − 1 b π \theta^{\star}=A_{\pi}^{-1}b_{\pi} θ ⋆ = A π − 1 b π , so that V θ ⋆ = V π V_{\theta^{\star}}=V^{\pi} V θ ⋆ = V π . The noise variable can be recognized as
ξ t : = E t − 1 g t − g t = A π ( θ t − 1 − θ ⋆ ) − g t , (27) \xi_{t}:=\mathbb{E}_{t-1}g_{t}-g_{t}=A_{\pi}(\theta_{t-1}-\theta^{\star})-g_{t}, \tag*{(27)} ξ t := E t − 1 g t − g t = A π ( θ t − 1 − θ ⋆ ) − g t , (27)
and ∥ g t ∥ ≤ ( 1 + γ ) ∥ θ t − 1 ∥ + r max \|g_{t}\|\le(1+\gamma)\|\theta_{t-1}\|+r_{\max} ∥ g t ∥ ≤ ( 1 + γ ) ∥ θ t − 1 ∥ + r m a x . We consider the squared parameter error Z t : = ∥ θ t − θ ⋆ ∥ 2 Z_{t}:=\|\theta_{t}-\theta^{\star}\|^{2} Z t := ∥ θ t − θ ⋆ ∥ 2 as the performance measure. In the following, we derive the corresponding version of (1) .
Proposition 5. With the notation and conditions of § 4.2.1 , for every t ≥ 1 t\ge1 t ≥ 1 , it almost surely holds that
Z t ≤ ( 1 − 2 κ η t ) Z t − 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( θ t − 1 − θ ⋆ ) , ξ t ⟩ . (28) Z_{t}\le(1-2\kappa\eta_{t})Z_{t-1}+\eta_{t}^{2}\|g_{t}\|^{2}+\langle2\eta_{t}(\theta_{t-1}-\theta^{\star}),\xi_{t}\rangle. \tag*{(28)} Z t ≤ ( 1 − 2 κ η t ) Z t − 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( θ t − 1 − θ ⋆ ) , ξ t ⟩ . (28)
Proposition 5 is proved in Appendix 13. Equation (28) can be considered a sharpened counterpart of the expected drift underlying the analysis of Bhandari et al. [ [11 ] . Indeed, the last term vanishes upon taking the conditional expectation E t − 1 \mathbb{E}_{t-1} E t − 1 , whereas we retain it together with the realized, observable second-order term η t 2 ∥ g t ∥ 2 \eta_{t}^{2}\|g_{t}\|^{2} η t 2 ∥ g t ∥ 2 .
Boundaries for TD-learning
Proposition 5 drives the application of Lemma 2.1 to provide sharp, data-dependent envelopes. A general boundary is summarized in the following result.
Theorem 4.1. With ξ t \xi_{t} ξ t as in (27) , let ( ξ t , Δ V t ) t ≥ 0 (\xi_{t},\Delta V_{t})_{t\ge0} ( ξ t , Δ V t ) t ≥ 0 be a sub-ψ \psi ψ process with Δ V t ≤ ν t I \Delta V_{t}\le\nu_{t}I Δ V t ≤ ν t I as in Theorem 2.3 . Let a t = 1 − 2 κ η t a_{t}=1-2\kappa\eta_{t} a t = 1 − 2 κ η t , b t = η t 2 ∥ g t ∥ 2 b_{t}=\eta_{t}^{2}\|g_{t}\|^{2} b t = η t 2 ∥ g t ∥ 2 , and define recursively A t : = ∏ s = 1 t a s A_{t}:=\prod_{s=1}^{t}a_{s} A t := ∏ s = 1 t a s and
R t : = A t ( R 0 + ∑ s = 1 t b s A s + U t ) with R 0 ≥ Z 0 and M t = 2 η t R t − 1 / A t . R_{t}:=A_{t}\left(R_{0}+\sum_{s=1}^{t}\frac{b_{s}}{A_{s}}+U_{t}\right)\quad\text{with }R_{0}\ge Z_{0}\text{ and }M_{t}=2\eta_{t}\sqrt{R_{t-1}/A_{t}}. R t := A t ( R 0 + s = 1 ∑ t A s b s + U t ) with R 0 ≥ Z 0 and M t = 2 η t R t − 1 / A t . Then, with probability at least 1 − α 1-\alpha 1 − α , simultaneously for all t ≥ 0 t\ge0 t ≥ 0 , ∥ V θ t − V θ ⋆ ∥ d π 2 ≤ R t \|V_{\theta_{t}}-V_{\theta^{\star}}\|_{d_{\pi}}^{2}\le R_{t} ∥ V θ t − V θ ⋆ ∥ d π 2 ≤ R t .
Even though Theorem 4.1 follows almost trivially from Proposition 5 and Lemma 2.1 , for the sake of completeness, we present a proof in Appendix § 16.2 . As for the noise assumptions, either a sub-ψ \psi ψ proxy may be used, or, for projected TD learning, the product-betting boundary. A few concrete envelopes are presented in Appendix § 13.2 .
Bures - Wasserstein SGD for Gaussian variational inference
Variational inference (VI), with Gaussian VI as its canonical instance, replaces sampling from a posterior by optimization over a tractable family of distributions [153 , 13 ] . A recent line of work views Gaussian VI through the lens of Wasserstein gradient flows [64 , 110 , 3 , 167 ] . Restricted to Gaussians, the Wasserstein distance induces the Bures-Wasserstein geometry [143 , 12 ] , which already underpins provably convergent algorithms for Bures-Wasserstein barycenters [28 , 2 ] . Building on this geometry, Lambert et al. [ [82 ] derived Gaussian VI as the Bures - Wasserstein gradient flow of the KL divergence and proposed a stochastic gradient scheme (BW-SGD) whose expected squared Wasserstein error contracts geometrically up to a step-size-dependent floor when π \pi π is strongly log-concave. For a fixed iteration t t t , the behavior of these schemes is well-understood [38 , 72 , 96 ] (Diao et al. 2023); crucially, none of the guarantees are time-uniform.
In practice, default implementations of stochastic VI stop at a data-dependent time, i.e. based on the relative change of a noisy estimate of the evidence lower bound as in Algorithm 1 of [76 ] . Similarly, Welandawe et al. [ [164 ] adapt the learning rate by detecting stationarity of the iterates, and terminate by weighing an estimated symmetrized KL divergence to the optimal approximation against the remaining computational cost. On the other hand, Dhaka et al. [ [36 ] showed that common stochastic optimizers can return inaccurate approximations already in moderate dimensions, and proposed to treat the iterates as a Markov chain, with convergence diagnostics and a stopping rule that are robust to noisy objective evaluations. Despite their practical use, none ensures the validity of a data-dependent stopping time at some prescribed level. Our recipe addresses this gap via a direct derivation of (1) for the Bures-Wasserstein SGD. The resulting envelopes are data-dependent and work for any predictable step sizes below the stability threshold of Lambert et al. [ [82 ] . To the best of our knowledge, these are the first time-uniform guarantees for stochastic variational inference.
Set-up and optimization module for Bures - Wasserstein SGD
Stochastic variational inference considers a target density π ∝ e − F \pi\propto e^{-F} π ∝ e − F on R d \mathbb{R}^{d} R d , and aims to find the Gaussian measure q ⋆ = N ( m ⋆ , Σ ⋆ ) q^{\star} = N(m^{\star}, \Sigma^{\star}) q ⋆ = N ( m ⋆ , Σ ⋆ ) that minimizes KL ( q ∥ π ) \operatorname{KL}(q\mathbin\Vert\pi) KL ( q ∥ π ) over nondegenerate Gaussians q q q . The primary motivation for such approximations is to facilitate sampling. Concretely, suppose F ∈ C 2 F \in C^{2} F ∈ C 2 and μ I ⪯ ∇ 2 F ( x ) \mu I \preceq\nabla^{2}F(x) μ I ⪯ ∇ 2 F ( x ) for all x x x , with a known μ ∈ ( 0 , 1 ] \mu\in(0,1] μ ∈ ( 0 , 1 ] . By Lambert et al. [ [82 ] , E q ⋆ ∇ F = 0 \mathbb{E}_{q^{\star}}\nabla F = 0 E q ⋆ ∇ F = 0 and E q ⋆ − 1 ( Σ ⋆ ) ∇ 2 F ⪰ μ I \mathbb{E}_{q^{\star}}^{-1}(\Sigma^{\star}) \nabla^{2}F \succeq\mu I E q ⋆ − 1 ( Σ ⋆ ) ∇ 2 F ⪰ μ I , and consequently Σ ⋆ ⪯ μ − 1 I \Sigma^{\star} \preceq\mu^{-1}I Σ ⋆ ⪯ μ − 1 I . We consider the Bures-Wasserstein SGD (Algorithm 1 of Lambert et al. [ [82 ] ).
Concretely, given q t − 1 = N ( m t − 1 , Σ t − 1 ) q_{t-1} = N(m_{t-1}, \Sigma_{t-1}) q t − 1 = N ( m t − 1 , Σ t − 1 ) , draw X t ∣ F t − 1 ∼ q t − 1 X_t \mid\mathcal{F}_{t-1} \sim q_{t-1} X t ∣ F t − 1 ∼ q t − 1 , and set g t : = ∇ F ( X t ) g_t := \nabla F(X_t) g t := ∇ F ( X t ) , J t : = ∇ 2 F ( X t ) J_t := \nabla^{2}F(X_t) J t := ∇ 2 F ( X t ) ,
m t = m t − 1 − η t g t , q t = N ( m t , Σ t ) , m_t = m_{t-1} - \eta_t g_t,\quad q_t = N(m_t,\Sigma_t), m t = m t − 1 − η t g t , q t = N ( m t , Σ t ) ,
and
Σ t = clip 1 / μ ( ( I − η t ( J t − Σ t − 1 − 1 ) ) Σ t − 1 ( I − η t ( J t − Σ t − 1 − 1 ) ) ) . \Sigma_t = \operatorname{clip}_{1/\mu}\left((I-\eta_t(J_t-\Sigma_{t-1}^{-1}))\Sigma_{t-1}(I-\eta_t(J_t-\Sigma_{t-1}^{-1}))\right). Σ t = clip 1/ μ ( ( I − η t ( J t − Σ t − 1 − 1 )) Σ t − 1 ( I − η t ( J t − Σ t − 1 − 1 )) ) .
where for τ > 0 \tau> 0 τ > 0 and a symmetric matrix Σ \Sigma Σ with spectral decomposition Σ = ∑ i = 1 d λ i u i u i T \Sigma= \sum_{i=1}^{d}\lambda_i u_i u_i^{\mathsf{T}} Σ = ∑ i = 1 d λ i u i u i T , we write clip τ ( Σ ) : = ∑ i = 1 d min { λ i , τ } u i u i T \operatorname{clip}_{\tau}(\Sigma) := \sum_{i=1}^{d}\min\{\lambda_i,\tau\}u_i u_i^{\mathsf{T}} clip τ ( Σ ) := ∑ i = 1 d min { λ i , τ } u i u i T . Consider Z t : = W 2 2 ( q t , q ⋆ ) Z_t := W_2^2(q_t,q^{\star}) Z t := W 2 2 ( q t , q ⋆ ) as the performance measure. For Gaussian random vectors, Dowson and Landau [ [39 ] provides a particularly simple representation for Z t Z_t Z t :
Z t = W 2 2 ( N ( m t , Σ t ) , N ( m ⋆ , Σ ⋆ ) ) = ∥ m t − m ⋆ ∥ 2 + Tr ( Σ t + Σ ⋆ − 2 ( Σ t 1 / 2 Σ ⋆ Σ t 1 / 2 ) 1 / 2 ) . (29) Z_t = W_2^2(N(m_t,\Sigma_t),N(m^{\star},\Sigma^{\star})) = \lVert m_t-m^{\star}\rVert^2 + \operatorname{Tr}\left(\Sigma_t+\Sigma^{\star}-2(\Sigma_t^{1/2}\Sigma^{\star}\Sigma_t^{1/2})^{1/2}\right). \tag*{(29)} Z t = W 2 2 ( N ( m t , Σ t ) , N ( m ⋆ , Σ ⋆ )) = ∥ m t − m ⋆ ∥ 2 + Tr ( Σ t + Σ ⋆ − 2 ( Σ t 1/2 Σ ⋆ Σ t 1/2 ) 1/2 ) . (29)
To prepare for the optimization-module recursion (1) , we require some more notation. For a ∈ R d a \in\mathbb{R}^{d} a ∈ R d , B ∈ R d × d B \in\mathbb{R}^{d\times d} B ∈ R d × d , write ( a : B ) ∈ R d × ( d + 1 ) (a:B) \in\mathbb{R}^{d\times(d+1)} ( a : B ) ∈ R d × ( d + 1 ) imbued with the inner product
⟨ a 1 : B 1 , a 2 : B 2 ⟩ = a 1 T a 2 + Tr ( B 1 T B 2 ) . \langle a_1:B_1,\ a_2:B_2\rangle= a_1^{\mathsf{T}}a_2+\operatorname{Tr}(B_1^{\mathsf{T}}B_2). ⟨ a 1 : B 1 , a 2 : B 2 ⟩ = a 1 T a 2 + Tr ( B 1 T B 2 ) .
Then, let G t : = ( g t − ∇ F ( m t − 1 ) , J t ) G_t := (g_t - \nabla F(m_{t-1}), J_t) G t := ( g t − ∇ F ( m t − 1 ) , J t ) and, denote the noise ξ t : = E t − 1 G t − G t \xi_t := \mathbb{E}_{t-1}G_t - G_t ξ t := E t − 1 G t − G t . In the following, we derive (1) for BW-SGD.
Proposition 6. Consider the notation and conditions of §4.3.1. Let the step sizes η t \eta_t η t be predictable with 0 < η t ≤ μ 2 / 60 0 < \eta_t \le\mu^2/60 0 < η t ≤ μ 2 /60 almost surely. Then, for every t ≥ 1 t \ge1 t ≥ 1 , it almost surely holds that
Z t ≤ ( 1 − 2 μ η t ) Z t − 1 + η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1 / 2 ∥ 2 ] + ⟨ v t , ξ t ⟩ , (30) Z_t \le(1 - 2\mu\eta_t)Z_{t-1} + \eta_t^2\left[\|g_t\|^2 + \|(J_t-\Sigma_{t-1}^{-1})\Sigma_{t-1}^{1/2}\|^2\right] + \langle v_t,\xi_t\rangle, \tag*{(30)} Z t ≤ ( 1 − 2 μ η t ) Z t − 1 + η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1/2 ∥ 2 ] + ⟨ v t , ξ t ⟩ , (30) where v t : = 2 η t ( m t − 1 − m ⋆ , sym [ ( I − T Σ t − 1 ) Σ t − 1 ] ) v_t := 2\eta_t(m_{t-1} - m^\star,\operatorname{sym}[(I-T_{\Sigma_{t-1}})\Sigma_{t-1}]) v t := 2 η t ( m t − 1 − m ⋆ , sym [( I − T Σ t − 1 ) Σ t − 1 ]) , with
T Σ : = Σ − 1 / 2 ( Σ 1 / 2 Σ ⋆ Σ 1 / 2 ) 1 / 2 Σ − 1 / 2 , T_\Sigma:= \Sigma^{-1/2}(\Sigma^{1/2}\Sigma^\star\Sigma^{1/2})^{1/2}\Sigma^{-1/2}, T Σ := Σ − 1/2 ( Σ 1/2 Σ ⋆ Σ 1/2 ) 1/2 Σ − 1/2 , so that x ↦ m ⋆ + T Σ ( x − m ) x \mapsto m^\star+ T_\Sigma(x-m) x ↦ m ⋆ + T Σ ( x − m ) is the optimal transport map from N ( m , Σ ) N(m,\Sigma) N ( m , Σ ) to q ⋆ q^\star q ⋆ . Here, sym ( D ) : = ( D + D T ) / 2 \operatorname{sym}(D) := (D+D^\mathsf{T})/2 sym ( D ) := ( D + D T ) /2 .
Proposition 6 is proved in Appendix 13.3, where we also recall some background on the Bures - Wasserstein geometry of Gaussian variational inference. Specifically, our approach proceeds by retaining the centered first-order term in the coupling argument of Lambert et al. [ [82 ] . Note that the second-order term of the recursion is observable; moreover, v t v_t v t is controlled by the preceding envelope without knowledge of m ⋆ m^\star m ⋆ , Σ ⋆ \Sigma^\star Σ ⋆ or the optimal transport map.
Boundaries for BW-SGD
As before, recursion (30) directly leads to observable boundaries via Theorem 2.3 , upon a verification of the conditions therein. Firstly, note that by (29) , Z t − 1 Z_{t-1} Z t − 1 can be written as Z t − 1 = ∥ m t − 1 − m ⋆ ∥ 2 + ∥ C Σ t − 1 1 / 2 ∥ 2 Z_{t-1} = \|m_{t-1}-m^\star\|^2 + \|C\Sigma_{t-1}^{1/2}\|^2 Z t − 1 = ∥ m t − 1 − m ⋆ ∥ 2 + ∥ C Σ t − 1 1/2 ∥ 2 with C = I − T Σ t − 1 C=I-T_{\Sigma_{t-1}} C = I − T Σ t − 1 . As ∥ sym ( D ) ∥ ≤ ∥ D ∥ \|\operatorname{sym}(D)\| \le\|D\| ∥ sym ( D ) ∥ ≤ ∥ D ∥ and ∥ C Σ t − 1 ∥ ≤ ∥ C Σ t − 1 1 / 2 ∥ ∥ Σ t − 1 1 / 2 ∥ op \|C\Sigma_{t-1}\| \le\|C\Sigma_{t-1}^{1/2}\|\|\Sigma_{t-1}^{1/2}\|_{\operatorname{op}} ∥ C Σ t − 1 ∥ ≤ ∥ C Σ t − 1 1/2 ∥∥ Σ t − 1 1/2 ∥ op , hence
∥ v t ∥ 2 ≤ 4 η t 2 [ ∥ m t − 1 − m ⋆ ∥ 2 + ∥ C Σ t − 1 ∥ 2 ] ≤ 4 η t 2 max { 1 , ∥ Σ t − 1 ∥ op } Z t − 1 . \|v_t\|^2 \le4\eta_t^2\left[\|m_{t-1}-m^\star\|^2+\|C\Sigma_{t-1}\|^2\right] \le4\eta_t^2\max\{1,\|\Sigma_{t-1}\|_{\operatorname{op}}\}Z_{t-1}. ∥ v t ∥ 2 ≤ 4 η t 2 [ ∥ m t − 1 − m ⋆ ∥ 2 + ∥ C Σ t − 1 ∥ 2 ] ≤ 4 η t 2 max { 1 , ∥ Σ t − 1 ∥ op } Z t − 1 .
Consequently, on { Z t − 1 ≤ R t − 1 } \{Z_{t-1}\le R_{t-1}\} { Z t − 1 ≤ R t − 1 } ,
∥ v t ∥ A t ≤ M t : = 2 η t A t − 1 max { 1 , ∥ Σ t − 1 ∥ op } R t − 1 . (31) \frac{\|v_t\|}{A_t}\le M_t:=2\eta_t A_t^{-1}\sqrt{\max\{1,\|\Sigma_{t-1}\|_{\operatorname{op}}\}R_{t-1}}. \tag*{(31)} A t ∥ v t ∥ ≤ M t := 2 η t A t − 1 max { 1 , ∥ Σ t − 1 ∥ op } R t − 1 . (31)
Thus, Lemma 2.1 leads to the following result.
Theorem 4.2. Grant the notation and conditions of Proposition 6, and fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Recall M t M_t M t from (31). At every iteration t t t , choose
ν t ∈ { 2 max { ∥ Σ t − 1 ∥ op , ( 1 − μ ) 2 d 4 } , 2 3 ( ∥ G t ∥ 2 + Tr ( Σ t − 1 ) + d ) } . \nu_t \in\left\{2\max\left\{\|\Sigma_{t-1}\|_{\operatorname{op}},\frac{(1-\mu)^2d}{4}\right\},\frac{2}{3}\left(\|G_t\|^2+\operatorname{Tr}(\Sigma_{t-1})+d\right)\right\}. ν t ∈ { 2 max { ∥ Σ t − 1 ∥ op , 4 ( 1 − μ ) 2 d } , 3 2 ( ∥ G t ∥ 2 + Tr ( Σ t − 1 ) + d ) } . Finally, let
R 0 : = μ − 2 ( ∥ ∇ F ( m 0 ) ∥ + d / μ ) 2 + Tr ( Σ 0 ) + d / μ , R_0:=\mu^{-2}\left(\|\nabla F(m_0)\|+\sqrt{d/\mu}\right)^2+\operatorname{Tr}(\Sigma_0)+d/\mu, R 0 := μ − 2 ( ∥∇ F ( m 0 ) ∥ + d / μ ) 2 + Tr ( Σ 0 ) + d / μ , and define recursively, for t ≥ 1 t\ge1 t ≥ 1 ,
A t : = A t − 1 ( 1 − 2 μ η t ) , A 0 = 1 , b t : = η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1 / 2 ∥ 2 ] , A_t:=A_{t-1}(1-2\mu\eta_t),\quad A_0=1,\quad b_t:=\eta_t^2\left[\|g_t\|^2+\|(J_t-\Sigma_{t-1}^{-1})\Sigma_{t-1}^{1/2}\|^2\right], A t := A t − 1 ( 1 − 2 μ η t ) , A 0 = 1 , b t := η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1/2 ∥ 2 ] , M t : = 2 η t A t max { 1 , ∥ Σ t − 1 ∥ op } R t − 1 , V t : = ∑ s = 1 t ν s M s 2 , and R t : = A t ( R 0 + ∑ s = 1 t b s A s + U t ) , M_t:=\frac{2\eta_t}{A_t}\sqrt{\max\{1,\|\Sigma_{t-1}\|_{\operatorname{op}}\}R_{t-1}},\quad V_t:=\sum_{s=1}^{t}\nu_sM_s^2,\quad\text{and}\quad R_t:=A_t\left(R_0+\sum_{s=1}^{t}\frac{b_s}{A_s}+U_t\right), M t := A t 2 η t max { 1 , ∥ Σ t − 1 ∥ op } R t − 1 , V t := s = 1 ∑ t ν s M s 2 , and R t := A t ( R 0 + s = 1 ∑ t A s b s + U t ) , where U 0 : = 0 U_0:=0 U 0 := 0 , and U t ∈ { N α ( V t ) , 4 S α ( V t ) } U_t\in\{\mathcal{N}_\alpha(V_t),4\mathcal{S}_\alpha(V_t)\} U t ∈ { N α ( V t ) , 4 S α ( V t )} is either the Gaussian-mixture or the sub-Gaussian stitching boundary from Corollary 2.4(i)-(ii). Then, P ( W 2 2 ( q t , q ⋆ ) ≤ R t for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(W_2^2(q_t,q^\star)\le R_t\text{ for all }t\ge0)\ge1-\alpha P ( W 2 2 ( q t , q ⋆ ) ≤ R t for all t ≥ 0 ) ≥ 1 − α .
Theorem 4.2 records the first anytime-valid control for the convergence errors of Bures-Wasserstein SGD. Notably, in the spirit of the posterior error bounds of Huggins et al. [ [60 ] , the anytime-valid Wasserstein error bound also transfers to posterior summaries and decisions.
Proposition 7. On the event of Theorem 4.2, simultaneously for all t ≥ 0 t \ge0 t ≥ 0 , the following hold.
For every L f L_f L f -Lipschitz f : R d → R f : \mathbb{R}^d \to\mathbb{R} f : R d → R , ∣ ∫ f d q t − ∫ f d q ⋆ ∣ ≤ L f R t \left|\int f\,dq_t - \int f\,dq^\star\right| \le L_f\sqrt{R_t} ∫ f d q t − ∫ f d q ⋆ ≤ L f R t . Moreover, for every w ∈ R d w \in\mathbb{R}^d w ∈ R d and p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) ,
∣ Q p t ( X ) − Q p ⋆ ( X ) ∣ ≤ ∥ w ∥ ( 1 + z p 2 ) R t . \left|Q_p^t(\mathrm{X}) - Q_p^\star(\mathrm{X})\right| \le\lVert w\rVert\sqrt{\left(1+z_p^2\right)R_t}. Q p t ( X ) − Q p ⋆ ( X ) ≤ ∥ w ∥ ( 1 + z p 2 ) R t . where Q p t Q_p^t Q p t and Q p ⋆ Q_p^\star Q p ⋆ denote the p p p -quantiles of w T X w^\mathsf{T}X w T X under X ∼ q t X \sim q_t X ∼ q t and X ∼ q ⋆ X \sim q^\star X ∼ q ⋆ respectively, and z p z_p z p the N ( 0 , 1 ) N(0,1) N ( 0 , 1 ) p p p -quantile.
sup u ∣ L ( u , x ) − L ( u , x ′ ) ∣ ≤ L L ∣ x − x ′ ∣ , E [ ∣ L ( u , x ) ∣ ] < ∞ , \sup_{u}\left|\mathcal{L}(u,x)-\mathcal{L}(u,x')\right| \le L_{\mathcal{L}}\lvert x-x'\rvert,\quad\mathbb{E}[\lvert\mathcal{L}(u,x)\rvert] < \infty, u sup ∣ L ( u , x ) − L ( u , x ′ ) ∣ ≤ L L ∣ x − x ′ ∣ , E [∣ L ( u , x )∣] < ∞ , then every u t ∈ a r g m i n u ∫ L ( u , x ) d q t ( x ) u_t \in\mathop{\rm arg\,min}_u \int\mathcal{L}(u,x)\,dq_t(x) u t ∈ arg min u ∫ L ( u , x ) d q t ( x ) satisfies
∫ L ( u t , x ) d q ⋆ ( x ) − min u ∫ L ( u , x ) d q ⋆ ( x ) ≤ 2 L L R t . \int\mathcal{L}(u_t,x)\,dq^\star(x)-\min_u\int\mathcal{L}(u,x)\,dq^\star(x) \le2L_{\mathcal{L}}\sqrt{R_t}. ∫ L ( u t , x ) d q ⋆ ( x ) − u min ∫ L ( u , x ) d q ⋆ ( x ) ≤ 2 L L R t .
We end with a remark that these are computational guarantees concerning the projection q ⋆ q^\star q ⋆ onto the space of Gaussian distributions. For the target π \pi π itself, ∣ ∫ f d q t − ∫ f d π ∣ ≤ L f R t + ∣ ∫ f d q ⋆ − ∫ f d π ∣ \left|\int f\,dq_t-\int f\,d\pi\right| \le L_f\sqrt{R_t}+\left|\int f\,dq^\star-\int f\,d\pi\right| ∫ f d q t − ∫ f d π ≤ L f R t + ∫ f d q ⋆ − ∫ f d π , requires the second term be controlled by Katsevich and Rigollet [ [68 ] , Theorem 2.1 under some additional assumptions (or be estimated post hoc through the bounds of Huggins et al. [ [60 ] ). In general, one may use Proposition 7 to stop BW-SGD as soon as ∥ w ∥ ( 1 + z p 2 ) R t \lVert w\rVert\sqrt{\left(1+z_p^2\right)R_t} ∥ w ∥ ( 1 + z p 2 ) R t falls below a user-specified tolerance for the posterior summaries of interest. Thus, our results combine to give informed, decision-theoretic stopping rules for Bures-Wasserstein SGD, providing first-of-its-kind results in stochastic VI.
Numerical Experiments
In this section, we illustrate the envelopes of § 3 and § 4 through two numerical examples. In §5.1, we begin with a warm-up example: projected SGD for ridge regression, which falls within the strongly convex setting of § 3.1 . This is one of the settings in which time-uniform guarantees are already available, both deterministic [112 ] and data-dependent [Alaritei et al., 2026], which allows a direct comparison of our envelopes with the existing literature. Moving on, § 5.2 turns to reinforcement learning, where we evaluate a fixed policy on the FrozenLake benchmark via TD(0) learning (§ 4.2 ). In contrast to the first example, no data-dependent anytime-valid envelopes were previously available for TD learning. Across both examples, all envelopes are computed at level α = 0.05 \alpha= 0.05 α = 0.05 from the observed iterates along a single trajectory of T = 10 7 T = 10^7 T = 1 0 7 iterations.
Warm-up: a ridge regression example
We begin with the strongly convex setting of § 3.1 . Consider independent pairs ( X t , y t ) (X_t,y_t) ( X t , y t ) from the linear model
y t = X t T x ⋆ + ε t , x ⋆ = ( 0.7 , − 1.1 , 0.4 , 0.9 , − 0.6 ) T ∈ R 5 , y_t = X_t^\mathsf{T}x^\star+ \varepsilon_t,\quad x^\star= (0.7,-1.1,0.4,0.9,-0.6)^\mathsf{T} \in\mathbb{R}^5, y t = X t T x ⋆ + ε t , x ⋆ = ( 0.7 , − 1.1 , 0.4 , 0.9 , − 0.6 ) T ∈ R 5 ,
where we write X t X_t X t for the covariates to reserve x t x_t x t for the SGD iterates. The covariates are isotropic3 with 2.7 ≤ ∥ X t ∥ ≤ 3 2.7 \le\lVert X_t\rVert\le3 2.7 ≤ ∥ X t ∥ ≤ 3 , so that E [ X t X t T ] = m I 5 \mathbb{E}[X_tX_t^{\mathsf{T}}] = mI_5 E [ X t X t T ] = m I 5 with m ≈ 1.625 m \approx1.625 m ≈ 1.625 , and the errors are independent truncated Gaussians,
ε t ∼ N ( 0 , σ 2 ) ∣ { ∣ ε t ∣ < 3 } , Var ( ε t ) = 1. \varepsilon_t \sim N(0,\sigma^2) \mid\{|\varepsilon_t| < 3\}, \quad\operatorname{Var}(\varepsilon_t) = 1. ε t ∼ N ( 0 , σ 2 ) ∣ { ∣ ε t ∣ < 3 } , Var ( ε t ) = 1.
We run projected SGD (11) , initialized at the origin, for T = 10 7 T = 10^7 T = 1 0 7 iterations on the ridge objective
F ( x ) = 1 2 E ( y t − X t T x ) 2 + λ 2 ∥ x ∥ 2 , ∥ x ∥ ≤ 10 , F(x) = \frac{1}{2}\mathbb{E}(y_t - X_t^{\mathsf{T}}x)^2 + \frac{\lambda}{2}\lVert x\rVert^2, \quad\lVert x\rVert\le10, F ( x ) = 2 1 E ( y t − X t T x ) 2 + 2 λ ∥ x ∥ 2 , ∥ x ∥ ≤ 10 ,
with λ = 0.1 m \lambda= 0.1m λ = 0.1 m and η t = 2 / [ m ( t + 32 ) ] \eta_t = 2/[m(t+32)] η t = 2/ [ m ( t + 32 )] . Here F F F is strongly convex, and its minimizer is the ridge solution x ⋆ = x † / 1.1 x^\star= x^\dagger/1.1 x ⋆ = x † /1.1 rather than the regression coefficient x † x^\dagger x † . Note that Pham et al. [ [112 ] proposed deterministic envelopes for ∥ x t − x † ∥ 2 \lVert x_t - x^\dagger\rVert^2 ∥ x t − x † ∥ 2 . Therefore, to aid comparison, the envelopes R t R_t R t obtained via § 3 for ∥ x t − x ⋆ ∥ 2 \lVert x_t - x^\star\rVert^2 ∥ x t − x ⋆ ∥ 2 are transferred to the error ∥ x t − x ⋆ ∥ 2 \lVert x_t - x^\star\rVert^2 ∥ x t − x ⋆ ∥ 2 as R t ∘ = ( R t + δ λ ) 2 R_t^\circ= (\sqrt{R_t} + \delta_\lambda)^2 R t ∘ = ( R t + δ λ ) 2 , where δ λ = λ S / ( m + λ ) ≥ ∥ x ⋆ − x † ∥ \delta_\lambda= \lambda S/(m+\lambda) \ge\lVert x^\star- x^\dagger\rVert δ λ = λ S / ( m + λ ) ≥ ∥ x ⋆ − x † ∥ with S = 2 S = 2 S = 2 . Moreover, the stochastic gradients are bounded by G ≈ 118.6 G \approx118.6 G ≈ 118.6 , and since ∥ x t ∥ ≤ 10 \lVert x_t\rVert\le10 ∥ x t ∥ ≤ 10 and ∥ x † ∥ ≤ S \lVert x^\dagger\rVert\le S ∥ x † ∥ ≤ S , we cap the envelopes R t ∘ R_t^\circ R t ∘ at the global bound ( 10 + S ) 2 = 144 (10+S)^2 = 144 ( 10 + S ) 2 = 144 for display.
We compare five envelopes, each at level α = 0.05 \alpha= 0.05 α = 0.05 . The following re-uses the notation of § 3.1.2 .
The deterministic envelope of Pham et al. [ [112 ] , Eq. (26) , whose assumptions hold here with B = 3 B = 3 B = 3 , D = 20 D = 20 D = 20 and B 1 = B 2 ( D + 1 ) + λ ( D + S ) ≈ 192.6 B_1 = B^2(D+1) + \lambda(D+S) \approx192.6 B 1 = B 2 ( D + 1 ) + λ ( D + S ) ≈ 192.6 ;
the empirical-Bernstein envelope of Aolaritei et al. [ [5 ] , Theorem 3.5 R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ , which gives a closed-form upper bound to the sub-gamma stitching envelope with the grid (16) ;
(ours) the exponential discrete mixture envelope R t d m R_t^{\mathrm{dm}} R t dm of § 3.1.2 , i.e., Corollary 7.4 with ψ = ψ E , G \psi= \psi_{E,G} ψ = ψ E , G and Δ V t = g t g t T \Delta V_t = g_tg_t^{\mathsf{T}} Δ V t = g t g t T as in §9.1, using λ ˉ = 0.38 / G \bar{\lambda} = 0.38/G λ ˉ = 0.38/ G , r = 1.1 r = 1.1 r = 1.1 and the density f f f of Figure 1 .a; this choice follows Howard et al. [ [59 ] , Figure 4, see Appendix A.6 therein;
(ours) the sub-exponential stitching envelope R t S T R_t^{\mathrm{ST}} R t ST ; and,
(ours) the betting envelope R t w R_t^w R t w of Proposition 1 with w = 32 w = 32 w = 32 and the same ( λ k , p k ) (\lambda_k,p_k) ( λ k , p k ) as in (iii).
Figure 1 .a displays the practical gap between deterministic and data-dependent envelopes. The realized error ∥ x t − x ⋆ ∥ 2 \lVert x_t - x^\star\rVert^2 ∥ x t − x ⋆ ∥ 2 settles around the squared ridge bias ∥ x ⋆ − x † ∥ 2 ≈ 0.025 \lVert x^\star- x^\dagger\rVert^2 \approx0.025 ∥ x ⋆ − x † ∥ 2 ≈ 0.025 within 10 3 10^3 1 0 3 iterations, whereas the envelope of Pham et al. [ [112 ] remains at the global bound until t = 807,518 t = 807{,}518 t = 807 , 518 , and still equals 12.1 12.1 12.1 at t = 10 7 t = 10^7 t = 1 0 7 . Moreover, our discrete-mixture, sub-exponential stitching, and betting based envelopes are sharper over R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ by orders of magnitude. For example, the envelope R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ falls below the global bound at t = 876 t = 876 t = 876 , while our envelopes do so by t = 193 t = 193 t = 193 , and remain below R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ throughout. In particular, the betting envelope is about 20 times smaller than R t A L B J R_t^{\mathrm{ALBJ}} R t ALBJ at t = 10 4 t = 10^4 t = 1 0 4 and 10 5 10^5 1 0 5 , and still about 6 times smaller at t = 10 7 t = 10^7 t = 1 0 7 . Moreover, Figure 1 .a also demonstrates the theoretically derived ordering R t w ≤ R t d m ≤ R t S T R_t^w \le R_t^{\mathrm{dm}} \le R_t^{\mathrm{ST}} R t w ≤ R t dm ≤ R t ST of § 3.1.2 at every iteration. Since the common bias correction increasingly dominates all data-dependent envelopes in Figure 1 .a and masks their differences, Table 3 reports the data-dependent envelopes R t R_t R t for ∥ x t − x ⋆ ∥ 2 \lVert x_t - x^\star\rVert^2 ∥ x t − x ⋆ ∥ 2 before the correction. We emphasize that the betting-based envelopes require the additional restriction of bounded gradients, which is satisfied in this example.
Table 3. Envelopes R t R_t R t for ∥ x t − x ∗ ∥ 2 \lVert x_t-x^*\rVert^2 ∥ x t − x ∗ ∥ 2 , before the bias correction, along the run in Figure 1 .a.
Temporal difference learning on FrozenLake
We next illustrate the envelopes of § 4.2 on FrozenLake4 , a standard tabular benchmark of the OpenAI Gym and Gymnasium suites [19 , 145 ] , which has also been used to study
TD-type policy evaluation [156 ] . The agent moves on the 4 × 4 4 \times4 4 × 4 grid of Figure 2 from the start S towards the goal G, and an episode terminates upon entering a hole H or the goal. At each step, the policy chooses an intended action a ∈ { left , down , right , up } a \in\{\text{left},\text{down},\text{right},\text{up}\} a ∈ { left , down , right , up } , which the slippery ice then perturbs: the direction D D D in which the agent actually moves is either a a a itself or one of the two directions perpendicular to a a a , each with probability 1 / 3 1/3 1/3 . Formally, the realized direction and the reward satisfy
Figure 2. The FrozenLake map, with start S, frozen tiles F, holes H and goal G. (a) Slippery dynamics for the action right at S: the agent moves right, or in either perpendicular direction, each with probability 1 / 3 1/3 1/3 ; a move off the grid (here, up) leaves it in place. (b) Under the uniform policy with slippery dynamics, the agent moves in each of the four directions with probability 1 / 4 1/4 1/4 , staying in place at the boundary; entering H or G ends the episode.
P ( D = d ∣ a ) = { 1 / 3 , d = a or d ⊥ a , 0 , d = − a , r ( s , a , s ′ ) = { 1 , s ′ = G , 0 , otherwise . \mathbb{P}(D=d \mid a)=
\begin{cases}
1/3, & d=a\text{ or }d\perp a,\\
0, & d=-a,
\end{cases}
\qquad
r(s,a,s')=
\begin{cases}
1, & s'=G,\\
0, & \text{otherwise}.
\end{cases} P ( D = d ∣ a ) = { 1/3 , 0 , d = a or d ⊥ a , d = − a , r ( s , a , s ′ ) = { 1 , 0 , s ′ = G , otherwise .
where d ⊥ a d \perp a d ⊥ a denotes either direction perpendicular to a a a , and − a -a − a the direction opposite to it. The agent stays in place if the move would leave the grid.
As a canonical example, we evaluate the uniform policy π ( a ∣ s ) = 1 / 4 \pi(a \mid s)=1/4 π ( a ∣ s ) = 1/4 with γ = 0.9 \gamma=0.9 γ = 0.9 , using tabular features on the d = 11 d=11 d = 11 nonterminal states, and ϕ ( s ) = 0 \phi(s)=0 ϕ ( s ) = 0 for terminal s s s . Under π \pi π , the slippery dynamics reduce to a symmetric random walk: the agent moves in each of the four directions with probability 1 / 4 1/4 1/4 , and stays in place at the boundary (Figure 2 .b). The transitions ( S t , r t , S t ′ ) (S_t,r_t,S'_t) ( S t , r t , S t ′ ) are sampled independently as in § 4.2.1 . As the stationary distribution of the episodic chain P π P_\pi P π is concentrated on the absorbing terminal states, we draw S t S_t S t from the stationary distribution of the chain that restarts each episode at S; transitions from terminal states leave θ t \theta_t θ t unchanged, since ϕ \phi ϕ vanishes there.
We run TD(0) for T = 10 7 T=10^7 T = 1 0 7 iterations from θ 0 = 0 \theta_0=0 θ 0 = 0 , with η t = 2 / [ κ ( t + 1024 ) ] \eta_t=2/[\kappa(t+1024)] η t = 2/ [ κ ( t + 1024 )] and κ = 0.003 \kappa=0.003 κ = 0.003 . Starting from R 0 = d R_0=d R 0 = d , we compare three envelopes, each at level α = 0.05 \alpha=0.05 α = 0.05 , all derived from (28) via Lemma 2.1:
the sub-gamma stitching envelope R ~ t S T \widetilde{R}^{\mathrm{ST}}_t R t ST with the grid of Corollary 2.4(iii);
the closed-form upper bound M α G E , 2 \mathcal{M}^{\mathrm{GE},2}_\alpha M α GE , 2 , with c = ( 1 + γ ) d + 1 c=(1+\gamma)d+1 c = ( 1 + γ ) d + 1 and ρ = 1 \rho=1 ρ = 1 , to the gamma-exponential mixture envelope R t G E R^{\mathrm{GE}}_t R t GE ; see §7.2.1; and,
the betting envelope R t w R^w_t R t w of Proposition 1, with μ \mu μ replaced by κ \kappa κ in (13) , w = 32 w=32 w = 32 , and the same ( λ k , p k ) (\lambda_k,p_k) ( λ k , p k ) as in (i).
Figure 3 displays the realized error together with the three envelopes. The betting envelope is the smallest throughout, in agreement with the ordering R t w ≤ R ~ t S T R^w_t \leq\widetilde{R}^{\mathrm{ST}}_t R t w ≤ R t ST of § 3.1.2 for a common grid: it is 52% smaller than the stitching envelope at t = 10 4 t=10^4 t = 1 0 4 , and still 12% smaller at t = 10 7 t=10^7 t = 1 0 7 . The gamma-exponential mixture envelope is competitive early on, but is overtaken by stitching after a few thousand iterations, and is 2.6 times larger at t = 10 7 t=10^7 t = 1 0 7 . This is the familiar trade-off between mixing with a fixed prior and stitching: the former grows like V t log V t \sqrt{V_t\log V_t} V t log V t , whereas the latter attains the iterated-logarithm rate V t log log V t \sqrt{V_t\log\log V_t} V t log log V t [59 ] .
Figure 3. Error ∥ θ t − θ ∗ ∥ / d \lVert\theta_t-\theta^* \rVert/\sqrt{d} ∥ θ t − θ ∗ ∥ / d of TD(0) on FrozenLake, together with the sub-gamma stitching, gamma-exponential mixture and betting envelopes, each at level α = 0.05 \alpha= 0.05 α = 0.05 .
To the best of our knowledge, these are the first data-dependent anytime-valid envelopes for TD learning, and can be used along with, or as, data-dependent stopping rules. In practice, TD learning is typically stopped either based on thresholds derived from sample-complexity bounds [11 , 33 ] , or heuristically, once successive iterates or the empirical TD errors stabilize [117 ] . Neither approach yields level-α \alpha α validity, while also often being deterministic. In contrast, our envelopes directly yield the stopping time τ : = inf { t ≥ 0 : R t ≤ ϵ } \tau:=\inf\{t\geq0:R_t\leq\epsilon\} τ := inf { t ≥ 0 : R t ≤ ϵ } , at which ∥ θ τ − θ ∗ ∥ ≤ ϵ \|\theta_{\tau}-\theta^*\|\leq\epsilon ∥ θ τ − θ ∗ ∥ ≤ ϵ with probability at least 1 − α 1-\alpha 1 − α .
Conclusion
This paper presented a general recipe for constructing nonasymptotic, anytime-valid envelopes for the performance of iterative stochastic algorithms, computed from the observed trajectory alone. Since they are valid at arbitrary stopping times, the envelopes allow practitioners to continuously monitor an algorithm and employ a data-dependent stopping time. The key idea is simple: once the performance measure of an algorithm satisfies the recursion (1) , controlling it uniformly over time reduces to bounding a weighted sum of martingale differences, ∑ s ≤ t ⟨ v s , ξ s ⟩ \sum_{s\le t}\langle v_s,\xi_s\rangle ∑ s ≤ t ⟨ v s , ξ s ⟩ . This is a task for which nonnegative supermartingales, built via mixing, stitching or product-betting martingales, are well suited, and Lemma 2.1 transfers the resulting boundaries back to the iterates. The envelopes do not bank on any particular choices of parameters of the corresponding iterative algorithms. To help a practitioner, we provide extensive demonstrations of applying our constructions to explicit algorithms such as SGD or TD learning. The resulting boundaries recover, and often sharpen existing time-uniform guarantees in some of the settings, while yielding the first data-dependent guarantees in several others. Specifically, we show, both theoretically, and empirically, that the betting-based envelopes often outperform the stitching and mixing-based envelopes. In summary, the practitioner need only supply structural assumptions on the algorithm, which usually determines the performance measure, and the noise; our framework then yields a large class of observable, anytime-valid boundaries depending on the preferred choice of construction.
Beyond the settings of this paper, several interesting questions remain open. For example, for SGD, while we allow step-sizes η t \eta_t η t to be predictable, for many adaptive methods such as AdaGrad [40 ] or Adam [73 ] , step sizes are F t \mathcal{F}_t F t -adapted, i.e. they depend on the current stochastic gradient. Consequently, the weighted noise sum is no longer a martingale. Additionally, extending the recipe to cover Markovian noise constitutes another natural direction for future work.
AI usage statement5
The authors acknowledge the use of ChatGPT-Pro in improving exposition, and simplifying some proofs, such as the tedious calculations in § 17 that were verified independently. The numerical experiments were implemented by Codex. The authors take responsibility for the veracity of all claims and technical details in the paper.
Appendix
This appendix is devoted to extensive discussions on the constructions of the different boundaries, and their application to various optimization modules under diverse settings. In particular, § 9 expands upon § 2 to include a detailed case-by-case treatment of the different boundaries. Moving on, § 10 analyzes the optimization module, and §9 contains the derivation of the key recursion for stochastic gradient descent under different assumptions. Subsequently, § 13 contains two more applications in addition to the examples in § 4 ; as in that section, the examples presented in § 13 also provide the first anytime-valid data-dependent envelopes in the corresponding cases. Finally, in § 14 –§ 17 , we present the proofs of our results, modularized section-wise.
Discussion on anytime-valid boundaries
In this section, we include a detailed discussion of the statistical module , which concerns all our subsequent boundary constructions. Firstly, in § 9.1 , we provide an equivalent characterization of the sub-ψ \psi ψ condition that is immensely useful for our cause. Then, we leverage this to introduce the boundary constructions via mixing §7.2, stitching § 9.3 and betting § 9.4 , all the while discussing the merits and pitfalls of each construction and how they are inter-related.
Connotations of Definition 2.2
The close similarity between Definition 2.2 and the other definition of sub-ψ \psi ψ processes merits a further discussion of their correspondence. We start off by providing a correspondence between Definition 2.2 and (3) .
Lemma 7.1. Consider F t \mathcal{F}_t F t -adapted random processes { ξ t } t ≥ 0 \{\xi_t\}_{t\geq0} { ξ t } t ≥ 0 and { Δ V t } t ≥ 0 \{\Delta V_t\}_{t\geq0} { Δ V t } t ≥ 0 . Then, (3) holds iff Definition 2.2 holds.
Equation 3 embodies the predictable-weight formulation of Definition 2.2, and facilitates immediate application to the boundary constructions we consider here. Another consequence of Definition 2.2 is that it holds under a mild condition on the variance process Δ V t \Delta V_t Δ V t that ξ t \xi_t ξ t itself is a martingale-difference sequence. These results firmly place Definition 2.2 in the broader context of other similar sub-ψ \psi ψ assumptions in the literature.
Lemma 7.2. Suppose ( ξ t , Δ V t ) t ≥ 0 (\xi_t,\Delta V_t)_{t\geq0} ( ξ t , Δ V t ) t ≥ 0 satisfies Definition 2.2, and
E tr ( Δ V t ) < ∞ for every t ≥ 1. \mathbb{E}\operatorname{tr}(\Delta V_t)<\infty\quad\text{for every } t\geq1. E tr ( Δ V t ) < ∞ for every t ≥ 1. Then ( ξ t ) t ≥ 1 (\xi_t)_{t\geq1} ( ξ t ) t ≥ 1 is a square-integrable martingale difference sequence with respect to ( F t ) t ≥ 0 (\mathcal{F}_t)_{t\geq0} ( F t ) t ≥ 0 . More precisely, almost surely, for every t ≥ 1 t\geq1 t ≥ 1 ,
E t − 1 [ ξ t ] = 0 , E t − 1 [ ξ t ξ t T ] ≤ ψ ′ ′ ( 0 ) E t − 1 [ Δ V t ] . \mathbb{E}_{t-1}[\xi_t]=0,\quad\mathbb{E}_{t-1}[\xi_t\xi_t^{\mathsf T}]\leq\psi''(0)\mathbb{E}_{t-1}[\Delta V_t]. E t − 1 [ ξ t ] = 0 , E t − 1 [ ξ t ξ t T ] ≤ ψ ′′ ( 0 ) E t − 1 [ Δ V t ] .
Lemmas 7.1 and 7.2 are proved in the Appendix 7.5.
Boundary by mixing method
In this section, we discuss a class of uniform boundaries using the method of mixtures [149 , 154 , 35 , 124 , 125 , 78 , 69 ] . This approach builds on the conjugate mixture boundaries of Howard et al. [ [59 ] by incorporating the predictable process v \mathbf{v} v into its boundaries. Mixture-based boundaries have been commonplace in iterative learning algorithms [165 , 75 , 166 ] . In the context of Definition 2.2 2.2 2.2 and (3) , the key idea underlying this approach is the observation that ∫ M t ( v , λ ) d F ( λ ) \int M_t(\mathbf{v},\lambda)\,\mathrm{d}F(\lambda) ∫ M t ( v , λ ) d F ( λ ) is an F t \mathcal{F}_t F t -supermartingale for any mixture distribution F F F , which then can be inverted to either give a closed form or analytically computable anytime-valid envelope. Crucially, the domain of integration must adapt to the sequence v \mathbf{v} v , which governs the tail behavior of Y t ( v ) Y_t(\mathbf{v}) Y t ( v ) . This precludes a ready application of the boundaries derived in Howard et al. [ [59 ] ; in Theorem 7.3 , we provide a new result tuned to Y t ( v ) Y_t(\mathbf{v}) Y t ( v ) . Throughout, ( ξ t , Δ V t ) t = 0 ∞ (\xi_t,\Delta V_t)_{t=0}^{\infty} ( ξ t , Δ V t ) t = 0 ∞ denotes a sub-ψ \psi ψ process and v = ( v s ) s = 1 ∞ ∈ R D \mathbf{v}=(v_s)_{s=1}^{\infty}\in\mathbb{R}^{\mathbb{D}} v = ( v s ) s = 1 ∞ ∈ R D is predictable. Consider a fixed α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) .
Theorem 7.3. Grant Definition 2.2 2.2 2.2 , and suppose F F F denotes a probability distribution on [ 0 , λ max ) [0,\lambda_{\max}) [ 0 , λ m a x ) and α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Then,
P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ M α ( t ; v ) ) ≥ 1 − α , \mathbb{P}\left(\text{for all }t\geq1:\sum_{s=1}^{t}\langle\xi_s,v_s\rangle\leq\mathcal{M}_{\alpha}(t;\mathbf{v})\right)\geq1-\alpha, P ( for all t ≥ 1 : s = 1 ∑ t ⟨ ξ s , v s ⟩ ≤ M α ( t ; v ) ) ≥ 1 − α , where,
M α ( t ; v , F ) : = sup { x ∈ R : m α ( x ; t ; v , F ) < 1 α } , \mathcal{M}_{\alpha}(t;\mathbf{v},F):=\sup\left\{x\in\mathbb{R}:m_{\alpha}(x;t;\mathbf{v},F)<\frac{1}{\alpha}\right\}, M α ( t ; v , F ) := sup { x ∈ R : m α ( x ; t ; v , F ) < α 1 } , with
m α ( x ; t ; v , F ) : = ∫ Λ t ( v ) exp ( λ x − ∑ s = 1 t Γ ψ ( Δ V s , λ v s ) ) d F ( λ ) and, m_{\alpha}(x;t;\mathbf{v},F):=\int_{\Lambda_t(\mathbf{v})}\exp\left(\lambda x-\sum_{s=1}^{t}\Gamma_{\psi}(\Delta V_s,\lambda v_s)\right)\,\mathrm{d}F(\lambda)\quad\text{and,} m α ( x ; t ; v , F ) := ∫ Λ t ( v ) exp ( λ x − s = 1 ∑ t Γ ψ ( Δ V s , λ v s ) ) d F ( λ ) and, Λ t ( v ) : = [ 0 , λ max ∧ λ max sup 1 ≤ s ≤ t ∥ v s ∥ ) . \Lambda_t(\mathbf{v}):=\left[0,\lambda_{\max}\wedge\frac{\lambda_{\max}}{\sup_{1\leq s\leq t}\lVert v_s\rVert}\right). Λ t ( v ) := [ 0 , λ m a x ∧ sup 1 ≤ s ≤ t ∥ v s ∥ λ m a x ) .
Theorem 7.3 is proved in Appendix 7.5. It can be considered a direct analogue of Lemma 2 of Howard et al. [ [59 ] . Corollary 2.4(i) provides a sharp, closed form upper bound for M α ( t , v ) \mathcal{M}_{\alpha}(t,\mathbf{v}) M α ( t , v ) , when ψ = ψ N \psi=\psi_N ψ = ψ N and F ( ⋅ ; ρ ) F(\cdot;\rho) F ( ⋅ ; ρ ) denotes the N ( 0 , ρ − 1 ) N(0,\rho^{-1}) N ( 0 , ρ − 1 ) density. In the following, we also discuss the gamma-exponential mixture boundary as another example and derive a sharp, easily computable upper bound using results from Pinelis [ [113 ] . Following that, we discuss the discrete mixture boundary which facilitates numerical root-finding algorithms when closed form expressions or upper-bounds are not available.
In this case, we assume that ( ξ t , Δ V t ) t ≥ 0 (\xi_t,\Delta V_t)_{t\geq0} ( ξ t , Δ V t ) t ≥ 0 is a sub-ψ E , c \psi_{E,c} ψ E , c process and λ max = 1 / c \lambda_{\max}=1/c λ m a x = 1/ c , and let v \mathbf{v} v be as in Theorem 7.3 . Let
m ρ , c ( x ; v , b ) : = ( ρ c 2 ) ρ / c 2 exp ( x + c c b + v + ( ρ − c 2 ) + c 2 b 2 − ρ c 2 ) Γ ( 1 + v + ( ρ − c 2 ) + c 2 b 2 ) b Γ ( ρ c 2 ) γ ( ρ c 2 , ρ c 2 ) ( x + c c b + v + ( ρ − c 2 ) + c 2 b 2 ) 1 + v + ( ρ − c 2 ) + c 2 b 2 ⋅ γ ( 1 + v + ( ρ − c 2 ) + c 2 b 2 , x + c c b + v + ( ρ − c 2 ) + c 2 b 2 ) . (32) \begin{aligned}
m_{\rho,c}(x;\mathbf{v},b):={}&\frac{\left(\frac{\rho}{c^2}\right)^{\rho/c^2}\exp\left(\frac{x+c}{cb}+\frac{v+(\rho-c^2)_+}{c^2b^2}-\frac{\rho}{c^2}\right)\Gamma\left(1+\frac{v+(\rho-c^2)_+}{c^2b^2}\right)}
{b\,\Gamma\left(\frac{\rho}{c^2}\right)\gamma\left(\frac{\rho}{c^2},\frac{\rho}{c^2}\right)\left(\frac{x+c}{cb}+\frac{v+(\rho-c^2)_+}{c^2b^2}\right)^{1+\frac{v+(\rho-c^2)_+}{c^2b^2}}}\\
&\cdot\gamma\left(1+\frac{v+(\rho-c^2)_+}{c^2b^2},\frac{x+c}{cb}+\frac{v+(\rho-c^2)_+}{c^2b^2}\right). \tag*{(32)}
\end{aligned} m ρ , c ( x ; v , b ) := b Γ ( c 2 ρ ) γ ( c 2 ρ , c 2 ρ ) ( c b x + c + c 2 b 2 v + ( ρ − c 2 ) + ) 1 + c 2 b 2 v + ( ρ − c 2 ) + ( c 2 ρ ) ρ / c 2 exp ( c b x + c + c 2 b 2 v + ( ρ − c 2 ) + − c 2 ρ ) Γ ( 1 + c 2 b 2 v + ( ρ − c 2 ) + ) ⋅ γ ( 1 + c 2 b 2 v + ( ρ − c 2 ) + , c b x + c + c 2 b 2 v + ( ρ − c 2 ) + ) . (32)
be defined for v , b > 0 v,b>0 v , b > 0 , where γ ( a , x ) : = ∫ 0 x u a − 1 e − u d u / Γ ( a ) \gamma(a,x):=\int_0^x u^{a-1}e^{-u}\,\mathrm{d}u/\Gamma(a) γ ( a , x ) := ∫ 0 x u a − 1 e − u d u /Γ ( a ) is the regularized lower incomplete gamma function. The expression for m ρ , c m_{\rho,c} m ρ , c is from Proposition 9 of Howard et al. [ [59 ] .
Let V ‾ 0 : = 0 \overline{V}_0 := 0 V 0 := 0 , B ‾ 0 : = 1 \overline{B}_0 := 1 B 0 := 1 . Define
V ‾ t = V ‾ t − 1 + ⟨ v t , Δ V t v t ⟩ , \overline{V}_t = \overline{V}_{t-1} + \langle v_t, \Delta V_t v_t \rangle, V t = V t − 1 + ⟨ v t , Δ V t v t ⟩ ,
B ‾ t = B ‾ t − 1 ∨ ∥ v t ∥ , \overline{B}_t = \overline{B}_{t-1} \vee\lVert v_t \rVert, B t = B t − 1 ∨ ∥ v t ∥ ,
and,
M α G E , 1 ( t ; v , ρ ) = sup { x : m ρ , c ( x ; V ‾ t , B ‾ t ) < 1 / α } . \mathcal{M}^{GE,1}_{\alpha}(t; v, \rho) = \sup\left\{x : m_{\rho,c}(x; \overline{V}_t, \overline{B}_t) < 1/\alpha\right\}. M α GE , 1 ( t ; v , ρ ) = sup { x : m ρ , c ( x ; V t , B t ) < 1/ α } .
Then, from Theorem 7.3 , we have P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ M α G E , 1 ( t ; v , ρ ) ) ≥ 1 − α \mathbb{P}\left(\text{for all } t \ge1: \sum_{s=1}^{t}\langle\xi_s, v_s\rangle\le\mathcal{M}^{GE,1}_{\alpha}(t; v, \rho)\right) \ge1-\alpha P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ M α GE , 1 ( t ; v , ρ ) ) ≥ 1 − α .
Computing M α G E , 1 \mathcal{M}^{GE,1}_{\alpha} M α GE , 1 requires numerical root-finding at every iteration t t t , which poses a significant computational barrier to its practical implementation. The main difficulty in inverting m ρ , c m_{\rho,c} m ρ , c arises from the presence of the Γ \Gamma Γ and γ \gamma γ functions. Leveraging some tight upper and lower bounds for the incomplete gamma functions [113 ] , we circumvent this issue by deriving sharp closed-form upper bounds for M α G E , 1 \mathcal{M}^{GE,1}_{\alpha} M α GE , 1 .
In particular, write
a ( v , b ) : = 1 + [ v + ( ρ − c 2 ) + ] c 2 b 2 , a(v,b) := 1 + \frac{[v+(\rho-c^2)_+]}{c^2b^2}, a ( v , b ) := 1 + c 2 b 2 [ v + ( ρ − c 2 ) + ] ,
q ( v , b ) : = a ( v , b ) a ( v , b ) e − a ( v , b ) / Γ ( a ( v , b ) ) , q(v,b) := a(v,b)^{a(v,b)}e^{-a(v,b)}/\Gamma(a(v,b)), q ( v , b ) := a ( v , b ) a ( v , b ) e − a ( v , b ) /Γ ( a ( v , b )) ,
and,
κ : = ( ρ / c 2 ) ρ / c 2 e − ρ / c 2 Γ ( ρ / c 2 ) γ ( ρ / c 2 , ρ / c 2 ) . (33) \kappa:= \frac{(\rho/c^2)^{\rho/c^2}e^{-\rho/c^2}}{\Gamma(\rho/c^2)\gamma(\rho/c^2,\rho/c^2)}. \tag*{(33)} κ := Γ ( ρ / c 2 ) γ ( ρ / c 2 , ρ / c 2 ) ( ρ / c 2 ) ρ / c 2 e − ρ / c 2 . (33)
where z + : = max { z , 0 } z_+ := \max\{z,0\} z + := max { z , 0 } . Let L 0 ( v , b ) : = [ log ( b q ( v , b ) / ( α κ ) ) ] + \mathcal{L}_0(v,b) := [\log(bq(v,b)/(\alpha\kappa))]_+ L 0 ( v , b ) := [ log ( b q ( v , b ) / ( α κ )) ] + and
L ( v , b ) : = [ log ( q ( v , b ) [ b α κ + 1 1 + 2 a ( v , b ) L 0 ( v , b ) + 2 3 L 0 ( v , b ) ] ) ] + . (34) \mathcal{L}(v,b) := \left[\log\left(q(v,b)\left[\frac{b}{\alpha\kappa}+\frac{1}{1+\sqrt{2a(v,b)\mathcal{L}_0(v,b)+\frac{2}{3}\mathcal{L}_0(v,b)}}\right]\right)\right]_+. \tag*{(34)} L ( v , b ) := log q ( v , b ) α κ b + 1 + 2 a ( v , b ) L 0 ( v , b ) + 3 2 L 0 ( v , b ) 1 + . (34)
For a ≥ 0 a \ge0 a ≥ 0 , L ≥ 0 L \ge0 L ≥ 0 , further define
D a ( L ) : = min { 2 a L + L , 2 a L + 2 L 3 + ( 1 + a 2 a L + 2 L / 3 ) ( L 3 − 2 a L + a log ( 1 + 2 L a + 2 L 3 a ) ) } . (35) D_a(L) := \min\left\{\sqrt{2aL}+L,\sqrt{2aL}+\frac{2L}{3}+\left(1+\frac{a}{\sqrt{2aL+2L/3}}\right)\left(\frac{L}{3}-\sqrt{2aL}+a\log\left(1+\sqrt{\frac{2L}{a}}+\frac{2L}{3a}\right)\right)\right\}. \tag*{(35)} D a ( L ) := min { 2 a L + L , 2 a L + 3 2 L + ( 1 + 2 a L + 2 L /3 a ) ( 3 L − 2 a L + a log ( 1 + a 2 L + 3 a 2 L ) ) } . (35)
and u α , ρ , c ( v , b ) : = c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b ) ) u_{\alpha,\rho,c}(v,b) := c(b-1)+cbD_{a(v,b)}(\mathcal{L}(v,b)) u α , ρ , c ( v , b ) := c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b )) . Then Lemma 14.2 instructs that
M α G E , 2 ( t ; v , ρ ) : = u α , ρ , c ( V ‾ t , B ‾ t ) ≥ M α G E , 1 ( t ; v , ρ ) \mathcal{M}^{GE,2}_{\alpha}(t;v,\rho) := u_{\alpha,\rho,c}(\overline{V}_t,\overline{B}_t) \ge\mathcal{M}^{GE,1}_{\alpha}(t;v,\rho) M α GE , 2 ( t ; v , ρ ) := u α , ρ , c ( V t , B t ) ≥ M α GE , 1 ( t ; v , ρ )
satisfies P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ M α G E , 2 ( t ; v , ρ ) ) ≥ 1 − α \mathbb{P}\left(\text{for all } t \ge1: \sum_{s=1}^{t}\langle\xi_s,v_s\rangle\le\mathcal{M}^{GE,2}_{\alpha}(t;v,\rho)\right) \ge1-\alpha P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ M α GE , 2 ( t ; v , ρ ) ) ≥ 1 − α .
Discrete mixture boundary
Closed-form expressions are not always available, in which case the corresponding boundary must be obtained numerically via root-finding. To further facilitate numerical implementation, we also introduce discrete-mixture boundaries, which empirically retain much of the sharpness of their continuous-mixture counterparts.
Corollary 7.4 (Discrete mixture boundary). Fix deterministic support points λ k ∈ ( 0 , λ max ) \lambda_k \in(0,\lambda_{\max}) λ k ∈ ( 0 , λ m a x ) , k ≥ 0 k \ge0 k ≥ 0 , and deterministic weights $p_k > 0 satisfying ∑ k = 0 ∞ p k ≤ 1 \sum_{k=0}^{\infty}p_k \le1 ∑ k = 0 ∞ p k ≤ 1 . Then,
P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ D M α ( t ; v ) ) ≥ 1 − α , \mathbb{P}\left(\text{for all } t \ge1: \sum_{s=1}^{t}\langle\xi_s,v_s\rangle\le\mathcal{DM}_{\alpha}(t;v)\right) \ge1-\alpha, P ( for all t ≥ 1 : s = 1 ∑ t ⟨ ξ s , v s ⟩ ≤ D M α ( t ; v ) ) ≥ 1 − α ,
where,
D M α ( t ; v ) : = sup { x ∈ R : ∑ k ≥ 0 λ k ∈ Λ t ( v ) p k exp ( λ k x − ∑ s = 1 t Γ ψ ( Δ V s , λ k v s ) ) < 1 α } \mathcal{DM}_{\alpha}(t;\mathbf{v}) := \sup\left\{x \in\mathbb{R}: \sum_{\substack{k\geq0\\ \lambda_k\in\Lambda_t(\mathbf{v})}} p_k \exp\left(\lambda_k x-\sum_{s=1}^{t}\Gamma_{\psi}(\Delta V_s,\lambda_k v_s)\right) < \frac{1}{\alpha}\right\} D M α ( t ; v ) := sup ⎩ ⎨ ⎧ x ∈ R : k ≥ 0 λ k ∈ Λ t ( v ) ∑ p k exp ( λ k x − s = 1 ∑ t Γ ψ ( Δ V s , λ k v s ) ) < α 1 ⎭ ⎬ ⎫
Proof. Follows directly from Theorem 7.3 .
In particular, Howard et al. [ [59 ] suggests the choice
λ k = λ ˉ r k + 1 / 2 , p k = λ ˉ ( r − 1 ) r k + 1 f ( λ ˉ r k ) , \lambda_k=\frac{\bar{\lambda}}{r^{k+1/2}},\qquad p_k=\frac{\bar{\lambda}(r-1)}{r^{k+1}}f\left(\frac{\bar{\lambda}}{r^k}\right), λ k = r k + 1/2 λ ˉ , p k = r k + 1 λ ˉ ( r − 1 ) f ( r k λ ˉ ) ,
for some λ ˉ ∈ ( 0 , λ max ) \bar{\lambda}\in(0,\lambda_{\max}) λ ˉ ∈ ( 0 , λ m a x ) , r > 1 r>1 r > 1 , and non-increasing density function f : ( 0 , λ ˉ ) → R + f:(0,\bar{\lambda})\to\mathbb{R}_{+} f : ( 0 , λ ˉ ) → R + .
In the absence of any sharp upper bounds, both Theorem 7.3 and Corollary 7.4 require the boundary to be obtained by inverting m α ( x , t ; v , F ) = 1 / α m_{\alpha}(x,t;\mathbf{v},F)=1/\alpha m α ( x , t ; v , F ) = 1/ α in x x x , a one-dimensional root-finding problem that must be solved at every monitoring time.
Boundary by stitching method
The mixture boundaries of the preceding section require either closed-form inversion, as in the normal-mixture case, or numerical root-finding at every iteration. The stitching method, introduced in Howard et al. [ [59 ] for the sub-Gaussian and sub-gamma settings, avoids both by replacing the continuous mixture with a union bound over geometrically spaced epochs, each governed by a single linear boundary from Ville’s inequality. The resulting envelope admits a closed-form expression whose evaluation requires only the accumulated compensator ∑ s = 1 t Γ ψ ( Δ V s , λ k v s ) \sum_{s=1}^{t}\Gamma_{\psi}(\Delta V_s,\lambda_kv_s) ∑ s = 1 t Γ ψ ( Δ V s , λ k v s ) at each support point, with no root-finding step. The resulting stitching boundary recovers, and in some cases sharpens, the empirical-Bernstein envelopes derived in Aolaritei et al. [ [5 ] ; see Appendix 9 for the detailed comparisons. The price of this analytical simplicity is a loss of tightness: the stitching boundary replaces the weighted sum in the discrete-mixture construction of Corollary 7.4 by its largest single-account term, discarding the mutual cancellation among accounts that the mixture retains.
Proposition 8. Grant the conditions of Corollary 7.4. Then,
P ( for all t ≥ 1 : ∑ s = 1 t ⟨ ξ s , v s ⟩ ≤ S T α ( t ; v ) ) ≥ 1 − α , \mathbb{P}\left(\text{for all }t\geq1:\sum_{s=1}^{t}\langle\xi_s,v_s\rangle\leq S_{T_\alpha}(t;\mathbf{v})\right)\geq1-\alpha, P ( for all t ≥ 1 : s = 1 ∑ t ⟨ ξ s , v s ⟩ ≤ S T α ( t ; v ) ) ≥ 1 − α , where,
S T α ( t ; v ) : = inf k ≥ 0 λ k ∈ Λ t ( v ) log 1 α p k + ∑ s = 1 t Γ ψ ( Δ V s , λ k v s ) λ k , Λ t ( v ) : = [ 0 , λ max ∧ λ max sup 1 ≤ s ≤ t ∥ v s ∥ ) . S_{T_\alpha}(t;\mathbf{v}) := \inf_{\substack{k\geq0\\ \lambda_k\in\Lambda_t(\mathbf{v})}}\frac{\log\frac{1}{\alpha p_k}+\sum_{s=1}^{t}\Gamma_{\psi}(\Delta V_s,\lambda_kv_s)}{\lambda_k},\qquad\Lambda_t(\mathbf{v}):=\left[0,\lambda_{\max}\wedge\frac{\lambda_{\max}}{\sup_{1\leq s\leq t}\|v_s\|}\right). S T α ( t ; v ) := k ≥ 0 λ k ∈ Λ t ( v ) inf λ k log α p k 1 + ∑ s = 1 t Γ ψ ( Δ V s , λ k v s ) , Λ t ( v ) := [ 0 , λ m a x ∧ sup 1 ≤ s ≤ t ∥ v s ∥ λ m a x ) .
For explicit choices of λ k \lambda_k λ k and p k p_k p k , S T α S_{T_\alpha} S T α admits a closed-form expression or bound, eg. Corollary 2.4(ii) and (iii), thereby avoiding the numerical procedures typically required to compute mixture boundaries. In particular, in §3.2 and §9.2, we discuss recovering the stitching constructions corresponding to Aolaritei and Jordan [ [4 ] and Aolaritei et al. [ [5 ] , which showcase how our general approach can lead to their boundaries as special cases. However, this ease of computation comes at a cost; due to the presence of the infimum in S T α S_{T_\alpha} S T α , it follows D M α ( t ; v ) ≤ S T α ( t ; v ) \mathcal{DM}_{\alpha}(t;\mathbf{v})\leq S_{T_\alpha}(t;\mathbf{v}) D M α ( t ; v ) ≤ S T α ( t ; v ) for the same support points { λ l } \{\lambda_l\} { λ l } , weights { p k } \{p_k\} { p k } , and same CGF-like function ψ \psi ψ . On the other hand, both the mixture and stitching constructions above apply under the full generality of Definition 2.2 , accommodating sub-Gaussian, sub-gamma, sub-Poisson, and sub-exponential tails alike. When the noise is additionally known to be bounded, however, a sharper construction is available, as we describe next.
Boundary by betting method
Throughout this section, we assume bounded noise, specifically ∣ ξ t ∣ ≤ c |\xi_t| \le c ∣ ξ t ∣ ≤ c . Under this assumption, one may either take ψ = ψ N \psi= \psi_N ψ = ψ N with λ max = ∞ \lambda_{\max} = \infty λ m a x = ∞ and employ the normal-mixture or stitching boundary, or take ψ = ψ E , c \psi= \psi_{E,c} ψ = ψ E , c with λ max = 1 / c \lambda_{\max} = 1/c λ m a x = 1/ c and use the different mixture or stitching boundaries. However, it turns out that a sub-exponential mixture boundary itself can be improved via the product-betting martingales of Waudby-Smith and Ramdas [2024, Proposition 2]; see also Orabona and Jun [ [109 ] for related concentration bounds derived from portfolio wealth. The following theorem describes a general anytime-valid envelope constructed via betting strategies.
Theorem 7.5 (Betting boundary for bounded noise). Let ( ξ t ) t ≥ 1 (\xi_t)_{t \ge1} ( ξ t ) t ≥ 1 satisfy E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t = 0 E t − 1 ξ t = 0 and ∥ ξ t ∥ ≤ c \|\xi_t\| \le c ∥ ξ t ∥ ≤ c . Fix ( p k ) (p_k) ( p k ) and ( λ k ) (\lambda_k) ( λ k ) from Corollary 7.4. Recall Λ t ( v ) \Lambda_t(\mathbf{v}) Λ t ( v ) from Theorem 7.3 with λ max = 1 / c \lambda_{\max} = 1/c λ m a x = 1/ c . Then
B α 0 ( t ; v ) : = sup { y ∈ R : b α 0 ( y ; t , v ) < 1 α } , B^0_\alpha(t;\mathbf{v}) := \sup\left\{y \in\mathbb{R}: b^0_\alpha(y;t,\mathbf{v}) < \frac{1}{\alpha}\right\}, B α 0 ( t ; v ) := sup { y ∈ R : b α 0 ( y ; t , v ) < α 1 } , where
b α 0 ( y ; t , v ) : = ∑ k ≥ 0 λ k ∈ Λ t ( v ) p k exp ( λ k y − ∑ s = 1 t ψ E , 1 ( − λ k ⟨ v s , ξ s ⟩ ) ) b^0_\alpha(y;t,\mathbf{v}) := \sum_{\substack{k \ge0 \\ \lambda_k \in\Lambda_t(\mathbf{v})}} p_k \exp\left(\lambda_k y - \sum_{s=1}^{t}\psi_{E,1}\left(-\lambda_k\langle\mathbf{v}_s,\xi_s\rangle\right)\right) b α 0 ( y ; t , v ) := k ≥ 0 λ k ∈ Λ t ( v ) ∑ p k exp ( λ k y − s = 1 ∑ t ψ E , 1 ( − λ k ⟨ v s , ξ s ⟩ ) ) satisfies
P ( Y t ( v ) ≤ B α 0 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α . \mathbb{P}\left(Y_t(\mathbf{v}) \le B^0_\alpha(t;\mathbf{v})\text{ for all }t \ge1\right) \ge1-\alpha. P ( Y t ( v ) ≤ B α 0 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α .
We provide a succinct proof of this theorem in Appendix § 14 . We remark that, despite its resemblance to the discrete mixture boundary in Corollary 7.4, Theorem 7.5 produces a sharper boundary. This improvement comes from the use of exact martingales via the product betting construction K t K_t K t in (8) , while the exponentiated supermartingale used in mixing and stitching method may be thought of as introducing some slackness over an exact martingale property. The sharpness of B α 0 ( t ; v ) B^0_\alpha(t;\mathbf{v}) B α 0 ( t ; v ) can also be intuited from (14) , which yields ψ E , 1 ( − λ ⟨ v s , ξ s ⟩ ) ≤ Γ ψ E , c ( ξ s ξ s T , λ v s ) \psi_{E,1}(-\lambda\langle\mathbf{v}_s,\xi_s\rangle) \le\Gamma_{\psi_{E,c}}(\xi_s^{\xi_s^\mathsf{T}},\lambda\mathbf{v}_s) ψ E , 1 ( − λ ⟨ v s , ξ s ⟩) ≤ Γ ψ E , c ( ξ s ξ s T , λ v s ) . Informally, B α 0 B^0_\alpha B α 0 employs ψ E , 1 ( − λ ⟨ v s , ξ s ⟩ ) \psi_{E,1}(-\lambda\langle\mathbf{v}_s,\xi_s\rangle) ψ E , 1 ( − λ ⟨ v s , ξ s ⟩) directly based on the realized noise projections, whereas the mixture and stitching constructions replace each such term by a uniform upper bound which depends on ξ s \xi_s ξ s solely through the variance proxy Δ V s \Delta V_s Δ V s . When the noise is light-tailed relative to its range - that is, when ∣ ⟨ v s , ξ s ⟩ ∣ |\langle\mathbf{v}_s,\xi_s\rangle| ∣ ⟨ v s , ξ s ⟩ ∣ is typically much smaller than its worst-case bound c ∥ v s ∥ c\|\mathbf{v}_s\| c ∥ v s ∥ - this sharper control can yield a substantially tighter envelope.
A sharper betting envelope
In practice, often, the information provided is more than ∥ ξ t ∥ ≤ c \|\xi_t\| \le c ∥ ξ t ∥ ≤ c ; instead, one often has ξ t = g t − E t − 1 g t \xi_t = g_t - \mathbb{E}_{t-1}g_t ξ t = g t − E t − 1 g t , where g t g_t g t are observables, and it may be known that ∥ g t ∥ ≤ c \|g_t\| \le c ∥ g t ∥ ≤ c . In this case, we can adapt Theorem 7.5 to provide a sharper anytime-valid control than naively applying Theorem 7.5 with c c c replaced by 2 c 2c 2 c . The following corollary can be established by considering the product betting martingale
K t 1 ( v , λ ) = ∏ 1 ≤ s ≤ t s < τ ( λ ) 1 + λ ⟨ v s , g s ⟩ 1 + λ ⟨ v s , E s − 1 g s ⟩ , K 0 1 ( v , λ ) = 1. (36) K_t^1(\mathbf{v},\lambda) = \prod_{\substack{1 \le s \le t \\ s < \tau(\lambda)}} \frac{1+\lambda\langle\mathbf{v}_s,g_s\rangle}{1+\lambda\langle\mathbf{v}_s,\mathbb{E}_{s-1}g_s\rangle}, \qquad K_0^1(\mathbf{v},\lambda)=1. \tag*{(36)} K t 1 ( v , λ ) = 1 ≤ s ≤ t s < τ ( λ ) ∏ 1 + λ ⟨ v s , E s − 1 g s ⟩ 1 + λ ⟨ v s , g s ⟩ , K 0 1 ( v , λ ) = 1. (36)
We explain the intuition behind this choice in detail while discussing the betting constructions in §2.2.1.
Corollary 7.6. Let ( g t ) t ≥ 1 (g_t)_{t\ge1} ( g t ) t ≥ 1 be F t \mathcal{F}_t F t -adapted such that ∥ g t ∥ ≤ c \lVert g_t\rVert\le c ∥ g t ∥ ≤ c almost surely, where c > 0 c>0 c > 0 is constant. Let ξ t : = g t − E t − 1 g t \xi_t := g_t-\mathbb{E}_{t-1}g_t ξ t := g t − E t − 1 g t , and consider a predictable sequence v = ( v s ) s ≥ 1 \mathbf{v}=(v_s)_{s\ge1} v = ( v s ) s ≥ 1 . Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , { λ k } k ≥ 0 ∈ ( 0 , 1 / c ) \{\lambda_k\}_{k\ge0}\in(0,1/c) { λ k } k ≥ 0 ∈ ( 0 , 1/ c ) such that λ k ↓ 0 \lambda_k\downarrow0 λ k ↓ 0 , and deterministic weights p k > 0 p_k>0 p k > 0 with ∑ k ≥ 0 p k = 1 \sum_{k\ge0}p_k=1 ∑ k ≥ 0 p k = 1 . Recall Λ t ( v ) \Lambda_t(\mathbf{v}) Λ t ( v ) from Theorem 7.3 with λ max = 1 / c \lambda_{\max}=1/c λ m a x = 1/ c . Then
B α 1 ( t ; v ) : = sup { y ∈ R : b α 1 ( y ; t , v ) < 1 α } , where, \mathcal{B}^1_\alpha(t;\mathbf{v}) := \sup\left\{y\in\mathbb{R}:b^1_\alpha(y;t,\mathbf{v})<\frac{1}{\alpha}\right\},\quad\text{where,} B α 1 ( t ; v ) := sup { y ∈ R : b α 1 ( y ; t , v ) < α 1 } , where, b α 1 ( y ; t , v ) : = ∑ k ≥ 0 λ k ∈ Λ t ( v ) p k exp [ λ k y − ∑ s = 1 t ψ E , 1 ( − λ k ⟨ v s , g s ⟩ ) + ∑ s = 1 t ψ E , 1 ( − λ k ⟨ v s , E s − 1 g s ⟩ ) ] b^1_\alpha(y;t,\mathbf{v}) := \sum_{\substack{k\ge0\\ \lambda_k\in\Lambda_t(\mathbf{v})}}p_k\exp\left[\lambda_k y-\sum_{s=1}^{t}\psi_{E,1}(-\lambda_k\langle v_s,g_s\rangle)+\sum_{s=1}^{t}\psi_{E,1}(-\lambda_k\langle v_s,\mathbb{E}_{s-1}g_s\rangle)\right] b α 1 ( y ; t , v ) := k ≥ 0 λ k ∈ Λ t ( v ) ∑ p k exp [ λ k y − s = 1 ∑ t ψ E , 1 ( − λ k ⟨ v s , g s ⟩) + s = 1 ∑ t ψ E , 1 ( − λ k ⟨ v s , E s − 1 g s ⟩) ] satisfies
P ( Y t ( v ) ≤ B α 1 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α . \mathbb{P}\left(Y_t(\mathbf{v})\le\mathcal{B}^1_\alpha(t;\mathbf{v})\text{ for all }t\ge1\right)\ge1-\alpha. P ( Y t ( v ) ≤ B α 1 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α .
Corollary 7.6 can be made into an observable envelope, as discussed in Theorem 2.5 .
Proofs of results in §7
Proof of Lemma 7.1. For notational convenience, let
κ t ( u , λ ) : = exp ( λ ⟨ u , ξ t ⟩ − ψ ( λ ) u T Δ V t u ) . \kappa_t(u,\lambda):=\exp\left(\lambda\langle u,\xi_t\rangle-\psi(\lambda)u^\mathsf{T}\Delta V_tu\right). κ t ( u , λ ) := exp ( λ ⟨ u , ξ t ⟩ − ψ ( λ ) u T Δ V t u ) .
If (3) holds, then, for a fixed t t t , and u ∈ S d − 1 u\in\mathbb{S}^{d-1} u ∈ S d − 1 , choose v s = u 1 s = t v_s=u\mathbf{1}_{s=t} v s = u 1 s = t . Clearly, M t − 1 ( v , λ ) = 1 M_{t-1}(\mathbf{v},\lambda)=1 M t − 1 ( v , λ ) = 1 implies that
E t − 1 [ κ t ( u , λ ) ] = E t − 1 [ M t ( v , λ ) ] ≤ 1 , \mathbb{E}_{t-1}[\kappa_t(u,\lambda)]=\mathbb{E}_{t-1}[M_t(\mathbf{v},\lambda)]\le1, E t − 1 [ κ t ( u , λ )] = E t − 1 [ M t ( v , λ )] ≤ 1 ,
where in the final inequality we use the supermartingale structure of M t M_t M t . This shows that ∏ s = 1 t κ s ( u , λ ) \prod_{s=1}^{t}\kappa_s(u,\lambda) ∏ s = 1 t κ s ( u , λ ) , K 0 ( u , λ ) = 1 K_0(u,\lambda)=1 K 0 ( u , λ ) = 1 is a supermartingale, establishing Definition 2.2 .
For the converse, let
K t ( θ ) = ∏ s = 1 t exp ( ∑ s = 1 t ( ⟨ θ , ξ s ⟩ − Γ ψ ( Δ V s , θ ) ) ) , K 0 ( θ ) = 1 , K_t(\theta)=\prod_{s=1}^{t}\exp\left(\sum_{s=1}^{t}\left(\langle\theta,\xi_s\rangle-\Gamma_\psi(\Delta V_s,\theta)\right)\right),\quad K_0(\theta)=1, K t ( θ ) = s = 1 ∏ t exp ( s = 1 ∑ t ( ⟨ θ , ξ s ⟩ − Γ ψ ( Δ V s , θ ) ) ) , K 0 ( θ ) = 1 ,
for each θ \theta θ satisfying ∥ θ ∥ < λ max \lVert\theta\rVert<\lambda_{\max} ∥ θ ∥ < λ m a x . Proposition 7.20 of Ramdas and Wang [ [121 ] provides that K t ( θ ) K_t(\theta) K t ( θ ) is a non-negative supermartingale. Moreover, ( K t ( θ ) ) θ : ∥ θ ∥ < λ max (K_t(\theta))_{\theta:\lVert\theta\rVert<\lambda_{\max}} ( K t ( θ ) ) θ : ∥ θ ∥ < λ m a x is jointly measurable, and continuous in θ \theta θ ; in particular, continuity at θ = 0 \theta=0 θ = 0 follows from
0 ≤ Γ ψ ( Δ V t , θ ) ≤ ∥ Δ V t ∥ o p ψ ( ∥ θ ∥ ) ⟶ 0 as θ → 0. 0\le\Gamma_\psi(\Delta V_t,\theta)\le\lVert\Delta V_t\rVert_{\mathrm{op}}\psi(\lVert\theta\rVert)\longrightarrow0\text{ as }\theta\to0. 0 ≤ Γ ψ ( Δ V t , θ ) ≤ ∥ Δ V t ∥ op ψ (∥ θ ∥) ⟶ 0 as θ → 0.
Consequently, an application of Lemma 2.4 of Casgrain et al. [ [20 ] , along with the observation that
∏ s = 1 t ∫ θ : ∥ θ ∥ < λ max K s ( θ ) K s − 1 ( θ ) δ λ v s ( d θ ) = ∏ s = 1 t κ s ( λ v s ) = M t ( v , λ ) \prod_{s=1}^{t}\int_{\theta:\lVert\theta\rVert<\lambda_{\max}}\frac{K_s(\theta)}{K_{s-1}(\theta)}\,\delta_{\lambda v_s}(\mathrm{d}\theta)=\prod_{s=1}^{t}\kappa_s(\lambda v_s)=M_t(\mathbf{v},\lambda) s = 1 ∏ t ∫ θ : ∥ θ ∥ < λ m a x K s − 1 ( θ ) K s ( θ ) δ λ v s ( d θ ) = s = 1 ∏ t κ s ( λ v s ) = M t ( v , λ )
is a non-negative supermartingale, which completes the proof. □ \square □
Proof of Lemma 7.2. We first prove that E [ ∥ ξ t ∥ ] < ∞ \mathbb{E}[\lVert\xi_t\rVert]<\infty E [∥ ξ t ∥] < ∞ . Fix t ≥ 1 t\ge1 t ≥ 1 and u ∈ S d − 1 u\in\mathbb{S}^{d-1} u ∈ S d − 1 . Put X ( u ) = ⟨ u , ξ t ⟩ X(u)=\langle u,\xi_t\rangle X ( u ) = ⟨ u , ξ t ⟩ and Y ( u ) = u T Δ V t u Y(u)=u^\mathsf{T}\Delta V_tu Y ( u ) = u T Δ V t u . Choose a deterministic sequence λ n ∈ ( 0 , λ max ) \lambda_n\in(0,\lambda_{\max}) λ n ∈ ( 0 , λ m a x ) with λ n ↓ 0 \lambda_n\downarrow0 λ n ↓ 0 . Definition 2.2 gives, almost surely, for every $n\ge 1,
E t − 1 [ e λ n X ( u ) − ψ ( λ n ) Y ( u ) ] ≤ 1 , (37) \mathbb{E}_{t-1}\left[e^{\lambda_nX(u)-\psi(\lambda_n)Y(u)}\right]\le1, \tag*{(37)} E t − 1 [ e λ n X ( u ) − ψ ( λ n ) Y ( u ) ] ≤ 1 , (37)
which directly yields
E t − 1 [ e − ψ ( λ n ) Y ( u ) ( e λ n X ( u ) + e − λ n X ( u ) 2 − 1 ) ] ≤ E t − 1 [ 1 − e − ψ ( λ n ) Y ( u ) ] ≤ ψ ( λ n ) E t − 1 [ Y ( u ) ] ⟹ E t − 1 [ lim inf n → ∞ e − ψ ( λ n ) Y ( u ) 2 λ n − 2 ( e λ n X ( u ) + e − λ n X ( u ) 2 − 1 ) ] ≤ ( a ) lim inf n → ∞ 2 λ n − 2 ψ ( λ n ) E t − 1 [ Y ( u ) ] ⟹ ( b ) E t − 1 [ X ( u ) 2 ] ≤ ψ ′ ′ ( 0 ) E t − 1 [ Y ( u ) ] , (38) \begin{aligned}
\mathbb{E}_{t-1}\left[e^{-\psi(\lambda_n)Y(u)}\left(\frac{e^{\lambda_n X(u)}+e^{-\lambda_n X(u)}}{2}-1\right)\right]&\leq\mathbb{E}_{t-1}\left[1-e^{-\psi(\lambda_n)Y(u)}\right]\leq\psi(\lambda_n)\mathbb{E}_{t-1}[Y(u)]\\
\Longrightarrow\mathbb{E}_{t-1}\left[\liminf_{n\to\infty}e^{-\psi(\lambda_n)Y(u)}2\lambda_n^{-2}\left(\frac{e^{\lambda_n X(u)}+e^{-\lambda_n X(u)}}{2}-1\right)\right]&\underset{(a)}{\leq}\liminf_{n\to\infty}2\lambda_n^{-2}\psi(\lambda_n)\mathbb{E}_{t-1}[Y(u)]\\
&\underset{(b)}{\Longrightarrow}\mathbb{E}_{t-1}[X(u)^2]\leq\psi''(0)\mathbb{E}_{t-1}[Y(u)], \tag*{(38)}
\end{aligned} E t − 1 [ e − ψ ( λ n ) Y ( u ) ( 2 e λ n X ( u ) + e − λ n X ( u ) − 1 ) ] ⟹ E t − 1 [ n → ∞ lim inf e − ψ ( λ n ) Y ( u ) 2 λ n − 2 ( 2 e λ n X ( u ) + e − λ n X ( u ) − 1 ) ] ≤ E t − 1 [ 1 − e − ψ ( λ n ) Y ( u ) ] ≤ ψ ( λ n ) E t − 1 [ Y ( u )] ( a ) ≤ n → ∞ lim inf 2 λ n − 2 ψ ( λ n ) E t − 1 [ Y ( u )] ( b ) ⟹ E t − 1 [ X ( u ) 2 ] ≤ ψ ′′ ( 0 ) E t − 1 [ Y ( u )] , (38)
where (a) follows from Fatou's Lemma and (b) employs ψ ( λ n ) → 0 \psi(\lambda_n)\to0 ψ ( λ n ) → 0 and 2 ψ ( λ n ) / λ n 2 → ψ ′ ′ ( 0 ) 2\psi(\lambda_n)/\lambda_n^2\to\psi''(0) 2 ψ ( λ n ) / λ n 2 → ψ ′′ ( 0 ) . Letting u u u vary over the Euclidean basis vectors ( e j ) j = 1 d (e_j)_{j=1}^d ( e j ) j = 1 d , (38) leads to
E t − 1 [ ∥ ξ t ∥ 2 ] ≤ ψ ′ ′ ( 0 ) E t − 1 [ Tr ( Δ V t ) ] . \mathbb{E}_{t-1}[\|\xi_t\|^2]\leq\psi''(0)\mathbb{E}_{t-1}[\operatorname{Tr}(\Delta V_t)]. E t − 1 [ ∥ ξ t ∥ 2 ] ≤ ψ ′′ ( 0 ) E t − 1 [ Tr ( Δ V t )] .
Therefore, since ξ t \xi_t ξ t is square integrable, we can expand (37) to write
1 ± λ n E t − 1 X ( u ) − ψ ( λ n ) E t − 1 Y ( u ) ≤ E t − 1 [ e ± λ n X ( u ) − ψ ( λ n ) Y ( u ) ] ≤ 1 , 1\pm\lambda_n\mathbb{E}_{t-1}X(u)-\psi(\lambda_n)\mathbb{E}_{t-1}Y(u)\leq\mathbb{E}_{t-1}\left[e^{\pm\lambda_n X(u)-\psi(\lambda_n)Y(u)}\right]\leq1, 1 ± λ n E t − 1 X ( u ) − ψ ( λ n ) E t − 1 Y ( u ) ≤ E t − 1 [ e ± λ n X ( u ) − ψ ( λ n ) Y ( u ) ] ≤ 1 ,
from which it is immediate that
∣ E t − 1 X ( u ) ∣ ≤ ψ ( λ n ) λ n E t − 1 Y ( u ) → 0 , \left|\mathbb{E}_{t-1}X(u)\right|\leq\frac{\psi(\lambda_n)}{\lambda_n}\mathbb{E}_{t-1}Y(u)\to0, ∣ E t − 1 X ( u ) ∣ ≤ λ n ψ ( λ n ) E t − 1 Y ( u ) → 0 ,
where the limiting assertion follows by the definition of CGF-like function. In view of ξ t \xi_t ξ t being F \mathcal{F} F -adapted, this establishes that ( ξ t ) (\xi_t) ( ξ t ) constitutes a martingale difference sequence. Finally, E t − 1 [ ξ t ξ t T ] ≤ ψ ′ ′ ( 0 ) E t − 1 [ Δ V t ] \mathbb{E}_{t-1}[\xi_t\xi_t^\mathsf{T}]\leq\psi''(0)\mathbb{E}_{t-1}[\Delta V_t] E t − 1 [ ξ t ξ t T ] ≤ ψ ′′ ( 0 ) E t − 1 [ Δ V t ] follows trivially by noting that (38) holds for arbitrary u ∈ S d − 1 u\in\mathbb{S}^{d-1} u ∈ S d − 1 . This completes the proof. □
Proof of Theorem 7.3 . Fix λ ∈ [ 0 , λ max ) \lambda\in[0,\lambda_{\max}) λ ∈ [ 0 , λ m a x ) , and let
τ ( λ ) : = inf { t ≥ 1 : λ ∥ v t ∥ ≥ λ max } . \tau(\lambda):=\inf\{t\geq1:\lambda\|v_t\|\geq\lambda_{\max}\}. τ ( λ ) := inf { t ≥ 1 : λ ∥ v t ∥ ≥ λ m a x } .
with inf ∅ : = ∞ \inf\varnothing:=\infty inf ∅ := ∞ by convention. Denote v ~ s ( λ ) : = v s 1 { s < τ ( λ ) } \tilde{v}_s(\lambda):=v_s\mathbb{1}\{s<\tau(\lambda)\} v ~ s ( λ ) := v s 1 { s < τ ( λ )} . Then, by definition of stopping time τ ( λ ) \tau(\lambda) τ ( λ ) , v ~ s \tilde{v}_s v ~ s is predictable, and λ ∥ v ~ s ( λ ) ∥ < λ max \lambda\|\tilde{v}_s(\lambda)\|<\lambda_{\max} λ ∥ v ~ s ( λ ) ∥ < λ m a x . Therefore, Definition 2.2 , via (3) and Lemma 7.1 entails that
M n ( λ ) : = exp ( ∑ s = 1 n ( ⟨ v ~ s ( λ ) , ξ s ⟩ − Γ ψ ( Δ V s , λ v ~ s ( λ ) ) ) ) , M_n(\lambda):=\exp\left(\sum_{s=1}^{n}\left(\langle\tilde{v}_s(\lambda),\xi_s\rangle-\Gamma_\psi(\Delta V_s,\lambda\tilde{v}_s(\lambda))\right)\right), M n ( λ ) := exp ( s = 1 ∑ n ( ⟨ v ~ s ( λ ) , ξ s ⟩ − Γ ψ ( Δ V s , λ v ~ s ( λ )) ) ) ,
is a supermartingale. Similar to Lemma 2 of Howard et al. [ [59 ] , it follows that
M n ′ : = ∫ 0 λ max M n ( λ ) d F ( λ ) M'_n:=\int_0^{\lambda_{\max}}M_n(\lambda)\,\mathrm{d}F(\lambda) M n ′ := ∫ 0 λ m a x M n ( λ ) d F ( λ )
is an F n \mathcal{F}_n F n -adapted super-martingale6 . Therefore, Ville's inequality (Lemma 1, Howard et al. [ [58 ] ) implies that
P ( E α ) ≤ α , E α : = { M n ′ ≥ 1 / α for some n ∈ N } . (39) \mathbb{P}(\mathcal{E}_\alpha)\leq\alpha,\quad\mathcal{E}_\alpha:=\left\{M'_n\geq1/\alpha\text{ for some }n\in\mathbb{N}\right\}. \tag*{(39)} P ( E α ) ≤ α , E α := { M n ′ ≥ 1/ α for some n ∈ N } . (39)
Now, fix t ≥ 1 t\geq1 t ≥ 1 . Consequently, for λ ∈ [ 0 , λ max / sup 1 ≤ s ≤ t ∥ v s ∥ ) \lambda\in[0,\lambda_{\max}/\sup_{1\leq s\leq t}\|v_s\|) λ ∈ [ 0 , λ m a x / sup 1 ≤ s ≤ t ∥ v s ∥ ) , it follows τ ( λ ) > t \tau(\lambda)>t τ ( λ ) > t . Therefore, for all s ≤ t s\leq t s ≤ t , it holds that v s = v ~ s ( λ ) v_s=\tilde{v}_s(\lambda) v s = v ~ s ( λ ) , which, in conjunction with (39) yields that
P ( ∫ Λ t ( v ) exp ( ∑ s = 1 t ( λ ⟨ v s , ξ s ⟩ − Γ ψ ( Δ V s , λ v s ) ) ) d F ( λ ) ≥ 1 α ) ≤ α . \mathbb{P}\left(\int_{\Lambda_t(\boldsymbol{v})}\exp\left(\sum_{s=1}^{t}\left(\lambda\langle v_s,\xi_s\rangle-\Gamma_\psi(\Delta V_s,\lambda v_s)\right)\right)\,\mathrm{d}F(\lambda)\geq\frac{1}{\alpha}\right)\leq\alpha. P ( ∫ Λ t ( v ) exp ( s = 1 ∑ t ( λ ⟨ v s , ξ s ⟩ − Γ ψ ( Δ V s , λ v s ) ) ) d F ( λ ) ≥ α 1 ) ≤ α .
The conclusion follows by definition of $\mathcal{M}_\alpha(t;\boldsymbol{v}).
Proof of Theorem 7.5 . For λ > 0 \lambda> 0 λ > 0 , recall τ ( λ ) \tau(\lambda) τ ( λ ) from the proof of Theorem 7.3 , and set
K t 0 ( v , λ ) = ∏ 1 ≤ s ≤ t s < τ ( λ ) ( 1 + λ ⟨ v s , ξ s ⟩ ) , K 0 0 ( v , λ ) = 1. K_t^0(\mathbf{v},\lambda)=\prod_{\substack{1\le s\le t\\s<\tau(\lambda)}}(1+\lambda\langle\mathbf{v}_s,\boldsymbol{\xi}_s\rangle),\qquad K_0^0(\mathbf{v},\lambda)=1. K t 0 ( v , λ ) = 1 ≤ s ≤ t s < τ ( λ ) ∏ ( 1 + λ ⟨ v s , ξ s ⟩) , K 0 0 ( v , λ ) = 1.
Note that K t 0 ( v , λ ) K_t^0(\mathbf{v},\lambda) K t 0 ( v , λ ) is a nonnegative martingale. Since ∣ λ ⟨ v s , ξ s ⟩ 1 { s < τ ( λ ) } ∣ ≤ 1 \lvert\lambda\langle\mathbf{v}_s,\boldsymbol{\xi}_s\rangle\mathbf{1}\{s<\tau(\lambda)\}\rvert\le1 ∣ λ ⟨ v s , ξ s ⟩ 1 { s < τ ( λ )}∣ ≤ 1 , therefore conditional monotone convergence shows that K t 0 ( v ) = ∑ k ≥ 0 p k K t 0 ( v , λ k ) K_t^0(\mathbf{v})=\sum_{k\ge0}p_kK_t^0(\mathbf{v},\lambda_k) K t 0 ( v ) = ∑ k ≥ 0 p k K t 0 ( v , λ k ) is also a nonnegative martingale, with initial value at most one. Finally, if λ k ∈ Λ t ( v ) \lambda_k\in\Lambda_t(\mathbf{v}) λ k ∈ Λ t ( v ) , then τ ( λ k ) > t \tau(\lambda_k)>t τ ( λ k ) > t , and
log K t 0 ( v , λ k ) = λ k Y t ( v ) − ∑ s = 1 t ψ E , 1 ( − λ k ⟨ v s , ξ s ⟩ ) . \log K_t^0(\mathbf{v},\lambda_k)=\lambda_kY_t(\mathbf{v})-\sum_{s=1}^{t}\psi_{E,1}(-\lambda_k\langle\mathbf{v}_s,\boldsymbol{\xi}_s\rangle). log K t 0 ( v , λ k ) = λ k Y t ( v ) − s = 1 ∑ t ψ E , 1 ( − λ k ⟨ v s , ξ s ⟩) .
Thus, by definition, b α 0 ( Y t ( v ) ; t , v ) ≤ K t 0 ( v ) b_\alpha^0(Y_t(\mathbf{v});t,\mathbf{v})\le K_t^0(\mathbf{v}) b α 0 ( Y t ( v ) ; t , v ) ≤ K t 0 ( v ) . Ville’s inequality and monotonicity in y y y prove the assertion.
Optimization module for Stochastic gradient descent
Having discussed the different constructions of the observable boundaries for Y t ( v ) Y_t(\mathbf{v}) Y t ( v ) in §2.2.1 and § 9 , this section sheds light onto the other component of a time-uniform envelope for an iterative algorithm- namely, the optimization module . Considering stochastic gradient descent as a canonical example of iterative algorithms, this section concerns itself with the derivation of the recursion (1) under different assumptions, followed by their final conversion into anytime-valid boundaries through Theorems 2.3 -2.5 and Lemma 2.1 .
To that end, recall the SGD recursion given by (11) . When discussing different assumptions, it is instructive to note that the assumptions often imposed on an SGD analysis can be broadly classified into two categories.
Growth assumptions, which can be understood to impose a minimum curvature of the function F F F around the local or global optima; and
smoothness assumptions, which ensures F F F does not behave too erratically so that a reasonable initialization can be found.
We discuss many different assumptions belonging to each category in § 10.1 and § 10.2 respectively. Moreover, in Figure 4 we include a chart of the implications between the different assumptions, with detailed proofs deferred to § 10.4 . In § 10.3 , we provide the different performance measures, which we connect to the assumptions in §9 to derive the recursions and finally, the corresponding time-uniform boundaries.
Growth assumptions
Let A = ∇ 2 F ( x ⋆ ) A=\nabla^2F(x^\star) A = ∇ 2 F ( x ⋆ ) denote the Hessian of the optimization problem (11) . A growth assumption typically posits that F F F exhibits some notion of convexity around the local or global minima, so that once sufficiently close to the point, the SGD chain can ensure convergence. Formally, this translates to some lower bound on the growth of ∇ F \nabla F ∇ F . A standard example would be convexity.
Assumption 1 (C: Convexity). F F F is convex in X \mathcal{X} X :
F ( x ) − F ( y ) ≤ ⟨ ∇ F ( x ) , x − y ⟩ , x , y ∈ X . F(x)-F(y)\le\langle\nabla F(x),x-y\rangle,\qquad x,y\in\mathcal{X}. F ( x ) − F ( y ) ≤ ⟨ ∇ F ( x ) , x − y ⟩ , x , y ∈ X .
Of course, much weaker conditions need to be imposed to ensure SGD analyses for non-convex objective functions, which have substantial applications in modern machine learning. In Table 4 , we present a few more growth assumptions on the objective function commonly used in the analysis of SGD. Different analyses typically rely on different subsets of these assumptions.
Table 4. Growth assumptions; F ⋆ = inf x F ( x ) F^\star=\inf_x F(x) F ⋆ = inf x F ( x ) when no unique global minimum exists.
Smoothness assumptions
In contrast to the growth assumptions in § 10.1 , smoothness assumptions ensure that F F F possesses some sort of smoothness, so that a reasonable warm start can be guaranteed. This condition materializes through some upper-bound on the structure of ∇ F ( x ) \nabla F(x) ∇ F ( x ) (vis-à-vis the lower bounds in the growth assumptions), which rules out pathological examples. Similar to Table 4 , Table 5 collects the regularity conditions on F F F . We
Table 5. Smoothness assumptions
collect the various implications between Assumptions 1-10 in Figure 4 . The corresponding results and proofs are present in § 10.4 .
Performance measures
In the following, we also introduce the performance for which we seek to establish time-uniform control. We are primarily interested in the last iterate x t x_t x t ; a separate analysis with Polyak-Ruppert averaged iterates is provided in § 3.3 . Table 6 delineates the different metrics that we will henceforth consider. Note that the measures Z t , 4 Z_{t,4} Z t , 4 and Z t , 5 Z_{t,5} Z t , 5 were also analyzed by Aolaritei et al. [ [5 ] . Naturally, not every combination
Table 6. Performance measures for SGD. Here F ∗ : = F ( x ∗ ) F^{*} := F(x^{*}) F ∗ := F ( x ∗ ) and S t : = ∑ s = 1 t η s S_t := \sum_{s=1}^{t}\eta_s S t := ∑ s = 1 t η s . †Requires x ∗ x^{*} x ∗ to be unique.
of assumptions and performance measure yields a recursion of the form (1) . Each performance measure must instead be paired with structural assumptions that are compatible with it. In §9, we discuss many such different combinations of assumptions and performance measures, and elaborate on how to leverage Theorems 2.3 –2.5 along with Lemma 2.1 to provide different anytime-valid boundaries.
Proofs for implications between different growth and smoothness assumptions
Throughout, F ∈ C 1 ( R d ) F \in C^1(\mathbb{R}^d) F ∈ C 1 ( R d ) has a minimizer x ⋆ x^\star x ⋆ , and we write F ⋆ = F ( x ⋆ ) F^\star= F(x^\star) F ⋆ = F ( x ⋆ ) , h ( x ) : = F ( x ) − F ⋆ h(x) := F(x) - F^\star h ( x ) := F ( x ) − F ⋆ and r ( x ) : = ∥ x − x ⋆ ∥ r(x) := \lVert x - x^\star\rVert r ( x ) := ∥ x − x ⋆ ∥ ; in particular, ∇ F ( x ⋆ ) = 0 \nabla F(x^\star) = 0 ∇ F ( x ⋆ ) = 0 . As in Table 4 , Q C γ QC_\gamma Q C γ , and hence S t C = Q C 1 StC=QC_1 S tC = Q C 1 , includes uniqueness of x ⋆ x^\star x ⋆ ; we retain this convention wherever either condition is used. In particular, C ⇒ S t C C \Rightarrow StC C ⇒ S tC requires it, since convexity alone yields the star-convex inequality, but not uniqueness. We use S C m SC_m S C m for Assumption 3 with constant m > 0 m > 0 m > 0 , R S I μ RSI_\mu R S I μ , L S L LS_L L S L , L G L LG_L L G L , L C L 0 LC_{L_0} L C L 0 and D I S S a , b DISS_{a,b} D I S S a , b for the corresponding rows of Table 4 and Table 5 , and P Ł μ PŁ_\mu P Ł μ for ∥ ∇ F ( x ) ∥ 2 ≥ μ h ( x ) \lVert\nabla F(x)\rVert^2 \ge\mu h(x) ∥ ∇ F ( x ) ∥ 2 ≥ μ h ( x ) , i.e., K L ⋆ KL^\star K L ⋆ with φ ( s ) = μ s \varphi(s)=\sqrt{\mu s} φ ( s ) = μ s ; thus the P Ł PŁ P Ł parameter used here is twice that of Karimi et al. [ [67 ] . Finally, K L ⋆ KL^\star K L ⋆ means precisely Assumption 6; no integrability requirement on 1 / φ 1/\varphi 1/ φ is imposed.
Lemma 8.1 (Elementary implications). S C ⇒ C SC \Rightarrow C S C ⇒ C , C ⇒ S t C ⇒ Q C γ C \Rightarrow StC \Rightarrow QC_\gamma C ⇒ S tC ⇒ Q C γ ( 0 < γ ≤ 1 ) (0 < \gamma\le1) ( 0 < γ ≤ 1 ) , S C m ⇒ R S I m SC_m \Rightarrow RSI_m S C m ⇒ R S I m and P Ł ⇒ K L ⋆ PŁ \Rightarrow KL^\star P Ł ⇒ K L ⋆ . If P Ł μ PŁ_\mu P Ł μ holds, one may take φ ( s ) = μ s \varphi(s)=\sqrt{\mu s} φ ( s ) = μ s .
Proof. Integration along x + u ( y − x ) x+u(y-x) x + u ( y − x ) , u ∈ [ 0 , 1 ] u \in[0,1] u ∈ [ 0 , 1 ] , gives
F ( y ) − F ( x ) − ⟨ ∇ F ( x ) , y − x ⟩ = ∫ 0 1 ⟨ ∇ F ( x + u ( y − x ) ) − ∇ F ( x ) , y − x ⟩ d u ≥ m 2 ∥ y − x ∥ 2 , F(y)-F(x)-\langle\nabla F(x),y-x\rangle=\int_0^1\langle\nabla F(x+u(y-x))-\nabla F(x),y-x\rangle\,du\ge\frac{m}{2}\lVert y-x\rVert^2, F ( y ) − F ( x ) − ⟨ ∇ F ( x ) , y − x ⟩ = ∫ 0 1 ⟨ ∇ F ( x + u ( y − x )) − ∇ F ( x ) , y − x ⟩ d u ≥ 2 m ∥ y − x ∥ 2 ,
and dropping the last term yields convexity. Setting y = x ⋆ y=x^\star y = x ⋆ in the first-order inequality gives h ( x ) ≤ ⟨ ∇ F ( x ) , x − x ⋆ ⟩ h(x)\le\langle\nabla F(x),x-x^\star\rangle h ( x ) ≤ ⟨ ∇ F ( x ) , x − x ⋆ ⟩ , and γ h ( x ) ≤ h ( x ) \gamma h(x)\le h(x) γ h ( x ) ≤ h ( x ) gives Q C γ QC_\gamma Q C γ . Setting x ′ = x ⋆ x'=x^\star x ′ = x ⋆ in Assumption 3 and using ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 gives R S I m RSI_m R S I m . The P Ł PŁ P Ł implication follows by taking square roots. □
Lemma 8.2 (Appendix B of Karimi et al. [ [67 ] ). If S C m SC_m S C m holds, then ∥ ∇ F ( x ) ∥ 2 ≥ 2 m h ( x ) \lVert\nabla F(x)\rVert^2 \ge2m h(x) ∥ ∇ F ( x ) ∥ 2 ≥ 2 mh ( x ) , x ∈ R d x\in\mathbb{R}^d x ∈ R d ; that is, S C m ⇒ P Ł 2 m SC_m \Rightarrow PŁ_{2m} S C m ⇒ P Ł 2 m .
Lemma 8.3 (L S C ⇒ C LSC \Rightarrow C L S C ⇒ C ). Assumption 5 implies convexity.
Proof. For x ≠ x ′ x\ne x' x = x ′ , the inequality ∣ h x , x ′ ′ ′ ( u ) ∣ ≤ C ∥ x − x ′ ∥ ∣ h x , x ′ ′ ′ ( u ) ∣ \lvert h^{\prime\prime}_{x,x'}(u)\rvert\le C\lVert x-x'\rVert\lvert h^{\prime\prime}_{x,x'}(u)\rvert ∣ h x , x ′ ′′ ( u )∣ ≤ C ∥ x − x ′ ∥ ∣ h x , x ′ ′′ ( u )∣ with C > 0 C>0 C > 0 forces h x , x ′ ′ ′ ( u ) ≥ 0 h^{\prime\prime}_{x,x'}(u)\ge0 h x , x ′ ′′ ( u ) ≥ 0 . Hence every restriction of F F F to a line is convex. □
Lemma 8.4 (S C ⇒ D I S S SC \Rightarrow DISS S C ⇒ D I S S ). If S C m SC_m S C m holds, then D I S S a , b DISS_{a,b} D I S S a , b holds with a = m / 2 a=m/2 a = m /2 and any b > 0 b>0 b > 0 satisfying b ≥ ∥ ∇ F ( 0 ) ∥ 2 / ( 2 m ) b\ge\lVert\nabla F(0)\rVert^2/(2m) b ≥ ∥ ∇ F ( 0 ) ∥ 2 / ( 2 m ) .
Proof. Strong monotonicity and Young’s inequality give ⟨ x , ∇ F ( x ) ⟩ ≥ m ∥ x ∥ 2 + ⟨ x , ∇ F ( 0 ) ⟩ ≥ m 2 ∥ x ∥ 2 − ∥ ∇ F ( 0 ) ∥ 2 2 m \langle x,\nabla F(x)\rangle\ge m\lVert x\rVert^2+\langle x,\nabla F(0)\rangle\ge\frac{m}{2}\lVert x\rVert^2-\frac{\lVert\nabla F(0)\rVert^2}{2m} ⟨ x , ∇ F ( x )⟩ ≥ m ∥ x ∥ 2 + ⟨ x , ∇ F ( 0 )⟩ ≥ 2 m ∥ x ∥ 2 − 2 m ∥ ∇ F ( 0 ) ∥ 2 . □
Lemma 8.5 (P Ł + Q C γ + L S ⇒ R S I PŁ+QC_\gamma+LS\Rightarrow RSI P Ł + Q C γ + L S ⇒ R S I ). If P Ł μ PŁ_\mu P Ł μ , Q C γ QC_\gamma Q C γ and L S LS L S hold, then R S I q RSI_q R S I q holds with q = γ μ / 4 q=\gamma\mu/4 q = γ μ /4 .
Proof. By ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 , quasar-convexity and Theorem 2 of Karimi et al. [ [67 ] , ⟨ ∇ F ( x ) − ∇ F ( x ⋆ ) , x − x ⋆ ⟩ ≥ γ h ( x ) ≥ q r ( x ) 2 \langle\nabla F(x)-\nabla F(x^\star),x-x^\star\rangle\ge\gamma h(x)\ge q\,r(x)^2 ⟨ ∇ F ( x ) − ∇ F ( x ⋆ ) , x − x ⋆ ⟩ ≥ γ h ( x ) ≥ q r ( x ) 2 . □
Lemma 8.6 (R S I + L S ⇒ P Ł RSI+LS\Rightarrow PŁ R S I + L S ⇒ P Ł ). If R S I μ RSI_\mu R S I μ and L S L LS_L L S L hold, then P Ł 2 μ 2 / L PŁ_{2\mu^2/L} P Ł 2 μ 2 / L holds.
Proof. By ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 and the Cauchy–Schwarz inequality, R S I μ RSI_\mu R S I μ gives μ r ( x ) 2 ≤ ∥ ∇ F ( x ) ∥ r ( x ) \mu r(x)^2\le\lVert\nabla F(x)\rVert r(x) μ r ( x ) 2 ≤ ∥ ∇ F ( x )∥ r ( x ) , i.e., ∥ ∇ F ( x ) ∥ ≥ μ r ( x ) \lVert\nabla F(x)\rVert\ge\mu r(x) ∥ ∇ F ( x )∥ ≥ μ r ( x ) . Moreover, (17) at x ⋆ x^\star x ⋆ gives h ( x ) ≤ L r ( x ) 2 / 2 h(x)\le Lr(x)^2/2 h ( x ) ≤ L r ( x ) 2 /2 . Therefore, ∥ ∇ F ( x ) ∥ 2 ≥ μ 2 r ( x ) 2 ≥ 2 μ 2 L h ( x ) \lVert\nabla F(x)\rVert^2\ge\mu^2r(x)^2\ge\frac{2\mu^2}{L}h(x) ∥ ∇ F ( x ) ∥ 2 ≥ μ 2 r ( x ) 2 ≥ L 2 μ 2 h ( x ) . □
Lemma 8.7 (R S I + L G ⇒ D I S S RSI+LG\Rightarrow DISS R S I + L G ⇒ D I S S ). Suppose R S I μ RSI_\mu R S I μ and L G L LG_L L G L hold, and put c = ∥ x ⋆ ∥ c=\lVert x^\star\rVert c = ∥ x ⋆ ∥ . Then D I S S a , b DISS_{a,b} D I S S a , b holds with a = μ / 4 a=\mu/4 a = μ /4 and any b > 0 b>0 b > 0 satisfying b ≥ μ c 2 + c L + c 2 L 2 / μ b\ge\mu c^2+cL+c^2L^2/\mu b ≥ μ c 2 + c L + c 2 L 2 / μ .
Proof. By ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 , R S I μ \mathrm{RSI}_{\mu} RSI μ and L G L \mathrm{LG}_{L} LG L ,
⟨ x , ∇ F ( x ) ⟩ = ⟨ x − x ⋆ , ∇ F ( x ) ⟩ + ⟨ x ⋆ , ∇ F ( x ) ⟩ ≥ μ r ( x ) 2 − c L ( 1 + ∥ x ∥ ) ≥ μ 2 ∥ x ∥ 2 − μ c 2 − c L − c L ∥ x ∥ ≥ ( b ) μ 4 ∥ x ∥ 2 − ( μ c 2 + c L + c 2 L 2 μ ) , \begin{aligned}
\langle x,\nabla F(x)\rangle= \langle x-x^\star,\nabla F(x)\rangle+ \langle x^\star,\nabla F(x)\rangle\ge\mu r(x)^2-cL(1+\lVert x\rVert) \\
&\ge\frac{\mu}{2}\lVert x\rVert^2-\mu c^2-cL-cL\lVert x\rVert\mathrel{\ge}^{(b)} \frac{\mu}{4}\lVert x\rVert^2-\left(\mu c^2+cL+\frac{c^2L^2}{\mu}\right),
\end{aligned} ⟨ x , ∇ F ( x )⟩ = ⟨ x − x ⋆ , ∇ F ( x )⟩ + ⟨ x ⋆ , ∇ F ( x )⟩ ≥ μ r ( x ) 2 − c L ( 1 + ∥ x ∥) ≥ 2 μ ∥ x ∥ 2 − μ c 2 − c L − c L ∥ x ∥ ≥ ( b ) 4 μ ∥ x ∥ 2 − ( μ c 2 + c L + μ c 2 L 2 ) ,
where (a) uses ∥ x ∥ 2 ≤ 2 r ( x ) 2 + 2 c 2 \lVert x\rVert^2\le2r(x)^2+2c^2 ∥ x ∥ 2 ≤ 2 r ( x ) 2 + 2 c 2 , and (b) follows from Young’s inequality c L ∥ x ∥ ≤ μ 4 ∥ x ∥ 2 + c 2 L 2 μ cL\lVert x\rVert\le\frac{\mu}{4}\lVert x\rVert^2+\frac{c^2L^2}{\mu} c L ∥ x ∥ ≤ 4 μ ∥ x ∥ 2 + μ c 2 L 2 .
Lemma 8.8 (LS ⇒ \Rightarrow ⇒ LG and LC ⇒ \Rightarrow ⇒ LG). Both LS and LC imply LG.
Proof. Under L S L \mathrm{LS}_{L} LS L , ∥ ∇ F ( x ) ∥ ≤ L ∥ x ∥ + ∥ ∇ F ( 0 ) ∥ ≤ max { L , ∥ ∇ F ( 0 ) ∥ } ( 1 + ∥ x ∥ ) \lVert\nabla F(x)\rVert\le L\lVert x\rVert+\lVert\nabla F(0)\rVert\le\max\{L,\lVert\nabla F(0)\rVert\}(1+\lVert x\rVert) ∥ ∇ F ( x )∥ ≤ L ∥ x ∥ + ∥ ∇ F ( 0 )∥ ≤ max { L , ∥ ∇ F ( 0 )∥} ( 1 + ∥ x ∥) . Under L C L 0 \mathrm{LC}_{L_0} LC L 0 , ∣ F ( x + t u ) − F ( x ) ∣ ≤ L 0 t ∣ t ∣ \lvert F(x+tu)-F(x)\rvert\le L_0t\lvert t\rvert ∣ F ( x + t u ) − F ( x )∣ ≤ L 0 t ∣ t ∣ immediately leads to ⟨ ∇ F ( x ) , u ⟩ ≤ L 0 \langle\nabla F(x),u\rangle\le L_0 ⟨ ∇ F ( x ) , u ⟩ ≤ L 0 for every unit vector u u u , which completes the proof.
Lemma 8.9 (Q C γ + D I S S a , b ⇒ K L ⋆ \mathrm{QC}_{\gamma}+\mathrm{DISS}_{a,b}\Rightarrow\mathrm{KL}^{\star} QC γ + DISS a , b ⇒ KL ⋆ ). Suppose Q C γ \mathrm{QC}_{\gamma} QC γ and D I S S a , b \mathrm{DISS}_{a,b} DISS a , b hold. Choose R > max { 1 , 2 b / a } R>\max\{1,\sqrt{2b/a}\} R > max { 1 , 2 b / a } and put D = R + ∥ x ⋆ ∥ D=R+\lVert x^\star\rVert D = R + ∥ x ⋆ ∥ . Then K L ⋆ \mathrm{KL}^{\star} KL ⋆ holds with
φ ( s ) = min { γ s D , a R 2 } . \varphi(s)=\min\left\{\frac{\gamma s}{D},\frac{aR}{2}\right\}. φ ( s ) = min { D γ s , 2 a R } .
Proof. If ∥ x ∥ ≤ R \lVert x\rVert\le R ∥ x ∥ ≤ R , quasar-convexity gives γ h ( x ) ≤ ∥ ∇ F ( x ) ∥ ∥ x − x ⋆ ∥ ≤ D ∥ ∇ F ( x ) ∥ \gamma h(x)\le\lVert\nabla F(x)\rVert\lVert x-x^\star\rVert\le D\lVert\nabla F(x)\rVert γ h ( x ) ≤ ∥ ∇ F ( x )∥ ∥ x − x ⋆ ∥ ≤ D ∥ ∇ F ( x )∥ . If ∥ x ∥ ≥ R \lVert x\rVert\ge R ∥ x ∥ ≥ R , dissipativity gives ∥ ∇ F ( x ) ∥ ≥ a ∥ x ∥ − b ∥ x ∥ ≥ a R 2 \lVert\nabla F(x)\rVert\ge a\lVert x\rVert-\frac{b}{\lVert x\rVert}\ge\frac{aR}{2} ∥ ∇ F ( x )∥ ≥ a ∥ x ∥ − ∥ x ∥ b ≥ 2 a R .
Lemma 8.10 (P L μ + Q C γ + L S ⇒ D I S S \mathrm{PL}_{\mu}+\mathrm{QC}_{\gamma}+\mathrm{LS}\Rightarrow\mathrm{DISS} PL μ + QC γ + LS ⇒ DISS ). Suppose P L μ \mathrm{PL}_{\mu} PL μ , Q C γ \mathrm{QC}_{\gamma} QC γ and L S L \mathrm{LS}_{L} LS L hold. Set q = γ μ / 4 q=\gamma\mu/4 q = γ μ /4 and c = ∥ x ⋆ ∥ c=\lVert x^\star\rVert c = ∥ x ⋆ ∥ . Then D I S S a , b \mathrm{DISS}_{a,b} DISS a , b holds with
a = q 4 , b = 1 + ( q 2 + L 2 2 q ) c 2 . a=\frac{q}{4},\quad b=1+\left(\frac{q}{2}+\frac{L^2}{2q}\right)c^2. a = 4 q , b = 1 + ( 2 q + 2 q L 2 ) c 2 .
Proof. Lemma 8.5 gives ⟨ ∇ F ( x ) , x − x ⋆ ⟩ ≥ q r ( x ) 2 \langle\nabla F(x),x-x^\star\rangle\ge qr(x)^2 ⟨ ∇ F ( x ) , x − x ⋆ ⟩ ≥ q r ( x ) 2 , while smoothness gives ∥ ∇ F ( x ) ∥ ≤ L r ( x ) \lVert\nabla F(x)\rVert\le Lr(x) ∥ ∇ F ( x )∥ ≤ L r ( x ) . Thus
⟨ x , ∇ F ( x ) ⟩ ≥ q r ( x ) 2 − L c r ( x ) ≥ ( a ) q 2 r ( x ) 2 − L 2 c 2 2 q ≥ ( b ) q 4 ∥ x ∥ 2 − ( q 2 + L 2 2 q ) c 2 , \langle x,\nabla F(x)\rangle\ge qr(x)^2-Lcr(x)\mathrel{\ge}^{(a)}\frac{q}{2}r(x)^2-\frac{L^2c^2}{2q}\mathrel{\ge}^{(b)}\frac{q}{4}\lVert x\rVert^2-\left(\frac{q}{2}+\frac{L^2}{2q}\right)c^2, ⟨ x , ∇ F ( x )⟩ ≥ q r ( x ) 2 − L cr ( x ) ≥ ( a ) 2 q r ( x ) 2 − 2 q L 2 c 2 ≥ ( b ) 4 q ∥ x ∥ 2 − ( 2 q + 2 q L 2 ) c 2 ,
where (a) follows from Young’s inequality, and (b) uses ∥ x ∥ 2 ≤ 2 r ( x ) 2 + 2 c 2 \lVert x\rVert^2\le2r(x)^2+2c^2 ∥ x ∥ 2 ≤ 2 r ( x ) 2 + 2 c 2 .
In this section, we analyze some of the different combinations of assumptions and performance measures that lead to the key recursion (1) for some corresponding choices of ( a t ) t ≥ 1 (a_t)_{t\ge1} ( a t ) t ≥ 1 , ( b t ) t ≥ 1 (b_t)_{t\ge1} ( b t ) t ≥ 1 and ( ν t ) t ≥ 1 (\nu_t)_{t\ge1} ( ν t ) t ≥ 1 . To start off, we discuss the conditions of § 3.1 and § 3.2 , for both of which we have discussed the derivation of (1) with the corresponding measures Z t , 1 Z_{t,1} Z t , 1 , Z t , 2 Z_{t,2} Z t , 2 and Z t , 5 Z_{t,5} Z t , 5 , and the subsequent betting constructions. Here, we briefly discuss some stitching constructions through which we also recover the envelopes discussed in Aloralite and Jordan [2025] and Aloralite et al. [2026].
sub-Gamma stitching boundary for RSI with Z t , 1 Z_{t,1} Z t , 1
Recall that the optimization module for RSI is present in § 3.1.1 , where we additionally assumed that ∥ g t ∥ ≤ G \lVert g_t\rVert\le G ∥ g t ∥ ≤ G . Subsequently, we also discussed a betting-based boundary R t b e t R_t^{\mathrm{bet}} R t bet , along with comparisons to exponential discrete mixture boundary R t d m R_t^{\mathrm{dm}} R t dm , exponential stitching boundary R t S T R_t^{\mathrm{ST}} R t ST , and sub-gamma stitching boundary R ~ t S T \widetilde{R}_t^{\mathrm{ST}} R t ST in § 3.1.2 ; in particular, R t b e t R_t^{\mathrm{bet}} R t bet is strictly sharper than the stitching boundary R t S T R_t^{\mathrm{ST}} R t ST we are going to discuss in the following. Nonetheless, for the sake of completeness, we include a discussion here to highlight how our general theorems recover existing results simply through a direct choice of the parameters.
Observe that ( ξ t , g t g t T ) t ≥ 1 (\xi_t, g_tg_t^\mathsf{T})_{t\geq1} ( ξ t , g t g t T ) t ≥ 1 is a sub-ψ E , G \psi_{E,G} ψ E , G process and λ max = 1 / G \lambda_{\max}=1/G λ m a x = 1/ G , and Δ V t : = g t g t T ≤ ν t I \Delta V_t := g_tg_t^\mathsf{T}\leq\nu_t I Δ V t := g t g t T ≤ ν t I with ν t : = ∥ g t ∥ 2 \nu_t:=\lVert g_t\rVert^2 ν t := ∥ g t ∥ 2 . In the notation of Theorem 2.3 , K t ( λ ) : = ∑ s = 1 t ∥ g s ∥ 2 ψ G , G ( λ M s ) K_t(\lambda):=\sum_{s=1}^{t}\lVert g_s\rVert^2\psi_{G,G}(\lambda M_s) K t ( λ ) := ∑ s = 1 t ∥ g s ∥ 2 ψ G , G ( λ M s ) . Following Theorem 2.3 , define
U t S T : = inf k ≥ 0 λ k ∈ Λ t ( M ) log 1 α p k + ∑ s = 1 t ∥ g s ∥ 2 ψ G , G ( λ k M s ) λ k . U_t^{\mathrm{ST}}:=\inf_{\substack{k\geq0\\ \lambda_k\in\Lambda_t(M)}}\frac{\log\frac{1}{\alpha p_k}+\sum_{s=1}^{t}\lVert g_s\rVert^2\psi_{G,G}(\lambda_kM_s)}{\lambda_k}. U t ST := k ≥ 0 λ k ∈ Λ t ( M ) inf λ k log α p k 1 + ∑ s = 1 t ∥ g s ∥ 2 ψ G , G ( λ k M s ) .
with Λ t ( M ) \Lambda_t(M) Λ t ( M ) as in Theorem 2.3 . Define R ~ t S T \widetilde{R}_t^{\mathrm{ST}} R t ST as in Lemma 2.1 , and M t : = 2 η t R ~ t − 1 S T / A t M_t:=2\eta_t\sqrt{\widetilde{R}_{t-1}^{\mathrm{ST}}/A_t} M t := 2 η t R t − 1 ST / A t . Therefore, with v ~ = ( v s / A s ) s ≥ 1 \widetilde{\boldsymbol{v}}=(v_s/A_s)_{s\geq1} v = ( v s / A s ) s ≥ 1 , Theorem 2.3 gives
P ( ⋃ t ≥ 1 { E t ( M ) ∩ { Y t ( v ~ ) > U t S T } } ) ≤ α , E t ( M ) = ⋂ s = 1 t { ∥ v s A s ∥ ≤ M s } . \mathbb{P}\left(\bigcup_{t\geq1}\left\{E_t(M)\cap\{Y_t(\widetilde{\boldsymbol{v}})>U_t^{\mathrm{ST}}\}\right\}\right)\leq\alpha,\qquad E_t(M)=\bigcap_{s=1}^{t}\left\{\left\lVert\frac{v_s}{A_s}\right\rVert\leq M_s\right\}. P ( t ≥ 1 ⋃ { E t ( M ) ∩ { Y t ( v ) > U t ST } } ) ≤ α , E t ( M ) = s = 1 ⋂ t { A s v s ≤ M s } .
It remains to verify (2) . On ⋂ s = 0 t − 1 { Z s , 1 ≤ R ~ s S T } \bigcap_{s=0}^{t-1}\{Z_{s,1}\leq\widetilde{R}_s^{\mathrm{ST}}\} ⋂ s = 0 t − 1 { Z s , 1 ≤ R s ST } , for every s ≤ t s\leq t s ≤ t ,
∥ v s A s ∥ = 2 η s Z s − 1 , 1 A s ≤ 2 η s R ~ s − 1 S T A s = M s , \left\lVert\frac{v_s}{A_s}\right\rVert=\frac{2\eta_s\sqrt{Z_{s-1,1}}}{A_s}\leq\frac{2\eta_s\sqrt{\widetilde{R}_{s-1}^{\mathrm{ST}}}}{A_s}=M_s, A s v s = A s 2 η s Z s − 1 , 1 ≤ A s 2 η s R s − 1 ST = M s ,
that is, E t ( M ) E_t(M) E t ( M ) holds, and there M α ( t ; v ~ ) = U t S T \mathcal{M}_\alpha(t;\widetilde{\boldsymbol{v}})=U_t^{\mathrm{ST}} M α ( t ; v ) = U t ST . This is (2) , and Lemma 2.1 yields
P ( Z t , 1 ≤ R ~ t S T for all t ≥ 0 ) ≥ 1 − α . \mathbb{P}\left(Z_{t,1}\leq\widetilde{R}_t^{\mathrm{ST}}\text{ for all }t\geq0\right)\geq1-\alpha. P ( Z t , 1 ≤ R t ST for all t ≥ 0 ) ≥ 1 − α .
In particular, letting
p k , ℓ = 1 ( k + 1 ) ( k + 2 ) ( ℓ + 1 ) ( ℓ + 2 ) , λ k , ℓ = 1 2 ℓ + 2 k − 1 / log ( 1 / ( α p k , ℓ ) ) , p_{k,\ell}=\frac{1}{(k+1)(k+2)(\ell+1)(\ell+2)},\qquad\lambda_{k,\ell}=\frac{1}{2^\ell+\sqrt{2^{k-1}/\log(1/(\alpha p_{k,\ell}))}}, p k , ℓ = ( k + 1 ) ( k + 2 ) ( ℓ + 1 ) ( ℓ + 2 ) 1 , λ k , ℓ = 2 ℓ + 2 k − 1 / log ( 1/ ( α p k , ℓ )) 1 ,
we recover the empirical Bernstein boundary of Theorem 3.5 of Aolaritei et al. [ [5 ] . Note that we do not compare with Theorem 2.3 therein, as their Theorem 3.5 already provides a sharpened boundary; however, even their Theorem 2.3 can be recovered via a sub-Gaussian stitching with the choices p k = ( k + 1 ) − 1 ( k + 2 ) − 1 p_k=(k+1)^{-1}(k+2)^{-1} p k = ( k + 1 ) − 1 ( k + 2 ) − 1 , and λ k = log ( 1 / α p k ) / 2 k + 1 \lambda_k=\sqrt{\log(1/\alpha p_k)/2^{k+1}} λ k = log ( 1/ α p k ) / 2 k + 1 . We emphasize that other choices of λ k \lambda_k λ k and p k p_k p k produces other anytime-valid boundaries.
sub-Gaussian stitching boundary for LS and Z ~ t , 2 \widetilde{Z}_{t,2} Z t , 2
This section complements the self-normalized and betting constructions in § 3.2.2 and § 3.2.3 by providing a sub-Gaussian stitching construction. Along the way, much akin to §9.1, we recover results from Aolaritei and Jordan [ [4 ] while also providing a class of alternative results which can be sharper than Aolaritei and Jordan [ [4 ] even under weaker conditions.
Recall (18) . Moreover, under bounded gradients, v t = η t ∇ F ( x t − 1 ) v_t=\eta_t\nabla F(x_{t-1}) v t = η t ∇ F ( x t − 1 ) satisfies ∥ v t ∥ ≤ M t : = η t G \lVert v_t\rVert\leq M_t:=\eta_tG ∥ v t ∥ ≤ M t := η t G . Clearly, with this choice of M M M , E t ( M ) E_t(M) E t ( M ) of Theorem 2.3 holds surely for every t t t . In particular, Corollary 2.4(ii) along with Lemma 2.1 recovers the observable boundary in Corollary 2.6 of Aolaritei and Jordan [ [4 ] :
R ‾ t A J : = R ‾ 0 A J + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 / 2 + min { 4 S α ( σ 2 G 2 ∑ s = 1 t η s 2 ) , 7 S α ( 4 − 1 σ 2 G 2 ∑ s = 1 t η s 2 ) } . \overline{R}_t^{\mathrm{AJ}}:=\overline{R}_0^{\mathrm{AJ}}+L\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2/2+\min\left\{4S\alpha\left(\sigma^2G^2\sum_{s=1}^{t}\eta_s^2\right),7S\alpha\left(4^{-1}\sigma^2G^2\sum_{s=1}^{t}\eta_s^2\right)\right\}. R t AJ := R 0 AJ + L s = 1 ∑ t η s 2 ∥ g s ∥ 2 /2 + min { 4 S α ( σ 2 G 2 s = 1 ∑ t η s 2 ) , 7 S α ( 4 − 1 σ 2 G 2 s = 1 ∑ t η s 2 ) } .
In the following, we recover an alternate bound without the deterministic control on the gradient. In fact, we observe that from (17) it follows directly that
∥ v t ∥ 2 = η t 2 ∥ ∇ F ( x t − 1 ) ∥ 2 ≤ 2 η t 2 L ( F ( x t − 1 ) − F ∗ ) ≤ 2 η t 2 L Z t − 1 , 2 . \lVert v_t\rVert^2 = \eta_t^2\lVert\nabla F(x_{t-1})\rVert^2 \le2\eta_t^2 L(F(x_{t-1})-F^*) \le2\eta_t^2 LZ_{t-1,2}. ∥ v t ∥ 2 = η t 2 ∥ ∇ F ( x t − 1 ) ∥ 2 ≤ 2 η t 2 L ( F ( x t − 1 ) − F ∗ ) ≤ 2 η t 2 L Z t − 1 , 2 .
and consequently, one can recursively define
R t † : = R 0 † + L ∑ s = 1 t η s 2 ∥ g s ∥ 2 / 2 + min { 4 S α ( 2 L σ 2 ∑ s = 1 t η s 2 R s − 1 † ) , 7 S α ( 2 − 1 L σ 2 ∑ s = 1 t η s 2 R s − 1 † ) } . R_t^\dagger:= R_0^\dagger+ L\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2/2+\min\left\{4S\alpha\left(2L\sigma^2\sum_{s=1}^{t}\eta_s^2R_{s-1}^\dagger\right),7S\alpha\left(2^{-1}L\sigma^2\sum_{s=1}^{t}\eta_s^2R_{s-1}^\dagger\right)\right\}. R t † := R 0 † + L s = 1 ∑ t η s 2 ∥ g s ∥ 2 /2 + min { 4 S α ( 2 L σ 2 s = 1 ∑ t η s 2 R s − 1 † ) , 7 S α ( 2 − 1 L σ 2 s = 1 ∑ t η s 2 R s − 1 † ) } .
Clearly, R t † R_t^\dagger R t † is also anytime-valid via Corollary 2.4 and Lemma 2.1 . In particular, this does not require gradients to be bounded. In general, R t † R_t^\dagger R t † and R ˉ t A J \bar{R}_t^{\mathrm{AJ}} R ˉ t AJ are not directly comparable; however, R t † R_t^\dagger R t † can be sharper than the boundary R ˉ t A J \bar{R}_t^{\mathrm{AJ}} R ˉ t AJ , which does not use the information of the chain’s position in controlling ∥ v t ∥ 2 \lVert v_t\rVert^2 ∥ v t ∥ 2 . On the other hand, as previously discussed in § 3.1.2 , a provably sharper boundary can be obtained by maintaining the choices of p k p_k p k and λ k \lambda_k λ k , and invoking the discrete mixture boundary, Corollary 7.4.
Boundaries under LS and KŁ*
Much like the combination of growth and smoothness assumptions (SC and LS respectively), in this section we pair LS with the Kurdyka–Łojasiewicz or KŁ* condition. Concretely, suppose that F F F attains F ∗ = F ( x ∗ ) F^*=F(x^*) F ∗ = F ( x ∗ ) and satisfies the gap inequality of Assumption 6, written as
∥ ∇ F ( x ) ∥ ≥ φ ( F ( x ) − F ∗ ) , x ∈ R d , (40) \lVert\nabla F(x)\rVert\ge\varphi(F(x)-F^*),\quad x\in\mathbb{R}^d, \tag*{(40)} ∥ ∇ F ( x )∥ ≥ φ ( F ( x ) − F ∗ ) , x ∈ R d , (40)
where the known φ : [ 0 , ∞ ) → [ 0 , ∞ ) \varphi:[0,\infty)\to[0,\infty) φ : [ 0 , ∞ ) → [ 0 , ∞ ) is nondecreasing with φ ( 0 ) = 0 \varphi(0)=0 φ ( 0 ) = 0 and φ ( u ) > 0 \varphi(u)>0 φ ( u ) > 0 for u > 0 u>0 u > 0 . This includes the celebrated Polyak–Łojasiewicz condition φ ( u ) = μ u \varphi(u)=\sqrt{\mu u} φ ( u ) = μu [116 ] and the power-type conditions of Scaman et al. [ [129 ] . Interestingly, this modest growth assumption enables us to control the performance measure Z t , 2 Z_{t,2} Z t , 2 directly.
Optimization module
As is the norm throughout the examples in this paper, we start off by deriving a nonlinear recursion. Applying (17) with x = x t − 1 x=x_{t-1} x = x t − 1 and y = x t = x t − 1 − η t g t y=x_t=x_{t-1}-\eta_tg_t y = x t = x t − 1 − η t g t , and substituting g t = ∇ F ( x t − 1 ) − ξ t g_t=\nabla F(x_{t-1})-\xi_t g t = ∇ F ( x t − 1 ) − ξ t ,
Z t , 2 ≤ Z t − 1 , 2 − η t ∥ ∇ F ( x t − 1 ) ∥ 2 + b t + ⟨ v t , ξ t ⟩ , b t = L η t 2 ∥ g t ∥ 2 2 , v t = η t ∇ F ( x t − 1 ) , Z_{t,2}\le Z_{t-1,2}-\eta_t\lVert\nabla F(x_{t-1})\rVert^2+b_t+\langle v_t,\xi_t\rangle,\quad b_t=\frac{L\eta_t^2\lVert g_t\rVert^2}{2},\quad v_t=\eta_t\nabla F(x_{t-1}), Z t , 2 ≤ Z t − 1 , 2 − η t ∥ ∇ F ( x t − 1 ) ∥ 2 + b t + ⟨ v t , ξ t ⟩ , b t = 2 L η t 2 ∥ g t ∥ 2 , v t = η t ∇ F ( x t − 1 ) ,
which, in conjunction with (40) , provides
Z t , 2 ≤ Z t − 1 , 2 − η t φ ( Z t − 1 , 2 ) 2 + b t + ⟨ v t , ξ t ⟩ . (41) Z_{t,2}\le Z_{t-1,2}-\eta_t\varphi(Z_{t-1,2})^2+b_t+\langle v_t,\xi_t\rangle. \tag*{(41)} Z t , 2 ≤ Z t − 1 , 2 − η t φ ( Z t − 1 , 2 ) 2 + b t + ⟨ v t , ξ t ⟩ . (41)
Let R max ∈ ( 0 , ∞ ] R_{\max}\in(0,\infty] R m a x ∈ ( 0 , ∞ ] be a known constant with Z t , 2 ≤ R max Z_{t,2}\le R_{\max} Z t , 2 ≤ R m a x almost surely, and put R ˉ t − 1 : = R t − 1 ∧ R max \bar{R}_{t-1}:=R_{t-1}\wedge R_{\max} R ˉ t − 1 := R t − 1 ∧ R m a x . Suppose a t ∈ ( 0 , 1 ] a_t\in(0,1] a t ∈ ( 0 , 1 ] is predictable and observable, and define
β t : = sup 0 ≤ r ≤ R ˉ t − 1 { ( 1 − a t ) r − η t φ ( r ) 2 } ∈ [ 0 , ( 1 − a t ) R ˉ t − 1 ] . (42) \beta_t:=\sup_{0\le r\le\bar{R}_{t-1}}\left\{(1-a_t)r-\eta_t\varphi(r)^2\right\}\in[0,(1-a_t)\bar{R}_{t-1}]. \tag*{(42)} β t := 0 ≤ r ≤ R ˉ t − 1 sup { ( 1 − a t ) r − η t φ ( r ) 2 } ∈ [ 0 , ( 1 − a t ) R ˉ t − 1 ] . (42)
On { Z t − 1 , 2 ≤ R t − 1 } \{Z_{t-1,2}\le R_{t-1}\} { Z t − 1 , 2 ≤ R t − 1 } , we have Z t − 1 , 2 ≤ R ˉ t − 1 Z_{t-1,2}\le\bar{R}_{t-1} Z t − 1 , 2 ≤ R ˉ t − 1 , whence Z t − 1 , 2 − η t φ ( Z t − 1 , 2 ) 2 ≤ a t Z t − 1 + β t Z_{t-1,2}-\eta_t\varphi(Z_{t-1,2})^2\le a_tZ_{t-1}+\beta_t Z t − 1 , 2 − η t φ ( Z t − 1 , 2 ) 2 ≤ a t Z t − 1 + β t , and (41) yields (1) on { Z t − 1 , 2 ≤ R t − 1 } \{Z_{t-1,2}\le R_{t-1}\} { Z t − 1 , 2 ≤ R t − 1 } .
General boundary construction
Applying (17) with y = x − ∇ F ( x ) / L y=x-\nabla F(x)/L y = x − ∇ F ( x ) / L gives ∥ ∇ F ( x ) ∥ 2 ≤ 2 L ( F ( x ) − F ⋆ ) \lVert\nabla F(x)\rVert^{2}\le2L(F(x)-F^{\star}) ∥ ∇ F ( x ) ∥ 2 ≤ 2 L ( F ( x ) − F ⋆ ) . Hence, on { Z t − 1 , 2 ≤ R t − 1 } \{Z_{t-1,2}\le R_{t-1}\} { Z t − 1 , 2 ≤ R t − 1 } ,
∥ v t ∥ A t ≤ M t : = η t 2 L R ‾ t − 1 A t ; \frac{\lVert v_t\rVert}{A_t}\le M_t:=\frac{\eta_t\sqrt{2L\overline{R}_{t-1}}}{A_t}; A t ∥ v t ∥ ≤ M t := A t η t 2 L R t − 1 ;
if, in addition, ∥ ∇ F ∥ ≤ G \lVert\nabla F\rVert\le G ∥ ∇ F ∥ ≤ G , one may take M t : = η t min { G , 2 L R ‾ t − 1 } / A t M_t:=\eta_t\min\{G,\sqrt{2L\overline{R}_{t-1}}\}/A_t M t := η t min { G , 2 L R t − 1 } / A t . With these choices, Lemma 2.1 provides a general anytime-valid envelope
R t : = A t ( R 0 + ∑ s = 1 t b s + β s A s + U t ) . R_t:=A_t\left(R_0+\sum_{s=1}^{t}\frac{b_s+\beta_s}{A_s}+U_t\right). R t := A t ( R 0 + s = 1 ∑ t A s b s + β s + U t ) .
where U t U_t U t can be replaced by the corresponding mixing, stitching or betting construction. For the conditionally sub-Gaussian noise of §9.2, ν t = σ 2 \nu_t=\sigma^2 ν t = σ 2 , and Corollary 2.4 gives the closed forms U t = N α ( σ 2 ∑ s = 1 t M s 2 ) U_t=\mathcal{N}_{\alpha}\left(\sigma^2\sum_{s=1}^{t}M_s^2\right) U t = N α ( σ 2 ∑ s = 1 t M s 2 ) and U t = 4 S α ( σ 2 ∑ s = 1 t M s 2 ) U_t=4\mathcal{S}_{\alpha}\left(\sigma^2\sum_{s=1}^{t}M_s^2\right) U t = 4 S α ( σ 2 ∑ s = 1 t M s 2 ) ; under (18) and ∥ ∇ F ∥ ≤ G \lVert\nabla F\rVert\le G ∥ ∇ F ∥ ≤ G , the self-normalized proxy ν t = 1 3 ( G + ∥ g t ∥ ) 2 + 2 3 σ 2 \nu_t=\frac{1}{3}(G+\lVert g_t\rVert)^2+\frac{2}{3}\sigma^2 ν t = 3 1 ( G + ∥ g t ∥ ) 2 + 3 2 σ 2 of § 3.2.2 applies verbatim.
Computation of β t \beta_t β t
For any predictable grid 0 = r 0 < ⋯ < r m = R ‾ t − 1 < ∞ 0=r_0<\cdots<r_m=\overline{R}_{t-1}<\infty 0 = r 0 < ⋯ < r m = R t − 1 < ∞ , 1 − a t ≥ 0 1-a_t\ge0 1 − a t ≥ 0 and monotonicity of φ \varphi φ give ( 1 − a t ) r − η t φ ( r ) 2 ≤ ( 1 − a t ) r j + 1 − η t φ ( r j ) 2 (1-a_t)r-\eta_t\varphi(r)^2\le(1-a_t)r_{j+1}-\eta_t\varphi(r_j)^2 ( 1 − a t ) r − η t φ ( r ) 2 ≤ ( 1 − a t ) r j + 1 − η t φ ( r j ) 2 for r ∈ [ r j , r j + 1 ] r\in[r_j,r_{j+1}] r ∈ [ r j , r j + 1 ] . Therefore, we can conclude
β t ≤ max { 0 , max 0 ≤ j < m [ ( 1 − a t ) r j + 1 − η t φ ( r j ) 2 ] } ; \beta_t\le\max\left\{0,\max_{0\le j<m}\left[(1-a_t)r_{j+1}-\eta_t\varphi(r_j)^2\right]\right\}; β t ≤ max { 0 , 0 ≤ j < m max [ ( 1 − a t ) r j + 1 − η t φ ( r j ) 2 ] } ;
Additionally, for two canonical choices of φ \varphi φ , β t \beta_t β t is available in closed form.
Polyak–Łojasiewicz. For φ ( u ) = μ u \varphi(u)=\sqrt{\mu u} φ ( u ) = μu and μ η t < 1 \mu\eta_t<1 μ η t < 1 , the choice a t = 1 − μ η t a_t=1-\mu\eta_t a t = 1 − μ η t gives β t = 0 \beta_t=0 β t = 0 , recovering the linear contraction of the optimality gap. If, in addition, ∥ ∇ F ∥ ≤ G \lVert\nabla F\rVert\le G ∥ ∇ F ∥ ≤ G , then (40) gives Z t ≤ G 2 / μ Z_t\le G^2/\mu Z t ≤ G 2 / μ , so that one may take R max = G 2 / μ R_{\max}=G^2/\mu R m a x = G 2 / μ . Consequently, Corollary 2.4 can be applied to provide, for example, the normal mixture boundary:
R t = A t ( R 0 + L 2 ∑ s = 1 t η s 2 ∥ g s ∥ 2 A s + N α ( 2 L σ 2 ∑ s = 1 t η s 2 R ‾ s − 1 A s 2 ) ) , A t = ∏ s = 1 t ( 1 − μ η s ) . R_t=A_t\left(R_0+\frac{L}{2}\sum_{s=1}^{t}\frac{\eta_s^2\lVert g_s\rVert^2}{A_s}+\mathcal{N}_{\alpha}\left(2L\sigma^2\sum_{s=1}^{t}\frac{\eta_s^2\overline{R}_{s-1}}{A_s^2}\right)\right),\quad A_t=\prod_{s=1}^{t}(1-\mu\eta_s). R t = A t ( R 0 + 2 L s = 1 ∑ t A s η s 2 ∥ g s ∥ 2 + N α ( 2 L σ 2 s = 1 ∑ t A s 2 η s 2 R s − 1 ) ) , A t = s = 1 ∏ t ( 1 − μ η s ) .
Power-type KL. For φ ( u ) = c u θ \varphi(u)=cu^\theta φ ( u ) = c u θ , where c > 0 c>0 c > 0 and 1 / 2 < θ < 1 1/2<\theta<1 1/2 < θ < 1 , set q = 2 θ ∈ ( 1 , 2 ) q=2\theta\in(1,2) q = 2 θ ∈ ( 1 , 2 ) and choose a predictable r t ∈ [ 0 , R ‾ t − 1 ] r_t\in[0,\overline{R}_{t-1}] r t ∈ [ 0 , R t − 1 ] with q η t c 2 r t q − 1 < 1 q\eta_tc^2r_t^{q-1}<1 q η t c 2 r t q − 1 < 1 . Then
a t = 1 − q η t c 2 r t q − 1 , β t = ( q − 1 ) η t c 2 r t q a_t=1-q\eta_tc^2r_t^{q-1},\quad\beta_t=(q-1)\eta_tc^2r_t^q a t = 1 − q η t c 2 r t q − 1 , β t = ( q − 1 ) η t c 2 r t q
also provide a valid choice satisfying (42) .
Moving on, we discuss the SGD analysis under C, which is the setting of Aolaritei and Jordan [ [4 ] Corollary 2.1. As with the other examples, in this case as well we are able to recover and sharpen the existing results in the literature.
Boundaries under C
In this section, we grant only Assumption 1 on F F F ; the corresponding performance measure turns out to be the weighted suboptimality Z t , 4 Z_{t,4} Z t , 4 . We also work with projected SGD over a closed convex set X \mathcal{X} X . In the sequel, in § 12.1 , we reduce the problem to (1) with a t = 1 a_t=1 a t = 1 , and feed the envelope back into Theorems 2.3–2.5, and Lemma 2.1. Subsequently, we discuss the stitching constructions in § 12.2 , along with a hybrid construction in § 12.2.1 .
Optimization module under C
Let X ⊆ R d \mathcal{X}\subseteq\mathbb{R}^{d} X ⊆ R d be nonempty, closed and convex, let F F F be differentiable and satisfy Assumption 1, and fix x ∗ ∈ arg min x ∈ X F ( x ) x^{*}\in\arg\min_{x\in\mathcal{X}}F(x) x ∗ ∈ arg min x ∈ X F ( x ) , F ∗ : = F ( x ∗ ) F^{*}:=F(x^{*}) F ∗ := F ( x ∗ ) . Consider (11) with initialization x 0 ∈ X x_{0}\in\mathcal{X} x 0 ∈ X , and η t > 0 \eta_{t}>0 η t > 0 is predictable and observable. As in § 3 , ξ t = ∇ F ( x t − 1 ) − g t \xi_{t}=\nabla F(x_{t-1})-g_{t} ξ t = ∇ F ( x t − 1 ) − g t . We assume E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_{t}=0 E t − 1 ξ t = 0 . Consider
Z t C : = Z t , 1 + 2 S t Z t , 4 , t ≥ 0 , Z_{t}^{\mathrm{C}}:=Z_{t,1}+2S_{t}Z_{t,4},\quad t\geq0, Z t C := Z t , 1 + 2 S t Z t , 4 , t ≥ 0 ,
so that Z 0 C = Z 0 , 1 Z_{0}^{\mathrm{C}}=Z_{0,1} Z 0 C = Z 0 , 1 . Lemma 4.1 of Aolaritei and Jordan [ [4 ] yields
Z t C ≤ Z t − 1 C + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ∗ ) , ξ t ⟩ , (43) Z_{t}^{\mathrm{C}}\leq Z_{t-1}^{\mathrm{C}}+\eta_{t}^{2}\lVert g_{t}\rVert^{2}+\langle2\eta_{t}(x_{t-1}-x^{*}),\xi_{t}\rangle, \tag*{(43)} Z t C ≤ Z t − 1 C + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ∗ ) , ξ t ⟩ , (43)
which is (1) with a t = 1 a_t=1 a t = 1 , b t = η t 2 ∥ g t ∥ 2 b_t=\eta_{t}^{2}\lVert g_{t}\rVert^{2} b t = η t 2 ∥ g t ∥ 2 and v t = 2 η t ( x t − 1 − x ∗ ) v_t=2\eta_{t}(x_{t-1}-x^{*}) v t = 2 η t ( x t − 1 − x ∗ ) . Compared with (12) , the contraction 1 − 2 μ η t 1-2\mu\eta_t 1 − 2 μ η t available under RSI is replaced by the accumulated suboptimality inside Z t C Z_t^{\mathrm{C}} Z t C . Consequently, A t = 1 A_t=1 A t = 1 and v ~ = v \widetilde{v}=v v = v in Lemma 2.1.
Stitching boundaries under C
Assume that ∥ x − x ∗ ∥ ≤ R x < ∞ \lVert x-x^{*}\rVert\leq R_x<\infty ∥ x − x ∗ ∥ ≤ R x < ∞ for all x ∈ X x\in\mathcal{X} x ∈ X . Assume that in Definition 2.2, ψ = ψ N \psi=\psi_N ψ = ψ N and Δ V s = σ 2 I \Delta V_s=\sigma^2I Δ V s = σ 2 I . Subsequently, Corollary 2.4 asserts P ( Z t C ≤ R t A J for all t ≥ 1 ) ≥ 1 − α \mathbb{P}\left(Z_t^{\mathrm{C}}\leq R_t^{\mathrm{AJ}}\text{ for all }t\geq1\right)\geq1-\alpha P ( Z t C ≤ R t AJ for all t ≥ 1 ) ≥ 1 − α , where
R t A J : = R x 2 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 + min { 4 S α ( 4 σ 2 R x 2 ∑ s = 1 t η s 2 ) , 7 S α ( σ 2 R x 2 ∑ s = 1 t η s 2 ) } . (44) R_t^{\mathrm{AJ}}:=R_x^2+\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2+\min\left\{4\mathcal{S}_{\alpha}\left(4\sigma^2R_x^2\sum_{s=1}^{t}\eta_s^2\right),7\mathcal{S}_{\alpha}\left(\sigma^2R_x^2\sum_{s=1}^{t}\eta_s^2\right)\right\}. \tag*{(44)} R t AJ := R x 2 + s = 1 ∑ t η s 2 ∥ g s ∥ 2 + min { 4 S α ( 4 σ 2 R x 2 s = 1 ∑ t η s 2 ) , 7 S α ( σ 2 R x 2 s = 1 ∑ t η s 2 ) } . (44)
In particular, (44) recovers the boundary in Corollary 2.2 of Aolaritei and Jordan [ [4 ] (which, at the cost of being pedantic, uses only the term 7 S α ( σ 2 R x 2 ∑ s = 1 t η s 2 ) 7\mathcal{S}_{\alpha}(\sigma^2R_x^2\sum_{s=1}^{t}\eta_s^2) 7 S α ( σ 2 R x 2 ∑ s = 1 t η s 2 ) ). Via the discrete-mixture with the same choices of p k p_k p k and λ k \lambda_k λ k as in Corollary 2.4(ii), one can provide an even sharper envelope compared to R ~ t \widetilde{R}_t R t .
Now suppose we assume additionally that ∥ g t ∥ ≤ G \lVert g_t\rVert\leq G ∥ g t ∥ ≤ G almost surely for a known G > 0 G>0 G > 0 , as in § 3.1 . Then, as observed in §9.1, ( ξ t , g t g t T ) t ≥ 0 (\xi_t,g_tg_t^{\mathsf{T}})_{t\geq0} ( ξ t , g t g t T ) t ≥ 0 is a sub-ψ E , G \psi_{E,G} ψ E , G process and λ max = 1 / G \lambda_{\max}=1/G λ m a x = 1/ G . Hence, Corollary 2.4(iii) gives the closed-form envelope
R t G S : = R x 2 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 + B α ( 4 ∑ s = 1 t ∥ g s ∥ 2 η s 2 R x 2 ) . R_t^{\mathrm{GS}}:=R_x^2+\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2+\mathcal{B}_{\alpha}\left(4\sum_{s=1}^{t}\lVert g_s\rVert^2\eta_s^2R_x^2\right). R t GS := R x 2 + s = 1 ∑ t η s 2 ∥ g s ∥ 2 + B α ( 4 s = 1 ∑ t ∥ g s ∥ 2 η s 2 R x 2 ) .
We emphasize that other choices of λ k \lambda_k λ k and p k p_k p k , e.g., the double-indexed grid of §9.1, produce other anytime-valid boundaries.
Combining the sub-Gaussian and the betting envelope
In this section, much like § 3.2.3 , we provide an envelope that combines the benefits of the sub-Gaussian stitching of § 12.2 and the betting construction of § 9.4 . Let ( p k , λ k ) k ≥ 1 (p_k,\lambda_k)_{k\geq1} ( p k , λ k ) k ≥ 1 be as in Corollary 2.4, and recall Λ t G ( M ) \Lambda_t^G(M) Λ t G ( M ) from Theorem 2.5 and J t J_t J t from (6) for M s = 2 η s R x M_s = 2\eta_s R_x M s = 2 η s R x . For λ k ∈ ( 0 , 1 ) \lambda_k \in(0,1) λ k ∈ ( 0 , 1 ) , define
W t H ( y ) : = 3 4 ∑ k = 0 ∞ p k exp ( λ k y − λ k 2 σ 2 2 ∑ s = 1 t M s 2 ) + 1 4 ∑ k : λ k / G ∈ Λ t G ( M ) p k exp ( λ k y G − J t ( λ k / G ) ) . W_t^{\mathrm{H}}(y) := \frac{3}{4}\sum_{k=0}^{\infty}p_k\exp\left(\lambda_k y-\frac{\lambda_k^2\sigma^2}{2}\sum_{s=1}^{t}M_s^2\right)+\frac{1}{4}\sum_{k:\lambda_k/G\in\Lambda_t^G(M)}p_k\exp\left(\frac{\lambda_k y}{G}-J_t(\lambda_k/G)\right). W t H ( y ) := 4 3 k = 0 ∑ ∞ p k exp ( λ k y − 2 λ k 2 σ 2 s = 1 ∑ t M s 2 ) + 4 1 k : λ k / G ∈ Λ t G ( M ) ∑ p k exp ( G λ k y − J t ( λ k / G ) ) .
U t H : = sup { y ∈ R : W t H ( y ) < 1 / α } U_t^{\mathrm{H}} := \sup\{y\in\mathbb{R}:W_t^{\mathrm{H}}(y)<1/\alpha\} U t H := sup { y ∈ R : W t H ( y ) < 1/ α } and R t H : = R t 2 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 + U t H R_t^{\mathrm{H}} := R_t^2+\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2+U_t^{\mathrm{H}} R t H := R t 2 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 + U t H . The following result proves the validity of R t H R_t^{\mathrm{H}} R t H as a time-uniform envelope, and ascertains the improvement over R ~ t \widetilde{R}_t R t .
Proposition 9 (Hybrid envelope). Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Grant the notation and conditions of §9.4.2, and let ∥ g t ∥ ≤ G \lVert g_t\rVert\leq G ∥ g t ∥ ≤ G almost surely. Then R t H R_t^{\mathrm{H}} R t H satisfies P ( Z t Q C ≤ R t H for all t ≥ 1 ) ≥ 1 − α \mathbb{P}(Z_t^{\mathrm{QC}}\leq R_t^{\mathrm{H}}\text{ for all }t\geq1)\geq1-\alpha P ( Z t QC ≤ R t H for all t ≥ 1 ) ≥ 1 − α . Moreover, R t H ≤ R ~ t R_t^{\mathrm{H}}\leq\widetilde{R}_t R t H ≤ R t , t ≥ 1 t\geq1 t ≥ 1 .
The preceding examples share a common pattern: once a growth assumption (sometimes along with a smoothness assumption) is matched with the performance measure it naturally controls, the derivation of an anytime-valid envelope proceeds through two broad steps: the reduction to (1) , and obtaining an observable control through Theorems 2.3 or 2.5. In the sequel, we carry out this reduction for the remaining assumptions of Table 4 and Table 5 , which also illustrates how the assumptions relate to the performance measures.
Optimization modules for other assumptions
In this section, we focus on the assumptions not discussed until now. In several cases, we will recall SC or LS along with some other assumptions; the additional structure often permits a sharper recursion over §3.1 or §3.2, and we point out the source of each improvement along the way. In general, let U t U_t U t denote a generic observable boundary from Theorems 2.3–2.5; the final observable boundaries R t R_t R t will always be defined as R t = A t ( R 0 + ∑ s = 1 t b s / A s + U t ) R_t=A_t(R_0+\sum_{s=1}^{t}b_s/A_s+U_t) R t = A t ( R 0 + ∑ s = 1 t b s / A s + U t ) , with A t = ∏ s = 1 t a s A_t=\prod_{s=1}^{t}a_s A t = ∏ s = 1 t a s following from Lemma 2.1. With this standardization, we go over several different assumptions in the following sections, where we first provide the optimization module, followed by the choices of M M M which enables the applications of Theorem 2.3 or 2.5.
Analysis under QC
Convexity is often too stringent for the objectives of modern machine learning, whereas RSI still insists on a quadratic growth of F F F around x ⋆ x^\star x ⋆ . Quasar-convexity or QC (Assumption 2) sits between the two: it only asks the negative gradient to point towards x ⋆ x^\star x ⋆ :
F ( x ) − F ⋆ ≤ γ − 1 ⟨ ∇ F ( x ) , x − x ⋆ ⟩ . F(x)-F^\star\leq\gamma^{-1}\langle\nabla F(x),x-x^\star\rangle. F ( x ) − F ⋆ ≤ γ − 1 ⟨ ∇ F ( x ) , x − x ⋆ ⟩ .
This assumption accommodates nonconvex objectives arising, e.g., in the identification of linear dynamical systems; see Hinder et al. [ [57 ] and the references therein. Similar to §9.4.1, the natural performance measure is Z t , 4 Z_{t,4} Z t , 4 , which we track through the potential
Z t Q C : = Z t , 1 + 2 γ S t Z t , 4 , Z 0 Q C = Z 0 , 1 , where S t = ∑ s = 1 t η s . Z_t^{\mathrm{QC}}:=Z_{t,1}+2\gamma S_tZ_{t,4},\quad Z_0^{\mathrm{QC}}=Z_{0,1},\quad\text{where }S_t=\sum_{s=1}^{t}\eta_s. Z t QC := Z t , 1 + 2 γ S t Z t , 4 , Z 0 QC = Z 0 , 1 , where S t = s = 1 ∑ t η s .
Note that Z t Q C = Z t C Z_t^{\mathrm{QC}}=Z_t^C Z t QC = Z t C if γ = 1 \gamma=1 γ = 1 . By definition of QC it follows that
Z t Q C ≤ Z t − 1 Q C + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ (45) Z_t^{\mathrm{QC}}\leq Z_{t-1}^{\mathrm{QC}}+\eta_t^2\lVert g_t\rVert^2+\langle2\eta_t(x_{t-1}-x^\star),\xi_t\rangle \tag*{(45)} Z t QC ≤ Z t − 1 QC + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ (45)
which is (1) with a t = 1 a_t=1 a t = 1 , b t = η t 2 ∥ g t ∥ 2 b_t=\eta_t^2\lVert g_t\rVert^2 b t = η t 2 ∥ g t ∥ 2 and v t = 2 η t ϵ t − 1 v_t=2\eta_t\epsilon_{t-1} v t = 2 η t ϵ t − 1 . Moreover, since Z t − 1 ≤ Z t − 1 Q C Z_{t-1}\leq Z_{t-1}^{\mathrm{QC}} Z t − 1 ≤ Z t − 1 QC , on { Z t − 1 Q C ≤ R t − 1 } \{Z_{t-1}^{\mathrm{QC}}\leq R_{t-1}\} { Z t − 1 QC ≤ R t − 1 } ,
∥ v t ∥ ≤ M t : = 2 η t R t − 1 . \lVert v_t\rVert\leq M_t:=2\eta_t\sqrt{R_{t-1}}. ∥ v t ∥ ≤ M t := 2 η t R t − 1 .
Therefore, pairing assumptions on ψ \psi ψ along with choices on Δ V t \Delta V_t Δ V t , Lemma 2.1 yields that Z t , 4 ≤ R t / ( 2 γ S t ) Z_{t,4} \le R_t/(2\gamma S_t) Z t , 4 ≤ R t / ( 2 γ S t ) holds simultaneously over t ≥ 1 t \ge1 t ≥ 1 with probability ≥ 1 − α \ge1-\alpha ≥ 1 − α . Finally, under SC, the inequality ⟨ ∇ F ( x t − 1 ) , e t − 1 ⟩ ≥ F ( x t − 1 ) − F ⋆ + μ Z t − 1 , 1 / 2 \langle\nabla F(x_{t-1}),e_{t-1}\rangle\ge F(x_{t-1})-F^\star+\mu Z_{t-1,1}/2 ⟨ ∇ F ( x t − 1 ) , e t − 1 ⟩ ≥ F ( x t − 1 ) − F ⋆ + μ Z t − 1 , 1 /2 yields (45) for the larger potential Z t , 1 + 2 S t Z t , 4 + μ ∑ s = 1 t η s Z s − 1 , 1 Z_{t,1}+2S_tZ_{t,4}+\mu\sum_{s=1}^{t}\eta_s Z_{s-1,1} Z t , 1 + 2 S t Z t , 4 + μ ∑ s = 1 t η s Z s − 1 , 1 , with the same ( b t , v t , M t ) (b_t,v_t,M_t) ( b t , v t , M t ) .
Convexity and Lipschitz gradient
Similar to the pairing of SC and LS in § 3.3 , in this section we pair C with LS, which is another common setting for smooth convex stochastic optimization [102 , 18 ] (Lan 2020). C and LS together yield the interpolation inequality Taylor et al., [144 ]
⟨ ∇ F ( x ) , x − x ⋆ ⟩ ≥ F ( x ) − F ⋆ + 1 2 L ∥ ∇ F ( x ) ∥ 2 , x ∈ R d , (46) \langle\nabla F(x),x-x^\star\rangle\ge F(x)-F^\star+\frac{1}{2L}\lVert\nabla F(x)\rVert^2,\quad x\in\mathbb{R}^d, \tag*{(46)} ⟨ ∇ F ( x ) , x − x ⋆ ⟩ ≥ F ( x ) − F ⋆ + 2 L 1 ∥ ∇ F ( x ) ∥ 2 , x ∈ R d , (46)
As before, we first derive the optimization module; then, under bounded stochastic gradients, we discuss a betting construction.
Optimization module. Assume C, LS and 0 ≤ η t ≤ 1 / L 0\le\eta_t\le1/L 0 ≤ η t ≤ 1/ L . Recall Z t C Z_t^{\mathrm{C}} Z t C from § 12.1 , and let e t = x t − x ⋆ e_t=x_t-x^\star e t = x t − x ⋆ . Consider the representation
Z t , 1 = Z t − 1 , 1 − 2 η t ⟨ ∇ F ( x t − 1 ) , e t − 1 ⟩ + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t e t − 1 , ξ t ⟩ Z_{t,1}=Z_{t-1,1}-2\eta_t\langle\nabla F(x_{t-1}),e_{t-1}\rangle+\eta_t^2\lVert g_t\rVert^2+\langle2\eta_t e_{t-1},\xi_t\rangle Z t , 1 = Z t − 1 , 1 − 2 η t ⟨ ∇ F ( x t − 1 ) , e t − 1 ⟩ + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t e t − 1 , ξ t ⟩
⟹ ( a ) Z t C ≤ Z t − 1 C + η t 2 ∥ g t ∥ 2 − η t L ∥ ∇ F ( x t − 1 ) ∥ 2 + ⟨ 2 η t e t − 1 , ξ t ⟩ , (47) \overset{(a)}{\Longrightarrow} Z_t^{\mathrm{C}}\le Z_{t-1}^{\mathrm{C}}+\eta_t^2\lVert g_t\rVert^2-\frac{\eta_t}{L}\lVert\nabla F(x_{t-1})\rVert^2+\langle2\eta_t e_{t-1},\xi_t\rangle, \tag*{(47)} ⟹ ( a ) Z t C ≤ Z t − 1 C + η t 2 ∥ g t ∥ 2 − L η t ∥ ∇ F ( x t − 1 ) ∥ 2 + ⟨ 2 η t e t − 1 , ξ t ⟩ , (47)
where (a) employs (46) . Finally, consider
Z t C , L S : = Z t C + S t L Z t , 5 = Z t , 1 + ∑ s = 1 t η s ( 2 ( F ( x s − 1 ) − F ⋆ ) + 1 L ∥ ∇ F ( x s − 1 ) ∥ 2 ) , Z 0 C , L S = Z 0 , 1 . Z_t^{\mathrm{C,LS}}:=Z_t^{\mathrm{C}}+\frac{S_t}{L}Z_{t,5}=Z_{t,1}+\sum_{s=1}^{t}\eta_s\left(2(F(x_{s-1})-F^\star)+\frac{1}{L}\lVert\nabla F(x_{s-1})\rVert^2\right),\quad Z_0^{\mathrm{C,LS}}=Z_{0,1}. Z t C , LS := Z t C + L S t Z t , 5 = Z t , 1 + s = 1 ∑ t η s ( 2 ( F ( x s − 1 ) − F ⋆ ) + L 1 ∥ ∇ F ( x s − 1 ) ∥ 2 ) , Z 0 C , LS = Z 0 , 1 .
Then (47) yields (1) for Z t C , L S Z_t^{\mathrm{C,LS}} Z t C , LS with a t = 1 a_t=1 a t = 1 , b t = η t 2 ∥ g t ∥ 2 b_t=\eta_t^2\lVert g_t\rVert^2 b t = η t 2 ∥ g t ∥ 2 and v t = 2 η t e t − 1 v_t=2\eta_t e_{t-1} v t = 2 η t e t − 1 . Note that, in contrast to the recursion in § 3.2.1 , adding LS to C controls the Z t , 5 Z_{t,5} Z t , 5 at no additional cost.
Bounded gradients and betting constructions. Suppose now that ∥ g t ∥ ≤ G \lVert g_t\rVert\le G ∥ g t ∥ ≤ G almost surely for a known G > 0 G>0 G > 0 , as in § 3.1 . Moreover, since Z t − 1 , 1 ≤ Z t − 1 C , L S Z_{t-1,1}\le Z_{t-1}^{\mathrm{C,LS}} Z t − 1 , 1 ≤ Z t − 1 C , LS , on { Z t − 1 C , L S ≤ R t − 1 } \{Z_{t-1}^{\mathrm{C,LS}}\le R_{t-1}\} { Z t − 1 C , LS ≤ R t − 1 } ,
∥ v t ∥ ≤ M t : = 2 η t R t − 1 , and, ∥ e t ∥ ≤ ∥ e t − 1 ∥ + η t ∥ g t ∥ ≤ R t − 1 + η t ∥ g t ∥ . \lVert v_t\rVert\le M_t:=2\eta_t\sqrt{R_{t-1}},\quad\text{and,}\quad\lVert e_t\rVert\le\lVert e_{t-1}\rVert+\eta_t\lVert g_t\rVert\le\sqrt{R_{t-1}}+\eta_t\lVert g_t\rVert. ∥ v t ∥ ≤ M t := 2 η t R t − 1 , and, ∥ e t ∥ ≤ ∥ e t − 1 ∥ + η t ∥ g t ∥ ≤ R t − 1 + η t ∥ g t ∥ .
With this choice, from Theorem 2.5 and Lemma 2.1, it is straightforward to derive the following betting construction.
Proposition 10 (Betting envelope under C and LS). *Assume C, LS and ∥ g t ∥ ≤ G \lVert g_t\rVert\le G ∥ g t ∥ ≤ G almost surely. Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , an observable R 0 ≥ Z 0 , 1 R_0\ge Z_{0,1} R 0 ≥ Z 0 , 1 , and deterministic λ k ∈ ( 0 , 1 / G ) \lambda_k\in(0,1/G) λ k ∈ ( 0 , 1/ G ) and p k > 0 p_k>0 p k > 0 , k ≥ 0 k\ge0 k ≥ 0 , such that λ k ↓ 0 \lambda_k\downarrow0 λ k ↓ 0 and ∑ k ≥ 0 p k = 1 \sum_{k\ge0}p_k=1 ∑ k ≥ 0 p k = 1 . With M t M_t M t as above, define Λ t ( M ) \Lambda_t(M) Λ t ( M ) as in Theorem 2.5. Define recursively, for λ ∈ Λ t ( M ) \lambda\in\Lambda_t(M) λ ∈ Λ t ( M ) and z ≥ 0 z\ge0 z ≥ 0 ,
J t ( λ ) : = ∑ s = 1 t ψ E , 1 ( λ M s ∥ g s ∥ ) , H t ( λ , z ) : = t ψ E , 1 ( λ t ( z − ( R t − 1 + η t ∥ g t ∥ ) 2 ) + ) , J_t(\lambda):=\sum_{s=1}^{t}\psi_{\mathrm{E},1}(\lambda M_s\lVert g_s\rVert),\quad H_t(\lambda,z):=t\psi_{\mathrm{E},1}\left(\frac{\lambda}{t}\left(z-\left(\sqrt{R_{t-1}}+\eta_t\lVert g_t\rVert\right)^2\right)_+\right), J t ( λ ) := s = 1 ∑ t ψ E , 1 ( λ M s ∥ g s ∥) , H t ( λ , z ) := t ψ E , 1 ( t λ ( z − ( R t − 1 + η t ∥ g t ∥ ) 2 ) + ) , W t ( z ) : = ∑ k ≥ 0 λ k ∈ Λ t p k exp [ λ k ( z − D t ) − J t ( λ k ) + H t ( λ k , z ) ] , R t : = sup { z ≥ 0 : W t ( z ) ≤ 1 / α } , W_t(z):=\sum_{\substack{k\ge0\\ \lambda_k\in\Lambda_t}}p_k\exp\left[\lambda_k(z-D_t)-J_t(\lambda_k)+H_t(\lambda_k,z)\right],\quad R_t:=\sup\{z\ge0:W_t(z)\le1/\alpha\}, W t ( z ) := k ≥ 0 λ k ∈ Λ t ∑ p k exp [ λ k ( z − D t ) − J t ( λ k ) + H t ( λ k , z ) ] , R t := sup { z ≥ 0 : W t ( z ) ≤ 1/ α } , where D t = R 0 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 D_t=R_0+\sum_{s=1}^{t}\eta_s^2\lVert g_s\rVert^2 D t = R 0 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 . Then P ( Z t C , L S ≤ R t for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(Z_t^{\mathrm{C,LS}}\le R_t\text{ for all }t\ge0)\ge1-\alpha P ( Z t C , LS ≤ R t for all t ≥ 0 ) ≥ 1 − α .
The proof of Proposition 10 is deferred to §9.6.
Analysis under LSC
Global strong convexity fails for many statistical objectives whose curvature degenerates away from the optimum, the canonical example being logistic regression. Nonetheless, many such examples remain convex; local self-concordance is one property that exploits the finer structures of such objectives.
For such objectives, Bach [ [6 ] showed that
e − C ∥ x − z ∥ ∇ 2 F ( z ) ≤ ∇ 2 F ( x ) ≤ e C ∥ x − z ∥ ∇ 2 F ( z ) , x , z ∈ R d . (48) e^{-C\lVert x-z\rVert}\nabla^2 F(z) \le\nabla^2 F(x) \le e^{C\lVert x-z\rVert}\nabla^2 F(z),\quad x,z\in\mathbb{R}^d. \tag*{(48)} e − C ∥ x − z ∥ ∇ 2 F ( z ) ≤ ∇ 2 F ( x ) ≤ e C ∥ x − z ∥ ∇ 2 F ( z ) , x , z ∈ R d . (48)
In the following, we derive the optimization module for LSC.
Optimization module for LSC. The key idea is to leverage (48) to show SC and LS hold on any known ball, with the radius determined by the Hessian ∇ 2 F ( x ⋆ ) \nabla^2 F(x^\star) ∇ 2 F ( x ⋆ ) . Concretely, let D : = { x : ∥ x − x 0 ∥ ≤ r D } \mathcal{D}:=\{x:\lVert x-x_0\rVert\le r_{\mathcal{D}}\} D := { x : ∥ x − x 0 ∥ ≤ r D } with known radius r D > 0 r_{\mathcal{D}}>0 r D > 0 and x ⋆ ∈ D x^\star\in\mathcal{D} x ⋆ ∈ D . Suppose that
m 0 I d ≤ ∇ 2 F ( x 0 ) ≤ M 0 I d , 0 < m 0 ≤ M 0 < ∞ . m_0 I_d\le\nabla^2 F(x_0)\le M_0 I_d,\quad0<m_0\le M_0<\infty. m 0 I d ≤ ∇ 2 F ( x 0 ) ≤ M 0 I d , 0 < m 0 ≤ M 0 < ∞.
Therefore, (48) implies that
m ⋆ I d ≤ ∇ 2 F ( x ⋆ ) ≤ L ⋆ I d , m ⋆ : = e − C r D m 0 , L ⋆ : = e C r D M 0 . m_\star I_d\le\nabla^2 F(x^\star)\le L_\star I_d,\quad m_\star:=e^{-Cr_{\mathcal{D}}}m_0,\quad L_\star:=e^{Cr_{\mathcal{D}}}M_0. m ⋆ I d ≤ ∇ 2 F ( x ⋆ ) ≤ L ⋆ I d , m ⋆ := e − C r D m 0 , L ⋆ := e C r D M 0 .
Define
κ C ( r ) : = ∫ 0 1 e − C u r d u = { ( 1 − e − C r ) / ( C r ) , r > 0 , 1 , r = 0. \kappa_C(r):=\int_0^1 e^{-Cur}\,du=
\begin{cases}
(1-e^{-Cr})/(Cr), & r>0,\\
1, & r=0.
\end{cases} κ C ( r ) := ∫ 0 1 e − C u r d u = { ( 1 − e − C r ) / ( C r ) , 1 , r > 0 , r = 0.
Clearly, κ C \kappa_C κ C is positive, continuous and nonincreasing on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . Since ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 , (48) gives for x ∈ R d x\in\mathbb{R}^d x ∈ R d
⟨ ∇ F ( x ) , x − x ⋆ ⟩ = ∫ 0 1 ( x − x ⋆ ) T ∇ 2 F ( x ⋆ + u ( x − x ⋆ ) ) ( x − x ⋆ ) d u ≥ κ C ( ∥ x − x ⋆ ∥ ) ( x − x ⋆ ) T ∇ 2 F ( x ⋆ ) ( x − x ⋆ ) ≥ m ⋆ ∥ x − x ⋆ ∥ 2 κ C ( ∥ x − x ⋆ ∥ ) . \begin{aligned}
\langle\nabla F(x),x-x^\star\rangle=\int_0^1(x-x^\star)^{\mathsf T}\nabla^2F(x^\star+u(x-x^\star))(x-x^\star)\,du \\
&\ge\kappa_C(\lVert x-x^\star\rVert)(x-x^\star)^{\mathsf T}\nabla^2F(x^\star)(x-x^\star)\ge m_\star\lVert x-x^\star\rVert^2\kappa_C(\lVert x-x^\star\rVert).
\end{aligned} ⟨ ∇ F ( x ) , x − x ⋆ ⟩ = ∫ 0 1 ( x − x ⋆ ) T ∇ 2 F ( x ⋆ + u ( x − x ⋆ )) ( x − x ⋆ ) d u ≥ κ C (∥ x − x ⋆ ∥) ( x − x ⋆ ) T ∇ 2 F ( x ⋆ ) ( x − x ⋆ ) ≥ m ⋆ ∥ x − x ⋆ ∥ 2 κ C (∥ x − x ⋆ ∥) .
Consequently, similar to § 3.1.1 , it follows
Z t , 1 ≤ [ 1 − 2 m ⋆ η t κ C ( Z t − 1 , 1 ) ] Z t − 1 , 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ . (49) Z_{t,1}\le\left[1-2m_\star\eta_t\kappa_C\left(\sqrt{Z_{t-1,1}}\right)\right]Z_{t-1,1}+\eta_t^2\lVert g_t\rVert^2+\langle2\eta_t(x_{t-1}-x^\star),\xi_t\rangle. \tag*{(49)} Z t , 1 ≤ [ 1 − 2 m ⋆ η t κ C ( Z t − 1 , 1 ) ] Z t − 1 , 1 + η t 2 ∥ g t ∥ 2 + ⟨ 2 η t ( x t − 1 − x ⋆ ) , ξ t ⟩ . (49)
Observe that (49) is yet another instance of the coefficient a t a_t a t depending on past observations, much like Oja’s algorithm. Invoking the treatment in § 4.1.2 , anytime-valid boundaries can be constructed for Z t , 1 Z_{t,1} Z t , 1 under LSC.
Transfers between performance measures
Each analysis above targets the performance measure that its growth assumption controls naturally. However, often such analyses may carry over to other performance measures of interest. Rather than deriving a new recursion, one can transfer an envelope deterministically through the assumptions of Table 5 while incurring no slackness (as one would sometimes, eg. see the discussion at the beginning of § 3.3.1 ). Formally, let Z t , i ≤ R t Z_{t,i}\le R_t Z t , i ≤ R t , i ∈ { 1 , 2 , 3 , 4 , 5 } i\in\{1,2,3,4,5\} i ∈ { 1 , 2 , 3 , 4 , 5 } , hold for all t t t with probability at least 1 − α 1-\alpha 1 − α . Then the bounds in Table 7 hold for all t t t with the same probability.
Table 7. Same-event transfers between performance measures. Bounds on or from Z t , 1 Z_{t,1} Z t , 1 require x ⋆ x^\star x ⋆ to be unique.
Proofs for the results in §9
Proof of Proposition 9. Recall v s = 2 η s ( x s − 1 − x ⋆ ) v_s=2\eta_s(x_{s-1}-x^\star) v s = 2 η s ( x s − 1 − x ⋆ ) , and write Y t : = Y t ( v ) Y_t:=Y_t(\mathbf{v}) Y t := Y t ( v ) . As in the proof of Proposition 3, E t ( λ ) : = exp [ λ Y t − λ 2 σ 2 ∑ s = 1 t ∥ v s ∥ 2 / 2 ] E_t(\lambda):=\exp\left[\lambda Y_t-\lambda^2\sigma^2\sum_{s=1}^t\lVert v_s\rVert^2/2\right] E t ( λ ) := exp [ λ Y t − λ 2 σ 2 ∑ s = 1 t ∥ v s ∥ 2 /2 ] is a nonnegative supermartingale with E 0 ( λ ) = 1 E_0(\lambda)=1 E 0 ( λ ) = 1 , λ ≥ 0 \lambda\ge0 λ ≥ 0 . Let τ ( λ ) : = inf { t ≥ 1 : λ ∥ v t ∥ ≥ 1 / G } \tau(\lambda):=\inf\{t\ge1:\lambda\lVert v_t\rVert\ge1/G\} τ ( λ ) := inf { t ≥ 1 : λ ∥ v t ∥ ≥ 1/ G } , and consider (36) with v \mathbf{v} v replaced by − v -\mathbf{v} − v ,
K t 1 ( − v , λ ) = ∏ 1 ≤ s ≤ t s < τ ( λ ) 1 − λ ⟨ v s , g s ⟩ 1 − λ ⟨ v s , ∇ F ( x s − 1 ) ⟩ , λ ∈ [ 0 , 1 / G ] . K_t^1(-\mathbf{v},\lambda)=\prod_{\substack{1\le s\le t\\s<\tau(\lambda)}}\frac{1-\lambda\langle v_s,g_s\rangle}{1-\lambda\langle v_s,\nabla F(x_{s-1})\rangle},\qquad\lambda\in[0,1/G]. K t 1 ( − v , λ ) = 1 ≤ s ≤ t s < τ ( λ ) ∏ 1 − λ ⟨ v s , ∇ F ( x s − 1 )⟩ 1 − λ ⟨ v s , g s ⟩ , λ ∈ [ 0 , 1/ G ] .
Clearly, K t 1 ( − v , λ ) K_t^1(-\mathbf{v},\lambda) K t 1 ( − v , λ ) is a nonnegative martingale with K 0 1 ( − v , λ ) = 1 K_0^1(-\mathbf{v},\lambda)=1 K 0 1 ( − v , λ ) = 1 . By conditional monotone convergence, K t H : = 3 4 ∑ k ≥ 0 p k E t ( λ k ) + 1 4 ∑ k ≥ 0 p k K t 1 ( − v , λ k / G ) K_t^{\mathrm{H}}:=\frac{3}{4}\sum_{k\ge0}p_kE_t(\lambda_k)+\frac{1}{4}\sum_{k\ge0}p_kK_t^1(-\mathbf{v},\lambda_k/G) K t H := 4 3 ∑ k ≥ 0 p k E t ( λ k ) + 4 1 ∑ k ≥ 0 p k K t 1 ( − v , λ k / G ) is a nonnegative supermartingale with K 0 H = 1 K_0^{\mathrm{H}}=1 K 0 H = 1 , and Ville’s inequality (Lemma 1 of Howard et al., [58 ] ) gives P ( Ω α ) ≥ 1 − α \mathbb{P}(\Omega_\alpha)\ge1-\alpha P ( Ω α ) ≥ 1 − α , where Ω α : = { K t H < 1 / α for all t ≥ 1 } \Omega_\alpha:=\{K_t^{\mathrm{H}}<1/\alpha\text{ for all }t\ge1\} Ω α := { K t H < 1/ α for all t ≥ 1 } .
We next compare W t H ( Y t ) W_t^{\mathrm{H}}(Y_t) W t H ( Y t ) with K t H K_t^{\mathrm{H}} K t H . Since log ( 1 − u ) = − u − ψ E , 1 ( u ) \log(1-u)=-u-\psi_{E,1}(u) log ( 1 − u ) = − u − ψ E , 1 ( u ) for u < 1 u<1 u < 1 and ξ s = ∇ F ( x s − 1 ) − g s \xi_s=\nabla F(x_{s-1})-g_s ξ s = ∇ F ( x s − 1 ) − g s , on { t < τ ( λ ) } \{t<\tau(\lambda)\} { t < τ ( λ )} ,
log K t 1 ( − v , λ ) = λ Y t − ∑ s = 1 t ψ E , 1 ( λ ⟨ v s , g s ⟩ ) + ∑ s = 1 t ψ E , 1 ( λ ⟨ v s , ∇ F ( x s − 1 ) ⟩ ) ≥ ( a ) λ Y t − ∑ s = 1 t ψ E , 1 ( λ ∥ v s ∥ ∥ g s ∥ ) (50) \log K_t^1(-\mathbf{v},\lambda)=\lambda Y_t-\sum_{s=1}^t\psi_{E,1}(\lambda\langle v_s,g_s\rangle)+\sum_{s=1}^t\psi_{E,1}(\lambda\langle v_s,\nabla F(x_{s-1})\rangle)\mathrel{\geq^{(a)}}\lambda Y_t-\sum_{s=1}^t\psi_{E,1}(\lambda\lVert v_s\rVert\lVert g_s\rVert) \tag*{(50)} log K t 1 ( − v , λ ) = λ Y t − s = 1 ∑ t ψ E , 1 ( λ ⟨ v s , g s ⟩) + s = 1 ∑ t ψ E , 1 ( λ ⟨ v s , ∇ F ( x s − 1 )⟩) ≥ ( a ) λ Y t − s = 1 ∑ t ψ E , 1 ( λ ∥ v s ∥ ∥ g s ∥) (50)
where ( a ) (a) ( a ) follows from ψ E , 1 ( u ) ≤ ψ E , 1 ( ∣ u ∣ ) \psi_{E,1}(u) \leq\psi_{E,1}(|u|) ψ E , 1 ( u ) ≤ ψ E , 1 ( ∣ u ∣ ) for ∣ u ∣ < 1 |u| < 1 ∣ u ∣ < 1 , and the monotonicity of ψ E , 1 \psi_{E,1} ψ E , 1 on [ 0 , 1 ) [0,1) [ 0 , 1 ) . Since the projected iterates belong to X \mathcal{X} X , ∥ v s ∥ ≤ M s = 2 η s R x \|v_s\| \leq M_s = 2\eta_s R_x ∥ v s ∥ ≤ M s = 2 η s R x almost surely for every s ≥ 1 s \geq1 s ≥ 1 . Hence λ k / G ∈ A t − ( M ) \lambda_k/G \in A_t^-(M) λ k / G ∈ A t − ( M ) implies t < τ ( λ k / G ) t < \tau(\lambda_k/G) t < τ ( λ k / G ) , and (50) gives
exp ( λ k Y t / G − J t ( λ k / G ) ) ≤ K t 1 ( − v , λ k / G ) . \exp(\lambda_k Y_t/G - J_t(\lambda_k/G)) \leq K_t^1(-v,\lambda_k/G). exp ( λ k Y t / G − J t ( λ k / G )) ≤ K t 1 ( − v , λ k / G ) .
Similarly, ∑ s ≤ t ∥ v s ∥ 2 ≤ ∑ s ≤ t M s 2 \sum_{s\leq t}\|v_s\|^2 \leq\sum_{s\leq t} M_s^2 ∑ s ≤ t ∥ v s ∥ 2 ≤ ∑ s ≤ t M s 2 bounds each Gaussian summand of W t H ( Y t ) W_t^{\mathrm{H}}(Y_t) W t H ( Y t ) by its counterpart in K t H K_t^{\mathrm{H}} K t H . Summing yields W t H ( Y t ) ≤ K t H W_t^{\mathrm{H}}(Y_t) \leq K_t^{\mathrm{H}} W t H ( Y t ) ≤ K t H . Thus, on Ω α \Omega_\alpha Ω α , Y t ≤ U t H Y_t \leq U_t^{\mathrm{H}} Y t ≤ U t H for all t ≥ 1 t \geq1 t ≥ 1 . Unrolling (43) now gives
Z t C ≤ R x 2 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 + Y t ≤ R t H , t ≥ 1 , Z_t^{\mathrm{C}} \leq R_x^2 + \sum_{s=1}^{t}\eta_s^2\|g_s\|^2 + Y_t \leq R_t^{\mathrm{H}}, \qquad t \geq1, Z t C ≤ R x 2 + s = 1 ∑ t η s 2 ∥ g s ∥ 2 + Y t ≤ R t H , t ≥ 1 ,
which establish anytime-validity.
Finally, we establish R t H ≤ R ~ t R_t^{\mathrm{H}} \leq\widetilde{R}_t R t H ≤ R t along the same realized SGD trajectory. Observe that for every k ≥ 0 k \geq0 k ≥ 0 and y ∈ R y \in\mathbb{R} y ∈ R ,
W t H ( y ) ≥ 3 ρ k 4 exp ( λ k y − λ k 2 V t 2 ) . W_t^{\mathrm{H}}(y) \geq\frac{3\rho_k}{4}\exp\left(\lambda_k y - \frac{\lambda_k^2 V_t}{2}\right). W t H ( y ) ≥ 4 3 ρ k exp ( λ k y − 2 λ k 2 V t ) .
Therefore, W t H ( y ) < 1 / α W_t^{\mathrm{H}}(y) < 1/\alpha W t H ( y ) < 1/ α implies y < λ k − 1 log ( 4 / ( 3 α ρ k ) ) + λ k V t / 2 y < \lambda_k^{-1}\log(4/(3\alpha\rho_k)) + \lambda_k V_t/2 y < λ k − 1 log ( 4/ ( 3 α ρ k )) + λ k V t /2 for every k ≥ 0 k \geq0 k ≥ 0 , from which we procure
U t H ≤ inf k ≥ 0 { log ( 4 / ( 3 α ρ k ) ) λ k + λ k V t 2 } . U_t^{\mathrm{H}} \leq\inf_{k\geq0}\left\{\frac{\log(4/(3\alpha\rho_k))}{\lambda_k} + \frac{\lambda_k V_t}{2}\right\}. U t H ≤ k ≥ 0 inf { λ k log ( 4/ ( 3 α ρ k )) + 2 λ k V t } .
This, in view of Corollary 2.4(ii), completes the proof.
Proof of Proposition 10. Note that Z 0 C , L S ≤ R 0 Z_0^{\mathrm{C,LS}} \leq R_0 Z 0 C , LS ≤ R 0 and (1) holds with a t = 1 a_t=1 a t = 1 , b t = η t 2 ∥ g t ∥ 2 b_t=\eta_t^2\|g_t\|^2 b t = η t 2 ∥ g t ∥ 2 and v t = 2 η t e t − 1 v_t=2\eta_t e_{t-1} v t = 2 η t e t − 1 , while ξ s = − ( g s − E s − 1 g s ) \xi_s = -(g_s-\mathbb{E}_{s-1}g_s) ξ s = − ( g s − E s − 1 g s ) . Therefore, assuming that H t H_t H t satisfies (10) on ⋂ s < t { Z s C , L S ≤ R s } \bigcap_{s<t}\{Z_s^{\mathrm{C,LS}}\leq R_s\} ⋂ s < t { Z s C , LS ≤ R s } , we can proceed as in the proof of Proposition 1 , Theorem 2.5 and Lemma 2.1 to yield the claim. Subsequently, we verify (10) .
Clearly, z ↦ H t ( λ , z ) z\mapsto H_t(\lambda,z) z ↦ H t ( λ , z ) is nondecreasing, nonnegative and lower semicontinuous, with H t ( λ , 0 ) = 0 H_t(\lambda,0)=0 H t ( λ , 0 ) = 0 . On this event, Z t , 1 ≤ ( R t − 1 + η t ∥ g t ∥ ) 2 Z_{t,1}\leq(\sqrt{R_{t-1}}+\eta_t\|g_t\|)^2 Z t , 1 ≤ ( R t − 1 + η t ∥ g t ∥ ) 2 , and, with m s : = ⟨ v s , ∇ F ( x s − 1 ) ⟩ m_s:=\langle v_s,\nabla F(x_{s-1})\rangle m s := ⟨ v s , ∇ F ( x s − 1 )⟩ , convexity and ∥ ∇ F ( x s − 1 ) ∥ = ∥ E s − 1 g s ∥ ≤ G \|\nabla F(x_{s-1})\|=\|\mathbb{E}_{s-1}g_s\|\leq G ∥∇ F ( x s − 1 ) ∥ = ∥ E s − 1 g s ∥ ≤ G give 0 ≤ λ m s ≤ λ M s G < 1 0\leq\lambda m_s\leq\lambda M_sG<1 0 ≤ λ m s ≤ λ M s G < 1 for λ ∈ A t \lambda\in A_t λ ∈ A t and s ≤ t s\leq t s ≤ t . Moreover, from (46) it follows that
m s = 2 η s ⟨ ∇ F ( x s − 1 ) , e s − 1 ⟩ ≥ 2 η s ( F ( x s − 1 ) − F ⋆ ) + η s L ∥ ∇ F ( x s − 1 ) ∥ 2 , m_s = 2\eta_s\langle\nabla F(x_{s-1}),e_{s-1}\rangle\geq2\eta_s\bigl(F(x_{s-1})-F^\star\bigr) + \frac{\eta_s}{L}\|\nabla F(x_{s-1})\|^2, m s = 2 η s ⟨ ∇ F ( x s − 1 ) , e s − 1 ⟩ ≥ 2 η s ( F ( x s − 1 ) − F ⋆ ) + L η s ∥∇ F ( x s − 1 ) ∥ 2 ,
and hence,
∑ s = 1 t m s ≥ Z t C , L S − Z t , 1 . (51) \sum_{s=1}^{t}m_s \geq Z_t^{\mathrm{C,LS}}-Z_{t,1}. \tag*{(51)} s = 1 ∑ t m s ≥ Z t C , LS − Z t , 1 . (51)
Hence, for 0 ≤ z ≤ Z t C , L S 0\leq z\leq Z_t^{\mathrm{C,LS}} 0 ≤ z ≤ Z t C , LS ,
H t ( λ , z ) ≤ t ψ E , 1 ( λ t ( Z t C , L S − Z t , 1 ) ) ≤ t ψ E , 1 ( λ t ∑ s = 1 t m s ) ≤ ∑ s = 1 t ψ E , 1 ( λ m s ) = ∑ s = 1 t ψ E , 1 ( λ ⟨ v s , E s − 1 g s ⟩ ) , \begin{aligned}
H_t(\lambda,z) &\leq t\psi_{E,1}\left(\frac{\lambda}{t}\left(Z_t^{\mathrm{C,LS}}-Z_{t,1}\right)\right) \\
&\leq t\psi_{E,1}\left(\frac{\lambda}{t}\sum_{s=1}^{t}m_s\right) \\
&\leq\sum_{s=1}^{t}\psi_{E,1}(\lambda m_s)
= \sum_{s=1}^{t}\psi_{E,1}\bigl(\lambda\langle v_s,\mathbb{E}_{s-1}g_s\rangle\bigr),
\end{aligned} H t ( λ , z ) ≤ t ψ E , 1 ( t λ ( Z t C , LS − Z t , 1 ) ) ≤ t ψ E , 1 ( t λ s = 1 ∑ t m s ) ≤ s = 1 ∑ t ψ E , 1 ( λ m s ) = s = 1 ∑ t ψ E , 1 ( λ ⟨ v s , E s − 1 g s ⟩ ) ,
where ( a ) (a) ( a ) follows from the monotonicity of ψ E , 1 \psi_{E,1} ψ E , 1 on [ 0 , 1 ) [0,1) [ 0 , 1 ) , and ( b ) (b) ( b ) employs (51) . This completes the proof.
Extended applications
This section tabulates explicit boundary constructions corresponding to the examples in § 4 . Furthermore, we supplement § 4 by providing two more instances of our results yielding first-of-its-kind data-dependent time-uniform boundaries in settings with wide application.
Explicit boundaries for Oja’s algorithm
Recall the Oja’s algorithm from § 4.1 . For a candidate envelope { R t } \{R_t\} { R t } satisfying R t ≤ 1 R_t \le1 R t ≤ 1 , consider a t : = 1 − 2 δ η t ( 1 − R t − 1 ) a_t := 1 - 2\delta\eta_t(1-R_{t-1}) a t := 1 − 2 δ η t ( 1 − R t − 1 ) . Let A t : = ∏ s = 1 t a s A_t := \prod_{s=1}^{t} a_s A t := ∏ s = 1 t a s . Since ∥ Σ ^ t ∥ = ∥ X t ∥ 2 \|\hat{\Sigma}_t\| = \|X_t\|^2 ∥ Σ ^ t ∥ = ∥ X t ∥ 2 and M s 2 = 2 η s 2 R s − 1 / A s 2 M_s^2 = 2\eta_s^2R_{s-1}/A_s^2 M s 2 = 2 η s 2 R s − 1 / A s 2 , each noise assumption yields a concrete U t U_t U t .
Bounded observations with mixing and stitching envelope. If ∥ X t ∥ ≤ B \|X_t\| \le B ∥ X t ∥ ≤ B , Table 2 gives ν t = B 4 \nu_t = B^4 ν t = B 4 , and Corollary 2.4(i-(ii)) along with Table 2, first row gives the normal-mixture and stitching envelopes
R t = A t ( R 0 + 3 ∑ s = 1 t η s 2 ∥ Σ ^ s u s − 1 ∥ 2 A s + U t ) . R_t = A_t\left(R_0 + 3\sum_{s=1}^{t}\frac{\eta_s^2\|\hat{\Sigma}_s u_{s-1}\|^2}{A_s} + U_t\right). R t = A t ( R 0 + 3 s = 1 ∑ t A s η s 2 ∥ Σ ^ s u s − 1 ∥ 2 + U t ) .
U t ∈ { N α ( 2 B 4 ∑ s = 1 t η s 2 R s − 1 A s 2 ) , 4 S α ( 2 B 4 ∑ s = 1 t η s 2 R s − 1 A s 2 ) } . U_t \in\left\{\mathcal{N}_{\alpha}\left(2B^4\sum_{s=1}^{t}\frac{\eta_s^2R_{s-1}}{A_s^2}\right),\;4\mathcal{S}_{\alpha}\left(2B^4\sum_{s=1}^{t}\frac{\eta_s^2R_{s-1}}{A_s^2}\right)\right\}. U t ∈ { N α ( 2 B 4 s = 1 ∑ t A s 2 η s 2 R s − 1 ) , 4 S α ( 2 B 4 s = 1 ∑ t A s 2 η s 2 R s − 1 ) } .
To replace the worst-case B 4 B^4 B 4 by the realized ∥ X s ∥ 4 \|X_s\|^4 ∥ X s ∥ 4 , Table 2, fifth row gives ψ = ψ E , B 2 \psi= \psi_{E,B^2} ψ = ψ E , B 2 and ν t = ∥ X t ∥ 4 \nu_t = \|X_t\|^4 ν t = ∥ X t ∥ 4 , and Corollary 2.4(iii) gives the sub-gamma stitching envelope with
U t = G α ( 2 ∑ s = 1 t ∥ X s ∥ 4 η s 2 R s − 1 A s 2 , B 2 max { 1 , max s ≤ t ( η s 2 R s − 1 A s ) } ) . U_t = \mathcal{G}_{\alpha}\left(2\sum_{s=1}^{t}\frac{\|X_s\|^4\eta_s^2R_{s-1}}{A_s^2},\;B^2\max\left\{1,\max_{s\le t}\left(\frac{\eta_s\sqrt{2R_{s-1}}}{A_s}\right)\right\}\right). U t = G α ( 2 s = 1 ∑ t A s 2 ∥ X s ∥ 4 η s 2 R s − 1 , B 2 max { 1 , s ≤ t max ( A s η s 2 R s − 1 ) } ) .
U t = sup { y : ∑ k : λ k ∈ Λ B 2 ( M ) p k exp ( λ k y − ∑ s = 1 t ψ E , 1 ( λ k M s ∥ X s ∥ 2 ) ) < 1 α } , U_t = \sup\left\{y:\ \sum_{k:\lambda_k\in\Lambda_{B^2}(M)}p_k\exp\left(\lambda_k y-\sum_{s=1}^{t}\psi_{E,1}\left(\lambda_kM_s\|X_s\|^2\right)\right)<\frac{1}{\alpha}\right\}, U t = sup ⎩ ⎨ ⎧ y : k : λ k ∈ Λ B 2 ( M ) ∑ p k exp ( λ k y − s = 1 ∑ t ψ E , 1 ( λ k M s ∥ X s ∥ 2 ) ) < α 1 ⎭ ⎬ ⎫ ,
which is no larger than the sub-exponential discrete-mixture envelope from Theorem 2.3 with ν t = ∥ X t ∥ 4 \nu_t = \|X_t\|^4 ν t = ∥ X t ∥ 4 . The corresponding uniform boundary R t R_t R t is constructed as:
R t : = A t ( R 0 + ∑ s = 1 t b s A s + U α ( t ; M , ν ) ) . R_t := A_t\left(R_0+\sum_{s=1}^{t}\frac{b_s}{A_s}+\mathcal{U}_{\alpha}(t;M,\nu)\right). R t := A t ( R 0 + s = 1 ∑ t A s b s + U α ( t ; M , ν ) ) .
Finite fourth moment with mixing and stitching. If E t − 1 ∥ X t ∥ 4 ≤ K 4 \mathbb{E}_{t-1}\|X_t\|^4 \le K_4 E t − 1 ∥ X t ∥ 4 ≤ K 4 for a known constant K 4 > 0 K_4 > 0 K 4 > 0 , Table 2, third row with Y t = vec Σ ^ t Y_t = \operatorname{vec}\hat{\Sigma}_t Y t = vec Σ ^ t gives ν t = 2 3 ( ∥ X t ∥ 4 + K 4 ) \nu_t = \frac{2}{3}(\|X_t\|^4+K_4) ν t = 3 2 ( ∥ X t ∥ 4 + K 4 ) ; the same closed forms for mixing and stitching apply with ψ = ψ N \psi= \psi_N ψ = ψ N and V t = 4 3 ∑ s = 1 t ( ∥ X s ∥ 4 + K 4 ) η s 2 R s − 1 / A s 2 V_t = \frac{4}{3}\sum_{s=1}^{t}(\|X_s\|^4+K_4)\eta_s^2R_{s-1}/A_s^2 V t = 3 4 ∑ s = 1 t ( ∥ X s ∥ 4 + K 4 ) η s 2 R s − 1 / A s 2 .
Explicit boundaries for Temporal Difference learning
We follow § 13.1 to provide explicit expressions for the boundaries constructed for TD-learning via Proposition 5 and Theorem 4.1 .
Sub-Gaussian with mixing and stitching envelope. Recall that M s 2 = 4 η s 2 R s − 1 / A s 2 M_s^2 = 4\eta_s^2R_{s-1}/A_s^2 M s 2 = 4 η s 2 R s − 1 / A s 2 , and let G ( θ ) : = ( 1 + γ ) ∥ θ ∥ + r max G(\theta) := (1+\gamma)\lVert\theta\rVert+ r_{\max} G ( θ ) := ( 1 + γ ) ∥ θ ∥ + r m a x , so that ∥ g t ∥ ≤ G ( θ t − 1 ) \lVert g_t\rVert\le G(\theta_{t-1}) ∥ g t ∥ ≤ G ( θ t − 1 ) and hence ∥ ξ t ∥ ≤ ∥ g t ∥ + ∥ E t − 1 g t ∥ ≤ 2 G ( θ t − 1 ) \lVert\xi_t\rVert\le\lVert g_t\rVert+ \lVert\mathbb{E}_{t-1}g_t\rVert\le2G(\theta_{t-1}) ∥ ξ t ∥ ≤ ∥ g t ∥ + ∥ E t − 1 g t ∥ ≤ 2 G ( θ t − 1 ) . Table 2, first row, with c t = 2 G ( θ t − 1 ) c_t = 2G(\theta_{t-1}) c t = 2 G ( θ t − 1 ) gives ψ = ψ N \psi= \psi_N ψ = ψ N and ν t = 4 G ( θ t − 1 ) 2 \nu_t = 4G(\theta_{t-1})^2 ν t = 4 G ( θ t − 1 ) 2 , and Corollary 2.4(i)–(ii) gives the normal-mixture and stitching envelopes
R t = A t ( R 0 + ∑ s = 1 t η s 2 ∥ g s ∥ 2 A s + U t ) , R_t = A_t\left(R_0+\sum_{s=1}^{t}\frac{\eta_s^2\lVert g_s\rVert^2}{A_s}+U_t\right), R t = A t ( R 0 + s = 1 ∑ t A s η s 2 ∥ g s ∥ 2 + U t ) ,
U t ∈ { N α ( 16 ∑ s = 1 t G ( θ s − 1 ) 2 η s 2 R s − 1 A s 2 ) , 7 S α ( 4 ∑ s = 1 t G ( θ s − 1 ) 2 η s 2 R s − 1 A s 2 ) } . U_t\in\left\{\mathcal{N}_\alpha\left(16\sum_{s=1}^{t}\frac{G(\theta_{s-1})^2\eta_s^2R_{s-1}}{A_s^2}\right),\;7\mathcal{S}_\alpha\left(4\sum_{s=1}^{t}\frac{G(\theta_{s-1})^2\eta_s^2R_{s-1}}{A_s^2}\right)\right\}. U t ∈ { N α ( 16 s = 1 ∑ t A s 2 G ( θ s − 1 ) 2 η s 2 R s − 1 ) , 7 S α ( 4 s = 1 ∑ t A s 2 G ( θ s − 1 ) 2 η s 2 R s − 1 ) } .
Self-normalized envelope. Table 2, third row, gives ψ = ψ N \psi=\psi_N ψ = ψ N and Δ V t = 1 3 ξ t ξ t T + 2 3 E t − 1 [ ξ t ξ t T ] \Delta V_t=\frac{1}{3}\xi_t\xi_t^{\mathsf{T}}+\frac{2}{3}\mathbb{E}_{t-1}[\xi_t\xi_t^{\mathsf{T}}] Δ V t = 3 1 ξ t ξ t T + 3 2 E t − 1 [ ξ t ξ t T ] . Since ∥ ξ t ∥ ≤ ∥ g t ∥ + G ( θ t − 1 ) \lVert\xi_t\rVert\le\lVert g_t\rVert+G(\theta_{t-1}) ∥ ξ t ∥ ≤ ∥ g t ∥ + G ( θ t − 1 ) and E t − 1 ∥ ξ t ∥ 2 ≤ E t − 1 ∥ g t ∥ 2 ≤ G ( θ t − 1 ) 2 \mathbb{E}_{t-1}\lVert\xi_t\rVert^2\le\mathbb{E}_{t-1}\lVert g_t\rVert^2\le G(\theta_{t-1})^2 E t − 1 ∥ ξ t ∥ 2 ≤ E t − 1 ∥ g t ∥ 2 ≤ G ( θ t − 1 ) 2 , we have Δ V t ⪯ ν t I \Delta V_t\preceq\nu_t I Δ V t ⪯ ν t I with the observable
ν t : = 1 3 ( ∥ g t ∥ + G ( θ t − 1 ) ) 2 + 2 3 G ( θ t − 1 ) 2 , \nu_t:=\frac{1}{3}\left(\lVert g_t\rVert+G(\theta_{t-1})\right)^2+\frac{2}{3}G(\theta_{t-1})^2, ν t := 3 1 ( ∥ g t ∥ + G ( θ t − 1 ) ) 2 + 3 2 G ( θ t − 1 ) 2 ,
and the same closed forms apply with
V t = 4 3 ∑ s = 1 t [ ( ∥ g s ∥ + G ( θ s − 1 ) ) 2 + 2 G ( θ s − 1 ) 2 ] η s 2 R s − 1 A s 2 . V_t=\frac{4}{3}\sum_{s=1}^{t}\left[\left(\lVert g_s\rVert+G(\theta_{s-1})\right)^2+2G(\theta_{s-1})^2\right]\frac{\eta_s^2R_{s-1}}{A_s^2}. V t = 3 4 s = 1 ∑ t [ ( ∥ g s ∥ + G ( θ s − 1 ) ) 2 + 2 G ( θ s − 1 ) 2 ] A s 2 η s 2 R s − 1 .
Since ν t ≤ 2 G ( θ t − 1 ) 2 \nu_t\le2G(\theta_{t-1})^2 ν t ≤ 2 G ( θ t − 1 ) 2 , this envelope is sharper than the sub-Gaussian envelope, and it adapts to small realized TD updates.
Betting envelope for projected TD learning. Consider projected TD learning [11 ] : θ t = Π Θ ( θ t − 1 − η t g t ) \theta_t=\Pi_\Theta(\theta_{t-1}-\eta_tg_t) θ t = Π Θ ( θ t − 1 − η t g t ) , with Π Θ \Pi_\Theta Π Θ being the projection onto { ∥ θ ∥ ≤ Θ } \{\lVert\theta\rVert\le\Theta\} {∥ θ ∥ ≤ Θ } and Θ ≥ r max / κ \Theta\ge r_{\max}/\kappa Θ ≥ r m a x / κ . Since ∥ θ ∗ ∥ ≤ r max / κ ≤ Θ \lVert\theta^*\rVert\le r_{\max}/\kappa\le\Theta ∥ θ ∗ ∥ ≤ r m a x / κ ≤ Θ , hence the projection operator Π Θ \Pi_\Theta Π Θ is Lipschitz with Lipschitz coefficient 1. Therefore, ∥ g t ∥ ≤ ( 1 + γ ) Θ + r max \lVert g_t\rVert\le(1+\gamma)\Theta+r_{\max} ∥ g t ∥ ≤ ( 1 + γ ) Θ + r m a x . Theorem 2.5 and G = ( 1 + γ ) Θ + r max G=(1+\gamma)\Theta+r_{\max} G = ( 1 + γ ) Θ + r m a x then gives
U t = sup { y : ∑ k : λ k ∈ Λ G ( M ) p k exp ( λ k y − ∑ s = 1 t ψ E , 1 ( λ k M s ∥ g s ∥ ) ) < 1 α } , U_t=\sup\left\{y:\sum_{k:\lambda_k\in\Lambda_G(M)}p_k\exp\left(\lambda_ky-\sum_{s=1}^{t}\psi_{E,1}(\lambda_kM_s\lVert g_s\rVert)\right)<\frac{1}{\alpha}\right\}, U t = sup ⎩ ⎨ ⎧ y : k : λ k ∈ Λ G ( M ) ∑ p k exp ( λ k y − s = 1 ∑ t ψ E , 1 ( λ k M s ∥ g s ∥) ) < α 1 ⎭ ⎬ ⎫ ,
and Theorem 4.1 continues to hold by Theorem 2.5 and Lemma 2.1 .
Momentum-assisted SGD
As one of the most popular modifications of SGD, the stochastic heavy-ball method of Polyak [1964], also known as the momentum-assisted SGD or m-SGD, and the accelerated scheme of Nesterov [1983] have become a mainstay of deep learning [140 ] owing to their increased efficiency. Accelerated stochastic approximation has been shown to attain the optimal rate for smooth convex stochastic programs [83 ] , and such results have been extended to nonconvex ones [52 ] as well. While the asymptotic behavior, almost sure convergence and high probability guarantees for mSGD has been well known [48 , 131 , 93 , 92 ] , none of these results facilitate a data-dependent stopping time.
The anytime question for momentum methods was first taken up by Feng et al. [2023]. Translating a Lyapunov function of the second-order ODE X ¨ ( t ) + 2 t − 1 X ˙ ( t ) + 2 t − 3 / 2 ∇ F ( X ( t ) ) = 0 \ddot{X}(t)+2t^{-1}\dot{X}(t)+2t^{-3/2}\nabla F(X(t))=0 X ¨ ( t ) + 2 t − 1 X ˙ ( t ) + 2 t − 3/2 ∇ F ( X ( t )) = 0 into discrete time, they constructed an exponential supermartingale to bound F ( x t ) − F ∗ F(x_t)-F^* F ( x t ) − F ∗ by a multiple of ( 1 + log ( 1 / α ) ) log t / t (1+\log(1/\alpha))\log t/\sqrt{t} ( 1 + log ( 1/ α )) log t / t , simultaneously over all t t t . Subsequently, Feng et al. [2025] distilled the argument into a large-deviation inequality for almost supermartingales in the sense of Robbins and Siegmund [1971]; both works also refine the logarithmic factor to log ( 1 + ε ) / 2 t \log^{(1+\varepsilon)/2}t log ( 1 + ε ) /2 t through a slight modification of the step sizes Feng et al., [46 ] , Feng et al., [47 ] . To the best of our knowledge, these are the only anytime-valid guarantees available for a momentum method. However, from the standpoint of a practitioner, they share the drawbacks of deterministic envelopes discussed earlier. The envelopes do not respond to the realized trajectory, and the step sizes are tied to prescribed schedules η t ∝ log − 2 ( t + 2 ) \eta_t \propto\log^{-2}(t+2) η t ∝ log − 2 ( t + 2 ) or η t ∝ log − ( 1 + ε ) ( t + 2 ) \eta_t \propto\log^{-(1+\varepsilon)}(t+2) η t ∝ log − ( 1 + ε ) ( t + 2 ) . Moreover, the noise is required to satisfy a norm-sub-Gaussian condition, and under a mere variance bound only L 2 \mathcal{L}_2 L 2 and almost sure statements are available Feng et al., [46 ] .
Nonetheless, the structure uncovered by Feng et al. [ [46 ] exactly provides the optimization module our recipe requires. In §10.3.1, we revisit and establish this recursion for arbitrary predictable step sizes (Proposition 11 ). In §10.3.2, we convert it into observable envelopes, both under the noise assumption of Feng et al. [ [46 , 47 ] and under a finite conditional variance alone, where the self-normalized and quadratic betting constructions of §3.2.2 apply (Theorem 10.1 and Proposition 12 ). Finally, §10.3.3 shows that the realized envelope, and not merely the latent energy, attains the logarithmic rates of Feng et al. [ [46 , 47 ] , with a constant that grows only polynomially in 1 / ε 1/\varepsilon 1/ ε (Theorem 10.2 ). To the best of our knowledge, the resulting envelopes are the first data-dependent, anytime-valid guarantees for a momentum-based stochastic optimizer.
Set-up and optimization module for momentum-assisted SGD
Throughout this section, F ∈ C 1 ( R d ) F \in C^1(\mathbb{R}^d) F ∈ C 1 ( R d ) satisfies C (Assumption 1) and LS with a known constant L > 0 L>0 L > 0 , and attains its minimum F ⋆ : = F ( x ⋆ ) F^\star:= F(x^\star) F ⋆ := F ( x ⋆ ) at some x ⋆ ∈ R d x^\star\in\mathbb{R}^d x ⋆ ∈ R d . Starting from a deterministic x 1 = x 0 ∈ R d x_1=x_0 \in\mathbb{R}^d x 1 = x 0 ∈ R d , the momentum scheme of Feng et al. [ [47 ] , equivalently Feng et al. [ [46 ] , iterates
x t + 1 = x t + t t + 2 ( x t − x t − 1 ) − 2 η t ( t + 2 ) t g t , t ≥ 1 , (52) x_{t+1}=x_t+\frac{t}{t+2}(x_t-x_{t-1})-\frac{2\sqrt{\eta_t}}{(t+2)\sqrt{t}}g_t,\quad t\ge1, \tag*{(52)} x t + 1 = x t + t + 2 t ( x t − x t − 1 ) − ( t + 2 ) t 2 η t g t , t ≥ 1 , (52)
where, for every t ≥ 1 t\ge1 t ≥ 1 , the stochastic gradients g t g_t g t are unbiased. Accordingly, the noise is ξ t : = ∇ F ( x t ) − g t \xi_t:=\nabla F(x_t)-g_t ξ t := ∇ F ( x t ) − g t , so that E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t=0 E t − 1 ξ t = 0 . We remark that while Feng et al. [ [46 , 47 ] analyze the deterministic schedule η t = [ 16 L 2 log 2 ( t + 2 ) ] − 1 \eta_t=[16L^2\log^2(t+2)]^{-1} η t = [ 16 L 2 log 2 ( t + 2 ) ] − 1 and its variants, we allow arbitrary positive predictable step sizes, and impose a schedule only when comparing rates in §10.3.3. We also fix an observable η 0 > 0 \eta_0>0 η 0 > 0 , which only enters the initial energy and the coefficient a 1 a_1 a 1 in (1) .
The scheme (52) admits a transparent reformulation. Put z t : = ( t + 1 ) x t − t x t − 1 z_t:=(t+1)x_t-tx_{t-1} z t := ( t + 1 ) x t − t x t − 1 for t ≥ 1 t\ge1 t ≥ 1 . Multiplying (52) by t + 2 t+2 t + 2 , and unrolling the recursion through the definition of z t z_t z t , yields
z t + 1 = z t − 2 η t t g t , x t = 1 t + 1 ( x 0 + ∑ s = 1 t z s ) , t ≥ 1. (53) z_{t+1}=z_t-2\sqrt{\frac{\eta_t}{t}}g_t,\quad x_t=\frac{1}{t+1}\left(x_0+\sum_{s=1}^{t}z_s\right),\quad t\ge1. \tag*{(53)} z t + 1 = z t − 2 t η t g t , x t = t + 1 1 ( x 0 + s = 1 ∑ t z s ) , t ≥ 1. (53)
In other words, (52) runs a stochastic gradient recursion with step size 2 η t / t 2\sqrt{\eta_t/t} 2 η t / t on the auxiliary sequence ( z t ) (z_t) ( z t ) . The displacement of z t z_t z t from the optimum,
φ t : = z t − x ⋆ = ( x t − x ⋆ ) + t ( x t − x t − 1 ) , t ≥ 1 , \varphi_t:=z_t-x^\star=(x_t-x^\star)+t(x_t-x_{t-1}),\quad t\ge1, φ t := z t − x ⋆ = ( x t − x ⋆ ) + t ( x t − x t − 1 ) , t ≥ 1 ,
is the momentum-corrected displacement around which the analysis of Feng et al. [ [46 , 47 ] revolves. Instead of directly working with ∥ φ t ∥ 2 \|\varphi_t\|^2 ∥ φ t ∥ 2 , we consider the performance measure
Z t : = ∥ φ t + 1 ∥ 2 + 4 ( t + 1 ) η t ( F ( x t ) − F ⋆ ) , t ≥ 0 , (54) Z_t:=\|\varphi_{t+1}\|^2+4\sqrt{(t+1)\eta_t}\left(F(x_t)-F^\star\right),\quad t\ge0, \tag*{(54)} Z t := ∥ φ t + 1 ∥ 2 + 4 ( t + 1 ) η t ( F ( x t ) − F ⋆ ) , t ≥ 0 , (54)
which is the discrete Lyapunov function of Feng et al. [ [46 ] ; see also Feng et al. [ [47 ] . Assume that ∥ x 0 − x ⋆ ∥ ≤ D \|x_0-x^\star\|\le D ∥ x 0 − x ⋆ ∥ ≤ D . Since x 1 = x 0 x_1=x_0 x 1 = x 0 gives φ 1 = x 0 − x ⋆ \varphi_1=x_0-x^\star φ 1 = x 0 − x ⋆ , and (17) with ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 gives F ( x 0 ) − F ⋆ ≤ L D 2 / 2 F(x_0)-F^\star\le LD^2/2 F ( x 0 ) − F ⋆ ≤ L D 2 /2 , it follows that
Z 0 ≤ R 0 : = ( 1 + 2 L η 0 ) D 2 . Z_0\le R_0:=(1+2L\sqrt{\eta_0})D^2. Z 0 ≤ R 0 := ( 1 + 2 L η 0 ) D 2 .
The following result provides the optimization module for Z t Z_t Z t .
Proposition 11. Grant the notation and conditions of § 13.3.1 , and put
a t : = max { 1 , η t / η t − 1 } , b t : = 4 η t t ∥ g t ∥ 2 , v t : = 4 η t t φ t , t ≥ 1. (55) a_t := \max\left\{1,\sqrt{\eta_t/\eta_{t-1}}\right\},\quad b_t := \frac{4\eta_t}{t}\lVert g_t\rVert^2,\quad v_t := 4\sqrt{\frac{\eta_t}{t}}\varphi_t,\quad t \ge1. \tag*{(55)} a t := max { 1 , η t / η t − 1 } , b t := t 4 η t ∥ g t ∥ 2 , v t := 4 t η t φ t , t ≥ 1. (55) Then, almost surely, for every t ≥ 1 t \ge1 t ≥ 1 ,
Z t ≤ a t Z t − 1 + b t − 2 η t t [ F ( x t ) − F ⋆ + 1 L ∥ ∇ F ( x t ) ∥ 2 ] + ⟨ v t , ξ t ⟩ . Z_t \le a_t Z_{t-1}+b_t-2\sqrt{\frac{\eta_t}{t}}\left[F(x_t)-F^\star+\frac{1}{L}\lVert\nabla F(x_t)\rVert^2\right]+\langle v_t,\xi_t\rangle. Z t ≤ a t Z t − 1 + b t − 2 t η t [ F ( x t ) − F ⋆ + L 1 ∥ ∇ F ( x t ) ∥ 2 ] + ⟨ v t , ξ t ⟩ .
Proposition 11 is proved in Appendix §10.5. For nonincreasing step sizes, Proposition 11 coincides with Feng et al. [ [47 ] , equivalently Feng et al. [ [46 ] . In contrast, our result accommodates any predictable, possibly non-monotone and data-driven, step sizes.
Boundaries for momentum-assisted SGD
Proposition 11 can now be fed into Lemma 2.1, upon verifying the conditions of Theorem 2.3. Since ∥ φ t ∥ 2 ≤ Z t − 1 \lVert\varphi_t\rVert^2 \le Z_{t-1} ∥ φ t ∥ 2 ≤ Z t − 1 , on { Z t − 1 ≤ R t − 1 } \{Z_{t-1}\le R_{t-1}\} { Z t − 1 ≤ R t − 1 } the normalized weights satisfy
∥ v t ∥ A t ≤ M t : = 4 A t η t R t − 1 t , t ≥ 1 , (56) \frac{\lVert v_t\rVert}{A_t}\le M_t:=\frac{4}{A_t}\sqrt{\frac{\eta_tR_{t-1}}{t}},\quad t\ge1, \tag*{(56)} A t ∥ v t ∥ ≤ M t := A t 4 t η t R t − 1 , t ≥ 1 , (56)
where M t M_t M t is predictable and observable. The following result provide general boundaries for m-SGD.
Theorem 10.1. Grant the notation and conditions of Proposition 11, and fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Let ξ t = ∇ F ( x t ) − g t \xi_t=\nabla F(x_t)-g_t ξ t = ∇ F ( x t ) − g t satisfy the following: ( ξ t , Δ V t ) t ≥ 0 (\xi_t,\Delta V_t)_{t\ge0} ( ξ t , Δ V t ) t ≥ 0 is a sub-ψ \psi ψ process with Δ V t ⪯ ν t I \Delta V_t\preceq\nu_t I Δ V t ⪯ ν t I for an observable, F t \mathcal{F}_t F t -adapted ν t ≥ 0 \nu_t\ge0 ν t ≥ 0 , and let U t U_t U t be one of the boundaries U α max ( t ; M , ν ) U_\alpha^{\max}(t;M,\nu) U α m a x ( t ; M , ν ) , U α d m ( t ; M , ν ) U_\alpha^{\mathrm{dm}}(t;M,\nu) U α dm ( t ; M , ν ) and U α S T ( t ; M , ν ) U_\alpha^{\mathrm{ST}}(t;M,\nu) U α ST ( t ; M , ν ) of Theorem 2.3, or an observable upper bound, such as those in Corollary 2.4.
Put A 0 : = 1 A_0:=1 A 0 := 1 and U 0 : = 0 U_0:=0 U 0 := 0 , recall R 0 R_0 R 0 from § 13.3.1 , and define recursively, for t ≥ 1 t\ge1 t ≥ 1 , A t : = A t − 1 a t A_t:=A_{t-1}a_t A t := A t − 1 a t , M t M_t M t as in (56) , and
R t : = A t ( R 0 + ∑ s = 1 t 4 η s ∥ g s ∥ 2 s A s + U t ) . (57) R_t:=A_t\left(R_0+\sum_{s=1}^{t}\frac{4\eta_s\lVert g_s\rVert^2}{sA_s}+U_t\right). \tag*{(57)} R t := A t ( R 0 + s = 1 ∑ t s A s 4 η s ∥ g s ∥ 2 + U t ) . (57) Then
P ( Z t ≤ R t for all t ≥ 0 , and F ( x t ) − F ⋆ ≤ Δ ^ t for all t ≥ 1 ) ≥ 1 − α , \mathbb{P}\left(Z_t\le R_t\ \text{for all }t\ge0,\ \text{and }F(x_t)-F^\star\le\widehat{\Delta}_t\ \text{for all }t\ge1\right)\ge1-\alpha, P ( Z t ≤ R t for all t ≥ 0 , and F ( x t ) − F ⋆ ≤ Δ t for all t ≥ 1 ) ≥ 1 − α , Δ ^ t : = R t 4 ( t + 1 ) η t , t ≥ 1. \widehat{\Delta}_t:=\frac{R_t}{4\sqrt{(t+1)\eta_t}},\quad t\ge1. Δ t := 4 ( t + 1 ) η t R t , t ≥ 1.
Theorem 10.1 is proved in Appendix §10.5. As with the examples in § 4 , we provide a few concrete boundary constructions.
All the constructions below take ψ = ψ N \psi=\psi_N ψ = ψ N .
Conditionally sub-Gaussian noise. Suppose that E t − 1 exp ⟨ θ , ξ t ⟩ ≤ exp ( σ N 2 ∥ θ ∥ 2 / 2 ) \mathbb{E}_{t-1}\exp\langle\theta,\xi_t\rangle\le\exp(\sigma_N^2\lVert\theta\rVert^2/2) E t − 1 exp ⟨ θ , ξ t ⟩ ≤ exp ( σ N 2 ∥ θ ∥ 2 /2 ) for all θ ∈ R d \theta\in\mathbb{R}^d θ ∈ R d , with a known σ N > 0 \sigma_N>0 σ N > 0 , i.e. ( ξ t , σ N 2 I d ) t ≥ 0 (\xi_t,\sigma_N^2 I_d)_{t\ge0} ( ξ t , σ N 2 I d ) t ≥ 0 is a sub-ψ N \psi_N ψ N process. This enables us to take ν t = σ N 2 \nu_t=\sigma_N^2 ν t = σ N 2 and
V t N : = σ N 2 ∑ s = 1 t M s 2 = 16 σ N 2 ∑ s = 1 t η s R s − 1 s A s 2 . V_t^N:=\sigma_N^2\sum_{s=1}^{t}M_s^2=16\sigma_N^2\sum_{s=1}^{t}\frac{\eta_sR_{s-1}}{sA_s^2}. V t N := σ N 2 s = 1 ∑ t M s 2 = 16 σ N 2 s = 1 ∑ t s A s 2 η s R s − 1 .
We denote by U t N , D M U_t^{N,\mathrm{DM}} U t N , DM and U t N , S t U_t^{N,\mathrm{St}} U t N , St the boundaries analogous to self-normalized boundaries, with Q t S N Q_t^{\mathrm{SN}} Q t SN replaced by V t N V_t^N V t N ; let R t N , S t R_t^{N,\mathrm{St}} R t N , St and R t N , S t R_t^{N,\mathrm{St}} R t N , St be the corresponding envelopes (57) . The normal-mixture bound N α ( V t N ) \mathcal{N}_{\alpha}(V_t^N) N α ( V t N ) of Corollary 2.4(i) and the closed-form stitching bound of Corollary 2.4(ii) are also valid choices of U t U_t U t . Note that this condition is weaker than the norm sub-Gaussian condition assumed by Feng et al. [ [46 , 47 ] :
E t − 1 exp ( ∥ ξ t ∥ 2 / σ 2 ) ≤ e , E t − 1 ξ t = 0 , \mathbb{E}_{t-1}\exp\left(\lVert\xi_t\rVert^2/\sigma^2\right)\le e,\quad\mathbb{E}_{t-1}\xi_t=0, E t − 1 exp ( ∥ ξ t ∥ 2 / σ 2 ) ≤ e , E t − 1 ξ t = 0 ,
Finite variance and self-normalization. Suppose only that E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t=0 E t − 1 ξ t = 0 and E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 \mathbb{E}_{t-1}\lVert\xi_t\rVert^2\le\sigma^2 E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 for a known σ ≥ 0 \sigma\ge0 σ ≥ 0 , which, under unbiasedness, is the bounded-variance condition of Feng et al. [ [47 ] . By LS, ∥ ∇ F ( x t ) ∥ ≤ L ∥ x t − x 0 ∥ ≤ G t : = L ( ∥ x t − x 0 ∥ + D ) \lVert\nabla F(x_t)\rVert\le L\lVert x_t-x_0\rVert\le G_t:=L(\lVert x_t-x_0\rVert+D) ∥ ∇ F ( x t )∥ ≤ L ∥ x t − x 0 ∥ ≤ G t := L (∥ x t − x 0 ∥ + D ) , where G t G_t G t is predictable and observable, and thus ∥ ξ t ∥ ≤ G t + ∥ g t ∥ \lVert\xi_t\rVert\le G_t+\lVert g_t\rVert ∥ ξ t ∥ ≤ G t + ∥ g t ∥ . Therefore, exactly as in § 3.2.2 , Table 2, third row, gives Δ V t S N ≤ V t S N I \Delta V_t^{\mathrm{SN}}\le V_t^{\mathrm{SN}}I Δ V t SN ≤ V t SN I with
ν t S N : = ( G t + ∥ g t ∥ ) 2 + 2 σ 2 3 , V t S N : = ∑ s = 1 t ν s S N M s 2 . \nu_t^{\mathrm{SN}}:=\frac{(G_t+\lVert g_t\rVert)^2+2\sigma^2}{3},\quad V_t^{\mathrm{SN}}:=\sum_{s=1}^{t}\nu_s^{\mathrm{SN}}M_s^2. ν t SN := 3 ( G t + ∥ g t ∥ ) 2 + 2 σ 2 , V t SN := s = 1 ∑ t ν s SN M s 2 .
Denoting by R t S N , D M R_t^{\mathrm{SN},\mathrm{DM}} R t SN , DM and R t S N , S t R_t^{\mathrm{SN},\mathrm{St}} R t SN , St the envelopes (57) built analogously to self-normalized boundaries in § 3.2.2 with Q t S N Q_t^{\mathrm{SN}} Q t SN replaced by V t S N V_t^{\mathrm{SN}} V t SN , Theorem 10.1 provides validity to both boundaries. To the best of our knowledge, this furnishes the first anytime-valid guarantee for (52) in the finite-variance regime of Feng et al. [ [46 ] , where only in-expectation and almost sure convergence had been established previously.
Moreover, as in § 3.2.2 and § 3.2.3 , the self-normalized envelopes can be sharpened via the quadratic product-betting supermartingale. To that end, recall j j j from (19) , fix deterministic λ k ↓ 0 \lambda_k\downarrow0 λ k ↓ 0 with 0 < λ 0 < ∞ 0<\lambda_0<\infty 0 < λ 0 < ∞ and p k > 0 p_k>0 p k > 0 with ∑ k ≥ 0 p k ≤ 1 \sum_{k\ge0}p_k\le1 ∑ k ≥ 0 p k ≤ 1 , and define, for λ > 0 \lambda>0 λ > 0 and y ∈ R y\in\mathbb{R} y ∈ R ,
J t Q ( λ ) : = ∑ s = 1 t [ j ( λ M s ( G s + ∥ g s ∥ ) ) + log ( 1 + λ 2 σ 2 M s 2 3 ) ] , J_t^Q(\lambda):=\sum_{s=1}^{t}\left[j\left(\lambda M_s(G_s+\lVert g_s\rVert)\right)+\log\left(1+\frac{\lambda^2\sigma^2M_s^2}{3}\right)\right], J t Q ( λ ) := s = 1 ∑ t [ j ( λ M s ( G s + ∥ g s ∥) ) + log ( 1 + 3 λ 2 σ 2 M s 2 ) ] ,
W t Q ( y ) : = ∑ k ≥ 0 p k exp [ λ k y − J t Q ( λ k ) ] , W_t^Q(y):=\sum_{k\ge0}p_k\exp\left[\lambda_k y-J_t^Q(\lambda_k)\right], W t Q ( y ) := k ≥ 0 ∑ p k exp [ λ k y − J t Q ( λ k ) ] ,
together with U t Q : = sup { y ∈ R : W t Q ( y ) < 1 / α } U_t^Q:=\sup\{y\in\mathbb{R}:W_t^Q(y)<1/\alpha\} U t Q := sup { y ∈ R : W t Q ( y ) < 1/ α } . We denote by R t Q R_t^Q R t Q the recursion (57) with U t = U t Q U_t=U_t^Q U t = U t Q .
Proposition 12. Grant the notation and conditions of Proposition 11, fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , and suppose that E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t=0 E t − 1 ξ t = 0 and E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 \mathbb{E}_{t-1}\lVert\xi_t\rVert^2\le\sigma^2 E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 . Then the conclusion of Theorem 10.1 holds with R t = R t Q R_t=R_t^Q R t = R t Q . Moreover, along a common trajectory, and with common { λ k , p k } \{\lambda_k,p_k\} { λ k , p k } , it holds for all t ≥ 1 t\ge1 t ≥ 1 that
R t Q ≤ R t S N , D M ≤ R t S N , S t . (58) R_t^Q\le R_t^{\mathrm{SN},\mathrm{DM}}\le R_t^{\mathrm{SN},\mathrm{St}}. \tag*{(58)} R t Q ≤ R t SN , DM ≤ R t SN , St . (58)
Proposition 12 is proved in Appendix §10.5. In the following, we also discuss the asymptotic rates of the constructed envelopes.
Rates of the observable envelopes
In the spirit of Theorem 3.2, in this section we quantify the asymptotic rates of the envelopes constructed under the step-size schedules of Feng et al. [ [46 , 47 ] . For η 0 > 0 \eta_0>0 η 0 > 0 and p > 1 p>1 p > 1 , put
H p : = η 0 [ 1 ( log 3 ) p + 3 ( log 3 ) 1 − p p − 1 ] , C ∘ : = L 2 η 0 + L η 0 2 ζ ( 3 / 2 ) . (59) H_p:=\eta_0\left[\frac{1}{(\log3)^p}+\frac{3(\log3)^{1-p}}{p-1}\right],\quad C_\circ:=L^2\eta_0+\frac{L\sqrt{\eta_0}}{2}\zeta(3/2). \tag*{(59)} H p := η 0 [ ( log 3 ) p 1 + p − 1 3 ( log 3 ) 1 − p ] , C ∘ := L 2 η 0 + 2 L η 0 ζ ( 3/2 ) . (59)
The following theorem establishes the optimality of the envelopes constructed above in the sense of Feng et al. [ [46 , 47 ] .
Theorem 10.2. Grant the notation and conditions of Proposition 11 , and suppose that E t − 1 exp ( θ , ξ t ) ≤ exp ( σ N 2 ∥ θ ∥ 2 / 2 ) \mathbb{E}_{t-1}\exp(\theta,\xi_t) \le\exp(\sigma_N^2\lVert\theta\rVert^2/2) E t − 1 exp ( θ , ξ t ) ≤ exp ( σ N 2 ∥ θ ∥ 2 /2 ) for all θ ∈ R d \theta\in\mathbb{R}^d θ ∈ R d , with a known σ N > 0 \sigma_N > 0 σ N > 0 . Choose the step sizes η t = η ∘ log − p ( t + 2 ) \eta_t=\eta_\circ\log^{-p}(t+2) η t = η ∘ log − p ( t + 2 ) for t ≥ 0 t \ge0 t ≥ 0 , where η ∘ > 0 \eta_\circ> 0 η ∘ > 0 and p > 1 p>1 p > 1 . Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , and let R t ∈ { R t R N , D M , R t R N , S t } R_t \in\{R_t^{\mathrm{RN,DM}}, R_t^{\mathrm{RN,St}}\} R t ∈ { R t RN , DM , R t RN , St } be level-α \alpha α time-uniform envelopes with the grid
λ k = e − k / 2 8 σ N 2 H p , p k = 6 π 2 ( k + 1 ) 2 , k ≥ 0. \lambda_k=\frac{e^{-k/2}}{8\sigma_N^2H_p},\quad p_k=\frac{6}{\pi^2(k+1)^2},\quad k\ge0. λ k = 8 σ N 2 H p e − k /2 , p k = π 2 ( k + 1 ) 2 6 , k ≥ 0. With H p H_p H p and C ∘ C_\circ C ∘ as in (59) , define, for δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) ,
K α , δ : = e 8 C ∘ + 1 [ R 0 + 16 σ N 2 H p ( d log 2 + 2 log 1 δ ) + 8 σ N 2 H p log 1 α p 0 ] . K_{\alpha,\delta}:=e^{8C_\circ+1}\left[R_0+16\sigma_N^2H_p\left(d\log2+2\log\frac{1}{\delta}\right)+8\sigma_N^2H_p\log\frac{1}{\alpha p_0}\right]. K α , δ := e 8 C ∘ + 1 [ R 0 + 16 σ N 2 H p ( d log 2 + 2 log δ 1 ) + 8 σ N 2 H p log α p 0 1 ] . Then, for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) ,
P ( Z t ≤ R t ≤ K α , δ and F ( x t ) − F ⋆ ≤ Δ ^ t ≤ K α , δ log p / 2 ( t + 2 ) 4 η ∘ ( t + 1 ) for all t ≥ 1 ) ≥ 1 − α − δ . \mathbb{P}\left(Z_t\le R_t\le K_{\alpha,\delta}\ \text{and}\ F(x_t)-F^\star\le\widehat{\Delta}_t\le\frac{K_{\alpha,\delta}\log^{p/2}(t+2)}{4\sqrt{\eta_\circ(t+1)}}\ \text{for all }t\ge1\right)\ge1-\alpha-\delta. P ( Z t ≤ R t ≤ K α , δ and F ( x t ) − F ⋆ ≤ Δ t ≤ 4 η ∘ ( t + 1 ) K α , δ log p /2 ( t + 2 ) for all t ≥ 1 ) ≥ 1 − α − δ .
Theorem 10.2 is proved in Appendix §10.5. In particular, δ = α \delta=\alpha δ = α yields the probability 1 − 2 α 1-2\alpha 1 − 2 α . Additionally, the norm sub-Gaussian condition of Feng et al. [ [46 , 47 ] implies the conditional sub-Gaussian condition with σ N 2 = 3 σ 2 / 2 \sigma_N^2=3\sigma^2/2 σ N 2 = 3 σ 2 /2 by Feng et al. [ [47 ] , and therefore, the same conclusion holds with the leading constant
K α , δ ′ : = e 8 C ∘ + 1 [ R 0 + 8 σ 2 H p ( 1 + log ( 1 / δ ) ) + 12 σ 2 H p log ( 1 / ( α p 0 ) ) ] . K'_{\alpha,\delta}:=e^{8C_\circ+1}\left[R_0+8\sigma^2H_p(1+\log(1/\delta))+12\sigma^2H_p\log(1/(\alpha p_0))\right]. K α , δ ′ := e 8 C ∘ + 1 [ R 0 + 8 σ 2 H p ( 1 + log ( 1/ δ )) + 12 σ 2 H p log ( 1/ ( α p 0 )) ] .
For a fixed d d d , we now compare Theorem 10.2 with the deterministic guarantees of Feng et al. [ [46 , 47 ] . With p = 2 p=2 p = 2 and η ∘ = 1 / ( 16 L 2 ) \eta_\circ=1/(16L^2) η ∘ = 1/ ( 16 L 2 ) , Theorem 10.2 recovers their rate log ( t + 2 ) / t + 1 \log(t+2)/\sqrt{t+1} log ( t + 2 ) / t + 1 . Likewise, with p = 1 + ϵ p=1+\epsilon p = 1 + ϵ with ϵ ∈ ( 0 , 1 ] \epsilon\in(0,1] ϵ ∈ ( 0 , 1 ] and η ∘ = 1 / ( 16 L 2 ) \eta_\circ=1/(16L^2) η ∘ = 1/ ( 16 L 2 ) , Theorem 10.2 recovers the rate of Feng et al. [ [46 ] , while ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) with η ∘ = 1 / ( 16 L 2 C ′ ) \eta_\circ=1/(16L^2C') η ∘ = 1/ ( 16 L 2 C ′ ) , C ′ ≥ 1 C'\ge1 C ′ ≥ 1 , recovers the rate log ( 1 + ϵ ) / 2 ( t + 2 ) / t + 1 \log^{(1+\epsilon)/2}(t+2)/\sqrt{t+1} log ( 1 + ϵ ) /2 ( t + 2 ) / t + 1 of Feng et al. [ [47 ] . Therefore, our data-dependent, observable envelopes are also asymptotically optimal in the sense of Feng et al. [ [46 , 47 ] .
We also derive the asymptotic properties of the envelope R t Q R_t^Q R t Q under the finite-variance condition.
Corollary 10.3. Suppose that E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t=0 E t − 1 ξ t = 0 and E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 \mathbb{E}_{t-1}\lVert\xi_t\rVert^2\le\sigma^2 E t − 1 ∥ ξ t ∥ 2 ≤ σ 2 , and let η t = η ∘ log − p ( t + 2 ) \eta_t=\eta_\circ\log^{-p}(t+2) η t = η ∘ log − p ( t + 2 ) , t ≥ 0 t\ge0 t ≥ 0 , with η ∘ > 0 \eta_\circ>0 η ∘ > 0 and p > 1 p>1 p > 1 . Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . Then each of R t S N , D M R_t^{\mathrm{SN,DM}} R t SN , DM , R t S N , S t R_t^{\mathrm{SN,St}} R t SN , St and R t Q R_t^Q R t Q satisfies Δ ^ t = O ( log p / 2 ( t + 2 ) / t + 1 ) \widehat{\Delta}_t=O(\log^{p/2}(t+2)/\sqrt{t+1}) Δ t = O ( log p /2 ( t + 2 ) / t + 1 ) almost surely.
Corollary 10.3 is proved in Appendix §10.5. With p = 2 p=2 p = 2 , which is the step-size choice in Theorem 3 of Feng et al. [ [46 ] , Corollary 10.3 instructs that our boundaries match the asymptotic fixed-iterate rate of the actual performance measure E [ F ( x t ) − F ⋆ ] \mathbb{E}[F(x_t)-F^\star] E [ F ( x t ) − F ⋆ ] —establishing the sharpness of our construction. As an aside, we emphasize that both the derivation of time-uniform envelope as well as its asymptotic rates are also new results, since only convergence was established previously.
We now turn to Q-learning.
Q-learning
Another application of reinforcement learning is the Q-learning algorithm [157 ] , which learns the optimal action-value function as the fixed point of the Bellman optimality operator. Q-learning has a long history of both asymptotic analyses based on stochastic-approximation arguments [146 , 61 ] as well as non-asymptotic rates [43 Beck and Srikant,] 2012, Wainwright, 2019, Chen et al., 2020b, 2024, Li et al., 2024a]. Concentration bounds that hold for all iterations after a burn-in, or uniformly in time, are also available for contractive stochastic approximation and Q-learning [16 , 21 , 27 ] . Finally, asymptotic time-uniform inference has been furnished by functional central limit theorem and its extensions [90 , 15 ] . Closest in spirit to the present goal of time-uniform boundaries is the work of Even-Dar et al. [ [44 ] , who construct confidence intervals around the Q-function to eliminate suboptimal actions and derive stopping conditions under which the learned policy is approximately optimal with high probability; their construction maintains separate upper and lower Q-tables rather than directly bounding the error of an ordinary Q-learning iterate.
In this section, we derive the optimization module for Q-learning, before deploying Theorems 2.3 –2.5 to provide anytime-valid envelopes for the Q-iterates or quality functions. For Q-learning, the ℓ ∞ \ell_{\infty} ℓ ∞ -contraction of the Bellman operator yields coupled coordinatewise quadratic recursions (Proposition 13 ). Applying the probabilistic tools to these recursions gives observable bounds for the entire Q-table and the value of its greedy policy.
Set-up and optimization module for Q-learning
In this section, we briefly describe the Q-learning algorithm, and derive the associated recursion (1) for appropriate performance measures. It might be useful to recall that the Q Q Q in Q-learning refers to the quality function Q : S × A → R Q:\mathcal{S}\times\mathcal{A}\to\mathbb{R} Q : S × A → R ; to an interested reader, we refer Sutton and Barto [ [142 ] for a detailed treatment. For the analysis, we work with a finite discounted MDP as in § 4.2.1 , with γ ∈ [ 0 , 1 ) \gamma\in[0,1) γ ∈ [ 0 , 1 ) , integrable reward laws, and ∣ r ˉ ( s , a ) ∣ ≤ r max |\bar{r}(s,a)|\le r_{\max} ∣ r ˉ ( s , a ) ∣ ≤ r m a x for a known finite r max ≥ 0 r_{\max}\ge0 r m a x ≥ 0 . In particular, denote N : = ∣ S ∣ ∣ A ∣ N:=|\mathcal{S}||\mathcal{A}| N := ∣ S ∣∣ A ∣ , and index state-action pairs by i ∈ [ N ] i\in[N] i ∈ [ N ] . Therefore, we can also rewrite the Q-function as a vector Q ∈ R N Q\in\mathbb{R}^{N} Q ∈ R N . Let
( T Q ) ( s , a ) : = r ˉ ( s , a ) + γ E S ′ ∼ P ( ⋅ ∣ s , a ) [ max a ′ Q ( S ′ , a ′ ) ] . (\mathcal{T}Q)(s,a):=\bar{r}(s,a)+\gamma\mathbb{E}_{S'\sim P(\cdot\mid s,a)}\left[\max_{a'}Q(S',a')\right]. ( T Q ) ( s , a ) := r ˉ ( s , a ) + γ E S ′ ∼ P ( ⋅ ∣ s , a ) [ a ′ max Q ( S ′ , a ′ ) ] .
Then T \mathcal{T} T is a γ \gamma γ -contraction in ∥ ⋅ ∥ ∞ \|\cdot\|_{\infty} ∥ ⋅ ∥ ∞ with unique fixed point Q ⋆ Q^{\star} Q ⋆ , and ∥ Q ⋆ ∥ ∞ ≤ B ⋆ : = r max / ( 1 − γ ) \|Q^{\star}\|_{\infty}\le B^{\star}:=r_{\max}/(1-\gamma) ∥ Q ⋆ ∥ ∞ ≤ B ⋆ := r m a x / ( 1 − γ ) .
We consider both synchronous Q-learning [90 , 15 ] , where every coordinate is updated, and asynchronous Q-learning [118 , 86 , 26 ] , where only the current state-action coordinate is updated. Let d t ( i ) ∈ { 0 , 1 } d_t(i)\in\{0,1\} d t ( i ) ∈ { 0 , 1 } indicate whether coordinate i i i is activated at iteration t t t . Thus, d t ( i ) = 1 d_t(i)=1 d t ( i ) = 1 for every i i i in the synchronous case, whereas d t ( i ) = 1 { i = I t } d_t(i)=\mathbf{1}_{\{i=I_t\}} d t ( i ) = 1 { i = I t } for the current state-action pair I t I_t I t in the asynchronous case. In particular, d t d_t d t , Q t − 1 Q_{t-1} Q t − 1 and the finite step size η t > 0 \eta_t>0 η t > 0 are observable and F t − 1 \mathcal{F}_{t-1} F t − 1 -measurable. On { d t ( i ) = 1 } \{d_t(i)=1\} { d t ( i ) = 1 } , the conditional marginal laws of r t ( i ) r_t(i) r t ( i ) and S t ′ ( i ) S'_t(i) S t ′ ( i ) given F t − 1 \mathcal{F}_{t-1} F t − 1 are R ( ⋅ ∣ i ) \mathcal{R}(\cdot\mid i) R ( ⋅ ∣ i ) and P ( ⋅ ∣ i ) P(\cdot\mid i) P ( ⋅ ∣ i ) , respectively. Let Y t = ( Y t ( i ) ) i ∈ [ N ] Y_t=(Y_t(i))_{i\in[N]} Y t = ( Y t ( i ) ) i ∈ [ N ] be the integrable observed increment, where
Y t ( i ) : = { r t ( i ) + γ max a ′ Q t − 1 ( S t ′ ( i ) , a ′ ) − Q t − 1 ( i ) , d t ( i ) = 1 , 0 , d t ( i ) = 0. Y_t(i):=
\begin{cases}
r_t(i)+\gamma\max_{a'}Q_{t-1}(S'_t(i),a')-Q_{t-1}(i), & d_t(i)=1,\\
0, & d_t(i)=0.
\end{cases} Y t ( i ) := { r t ( i ) + γ max a ′ Q t − 1 ( S t ′ ( i ) , a ′ ) − Q t − 1 ( i ) , 0 , d t ( i ) = 1 , d t ( i ) = 0.
With this notation, the Q-learning algorithm proceeds as follows:
Q t = Q t − 1 + η t Y t . Q_t=Q_{t-1}+\eta_tY_t. Q t = Q t − 1 + η t Y t .
Noting that E t − 1 Y t = diag ( d t ) ( T Q t − 1 − Q t − 1 ) \mathbb{E}_{t-1}Y_t=\operatorname{diag}(d_t)(\mathcal{T}Q_{t-1}-Q_{t-1}) E t − 1 Y t = diag ( d t ) ( T Q t − 1 − Q t − 1 ) , the corresponding noise term can be identified as ξ t : = Y t − E t − 1 Y t \xi_t:=Y_t-\mathbb{E}_{t-1}Y_t ξ t := Y t − E t − 1 Y t . In particular, E t − 1 ξ t = 0 \mathbb{E}_{t-1}\xi_t=0 E t − 1 ξ t = 0 and ξ t ( i ) = 0 \xi_t(i)=0 ξ t ( i ) = 0 whenever d t ( i ) = 0 d_t(i)=0 d t ( i ) = 0 .
Interestingly, since T \mathcal{T} T contracts in ∥ ⋅ ∥ ∞ \|\cdot\|_{\infty} ∥ ⋅ ∥ ∞ rather than in ∥ ⋅ ∥ 2 \|\cdot\|_2 ∥ ⋅ ∥ 2 , ∥ Q t − Q ⋆ ∥ 2 \|Q_t-Q^{\star}\|_2 ∥ Q t − Q ⋆ ∥ 2 need not satisfy a contractive recursion; moreover, ∥ Q t − Q ⋆ ∥ ∞ 2 \|Q_t-Q^{\star}\|_{\infty}^2 ∥ Q t − Q ⋆ ∥ ∞ 2 is not smooth. We instead retain the coordinatewise quadratic functions Φ i ( z ) : = z i 2 / 2 \Phi_i(z):=z_i^2/2 Φ i ( z ) := z i 2 /2 , and consider
e t : = Q t − Q ⋆ , Z t ( i ) : = Φ i ( e t ) , Z t : = max i Z t ( i ) = 1 2 ∥ Q t − Q ⋆ ∥ ∞ 2 . e_t:=Q_t-Q^{\star},\quad Z_t(i):=\Phi_i(e_t),\quad Z_t:=\max_i Z_t(i)=\frac{1}{2}\|Q_t-Q^{\star}\|_{\infty}^2. e t := Q t − Q ⋆ , Z t ( i ) := Φ i ( e t ) , Z t := i max Z t ( i ) = 2 1 ∥ Q t − Q ⋆ ∥ ∞ 2 .
With the notational niceties out of our way, we derive the optimization module.
Proposition 13. Grant the notation and conditions of § 13.4.1 . For every t ≥ 1 t \ge1 t ≥ 1 and i ∈ [ N ] i \in[N] i ∈ [ N ] , it almost surely holds that
Z t ( i ) ≤ [ 1 − ( 2 − γ ) η t d t ( i ) ] Z t − 1 ( i ) + γ η t d t ( i ) Z t − 1 + η t 2 2 Y t ( i ) 2 + v t ( i ) ξ t ( i ) , (60) Z_t(i) \le\left[1-(2-\gamma)\eta_t d_t(i)\right]Z_{t-1}(i)+\gamma\eta_t d_t(i)Z_{t-1}+\frac{\eta_t^2}{2}Y_t(i)^2+v_t(i)\xi_t(i), \tag*{(60)} Z t ( i ) ≤ [ 1 − ( 2 − γ ) η t d t ( i ) ] Z t − 1 ( i ) + γ η t d t ( i ) Z t − 1 + 2 η t 2 Y t ( i ) 2 + v t ( i ) ξ t ( i ) , (60) v t ( i ) : = η t d t ( i ) e t − 1 ( i ) . v_t(i) := \eta_t d_t(i)e_{t-1}(i). v t ( i ) := η t d t ( i ) e t − 1 ( i ) .
Boundaries for Q-learning
Now, similar to Theorem 4.1 , we move on to constructing observable, anytime-valid boundaries. We maintain a bound R t ( i ) R_t(i) R t ( i ) for each Z t ( i ) Z_t(i) Z t ( i ) , and put R t : = max i R t ( i ) \mathbf{R}_t := \max_i R_t(i) R t := max i R t ( i ) . Choose observable, predictable a t ( i ) ∈ ( 0 , ∞ ) a_t(i) \in(0,\infty) a t ( i ) ∈ ( 0 , ∞ ) satisfying
a t ( i ) ≥ 1 − ( 2 − γ ) η t d t ( i ) , A 0 ( i ) : = 1 , A t ( i ) : = ∏ s = 1 t a s ( i ) . a_t(i) \ge1-(2-\gamma)\eta_t d_t(i), \qquad A_0(i) := 1,\quad A_t(i) := \prod_{s=1}^{t} a_s(i). a t ( i ) ≥ 1 − ( 2 − γ ) η t d t ( i ) , A 0 ( i ) := 1 , A t ( i ) := s = 1 ∏ t a s ( i ) .
On ⋂ j { Z t − 1 ( j ) ≤ R t − 1 ( j ) } \bigcap_j\{Z_{t-1}(j) \le R_{t-1}(j)\} ⋂ j { Z t − 1 ( j ) ≤ R t − 1 ( j )} , Proposition 13 gives (1) for coordinate i i i with
b t ( i ) : = γ η t d t ( i ) R t − 1 + η t 2 2 Y t ( i ) 2 , ∣ v t ( i ) ∣ A t ( i ) ≤ M t ( i ) : = η t d t ( i ) 2 R t − 1 ( i ) A t ( i ) . (61) b_t(i) := \gamma\eta_t d_t(i)\mathbf{R}_{t-1}+\frac{\eta_t^2}{2}Y_t(i)^2,\qquad\frac{|v_t(i)|}{A_t(i)} \le M_t(i) := \frac{\eta_t d_t(i)\sqrt{2R_{t-1}(i)}}{A_t(i)}. \tag*{(61)} b t ( i ) := γ η t d t ( i ) R t − 1 + 2 η t 2 Y t ( i ) 2 , A t ( i ) ∣ v t ( i ) ∣ ≤ M t ( i ) := A t ( i ) η t d t ( i ) 2 R t − 1 ( i ) . (61)
The coupling through R t − 1 \mathbf{R}_{t-1} R t − 1 is handled by Lemma 2.1 .
Theorem 10.4. Grant the notation and conditions above. Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and deterministic α i > 0 \alpha_i > 0 α i > 0 with ∑ i α i ≤ α \sum_i \alpha_i \le\alpha ∑ i α i ≤ α . Suppose that ( ξ t ( i ) , Δ V t ( i ) ) t ≥ 1 (\xi_t(i),\Delta V_t(i))_{t\ge1} ( ξ t ( i ) , Δ V t ( i ) ) t ≥ 1 is a sub-ψ \psi ψ process with 0 ≤ Δ V t ( i ) ≤ v t ( i ) 0 \le\Delta V_t(i) \le v_t(i) 0 ≤ Δ V t ( i ) ≤ v t ( i ) for a finite observable adapted v t ( i ) v_t(i) v t ( i ) , and choose U t ( i ) U_t(i) U t ( i ) from Theorem 2.3 or Theorem 2.5 at level α i \alpha_i α i with M ( i ) : = ( M s ( i ) ) s ≥ 1 M(i):=(M_s(i))_{s\ge1} M ( i ) := ( M s ( i ) ) s ≥ 1 , g t = Y t ( i ) g_t=Y_t(i) g t = Y t ( i ) , H t = 0 H_t=0 H t = 0 and v ( i ) : = ( v s ( i ) ) s ≥ 1 v(i):=(v_s(i))_{s\ge1} v ( i ) := ( v s ( i ) ) s ≥ 1 .
Let R 0 ( i ) : = 1 2 ( ∣ Q 0 ( i ) ∣ + B ⋆ ) 2 R_0(i):=\frac{1}{2}(|Q_0(i)|+B^\star)^2 R 0 ( i ) := 2 1 ( ∣ Q 0 ( i ) ∣ + B ⋆ ) 2 and R 0 : = max i R 0 ( i ) \mathbf{R}_0:=\max_i R_0(i) R 0 := max i R 0 ( i ) . With a t ( i ) a_t(i) a t ( i ) , A t ( i ) A_t(i) A t ( i ) , b t ( i ) b_t(i) b t ( i ) and M t ( i ) M_t(i) M t ( i ) as in (61) , define recursively
R t ( i ) : = A t ( i ) ( R 0 ( i ) + ∑ s = 1 t b s ( i ) A s ( i ) + U t ( i ) ) , R t : = max i R t ( i ) . (62) R_t(i):=A_t(i)\left(R_0(i)+\sum_{s=1}^{t}\frac{b_s(i)}{A_s(i)}+U_t(i)\right),\quad\mathbf{R}_t:=\max_i R_t(i). \tag*{(62)} R t ( i ) := A t ( i ) ( R 0 ( i ) + s = 1 ∑ t A s ( i ) b s ( i ) + U t ( i ) ) , R t := i max R t ( i ) . (62) Here U t ( i ) = 0 U_t(i)=0 U t ( i ) = 0 until coordinate i i i is first activated. Then, with probability at least 1 − α 1-\alpha 1 − α , simultaneously for every t ≥ 0 t\ge0 t ≥ 0 and i ∈ [ N ] i\in[N] i ∈ [ N ] ,
Z t ( i ) ≤ R t ( i ) , ∥ Q t − Q ⋆ ∥ ∞ ≤ 2 R t . Z_t(i)\le R_t(i),\quad\lVert Q_t-Q^\star\rVert_\infty\le\sqrt{2\mathbf{R}_t}. Z t ( i ) ≤ R t ( i ) , ∥ Q t − Q ⋆ ∥ ∞ ≤ 2 R t . On the same event, every greedy policy π t \pi_t π t with respect to Q t Q_t Q t satisfies ∥ V ⋆ − V π t ∥ ∞ ≤ 2 2 R t / ( 1 − γ ) \lVert V^\star-V^{\pi_t}\rVert_\infty\le2\sqrt{2\mathbf{R}_t}/(1-\gamma) ∥ V ⋆ − V π t ∥ ∞ ≤ 2 2 R t / ( 1 − γ ) .
Crucially, even beyond the usual application of R t \mathbf{R}_t R t to procure a data-dependent stopping time via some threshold, there exists a more direct construction of a stopping time. Let a ^ t ( s ) ∈ arg max a Q t ( s , a ) \hat a_t(s)\in\arg\max_a Q_t(s,a) a ^ t ( s ) ∈ arg max a Q t ( s , a ) and ε t : = 2 R t \varepsilon_t:=\sqrt{2\mathbf{R}_t} ε t := 2 R t . On the event of Theorem 10.4 , if Q t ( s , a ^ t ( s ) ) − Q t ( s , a ) > 2 ε t Q_t(s,\hat a_t(s))-Q_t(s,a)>2\varepsilon_t Q t ( s , a ^ t ( s )) − Q t ( s , a ) > 2 ε t for every state s s s and every a ≠ a ^ t ( s ) a\ne\hat a_t(s) a = a ^ t ( s ) , then
Q ⋆ ( s , a ^ t ( s ) ) ≥ Q t ( s , a ^ t ( s ) ) − ε t > Q t ( s , a ) + ε t ≥ Q ⋆ ( s , a ) . Q^\star(s,\hat a_t(s))\ge Q_t(s,\hat a_t(s))-\varepsilon_t>Q_t(s,a)+\varepsilon_t\ge Q^\star(s,a). Q ⋆ ( s , a ^ t ( s )) ≥ Q t ( s , a ^ t ( s )) − ε t > Q t ( s , a ) + ε t ≥ Q ⋆ ( s , a ) . Consequently, every policy selecting a ^ t ( s ) \hat a_t(s) a ^ t ( s ) is optimal, including when the criterion is first met at a data-dependent time.
For the noise, either a sub-ψ \psi ψ proxy may be used, or, under bounded rewards, the product-betting boundary. For the reader’s convenience, we present a few concrete envelopes in the following. Recall M s ( i ) 2 = 2 η s 2 d s ( i ) R s − 1 ( i ) / A s ( i ) 2 M_s(i)^2=2\eta_s^2d_s(i)R_{s-1}(i)/A_s(i)^2 M s ( i ) 2 = 2 η s 2 d s ( i ) R s − 1 ( i ) / A s ( i ) 2 .
E t − 1 [ Y t ( i ) 2 ] ≤ K t o r ( i ) : = 2 d t ( i ) [ K i + ( 1 + γ ) 2 ∥ Q t − 1 ∥ 2 ] . \mathbb{E}_{t-1}[Y_t(i)^2]\le K_t^{\mathrm{or}}(i):=2d_t(i)\left[K_i+(1+\gamma)^2\|Q_{t-1}\|^2\right]. E t − 1 [ Y t ( i ) 2 ] ≤ K t or ( i ) := 2 d t ( i ) [ K i + ( 1 + γ ) 2 ∥ Q t − 1 ∥ 2 ] .
Table 2, third row, gives the observable choice ν t ( i ) : = 2 3 [ Y t ( i ) 2 + K t o r ( i ) ] \nu_t(i):=\frac{2}{3}[Y_t(i)^2+K_t^{\mathrm{or}}(i)] ν t ( i ) := 3 2 [ Y t ( i ) 2 + K t or ( i )] with ψ = ψ N \psi=\psi_N ψ = ψ N , and one may take r max = max i K i r_{\max}=\max_i\sqrt{K_i} r m a x = max i K i . The normal-mixture choice in (62) is
U t ( i ) = N α i ( 4 3 ∑ s = 1 t η s 2 d s ( i ) R s − 1 ( i ) A s ( i ) 2 [ Y s ( i ) 2 + K s o r ( i ) ] ) . U_t(i)=\mathcal{N}_{\alpha_i}\left(\frac{4}{3}\sum_{s=1}^{t}\frac{\eta_s^2d_s(i)R_{s-1}(i)}{A_s(i)^2}[Y_s(i)^2+K_s^{\mathrm{or}}(i)]\right). U t ( i ) = N α i ( 3 4 s = 1 ∑ t A s ( i ) 2 η s 2 d s ( i ) R s − 1 ( i ) [ Y s ( i ) 2 + K s or ( i )] ) .
Similarly, stitching envelopes may be given.
Bounded rewards, mixing/stitching. If ∣ r t ( i ) ∣ ≤ r max |r_t(i)|\le r_{\max} ∣ r t ( i ) ∣ ≤ r m a x on activated coordinates, ∥ Q 0 ∥ ∞ ≤ B : = r max / ( 1 − γ ) \|Q_0\|_\infty\le B:=r_{\max}/(1-\gamma) ∥ Q 0 ∥ ∞ ≤ B := r m a x / ( 1 − γ ) and η t ≤ 1 \eta_t\le1 η t ≤ 1 , then ∥ Q t ∥ ∞ ≤ B \|Q_t\|_\infty\le B ∥ Q t ∥ ∞ ≤ B pathwise and Z t ( i ) ≤ 2 B 2 Z_t(i)\le2B^2 Z t ( i ) ≤ 2 B 2 . Thus, each R t ( i ) R_t(i) R t ( i ) may be capped at 2 B 2 2B^2 2 B 2 , using the capped values subsequently in (61) . If B = 0 B=0 B = 0 , then Q t = Q ⋆ = 0 Q_t=Q^\star=0 Q t = Q ⋆ = 0 and one may take R t = 0 R_t=0 R t = 0 ; below assume B > 0 B>0 B > 0 . Moreover, ∣ Y t ( i ) ∣ ≤ 2 B d t ( i ) |Y_t(i)|\le2Bd_t(i) ∣ Y t ( i ) ∣ ≤ 2 B d t ( i ) and ∣ ξ t ( i ) ∣ ≤ 2 B d t ( i ) |\xi_t(i)|\le2Bd_t(i) ∣ ξ t ( i ) ∣ ≤ 2 B d t ( i ) . Hence one may use ψ = ψ N \psi=\psi_N ψ = ψ N with ν t ( i ) = 4 B 2 d t ( i ) \nu_t(i)=4B^2d_t(i) ν t ( i ) = 4 B 2 d t ( i ) . Alternatively, the bounded-observation construction underlying Corollary 7.6 gives ψ = ψ E , 2 B \psi=\psi_{E,2B} ψ = ψ E , 2 B with ν t ( i ) = Y t ( i ) 2 \nu_t(i)=Y_t(i)^2 ν t ( i ) = Y t ( i ) 2 . Theorem 2.3 and Corollary 2.4 then give mixing, sub-exponential stitching, or sub-gamma stitching envelopes.
U t ( i ) = sup { y ∈ R : ∑ k : λ k ∈ Λ t G Q ( M ( i ) ) p k exp ( λ k y − ∑ s = 1 t ψ E , 1 ( λ k M s ( i ) ∣ Y s ( i ) ∣ ) ) < 1 α i } . U_t(i)=\sup\left\{y\in\mathbb{R}:\sum_{k:\lambda_k\in\Lambda_t^{G_Q}(M(i))}p_k\exp\left(\lambda_ky-\sum_{s=1}^{t}\psi_{E,1}\left(\lambda_kM_s(i)|Y_s(i)|\right)\right)<\frac{1}{\alpha_i}\right\}. U t ( i ) = sup ⎩ ⎨ ⎧ y ∈ R : k : λ k ∈ Λ t G Q ( M ( i )) ∑ p k exp ( λ k y − s = 1 ∑ t ψ E , 1 ( λ k M s ( i ) ∣ Y s ( i ) ∣ ) ) < α i 1 ⎭ ⎬ ⎫ .
where λ k ∈ ( 0 , G Q − 1 ) \lambda_k\in(0,G_Q^{-1}) λ k ∈ ( 0 , G Q − 1 ) , λ k ↓ 0 \lambda_k\downarrow0 λ k ↓ 0 , p k > 0 p_k>0 p k > 0 and ∑ k p k = 1 \sum_kp_k=1 ∑ k p k = 1 are deterministic. With the same initialization, coefficients a t ( i ) a_t(i) a t ( i ) , levels α i \alpha_i α i , and choices of ( λ k , p k ) (\lambda_k,p_k) ( λ k , p k ) , these betting envelopes are no larger than the corresponding exponential or sub-gamma stitching envelopes with ν t ( i ) = Y t ( i ) 2 \nu_t(i)=Y_t(i)^2 ν t ( i ) = Y t ( i ) 2 .
Proofs of results in §10
This section first collects the proofs of the results in § 13.3 , and then those for §10.4. We begin with an auxiliary lemma that records two consequences of (53) .
Lemma 10.5. Grant the notation of § 13.3.1 . Then, for every t ≥ 1 t\ge1 t ≥ 1 , the following hold.
(i) ∥ x t − x ⋆ ∥ ≤ max { ∥ x 0 − x ⋆ ∥ , max 1 ≤ s ≤ t ∥ φ s ∥ } ≤ max { D , max 0 ≤ s < t Z s 1 / 2 } \|x_t-x^\star\|\le\max\{\|x_0-x^\star\|,\max_{1\le s\le t}\|\varphi_s\|\}\le\max\{D,\max_{0\le s<t}Z_s^{1/2}\} ∥ x t − x ⋆ ∥ ≤ max { ∥ x 0 − x ⋆ ∥ , max 1 ≤ s ≤ t ∥ φ s ∥ } ≤ max { D , max 0 ≤ s < t Z s 1/2 } .
(ii) F ( x t ) − F ⋆ ≤ [ t ( F ( x t − 1 ) − F ⋆ ) + L ∥ φ t ∥ 2 / 2 ] / ( t + 1 ) F(x_t)-F^\star\le[t(F(x_{t-1})-F^\star)+L\|\varphi_t\|^2/2]/(t+1) F ( x t ) − F ⋆ ≤ [ t ( F ( x t − 1 ) − F ⋆ ) + L ∥ φ t ∥ 2 /2 ] / ( t + 1 ) , and consequently
∥ ∇ F ( x t ) ∥ 2 ≤ c t Z t − 1 , c t : = L 2 t + 1 + L t 2 ( t + 1 ) η t − 1 . \|\nabla F(x_t)\|^2\le c_tZ_{t-1},\qquad c_t:=\frac{L^2}{t+1}+\frac{L\sqrt{t}}{2(t+1)\sqrt{\eta_{t-1}}}. ∥∇ F ( x t ) ∥ 2 ≤ c t Z t − 1 , c t := t + 1 L 2 + 2 ( t + 1 ) η t − 1 L t .
Proof of Lemma 10.5. By (53) and φ s = z s − x ⋆ \varphi_s=z_s-x^\star φ s = z s − x ⋆ , it follows x t − x ⋆ = ( t + 1 ) − 1 [ ( x 0 − x ⋆ ) + ∑ s = 1 t φ s ] x_t-x^\star=(t+1)^{-1}[(x_0-x^\star)+\sum_{s=1}^{t}\varphi_s] x t − x ⋆ = ( t + 1 ) − 1 [( x 0 − x ⋆ ) + ∑ s = 1 t φ s ] ; therefore, (i) follows from the triangle inequality, ∥ x 0 − x ⋆ ∥ ≤ D \|x_0-x^\star\|\le D ∥ x 0 − x ⋆ ∥ ≤ D and ∥ φ s ∥ 2 ≤ Z s − 1 \|\varphi_s\|^2\le Z_{s-1} ∥ φ s ∥ 2 ≤ Z s − 1 . For (ii), the identity ( t + 1 ) x t = t x t − 1 + ( x ⋆ + φ t ) (t+1)x_t=tx_{t-1}+(x^\star+\varphi_t) ( t + 1 ) x t = t x t − 1 + ( x ⋆ + φ t ) exhibits x t x_t x t as a convex combination of x t − 1 x_{t-1} x t − 1 and x ⋆ + φ t x^\star+\varphi_t x ⋆ + φ t . Convexity of F F F , followed by (17) with x = x t x=x_t x = x t , y = x ⋆ + φ t y=x^\star+\varphi_t y = x ⋆ + φ t and ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 , gives the first inequality. Next, (17) with y = x − ∇ F ( x ) / L y=x-\nabla F(x)/L y = x − ∇ F ( x ) / L yields ∥ ∇ F ( x ) ∥ 2 ≤ 2 L ( F ( x ) − F ⋆ ) \|\nabla F(x)\|^2\le2L(F(x)-F^\star) ∥∇ F ( x ) ∥ 2 ≤ 2 L ( F ( x ) − F ⋆ ) for every x ∈ R d x\in\mathbb{R}^d x ∈ R d . Therefore,
∥ ∇ F ( x t ) ∥ 2 ≤ L 2 t + 1 ∥ φ t ∥ 2 + L t 2 ( t + 1 ) η t − 1 ⋅ 4 t η t − 1 ( F ( x t − 1 ) − F ⋆ ) ≤ c t Z t − 1 , \|\nabla F(x_t)\|^2\le\frac{L^2}{t+1}\|\varphi_t\|^2+\frac{L\sqrt{t}}{2(t+1)\sqrt{\eta_{t-1}}}\cdot4\sqrt{t\eta_{t-1}}(F(x_{t-1})-F^\star)\le c_tZ_{t-1}, ∥∇ F ( x t ) ∥ 2 ≤ t + 1 L 2 ∥ φ t ∥ 2 + 2 ( t + 1 ) η t − 1 L t ⋅ 4 t η t − 1 ( F ( x t − 1 ) − F ⋆ ) ≤ c t Z t − 1 ,
since both components of Z t − 1 Z_{t-1} Z t − 1 in (54) are nonnegative.
Proof of Proposition 11. Fix t ≥ 1 t \ge1 t ≥ 1 . By (53) , φ t + 1 = φ t − 2 η t / t g t \varphi_{t+1}=\varphi_{t-2}\sqrt{\eta_t/t}\,g_t φ t + 1 = φ t − 2 η t / t g t . Therefore, substituting g t = ∇ F ( x t ) − ξ t g_t=\nabla F(x_t)-\xi_t g t = ∇ F ( x t ) − ξ t one obtains
∥ φ t + 1 ∥ 2 = ∥ φ t ∥ 2 − 4 η t / t ⟨ ∇ F ( x t ) , φ t ⟩ + b t + ⟨ v t , ξ t ⟩ . (63) \|\varphi_{t+1}\|^2=\|\varphi_t\|^2-4\sqrt{\eta_t/t}\langle\nabla F(x_t),\varphi_t\rangle+b_t+\langle v_t,\xi_t\rangle. \tag*{(63)} ∥ φ t + 1 ∥ 2 = ∥ φ t ∥ 2 − 4 η t / t ⟨ ∇ F ( x t ) , φ t ⟩ + b t + ⟨ v t , ξ t ⟩ . (63)
Since φ t = ( x t − x ⋆ ) + t ( x t − x t − 1 ) \varphi_t=(x_t-x^\star)+t(x_t-x_{t-1}) φ t = ( x t − x ⋆ ) + t ( x t − x t − 1 ) , the interpolation inequality (46) , together with convexity in the form ⟨ ∇ F ( x t ) , x t − x t − 1 ⟩ ≥ F ( x t ) − F ( x t − 1 ) \langle\nabla F(x_t),x_t-x_{t-1}\rangle\ge F(x_t)-F(x_{t-1}) ⟨ ∇ F ( x t ) , x t − x t − 1 ⟩ ≥ F ( x t ) − F ( x t − 1 ) , gives
⟨ ∇ F ( x t ) , φ t ⟩ ≥ F ( x t ) − F ⋆ + 1 2 L ∥ ∇ F ( x t ) ∥ 2 + t ( F ( x t ) − F ( x t − 1 ) ) . \langle\nabla F(x_t),\varphi_t\rangle\ge F(x_t)-F^\star+\frac{1}{2L}\|\nabla F(x_t)\|^2+t(F(x_t)-F(x_{t-1})). ⟨ ∇ F ( x t ) , φ t ⟩ ≥ F ( x t ) − F ⋆ + 2 L 1 ∥∇ F ( x t ) ∥ 2 + t ( F ( x t ) − F ( x t − 1 )) .
Plugging this into (63) , by definition of Z t Z_t Z t we can write
Z t − Z t − 1 ≤ b t + ⟨ v t , ξ t ⟩ − 2 L η t / t ∥ ∇ F ( x t ) ∥ 2 + 4 η t ( t + 1 − t − 1 t ) ( F ( x t ) − F ⋆ ) + 4 t ( η t − η t − 1 ) ( F ( x t − 1 ) − F ⋆ ) . \begin{aligned}
Z_t-Z_{t-1}\le{}&b_t+\langle v_t,\xi_t\rangle-\frac{2}{L}\sqrt{\eta_t/t}\|\nabla F(x_t)\|^2\\
&+4\sqrt{\eta_t}\left(\sqrt{t+1}-\sqrt{t}-\frac{1}{\sqrt{t}}\right)(F(x_t)-F^\star)\\
&+4\sqrt{t}\left(\sqrt{\eta_t}-\sqrt{\eta_{t-1}}\right)(F(x_{t-1})-F^\star).
\end{aligned} Z t − Z t − 1 ≤ b t + ⟨ v t , ξ t ⟩ − L 2 η t / t ∥∇ F ( x t ) ∥ 2 + 4 η t ( t + 1 − t − t 1 ) ( F ( x t ) − F ⋆ ) + 4 t ( η t − η t − 1 ) ( F ( x t − 1 ) − F ⋆ ) .
Now we deliver the coup de grâce for this proof. Firstly, t + 1 − t ≤ 1 / ( 2 t ) \sqrt{t+1}-\sqrt{t}\le1/(2\sqrt{t}) t + 1 − t ≤ 1/ ( 2 t ) controls A A A . Secondly, by definition of a t a_t a t ,
B ≤ 4 ( a t − 1 ) t η t − 1 ( F ( x t − 1 ) − F ⋆ ) ≤ ( a ) ( a t − 1 ) Z t − 1 , B\le4(a_t-1)\sqrt{t\eta_{t-1}}(F(x_{t-1})-F^\star)\mathrel{\overset{(a)}{\le}}(a_t-1)Z_{t-1}, B ≤ 4 ( a t − 1 ) t η t − 1 ( F ( x t − 1 ) − F ⋆ ) ≤ ( a ) ( a t − 1 ) Z t − 1 ,
where (a) follows by (54) . This controls B B B and completes the proof.
Proof of Theorem 10.1. We verify the conditions of Lemma 2.1, with the oracle boundary furnished by the proof of Theorem 2.3. By § 13.3.1 , Z 0 ≤ R 0 Z_0\le R_0 Z 0 ≤ R 0 surely, and by Proposition 11, (1) holds almost surely for every t ≥ 1 t\ge1 t ≥ 1 , with a t , b t a_t,b_t a t , b t and v t v_t v t as in (55) . Write v ~ : = ( v s / A s ) s ≥ 1 \tilde v:=(v_s/A_s)_{s\ge1} v ~ := ( v s / A s ) s ≥ 1 , and let M α ( t ; v ~ ) M_\alpha(t;\tilde v) M α ( t ; v ~ ) denote the oracle boundary B t ⋆ B_t^\star B t ⋆ in the proof of Theorem 2.3 matching the chosen ⋄ ∈ { m i x , d m , S t } \diamond\in\{\mathrm{mix},\mathrm{dm},\mathrm{St}\} ⋄ ∈ { mix , dm , St } respectively, evaluated at v ~ \tilde v v ~ and ( Δ V s ) s ≥ 1 (\Delta V_s)_{s\ge1} ( Δ V s ) s ≥ 1 . These results give P ( Y t ( v ~ ) ≤ M α ( t ; v ~ ) for all t ≥ 1 ) ≥ 1 − α \mathbb{P}(Y_t(\tilde v)\le M_\alpha(t;\tilde v)\text{ for all }t\ge1)\ge1-\alpha P ( Y t ( v ~ ) ≤ M α ( t ; v ~ ) for all t ≥ 1 ) ≥ 1 − α .
It remains to verify (2) . Fix t ≥ 1 t\ge1 t ≥ 1 and work on ⋂ s < t { Z s ≤ R s } \bigcap_{s<t}\{Z_s\le R_s\} ⋂ s < t { Z s ≤ R s } . For s ≤ t s\le t s ≤ t ,
∥ v s ∥ / A s = 4 η s / s ∥ φ s ∥ / A s ≤ 4 η s / s Z s − 1 / A s ≤ M s . \|v_s\|/A_s=4\sqrt{\eta_s/s}\|\varphi_s\|/A_s\le4\sqrt{\eta_s/s}Z_{s-1}/A_s\le M_s. ∥ v s ∥/ A s = 4 η s / s ∥ φ s ∥/ A s ≤ 4 η s / s Z s − 1 / A s ≤ M s .
Therefore, E t ( M ) E_t(M) E t ( M ) of Theorem 2.3 holds for v ~ \tilde v v ~ . On E t ( M ) E_t(M) E t ( M ) , (67) –(68) give M α ( t ; v ~ ) ≤ U α ( t ; M , ν ) ≤ U t M_\alpha(t;\tilde v)\le U_\alpha(t;M,\nu)\le U_t M α ( t ; v ~ ) ≤ U α ( t ; M , ν ) ≤ U t , which is (2) . Consequently, Lemma 2.1, with α 0 = 0 \alpha_0=0 α 0 = 0 , yields P ( Z t ≤ R t for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(Z_t\le R_t\text{ for all }t\ge0)\ge1-\alpha P ( Z t ≤ R t for all t ≥ 0 ) ≥ 1 − α . Finally, F ( x t ) − F ⋆ ≤ Z t / [ 4 ( t + 1 ) η t ] F(x_t)-F^\star\le Z_t/[4\sqrt{(t+1)\eta_t}] F ( x t ) − F ⋆ ≤ Z t / [ 4 ( t + 1 ) η t ] by (54) , which transfers the envelope to Δ ^ t \widehat\Delta_t Δ t on the same event.
Proof of Proposition 12. The proof of Proposition 12 follows those of Propositions 2 and 3, with one difference. In § 3.2.2 , the bound ∥ v s ∥ ≤ η s G \|v_s\|\le\eta_sG ∥ v s ∥ ≤ η s G held surely, whereas here ∥ v s ∥ / A s ≤ M s \|v_s\|/A_s\le M_s ∥ v s ∥/ A s ≤ M s only holds until the first crossing of the envelope. Accordingly, the comparison between the oracle and the observable mixtures is carried out on the event E t ( M ) E_t(M) E t ( M ) , exactly as in Theorem 2.3. In particular, following the proof of Proposition 9, we construct an oracle boundary from a mixture of quadratic product-betting supermartingales, dominate it by U t Q U_t^{\mathrm{Q}} U t Q on E t ( M ) E_t(M) E t ( M ) , and conclude via Lemma 2.1.
For notational ease, let X s : = ⟨ v ~ s , ξ s ⟩ X_s:=\langle\tilde v_s,\xi_s\rangle X s := ⟨ v ~ s , ξ s ⟩ , and Y t ( v ) = Y t = ∑ s = 1 t X s Y_t(v)=Y_t=\sum_{s=1}^{t}X_s Y t ( v ) = Y t = ∑ s = 1 t X s . For λ > 0 \lambda>0 λ > 0 , let
K t Q ( λ ) : = ∏ s = 1 t 1 + λ X s + λ 2 X s 2 / 3 1 + λ 2 σ 2 ∥ v ~ s ∥ 2 / 3 , K 0 Q ( λ ) = 1. K_t^{\mathrm{Q}}(\lambda):=\prod_{s=1}^{t}\frac{1+\lambda X_s+\lambda^2X_s^2/3}{1+\lambda^2\sigma^2\|\tilde v_s\|^2/3},\qquad K_0^{\mathrm{Q}}(\lambda)=1. K t Q ( λ ) := s = 1 ∏ t 1 + λ 2 σ 2 ∥ v ~ s ∥ 2 /3 1 + λ X s + λ 2 X s 2 /3 , K 0 Q ( λ ) = 1.
Since v ~ s \widetilde{v}_s v s is predictable, E s − 1 X s = 0 \mathbb{E}_{s-1}X_s=0 E s − 1 X s = 0 and E s − 1 X s 2 ≤ ∥ v ~ s ∥ 2 E s − 1 ∥ ξ s ∥ 2 ≤ σ 2 ∥ v ~ s ∥ 2 \mathbb{E}_{s-1}X_s^2\leq\|\widetilde{v}_s\|^2\mathbb{E}_{s-1}\|\xi_s\|^2\leq\sigma^2\|\widetilde{v}_s\|^2 E s − 1 X s 2 ≤ ∥ v s ∥ 2 E s − 1 ∥ ξ s ∥ 2 ≤ σ 2 ∥ v s ∥ 2 . Therefore, as in the proof of Proposition 2, K t Q ( λ ) K_t^Q(\lambda) K t Q ( λ ) is a nonnegative supermartingale and so is K t : = ∑ k ≥ 0 p k K t Q ( λ k ) K_t:=\sum_{k\geq0}p_kK_t^Q(\lambda_k) K t := ∑ k ≥ 0 p k K t Q ( λ k ) , with K 0 ≤ 1 K_0\leq1 K 0 ≤ 1 . Ville's inequality (Lemma 1 of Howard et al., [58 ] ) yields P ( Ω α ) ≥ 1 − α \mathbb{P}(\Omega_\alpha)\geq1-\alpha P ( Ω α ) ≥ 1 − α , where Ω α : = { K t < 1 / α for all t ≥ 1 } \Omega_\alpha:=\{K_t<1/\alpha\text{ for all }t\geq1\} Ω α := { K t < 1/ α for all t ≥ 1 } .
Write log K t Q ( λ ) = λ Y t − J ~ t ( λ ) \log K_t^Q(\lambda)=\lambda Y_t-\widetilde{J}_t(\lambda) log K t Q ( λ ) = λ Y t − J t ( λ ) , where J ~ t ( λ ) : = ∑ s ≤ t [ λ ( λ X s ) + log ( 1 + λ 2 σ 2 ∥ v ~ s ∥ 2 / 3 ) ] \widetilde{J}_t(\lambda):=\sum_{s\leq t}[\lambda(\lambda X_s)+\log(1+\lambda^2\sigma^2\|\widetilde{v}_s\|^2/3)] J t ( λ ) := ∑ s ≤ t [ λ ( λ X s ) + log ( 1 + λ 2 σ 2 ∥ v s ∥ 2 /3 )] , and put
w t ( y ) : = ∑ k ≥ 0 p k exp [ λ k y − J ~ t ( λ k ) ] , M α ( t ; v ~ ) : = sup { y ∈ R : w t ( y ) < 1 / α } . w_t(y):=\sum_{k\geq0}p_k\exp[\lambda_k y-\widetilde{J}_t(\lambda_k)],\qquad\mathcal{M}_\alpha(t;\widetilde{v}):=\sup\{y\in\mathbb{R}:w_t(y)<1/\alpha\}. w t ( y ) := k ≥ 0 ∑ p k exp [ λ k y − J t ( λ k )] , M α ( t ; v ) := sup { y ∈ R : w t ( y ) < 1/ α } .
Since w t ( Y t ) = K t w_t(Y_t)=K_t w t ( Y t ) = K t , from the definition of Ω α \Omega_\alpha Ω α , it holds that
P ( Y t ( v ~ ) ≤ M α ( t ; v ~ ) for all t ≥ 1 ) ≥ 1 − α . \mathbb{P}(Y_t(\widetilde{v})\leq\mathcal{M}_\alpha(t;\widetilde{v})\text{ for all }t\geq1)\geq1-\alpha. P ( Y t ( v ) ≤ M α ( t ; v ) for all t ≥ 1 ) ≥ 1 − α .
This establishes the first condition for an application of Lemma 2.1 . Now we establish (2) .
Fix t ≥ 1 t\geq1 t ≥ 1 and work on ⋂ s < t { Z s ≤ R s Q } \bigcap_{s<t}\{Z_s\leq R_s^Q\} ⋂ s < t { Z s ≤ R s Q } . As in the proof of Theorem 10.1 , ∥ v ~ s ∥ ≤ M s \|\widetilde{v}_s\|\leq M_s ∥ v s ∥ ≤ M s for s ≤ t s\leq t s ≤ t . Moreover, ∥ ξ s ∥ ≤ ∥ ∇ F ( x s ) ∥ + ∥ g s ∥ ≤ G s + ∥ g s ∥ \|\xi_s\|\leq\|\nabla F(x_s)\|+\|g_s\|\leq G_s+\|g_s\| ∥ ξ s ∥ ≤ ∥∇ F ( x s ) ∥ + ∥ g s ∥ ≤ G s + ∥ g s ∥ , so that
∣ λ X s ∣ ≤ λ M s ( G s + ∥ g s ∥ ) ⟹ χ ( λ X s ) ≤ j ( λ M s ( G s + ∥ g s ∥ ) ) . |\lambda X_s|\leq\lambda M_s(G_s+\|g_s\|)\Longrightarrow\chi(\lambda X_s)\leq j(\lambda M_s(G_s+\|g_s\|)). ∣ λ X s ∣ ≤ λ M s ( G s + ∥ g s ∥ ) ⟹ χ ( λ X s ) ≤ j ( λ M s ( G s + ∥ g s ∥ )) .
Moreover, log ( 1 + λ 2 σ 2 ∥ v ~ ∥ 2 / 3 ) ≤ log ( 1 + λ 2 σ 2 M s 2 / 3 ) \log(1+\lambda^2\sigma^2\|\widetilde{v}\|^2/3)\leq\log(1+\lambda^2\sigma^2M_s^2/3) log ( 1 + λ 2 σ 2 ∥ v ∥ 2 /3 ) ≤ log ( 1 + λ 2 σ 2 M s 2 /3 ) . Therefore, J ~ t ≤ J t Q \widetilde{J}_t\leq J_t^Q J t ≤ J t Q , which yields w t ≥ W t Q w_t\geq W_t^Q w t ≥ W t Q , and in turn,
{ y : w t ( y ) < 1 / α } ⊆ { y : W t Q ( y ) < 1 / α } , M α ( t ; v ~ ) ≤ U t Q . \{y:w_t(y)<1/\alpha\}\subseteq\{y:W_t^Q(y)<1/\alpha\},\qquad\mathcal{M}_\alpha(t;\widetilde{v})\leq U_t^Q. { y : w t ( y ) < 1/ α } ⊆ { y : W t Q ( y ) < 1/ α } , M α ( t ; v ) ≤ U t Q .
This establishes (2) , and Lemma 2.1 establishes that R t Q R_t^Q R t Q is an anytime-valid envelope of Z t Z_t Z t .
Finally, using j ( b ) ≤ b 2 / 6 j(b)\leq b^2/6 j ( b ) ≤ b 2 /6 and log ( 1 + u ) ≤ u \log(1+u)\leq u log ( 1 + u ) ≤ u ,
J t Q ( λ ) ≤ ∑ s = 1 t λ 2 M s 2 [ ( G s + ∥ g s ∥ ) 2 6 + σ 2 3 ] = λ 2 2 V t S N , J_t^Q(\lambda)\leq\sum_{s=1}^{t}\lambda^2M_s^2\left[\frac{(G_s+\|g_s\|)^2}{6}+\frac{\sigma^2}{3}\right]=\frac{\lambda^2}{2}V_t^{\mathrm{SN}}, J t Q ( λ ) ≤ s = 1 ∑ t λ 2 M s 2 [ 6 ( G s + ∥ g s ∥ ) 2 + 3 σ 2 ] = 2 λ 2 V t SN ,
whence W t Q ( y ) ≥ ∑ k p k exp ( λ k y − λ k 2 V t S N / 2 ) W_t^Q(y)\geq\sum_kp_k\exp(\lambda_ky-\lambda_k^2V_t^{\mathrm{SN}}/2) W t Q ( y ) ≥ ∑ k p k exp ( λ k y − λ k 2 V t SN /2 ) , and U t Q ≤ U t S N , D M U_t^Q\leq U_t^{\mathrm{SN,DM}} U t Q ≤ U t SN , DM at common ( M s ) s ≤ t (M_s)_{s\leq t} ( M s ) s ≤ t . Furthermore, U t S N , D M ≤ U t S N , S t U_t^{\mathrm{SN,DM}}\leq U_t^{\mathrm{SN,St}} U t SN , DM ≤ U t SN , St , since a discrete mixture dominates each of its components (§ 9.3 ). Induction on t t t now yields (58) . □
Proof of Theorem 10.2 . Since η t \eta_t η t is nonincreasing, A t = 1 A_t=1 A t = 1 for all t t t . Recall c t c_t c t from Lemma 10.5 . We proceed along the lines of the proof of Feng et al. [ [47 ] , equivalently Feng et al. [ [46 ] .
Let ϕ d \phi_d ϕ d denote the standard Gaussian density on R d \mathbb{R}^d R d . As
exp ( λ ∥ x ∥ 2 ) = ∫ R d exp ( 2 λ ⟨ u , x ⟩ ) ϕ d ( u ) d u \exp(\lambda\|x\|^2)=\int_{\mathbb{R}^d}\exp(\sqrt{2\lambda}\langle u,x\rangle)\phi_d(u)\,du exp ( λ ∥ x ∥ 2 ) = ∫ R d exp ( 2 λ ⟨ u , x ⟩) ϕ d ( u ) d u
for x ∈ R d x\in\mathbb{R}^d x ∈ R d and λ > 0 \lambda>0 λ > 0 , Tonelli's theorem gives, for every t ≥ 1 t\geq1 t ≥ 1 ,
E exp ( ∥ ξ t ∥ 2 4 σ N 2 ) = ∫ R d E [ E t − 1 exp ⟨ u 2 σ N , ξ t ⟩ ] ϕ d ( u ) d u ≤ ∫ R d e ∥ u ∥ 2 / 4 ϕ d ( u ) d u = 2 d / 2 , \mathbb{E}\exp\left(\frac{\|\xi_t\|^2}{4\sigma_N^2}\right)=\int_{\mathbb{R}^d}\mathbb{E}\left[\mathbb{E}_{t-1}\exp\left\langle\frac{u}{\sqrt{2}\sigma_N},\xi_t\right\rangle\right]\phi_d(u)\,du\leq\int_{\mathbb{R}^d}e^{\|u\|^2/4}\phi_d(u)\,du=2^{d/2}, E exp ( 4 σ N 2 ∥ ξ t ∥ 2 ) = ∫ R d E [ E t − 1 exp ⟨ 2 σ N u , ξ t ⟩ ] ϕ d ( u ) d u ≤ ∫ R d e ∥ u ∥ 2 /4 ϕ d ( u ) d u = 2 d /2 ,
where (a) follows from the sub-Gaussian condition with θ = u / ( 2 σ N ) \theta=u/(\sqrt{2}\sigma_N) θ = u / ( 2 σ N ) . Now fix T ≥ 1 T\geq1 T ≥ 1 , and put w t : = η t / ( t H p ) w_t:=\eta_t/(tH_p) w t := η t / ( t H p ) . It is immediate that
E exp ( ∑ t ≤ T w t ∥ ξ t ∥ 2 4 σ N 2 ) ≤ 2 d / 2 ∑ t ≤ T w t + 1 − ∑ t ≤ T w t ≤ 2 d / 2 . \mathbb{E}\exp\left(\sum_{t\leq T}\frac{w_t\|\xi_t\|^2}{4\sigma_N^2}\right)\leq2^{d/2}\sum_{t\leq T}w_t+1-\sum_{t\leq T}w_t\leq2^{d/2}. E exp ( t ≤ T ∑ 4 σ N 2 w t ∥ ξ t ∥ 2 ) ≤ 2 d /2 t ≤ T ∑ w t + 1 − t ≤ T ∑ w t ≤ 2 d /2 .
where we use ∑ t ≤ T w t ≤ 1 \sum_{t \le T} w_t \le1 ∑ t ≤ T w t ≤ 1 by Lemma 14.3. Therefore, by Markov’s inequality, for every T ≥ 1 T \ge1 T ≥ 1 ,
P ( ∑ t ≤ T η t t ∥ ξ t ∥ 2 > 2 σ N 2 H p ( d log 2 + 2 log 1 δ ) ) ≤ δ , \mathbb{P}\left(\sum_{t \le T}\frac{\eta_t}{t}\lVert\xi_t\rVert^2 > 2\sigma_N^2 H_p\left(d\log2 + 2\log\frac{1}{\delta}\right)\right) \le\delta, P ( t ≤ T ∑ t η t ∥ ξ t ∥ 2 > 2 σ N 2 H p ( d log 2 + 2 log δ 1 ) ) ≤ δ ,
and continuity from below of P \mathbb{P} P gives P ( Ω ξ ) ≥ 1 − δ \mathbb{P}(\Omega_\xi) \ge1-\delta P ( Ω ξ ) ≥ 1 − δ , where
Ω ξ : = { ∑ t ≥ 1 η t t ∥ ξ t ∥ 2 ≤ 2 σ N 2 H p ( d log 2 + 2 log 1 δ ) } . \Omega_\xi:= \left\{\sum_{t \ge1}\frac{\eta_t}{t}\lVert\xi_t\rVert^2 \le2\sigma_N^2 H_p\left(d\log2 + 2\log\frac{1}{\delta}\right)\right\}. Ω ξ := { t ≥ 1 ∑ t η t ∥ ξ t ∥ 2 ≤ 2 σ N 2 H p ( d log 2 + 2 log δ 1 ) } .
On the other hand, ( ξ t , σ N 2 I d ) t ≥ 0 (\xi_t,\sigma_N^2 I_d)_{t\ge0} ( ξ t , σ N 2 I d ) t ≥ 0 is a sub-ψ N \psi_N ψ N process, so that Theorem 10.1 shows that Ω R : = { Z t ≤ R t for all t ≥ 0 } \Omega_R := \{Z_t \le R_t \text{ for all } t \ge0\} Ω R := { Z t ≤ R t for all t ≥ 0 } satisfies P ( Ω R ) ≥ 1 − α \mathbb{P}(\Omega_R) \ge1-\alpha P ( Ω R ) ≥ 1 − α . Consequently, P ( Ω R ∩ Ω ξ ) ≥ 1 − α − δ \mathbb{P}(\Omega_R \cap\Omega_\xi) \ge1-\alpha-\delta P ( Ω R ∩ Ω ξ ) ≥ 1 − α − δ , and we work on Ω R ∩ Ω ξ \Omega_R \cap\Omega_\xi Ω R ∩ Ω ξ for the rest of the proof.
We now bound the two components ∑ s = 1 t 4 η s s A s ∥ g s ∥ 2 \sum_{s=1}^t \frac{4\eta_s}{sA_s}\lVert g_s\rVert^2 ∑ s = 1 t s A s 4 η s ∥ g s ∥ 2 and U t U_t U t from (57) . Firstly, V t N = 16 σ N 2 ∑ s ≤ t ( η s / s ) R s − 1 V_t^N = 16\sigma_N^2\sum_{s\le t}(\eta_s/s)R_{s-1} V t N = 16 σ N 2 ∑ s ≤ t ( η s / s ) R s − 1 . For both the dm and St choices of U t U_t U t , we obtain
U t ≤ log [ 1 / ( α ρ 0 ) ] λ 0 + λ 0 V t N 2 = 8 σ N 2 H p log 1 α ρ 0 + 1 H p ∑ s = 1 t η s s R s − 1 . (64) U_t \le\frac{\log[1/(\alpha\rho_0)]}{\lambda_0}+\frac{\lambda_0 V_t^N}{2}=8\sigma_N^2 H_p\log\frac{1}{\alpha\rho_0}+\frac{1}{H_p}\sum_{s=1}^t\frac{\eta_s}{s}R_{s-1}. \tag*{(64)} U t ≤ λ 0 log [ 1/ ( α ρ 0 )] + 2 λ 0 V t N = 8 σ N 2 H p log α ρ 0 1 + H p 1 s = 1 ∑ t s η s R s − 1 . (64)
Secondly, on Ω R \Omega_R Ω R , Lemma 10.5(ii) gives ∥ ∇ F ( x s ) ∥ 2 ≤ c s Z s − 1 ≤ c s R s − 1 \lVert\nabla F(x_s)\rVert^2 \le c_sZ_{s-1}\le c_sR_{s-1} ∥ ∇ F ( x s ) ∥ 2 ≤ c s Z s − 1 ≤ c s R s − 1 , so that ∥ g s ∥ 2 ≤ 2 ∥ ∇ F ( x s ) ∥ 2 + 2 ∥ ξ s ∥ 2 ≤ 2 c s R s − 1 + 2 ∥ ξ s ∥ 2 \lVert g_s\rVert^2 \le2\lVert\nabla F(x_s)\rVert^2+2\lVert\xi_s\rVert^2 \le2c_sR_{s-1}+2\lVert\xi_s\rVert^2 ∥ g s ∥ 2 ≤ 2 ∥ ∇ F ( x s ) ∥ 2 + 2 ∥ ξ s ∥ 2 ≤ 2 c s R s − 1 + 2 ∥ ξ s ∥ 2 . Together with the definition of Ω ξ \Omega_\xi Ω ξ , this yields
∑ s = 1 t 4 η s s ∥ g s ∥ 2 ≤ 8 ∑ s = 1 t c s η s s R s − 1 + 16 σ N 2 H p ( d log 2 + 2 log 1 δ ) . (65) \sum_{s=1}^t\frac{4\eta_s}{s}\lVert g_s\rVert^2 \le8\sum_{s=1}^t\frac{c_s\eta_s}{s}R_{s-1}+16\sigma_N^2H_p\left(d\log2+2\log\frac{1}{\delta}\right). \tag*{(65)} s = 1 ∑ t s 4 η s ∥ g s ∥ 2 ≤ 8 s = 1 ∑ t s c s η s R s − 1 + 16 σ N 2 H p ( d log 2 + 2 log δ 1 ) . (65)
Plugging (64) –(65) back into (57) , we obtain, for all t ≥ 1 t\ge1 t ≥ 1 ,
R t ≤ C + ∑ s = 1 t d s R s − 1 , C : = e − 8 C ∘ − 1 K α , δ , d s : = ( 8 c s + 1 H p ) η s s , R_t\le C+\sum_{s=1}^t d_sR_{s-1},\qquad C:=e^{-8C_\circ^{-1}}K_{\alpha,\delta},\quad d_s:=\left(8c_s+\frac{1}{H_p}\right)\frac{\eta_s}{s}, R t ≤ C + s = 1 ∑ t d s R s − 1 , C := e − 8 C ∘ − 1 K α , δ , d s := ( 8 c s + H p 1 ) s η s ,
together with R 0 ≤ C R_0\le C R 0 ≤ C . Hence, the discrete Grönwall inequality [32 ] yields, for all t ≥ 1 t\ge1 t ≥ 1 ,
R t ≤ C ∏ s ≤ t ( 1 + d s ) ≤ ( b ) C exp ( ∑ s ≥ 1 d s ) ≤ ( c ) K α , δ , R_t\le C\prod_{s\le t}(1+d_s)\mathrel{\overset{(b)}{\le}} C\exp\left(\sum_{s\ge1}d_s\right)\mathrel{\overset{(c)}{\le}} K_{\alpha,\delta}, R t ≤ C s ≤ t ∏ ( 1 + d s ) ≤ ( b ) C exp ( s ≥ 1 ∑ d s ) ≤ ( c ) K α , δ ,
where (b) uses 1 + u ≤ e u 1+u\le e^u 1 + u ≤ e u , and (c) follows from Lemma 14.3. Finally, Δ ^ t = R t / [ 4 ( t + 1 ) η t ] ≤ K α , δ log p / 2 ( t + 2 ) / [ 4 η ∘ ( t + 1 ) ] \widehat{\Delta}_t=R_t/[4\sqrt{(t+1)\eta_t}]\le K_{\alpha,\delta}\log^{p/2}(t+2)/[4\sqrt{\eta_\circ(t+1)}] Δ t = R t / [ 4 ( t + 1 ) η t ] ≤ K α , δ log p /2 ( t + 2 ) / [ 4 η ∘ ( t + 1 ) ] , while Z t ≤ R t Z_t\le R_t Z t ≤ R t and F ( x t ) − F ⋆ ≤ Δ ^ t F(x_t)-F^\star\le\widehat{\Delta}_t F ( x t ) − F ⋆ ≤ Δ t hold on Ω R \Omega_R Ω R by Theorem 10.1. This completes the proof.
Proof of Corollary 10.3. As before, A t = 1 A_t=1 A t = 1 and ∑ t η t / t < ∞ \sum_t\eta_t/t<\infty ∑ t η t / t < ∞ by Lemma 14.3. Consider R t = R t S N , S t R_t=R_t^{\mathrm{SN,St}} R t = R t SN , St . As M s 2 = 16 η s / s R s − 1 M_s^2=16\eta_s/sR_{s-1} M s 2 = 16 η s / s R s − 1 , similar to the proof of Theorem 10.2 we obtain U t ≤ log [ 1 / ( α ρ 0 ) ] / λ 0 + 8 λ 0 ∑ s ≤ t η s / s ν s S N R s − 1 U_t\le\log[1/(\alpha\rho_0)]/\lambda_0+8\lambda_0\sum_{s\le t}\eta_s/s\nu_s^{\mathrm{SN}}R_{s-1} U t ≤ log [ 1/ ( α ρ 0 )] / λ 0 + 8 λ 0 ∑ s ≤ t η s / s ν s SN R s − 1 , so that
R t ≤ C + ∑ s = 1 t 8 λ 0 η s s ν s S N R s − 1 , C : = R 0 + 4 ∑ s ≥ 1 η s s ∥ g s ∥ 2 + log [ 1 / ( α ρ 0 ) ] λ 0 < ∞ a.s. R_t\le C+\sum_{s=1}^t8\lambda_0\frac{\eta_s}{s}\nu_s^{\mathrm{SN}}R_{s-1},\qquad C:=R_0+4\sum_{s\ge1}\frac{\eta_s}{s}\lVert g_s\rVert^2+\frac{\log[1/(\alpha\rho_0)]}{\lambda_0}<\infty\quad\text{a.s.} R t ≤ C + s = 1 ∑ t 8 λ 0 s η s ν s SN R s − 1 , C := R 0 + 4 s ≥ 1 ∑ s η s ∥ g s ∥ 2 + λ 0 log [ 1/ ( α ρ 0 )] < ∞ a.s.
Then, the discrete Grönwall inequality [32 ] yields
sup t R t ≤ C exp [ 8 λ 0 ∑ s ≥ 1 η s s ν s S N ] < ∞ almost surely . \sup_t R_t\le C\exp\left[8\lambda_0\sum_{s\ge1}\frac{\eta_s}{s}\nu_s^{\mathrm{SN}}\right]<\infty\quad\text{almost surely}. t sup R t ≤ C exp [ 8 λ 0 s ≥ 1 ∑ s η s ν s SN ] < ∞ almost surely .
By (58) , the same holds for R t S N , D M R_t^{\mathrm{SN,DM}} R t SN , DM and R t Q R_t^{\mathrm{Q}} R t Q . Observing that
Δ ^ t ≤ sup s R s ⋅ log p / 2 ( t + 2 ) 4 η ∘ ( t + 1 ) , \widehat{\Delta}_t\le\sup_s R_s\cdot\frac{\log^{p/2}(t+2)}{4\sqrt{\eta_\circ(t+1)}}, Δ t ≤ s sup R s ⋅ 4 η ∘ ( t + 1 ) log p /2 ( t + 2 ) ,
completes the proof.
The proof of Proposition 13 requires the following contracting lemma.
Lemma 10.6. For every Q ∈ R N Q \in\mathbb{R}^{N} Q ∈ R N , with e : = Q − Q ⋆ e := Q - Q^{\star} e := Q − Q ⋆ , and every i ∈ [ N ] i \in[N] i ∈ [ N ] ,
e i ( Q ( i ) − ( T Q ) ( i ) ) ≥ ( 1 − γ 2 ) e i 2 − γ 2 ∥ e ∥ ∞ 2 . e_i(Q(i) - (TQ)(i)) \ge\left(1 - \frac{\gamma}{2}\right)e_i^2 - \frac{\gamma}{2}\lVert e\rVert_{\infty}^2. e i ( Q ( i ) − ( T Q ) ( i )) ≥ ( 1 − 2 γ ) e i 2 − 2 γ ∥ e ∥ ∞ 2 .
Proof of Lemma 10.6. Let b : = T Q − T Q ⋆ b := TQ - TQ^{\star} b := T Q − T Q ⋆ , so that Q − T Q = e − b Q - TQ = e - b Q − T Q = e − b and ∥ b ∥ ∞ ≤ γ ∥ e ∥ ∞ \lVert b\rVert_{\infty} \le\gamma\lVert e\rVert_{\infty} ∥ b ∥ ∞ ≤ γ ∥ e ∥ ∞ . Therefore,
e i ( e i − b i ) ≥ e i 2 − γ ∣ e i ∣ ∥ e ∥ ∞ ≥ ( 1 − γ 2 ) e i 2 − γ 2 ∥ e ∥ ∞ 2 , e_i(e_i - b_i) \ge e_i^2 - \gamma|e_i|\lVert e\rVert_{\infty} \ge\left(1 - \frac{\gamma}{2}\right)e_i^2 - \frac{\gamma}{2}\lVert e\rVert_{\infty}^2, e i ( e i − b i ) ≥ e i 2 − γ ∣ e i ∣ ∥ e ∥ ∞ ≥ ( 1 − 2 γ ) e i 2 − 2 γ ∥ e ∥ ∞ 2 ,
where the last inequality uses 2 ∣ e i ∣ ∥ e ∥ ∞ ≤ e i 2 + ∥ e ∥ ∞ 2 2|e_i|\lVert e\rVert_{\infty} \le e_i^2 + \lVert e\rVert_{\infty}^2 2∣ e i ∣ ∥ e ∥ ∞ ≤ e i 2 + ∥ e ∥ ∞ 2 .
Proof of Proposition 13 . Fix t ≥ 1 t \ge1 t ≥ 1 and i ∈ [ N ] i \in[N] i ∈ [ N ] . Expanding the square gives
Z t ( i ) = Z t − 1 ( i ) + η t e t − 1 ( i ) Y t ( i ) + η t 2 2 Y t ( i ) 2 . Z_t(i) = Z_{t-1}(i) + \eta_t e_{t-1}(i)Y_t(i) + \frac{\eta_t^2}{2}Y_t(i)^2. Z t ( i ) = Z t − 1 ( i ) + η t e t − 1 ( i ) Y t ( i ) + 2 η t 2 Y t ( i ) 2 .
Substituting, Y t ( i ) = d t ( i ) ( ( T Q t − 1 ) ( i ) − Q t − 1 ( i ) ) + ξ t ( i ) Y_t(i) = d_t(i)((TQ_{t-1})(i) - Q_{t-1}(i)) + \xi_t(i) Y t ( i ) = d t ( i ) (( T Q t − 1 ) ( i ) − Q t − 1 ( i )) + ξ t ( i ) , we invoke Lemma 10.6 to bound the conditional-mean term by
η t e t − 1 ( i ) E t − 1 Y t ( i ) ≤ − ( 2 − γ ) η t d t ( i ) Z t − 1 ( i ) + γ η t d t ( i ) Z t − 1 . \eta_t e_{t-1}(i)\mathbb{E}_{t-1}Y_t(i) \le-(2-\gamma)\eta_t d_t(i)Z_{t-1}(i) + \gamma\eta_t d_t(i)Z_{t-1}. η t e t − 1 ( i ) E t − 1 Y t ( i ) ≤ − ( 2 − γ ) η t d t ( i ) Z t − 1 ( i ) + γ η t d t ( i ) Z t − 1 .
Since ξ t ( i ) = d t ( i ) ξ ( i ) \xi_t(i) = d_t(i)\xi(i) ξ t ( i ) = d t ( i ) ξ ( i ) , the remaining linear term is v t ( i ) ξ t ( i ) v_t(i)\xi_t(i) v t ( i ) ξ t ( i ) . Combining these observations proves (60) .
Proof of Theorem 10.4 . The bound ∥ Q ∥ ∞ ≤ B ⋆ \lVert Q\rVert_{\infty} \le B^{\star} ∥ Q ∥ ∞ ≤ B ⋆ gives Z 0 ( i ) ≤ R 0 ( i ) Z_0(i) \le R_0(i) Z 0 ( i ) ≤ R 0 ( i ) for every i i i . Put
S t ( i ) : = ∑ s = 1 t v s ( i ) ξ s ( i ) A s ( i ) , E t ( i ) : = ⋂ s = 1 t { ∣ v s ( i ) ∣ A s ( i ) ≤ M s ( i ) } . S_t(i) := \sum_{s=1}^{t}\frac{v_s(i)\xi_s(i)}{A_s(i)}, \quad E_t(i) := \bigcap_{s=1}^{t}\left\{\frac{|v_s(i)|}{A_s(i)} \le M_s(i)\right\}. S t ( i ) := s = 1 ∑ t A s ( i ) v s ( i ) ξ s ( i ) , E t ( i ) := s = 1 ⋂ t { A s ( i ) ∣ v s ( i ) ∣ ≤ M s ( i ) } .
The weights v s ( i ) / A s ( i ) v_s(i)/A_s(i) v s ( i ) / A s ( i ) and their observable bounds M s ( i ) M_s(i) M s ( i ) are predictable. Applying Theorem 2.3 to the scalar process ξ s ( i ) \xi_s(i) ξ s ( i ) , or Theorem 2.5 with g s = Y s ( i ) g_s = Y_s(i) g s = Y s ( i ) and H s = 0 H_s = 0 H s = 0 , yields
P ( ⋃ t ≥ 1 [ E t ( i ) ∩ { S t ( i ) > U t ( i ) } ] ) ≤ α i . \mathbb{P}\left(\bigcup_{t\ge1}\left[E_t(i) \cap\{S_t(i) > U_t(i)\}\right]\right) \le\alpha_i. P ( t ≥ 1 ⋃ [ E t ( i ) ∩ { S t ( i ) > U t ( i )} ] ) ≤ α i .
A union bound over i i i gives an event Ω α \Omega_{\alpha} Ω α of probability at least 1 − α 1-\alpha 1 − α on which, simultaneously for every t t t and i i i , E t ( i ) E_t(i) E t ( i ) implies S t ( i ) ≤ U t ( i ) S_t(i) \le U_t(i) S t ( i ) ≤ U t ( i ) .
Subsequently, we work on Ω α \Omega_{\alpha} Ω α and suppose τ : = inf { t ≥ 1 : Z t ( i ) > R t ( i ) for some i } < ∞ \tau:= \inf\{t \ge1 : Z_t(i) > R_t(i) \text{ for some } i\} < \infty τ := inf { t ≥ 1 : Z t ( i ) > R t ( i ) for some i } < ∞ . Choose a coordinate i i i such that Z τ ( i ) > R τ ( i ) Z_{\tau}(i) > R_{\tau}(i) Z τ ( i ) > R τ ( i ) . Note that (61) implies E τ ( i ) E_{\tau}(i) E τ ( i ) . Moreover, Proposition 13 , the choice of a s ( i ) a_s(i) a s ( i ) and Z s − 1 ≤ R s − 1 Z_{s-1} \le R_{s-1} Z s − 1 ≤ R s − 1 give
Z s ( i ) ≤ a s ( i ) Z s − 1 ( i ) + b s ( i ) + v s ( i ) ξ s ( i ) , 1 ≤ s ≤ τ . Z_s(i) \le a_s(i)Z_{s-1}(i) + b_s(i) + v_s(i)\xi_s(i), \quad1 \le s \le\tau. Z s ( i ) ≤ a s ( i ) Z s − 1 ( i ) + b s ( i ) + v s ( i ) ξ s ( i ) , 1 ≤ s ≤ τ .
which implies
Z τ ( i ) A τ ( i ) ≤ Z 0 ( i ) + ∑ s = 1 τ b s ( i ) A s ( i ) + S τ ( i ) ≤ R 0 ( i ) + ∑ s = 1 τ b s ( i ) A s ( i ) + U τ ( i ) = R τ ( i ) A τ ( i ) , \frac{Z_{\tau}(i)}{A_{\tau}(i)} \le Z_0(i) + \sum_{s=1}^{\tau}\frac{b_s(i)}{A_s(i)} + S_{\tau}(i) \le R_0(i) + \sum_{s=1}^{\tau}\frac{b_s(i)}{A_s(i)} + U_{\tau}(i) = \frac{R_{\tau}(i)}{A_{\tau}(i)}, A τ ( i ) Z τ ( i ) ≤ Z 0 ( i ) + s = 1 ∑ τ A s ( i ) b s ( i ) + S τ ( i ) ≤ R 0 ( i ) + s = 1 ∑ τ A s ( i ) b s ( i ) + U τ ( i ) = A τ ( i ) R τ ( i ) ,
a contradiction. Consequently, all coordinate bounds hold simultaneously, and taking their maximum gives ∥ Q t − Q ⋆ ∥ ∞ ≤ 2 R t \lVert Q_t - Q^{\star}\rVert_{\infty} \le\sqrt{2R_t} ∥ Q t − Q ⋆ ∥ ∞ ≤ 2 R t . For γ > 0 \gamma> 0 γ > 0 , the policy bound follows from [2006, Corollary 15], with their approximation Q ~ = Q t \widetilde{Q} = Q_t Q = Q t and error tolerance 2 R t \sqrt{2R_t} 2 R t . For γ = 0 \gamma= 0 γ = 0 , the same conclusion follows from
V ⋆ ( s ) − V π t ( s ) = max a Q ⋆ ( s , a ) − Q ⋆ ( s , π t ( s ) ) ≤ 2 ∥ Q t − Q ⋆ ∥ ∞ . V^{\star}(s) - V^{\pi_t}(s) = \max_a Q^{\star}(s,a) - Q^{\star}(s,\pi_t(s)) \le2\lVert Q_t - Q^{\star}\rVert_{\infty}. V ⋆ ( s ) − V π t ( s ) = a max Q ⋆ ( s , a ) − Q ⋆ ( s , π t ( s )) ≤ 2 ∥ Q t − Q ⋆ ∥ ∞ .
Proofs of results in §2
Proof of Lemma 2.1 . Let
Ω α : = ⋂ t ≥ 1 { Y t ( v ~ ) ≤ M α ( t ; v ~ ) } , P ( Ω α ∩ { Z 0 ≤ R 0 } ) ≥ 1 − α − α 0 . \Omega_{\alpha} := \bigcap_{t \ge1} \{Y_t(\tilde{v}) \le\mathcal{M}_{\alpha}(t;\tilde{v})\}, \quad\mathbb{P}(\Omega_{\alpha} \cap\{Z_0 \le R_0\}) \ge1-\alpha-\alpha_0. Ω α := t ≥ 1 ⋂ { Y t ( v ~ ) ≤ M α ( t ; v ~ )} , P ( Ω α ∩ { Z 0 ≤ R 0 }) ≥ 1 − α − α 0 .
Subsequently, we work inside Ω α ∩ { Z 0 ≤ R 0 } \Omega_{\alpha} \cap\{Z_0 \le R_0\} Ω α ∩ { Z 0 ≤ R 0 } . Suppose that τ : = inf { t ≥ 1 : Z t > R t } < ∞ \tau:= \inf\{t \ge1 : Z_t > R_t\} < \infty τ := inf { t ≥ 1 : Z t > R t } < ∞ . Then Z s ≤ R s Z_s \le R_s Z s ≤ R s for 0 ≤ s < τ 0 \le s < \tau 0 ≤ s < τ and Z τ > R τ Z_{\tau} > R_{\tau} Z τ > R τ . Therefore, using a s / A s = 1 / A s − 1 a_s/A_s = 1/A_{s-1} a s / A s = 1/ A s − 1 ,
Z s A s ≤ Z s − 1 A s − 1 + b s A s + ⟨ v s / A s , ξ s ⟩ . \frac{Z_s}{A_s} \le\frac{Z_{s-1}}{A_{s-1}}+\frac{b_s}{A_s}+\langle v_s/A_s,\xi_s\rangle. A s Z s ≤ A s − 1 Z s − 1 + A s b s + ⟨ v s / A s , ξ s ⟩ .
Summing over 1 ≤ s ≤ τ 1 \le s \le\tau 1 ≤ s ≤ τ and subtracting R τ / A τ = R 0 + ∑ s = 1 τ b s / A s + U τ R_{\tau}/A_{\tau} = R_0 + \sum_{s=1}^{\tau} b_s/A_s + U_{\tau} R τ / A τ = R 0 + ∑ s = 1 τ b s / A s + U τ , we get
Z τ − R τ A τ ≤ Z 0 − R 0 + Y τ ( v ~ ) − U τ ≤ Y τ ( v ~ ) − U τ , \frac{Z_{\tau}-R_{\tau}}{A_{\tau}} \le Z_0-R_0+Y_{\tau}(\tilde{v})-U_{\tau} \le Y_{\tau}(\tilde{v})-U_{\tau}, A τ Z τ − R τ ≤ Z 0 − R 0 + Y τ ( v ~ ) − U τ ≤ Y τ ( v ~ ) − U τ ,
as Z 0 ≤ R 0 Z_0 \le R_0 Z 0 ≤ R 0 . Next, (2) at t = τ t=\tau t = τ gives M α ( τ ; v ~ ) ≤ U τ \mathcal{M}_{\alpha}(\tau;\tilde{v}) \le U_{\tau} M α ( τ ; v ~ ) ≤ U τ . Consequently,
0 < Z τ − R τ A τ ≤ Y τ ( v ~ ) − U τ ≤ M α ( τ ; v ~ ) − U τ ≤ 0 , 0 < \frac{Z_{\tau}-R_{\tau}}{A_{\tau}} \le Y_{\tau}(\tilde{v})-U_{\tau} \le\mathcal{M}_{\alpha}(\tau;\tilde{v})-U_{\tau} \le0, 0 < A τ Z τ − R τ ≤ Y τ ( v ~ ) − U τ ≤ M α ( τ ; v ~ ) − U τ ≤ 0 ,
a contradiction. Therefore
P ( Z t ≤ R t for all t ≥ 0 ) ≥ P ( Ω α ∩ { Z 0 ≤ R 0 } ) ≥ 1 − α − α 0 . \mathbb{P}(Z_t \le R_t\ \text{for all }t \ge0) \ge\mathbb{P}(\Omega_{\alpha} \cap\{Z_0 \le R_0\}) \ge1-\alpha-\alpha_0. P ( Z t ≤ R t for all t ≥ 0 ) ≥ P ( Ω α ∩ { Z 0 ≤ R 0 }) ≥ 1 − α − α 0 .
Proof of Theorem 2.3 . Fix t ≥ 1 t \ge1 t ≥ 1 and write Q t ( v , λ ) : = ∑ s = 1 t φ ( Δ V s , λ v s ) Q_t(v,\lambda) := \sum_{s=1}^{t} \varphi(\Delta V_s,\lambda v_s) Q t ( v , λ ) := ∑ s = 1 t φ ( Δ V s , λ v s ) . Since ψ \psi ψ is convex with ψ ′ ( 0 ) = 0 \psi'(0)=0 ψ ′ ( 0 ) = 0 , it is nondecreasing on [ 0 , λ max ) [0,\lambda_{\max}) [ 0 , λ m a x ) . Note that on E t ( M ) E_t(M) E t ( M ) , sup s ≤ t ∥ v s ∥ ≤ max s ≤ t M s \sup_{s \le t}\|v_s\| \le\max_{s \le t} M_s sup s ≤ t ∥ v s ∥ ≤ max s ≤ t M s , which entails
Λ t ( M ) ⊆ Λ t ( v ) , λ ∥ v s ∥ ≤ λ M s < λ max for all λ ∈ Λ t ( M ) , s ≤ t . \Lambda_t(M) \subseteq\Lambda_t(v), \quad\lambda\|v_s\| \le\lambda M_s < \lambda_{\max}\quad\text{for all }\lambda\in\Lambda_t(M),\ s \le t. Λ t ( M ) ⊆ Λ t ( v ) , λ ∥ v s ∥ ≤ λ M s < λ m a x for all λ ∈ Λ t ( M ) , s ≤ t .
Therefore, in view of Δ V s ≤ v s I \Delta V_s \le v_s I Δ V s ≤ v s I , on E t ( M ) E_t(M) E t ( M ) and for every λ ∈ Λ t ( M ) \lambda\in\Lambda_t(M) λ ∈ Λ t ( M ) ,
Q t ( v , λ ) = ∑ s = 1 t φ ( λ ∥ v s ∥ ) ⟨ v s , Δ V s v s ⟩ ∥ v s ∥ 2 ≤ ∑ s = 1 t v s ψ ( λ ∥ v s ∥ ) ≤ ∑ s = 1 t v s ψ ( λ M s ) = K t ( λ ) . (66) Q_t(v,\lambda) = \sum_{s=1}^{t}\varphi(\lambda\|v_s\|)\frac{\langle v_s,\Delta V_s v_s\rangle}{\|v_s\|^2} \le\sum_{s=1}^{t}v_s\psi(\lambda\|v_s\|) \le\sum_{s=1}^{t}v_s\psi(\lambda M_s) = K_t(\lambda). \tag*{(66)} Q t ( v , λ ) = s = 1 ∑ t φ ( λ ∥ v s ∥ ) ∥ v s ∥ 2 ⟨ v s , Δ V s v s ⟩ ≤ s = 1 ∑ t v s ψ ( λ ∥ v s ∥ ) ≤ s = 1 ∑ t v s ψ ( λ M s ) = K t ( λ ) . (66)
Consider the mixing boundaries M α \mathcal{M}_{\alpha} M α and m α m_{\alpha} m α from Theorem 7.3 , the discrete mixture boundary D M α \mathcal{D}\mathcal{M}_{\alpha} D M α from Corollary 7.4, and the stitching boundary S T α \mathrm{S}\mathrm{T}_{\alpha} S T α from Proposition 8 . Plugging (66) into each construction, and noting that the integrands are nonnegative, it follows that on E t ( M ) E_t(M) E t ( M ) , for every x ∈ R x \in\mathbb{R} x ∈ R ,
∫ Λ t ( M ) e λ x − K t ( λ ) d F ( λ ) ≤ ∫ Λ t ( v ) e λ x − Q t ( v , λ ) d F ( λ ) = m α ( x , t ; v , F ) , ∑ k : λ k ∈ Λ t ( M ) p k e λ k x − K t ( λ k ) ≤ ∑ k : λ k ∈ Λ t ( v ) p k e λ k x − Q t ( v , λ k ) , B t S T : = S T α ( t ; v ) = inf k : λ k ∈ Λ t ( v ) log 1 α p k + Q t ( v , λ k ) λ k ≤ inf k : λ k ∈ Λ t ( M ) log 1 α p k + K t ( λ k ) λ k = U α S T ( t ; M , v ) . (67) \begin{aligned}
\int_{\Lambda_t(M)} e^{\lambda x-K_t(\lambda)}\,dF(\lambda) &\le\int_{\Lambda_t(v)}e^{\lambda x-Q_t(v,\lambda)}\,dF(\lambda)=m_{\alpha}(x,t;v,F),\\
\sum_{k:\lambda_k\in\Lambda_t(M)}p_ke^{\lambda_kx-K_t(\lambda_k)} &\le\sum_{k:\lambda_k\in\Lambda_t(v)}p_ke^{\lambda_kx-Q_t(v,\lambda_k)},\\
B_t^{\mathrm{ST}} &:= \mathrm{ST}_{\alpha}(t;v)=\inf_{k:\lambda_k\in\Lambda_t(v)}\frac{\log\frac{1}{\alpha p_k}+Q_t(v,\lambda_k)}{\lambda_k}\\
&\le\inf_{k:\lambda_k\in\Lambda_t(M)}\frac{\log\frac{1}{\alpha p_k}+K_t(\lambda_k)}{\lambda_k}\\
&=U_{\alpha}^{\mathrm{ST}}(t;M,v). \tag*{(67)}
\end{aligned} ∫ Λ t ( M ) e λ x − K t ( λ ) d F ( λ ) k : λ k ∈ Λ t ( M ) ∑ p k e λ k x − K t ( λ k ) B t ST ≤ ∫ Λ t ( v ) e λ x − Q t ( v , λ ) d F ( λ ) = m α ( x , t ; v , F ) , ≤ k : λ k ∈ Λ t ( v ) ∑ p k e λ k x − Q t ( v , λ k ) , := ST α ( t ; v ) = k : λ k ∈ Λ t ( v ) inf λ k log α p k 1 + Q t ( v , λ k ) ≤ k : λ k ∈ Λ t ( M ) inf λ k log α p k 1 + K t ( λ k ) = U α ST ( t ; M , v ) . (67)
Inverting the first two displays yield
B t m i x : = M α ( t ; v , F ) ≤ U α m i x ( t ; M , ν ) and B t d m : = D M α ( t ; v ) ≤ U α d m ( t ; M , ν ) on E t ( M ) . (68) B^{\mathrm{mix}}_t := \mathcal{M}_{\alpha}(t;\mathbf{v},F) \le U^{\mathrm{mix}}_{\alpha}(t;M,\nu) \quad\text{and}\quad B^{\mathrm{dm}}_t := \mathcal{D}\mathcal{M}_{\alpha}(t;\mathbf{v}) \le U^{\mathrm{dm}}_{\alpha}(t;M,\nu)\ \text{on } E_t(M). \tag*{(68)} B t mix := M α ( t ; v , F ) ≤ U α mix ( t ; M , ν ) and B t dm := D M α ( t ; v ) ≤ U α dm ( t ; M , ν ) on E t ( M ) . (68)
Since t ≥ 1 t \ge1 t ≥ 1 was arbitrary, it follows that (67) –(68) hold for all t ≥ 1 t \ge1 t ≥ 1 simultaneously. Consequently,
⋃ t ≥ 1 [ E t ( M ) ∩ { Y t ( v ) > U t ⋄ } ] ⊆ ⋃ t ≥ 1 { Y t ( v ) > B t ⋄ } , \bigcup_{t\ge1}\left[E_t(M)\cap\left\{\mathcal{Y}_t(\mathbf{v})>U_t^{\diamond}\right\}\right]\subseteq\bigcup_{t\ge1}\left\{\mathcal{Y}_t(\mathbf{v})>B_t^{\diamond}\right\}, t ≥ 1 ⋃ [ E t ( M ) ∩ { Y t ( v ) > U t ⋄ } ] ⊆ t ≥ 1 ⋃ { Y t ( v ) > B t ⋄ } ,
which completes the proof in light of Theorem 7.3 , Corollary 7.4 and Proposition 8 , for ⋄ = m i x , d m , S T \diamond=\mathrm{mix},\mathrm{dm},\mathrm{ST} ⋄ = mix , dm , ST , respectively. □ \square □
Proof of Corollary 2.4. Recall Λ t ( M ) \Lambda_t(M) Λ t ( M ) and K t ( λ ) K_t(\lambda) K t ( λ ) from Theorem 2.3 . For (i) and (ii), since λ max = ∞ \lambda_{\max}=\infty λ m a x = ∞ for ψ N \psi_N ψ N , hence Λ t ( M ) = [ 0 , ∞ ) \Lambda_t(M)=[0,\infty) Λ t ( M ) = [ 0 , ∞ ) and K t ( λ ) = λ 2 V t / 2 K_t(\lambda)=\lambda^2V_t/2 K t ( λ ) = λ 2 V t /2 .
(i) The function
x ↦ ∫ e λ x − λ 2 V t / 2 d F ( λ ; ρ ) x\mapsto\int e^{\lambda x-\lambda^2V_t/2}\,dF(\lambda;\rho) x ↦ ∫ e λ x − λ 2 V t /2 d F ( λ ; ρ )
is the mixture in Theorem 7.3 with ∑ ℓ ≤ s Γ ψ N ( Δ V s , λ V s ) \sum_{\ell\leq s}\Gamma_{\psi_N}(\Delta V_s,\lambda V_s) ∑ ℓ ≤ s Γ ψ N ( Δ V s , λ V s ) replaced by λ 2 V t / 2 \lambda^2V_t/2 λ 2 V t /2 , i.e., with Q t ( v ) Q_t(\mathbf{v}) Q t ( v ) replaced by V t V_t V t . Hence (i) follows from Proposition 6 of Howard et al. [ [59 ] , which applies with Q t ( v ) = V t Q_t(\mathbf{v})=V_t Q t ( v ) = V t .
(ii) Put a : = log ( 2 / α ) a:=\log(2/\alpha) a := log ( 2/ α ) and L k : = log ( 1 / ( α p k ) ) L_k:=\log(1/(\alpha p_k)) L k := log ( 1/ ( α p k )) , k ≥ 0 k\geq0 k ≥ 0 . Recall that K t ( λ ) = λ 2 V t / 2 K_t(\lambda)=\lambda^2V_t/2 K t ( λ ) = λ 2 V t /2 ; therefore, the definition of U α S T U^{\mathrm{ST}}_{\alpha} U α ST in Theorem 2.3 lets us rewrite
U α S T ( t ; M , ν ) = inf k ≥ 0 { L k λ k + λ k V t 2 } . U^{\mathrm{ST}}_{\alpha}(t;M,\nu)=\inf_{k\geq0}\left\{\frac{L_k}{\lambda_k}+\frac{\lambda_kV_t}{2}\right\}. U α ST ( t ; M , ν ) = k ≥ 0 inf { λ k L k + 2 λ k V t } .
Consequently, it suffices to sharply control the above infimum by an index k k k . To that end, fix x ≥ 0 x\geq0 x ≥ 0 , and put
h : = a + log log ( e + q α ( x ) ) , k x : = ⌈ log ( q α ( x ) / h ) ⌉ . h:=a+\log\log(e+q_{\alpha}(x)),\qquad k_x:=\left\lceil\log(q_{\alpha}(x)/h)\right\rceil. h := a + log log ( e + q α ( x )) , k x := ⌈ log ( q α ( x ) / h ) ⌉ .
Observe that q α ( x ) ≥ 2 a + 2 q_{\alpha}(x)\geq2a+2 q α ( x ) ≥ 2 a + 2 and log log ( e + q α ( x ) ) ≤ q α ( x ) / 2 \log\log(e+q_{\alpha}(x))\leq q_{\alpha}(x)/2 log log ( e + q α ( x )) ≤ q α ( x ) /2 entail 1 / 2 < h ≤ q α ( x ) 1/2<h\leq q_{\alpha}(x) 1/2 < h ≤ q α ( x ) , so that k x ≥ 0 k_x\geq0 k x ≥ 0 . Therefore, by the definition of λ k \lambda_k λ k ,
h q α ( x ) ≤ λ k x < e h q α ( x ) , and k x + 1 ≤ 1 + log ( 2 q α ( x ) ) ≤ ( a ) 2 log ( e + q α ( x ) ) , \sqrt{\frac{h}{q_{\alpha}(x)}}\leq\lambda_{k_x}<\sqrt{\frac{eh}{q_{\alpha}(x)}},\qquad\text{and}\qquad k_x+1\leq1+\log(2q_{\alpha}(x))\mathrel{\overset{(a)}{\leq}}2\log(e+q_{\alpha}(x)), q α ( x ) h ≤ λ k x < q α ( x ) e h , and k x + 1 ≤ 1 + log ( 2 q α ( x )) ≤ ( a ) 2 log ( e + q α ( x )) ,
where (a) follows from 2 e q α ( x ) ≤ ( e + q α ( x ) ) 2 2e q_{\alpha}(x)\leq(e+q_{\alpha}(x))^2 2 e q α ( x ) ≤ ( e + q α ( x ) ) 2 . This, in turn, provides
L k x = log π 2 6 α + 2 log ( k x + 1 ) ≤ ( b ) a + 2 log 2 + 2 log log ( e + q α ( x ) ) ≤ ( c ) 3 h , L_{k_x}=\log\frac{\pi^2}{6\alpha}+2\log(k_x+1)\mathrel{\overset{(b)}{\leq}}a+2\log2+2\log\log(e+q_{\alpha}(x))\mathrel{\overset{(c)}{\leq}}3h, L k x = log 6 α π 2 + 2 log ( k x + 1 ) ≤ ( b ) a + 2 log 2 + 2 log log ( e + q α ( x )) ≤ ( c ) 3 h ,
where (b) uses π 2 / 6 < 2 \pi^2/6<2 π 2 /6 < 2 , and (c) uses a ≥ log 2 a\geq\log2 a ≥ log 2 along with log log ( e + q α ( x ) ) ≥ 0 \log\log(e+q_{\alpha}(x))\geq0 log log ( e + q α ( x )) ≥ 0 . Evaluating the infimum at k = k x k=k_x k = k x , we obtain
U α S T ( t ; M , ν ) ≤ L k x λ k x + λ k x V t 2 ≤ 3 h q α ( x ) h + V t 2 e h q α ( x ) = ( 3 + e V t 2 q α ( x ) ) q α ( x ) h . U^{\mathrm{ST}}_{\alpha}(t;M,\nu)\leq\frac{L_{k_x}}{\lambda_{k_x}}+\frac{\lambda_{k_x}V_t}{2}\leq3h\sqrt{\frac{q_{\alpha}(x)}{h}}+\frac{V_t}{2}\sqrt{\frac{eh}{q_{\alpha}(x)}}=\left(3+\frac{\sqrt{e}V_t}{2q_{\alpha}(x)}\right)\sqrt{q_{\alpha}(x)h}. U α ST ( t ; M , ν ) ≤ λ k x L k x + 2 λ k x V t ≤ 3 h h q α ( x ) + 2 V t q α ( x ) e h = ( 3 + 2 q α ( x ) e V t ) q α ( x ) h .
Finally, note that q α ( x ) h = S α ( x ) \sqrt{q_{\alpha}(x)h}=\mathcal{S}_{\alpha}(x) q α ( x ) h = S α ( x ) and q α ( x ) ≥ x q_{\alpha}(x)\geq x q α ( x ) ≥ x . Choosing x = V t x=V_t x = V t yields U α S T ( t ; M , ν ) ≤ ( 3 + e / 2 ) S α ( V t ) ≤ 4 S α ( V t ) U^{\mathrm{ST}}_{\alpha}(t;M,\nu)\leq(3+\sqrt{e}/2)\mathcal{S}_{\alpha}(V_t)\leq4\mathcal{S}_{\alpha}(V_t) U α ST ( t ; M , ν ) ≤ ( 3 + e /2 ) S α ( V t ) ≤ 4 S α ( V t ) , whereas choosing x = V t / 4 x=V_t/4 x = V t /4 , for which V t / q α ( V t / 4 ) ≤ 4 V_t/q_{\alpha}(V_t/4)\leq4 V t / q α ( V t /4 ) ≤ 4 , yields
U α S T ( t ; M , ν ) ≤ ( 3 + 2 e ) S α ( V t / 4 ) ≤ 7 S α ( V t / 4 ) . U^{\mathrm{ST}}_{\alpha}(t;M,\nu)\leq(3+2\sqrt{e})\mathcal{S}_{\alpha}(V_t/4)\leq7\mathcal{S}_{\alpha}(V_t/4). U α ST ( t ; M , ν ) ≤ ( 3 + 2 e ) S α ( V t /4 ) ≤ 7 S α ( V t /4 ) .
Combining the two bounds proves (ii).
(iii) Fix t ≥ 1 t \ge1 t ≥ 1 , and put T k : = L k / λ k + λ k V t T_k := L_k/\lambda_k + \lambda_k V_t T k := L k / λ k + λ k V t for k ≥ 0 k \ge0 k ≥ 0 and k c : = ⌈ 2 log + ( 2 c t ) ⌉ k_c := \lceil2\log_+(2c_t)\rceil k c := ⌈ 2 log + ( 2 c t )⌉ . For k ≥ k c k \ge k_c k ≥ k c , λ k c t ≤ 1 / 2 \lambda_k c_t \le1/2 λ k c t ≤ 1/2 , so λ k ∈ Λ t ( M ) \lambda_k \in\Lambda_t(M) λ k ∈ Λ t ( M ) and K t ( λ k ) ≤ ∑ s = 1 t ν s λ k 2 M s 2 / [ 2 ( 1 − G λ k M s ) ] ≤ λ k 2 V t K_t(\lambda_k) \le\sum_{s=1}^{t}\nu_s\lambda_k^2M_s^2/[2(1-G\lambda_kM_s)] \le\lambda_k^2V_t K t ( λ k ) ≤ ∑ s = 1 t ν s λ k 2 M s 2 / [ 2 ( 1 − G λ k M s )] ≤ λ k 2 V t . Hence U α S t ( t ; M , ν ) ≤ min k ≥ k c T k \mathcal{U}^{\mathrm{St}}_\alpha(t;M,\nu) \le\min_{k\ge k_c}T_k U α St ( t ; M , ν ) ≤ min k ≥ k c T k .
We first control the unrestricted minimum. Take x = V t x=V_t x = V t in the notation of (ii). Since h > 1 h>1 h > 1 and k V t + 1 ≤ 1 + log q ≤ ( 3 / 2 ) log ( e + q ) kV_t+1\le1+\log q\le(3/2)\log(e+q) k V t + 1 ≤ 1 + log q ≤ ( 3/2 ) log ( e + q ) , we have
L k V t ≤ log [ 3 π 2 / ( 8 α ) ] + 2 log log ( e + q ) ≤ 2 h . L_{kV_t}\le\log[3\pi^2/(8\alpha)]+2\log\log(e+q)\le2h. L k V t ≤ log [ 3 π 2 / ( 8 α )] + 2 log log ( e + q ) ≤ 2 h .
Together with h / q ≤ λ k V t < e h / q \sqrt{h/q}\le\lambda_{kV_t}<\sqrt{eh/q} h / q ≤ λ k V t < e h / q and V t ≤ q V_t\le q V t ≤ q , this gives
T k V t ≤ ( 2 + e V t / q ) q h ≤ 4 G α ( V t ) . T_{kV_t}\le(2+\sqrt{e}V_t/q)\sqrt{qh}\le4\mathfrak{G}_\alpha(V_t). T k V t ≤ ( 2 + e V t / q ) q h ≤ 4 G α ( V t ) .
Since T k → ∞ T_k\to\infty T k → ∞ , its minimum is attained at some k ∗ ≥ 0 k^*\ge0 k ∗ ≥ 0 . If k ∗ ≥ k c k^*\ge k_c k ∗ ≥ k c , the preceding bound proves the claim. Otherwise, k c ≥ 1 k_c\ge1 k c ≥ 1 , λ k c > e − 1 / 2 / ( 2 c t ) \lambda_{k_c}>e^{-1/2}/(2c_t) λ k c > e − 1/2 / ( 2 c t ) , and k c + 1 ≤ 2 + 2 log ( 2 c t ) k_c+1\le2+2\log(2c_t) k c + 1 ≤ 2 + 2 log ( 2 c t ) . Consequently,
L k c ≤ log [ π 2 / ( 6 α ) ] + 2 log [ 2 + 2 log + ( 2 c t ) ] . L_{k_c}\le\log[\pi^2/(6\alpha)]+2\log[2+2\log_+(2c_t)]. L k c ≤ log [ π 2 / ( 6 α )] + 2 log [ 2 + 2 log + ( 2 c t )] .
Moreover, λ k c V t ≤ λ k ∗ V t ≤ T k ∗ \lambda_{k_c}V_t\le\lambda_{k^*}V_t\le T_{k^*} λ k c V t ≤ λ k ∗ V t ≤ T k ∗ . Therefore U α S t ( t ; M , ν ) ≤ T k c ≤ 2 e c t L k c + T k ∗ ≤ G α ( V t , c t ) \mathcal{U}^{\mathrm{St}}_\alpha(t;M,\nu)\le T_{k_c}\le2\sqrt{e}c_tL_{k_c}+T_{k^*}\le\mathfrak{G}_\alpha(V_t,c_t) U α St ( t ; M , ν ) ≤ T k c ≤ 2 e c t L k c + T k ∗ ≤ G α ( V t , c t ) , which completes the proof. □
Proof of Theorem 2.5 . Note that Y t ( v ) = ∑ s = 1 t ⟨ v s , g s − E s − 1 g s ⟩ Y_t(\mathbf{v})=\sum_{s=1}^{t}\langle v_s,g_s-\mathbb{E}_{s-1}g_s\rangle Y t ( v ) = ∑ s = 1 t ⟨ v s , g s − E s − 1 g s ⟩ . Therefore Corollary 7.6 , with c = G c=G c = G and the predictable sequence v \mathbf{v} v , yields
P ( Y t ( v ) ≤ b α 1 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α , Λ t ( v ) = [ 0 , G − 1 ∧ ( G sup s ≤ t ∥ v s ∥ ) − 1 ] . (69) \mathbb{P}\left(Y_t(\mathbf{v})\le b^1_\alpha(t;\mathbf{v})\text{ for all }t\ge1\right)\ge1-\alpha,\quad\Lambda_t(\mathbf{v})=\left[0,G^{-1}\wedge\left(G\sup_{s\le t}\|v_s\|\right)^{-1}\right]. \tag*{(69)} P ( Y t ( v ) ≤ b α 1 ( t ; v ) for all t ≥ 1 ) ≥ 1 − α , Λ t ( v ) = [ 0 , G − 1 ∧ ( G s ≤ t sup ∥ v s ∥ ) − 1 ] . (69)
Write Ψ t ( λ ) : = ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) \Psi_t(\lambda):=\sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle v_s,\mathbb{E}_{s-1}g_s\rangle) Ψ t ( λ ) := ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩) . Subsequently, we work inside the set
A : = ⋂ s ≥ 1 { ∥ g s ∥ ≤ G } ∩ ⋂ t ≥ 1 [ E t ( M ) c ∪ { H t ( λ , z ) ≤ Ψ t ( λ ) for all λ ∈ Λ t G ( M ) , 0 ≤ z ≤ Z t } ] . \mathcal{A}:=\bigcap_{s\ge1}\{\|g_s\|\le G\}\cap\bigcap_{t\ge1}\left[E_t(M)^c\cup\left\{H_t(\lambda,z)\le\Psi_t(\lambda)\text{ for all }\lambda\in\Lambda_t^G(M),\ 0\le z\le Z_t\right\}\right]. A := s ≥ 1 ⋂ { ∥ g s ∥ ≤ G } ∩ t ≥ 1 ⋂ [ E t ( M ) c ∪ { H t ( λ , z ) ≤ Ψ t ( λ ) for all λ ∈ Λ t G ( M ) , 0 ≤ z ≤ Z t } ] .
It follows from ∥ g s ∥ ≤ G \|g_s\|\le G ∥ g s ∥ ≤ G almost surely, (10) , and countable subadditivity that P ( A ) = 1 \mathbb{P}(\mathcal{A})=1 P ( A ) = 1 .
Fix t ≥ 1 t\ge1 t ≥ 1 . On E t ( M ) E_t(M) E t ( M ) , sup s ≤ t ∥ v s ∥ ≤ max s ≤ t M s \sup_{s\le t}\|v_s\|\le\max_{s\le t}M_s sup s ≤ t ∥ v s ∥ ≤ max s ≤ t M s , which entails Λ t G ( M ) ⊆ Λ t ( v ) \Lambda_t^G(M)\subseteq\Lambda_t(\mathbf{v}) Λ t G ( M ) ⊆ Λ t ( v ) and, for every λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) and s ≤ t s\le t s ≤ t ,
∣ λ ⟨ v s , g s ⟩ ∣ ≤ λ ∥ v s ∥ ∥ g s ∥ ≤ λ M s ∥ g s ∥ ≤ λ G max r ≤ t M r < 1. |\lambda\langle v_s,g_s\rangle|\le\lambda\|v_s\|\|g_s\|\le\lambda M_s\|g_s\|\le\lambda G\max_{r\le t}M_r<1. ∣ λ ⟨ v s , g s ⟩ ∣ ≤ λ ∥ v s ∥∥ g s ∥ ≤ λ M s ∥ g s ∥ ≤ λ G r ≤ t max M r < 1.
Recall ψ E , 1 ( u ) = − log ( 1 − u ) − u \psi_{E,1}(u)=-\log(1-u)-u ψ E , 1 ( u ) = − log ( 1 − u ) − u for u < 1 u<1 u < 1 . It is nondecreasing on [ 0 , 1 ) [0,1) [ 0 , 1 ) and, for u ∈ [ 0 , 1 ) u\in[0,1) u ∈ [ 0 , 1 ) , ψ E , 1 ( u ) ≤ ψ E , 1 ( ∣ u ∣ ) \psi_{E,1}(u)\le\psi_{E,1}(|u|) ψ E , 1 ( u ) ≤ ψ E , 1 ( ∣ u ∣ ) for ∣ u ∣ < 1 |u|<1 ∣ u ∣ < 1 . Therefore, it follows that, on E t ( M ) E_t(M) E t ( M ) , for every λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) ,
∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , g s ⟩ ) ≤ ∑ s = 1 t ψ E , 1 ( ∣ λ ⟨ v s , g s ⟩ ∣ ) ≤ ∑ s = 1 t ψ E , 1 ( λ M s ∥ g s ∥ ) = J t ( λ ) . (70) \sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle v_s,g_s\rangle)\le\sum_{s=1}^{t}\psi_{E,1}(|\lambda\langle v_s,g_s\rangle|)\le\sum_{s=1}^{t}\psi_{E,1}(\lambda M_s\|g_s\|)=J_t(\lambda). \tag*{(70)} s = 1 ∑ t ψ E , 1 ( − λ ⟨ v s , g s ⟩) ≤ s = 1 ∑ t ψ E , 1 ( ∣ λ ⟨ v s , g s ⟩ ∣ ) ≤ s = 1 ∑ t ψ E , 1 ( λ M s ∥ g s ∥ ) = J t ( λ ) . (70)
Combining (70) with (10) , on E t ( M ) E_t(M) E t ( M ) , for every λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) and 0 ≤ z ≤ Z t 0\le z\le Z_t 0 ≤ z ≤ Z t ,
0 = H t ( λ , 0 ) ≤ H t ( λ , z ) , and, 0=H_t(\lambda,0)\le H_t(\lambda,z),\quad\text{and,} 0 = H t ( λ , 0 ) ≤ H t ( λ , z ) , and,
− J t ( λ ) + H t ( λ , z ) ≤ − ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , g s ⟩ ) + ∑ s = 1 t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) , -J_t(\lambda)+H_t(\lambda,z)\le-\sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle v_s,g_s\rangle)+\sum_{s=1}^{t}\psi_{E,1}(-\lambda\langle v_s,\mathbb{E}_{s-1}g_s\rangle), − J t ( λ ) + H t ( λ , z ) ≤ − s = 1 ∑ t ψ E , 1 ( − λ ⟨ v s , g s ⟩) + s = 1 ∑ t ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩) ,
where the first relation uses monotonicity of z ↦ H t ( λ , z ) z\mapsto H_t(\lambda,z) z ↦ H t ( λ , z ) . Since all summands are nonnegative and Λ t G ( M ) ⊆ Λ t ( v ) \Lambda_t^G(M)\subseteq\Lambda_t(\mathbf{v}) Λ t G ( M ) ⊆ Λ t ( v ) , it follows that, on E t ( M ) E_t(M) E t ( M ) , for every y ∈ R y\in\mathbb{R} y ∈ R and 0 ≤ z ≤ Z t 0\le z\le Z_t 0 ≤ z ≤ Z t ,
b t H ( y , z ) ≤ b α 1 ( y ; t , v ) , b_t^H(y,z)\le b_\alpha^1(y;t,\mathbf{v}), b t H ( y , z ) ≤ b α 1 ( y ; t , v ) ,
where we recall b α 1 b_{\alpha}^{1} b α 1 from Corollary 7.6 . Inverting the above thresholds, one obtains,
{ y : b α 1 ( y ; t , v ) < 1 α } ⊆ { y : b t H ( y , z ) < 1 / α } \left\{y:b_{\alpha}^{1}(y;t,\mathbf{v})<\frac{1}{\alpha}\right\}\subseteq\left\{y:b_{t}^{H}(y,z)<1/\alpha\right\} { y : b α 1 ( y ; t , v ) < α 1 } ⊆ { y : b t H ( y , z ) < 1/ α }
which directly yields
B α 2 ( t ; v ) ≤ u α b e t ( t ; M , H , z ) (71) \mathcal{B}_{\alpha}^{2}(t;\mathbf{v})\leq u_{\alpha}^{\mathrm{bet}}(t;M,H,z) \tag*{(71)} B α 2 ( t ; v ) ≤ u α bet ( t ; M , H , z ) (71)
Finally, owing to (69) and (71) , it holds
P ( ⋃ t ≥ 1 [ ⋂ 0 ≤ z ≤ Z t { E t ( M ) ∩ { Y t ( v ) > u α b e t ( t ; M , H , z ) } } ] ) ≤ P ( ∃ t ≥ 1 : Y t ( v ) > B α 1 ( t ; v ) ) ≤ α , \mathbb{P}\left(\bigcup_{t\geq1}\left[\mathop{\bigcap}_{0\leq z\leq Z_t}\left\{E_t(M)\cap\left\{Y_t(\mathbf{v})>u_{\alpha}^{\mathrm{bet}}(t;M,H,z)\right\}\right\}\right]\right)\leq\mathbb{P}\left(\exists t\geq1:Y_t(\mathbf{v})>\mathcal{B}_{\alpha}^{1}(t;\mathbf{v})\right)\leq\alpha, P ( t ≥ 1 ⋃ [ ⋂ 0 ≤ z ≤ Z t { E t ( M ) ∩ { Y t ( v ) > u α bet ( t ; M , H , z ) } } ] ) ≤ P ( ∃ t ≥ 1 : Y t ( v ) > B α 1 ( t ; v ) ) ≤ α ,
where the final inequality results from a direct application of Corollary 7.6 . This completes the proof. □
Proofs of results in §3
Proofs of results in §3.1
Proof of Proposition 1 . We verify the conditions of Lemma 2.1 , where the oracle boundary is furnished by Theorem 2.5 . Write R t : = R t † R_t:=R_t^{\dagger} R t := R t † , and recall from § 3.1.1 that D t = R 0 + ∑ s = 1 t A s − 1 η s 2 ∥ g s ∥ 2 D_t=R_0+\sum_{s=1}^{t}A_s^{-1}\eta_s^{2}\lVert g_s\rVert^{2} D t = R 0 + ∑ s = 1 t A s − 1 η s 2 ∥ g s ∥ 2 , and v ~ = ( v ~ s ) s ≥ 1 \widetilde{\mathbf{v}}=(\widetilde{v}_s)_{s\geq1} v = ( v s ) s ≥ 1 with v ~ s : = v s / A s \widetilde{v}_s:=v_s/A_s v s := v s / A s . Finally recall the key recursion (12) . Corollary 7.6 , applied with c = G c=G c = G and the predictable sequence − v ~ -\widetilde{\mathbf{v}} − v , shows that M α ( t ; v ~ ) : = B α 1 ( t ; − v ~ ) \mathcal{M}_{\alpha}(t;\widetilde{\mathbf{v}}):=\mathcal{B}_{\alpha}^{1}(t;-\widetilde{\mathbf{v}}) M α ( t ; v ) := B α 1 ( t ; − v ) satisfies P ( Y t ( v ~ ) ≤ M α ( t ; v ~ ) for all t ≥ 1 ) ≥ 1 − α \mathbb{P}(Y_t(\widetilde{\mathbf{v}})\leq\mathcal{M}_{\alpha}(t;\widetilde{\mathbf{v}})\text{ for all }t\geq1)\geq1-\alpha P ( Y t ( v ) ≤ M α ( t ; v ) for all t ≥ 1 ) ≥ 1 − α . Moreover, putting U t : = R t / A t − D t U_t:=R_t/A_t-D_t U t := R t / A t − D t and U 0 : = 0 U_0:=0 U 0 := 0 , we have R t = A t ( D t + U t ) R_t=A_t(D_t+U_t) R t = A t ( D t + U t ) , as required by Lemma 2.1 .
Next, we verify (10) . Clearly, H t ( w ) ( λ , 0 ) = 0 H_t^{(w)}(\lambda,0)=0 H t ( w ) ( λ , 0 ) = 0 , and z ↦ H t ( w ) ( λ , z ) z\mapsto H_t^{(w)}(\lambda,z) z ↦ H t ( w ) ( λ , z ) is nondecreasing. On ⋂ s < t { Z s , 1 ≤ R s } \bigcap_{s<t}\{Z_{s,1}\leq R_s\} ⋂ s < t { Z s , 1 ≤ R s } , ∥ v ~ s ∥ = 2 η s Z s − 1 , 1 / A s ≤ M s \lVert\widetilde{v}_s\rVert=2\eta_s\sqrt{Z_{s-1,1}}/A_s\leq M_s ∥ v s ∥ = 2 η s Z s − 1 , 1 / A s ≤ M s for s ≤ t s\leq t s ≤ t , i.e., E t ( M ) E_t(M) E t ( M ) holds for v ~ \widetilde{\mathbf{v}} v . Therefore, for 0 ≤ z ≤ Z t , 1 0\leq z\leq Z_{t,1} 0 ≤ z ≤ Z t , 1 and 1 ≤ s ≤ t 1\leq s\leq t 1 ≤ s ≤ t ,
2 μ η s A s ( z − ∥ x t − x s − 1 ∥ ) + 2 ≤ ( a ) 2 μ η s A s ∥ x s − 1 − x ⋆ ∥ 2 ≤ ( b ) ⟨ v ~ s , ∇ F ( x s − 1 ) ⟩ ≤ ( c ) M s G , \frac{2\mu\eta_s}{A_s}\left(\sqrt{z}-\lVert x_t-x_{s-1}\rVert\right)_{+}^{2}\leq^{(a)}\frac{2\mu\eta_s}{A_s}\lVert x_{s-1}-x^{\star}\rVert^{2}\leq^{(b)}\langle\widetilde{v}_s,\nabla F(x_{s-1})\rangle\leq^{(c)}M_sG, A s 2 μ η s ( z − ∥ x t − x s − 1 ∥ ) + 2 ≤ ( a ) A s 2 μ η s ∥ x s − 1 − x ⋆ ∥ 2 ≤ ( b ) ⟨ v s , ∇ F ( x s − 1 )⟩ ≤ ( c ) M s G ,
where ( a ) (a) ( a ) follows from the reverse triangle inequality ∥ x s − 1 − x ⋆ ∥ ≥ z − ∥ x t − x s − 1 ∥ \lVert x_{s-1}-x^{\star}\rVert\geq\sqrt{z}-\lVert x_t-x_{s-1}\rVert ∥ x s − 1 − x ⋆ ∥ ≥ z − ∥ x t − x s − 1 ∥ , ( b ) (b) ( b ) from RSI, and ( c ) (c) ( c ) from the Cauchy–Schwarz inequality along with ∥ ∇ F ( x s − 1 ) ∥ = ∥ E s − 1 g s ∥ ≤ G \lVert\nabla F(x_{s-1})\rVert=\lVert\mathbb{E}_{s-1}g_s\rVert\leq G ∥ ∇ F ( x s − 1 )∥ = ∥ E s − 1 g s ∥ ≤ G . The monotonicity of ψ E , 1 \psi_{E,1} ψ E , 1 on [ 0 , 1 ) [0,1) [ 0 , 1 ) implies
ψ E , 1 ( 2 λ μ η s A s ( z − ∥ x t − x s − 1 ∥ ) + 2 ) ≤ ψ E , 1 ( − λ ⟨ v ~ s , E s − 1 g s ⟩ ) . \psi_{E,1}\left(\frac{2\lambda\mu\eta_s}{A_s}\left(\sqrt{z}-\lVert x_t-x_{s-1}\rVert\right)_{+}^{2}\right)\leq\psi_{E,1}\left(-\lambda\langle\widetilde{v}_s,\mathbb{E}_{s-1}g_s\rangle\right). ψ E , 1 ( A s 2 λ μ η s ( z − ∥ x t − x s − 1 ∥ ) + 2 ) ≤ ψ E , 1 ( − λ ⟨ v s , E s − 1 g s ⟩ ) .
This establishes (10) , and Theorem 2.5 applies.
It remains to verify (2) . On ⋂ s < t { Z s , 1 ≤ R s } ∩ { Z t , 1 > R t } \bigcap_{s<t}\{Z_{s,1}\leq R_s\}\cap\{Z_{t,1}>R_t\} ⋂ s < t { Z s , 1 ≤ R s } ∩ { Z t , 1 > R t } , fix z ∈ ( R t , Z t , 1 ] z\in(R_t,Z_{t,1}] z ∈ ( R t , Z t , 1 ] . Since R t < z ≤ R ⋆ R_t<z\leq R_{\star} R t < z ≤ R ⋆ , the definition of R t R_t R t and W t ( w ) ( z ) W_t^{(w)}(z) W t ( w ) ( z ) gives
u α b e t ( t ; M , H , z ) ≤ z A t − D t ⟹ M α ( t ; v ~ ) ≤ z A t − D t , u_{\alpha}^{\mathrm{bet}}(t;M,H,z)\leq\frac{z}{A_t}-D_t\Longrightarrow\mathcal{M}_{\alpha}(t;\widetilde{\mathbf{v}})\leq\frac{z}{A_t}-D_t, u α bet ( t ; M , H , z ) ≤ A t z − D t ⟹ M α ( t ; v ) ≤ A t z − D t ,
where (71) in the proof of Theorem 2.5 drives the implication. Letting z ↓ R t z\downarrow R_t z ↓ R t yields M α ( t ; v ~ ) ≤ R t / A t − D t = U t \mathcal{M}_{\alpha}(t;\widetilde{\mathbf{v}})\leq R_t/A_t-D_t=U_t M α ( t ; v ) ≤ R t / A t − D t = U t , which is (2) . Lemma 2.1 now completes the proof. □
Proofs of results in §3.2
Proof of Proposition 2. Define
K t Q ( v , λ ) : = ∏ s = 1 t 1 + λ ⟨ v s , ξ s ⟩ + λ 2 ⟨ v s , ξ s ⟩ 2 / 3 1 + λ 2 σ 2 ∥ v s ∥ 2 / 3 , K 0 Q ( v , λ ) = 1. K_t^{\mathsf{Q}}(\mathbf{v},\lambda):=\prod_{s=1}^{t}\frac{1+\lambda\langle v_s,\xi_s\rangle+\lambda^{2}\langle v_s,\xi_s\rangle^{2}/3}{1+\lambda^{2}\sigma^{2}\lVert v_s\rVert^{2}/3},\qquad K_0^{\mathsf{Q}}(\mathbf{v},\lambda)=1. K t Q ( v , λ ) := s = 1 ∏ t 1 + λ 2 σ 2 ∥ v s ∥ 2 /3 1 + λ ⟨ v s , ξ s ⟩ + λ 2 ⟨ v s , ξ s ⟩ 2 /3 , K 0 Q ( v , λ ) = 1.
Fix λ > 0 \lambda> 0 λ > 0 and put X s : = ⟨ v s , ξ s ⟩ X_s := \langle v_s,\xi_s\rangle X s := ⟨ v s , ξ s ⟩ . By (18) , E s − 1 X s 2 = ⟨ v s , E s − 1 [ ξ s ξ s T ] v s ⟩ ≤ σ 2 ∥ v s ∥ 2 \mathbb{E}_{s-1}X_s^2 = \langle v_s,\mathbb{E}_{s-1}[\xi_s\xi_s^\mathsf{T}]v_s\rangle\le\sigma^2\|v_s\|^2 E s − 1 X s 2 = ⟨ v s , E s − 1 [ ξ s ξ s T ] v s ⟩ ≤ σ 2 ∥ v s ∥ 2 , and
E s − 1 [ 1 + λ X s + λ 2 X s 2 / 3 1 + λ 2 σ 2 ∥ v s ∥ 2 / 3 ] ≤ 1. \mathbb{E}_{s-1}\left[\frac{1+\lambda X_s+\lambda^2X_s^2/3}{1+\lambda^2\sigma^2\|v_s\|^2/3}\right]\le1. E s − 1 [ 1 + λ 2 σ 2 ∥ v s ∥ 2 /3 1 + λ X s + λ 2 X s 2 /3 ] ≤ 1.
Therefore K t Q ( v , λ ) K_t^{\mathsf{Q}}(\mathbf{v},\lambda) K t Q ( v , λ ) is a nonnegative supermartingale with K 0 Q = 1 K_0^{\mathsf{Q}}=1 K 0 Q = 1 . Monotone convergence applies to imply
K t : = ∑ k ≥ 0 p k K t Q ( v , λ k ) , K 0 = 1 K_t := \sum_{k\ge0}p_kK_t^{\mathsf{Q}}(\mathbf{v},\lambda_k),\quad K_0=1 K t := k ≥ 0 ∑ p k K t Q ( v , λ k ) , K 0 = 1
is a non-negative supermartingale as well. Ville’s inequality (Lemma 1 of Howard et al., [58 ] ) yields P ( Ω α ) ≥ 1 − α \mathbb{P}(\Omega_\alpha)\ge1-\alpha P ( Ω α ) ≥ 1 − α , where Ω α : = { K t < 1 / α for all t ≥ 1 } \Omega_\alpha:=\{K_t<1/\alpha\text{ for all }t\ge1\} Ω α := { K t < 1/ α for all t ≥ 1 } .
We next lower-bound K t K_t K t by the observable W t Q ( Y t ( v ) ) W_t^{\mathsf{Q}}(Y_t(\mathbf{v})) W t Q ( Y t ( v )) . Recall χ \chi χ from (19) , and write,
log K t Q ( v , λ ) = λ Y t ( v ) − ∑ s = 1 t χ ( λ X s ) − ∑ s = 1 t log ( 1 + λ 2 σ 2 ∥ v s ∥ 2 3 ) . \log K_t^{\mathsf{Q}}(\mathbf{v},\lambda)=\lambda Y_t(\mathbf{v})-\sum_{s=1}^{t}\chi(\lambda X_s)-\sum_{s=1}^{t}\log\left(1+\frac{\lambda^2\sigma^2\|v_s\|^2}{3}\right). log K t Q ( v , λ ) = λ Y t ( v ) − s = 1 ∑ t χ ( λ X s ) − s = 1 ∑ t log ( 1 + 3 λ 2 σ 2 ∥ v s ∥ 2 ) .
As ∥ v s ∥ = η s ∥ ∇ F ( x s − 1 ) ∥ ≤ η s G \|v_s\|=\eta_s\|\nabla F(x_{s-1})\|\le\eta_sG ∥ v s ∥ = η s ∥∇ F ( x s − 1 ) ∥ ≤ η s G and ∥ ξ s ∥ ≤ G + ∥ g s ∥ \|\xi_s\|\le G+\|g_s\| ∥ ξ s ∥ ≤ G + ∥ g s ∥ , we have ∣ λ X s ∣ ≤ λ η s G ( G + ∥ g s ∥ ) |\lambda X_s|\le\lambda\eta_sG(G+\|g_s\|) ∣ λ X s ∣ ≤ λ η s G ( G + ∥ g s ∥ ) , and hence χ ( λ X s ) ≤ j ( λ s G ( G + ∥ g s ∥ ) ) \chi(\lambda X_s)\le j(\lambda_sG(G+\|g_s\|)) χ ( λ X s ) ≤ j ( λ s G ( G + ∥ g s ∥ )) by the definition and monotonicity of j j j . Also, log ( 1 + λ 2 σ 2 ∥ v s ∥ 2 / 3 ) ≤ log ( 1 + λ 2 σ 2 G 2 η s 2 / 3 ) \log(1+\lambda^2\sigma^2\|v_s\|^2/3)\le\log(1+\lambda^2\sigma^2G^2\eta_s^2/3) log ( 1 + λ 2 σ 2 ∥ v s ∥ 2 /3 ) ≤ log ( 1 + λ 2 σ 2 G 2 η s 2 /3 ) . Consequently, by definition of J t Q J_t^{\mathsf{Q}} J t Q and W t Q W_t^{\mathsf{Q}} W t Q in (20) ,
log K t Q ( v , λ ) ≥ λ Y t ( v ) − J t Q ( λ ) , and W t Q ( Y t ( v ) ) ≤ K t , t ≥ 1. \log K_t^{\mathsf{Q}}(\mathbf{v},\lambda)\ge\lambda Y_t(\mathbf{v})-J_t^{\mathsf{Q}}(\lambda),\text{ and }W_t^{\mathsf{Q}}(Y_t(\mathbf{v}))\le K_t,\quad t\ge1. log K t Q ( v , λ ) ≥ λ Y t ( v ) − J t Q ( λ ) , and W t Q ( Y t ( v )) ≤ K t , t ≥ 1.
Finally, inverting W t Q W_t^{\mathsf{Q}} W t Q it is immediate that on Ω α \Omega_\alpha Ω α , W t Q ( Y t ( v ) ) < 1 / α W_t^{\mathsf{Q}}(Y_t(\mathbf{v}))<1/\alpha W t Q ( Y t ( v )) < 1/ α leads to Y t ( v ) ≤ U t Q Y_t(\mathbf{v})\le U_t^{\mathsf{Q}} Y t ( v ) ≤ U t Q for all t ≥ 1 t\ge1 t ≥ 1 . Thus M α ( t ; v ) : = U t Q \mathcal{M}_\alpha(t;\mathbf{v}):=U_t^{\mathsf{Q}} M α ( t ; v ) := U t Q satisfies the requirement of Lemma 2.1, and (2) holds trivially with U t = U t Q U_t=U_t^{\mathsf{Q}} U t = U t Q . Lemma 2.1 with a t = 1 a_t=1 a t = 1 and b t = L η t 2 ∥ g t ∥ 2 / 2 b_t=L\eta_t^2\|g_t\|^2/2 b t = L η t 2 ∥ g t ∥ 2 /2 completes the proof.
Proof of Proposition 3. Recall that K t Q ( v , λ ) K_t^{\mathsf{Q}}(\mathbf{v},\lambda) K t Q ( v , λ ) is a nonnegative supermartingale by the proof of Proposition 2. Moreover, by Definition 2.2 and Lemma 7.1, it follows that with θ = λ v s \theta=\lambda v_s θ = λ v s , E t ( λ ) : = exp [ λ Y t ( v ) − λ 2 σ 2 ∑ s ≤ t ∥ v s ∥ 2 / 2 ] E_t(\lambda):=\exp[\lambda Y_t(\mathbf{v})-\lambda^2\sigma^2\sum_{s\le t}\|v_s\|^2/2] E t ( λ ) := exp [ λ Y t ( v ) − λ 2 σ 2 ∑ s ≤ t ∥ v s ∥ 2 /2 ] is a nonnegative supermartingale with E 0 ( λ ) = 1 E_0(\lambda)=1 E 0 ( λ ) = 1 . Consequently,
K t H : = 1 2 ∑ k ≥ 0 p k [ E t ( λ k ) + K t Q ( v , λ k ) ] K_t^{\mathsf{H}}:=\frac{1}{2}\sum_{k\ge0}p_k\left[E_t(\lambda_k)+K_t^{\mathsf{Q}}(\mathbf{v},\lambda_k)\right] K t H := 2 1 k ≥ 0 ∑ p k [ E t ( λ k ) + K t Q ( v , λ k ) ]
is a nonnegative supermartingale with K 0 H = 1 K_0^{\mathsf{H}}=1 K 0 H = 1 . Since σ 2 ∑ s ≤ t ∥ v s ∥ 2 ≤ Q t G \sigma^2\sum_{s\le t}\|v_s\|^2\le Q_t^{G} σ 2 ∑ s ≤ t ∥ v s ∥ 2 ≤ Q t G , E t ( λ ) ≥ exp [ λ Y t ( v ) − λ 2 Q t G / 2 ] E_t(\lambda)\ge\exp[\lambda Y_t(\mathbf{v})-\lambda^2Q_t^{G}/2] E t ( λ ) ≥ exp [ λ Y t ( v ) − λ 2 Q t G /2 ] ; together with
K t Q ( v , λ ) ≥ exp [ λ Y t ( v ) − J t Q ( λ ) ] , K_t^{\mathsf{Q}}(\mathbf{v},\lambda)\ge\exp[\lambda Y_t(\mathbf{v})-J_t^{\mathsf{Q}}(\lambda)], K t Q ( v , λ ) ≥ exp [ λ Y t ( v ) − J t Q ( λ )] ,
this gives W t H ( Y t ( v ) ) ≤ K t H W_t^{\mathsf{H}}(Y_t(\mathbf{v}))\le K_t^{\mathsf{H}} W t H ( Y t ( v )) ≤ K t H . The rest of the proof follows along the lines of Proposition 2, with W t Q W_t^{\mathsf{Q}} W t Q , K t K_t K t and U t Q U_t^{\mathsf{Q}} U t Q replaced by W t H W_t^{\mathsf{H}} W t H , K t H K_t^{\mathsf{H}} K t H and U t H U_t^{\mathsf{H}} U t H .
Proof of (21) . Fix t ≥ 1 t\ge1 t ≥ 1 , and observe that q ( Q t G ) ≥ Q t G q(Q_t^{G})\ge Q_t^{G} q ( Q t G ) ≥ Q t G . Let L α : = log ( 2 / α ) L_\alpha:=\log(2/\alpha) L α := log ( 2/ α ) and ℓ : = L α + log log ( e + q ( Q t G ) ) \ell:=L_\alpha+\log\log(e+q(Q_t^{G})) ℓ := L α + log log ( e + q ( Q t G )) . Note L α > 1 L_\alpha>1 L α > 1 since α < 2 / e \alpha<2/e α < 2/ e . For every k k k , W t H ( y ) ≥ p k 2 exp ( λ k y − λ k 2 Q t G / 2 ) W_t^{\mathsf{H}}(y)\ge\frac{p_k}{2}\exp(\lambda_ky-\lambda_k^2Q_t^{G}/2) W t H ( y ) ≥ 2 p k exp ( λ k y − λ k 2 Q t G /2 ) , so that W t H ( y ) < 1 / α W_t^{\mathsf{H}}(y)<1/\alpha W t H ( y ) < 1/ α implies
y < log ( 2 / ( α p k ) ) λ k + λ k q ( Q t G ) 2 . y<\frac{\log(2/(\alpha p_k))}{\lambda_k}+\frac{\lambda_kq(Q_t^{G})}{2}. y < λ k log ( 2/ ( α p k )) + 2 λ k q ( Q t G ) .
Corollary 2.4 completes the proof by taking an infimum over k k k in RHS. Also see the proof of Proposition 9.
Proofs of results in §3.3
Throughout this subsection, grant (22) , and write e t : = x t − x ⋆ e_t := x_t - x^\star e t := x t − x ⋆ and m t : = ∇ F ( x t − 1 ) = E t − 1 g t m_t := \nabla F(x_{t-1}) = \mathbb{E}_{t-1}g_t m t := ∇ F ( x t − 1 ) = E t − 1 g t . In this section, we prove Theorems 3.1 and 3.2 sequentially.
For the proof of Theorem 3.1 , we transfer the problem of deriving a time-uniform boundary for Z ˉ t \bar{Z}_t Z ˉ t to deriving a time-uniform boundary for ∥ Ξ t ∥ 2 \|\Xi_t\|^2 ∥ Ξ t ∥ 2 . This is formalized in the following proposition.
Proposition 14 (Observable transfer to the averaged iterate). Grant the assumptions and notations of Theorem 3.1 . Then almost surely on { ∥ Ξ t ∥ ≤ B t for all t ≥ 0 } \{\|\Xi_t\| \le B_t\text{ for all }t \ge0\} { ∥ Ξ t ∥ ≤ B t for all t ≥ 0 } , it holds Z ˉ t ≤ R t P R \bar{Z}_t \le R_t^{\mathrm{PR}} Z ˉ t ≤ R t PR simultaneously for all t ≥ 1 t \ge1 t ≥ 1 .
Proof of Proposition 14. Fix t ≥ 1 t \ge1 t ≥ 1 and work on Ω B : = { ∥ Ξ t ∥ ≤ B t for all t ≥ 0 } \Omega_B := \{\|\Xi_t\| \le B_t\text{ for all }t \ge0\} Ω B := { ∥ Ξ t ∥ ≤ B t for all t ≥ 0 } . We first bound ∥ ∇ F ( x ~ t ) ∥ \|\nabla F(\widetilde{x}_t)\| ∥∇ F ( x t ) ∥ , and then transfer this bound to x ˉ t \bar{x}_t x ˉ t . Since ∑ s = 1 t ∇ F ( x s − 1 ) = ∑ s = 1 t g s + Ξ t \sum_{s=1}^{t}\nabla F(x_{s-1}) = \sum_{s=1}^{t}g_s + \Xi_t ∑ s = 1 t ∇ F ( x s − 1 ) = ∑ s = 1 t g s + Ξ t and ∥ Ξ t ∥ ≤ B t \|\Xi_t\| \le B_t ∥ Ξ t ∥ ≤ B t ,
∥ ∇ F ( x ~ t ) ∥ ≤ ∥ ∑ s = 1 t g s ∥ + B t t + ∥ 1 t ∑ s = 1 t [ ∇ F ( x s − 1 ) − ∇ F ( x ~ t ) ] ∥ . \|\nabla F(\widetilde{x}_t)\| \le\frac{\|\sum_{s=1}^{t}g_s\|+B_t}{t}+\left\|\frac{1}{t}\sum_{s=1}^{t}[\nabla F(x_{s-1})-\nabla F(\widetilde{x}_t)]\right\|. ∥∇ F ( x t ) ∥ ≤ t ∥ ∑ s = 1 t g s ∥ + B t + t 1 s = 1 ∑ t [ ∇ F ( x s − 1 ) − ∇ F ( x t )] .
We control the last term. By (22) ,
∥ 1 t ∑ s = 1 t [ ∇ F ( x s − 1 ) − ∇ F ( x ~ t ) ] ∥ ≤ t − 1 ∑ s ≤ t L ∥ x s − 1 − x ~ t ∥ = L D t , 1 . \left\|\frac{1}{t}\sum_{s=1}^{t}[\nabla F(x_{s-1})-\nabla F(\widetilde{x}_t)]\right\| \le t^{-1}\sum_{s\le t}L\|x_{s-1}-\widetilde{x}_t\|=LD_{t,1}. t 1 s = 1 ∑ t [ ∇ F ( x s − 1 ) − ∇ F ( x t )] ≤ t − 1 s ≤ t ∑ L ∥ x s − 1 − x t ∥ = L D t , 1 .
Moreover, since ∇ 2 F \nabla^2 F ∇ 2 F is Lipschitz by (24) , for x , z ∈ R d x,z\in\mathbb{R}^d x , z ∈ R d via Taylor expansion one obtains
∥ ∇ F ( x ) − ∇ F ( z ) − ∇ 2 F ( z ) ( x − z ) ∥ = ∥ ∫ 0 1 [ ∇ 2 F ( z + u ( x − z ) ) − ∇ 2 F ( z ) ] ( x − z ) d u ∥ ≤ L H 2 ∥ x − z ∥ 2 ; (72) \begin{aligned}
\|\nabla F(x)-\nabla F(z)-\nabla^2F(z)(x-z)\|
&=\left\|\int_0^1[\nabla^2F(z+u(x-z))-\nabla^2F(z)](x-z)\,\mathrm{d}u\right\|\\
&\le\frac{L_H}{2}\|x-z\|^2; \tag*{(72)}
\end{aligned} ∥∇ F ( x ) − ∇ F ( z ) − ∇ 2 F ( z ) ( x − z ) ∥ = ∫ 0 1 [ ∇ 2 F ( z + u ( x − z )) − ∇ 2 F ( z )] ( x − z ) d u ≤ 2 L H ∥ x − z ∥ 2 ; (72)
taking z = x ~ t z=\widetilde{x}_t z = x t , x = x s − 1 x=x_{s-1} x = x s − 1 , and noting ∑ s = 1 t ( x s − 1 − x ~ t ) = 0 \sum_{s=1}^{t}(x_{s-1}-\widetilde{x}_t)=0 ∑ s = 1 t ( x s − 1 − x t ) = 0 , one obtains from (72) that
∥ 1 t ∑ s = 1 t [ ∇ F ( x s − 1 ) − ∇ F ( x ~ t ) ] ∥ ≤ min { L D t , 1 , L H D t , 2 / 2 } . \left\|\frac{1}{t}\sum_{s=1}^{t}[\nabla F(x_{s-1})-\nabla F(\widetilde{x}_t)]\right\|\le\min\{LD_{t,1},L_HD_{t,2}/2\}. t 1 s = 1 ∑ t [ ∇ F ( x s − 1 ) − ∇ F ( x t )] ≤ min { L D t , 1 , L H D t , 2 /2 } .
Moreover, (22) with y = x ⋆ y=x^\star y = x ⋆ and ∇ F ( x ⋆ ) = 0 \nabla F(x^\star)=0 ∇ F ( x ⋆ ) = 0 gives μ ∥ z − x ⋆ ∥ 2 ≤ ⟨ ∇ F ( z ) , z − x ⋆ ⟩ ≤ ∥ ∇ F ( z ) ∥ ∥ z − x ⋆ ∥ \mu\|z-x^\star\|^2\le\langle\nabla F(z),z-x^\star\rangle\le\|\nabla F(z)\|\|z-x^\star\| μ ∥ z − x ⋆ ∥ 2 ≤ ⟨ ∇ F ( z ) , z − x ⋆ ⟩ ≤ ∥∇ F ( z ) ∥∥ z − x ⋆ ∥ , i.e., μ ∥ z − x ⋆ ∥ ≤ ∥ ∇ F ( z ) ∥ \mu\|z-x^\star\|\le\|\nabla F(z)\| μ ∥ z − x ⋆ ∥ ≤ ∥∇ F ( z ) ∥ for z ∈ R d z\in\mathbb{R}^d z ∈ R d . As x ˉ t = x ~ t + ( x t − x 0 ) / t \bar{x}_t=\widetilde{x}_t+(x_t-x_0)/t x ˉ t = x t + ( x t − x 0 ) / t ,
∥ x ˉ t − x ⋆ ∥ ≤ ∥ x ~ t − x ⋆ ∥ + ∥ x t − x 0 ∥ t ≤ ∥ ∑ s = 1 t g s ∥ + B t μ t + min { L D t , 1 , L H D t , 2 / 2 } μ + ∥ x t − x 0 ∥ t . \|\bar{x}_t-x^\star\|\le\|\widetilde{x}_t-x^\star\|+\frac{\|x_t-x_0\|}{t}\le\frac{\|\sum_{s=1}^{t}g_s\|+B_t}{\mu t}+\frac{\min\{LD_{t,1},L_HD_{t,2}/2\}}{\mu}+\frac{\|x_t-x_0\|}{t}. ∥ x ˉ t − x ⋆ ∥ ≤ ∥ x t − x ⋆ ∥ + t ∥ x t − x 0 ∥ ≤ μ t ∥ ∑ s = 1 t g s ∥ + B t + μ min { L D t , 1 , L H D t , 2 /2 } + t ∥ x t − x 0 ∥ .
On the other hand, noting that μ ∥ e s ∥ ≤ ∥ E s g s + 1 ∥ ≤ G \mu\|e_s\|\le\|\mathbb{E}_{s}g_{s+1}\|\le G μ ∥ e s ∥ ≤ ∥ E s g s + 1 ∥ ≤ G almost surely for all s ≥ 0 s\ge0 s ≥ 0 implies that ∥ x ˉ t − x ⋆ ∥ ≤ t − 1 ∑ s ≤ t ∥ e s ∥ ≤ G / μ \|\bar{x}_t-x^\star\|\le t^{-1}\sum_{s\le t}\|e_s\|\le G/\mu ∥ x ˉ t − x ⋆ ∥ ≤ t − 1 ∑ s ≤ t ∥ e s ∥ ≤ G / μ . Combining the two bounds above yields Z ˉ t ≤ R t P R \bar{Z}_t\le R_t^{\mathrm{PR}} Z ˉ t ≤ R t PR . □ \square □
Proof of Theorem 3.1. First we prove that P ( Z ˉ t ≤ R t P R for all t ≥ 1 ) ≥ 1 − α \mathbb{P}\left(\bar{Z}_t\le R_t^{\mathrm{PR}}\text{ for all }t\ge1\right)\ge1-\alpha P ( Z ˉ t ≤ R t PR for all t ≥ 1 ) ≥ 1 − α . By Proposition 14, it suffices to show P ( ∥ Ξ t ∥ ≤ B t for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(\|\Xi_t\|\le B_t\text{ for all }t\ge0)\ge1-\alpha P ( ∥ Ξ t ∥ ≤ B t for all t ≥ 0 ) ≥ 1 − α . To that end, we apply Lemma 2.1 to Z t : = ∥ Ξ t ∥ 2 Z_t:=\|\Xi_t\|^2 Z t := ∥ Ξ t ∥ 2 with R 0 : = 0 = Z 0 R_0:=0=Z_0 R 0 := 0 = Z 0 , a t : = 1 a_t:=1 a t := 1 , b t : = ∥ g t ∥ 2 b_t:=\|g_t\|^2 b t := ∥ g t ∥ 2 and v t v_t v t as in (23) . It remains to exhibit M α M_\alpha M α with P ( Y t ( v ) ≤ M α ( t ; v ) for all t ≥ 1 ) ≥ 1 − α \mathbb{P}(Y_t(\mathbf{v})\le M_\alpha(t;\mathbf{v})\text{ for all }t\ge1)\ge1-\alpha P ( Y t ( v ) ≤ M α ( t ; v ) for all t ≥ 1 ) ≥ 1 − α , and to verify (2) .
We first identify the noise inputs. By the definition, and the Table 2, ( ξ t , G 2 I d ) (\xi_t,G^2I_d) ( ξ t , G 2 I d ) is a sub-ψ N \psi_N ψ N process, and ( ξ t , g t g t T ) (\xi_t,g_tg_t^\mathsf{T}) ( ξ t , g t g t T ) is a sub-ψ E , G \psi_{E,G} ψ E , G process. We will also employ the oft-used inequality ψ E , G ≤ ψ G , G \psi_{E,G}\le\psi_{G,G} ψ E , G ≤ ψ G , G . Accordingly, let M α ( t ; v ) M_\alpha(t;\mathbf{v}) M α ( t ; v ) be
St α ( t ; v ) \operatorname{St}_{\alpha}(t; v) St α ( t ; v ) of Proposition 8 with the grid { λ k , p k } \{\lambda_k, p_k\} { λ k , p k } for GS and ΓS; and,
B α 1 ( t ; − v ) \mathcal{B}_{\alpha}^{1}(t; -v) B α 1 ( t ; − v ) of Corollary 7.6 with c = G c = G c = G for Bet, since Y t ( v ) = ∑ s ≤ t ⟨ − v s , g s − E s − 1 g s ⟩ Y_t(v) = \sum_{s \leq t}\langle-v_s, g_s - \mathbb{E}_{s-1}g_s\rangle Y t ( v ) = ∑ s ≤ t ⟨ − v s , g s − E s − 1 g s ⟩ .
These results yield the required time-uniform bound.
We next verify (2) . Fix t ≥ 1 t \geq1 t ≥ 1 and work on ⋂ s < t { Z s ≤ R s } \bigcap_{s<t}\{\mathcal{Z}_s \leq R_s\} ⋂ s < t { Z s ≤ R s } . Then ∥ v s ∥ ≤ 2 ( ∥ E s − 1 ∥ + ∥ m s ∥ ) ≤ M s \|v_s\| \leq2(\|\mathbb{E}_{s-1}\| + \|m_s\|) \leq M_s ∥ v s ∥ ≤ 2 ( ∥ E s − 1 ∥ + ∥ m s ∥ ) ≤ M s for s ≤ t s \leq t s ≤ t , i.e., E t ( M ) \mathbb{E}_t(M) E t ( M ) of Theorem 2.3 holds with the predictable M = ( M s ) s ≥ 1 M = (M_s)_{s \geq1} M = ( M s ) s ≥ 1 ; moreover, Λ t ( M ) = Λ t G ( M ) = [ 0 , 1 / c t ) \Lambda_t(M) = \Lambda_t^{G}(M) = [0,1/c_t) Λ t ( M ) = Λ t G ( M ) = [ 0 , 1/ c t ) for λ max = 1 / G \lambda_{\max} = 1/G λ m a x = 1/ G . Hence Theorem 2.3 , with
ν s = G 2 \nu_s = G^2 ν s = G 2 for NM and GS, ν s = ∥ g s ∥ 2 \nu_s = \|g_s\|^2 ν s = ∥ g s ∥ 2 for ΓS (as g s g s T ⪯ ∥ g s ∥ 2 I d g_sg_s^{\mathsf T} \preceq\|g_s\|^2 I_d g s g s T ⪯ ∥ g s ∥ 2 I d ), together with Corollary 2.4(i) for NM; and,
give M α ( t ; v ) ≤ U t \mathcal{M}_{\alpha}(t; v) \leq U_t M α ( t ; v ) ≤ U t . Here (10) holds for H t ≡ 0 H_t \equiv0 H t ≡ 0 , since ψ E , 1 ≥ 0 \psi_{E,1} \geq0 ψ E , 1 ≥ 0 on ( − ∞ , 1 ) (-\infty,1) ( − ∞ , 1 ) and ∣ λ ⟨ v s , m s ⟩ ∣ ≤ λ G M s < 1 |\lambda\langle v_s,m_s\rangle| \leq\lambda G M_s < 1 ∣ λ ⟨ v s , m s ⟩ ∣ ≤ λ G M s < 1 for λ ∈ Λ t G ( M ) \lambda\in\Lambda_t^G(M) λ ∈ Λ t G ( M ) . Thus (2) holds, and Lemma 2.1 yields P ( ∥ Ξ t ∥ ≤ B t for all t ≥ 0 ) ≥ 1 − α \mathbb{P}(\|\Xi_t\| \leq B_t\text{ for all }t \geq0) \geq1-\alpha P ( ∥ Ξ t ∥ ≤ B t for all t ≥ 0 ) ≥ 1 − α .
It remains to compare R P R , B e t R^{\mathrm{PR},\mathrm{Bet}} R PR , Bet with R P R , Γ S R^{\mathrm{PR},\mathrm{\Gamma S}} R PR , ΓS . Fix { M s } s = 1 t \{M_s\}_{s=1}^t { M s } s = 1 t and let λ c t < 1 \lambda c_t < 1 λ c t < 1 . By (14) , and ψ E , G ≤ ψ G , G \psi_{E,G} \leq\psi_{G,G} ψ E , G ≤ ψ G , G ,
ψ E , 1 ( λ M s ∥ g s ∥ ) ≤ ∥ g s ∥ 2 ψ E , G ( λ M s ) ≤ ∥ g s ∥ 2 ψ G , G ( λ M s ) , s ≤ t . (73) \psi_{E,1}(\lambda M_s\|g_s\|) \leq\|g_s\|^2\psi_{E,G}(\lambda M_s) \leq\|g_s\|^2\psi_{G,G}(\lambda M_s), \quad s \leq t. \tag*{(73)} ψ E , 1 ( λ M s ∥ g s ∥ ) ≤ ∥ g s ∥ 2 ψ E , G ( λ M s ) ≤ ∥ g s ∥ 2 ψ G , G ( λ M s ) , s ≤ t . (73)
For k ≥ 1 k \geq1 k ≥ 1 , recall L k : = log ( 1 / ( α p k ) ) L_k := \log(1/(\alpha p_k)) L k := log ( 1/ ( α p k )) and observe that
p k exp ( λ k y − ∑ s = 1 t ψ E , 1 ( λ k M s ∥ g s ∥ ) ) < 1 / α ⟹ y < L k + ∑ s ≤ t ψ E , 1 ( λ k M s ∥ g s ∥ ) λ k p_k\exp\left(\lambda_k y-\sum_{s=1}^{t}\psi_{E,1}(\lambda_kM_s\|g_s\|)\right)<1/\alpha\Longrightarrow y<\frac{L_k+\sum_{s\leq t}\psi_{E,1}(\lambda_kM_s\|g_s\|)}{\lambda_k} p k exp ( λ k y − s = 1 ∑ t ψ E , 1 ( λ k M s ∥ g s ∥ ) ) < 1/ α ⟹ y < λ k L k + ∑ s ≤ t ψ E , 1 ( λ k M s ∥ g s ∥ )
Consequently, together with (73) , we obtain U t B e t ≤ U t Γ S U_t^{\mathrm{Bet}} \leq U_t^{\mathrm{\Gamma S}} U t Bet ≤ U t ΓS for a shared trajectory. By induction on t t t , B t B e t ≤ B t Γ S B_t^{\mathrm{Bet}} \leq B_t^{\mathrm{\Gamma S}} B t Bet ≤ B t ΓS for all t ≥ 0 t \geq0 t ≥ 0 , and this concludes the proof since (25) is nondecreasing in B t B_t B t .
We now prove Theorem 3.2 , which rests on two lemmas. The first controls the growth of B t B_t B t , while the second lemma controls the moments of the iterates and the remaining terms in (25) .
Lemma 12.1. For each b ∈ { N M , G S , Γ S , B e t } b \in\{\mathrm{NM},\mathrm{GS},\mathrm{\Gamma S},\mathrm{Bet}\} b ∈ { NM , GS , ΓS , Bet } , there exists a constant C b C_b C b solely depending on ( α , G ) (\alpha,G) ( α , G ) , and additionally on ρ \rho ρ if b = N M b=\mathrm{NM} b = NM , such that ( B t b ) 2 ≤ C b t h b ( t ) (B_t^b)^2 \leq C_b t h_b(t) ( B t b ) 2 ≤ C b t h b ( t ) almost surely for all t ≥ 1 t \geq1 t ≥ 1 .
Proof. Throughout, K K K denotes an arbitrary constant depending only on ( α , G ) (\alpha,G) ( α , G ) , and on ρ \rho ρ if b = N M b=\mathrm{NM} b = NM , whose value may change from line to line. When the meaning is clear, we also omit the subscript b b b from h b h_b h b and write h : = h b h := h_b h := h b .
We first control B t B_t B t by a deterministic recursion. Define φ ( v , c ) : = N α ( v ) \varphi(v,c) := \mathcal{N}_{\alpha}(v) φ ( v , c ) := N α ( v ) for NM, φ ( v , c ) : = 2 G S α ( v / ( 4 G 2 ) ) \varphi(v,c) := 2G\mathcal{S}_{\alpha}(v/(4G^2)) φ ( v , c ) := 2 G S α ( v / ( 4 G 2 )) for GS, and φ ( v , c ) : = 2 G G α ( v / ( 4 G 2 ) , c / ( 2 G ) ) \varphi(v,c) := 2G\mathcal{G}_{\alpha}(v/(4G^2),c/(2G)) φ ( v , c ) := 2 G G α ( v / ( 4 G 2 ) , c / ( 2 G )) for ΓS and Bet, v , c ≥ 0 v,c \geq0 v , c ≥ 0 ; each φ \varphi φ is nondecreasing in ( v , c ) (v,c) ( v , c ) . By the assumption ∥ g s ∥ ≤ G \|g_s\| \leq G ∥ g s ∥ ≤ G , and U t B e t ≤ U t Γ S U_t^{\mathrm{Bet}} \leq U_t^{\mathrm{\Gamma S}} U t Bet ≤ U t ΓS for shared { M s } s = 1 t \{M_s\}_{s=1}^t { M s } s = 1 t (proof of Theorem 3.1 ), it holds U t ≤ φ ( G 2 ∑ s ≤ t M s 2 , c t ) U_t \leq\varphi(G^2\sum_{s\leq t}M_s^2,c_t) U t ≤ φ ( G 2 ∑ s ≤ t M s 2 , c t ) . Hence, by induction on t t t , B t ≤ B ˉ t B_t \leq\bar{B}_t B t ≤ B ˉ t , where B ˉ 0 : = 0 \bar{B}_0 := 0 B ˉ 0 := 0 , M ˉ t : = 2 ( B ˉ t − 1 + G ) \bar{M}_t := 2(\bar{B}_{t-1}+G) M ˉ t := 2 ( B ˉ t − 1 + G ) and
B ˉ t 2 : = G 2 t + φ ( G 2 ∑ s ≤ t M ˉ s 2 , G max { 1 , max s ≤ t M ˉ s } ) . \bar{B}_t^2 := G^2t+\varphi\left(G^2\sum_{s\leq t}\bar{M}_s^2,\ G\max\left\{1,\max_{s\leq t}\bar{M}_s\right\}\right). B ˉ t 2 := G 2 t + φ ( G 2 s ≤ t ∑ M ˉ s 2 , G max { 1 , s ≤ t max M ˉ s } ) .
We next bound φ \varphi φ . Let a α : = 2 log ( 2 / α ) + 2 a_{\alpha}:=2\log(2/\alpha)+2 a α := 2 log ( 2/ α ) + 2 . For k ≥ 1 k\ge1 k ≥ 1 and y ≥ e y\ge e y ≥ e , log ( k y ) ≤ ( 1 + log k ) log y \log(ky)\le(1+\log k)\log y log ( k y ) ≤ ( 1 + log k ) log y and log log ( k y ) ≤ log ( 1 + log k ) + log log y \log\log(ky)\le\log(1+\log k)+\log\log y log log ( k y ) ≤ log ( 1 + log k ) + log log y . These inequalities, together with
v + ρ ≤ ( 1 ∨ ρ ) ( 1 + v ) , e + q α ( v ) ≤ ( e + a α ) ( e + v ) , q α ( v ) ≤ a α ( 1 + v ) , v+\rho\le(1\vee\rho)(1+v),\qquad e+q_{\alpha}(v)\le(e+a_{\alpha})(e+v),\qquad q_{\alpha}(v)\le a_{\alpha}(1+v), v + ρ ≤ ( 1 ∨ ρ ) ( 1 + v ) , e + q α ( v ) ≤ ( e + a α ) ( e + v ) , q α ( v ) ≤ a α ( 1 + v ) ,
and 2 + 2 log + ( 2 c ) ≤ 6 log ( e + c ) 2+2\log_{+}(2c)\le6\log(e+c) 2 + 2 log + ( 2 c ) ≤ 6 log ( e + c ) , applied to the definitions of N α \mathcal{N}_{\alpha} N α , S α \mathcal{S}_{\alpha} S α and G α \mathcal{G}_{\alpha} G α in Corollary 2.4, yield
φ ( v , c ) ≤ K [ ( 1 + v ) h ( v ) + c ℓ ( c ) ] , v , c ≥ 0 , where ℓ ( t ) : = 1 + log log ( e + t ) . (74) \varphi(v,c)\le K\left[\sqrt{(1+v)h(v)}+c\ell(c)\right],\quad v,c\ge0,\quad\text{where }\ell(t):=1+\log\log(e+t). \tag*{(74)} φ ( v , c ) ≤ K [ ( 1 + v ) h ( v ) + c ℓ ( c ) ] , v , c ≥ 0 , where ℓ ( t ) := 1 + log log ( e + t ) . (74)
Finally, we proceed via an induction. Fix C ≥ max { 1 , G 2 } C\ge\max\{1,G^{2}\} C ≥ max { 1 , G 2 } and suppose B ˉ s 2 ≤ C s h ( s ) \bar{B}_{s}^{2}\le Csh(s) B ˉ s 2 ≤ C s h ( s ) for 1 ≤ s < t 1\le s<t 1 ≤ s < t . Since h ≥ 1 h\ge1 h ≥ 1 is nondecreasing, M ˉ s 2 ≤ 8 ( B ˉ s − 1 2 + G 2 ) ≤ 16 C t h ( t ) \bar{M}_{s}^{2}\le8(\bar{B}_{s-1}^{2}+G^{2})\le16Cth(t) M ˉ s 2 ≤ 8 ( B ˉ s − 1 2 + G 2 ) ≤ 16 C t h ( t ) for s ≤ t s\le t s ≤ t , so that
v : = G 2 ∑ s ≤ t M ˉ s 2 ≤ 16 G 2 C t 2 h ( t ) , and c : = G max { 1 , max s ≤ t M ˉ s } ≤ 4 G C t h ( t ) . v:=G^{2}\sum_{s\le t}\bar{M}_{s}^{2}\le16G^{2}Ct^{2}h(t),\qquad\text{and}\qquad c:=G\max\{1,\max_{s\le t}\bar{M}_{s}\}\le4G\sqrt{Cth(t)}. v := G 2 s ≤ t ∑ M ˉ s 2 ≤ 16 G 2 C t 2 h ( t ) , and c := G max { 1 , s ≤ t max M ˉ s } ≤ 4 G C t h ( t ) .
As h ( t ) ≤ e + t h(t)\le e+t h ( t ) ≤ e + t , both v v v and c c c are at most k C ( e + t ) 3 k_{C}(e+t)^{3} k C ( e + t ) 3 , where k C : = ( 1 ∨ 16 G 2 ) C k_{C}:=(1\vee16G^{2})C k C := ( 1 ∨ 16 G 2 ) C , and hence, for x ∈ { v , c } x\in\{v,c\} x ∈ { v , c } and κ ( C ) : = 3 + log ( 2 k C ) \kappa(C):=3+\log(2k_{C}) κ ( C ) := 3 + log ( 2 k C ) ,
log ( e + x ) ≤ log ( 2 k C ) + 3 log ( e + t ) ≤ κ ( C ) log ( e + t ) \log(e+x)\le\log(2k_{C})+3\log(e+t)\le\kappa(C)\log(e+t) log ( e + x ) ≤ log ( 2 k C ) + 3 log ( e + t ) ≤ κ ( C ) log ( e + t )
⟹ log log ( e + x ) ≤ log κ ( C ) + log log ( e + t ) , \Longrightarrow\quad\log\log(e+x)\le\log\kappa(C)+\log\log(e+t), ⟹ log log ( e + x ) ≤ log κ ( C ) + log log ( e + t ) ,
so that, as 1 + log κ ( C ) ≤ κ ( C ) 1+\log\kappa(C)\le\kappa(C) 1 + log κ ( C ) ≤ κ ( C ) and ℓ ≤ log ( e + ⋅ ) \ell\le\log(e+\mathord{\cdot}) ℓ ≤ log ( e + ⋅ ) , h ( v ) ≤ κ ( C ) h ( t ) h(v)\le\kappa(C)h(t) h ( v ) ≤ κ ( C ) h ( t ) and ℓ ( c ) ≤ κ ( C ) h ( t ) \ell(c)\le\kappa(C)h(t) ℓ ( c ) ≤ κ ( C ) h ( t ) . Plugging these bounds into (74) and using h ( t ) ≤ 2 t h(t)\le2t h ( t ) ≤ 2 t ,
B ˉ t 2 ≤ ( G 2 + K C κ ( C ) + K C κ ( C ) ) t h ( t ) ≤ C t h ( t ) , \bar{B}_{t}^{2}\le\left(G^{2}+K\sqrt{C\kappa(C)}+K\sqrt{C\kappa(C)}\right)th(t)\le Cth(t), B ˉ t 2 ≤ ( G 2 + K C κ ( C ) + K C κ ( C ) ) t h ( t ) ≤ C t h ( t ) ,
where the final inequality follows by choosing C C C to be large enough. This completes the induction.
In the following, for a random vector Y Y Y , write ∥ Y ∥ L 2 : = ( E ∥ Y ∥ 2 ) 1 / 2 \|Y\|_{L^{2}}:=(\mathbb{E}\|Y\|^{2})^{1/2} ∥ Y ∥ L 2 := ( E ∥ Y ∥ 2 ) 1/2 .
Lemma 12.2. Let η t = η ∘ ( t + t 0 ) − β \eta_{t}=\eta_{\circ}(t+t_{0})^{-\beta} η t = η ∘ ( t + t 0 ) − β , where η ∘ > 0 \eta_{\circ}>0 η ∘ > 0 , t 0 ≥ 0 t_{0}\ge0 t 0 ≥ 0 and β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) . Then, under the assumptions of Theorem 3.2 , there exists a constant C C C , depending only on ( G , μ , η ∘ , t 0 , β ) (G,\mu,\eta_{\circ},t_{0},\beta) ( G , μ , η ∘ , t 0 , β ) , such that, for all t ≥ 1 t\ge1 t ≥ 1 ,
E ∥ e t ∥ 2 ≤ C ( t + t 0 ) − β , E ∥ e t ∥ 4 ≤ C ( t + t 0 ) − 2 β . \mathbb{E}\|e_{t}\|^{2}\le C(t+t_{0})^{-\beta},\qquad\mathbb{E}\|e_{t}\|^{4}\le C(t+t_{0})^{-2\beta}. E ∥ e t ∥ 2 ≤ C ( t + t 0 ) − β , E ∥ e t ∥ 4 ≤ C ( t + t 0 ) − 2 β . Moreover, it follows that
∥ D t , 2 ∥ L 2 ≤ C t − β , ∥ 1 t ∑ s = 1 t g s ∥ L 2 ≤ C t − 1 + β / 2 , ∥ x t − x 0 ∥ t ≤ 2 G μ t a.s. (75) \|\mathcal{D}_{t,2}\|_{L^{2}}\le Ct^{-\beta},\qquad\left\|\frac{1}{t}\sum_{s=1}^{t}g_{s}\right\|_{L^{2}}\le Ct^{-1+\beta/2},\qquad\frac{\|x_{t}-x_{0}\|}{t}\le\frac{2G}{\mu t}\quad\text{a.s.} \tag*{(75)} ∥ D t , 2 ∥ L 2 ≤ C t − β , t 1 s = 1 ∑ t g s L 2 ≤ C t − 1 + β /2 , t ∥ x t − x 0 ∥ ≤ μ t 2 G a.s. (75)
Proof. Write u t : = E ∥ e t ∥ 2 u_{t}:=\mathbb{E}\|e_{t}\|^{2} u t := E ∥ e t ∥ 2 and w t : = E ∥ e t ∥ 4 w_{t}:=\mathbb{E}\|e_{t}\|^{4} w t := E ∥ e t ∥ 4 , so that u t ≤ G 2 / μ 2 u_{t}\le G^{2}/\mu^{2} u t ≤ G 2 / μ 2 and w t ≤ G 4 / μ 4 w_{t}\le G^{4}/\mu^{4} w t ≤ G 4 / μ 4 , as ∥ e t ∥ ≤ G / μ \|e_{t}\|\le G/\mu ∥ e t ∥ ≤ G / μ almost surely (proof of Proposition 14 ); here C C C denotes a constant depending only on ( G , μ , η ∘ , t 0 , β ) (G,\mu,\eta_{\circ},t_{0},\beta) ( G , μ , η ∘ , t 0 , β ) , whose value may change from line to line. We first derive recursions for u t u_{t} u t and w t w_{t} w t , and then solve them. Since SC implies RSI, (12) holds; taking expectations and using E ⟨ e t − 1 , ξ t ⟩ = 0 \mathbb{E}\langle e_{t-1},\xi_{t}\rangle=0 E ⟨ e t − 1 , ξ t ⟩ = 0 ,
u t ≤ ( 1 − 2 μ η t ) u t − 1 + G 2 η t 2 , t ≥ 1. (76) u_{t}\le(1-2\mu\eta_{t})u_{t-1}+G^{2}\eta_{t}^{2},\quad t\ge1. \tag*{(76)} u t ≤ ( 1 − 2 μ η t ) u t − 1 + G 2 η t 2 , t ≥ 1. (76)
Next, we expand ∥ e t ∥ 4 = ( ∥ e t − 1 ∥ 2 − 2 η t ⟨ e t − 1 , g t ⟩ + η t 2 ∥ g t ∥ 2 ) 2 \|e_{t}\|^{4}=(\|e_{t-1}\|^{2}-2\eta_{t}\langle e_{t-1},g_{t}\rangle+\eta_{t}^{2}\|g_{t}\|^{2})^{2} ∥ e t ∥ 4 = ( ∥ e t − 1 ∥ 2 − 2 η t ⟨ e t − 1 , g t ⟩ + η t 2 ∥ g t ∥ 2 ) 2 and use E t − 1 ⟨ e t − 1 , g t ⟩ = ⟨ e t − 1 , m t ⟩ ≥ μ ∥ e t − 1 ∥ 2 \mathbb{E}_{t-1}\langle e_{t-1},g_{t}\rangle=\langle e_{t-1},m_{t}\rangle\ge\mu\|e_{t-1}\|^{2} E t − 1 ⟨ e t − 1 , g t ⟩ = ⟨ e t − 1 , m t ⟩ ≥ μ ∥ e t − 1 ∥ 2 , ∣ ⟨ e t − 1 , g t ⟩ ∣ ≤ G ∥ e t − 1 ∥ |\langle e_{t-1},g_{t}\rangle|\le G\|e_{t-1}\| ∣ ⟨ e t − 1 , g t ⟩ ∣ ≤ G ∥ e t − 1 ∥ and 4 G 3 η t 3 ∥ e t − 1 ∥ ≤ 2 G 2 η t 2 ∥ e t − 1 ∥ 2 + 2 G 4 η t 4 4G^{3}\eta_{t}^{3}\|e_{t-1}\|\le2G^{2}\eta_{t}^{2}\|e_{t-1}\|^{2}+2G^{4}\eta_{t}^{4} 4 G 3 η t 3 ∥ e t − 1 ∥ ≤ 2 G 2 η t 2 ∥ e t − 1 ∥ 2 + 2 G 4 η t 4 ; this gives
E t − 1 ∥ e t ∥ 4 ≤ ( 1 − 4 μ η t ) ∥ e t − 1 ∥ 4 + 8 G 2 η t 2 ∥ e t − 1 ∥ 2 + 3 G 4 η t 4 \mathbb{E}_{t-1}\|e_{t}\|^{4}\le(1-4\mu\eta_{t})\|e_{t-1}\|^{4}+8G^{2}\eta_{t}^{2}\|e_{t-1}\|^{2}+3G^{4}\eta_{t}^{4} E t − 1 ∥ e t ∥ 4 ≤ ( 1 − 4 μ η t ) ∥ e t − 1 ∥ 4 + 8 G 2 η t 2 ∥ e t − 1 ∥ 2 + 3 G 4 η t 4
⟹ w t ≤ ( 1 − 4 μ η t ) w t − 1 + 8 G 2 η t 2 u t − 1 + 3 G 4 η t 4 . (77) \Longrightarrow\quad w_{t}\le(1-4\mu\eta_{t})w_{t-1}+8G^{2}\eta_{t}^{2}u_{t-1}+3G^{4}\eta_{t}^{4}. \tag*{(77)} ⟹ w t ≤ ( 1 − 4 μ η t ) w t − 1 + 8 G 2 η t 2 u t − 1 + 3 G 4 η t 4 . (77)
We solve these recursions by invoking Lemma 2.4(a) of Jiang et al. [ [63 ] . By (76) , a k : = u T + k a_{k}:=u_{T+k} a k := u T + k satisfies the recursion therein with γ : = T + 1 + t 0 \gamma:=T+1+t_{0} γ := T + 1 + t 0 , ν = q : = β \nu=q:=\beta ν = q := β , c : = 2 μ η ∘ c:=2\mu\eta_{\circ} c := 2 μ η ∘ and d : = G 2 η ∘ 2 d:=G^{2}\eta_{\circ}^{2} d := G 2 η ∘ 2 . Choose an integer T ≥ 0 T\ge0 T ≥ 0 with
T + 1 + t 0 ≥ max { c 1 / β , ( 2 q / c ) 1 / ( 1 − β ) } . T+1+t_{0}\ge\max\{c^{1/\beta},(2q/c)^{1/(1-\beta)}\}. T + 1 + t 0 ≥ max { c 1/ β , ( 2 q / c ) 1/ ( 1 − β ) } .
@ references Using u t ≤ G 2 / μ 2 u_t \le G^2/\mu^2 u t ≤ G 2 / μ 2 for t < T t<T t < T , we obtain u t ≤ C ( t + t 0 ) − β u_t \le C(t+t_0)^{-\beta} u t ≤ C ( t + t 0 ) − β , t ≥ 1 t\ge1 t ≥ 1 . Therefore, in view of η t 4 ≤ η 0 4 ( t + t 0 ) − 3 β \eta_t^4 \le\eta_0^4(t+t_0)^{-3\beta} η t 4 ≤ η 0 4 ( t + t 0 ) − 3 β , (77) produces
w t ≤ ( 1 − 4 μ η t ) w t − 1 + C ( t + t 0 ) − 3 β . w_t \le(1-4\mu\eta_t)w_{t-1}+C(t+t_0)^{-3\beta}. w t ≤ ( 1 − 4 μ η t ) w t − 1 + C ( t + t 0 ) − 3 β .
Lemma 2.4(a) of Jiang et al. [ [63 ] , now with a k : = w T ′ + k a_k:=w_{T'+k} a k := w T ′ + k for an integer T ′ ≥ 1 T'\ge1 T ′ ≥ 1 , c : = 4 μ η 0 c:=4\mu\eta_0 c := 4 μ η 0 , ν : = β \nu:=\beta ν := β and q : = 2 β q:=2\beta q := 2 β , leads to w t ≤ C ( t + t 0 ) − 2 β w_t\le C(t+t_0)^{-2\beta} w t ≤ C ( t + t 0 ) − 2 β , t ≥ 1 t\ge1 t ≥ 1 .
We now control the terms in (75) . Clearly, by the definition of x ~ t \widetilde{x}_t x t , D t , 2 ≤ t − 1 ∑ s = 1 t ∥ e s − 1 ∥ 2 D_{t,2}\le t^{-1}\sum_{s=1}^{t}\lVert e_{s-1}\rVert^2 D t , 2 ≤ t − 1 ∑ s = 1 t ∥ e s − 1 ∥ 2 . By Minkowski’s inequality, and ∥ e 0 ∥ ≤ G / μ \lVert e_0\rVert\le G/\mu ∥ e 0 ∥ ≤ G / μ ,
∥ D t , 2 ∥ L 2 ≤ 1 t [ G 2 μ 2 + C ∑ j = 1 t − 1 j − β ] ≤ C t − β . \lVert D_{t,2}\rVert_{L^2}\le\frac{1}{t}\left[\frac{G^2}{\mu^2}+C\sum_{j=1}^{t-1}j^{-\beta}\right]\le Ct^{-\beta}. ∥ D t , 2 ∥ L 2 ≤ t 1 [ μ 2 G 2 + C j = 1 ∑ t − 1 j − β ] ≤ C t − β .
where we use the elementary inequality ∑ j = 1 t − 1 j − β ≤ t 1 − β / ( 1 − β ) \sum_{j=1}^{t-1}j^{-\beta}\le t^{1-\beta}/(1-\beta) ∑ j = 1 t − 1 j − β ≤ t 1 − β / ( 1 − β ) . Next, as g s = ( e s − 1 − e s ) / η s g_s=(e_{s-1}-e_s)/\eta_s g s = ( e s − 1 − e s ) / η s , summation by parts gives
∑ s = 1 t g s = e 0 η 1 − e t η t + ∑ s = 1 t − 1 ( 1 η s + 1 − 1 η s ) e s . \sum_{s=1}^{t}g_s=\frac{e_0}{\eta_1}-\frac{e_t}{\eta_t}+\sum_{s=1}^{t-1}\left(\frac{1}{\eta_{s+1}}-\frac{1}{\eta_s}\right)e_s. s = 1 ∑ t g s = η 1 e 0 − η t e t + s = 1 ∑ t − 1 ( η s + 1 1 − η s 1 ) e s .
where 0 ≤ η s + 1 − 1 − η s − 1 ≤ β η 0 − 1 ( s + t 0 ) β − 1 0\le\eta_{s+1}^{-1}-\eta_s^{-1}\le\beta\eta_0^{-1}(s+t_0)^{\beta-1} 0 ≤ η s + 1 − 1 − η s − 1 ≤ β η 0 − 1 ( s + t 0 ) β − 1 by the concavity of u ↦ u β u\mapsto u^\beta u ↦ u β . Hence, yet another application of Minkowski’s inequality and ∥ e s ∥ L 2 ≤ C ( s + t 0 ) − β / 2 \lVert e_s\rVert_{L^2}\le C(s+t_0)^{-\beta/2} ∥ e s ∥ L 2 ≤ C ( s + t 0 ) − β /2 entails that,
∥ 1 t ∑ s = 1 t g s ∥ L 2 ≤ C t [ 1 + ( t + t 0 ) β / 2 + ∑ s = 1 t − 1 s β / 2 − 1 ] ≤ C t − 1 + β / 2 . \left\lVert\frac{1}{t}\sum_{s=1}^{t}g_s\right\rVert_{L^2}\le\frac{C}{t}\left[1+(t+t_0)^{\beta/2}+\sum_{s=1}^{t-1}s^{\beta/2-1}\right]\le Ct^{-1+\beta/2}. t 1 s = 1 ∑ t g s L 2 ≤ t C [ 1 + ( t + t 0 ) β /2 + s = 1 ∑ t − 1 s β /2 − 1 ] ≤ C t − 1 + β /2 .
Finally, ∥ x t − x 0 ∥ ≤ ∥ e t ∥ + ∥ e 0 ∥ ≤ 2 G / μ \lVert x_t-x_0\rVert\le\lVert e_t\rVert+\lVert e_0\rVert\le2G/\mu ∥ x t − x 0 ∥ ≤ ∥ e t ∥ + ∥ e 0 ∥ ≤ 2 G / μ almost surely.
Proof of Theorem 3.2. Throughout, C C C denotes a constant whose value may change from line to line. We bound ( ER t P R ) 1 / 2 = ∥ R t P R ∥ L 2 (\operatorname{ER}^{\mathrm{PR}}_t)^{1/2}=\lVert\sqrt{R_t^{\mathrm{PR}}}\rVert_{L^2} ( ER t PR ) 1/2 = ∥ R t PR ∥ L 2 termwise. Discarding the cap G / μ G/\mu G / μ in (25) , bounding min { L D t , 1 , L H D t , 2 / 2 } ≤ L H D t , 2 / 2 \min\{LD_{t,1},L_HD_{t,2}/2\}\le L_HD_{t,2}/2 min { L D t , 1 , L H D t , 2 /2 } ≤ L H D t , 2 /2 , and applying Minkowski’s inequality, Lemma 12.1 and (75) ,
( ER t P R ) 1 / 2 ≤ 1 μ t ∥ ∑ s = 1 t g s ∥ L 2 + ∥ B t ∥ L 2 μ t + L H ∥ D t , 2 ∥ L 2 2 μ + 2 G μ t ≤ C [ t − 1 + β / 2 + h b ( t ) t + t − β ] . (\operatorname{ER}^{\mathrm{PR}}_t)^{1/2}\le\frac{1}{\mu t}\left\lVert\sum_{s=1}^{t}g_s\right\rVert_{L^2}+\frac{\lVert B_t\rVert_{L^2}}{\mu t}+\frac{L_H\lVert D_{t,2}\rVert_{L^2}}{2\mu}+\frac{2G}{\mu t}\le C\left[t^{-1+\beta/2}+\sqrt{\frac{h_b(t)}{t}}+t^{-\beta}\right]. ( ER t PR ) 1/2 ≤ μ t 1 s = 1 ∑ t g s L 2 + μ t ∥ B t ∥ L 2 + 2 μ L H ∥ D t , 2 ∥ L 2 + μ t 2 G ≤ C [ t − 1 + β /2 + t h b ( t ) + t − β ] .
where we used t − 1 ≤ h b ( t ) / t t^{-1}\le\sqrt{h_b(t)/t} t − 1 ≤ h b ( t ) / t . Since β ∈ ( 1 / 2 , 1 ) \beta\in(1/2,1) β ∈ ( 1/2 , 1 ) and h b ≥ 1 h_b\ge1 h b ≥ 1 , t − 1 + β / 2 ≤ t − 1 / 2 ≤ h b ( t ) / t t^{-1+\beta/2}\le t^{-1/2}\le\sqrt{h_b(t)/t} t − 1 + β /2 ≤ t − 1/2 ≤ h b ( t ) / t and t − β ≤ t − 1 / 2 ≤ h b ( t ) / t t^{-\beta}\le t^{-1/2}\le\sqrt{h_b(t)/t} t − β ≤ t − 1/2 ≤ h b ( t ) / t . This concludes the proof.
Proofs of results in §4
Proofs of results in §4.1
Proof of Proposition 4. Fix t ≥ 1 t\ge1 t ≥ 1 and put Δ t : = ∥ ( I + η t Σ ^ t ) u t − 1 ∥ 2 = 1 + 2 η t ⟨ u t − 1 , Σ ^ t u t − 1 ⟩ + η t 2 ∥ Σ ^ t u t − 1 ∥ 2 \Delta_t:=\lVert(I+\eta_t\widehat{\Sigma}_t)u_{t-1}\rVert^2=1+2\eta_t\langle u_{t-1},\widehat{\Sigma}_t u_{t-1}\rangle+\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 Δ t := ∥( I + η t Σ t ) u t − 1 ∥ 2 = 1 + 2 η t ⟨ u t − 1 , Σ t u t − 1 ⟩ + η t 2 ∥ Σ t u t − 1 ∥ 2 ; since Σ ^ t ⪰ 0 \widehat{\Sigma}_t\succeq0 Σ t ⪰ 0 , Δ t ≥ 1 \Delta_t\ge1 Δ t ≥ 1 .
We first derive an exact expression for Z t − Z t − 1 Z_t-Z_{t-1} Z t − Z t − 1 . Since Σ ^ t \widehat{\Sigma}_t Σ t is symmetric, ⟨ ( I + η t Σ ^ t ) u t − 1 , u ⋆ ⟩ = ⟨ u t − 1 , u ⋆ ⟩ + η t ⟨ u ⋆ , Σ ^ t u t − 1 ⟩ \langle(I+\eta_t\widehat{\Sigma}_t)u_{t-1},u^\star\rangle=\langle u_{t-1},u^\star\rangle+\eta_t\langle u^\star,\widehat{\Sigma}_t u_{t-1}\rangle ⟨( I + η t Σ t ) u t − 1 , u ⋆ ⟩ = ⟨ u t − 1 , u ⋆ ⟩ + η t ⟨ u ⋆ , Σ t u t − 1 ⟩ . Therefore, recalling the definition of H \mathcal{H} H in Proposition 4,
⟨ H ( u t − 1 ) , Σ ^ t ⟩ = 2 ⟨ u t − 1 , u ⋆ ⟩ ⟨ ⟨ u t − 1 , u ⋆ ⟩ u t − 1 − u ⋆ , Σ ^ t u t − 1 ⟩ . \langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}_t\rangle=2\langle u_{t-1},u^\star\rangle\langle\langle u_{t-1},u^\star\rangle u_{t-1}-u^\star,\widehat{\Sigma}_t u_{t-1}\rangle. ⟨ H ( u t − 1 ) , Σ t ⟩ = 2 ⟨ u t − 1 , u ⋆ ⟩ ⟨⟨ u t − 1 , u ⋆ ⟩ u t − 1 − u ⋆ , Σ t u t − 1 ⟩ .
Write Z t = 1 − ⟨ ( I + η t Σ ^ t ) u t − 1 , u ⋆ ⟩ 2 / Δ t Z_t=1-\langle(I+\eta_t\widehat{\Sigma}_t)u_{t-1},u^\star\rangle^2/\Delta_t Z t = 1 − ⟨( I + η t Σ t ) u t − 1 , u ⋆ ⟩ 2 / Δ t , which leads to
Z t − Z t − 1 = ⟨ u t − 1 , u ⋆ ⟩ 2 − ( ⟨ u t − 1 , u ⋆ ⟩ + η t ⟨ u ⋆ , Σ ^ t u t − 1 ⟩ ) 2 Δ t = η t ⟨ H ( u t − 1 ) , Σ ^ t ⟩ + R t , (78) Z_t-Z_{t-1}=\langle u_{t-1},u^\star\rangle^2-\frac{\left(\langle u_{t-1},u^\star\rangle+\eta_t\langle u^\star,\widehat{\Sigma}_t u_{t-1}\rangle\right)^2}{\Delta_t}=\eta_t\langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}_t\rangle+R_t, \tag*{(78)} Z t − Z t − 1 = ⟨ u t − 1 , u ⋆ ⟩ 2 − Δ t ( ⟨ u t − 1 , u ⋆ ⟩ + η t ⟨ u ⋆ , Σ t u t − 1 ⟩ ) 2 = η t ⟨ H ( u t − 1 ) , Σ t ⟩ + R t , (78)
where
R t : = − η t ⟨ H ( u t − 1 ) , Σ ^ t ⟩ Δ t − 1 Δ t + η t 2 ( 1 − Z t − 1 ) ∥ Σ ^ t u t − 1 ∥ 2 − ⟨ u ⋆ , Σ ^ t u t − 1 ⟩ 2 Δ t = : A + B . R_t := -\eta_t\langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}_t\rangle\frac{\Delta_t-1}{\Delta_t}+\eta_t^2\frac{(1-Z_{t-1})\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2-\langle u^\star,\widehat{\Sigma}_t u_{t-1}\rangle^2}{\Delta_t}=:A+B. R t := − η t ⟨ H ( u t − 1 ) , Σ t ⟩ Δ t Δ t − 1 + η t 2 Δ t ( 1 − Z t − 1 ) ∥ Σ t u t − 1 ∥ 2 − ⟨ u ⋆ , Σ t u t − 1 ⟩ 2 =: A + B .
We now show R t ≤ 3 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 R_t \le3\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 R t ≤ 3 η t 2 ∥ Σ t u t − 1 ∥ 2 , controlling the two terms of R t R_t R t separately. For the first term, ∥ ⟨ u t − 1 , u ⋆ ⟩ u t − 1 − u ⋆ ∥ 2 = 1 − ⟨ u t − 1 , u ⋆ ⟩ 2 = Z t − 1 \lVert\langle u_{t-1},u^\star\rangle u_{t-1}-u^\star\rVert^2=1-\langle u_{t-1},u^\star\rangle^2=Z_{t-1} ∥⟨ u t − 1 , u ⋆ ⟩ u t − 1 − u ⋆ ∥ 2 = 1 − ⟨ u t − 1 , u ⋆ ⟩ 2 = Z t − 1 , so that the Cauchy–Schwarz inequality and 2 [ ( 1 − Z t − 1 ) Z t − 1 ] 1 / 2 ≤ 1 2[(1-Z_{t-1})Z_{t-1}]^{1/2}\le1 2 [( 1 − Z t − 1 ) Z t − 1 ] 1/2 ≤ 1 give ∣ ⟨ H ( u t − 1 ) , Σ ^ t ⟩ ∣ ≤ ∥ Σ ^ t u t − 1 ∥ |\langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}_t\rangle|\le\lVert\widehat{\Sigma}_t u_{t-1}\rVert ∣ ⟨ H ( u t − 1 ) , Σ t ⟩ ∣ ≤ ∥ Σ t u t − 1 ∥ . Moreover, ⟨ u t − 1 , Σ ^ t u t − 1 ⟩ ≤ ∥ Σ ^ t u t − 1 ∥ \langle u_{t-1},\widehat{\Sigma}_t u_{t-1}\rangle\le\lVert\widehat{\Sigma}_t u_{t-1}\rVert ⟨ u t − 1 , Σ t u t − 1 ⟩ ≤ ∥ Σ t u t − 1 ∥ gives 1 ≤ Δ t ≤ ( 1 + η t ∥ Σ ^ t u t − 1 ∥ ) 2 1\le\Delta_t\le(1+\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert)^2 1 ≤ Δ t ≤ ( 1 + η t ∥ Σ t u t − 1 ∥ ) 2 , and since s ↦ ( s − 1 ) / s s\mapsto(s-1)/s s ↦ ( s − 1 ) / s is nondecreasing on [ 1 , ∞ ) [1,\infty) [ 1 , ∞ ) ,
Δ t − 1 Δ t ≤ 1 − 1 ( 1 + η t ∥ Σ ^ t u t − 1 ∥ ) 2 = η t ∥ Σ ^ t u t − 1 ∥ ( 2 + η t ∥ Σ ^ t u t − 1 ∥ ) ( 1 + η t ∥ Σ ^ t u t − 1 ∥ ) 2 ≤ 2 η t ∥ Σ ^ t u t − 1 ∥ . \frac{\Delta_t-1}{\Delta_t}\le1-\frac{1}{(1+\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert)^2}=\frac{\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert(2+\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert)}{(1+\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert)^2}\le2\eta_t\lVert\widehat{\Sigma}_t u_{t-1}\rVert. Δ t Δ t − 1 ≤ 1 − ( 1 + η t ∥ Σ t u t − 1 ∥ ) 2 1 = ( 1 + η t ∥ Σ t u t − 1 ∥ ) 2 η t ∥ Σ t u t − 1 ∥ ( 2 + η t ∥ Σ t u t − 1 ∥) ≤ 2 η t ∥ Σ t u t − 1 ∥ .
Hence A ≤ 2 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 A\le2\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 A ≤ 2 η t 2 ∥ Σ t u t − 1 ∥ 2 . For the second term, 1 − Z t − 1 ≤ 1 1-Z_{t-1}\le1 1 − Z t − 1 ≤ 1 and Δ t ≥ 1 \Delta_t\ge1 Δ t ≥ 1 give the bound B ≤ η t 2 ∥ Σ ^ t u t − 1 ∥ 2 B\le\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 B ≤ η t 2 ∥ Σ t u t − 1 ∥ 2 . Consequently, R t ≤ 3 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 R_t\le3\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 R t ≤ 3 η t 2 ∥ Σ t u t − 1 ∥ 2 .
To complete the recursion, (1) , it remains to extract the drift term a t Z t − 1 a_tZ_{t-1} a t Z t − 1 from η t ⟨ H ( u t − 1 ) , Σ ^ t ⟩ = η t ⟨ H ( u t − 1 ) , Σ ^ ⟩ + ⟨ η t vec H ( u t − 1 ) , ξ t ⟩ \eta_t\langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}_t\rangle=\eta_t\langle\mathcal{H}(u_{t-1}),\widehat{\Sigma}\rangle+\langle\eta_t\operatorname{vec}\mathcal{H}(u_{t-1}),\xi_t\rangle η t ⟨ H ( u t − 1 ) , Σ t ⟩ = η t ⟨ H ( u t − 1 ) , Σ ⟩ + ⟨ η t vec H ( u t − 1 ) , ξ t ⟩ . To that end, note that since λ 1 ( Σ ) > λ 2 ( Σ ) \lambda_1(\Sigma)>\lambda_2(\Sigma) λ 1 ( Σ ) > λ 2 ( Σ ) , there exists a spectral decomposition Σ = ∑ i = 1 d λ i ( Σ ) q i q i T \Sigma=\sum_{i=1}^d\lambda_i(\Sigma)q_iq_i^\mathsf{T} Σ = ∑ i = 1 d λ i ( Σ ) q i q i T with orthonormal q 1 , … , q d q_1,\ldots,q_d q 1 , … , q d and q 1 = u ⋆ q_1=u^\star q 1 = u ⋆ . This implies that
u t − 1 T Σ u t − 1 ≤ λ 1 ( Σ ) ⟨ u t − 1 , u ⋆ ⟩ 2 + λ 2 ( Σ ) ∑ i ≥ 2 ⟨ u t − 1 , q i ⟩ 2 = λ 1 ( Σ ) ( 1 − Z t − 1 ) + λ 2 ( Σ ) Z t − 1 . u_{t-1}^\mathsf{T}\Sigma u_{t-1}\le\lambda_1(\Sigma)\langle u_{t-1},u^\star\rangle^2+\lambda_2(\Sigma)\sum_{i\ge2}\langle u_{t-1},q_i\rangle^2=\lambda_1(\Sigma)(1-Z_{t-1})+\lambda_2(\Sigma)Z_{t-1}. u t − 1 T Σ u t − 1 ≤ λ 1 ( Σ ) ⟨ u t − 1 , u ⋆ ⟩ 2 + λ 2 ( Σ ) i ≥ 2 ∑ ⟨ u t − 1 , q i ⟩ 2 = λ 1 ( Σ ) ( 1 − Z t − 1 ) + λ 2 ( Σ ) Z t − 1 .
Consequently, using the definition of H \mathcal{H} H and ⟨ u ⋆ , Σ u t − 1 ⟩ = λ 1 ( Σ ) ⟨ u t − 1 , u ⋆ ⟩ \langle u^\star,\Sigma u_{t-1}\rangle=\lambda_1(\Sigma)\langle u_{t-1},u^\star\rangle ⟨ u ⋆ , Σ u t − 1 ⟩ = λ 1 ( Σ ) ⟨ u t − 1 , u ⋆ ⟩ ,
⟨ H ( u t − 1 ) , Σ ⟩ = 2 ( 1 − Z t − 1 ) [ u t − 1 T Σ u t − 1 − λ 1 ( Σ ) ] ≤ − 2 ( 1 − Z t − 1 ) [ λ 1 ( Σ ) − λ 2 ( Σ ) ] Z t − 1 ≤ − 2 δ ( 1 − Z t − 1 ) Z t − 1 . \begin{aligned}
\langle\mathcal{H}(u_{t-1}),\Sigma\rangle&=2(1-Z_{t-1})[u_{t-1}^\mathsf{T}\Sigma u_{t-1}-\lambda_1(\Sigma)]\\
&\le-2(1-Z_{t-1})[\lambda_1(\Sigma)-\lambda_2(\Sigma)]Z_{t-1}\le-2\delta(1-Z_{t-1})Z_{t-1}.
\end{aligned} ⟨ H ( u t − 1 ) , Σ ⟩ = 2 ( 1 − Z t − 1 ) [ u t − 1 T Σ u t − 1 − λ 1 ( Σ )] ≤ − 2 ( 1 − Z t − 1 ) [ λ 1 ( Σ ) − λ 2 ( Σ )] Z t − 1 ≤ − 2 δ ( 1 − Z t − 1 ) Z t − 1 .
where the first inequality uses the preceding bound and 1 − Z t − 1 ≥ 0 1-Z_{t-1}\ge0 1 − Z t − 1 ≥ 0 , and the second uses λ 1 ( Σ ) − λ 2 ( Σ ) ≥ δ \lambda_1(\Sigma)-\lambda_2(\Sigma)\ge\delta λ 1 ( Σ ) − λ 2 ( Σ ) ≥ δ and ( 1 − Z t − 1 ) Z t − 1 ≥ 0 (1-Z_{t-1})Z_{t-1}\ge0 ( 1 − Z t − 1 ) Z t − 1 ≥ 0 . Inserting this and the bound on R t R_t R t into (78) proves (26) for every realization, and in particular almost surely.
Finally, on { Z t − 1 ≤ r t − 1 } \{Z_{t-1}\le r_{t-1}\} { Z t − 1 ≤ r t − 1 } , a t ≥ 1 − 2 δ η t ( 1 − r t − 1 ) a_t\ge1-2\delta\eta_t(1-r_{t-1}) a t ≥ 1 − 2 δ η t ( 1 − r t − 1 ) implies that
[ 1 − 2 δ η t ( 1 − Z t − 1 ) ] Z t − 1 ≤ [ 1 − 2 δ η t ( 1 − r t − 1 ) ] Z t − 1 ≤ a t Z t − 1 . [1-2\delta\eta_t(1-Z_{t-1})]Z_{t-1}\le[1-2\delta\eta_t(1-r_{t-1})]Z_{t-1}\le a_tZ_{t-1}. [ 1 − 2 δ η t ( 1 − Z t − 1 )] Z t − 1 ≤ [ 1 − 2 δ η t ( 1 − r t − 1 )] Z t − 1 ≤ a t Z t − 1 .
Substituting this into (26) yields (1) with b t = 3 η t 2 ∥ Σ ^ t u t − 1 ∥ 2 b_t=3\eta_t^2\lVert\widehat{\Sigma}_t u_{t-1}\rVert^2 b t = 3 η t 2 ∥ Σ t u t − 1 ∥ 2 and v t = η t vec H ( u t − 1 ) v_t=\eta_t\operatorname{vec}\mathcal{H}(u_{t-1}) v t = η t vec H ( u t − 1 ) . This completes the proof.
Proofs of results in §4.2
Proof of Proposition 5. From the TD learning recursion θ t = θ t − 1 − η t g t \theta_t=\theta_{t-1}-\eta_tg_t θ t = θ t − 1 − η t g t , and the definition of Z t Z_t Z t , it holds
Z t = Z t − 1 − 2 η t ⟨ θ t − 1 − θ ⋆ , g t ⟩ + η t 2 ∥ g t ∥ 2 . Z_t=Z_{t-1}-2\eta_t\langle\theta_{t-1}-\theta^\star,g_t\rangle+\eta_t^2\lVert g_t\rVert^2. Z t = Z t − 1 − 2 η t ⟨ θ t − 1 − θ ⋆ , g t ⟩ + η t 2 ∥ g t ∥ 2 .
Substituting g t = A π ( θ t − 1 − θ ⋆ ) − ξ t g_t=A_\pi(\theta_{t-1}-\theta^\star)-\xi_t g t = A π ( θ t − 1 − θ ⋆ ) − ξ t and using e T A π e ≥ κ ∥ e ∥ 2 e^\mathsf{T}A_\pi e\ge\kappa\lVert e\rVert^2 e T A π e ≥ κ ∥ e ∥ 2 with e = θ t − 1 − θ ⋆ e=\theta_{t-1}-\theta^\star e = θ t − 1 − θ ⋆ yields (28) .
Proof of Theorem 4.1 . In view of Proposition 5, Theorem 2.3 and Lemma 2.1 give ∥ θ t − θ ⋆ ∥ 2 ≤ R t \lVert\theta_t-\theta^\star\rVert^2\le R_t ∥ θ t − θ ⋆ ∥ 2 ≤ R t for all t t t with probability at least 1 − α 1-\alpha 1 − α . On this event, C ⪯ I C\preceq I C ⪯ I yields ∥ V θ t − V θ ⋆ ∥ d π 2 = ( θ t − θ ⋆ ) T C ( θ t − θ ⋆ ) ≤ R t \lVert V_{\theta_t}-V_{\theta^\star}\rVert_{d_\pi}^2=(\theta_t-\theta^\star)^\mathsf{T}C(\theta_t-\theta^\star)\le R_t ∥ V θ t − V θ ⋆ ∥ d π 2 = ( θ t − θ ⋆ ) T C ( θ t − θ ⋆ ) ≤ R t . ∎
Background on stochastic variational inference and proofs of §4.3.1
Throughout this subsection, N d \mathcal{N}_d N d denotes the set of nondegenerate Gaussian distributions on R d \mathbb{R}^d R d , and, for q = N ( m , Σ ) ∈ N d q = N(m,\Sigma) \in\mathcal{N}_d q = N ( m , Σ ) ∈ N d , E q \mathbb{E}_q E q denotes expectation under X ∼ q X \sim q X ∼ q . Recall that π ∝ e − F \pi\propto e^{-F} π ∝ e − F with F ∈ C 2 F \in C^2 F ∈ C 2 and μ I ⪯ ∇ 2 F ⪯ I \mu I \preceq\nabla^2 F \preceq I μ I ⪯ ∇ 2 F ⪯ I , and that W 2 W_2 W 2 denotes the 2-Wasserstein distance,
W 2 2 ( q , q ′ ) : = inf γ ∈ Γ ( q , q ′ ) ∫ ∥ x − y ∥ 2 d γ ( x , y ) , W_2^2(q,q') := \inf_{\gamma\in\Gamma(q,q')} \int\lVert x-y\rVert^2 \,\mathrm{d}\gamma(x,y), W 2 2 ( q , q ′ ) := γ ∈ Γ ( q , q ′ ) inf ∫ ∥ x − y ∥ 2 d γ ( x , y ) ,
where Γ ( q , q ′ ) \Gamma(q,q') Γ ( q , q ′ ) is the set of couplings of q q q and q ′ q' q ′ . A measurable map T : R d → R d T:\mathbb{R}^d \to\mathbb{R}^d T : R d → R d is called an optimal transport map from q q q to q ′ q' q ′ if T # q = q ′ T_{\#}q = q' T # q = q ′ and W 2 2 ( q , q ′ ) = ∫ ∥ x − T ( x ) ∥ 2 d q ( x ) W_2^2(q,q') = \int\lVert x-T(x)\rVert^2 \,\mathrm{d}q(x) W 2 2 ( q , q ′ ) = ∫ ∥ x − T ( x ) ∥ 2 d q ( x ) .
Optimal transport between Gaussians. Between Gaussians, the optimal transport map is affine and available in closed form.
Lemma 13.1 ([39 , 143 , 12 ] ). Let q = N ( m , Σ ) q = N(m,\Sigma) q = N ( m , Σ ) and q ′ = N ( m ′ , Σ ′ ) q' = N(m',\Sigma') q ′ = N ( m ′ , Σ ′ ) belong to N d \mathcal{N}_d N d , and put
T Σ → Σ ′ : = Σ − 1 / 2 ( Σ 1 / 2 Σ ′ Σ 1 / 2 ) 1 / 2 Σ − 1 / 2 . T_{\Sigma\to\Sigma'} := \Sigma^{-1/2}\left(\Sigma^{1/2}\Sigma'\Sigma^{1/2}\right)^{1/2}\Sigma^{-1/2}. T Σ → Σ ′ := Σ − 1/2 ( Σ 1/2 Σ ′ Σ 1/2 ) 1/2 Σ − 1/2 . Then T Σ → Σ ′ T_{\Sigma\to\Sigma'} T Σ → Σ ′ is symmetric positive definite, the affine map T ( x ) : = m ′ + T Σ → Σ ′ ( x − m ) T(x) := m' + T_{\Sigma\to\Sigma'}(x-m) T ( x ) := m ′ + T Σ → Σ ′ ( x − m ) is the optimal transport map from q q q to q ′ q' q ′ , and
W 2 2 ( q , q ′ ) = ∫ ∥ x − T ( x ) ∥ 2 d q ( x ) = ∥ m − m ′ ∥ 2 + Tr [ Σ + Σ ′ − 2 ( Σ 1 / 2 Σ ′ Σ 1 / 2 ) 1 / 2 ] . W_2^2(q,q') = \int\lVert x-T(x)\rVert^2 \,\mathrm{d}q(x) = \lVert m-m'\rVert^2 + \operatorname{Tr}\left[\Sigma+ \Sigma' - 2\left(\Sigma^{1/2}\Sigma'\Sigma^{1/2}\right)^{1/2}\right]. W 2 2 ( q , q ′ ) = ∫ ∥ x − T ( x ) ∥ 2 d q ( x ) = ∥ m − m ′ ∥ 2 + Tr [ Σ + Σ ′ − 2 ( Σ 1/2 Σ ′ Σ 1/2 ) 1/2 ] .
In the notation of § 4.3.1 , T Σ = T Σ → Σ ⋆ T_\Sigma= T_{\Sigma\to\Sigma^\star} T Σ = T Σ → Σ ⋆ , and (29) is the last display of Lemma 13.1 with q ′ = q ⋆ q' = q^\star q ′ = q ⋆ .
Wasserstein and Bures - Wasserstein gradients. Following Otto [ [110 ] , the space of probability measures with finite second moments, equipped with W 2 W_2 W 2 , can be viewed as a formal Riemannian manifold: the tangent space at q q q is a subspace of the vector fields in L 2 ( q ) L^2(q) L 2 ( q ) , with inner product ⟨ h 1 , h 2 ⟩ q : = ∫ ⟨ h 1 ( x ) , h 2 ( x ) ⟩ d q ( x ) \langle h_1,h_2\rangle_q := \int\langle h_1(x),h_2(x)\rangle\,\mathrm{d}q(x) ⟨ h 1 , h 2 ⟩ q := ∫ ⟨ h 1 ( x ) , h 2 ( x )⟩ d q ( x ) . In this geometry, the gradient of q ↦ KL ( q ∥ π ) q \mapsto\operatorname{KL}(q \mathbin\Vert\pi) q ↦ KL ( q ∥ π ) at q q q is the vector field ∇ log ( q / π ) = ∇ log q + ∇ F \nabla\log(q/\pi) = \nabla\log q + \nabla F ∇ log ( q / π ) = ∇ log q + ∇ F , and the associated gradient flow is the Fokker–Planck equation of the Langevin diffusion targeting π \pi π [64 , 3 ] . Gaussian variational inference restricts this flow to N d \mathcal{N}_d N d . Since the optimal transport maps between Gaussians are affine (Lemma 13.1), the tangent space of N d \mathcal{N}_d N d at q = N ( m , Σ ) q = N(m,\Sigma) q = N ( m , Σ ) consists of the affine vector fields x ↦ b + A ( x − m ) x \mapsto b + A(x-m) x ↦ b + A ( x − m ) with b ∈ R d b \in\mathbb{R}^d b ∈ R d and A A A symmetric. The induced geometry on N d \mathcal{N}_d N d is the Bures - Wasserstein geometry [143 , 12 ] . The Bures - Wasserstein gradient of KL ( ⋅ ∥ π ) \operatorname{KL}(\cdot\mathbin\Vert\pi) KL ( ⋅ ∥ π ) at q q q is the L 2 ( q ) L^2(q) L 2 ( q ) -orthogonal projection of ∇ log ( q / π ) \nabla\log(q/\pi) ∇ log ( q / π ) onto this subspace [82 §3] , and it admits the following explicit form.
Definition 13.2 (Bures - Wasserstein gradient of the KL divergence). For q = N ( m , Σ ) ∈ N d q = N(m,\Sigma) \in\mathcal{N}_d q = N ( m , Σ ) ∈ N d , define the affine vector field
f q ( x ) : = E q [ ∇ F ] + ( E q [ ∇ 2 F ] − Σ − 1 ) ( x − m ) , x ∈ R d . f_q(x) := \mathbb{E}_q[\nabla F] + \left(\mathbb{E}_q[\nabla^2 F] - \Sigma^{-1}\right)(x-m), \quad x \in\mathbb{R}^d. f q ( x ) := E q [ ∇ F ] + ( E q [ ∇ 2 F ] − Σ − 1 ) ( x − m ) , x ∈ R d .
The standing Hessian bound gives ∥ ∇ F ( x ) ∥ ≤ ∥ ∇ F ( 0 ) ∥ + ∥ x ∥ \lVert\nabla F(x)\rVert\le\lVert\nabla F(0)\rVert+ \lVert x\rVert ∥ ∇ F ( x )∥ ≤ ∥ ∇ F ( 0 )∥ + ∥ x ∥ , ensuring that all vector fields in the following identity belong to L 2 ( q ) L^2(q) L 2 ( q ) .
Lemma 13.3 (Lambert et al. [82 ] , Appendix C.1, equations (36)-(37)). Let q = N ( m , Σ ) ∈ N d q = N(m,\Sigma) \in\mathcal{N}_d q = N ( m , Σ ) ∈ N d , and let h ( x ) : = b + A ( x − m ) h(x) := b + A(x-m) h ( x ) := b + A ( x − m ) for some b ∈ R d b \in\mathbb{R}^d b ∈ R d and A = A T ∈ R d × d A = A^\mathsf{T} \in\mathbb{R}^{d \times d} A = A T ∈ R d × d . Then
∫ ⟨ ∇ log ( q / π ) ( x ) , h ( x ) ⟩ d q ( x ) = ∫ ⟨ f q ( x ) , h ( x ) ⟩ d q ( x ) , \int\langle\nabla\log(q/\pi)(x),h(x)\rangle\,\mathrm{d}q(x) = \int\langle f_q(x),h(x)\rangle\,\mathrm{d}q(x), ∫ ⟨ ∇ log ( q / π ) ( x ) , h ( x )⟩ d q ( x ) = ∫ ⟨ f q ( x ) , h ( x )⟩ d q ( x ) , where f q f_q f q is given in Definition 13.2.
Subsequently we will also use the strong log-concavity of π \pi π , which makes the KL divergence strongly convex along Wasserstein geodesics.
Lemma 13.4 (Ambrosio et al., [3 ] , Chapters 9–10 and Lambert et al., [82 ] , §3). Suppose F ∈ C 2 F \in C^2 F ∈ C 2 and ∇ 2 F ⪰ μ I \nabla^2 F \succeq\mu I ∇ 2 F ⪰ μ I . Let q , q ′ ∈ N d q,q' \in\mathcal{N}_d q , q ′ ∈ N d , and let T T T be the optimal transport map from q q q to q ′ q' q ′ . Then
KL ( q ′ ∥ π ) ≥ KL ( q ∥ π ) + ∫ ⟨ ∇ log ( q / π ) ( x ) , T ( x ) − x ⟩ d q ( x ) + μ 2 W 2 2 ( q , q ′ ) . \operatorname{KL}(q'\Vert\pi) \ge\operatorname{KL}(q\Vert\pi) + \int\langle\nabla\log(q/\pi)(x),T(x)-x\rangle\,dq(x) + \frac{\mu}{2}W_2^2(q,q'). KL ( q ′ ∥ π ) ≥ KL ( q ∥ π ) + ∫ ⟨ ∇ log ( q / π ) ( x ) , T ( x ) − x ⟩ d q ( x ) + 2 μ W 2 2 ( q , q ′ ) .
Lemma 13.5 (Opper and Archambeau, [108 ] ; Lambert et al., [82 ] , §3.3). Suppose F ∈ C 2 F \in C^2 F ∈ C 2 and μ I ⪯ ∇ 2 F ⪯ I \mu I \preceq\nabla^2 F \preceq I μ I ⪯ ∇ 2 F ⪯ I , and let q ⋆ = N ( m ⋆ , Σ ⋆ ) q^\star= N(m^\star,\Sigma^\star) q ⋆ = N ( m ⋆ , Σ ⋆ ) minimize KL ( ⋅ ∥ π ) \operatorname{KL}(\cdot\Vert\pi) KL ( ⋅ ∥ π ) over N d \mathcal{N}_d N d . Then E q ⋆ [ ∇ F ] = 0 \mathbb{E}_{q^\star}[\nabla F]=0 E q ⋆ [ ∇ F ] = 0 and ( Σ ⋆ ) − 1 = E q ⋆ [ ∇ 2 F ] (\Sigma^\star)^{-1}=\mathbb{E}_{q^\star}[\nabla^2 F] ( Σ ⋆ ) − 1 = E q ⋆ [ ∇ 2 F ] . Consequently, f q ⋆ ≡ 0 f_{q^\star}\equiv0 f q ⋆ ≡ 0 and I ⪯ Σ ⋆ ⪯ μ − 1 I I\preceq\Sigma^\star\preceq\mu^{-1}I I ⪯ Σ ⋆ ⪯ μ − 1 I .
Finally, we recall the contraction property of the clipping operator.
Lemma 13.6 (Lambert et al., [82 ] , Lemma E.3). Let τ > 0 \tau>0 τ > 0 , Σ ⋆ ⪯ τ I \Sigma^\star\preceq\tau I Σ ⋆ ⪯ τ I , m , m ⋆ ∈ R d m,m^\star\in\mathbb{R}^d m , m ⋆ ∈ R d and Σ ⪰ 0 \Sigma\succeq0 Σ ⪰ 0 . Then
W 2 2 ( N ( m , clip τ ( Σ ) ) , N ( m ⋆ , Σ ⋆ ) ) ≤ W 2 2 ( N ( m , Σ ) , N ( m ⋆ , Σ ⋆ ) ) . W_2^2\bigl(N(m,\operatorname{clip}_{\tau}(\Sigma)),N(m^\star,\Sigma^\star)\bigr)\le W_2^2\bigl(N(m,\Sigma),N(m^\star,\Sigma^\star)\bigr). W 2 2 ( N ( m , clip τ ( Σ )) , N ( m ⋆ , Σ ⋆ ) ) ≤ W 2 2 ( N ( m , Σ ) , N ( m ⋆ , Σ ⋆ ) ) .
Proof of Proposition 6. Fix t ≥ 1 t\ge1 t ≥ 1 , and define T q t − 1 ( x ) : = m ⋆ + T Σ t − 1 ( x − m t − 1 ) T_{q_{t-1}}(x):=m^\star+T_{\Sigma_{t-1}}(x-m_{t-1}) T q t − 1 ( x ) := m ⋆ + T Σ t − 1 ( x − m t − 1 ) and
M t : = I − η t ( J t − Σ t − 1 − 1 ) , f ^ t ( x ) : = g t + ( J t − Σ t − 1 − 1 ) ( x − m t − 1 ) , x ∈ R d . M_t:=I-\eta_t(J_t-\Sigma_{t-1}^{-1}),\qquad\hat{f}_t(x):=g_t+(J_t-\Sigma_{t-1}^{-1})(x-m_{t-1}),\quad x\in\mathbb{R}^d. M t := I − η t ( J t − Σ t − 1 − 1 ) , f ^ t ( x ) := g t + ( J t − Σ t − 1 − 1 ) ( x − m t − 1 ) , x ∈ R d .
Throughout the proof, integrals are taken with respect to a dummy variable x ∼ q t − 1 x\sim q_{t-1} x ∼ q t − 1 , with ( g t , J t ) (g_t,J_t) ( g t , J t ) held fixed.
Note that it trivially holds that Σ t ≻ 0 \Sigma_t\succ0 Σ t ≻ 0 . Next, we compare q t q_t q t with q ⋆ q^\star q ⋆ through a coupling. Let Φ t ( x ) : = x − η t f ^ t ( x ) = m t − 1 − η t g t + M t ( x − m t − 1 ) \Phi_t(x):=x-\eta_t\hat{f}_t(x)=m_{t-1}-\eta_tg_t+M_t(x-m_{t-1}) Φ t ( x ) := x − η t f ^ t ( x ) = m t − 1 − η t g t + M t ( x − m t − 1 ) . If X ∼ q t − 1 X\sim q_{t-1} X ∼ q t − 1 , then Φ t ( X ) \Phi_t(X) Φ t ( X ) is Gaussian with mean m t − 1 − η t g t = m t m_{t-1}-\eta_tg_t=m_t m t − 1 − η t g t = m t and covariance M t Σ t − 1 M t = Σ t ∘ M_t\Sigma_{t-1}M_t=\Sigma_t^\circ M t Σ t − 1 M t = Σ t ∘ , so that the unclipped update q t ∘ : = N ( m t , Σ t ∘ ) q_t^\circ:=N(m_t,\Sigma_t^\circ) q t ∘ := N ( m t , Σ t ∘ ) satisfies q t ∘ = ( Φ t ) # q t − 1 q_t^\circ=(\Phi_t)_\#q_{t-1} q t ∘ = ( Φ t ) # q t − 1 , and q t = N ( m t , clip 1 / μ ( Σ t ∘ ) ) q_t=N(m_t,\operatorname{clip}_{1/\mu}(\Sigma_t^\circ)) q t = N ( m t , clip 1/ μ ( Σ t ∘ )) . Since Σ ⋆ ⪯ μ − 1 I \Sigma^\star\preceq\mu^{-1}I Σ ⋆ ⪯ μ − 1 I by Lemma 13.5, Lemma 13.6 with τ = 1 / μ \tau=1/\mu τ = 1/ μ gives Z t ≤ W 2 2 ( q t ∘ , q ⋆ ) Z_t\le W_2^2(q_t^\circ,q^\star) Z t ≤ W 2 2 ( q t ∘ , q ⋆ ) . Moreover, ( T q t − 1 ) # q t − 1 = q ⋆ (T_{q_{t-1}})_\#q_{t-1}=q^\star ( T q t − 1 ) # q t − 1 = q ⋆ by Lemma 13.1, so that, for X ∼ q t − 1 X\sim q_{t-1} X ∼ q t − 1 , the law of ( Φ t ( X ) , T q t − 1 ( X ) ) (\Phi_t(X),T_{q_{t-1}}(X)) ( Φ t ( X ) , T q t − 1 ( X )) is a coupling of q t ∘ q_t^\circ q t ∘ and q ⋆ q^\star q ⋆ . Therefore,
Z t ≤ W 2 2 ( q t ∘ , q ⋆ ) ≤ ∫ ∥ x − T q t − 1 ( x ) − η t f ^ t ( x ) ∥ 2 d q t − 1 ( x ) = Z t − 1 − 2 η t ∫ ⟨ f ^ t ( x ) , x − T q t − 1 ( x ) ⟩ d q t − 1 ( x ) \begin{aligned}
Z_t\le W_2^2(q_t^\circ,q^\star)\le\int\left\|x-T_{q_{t-1}}(x)-\eta_t\hat{f}_t(x)\right\|^2dq_{t-1}(x) \\
&=Z_{t-1}-2\eta_t\int\left\langle\hat{f}_t(x),x-T_{q_{t-1}}(x)\right\rangle dq_{t-1}(x)
\end{aligned} Z t ≤ W 2 2 ( q t ∘ , q ⋆ ) ≤ ∫ x − T q t − 1 ( x ) − η t f ^ t ( x ) 2 d q t − 1 ( x ) = Z t − 1 − 2 η t ∫ ⟨ f ^ t ( x ) , x − T q t − 1 ( x ) ⟩ d q t − 1 ( x )
+ η t 2 ∫ ∥ f ^ t ( x ) ∥ 2 d q t − 1 ( x ) , (79) \qquad\qquad+\eta_t^2\int\|\hat{f}_t(x)\|^2dq_{t-1}(x), \tag*{(79)} + η t 2 ∫ ∥ f ^ t ( x ) ∥ 2 d q t − 1 ( x ) , (79)
where we used ∫ ∥ x − T q t − 1 ( x ) ∥ 2 d q t − 1 ( x ) = W 2 2 ( q t − 1 , q ⋆ ) = Z t − 1 \int\|x-T_{q_{t-1}}(x)\|^2dq_{t-1}(x)=W_2^2(q_{t-1},q^\star)=Z_{t-1} ∫ ∥ x − T q t − 1 ( x ) ∥ 2 d q t − 1 ( x ) = W 2 2 ( q t − 1 , q ⋆ ) = Z t − 1 from Lemma 13.1. We treat the second-order and first-order terms seriatim.
Firstly, the second-order term is observable. Indeed, since ∫ ( x − m t − 1 ) d q t − 1 ( x ) = 0 \int(x-m_{t-1})dq_{t-1}(x)=0 ∫ ( x − m t − 1 ) d q t − 1 ( x ) = 0 , ∫ ( x − m t − 1 ) ⊤ B ( x − m t − 1 ) d q t − 1 ( x ) = Tr ( B Σ t − 1 ) \int(x-m_{t-1})^\top B(x-m_{t-1})dq_{t-1}(x)=\operatorname{Tr}(B\Sigma_{t-1}) ∫ ( x − m t − 1 ) ⊤ B ( x − m t − 1 ) d q t − 1 ( x ) = Tr ( B Σ t − 1 ) for any matrix B B B , and J t − Σ t − 1 − 1 J_t-\Sigma_{t-1}^{-1} J t − Σ t − 1 − 1 is symmetric,
∫ ∥ f ^ t ( x ) ∥ 2 d q t − 1 ( x ) = ∥ g t ∥ 2 + Tr [ ( J t − Σ t − 1 − 1 ) Σ t − 1 ( J t − Σ t − 1 − 1 ) ] = ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1 / 2 ∥ 2 . \int\|\hat{f}_t(x)\|^2dq_{t-1}(x)=\|g_t\|^2+\operatorname{Tr}\left[(J_t-\Sigma_{t-1}^{-1})\Sigma_{t-1}(J_t-\Sigma_{t-1}^{-1})\right]=\|g_t\|^2+\|(J_t-\Sigma_{t-1}^{-1})\Sigma_{t-1}^{1/2}\|^2. ∫ ∥ f ^ t ( x ) ∥ 2 d q t − 1 ( x ) = ∥ g t ∥ 2 + Tr [ ( J t − Σ t − 1 − 1 ) Σ t − 1 ( J t − Σ t − 1 − 1 ) ] = ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1/2 ∥ 2 .
For the first-order term, note that X t ∣ J t − 1 ∼ q t − 1 X_t \mid\mathcal{J}_{t-1} \sim q_{t-1} X t ∣ J t − 1 ∼ q t − 1 gives E t − 1 g t = E q t − 1 [ ∇ F ] \mathbb{E}_{t-1}g_t = \mathbb{E}_{q_{t-1}}[\nabla F] E t − 1 g t = E q t − 1 [ ∇ F ] and E t − 1 J t = E q t − 1 [ ∇ 2 F ] \mathbb{E}_{t-1}J_t = \mathbb{E}_{q_{t-1}}[\nabla^2 F] E t − 1 J t = E q t − 1 [ ∇ 2 F ] , so that E t − 1 f ^ t ( x ) = ∫ f q t − 1 ( x ) \mathbb{E}_{t-1}\hat{f}_t(x) = \int f_{q_{t-1}}(x) E t − 1 f ^ t ( x ) = ∫ f q t − 1 ( x ) for every x x x , with f q t − 1 f_{q_{t-1}} f q t − 1 as in Definition 13.2. We accordingly write
f ^ t = f q t − 1 + ( f ^ t − f q t − 1 ) , \hat{f}_t = f_{q_{t-1}} + (\hat{f}_t - f_{q_{t-1}}), f ^ t = f q t − 1 + ( f ^ t − f q t − 1 ) ,
and treat the drift and the fluctuation separately. For the drift, since x ↦ T q t − 1 ( x ) − x x \mapsto T_{q_{t-1}}(x)-x x ↦ T q t − 1 ( x ) − x is affine, Lemmas 13.3 and 13.4, applied with ( q , q ′ ) = ( q t − 1 , q ⋆ ) (q,q')=(q_{t-1},q^\star) ( q , q ′ ) = ( q t − 1 , q ⋆ ) , give
∫ ⟨ f q t − 1 ( x ) , x − T q t − 1 ( x ) ⟩ d q t − 1 ( x ) = − ∫ ⟨ ∇ log ( q t − 1 / π ) ( x ) , T q t − 1 ( x ) − x ⟩ d q t − 1 ( x ) ≥ KL ( q t − 1 ∥ π ) − KL ( q ⋆ ∥ π ) + μ 2 Z t − 1 . \begin{aligned}
\int\langle f_{q_{t-1}}(x),x-T_{q_{t-1}}(x)\rangle dq_{t-1}(x)
&= -\int\langle\nabla\log(q_{t-1}/\pi)(x),T_{q_{t-1}}(x)-x\rangle dq_{t-1}(x)\\
&\ge\operatorname{KL}(q_{t-1}\Vert\pi)-\operatorname{KL}(q^\star\Vert\pi)+\frac{\mu}{2}Z_{t-1}.
\end{aligned} ∫ ⟨ f q t − 1 ( x ) , x − T q t − 1 ( x )⟩ d q t − 1 ( x ) = − ∫ ⟨ ∇ log ( q t − 1 / π ) ( x ) , T q t − 1 ( x ) − x ⟩ d q t − 1 ( x ) ≥ KL ( q t − 1 ∥ π ) − KL ( q ⋆ ∥ π ) + 2 μ Z t − 1 .
To control the difference of the KL divergences, let T ⋆ T^\star T ⋆ be the optimal transport map from q ⋆ q^\star q ⋆ to q t − 1 q_{t-1} q t − 1 . By Lemma 13.1, x ↦ T ⋆ ( x ) − x x\mapsto T^\star(x)-x x ↦ T ⋆ ( x ) − x is also affine with symmetric linear part. Lemmas 13.4 and 13.3, applied with ( q , q ′ ) = ( q ⋆ , q t − 1 ) (q,q')=(q^\star,q_{t-1}) ( q , q ′ ) = ( q ⋆ , q t − 1 ) , together with f q ⋆ = 0 f_{q^\star}=0 f q ⋆ = 0 from Lemma 13.5, give
KL ( q t − 1 ∥ π ) − KL ( q ⋆ ∥ π ) ≥ ∫ ⟨ f q ⋆ ( x ) , T ⋆ ( x ) − x ⟩ d q ⋆ ( x ) + μ 2 W 2 2 ( q ⋆ , q t − 1 ) = μ 2 Z t − 1 . \operatorname{KL}(q_{t-1}\Vert\pi)-\operatorname{KL}(q^\star\Vert\pi)
\ge\int\langle f_{q^\star}(x),T^\star(x)-x\rangle dq^\star(x)+\frac{\mu}{2}W_2^2(q^\star,q_{t-1})=\frac{\mu}{2}Z_{t-1}. KL ( q t − 1 ∥ π ) − KL ( q ⋆ ∥ π ) ≥ ∫ ⟨ f q ⋆ ( x ) , T ⋆ ( x ) − x ⟩ d q ⋆ ( x ) + 2 μ W 2 2 ( q ⋆ , q t − 1 ) = 2 μ Z t − 1 .
Combining the two displays, ∫ ⟨ f q t − 1 ( x ) , x − T q t − 1 ( x ) ⟩ d q t − 1 ( x ) ≥ μ Z t − 1 \int\langle f_{q_{t-1}}(x),x-T_{q_{t-1}}(x)\rangle dq_{t-1}(x)\ge\mu Z_{t-1} ∫ ⟨ f q t − 1 ( x ) , x − T q t − 1 ( x )⟩ d q t − 1 ( x ) ≥ μ Z t − 1 .
For the fluctuation, write ξ t = ( ξ t g : ξ t J ) \xi_t=(\xi_t^g:\xi_t^J) ξ t = ( ξ t g : ξ t J ) with ξ t g = E t − 1 g t − g t \xi_t^g=\mathbb{E}_{t-1}g_t-g_t ξ t g = E t − 1 g t − g t and ξ t J = E t − 1 J t − J t \xi_t^J=\mathbb{E}_{t-1}J_t-J_t ξ t J = E t − 1 J t − J t . Then f ^ t ( x ) − f q t − 1 ( x ) = − [ ξ t g + ξ t J ( x − m t − 1 ) ] \hat{f}_t(x)-f_{q_{t-1}}(x)=-[\xi_t^g+\xi_t^J(x-m_{t-1})] f ^ t ( x ) − f q t − 1 ( x ) = − [ ξ t g + ξ t J ( x − m t − 1 )] and x − T q t − 1 ( x ) = ( m t − 1 − m ⋆ ) + ( I − T Σ t − 1 ) ( x − m t − 1 ) x-T_{q_{t-1}}(x)=(m_{t-1}-m^\star)+(I-T\Sigma_{t-1})(x-m_{t-1}) x − T q t − 1 ( x ) = ( m t − 1 − m ⋆ ) + ( I − T Σ t − 1 ) ( x − m t − 1 ) . Integrating against q t − 1 q_{t-1} q t − 1 , it follows that
− 2 η t ∫ ⟨ f ^ t ( x ) − f q t − 1 ( x ) , x − T q t − 1 ( x ) ⟩ d q t − 1 ( x ) = 2 η t [ ⟨ ξ t g , m t − 1 − m ⋆ ⟩ + Tr ( ( ξ t J ) T ( I − T Σ t − 1 ) Σ t − 1 ) ] = 2 η t [ ⟨ ξ t g , m t − 1 − m ⋆ ⟩ + ⟨ ξ t J , sym ( ( I − T Σ t − 1 ) Σ t − 1 ) ⟩ ] = ⟨ ν t , ξ t ⟩ . \begin{aligned}
-2\eta_t\int\langle\hat{f}_t(x)-f_{q_{t-1}}(x),x-T_{q_{t-1}}(x)\rangle dq_{t-1}(x)
&=2\eta_t\left[\langle\xi_t^g,m_{t-1}-m^\star\rangle+\operatorname{Tr}\left((\xi_t^J)^\mathsf{T}(I-T\Sigma_{t-1})\Sigma_{t-1}\right)\right]\\
&=2\eta_t\left[\langle\xi_t^g,m_{t-1}-m^\star\rangle+\left\langle\xi_t^J,\operatorname{sym}\left((I-T\Sigma_{t-1})\Sigma_{t-1}\right)\right\rangle\right]\\
&=\langle\nu_t,\xi_t\rangle.
\end{aligned} − 2 η t ∫ ⟨ f ^ t ( x ) − f q t − 1 ( x ) , x − T q t − 1 ( x )⟩ d q t − 1 ( x ) = 2 η t [ ⟨ ξ t g , m t − 1 − m ⋆ ⟩ + Tr ( ( ξ t J ) T ( I − T Σ t − 1 ) Σ t − 1 ) ] = 2 η t [ ⟨ ξ t g , m t − 1 − m ⋆ ⟩ + ⟨ ξ t J , sym ( ( I − T Σ t − 1 ) Σ t − 1 ) ⟩ ] = ⟨ ν t , ξ t ⟩ .
where ( a ) (a) ( a ) holds because ξ t J \xi_t^J ξ t J is symmetric, and ( b ) (b) ( b ) uses § 4.3.1 . Finally, substituting the three terms into (79) yields
Z t ≤ ( 1 − 2 μ η t ) Z t − 1 + η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1 / 2 ∥ 2 ] + ⟨ ν t , ξ t ⟩ , Z_t\le(1-2\mu\eta_t)Z_{t-1}+\eta_t^2\left[\|g_t\|^2+\|(J_t-\Sigma_{t-1}^{-1})\Sigma_{t-1}^{1/2}\|^2\right]+\langle\nu_t,\xi_t\rangle, Z t ≤ ( 1 − 2 μ η t ) Z t − 1 + η t 2 [ ∥ g t ∥ 2 + ∥ ( J t − Σ t − 1 − 1 ) Σ t − 1 1/2 ∥ 2 ] + ⟨ ν t , ξ t ⟩ ,
which completes the proof.
Proof of Theorem 4.2 . We first verify Z 0 ≤ R 0 Z_0\le R_0 Z 0 ≤ R 0 . By strong monotonicity of ∇ F \nabla F ∇ F , μ ∥ m 0 − m ⋆ ∥ ≤ ∥ ∇ F ( m 0 ) ∥ + ∥ ∇ F ( m ⋆ ) ∥ \mu\|m_0-m^\star\|\le\|\nabla F(m_0)\|+\|\nabla F(m^\star)\| μ ∥ m 0 − m ⋆ ∥ ≤ ∥∇ F ( m 0 ) ∥ + ∥∇ F ( m ⋆ ) ∥ , and, since E q ⋆ ∇ F = 0 \mathbb{E}_{q^\star}\nabla F=0 E q ⋆ ∇ F = 0 and ∇ F \nabla F ∇ F is 1-Lipschitz, ∥ ∇ F ( m ⋆ ) ∥ ≤ E q ⋆ ∥ X − m ⋆ ∥ ≤ ( Tr ( Σ ⋆ ) ) 1 / 2 ≤ d / μ \|\nabla F(m^\star)\|\le\mathbb{E}_{q^\star}\|X-m^\star\|\le(\operatorname{Tr}(\Sigma^\star))^{1/2}\le\sqrt{d/\mu} ∥∇ F ( m ⋆ ) ∥ ≤ E q ⋆ ∥ X − m ⋆ ∥ ≤ ( Tr ( Σ ⋆ ) ) 1/2 ≤ d / μ ; the trace term in (29) is at most Tr ( Σ 0 ) + Tr ( Σ ⋆ ) ≤ Tr ( Σ 0 ) + d / μ \operatorname{Tr}(\Sigma_0)+\operatorname{Tr}(\Sigma^\star)\le\operatorname{Tr}(\Sigma_0)+d/\mu Tr ( Σ 0 ) + Tr ( Σ ⋆ ) ≤ Tr ( Σ 0 ) + d / μ . The claim follows from Proposition 6 , Theorem 2.3 and Lemma 2.1 .
Proof of Proposition 7 . Let ( X , X ⋆ ) (X,X^\star) ( X , X ⋆ ) be an optimal coupling of ( q t , q ⋆ ) (q_t,q^\star) ( q t , q ⋆ ) . Then ∣ ∫ f d q t − ∫ f d q ⋆ ∣ ≤ L f E ∥ X − X ⋆ ∥ ≤ L f W 2 ( q t , q ⋆ ) ≤ L f R t \left|\int f\,dq_t-\int f\,dq^\star\right|\le L_f\mathbb{E}\|X-X^\star\|\le L_fW_2(q_t,q^\star)\le L_f\sqrt{R_t} ∫ f d q t − ∫ f d q ⋆ ≤ L f E ∥ X − X ⋆ ∥ ≤ L f W 2 ( q t , q ⋆ ) ≤ L f R t , simultaneously for all f f f and t t t . For the quantiles, ( w T X , w T X ⋆ ) (w^\mathsf{T}X,w^\mathsf{T}X^\star) ( w T X , w T X ⋆ ) couples N ( w T m t , σ t 2 ) N(w^\mathsf{T}m_t,\sigma_t^2) N ( w T m t , σ t 2 ) and N ( w T m ⋆ , σ ⋆ 2 ) N(w^\mathsf{T}m^\star,\sigma_\star^2) N ( w T m ⋆ , σ ⋆ 2 ) , with σ t 2 : = w T Σ t w \sigma_t^2:=w^\mathsf{T}\Sigma_tw σ t 2 := w T Σ t w and σ ⋆ 2 : = w T Σ ⋆ w \sigma_\star^2:=w^\mathsf{T}\Sigma^\star w σ ⋆ 2 := w T Σ ⋆ w , so that, by (29) with d = 1 d=1 d = 1 ,
[ w T ( m t − m ⋆ ) ] 2 + ( σ t − σ ⋆ ) 2 = W 2 2 ( N ( w T m t , σ t 2 ) , N ( w T m ⋆ , σ ⋆ 2 ) ) ≤ ∥ w ∥ 2 R t . \left[w^\mathsf{T}(m_t-m^\star)\right]^2+(\sigma_t-\sigma_\star)^2=W_2^2\left(N(w^\mathsf{T}m_t,\sigma_t^2),N(w^\mathsf{T}m^\star,\sigma_\star^2)\right)\le\|w\|^2R_t. [ w T ( m t − m ⋆ ) ] 2 + ( σ t − σ ⋆ ) 2 = W 2 2 ( N ( w T m t , σ t 2 ) , N ( w T m ⋆ , σ ⋆ 2 ) ) ≤ ∥ w ∥ 2 R t .
The difference of p p p -quantiles is w ⊤ ( m t − m ⋆ ) + z p ( σ t − σ ⋆ ) w^\top(m_t-m^\star)+z_p(\sigma_t-\sigma^\star) w ⊤ ( m t − m ⋆ ) + z p ( σ t − σ ⋆ ) , and the Cauchy–Schwarz inequality proves the claim. Finally, let u ˉ ∈ arg min u L ( u , x ) d q ⋆ ( x ) \bar{u}\in\operatorname*{arg\,min}_{u}\mathcal{L}(u,x)\,dq^\star(x) u ˉ ∈ arg min u L ( u , x ) d q ⋆ ( x ) . Applying the first assertion to L ( u t , ⋅ ) \mathcal{L}(u_t,\cdot) L ( u t , ⋅ ) and L ( u ˉ , ⋅ ) \mathcal{L}(\bar{u},\cdot) L ( u ˉ , ⋅ ) , and using the minimality of u t u_t u t ,
∫ L ( u t , x ) d q ⋆ ≤ ∫ L ( u t , x ) d q t + L L R t ≤ ∫ L ( u ˉ , x ) d q t + L L R t ≤ ∫ L ( u ˉ , x ) d q ⋆ + 2 L L R t . \begin{aligned}
\int\mathcal{L}(u_t,x)\,dq^\star&\le\int\mathcal{L}(u_t,x)\,dq_t+L_{\mathcal{L}}\sqrt{R_t}\\
&\le\int\mathcal{L}(\bar{u},x)\,dq_t+L_{\mathcal{L}}\sqrt{R_t}\\
&\le\int\mathcal{L}(\bar{u},x)\,dq^\star+2L_{\mathcal{L}}\sqrt{R_t}.
\end{aligned} ∫ L ( u t , x ) d q ⋆ ≤ ∫ L ( u t , x ) d q t + L L R t ≤ ∫ L ( u ˉ , x ) d q t + L L R t ≤ ∫ L ( u ˉ , x ) d q ⋆ + 2 L L R t .
Helper results and proofs
Lemma 14.1. If ∥ ∇ F ( x ) ∥ 2 ≤ K ∘ ( F ( x ) − F ⋆ ) \|\nabla F(x)\|^2\le K_{\circ}(F(x)-F^\star) ∥∇ F ( x ) ∥ 2 ≤ K ∘ ( F ( x ) − F ⋆ ) for all x ∈ R d x\in\mathbb{R}^d x ∈ R d , then F ( x ) − F ⋆ ≤ K ∘ ∥ x − x ⋆ ∥ 2 / 4 F(x)-F^\star\le K_{\circ}\|x-x^\star\|^2/4 F ( x ) − F ⋆ ≤ K ∘ ∥ x − x ⋆ ∥ 2 /4 and ∥ ∇ F ( x ) ∥ ≤ K ∘ ∥ x − x ⋆ ∥ / 2 \|\nabla F(x)\|\le K_{\circ}\|x-x^\star\|/2 ∥∇ F ( x ) ∥ ≤ K ∘ ∥ x − x ⋆ ∥/2 for all x ∈ R d x\in\mathbb{R}^d x ∈ R d .
Proof. For ϵ > 0 \epsilon>0 ϵ > 0 , ∥ ∇ ( F − F ⋆ + ϵ ) 1 / 2 ∥ = ∥ ∇ F ∥ / [ 2 ( F − F ⋆ + ϵ ) 1 / 2 ] ≤ K ∘ / 2 \|\nabla(F-F^\star+\epsilon)^{1/2}\|=\|\nabla F\|/[2(F-F^\star+\epsilon)^{1/2}]\le\sqrt{K_{\circ}}/2 ∥∇ ( F − F ⋆ + ϵ ) 1/2 ∥ = ∥∇ F ∥/ [ 2 ( F − F ⋆ + ϵ ) 1/2 ] ≤ K ∘ /2 leads to ( F ( x ) − F ⋆ + ϵ ) 1 / 2 ≤ ϵ + K ∘ ∥ x − x ⋆ ∥ / 2 (F(x)-F^\star+\epsilon)^{1/2}\le\sqrt{\epsilon}+\sqrt{K_{\circ}}\|x-x^\star\|/2 ( F ( x ) − F ⋆ + ϵ ) 1/2 ≤ ϵ + K ∘ ∥ x − x ⋆ ∥/2 . Letting ϵ ↓ 0 \epsilon\downarrow0 ϵ ↓ 0 yields the first claim, and ∥ ∇ F ( x ) ∥ ≤ [ K ∘ ( F ( x ) − F ⋆ ) ] 1 / 2 \|\nabla F(x)\|\le[K_{\circ}(F(x)-F^\star)]^{1/2} ∥∇ F ( x ) ∥ ≤ [ K ∘ ( F ( x ) − F ⋆ ) ] 1/2 yields the second.
Lemma 14.2. Recall m ρ , c m_{\rho,c} m ρ , c , a ( v , b ) a(v,b) a ( v , b ) and L ( v , b ) \mathcal{L}(v,b) L ( v , b ) from (32) , (33) , and (34) . Then, it follows
sup { x ∈ R : m ρ , c ( x ; v , b ) < 1 / α } ≤ u α , ρ , c ( v , b ) : = c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b ) ) , \sup\{x\in\mathbb{R}:m_{\rho,c}(x;v,b)<1/\alpha\}\le u_{\alpha,\rho,c}(v,b):=c(b-1)+cbD_a(v,b)(\mathcal{L}(v,b)), sup { x ∈ R : m ρ , c ( x ; v , b ) < 1/ α } ≤ u α , ρ , c ( v , b ) := c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b )) , where D a ( L ) D_a(L) D a ( L ) is as in (35) .
Proof. Let h ( z ; v , b ) : = z − a ( v , b ) log ( 1 + z / a ( v , b ) ) h(z;v,b):=z-a(v,b)\log(1+z/a(v,b)) h ( z ; v , b ) := z − a ( v , b ) log ( 1 + z / a ( v , b )) for z ≥ 0 z\ge0 z ≥ 0 . By Proposition 2.7 of Pinelis [ [113 ] , ν ( a , y ) ≤ y a e − y / ( y − a + 1 ) \nu(a,y)\le y^ae^{-y}/(y-a+1) ν ( a , y ) ≤ y a e − y / ( y − a + 1 ) for a ≥ 1 a\ge1 a ≥ 1 and y > a − 1 y>a-1 y > a − 1 , where ν ( a , y ) : = ∫ y ∞ t a − 1 e − t d t \nu(a,y):=\int_y^\infty t^{a-1}e^{-t}\,dt ν ( a , y ) := ∫ y ∞ t a − 1 e − t d t . Consequently, (32) gives, for every z ≥ 0 z\ge0 z ≥ 0 ,
m ρ , c ( c ( b − 1 ) + c b z ; v , b ) = κ b e a ( v , b ) + z ( a ( v , b ) + z ) a ( v , b ) ( Γ ( a ( v , b ) ) − ν ( a ( v , b ) , a ( v , b ) + z ) ) ≥ κ b [ e h ( z ; v , b ) q − 1 1 + z ] . m_{\rho,c}(c(b-1)+cbz;v,b)=\frac{\kappa}{b}\frac{e^{a(v,b)+z}}{(a(v,b)+z)^{a(v,b)}}\left(\Gamma(a(v,b))-\nu(a(v,b),a(v,b)+z)\right)
\ge\frac{\kappa}{b}\left[\frac{e^{h(z;v,b)}}{q}-\frac{1}{1+z}\right]. m ρ , c ( c ( b − 1 ) + c b z ; v , b ) = b κ ( a ( v , b ) + z ) a ( v , b ) e a ( v , b ) + z ( Γ ( a ( v , b )) − ν ( a ( v , b ) , a ( v , b ) + z ) ) ≥ b κ [ q e h ( z ; v , b ) − 1 + z 1 ] .
Now we control h ( z ; v , b ) h(z;v,b) h ( z ; v , b ) explicitly. In view of the monotonicity of h h h over z ≥ 0 z\ge0 z ≥ 0 , applying Lemma 2 of Chatzigeorgiou [ [22 ] yields
h ( 2 a ( v , b ) ℓ + 2 3 ℓ ; v , b ) ≤ ℓ ≤ h ( 2 a ( v , b ) ℓ + ℓ ; v , b ) . (80) h\left(\sqrt{2a(v,b)\ell}+\frac{2}{3}\ell;v,b\right)\le\ell\le h\left(\sqrt{2a(v,b)\ell}+\ell;v,b\right). \tag*{(80)} h ( 2 a ( v , b ) ℓ + 3 2 ℓ ; v , b ) ≤ ℓ ≤ h ( 2 a ( v , b ) ℓ + ℓ ; v , b ) . (80)
Write a : = a ( v , b ) a:=a(v,b) a := a ( v , b ) , L : = L ( v , b ) L:=\mathcal{L}(v,b) L := L ( v , b ) , and d : = 2 a L + 2 3 L d:=\sqrt{2aL}+\frac{2}{3}L d := 2 a L + 3 2 L . For L > 0 L>0 L > 0 , let d 1 : = d + [ L − h ( d ; v , b ) ] / h ′ ( d ; v , b ) d_1:=d+[L-h(d;v,b)]/h'(d;v,b) d 1 := d + [ L − h ( d ; v , b )] / h ′ ( d ; v , b ) be the Newton update for h ( z ; v , b ) = L h(z;v,b)=L h ( z ; v , b ) = L . Since h ′ ( d ; v , b ) = d / ( a + d ) > 0 h'(d;v,b)=d/(a+d)>0 h ′ ( d ; v , b ) = d / ( a + d ) > 0 , (35) reads D a ( L ) = min { 2 a L + L , d 1 } D_a(L)=\min\{\sqrt{2aL}+L,d_1\} D a ( L ) = min { 2 a L + L , d 1 } . By (80) , both entries are at least d d d , and the first has h h h -value at least L L L . For the second, convexity gives h ( d 1 ; v , b ) ≥ h ( d ; v , b ) + h ′ ( d ; v , b ) ( d 1 − d ) = L h(d_1;v,b)\ge h(d;v,b)+h'(d;v,b)(d_1-d)=L h ( d 1 ; v , b ) ≥ h ( d ; v , b ) + h ′ ( d ; v , b ) ( d 1 − d ) = L . Consequently, using L ( v , b ) ≥ L ∘ ( v , b ) \mathcal{L}(v,b)\ge\mathcal{L}_{\circ}(v,b) L ( v , b ) ≥ L ∘ ( v , b ) ,
D a ( L ) ≥ d ≥ 2 a L ∘ ( v , b ) + 2 3 L ∘ ( v , b ) , h ( D a ( L ) ; v , b ) ≥ L . D_a(L)\ge d\ge\sqrt{2a\mathcal{L}_{\circ}(v,b)}+\frac{2}{3}\mathcal{L}_{\circ}(v,b),\qquad h(D_a(L);v,b)\ge L. D a ( L ) ≥ d ≥ 2 a L ∘ ( v , b ) + 3 2 L ∘ ( v , b ) , h ( D a ( L ) ; v , b ) ≥ L .
Both conclusions also hold when L = 0 L=0 L = 0 , since then D a ( 0 ) = d = L o ( v , b ) = 0 D_a(0)=d=\mathcal{L}_o(v,b)=0 D a ( 0 ) = d = L o ( v , b ) = 0 . Combining the above, we obtain
m ρ , c ( c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b ) ) ; v , b ) ≥ κ b [ exp ( L ( v , b ) ) q ( v , b ) − 1 1 + D a ( v , b ) ( L ( v , b ) ) ] ≥ 1 α + κ b [ 1 1 + 2 a L o ( v , b ) + 2 3 L o ( v , b ) − 1 1 + D a ( v , b ) ( L ( v , b ) ) ] ≥ 1 α . \begin{aligned}
m_{\rho,c}(c(b-1)+cbD_{a}(v,b)(\mathcal{L}(v,b));v,b)
&\ge\frac{\kappa}{b}\left[\frac{\exp(\mathcal{L}(v,b))}{q(v,b)}-\frac{1}{1+D_{a}(v,b)(\mathcal{L}(v,b))}\right]\\
&\ge\frac{1}{\alpha}+\frac{\kappa}{b}\left[\frac{1}{1+\sqrt{2a\mathcal{L}_o(v,b)}+\frac{2}{3}\mathcal{L}_o(v,b)}-\frac{1}{1+D_{a}(v,b)(\mathcal{L}(v,b))}\right]\\
&\ge\frac{1}{\alpha}.
\end{aligned} m ρ , c ( c ( b − 1 ) + c b D a ( v , b ) ( L ( v , b )) ; v , b ) ≥ b κ [ q ( v , b ) exp ( L ( v , b )) − 1 + D a ( v , b ) ( L ( v , b )) 1 ] ≥ α 1 + b κ [ 1 + 2 a L o ( v , b ) + 3 2 L o ( v , b ) 1 − 1 + D a ( v , b ) ( L ( v , b )) 1 ] ≥ α 1 .
The conclusion follows since (32) is strictly increasing in x x x .
Lemma 14.3. Let η t = η o log − p ( t + 2 ) \eta_t=\eta_o\log^{-p}(t+2) η t = η o log − p ( t + 2 ) , t ≥ 0 t\ge0 t ≥ 0 , with η o > 0 \eta_o>0 η o > 0 and p > 1 p>1 p > 1 . Recall H p H_p H p and C o C_o C o from (59) , and c t c_t c t from Lemma 10.5 . Then it follows that
∑ t ≥ 1 η t t ≤ H p , and ∑ t ≥ 1 c t η t t ≤ C o . \sum_{t\ge1}\frac{\eta_t}{t}\le H_p,\qquad\text{and}\qquad\sum_{t\ge1}\frac{c_t\eta_t}{t}\le C_o. t ≥ 1 ∑ t η t ≤ H p , and t ≥ 1 ∑ t c t η t ≤ C o .
Proof. For the first claim, η 1 = η o ( log 3 ) − p \eta_1=\eta_o(\log3)^{-p} η 1 = η o ( log 3 ) − p , and, for t ≥ 2 t\ge2 t ≥ 2 , 1 / t ≤ 3 / ( t + 2 ) 1/t\le3/(t+2) 1/ t ≤ 3/ ( t + 2 ) gives η t / t ≤ 3 η o f ( t ) \eta_t/t\le3\eta_of(t) η t / t ≤ 3 η o f ( t ) with the decreasing function f ( x ) = [ ( x + 2 ) log p ( x + 2 ) ] − 1 f(x)=[(x+2)\log^p(x+2)]^{-1} f ( x ) = [( x + 2 ) log p ( x + 2 ) ] − 1 . The integral test then yields ∑ t ≥ 2 f ( t ) ≤ ∫ 2 ∞ f ( x ) d x = ( log 3 ) 1 − p / ( p − 1 ) \sum_{t\ge2}f(t)\le\int_2^\infty f(x)\,dx=(\log3)^{1-p}/(p-1) ∑ t ≥ 2 f ( t ) ≤ ∫ 2 ∞ f ( x ) d x = ( log 3 ) 1 − p / ( p − 1 ) , and adding the contribution of t = 1 t=1 t = 1 gives H p H_p H p . For the second claim, η t ≤ η o \eta_t\le\eta_o η t ≤ η o and η t ≤ η t − 1 \eta_t\le\eta_{t-1} η t ≤ η t − 1 for t ≥ 1 t\ge1 t ≥ 1 give η t / η t − 1 ≤ η o \eta_t/\sqrt{\eta_{t-1}}\le\sqrt{\eta_o} η t / η t − 1 ≤ η o , so that
c t η t t ≤ L 2 η o t ( t + 1 ) + L η o 2 ( t + 1 ) t ≤ L 2 η o t ( t + 1 ) + L η o 2 t − 3 / 2 ; \frac{c_t\eta_t}{t}\le\frac{L^2\eta_o}{t(t+1)}+\frac{L\sqrt{\eta_o}}{2(t+1)\sqrt{t}}\le\frac{L^2\eta_o}{t(t+1)}+\frac{L\sqrt{\eta_o}}{2}t^{-3/2}; t c t η t ≤ t ( t + 1 ) L 2 η o + 2 ( t + 1 ) t L η o ≤ t ( t + 1 ) L 2 η o + 2 L η o t − 3/2 ;
summing over t t t , and using ∑ t ≥ 1 [ t ( t + 1 ) ] − 1 = 1 \sum_{t\ge1}[t(t+1)]^{-1}=1 ∑ t ≥ 1 [ t ( t + 1 ) ] − 1 = 1 along with ∑ t ≥ 1 t − 3 / 2 = ζ ( 3 / 2 ) \sum_{t\ge1}t^{-3/2}=\zeta(3/2) ∑ t ≥ 1 t − 3/2 = ζ ( 3/2 ) , proves the claim.