Variance Reduction with Delayed Feedback for Non-Convex Optimization
Wei Jiang, Dingzhi Yu, Zechao Li
Abstract
We study variance reduction for non-convex optimization when gradient evaluations return with a delay. The server can update the parameter while earlier evaluations remain unfinished. We first analyze an ordered recursive momentum estimator for stochastic optimization. Under average smoothness and bounded variance, its oracle complexity is O(1+σ2ϵ−2+LΔf(1+σ/ϵ+τ)ϵ−2), where the target is an expected squared gradient norm of at most ϵ2 and τ bounds the feedback delay. We next study finite sums with n components and obtain O(n+LΔf(n+min{τ,n−1})ϵ−2) evaluations. An asynchronous snapshot variant continues updating during full-gradient computations under an explicit bound on their completion time. For the stochastic method, we further replace a maximum-delay bound by a bound on the weighted amount of missing feedback.
1 Introduction
This paper studies variance reduction for stochastic non-convex optimization with delayed feedback. Recursive estimators such as SARAH, SPIDER, and STORM employ the same sample at two nearby points to reduce the noise in a gradient difference [Nguyen et al., 2017; Fang et al., 2018; Cutkosky and Orabona, 2019; Wang et al., 2019]. With delayed evaluations, however, the correction associated with one update may be unavailable when the next update is performed. Several corrections can be outstanding, and their arrival order can depend on the sampled data.
A direct approach fixes the query points and waits for a complete batch before updating the parameter. Waiting preserves the usual variance-reduction oracle complexity, since it does not consume gradient evaluations. We investigate methods that continue to update the parameter while corrections are outstanding. Each correction is evaluated at two consecutive server iterates, and the server incorporates it using its generation index when it returns. We count all issued evaluations, including unfinished tasks.
We first consider stochastic optimization under bounded variance and average smoothness. After one initialization batch, the method issues one two-point task per update without further batch-completion waits. To obtain E∥∇f(xR)∥2≤ϵ2, its oracle complexity is
O(1+ϵ2σ2+ϵ2LΔf(1+ϵσ+τ)).
Here τ bounds the correction delay in server updates, σ2 bounds the oracle variance, L is the average-smoothness constant, and Δf is the initial objective gap. We next consider a finite sum of n components. Using exact gradient refreshes every n updates and one sampled difference per update, we obtain
O(n+ϵ2LΔf(n+min{τ,n−1})).
Thus the delay enters additively in both bounds. In the finite-sum result, a refresh also limits how long an unfinished correction can affect the estimator.
We further study two extensions of these results. For stochastic optimization, we control the outstanding corrections through their exponentially decaying weights in Section 6. The resulting condition allows arbitrarily late responses and repeated permanent losses, provided that these losses are sufficiently separated relative to the momentum parameter. For finite sums, Section 5 removes the refresh waits after initialization by computing exact gradients at fixed snapshot points while the server continues to update. Under an additional bound D on the completion delay of each exact snapshot, this method has complexity
O(n+ϵ2LΔf(n+D+τ)).
The service required for these exact snapshots is stated separately from the delay assumption for sampled corrections.
2 Problem Setting
We consider the non-convex optimization problem
x∈Rdminf(x).(1)
The objective is in the form of f(x)=Eξ[f(x;ξ)] (expectation) or f(x)=n−1∑i=1nfi(x) (finite-sum).
Assumption 1 (Lower boundedness). The objective satisfies f∗:=infxf(x)>−∞. The initial point x0 satisfies f(x0)−f∗≤Δf.
Our goal is to return a point xR such that
E[∥∇f(xR)∥2]≤ϵ2.(2)
The output index R is chosen uniformly from the index set {0,…,T−1}. In particular, equation (2) also implies E[∥∇f(xR)∥]≤ϵ. All guarantees below are in expectation.
2.1 Delayed two-point queries
At update t, the server has an estimator vt and computes
xt+1=xt−ηvt.(3)
It then requests a correction evaluated at the fixed pair (xt,xt+1). A fresh sample is drawn after this pair has been chosen. The two gradient evaluations in the task use the same sample, and we treat such a task as a single response. Let At denote the first server round in which the response to task t is available. Our initial assumption is
t+1≤At≤t+1+τ,t≥0,(4)
where τ is a nonnegative integer. Thus τ=0 means that the correction is available for the next update. Tasks can arrive out of order.
At the beginning of a round, the server incorporates all responses available for that round. It performs (3) even if no new response has arrived, and then issues the next task. We do not assume that each received message triggers exactly one update. Initialization uses a complete preselected batch at a fixed point. The basic finite-sum method also waits for a complete full gradient at each refresh. Section 5 gives a variant that computes these later full gradients while the server continues updating. Each snapshot still evaluates all n components at its fixed point.
2.2 The descent inequality
Lemma 1. Suppose that f is L-smooth and (3) is used with η>0. Then
We first consider f(x)=Eξ[f(x;ξ)]. An exact full gradient is generally unavailable. We use a STORM estimator, whose momentum term gradually reduces the effect of old estimation errors.
Assumption 2 (Stochastic oracle). For all x,y∈Rd, the stochastic gradient satisfies
Here σ≥0, L>0, and the same sample ξ is used at both points in (9).
These are the usual bounded-variance and average-smoothness conditions for recursive variance reduction. In particular, we do not assume a uniform bound on ∥∇f(x;ξ)∥. Jensen's inequality applied to (9) implies that f is L-smooth.
3.1 The proposed method
We first draw B fresh samples and wait for all of their evaluations at x0 to compute
v0=B1k=1∑B∇f(x0;ξ0,k).(10)
After the update from xt to xt+1, task t draws a fresh sample ξt and returns
where 0<α<1. The server uses the available corrections with weights determined by their generation times:
vt=(1−α)tv0+j=0∑t−11{Aj≤t}(1−α)t−j−1δj.(12)
Thus a correction does not receive the weight of a newly generated sample merely because it arrives late. It receives the weight it would have had if it had been available from the next round. Formula (12) can be implemented by
vt=(1−α)vt−1+j:Aj=t∑(1−α)t−j−1δj,t≥1.(13)
If no response arrives in a round, the estimator is multiplied by 1−α, the parameter is updated, and another task is issued. Multiple responses can be incorporated in one round.
3.2 Convergence guarantee
Theorem 1. Under Assumptions 1 and 2, suppose that (4) holds. For any ϵ>0, choose
Thus a longer run can start with a smaller complete batch. This reduces the number of evaluations required before the first update while preserving the complexity in (18).
3.3 Estimation error
We introduce an auxiliary estimator that contains all generated corrections:
u0=v0,ut+1=(1−α)ut+δt.(19)
The sequence ut is used only for analysis. Its corrections are evaluated at the actual iterates of Algorithm 1 and it does not generate a second sequence of parameters. Define
We now sum this inequality over t. The initial error has total weight
t=0∑T−1(1−α)2t=α(2−α)1−(1−α)2T≤min{T,α1}.
The first bound follows because each summand is at most one. The second follows by extending the geometric sum to infinity and using 2−α≥1. For each subsequent innovation j, its total weight is at most
Since the output index is uniform and independent,
E∥∇f(xR)∥2=t=0∑T−1T1E∥∇f(xt)∥2≤2119ϵ2≤ϵ2.
For the cost, initialization issues B single-point evaluations. Each of the T updates issues one two-point task, including the last update. The ceiling bounds give
This count includes every issued evaluation, even if its response arrives after the algorithm returns, and proves (18).
4 Variance Reduction for Finite-Sum Optimization
We next consider the finite-sum objective
f(x)=n1i=1∑nfi(x).(31)
Here an exact full gradient can be computed with n component-gradient evaluations. We use periodic exact refreshes to control the accumulated estimation error, while continuing to incorporate delayed corrections between refreshes.
Assumption 3 (Finite-sum average smoothness). For all x,y∈Rd, and L>0
n1i=1∑n∥∇fi(x)−∇fi(y)∥2≤L2∥x−y∥2,
By Jensen’s inequality, Assumption 3 implies that f is L-smooth. Individual L-smoothness of the components is sufficient, but is not required. We do not assume bounded component gradients or a uniform bound on their variance.
4.1 The proposed method
Let q be the refresh period. At rounds 0,q,2q,…, we fix the current parameter, compute its exact full gradient, and discard corrections from earlier epochs. Between refreshes, task t draws b independent uniform indices it,1,…,it,b and returns
δt=b1k=1∑b(∇fit,k(xt+1)−∇fit,k(xt)).(32)
For a given round t, let rt=q⌊t/q⌋ be the first round of its epoch. The implemented estimator is
vt=∇f(xrt)+j=rt∑t−11{Aj≤t}δj.(33)
If all corrections have returned, their population counterparts telescope from xrt to xt. With delayed feedback, we retain the available corrections and continue updating. Arrival order does not affect the sum.
Algorithm 2 Delayed recursive variance reduction for finite sums
Require: Initial point x0, update number T, period q, batch size b, learning rate η
1: for t=0,…,T−1 do
2: if t is a multiple of q then
3: Fix xt, compute ∇f(xt), and set vt=∇f(xt).
4: Discard all corrections from preceding epochs.
5: else
6: vt=vt−1+∑j≥rt:Aj=tδj.
7: end if
8: Update xt+1=xt−ηvt.
9: Draw b fresh uniform indices and issue task (32).
10: end for
11: Choose R uniformly from {0,…,T−1} and return xR.
4.2 Convergence guarantee
Theorem 2. Under Assumptions 1 and 3, suppose that (4) holds. For any positive integers q, b, T, Algorithm 2 with
η=2L(1+q/b+min{τ,q−1})1(34)
guarantees
E∥∇f(xR)∥2=T1t=0∑T−1E∥∇f(xt)∥2≤ηT2Δf.(35)
The number of issued component-gradient evaluations is at most
n⌈qT⌉+2bT.(36)
Corollary 1. Set q=n, b=1, choose η as in (34), and let
T=max{1,⌈ηϵ22Δf⌉}.
Then Algorithm 2 satisfies (2) with at most n+3T evaluations. Its oracle complexity is
O(n+ϵ2LΔf(n+min{τ,n−1})).(37)
Remark 3. For τ=O(n), the order in (37) agrees with the usual finite-sum variance-reduction complexity. The delay contribution is at most n−1, because a correction ceases to affect the estimator at the next exact refresh.
Corollary 2. For an integer 1≤b≤n, set q=⌈n/b⌉, choose η as in (34), and let T=max{1,⌈2Δf/(ηϵ2)⌉}. The number of updates and the number Q of issued evaluations satisfy
Thus any choice b≤n/(1+τ) preserves the order O(n+LΔfn/ϵ2) of the oracle work while reducing the bound on the number of updates. Turning this tradeoff into an elapsed-time guarantee requires a service model for the batches and refreshes.
4.3 Proof of Theorem 2
We first control the estimation error. For round t, denote the unfinished corrections from its current epoch by
Mt={j:rt≤j<t,Aj>t}.(40)
Under (4), every index in Mt lies between max{rt,t−τ} and t−1. There are at most q−1 preceding rounds in the current epoch, so ∣Mt∣≤min{τ,q−1}.
Proof. For task j, define the centered batch error by
ζj=δj−(∇f(xj+1)−∇f(xj)).
Both query points are fixed before the indices of this task are drawn. For any fixed x, y, uniform sampling gives
n1i=1∑n(∇fi(y)−∇fi(x))=∇f(y)−∇f(x).
Thus every centered sampled difference has zero mean when averaging its new index. Cross terms between distinct sampled differences also have zero mean, because the indices in the batch are independent. Expanding the square of the batch average therefore gives
The full sequence of population differences telescopes:
∇f(xt)=∇f(xrt)+j=rt∑t−1(∇f(xj+1)−∇f(xj)).
To subtract this identity from (33), first write the sum of returned corrections as
rt≤j<tAj≤t∑δj=j=rt∑t−1δj−j∈Mt∑δj.
It follows that
vt−∇f(xt)=j=rt∑t−1ζj−j∈Mt∑δj.(44)
The first sum contains all generated sampling errors in the epoch, rather than just the returned errors. This allows us to control it using fresh sampling even when completion times depend on the samples.
For i<j, the vector ζi and the point pair of task j have already been determined when the new indices of task j are drawn. Averaging these new indices first gives E⟨ζi,ζj⟩=0. This argument does not require the two point pairs to be independent. Since rt is a deterministic epoch boundary, expansion of the squared norm gives
To sum this inequality over t, fix an index j. It appears only after it is generated and before the next refresh, namely,
j+1≤t≤q(⌊j/q⌋+1)−1.
There are q(⌊j/q⌋+1)−j−1≤q−1 such rounds. In particular, the correction issued in the last round of an epoch appears zero times. Reversing the order of summation makes this count explicit:
The last sum has deterministic endpoints, so taking expectations does not retain a sample-dependent arrival indicator. For a fixed j, membership in this interval requires both j<t≤j+τ and that t remain in the epoch of j. Consequently,
Hence the bracket in (49) is at least 1−21−21=0. Dropping its nonpositive contribution and dividing by T gives
T1t=0∑T−1E∥∇f(xt)∥2≤ηT2Δf.
Since R is sampled uniformly after the run, its output satisfies
E∥∇f(xR)∥2=t=0∑T−1T1E∥∇f(xt)∥2,
which proves (35).
The full gradients are requested at 0,q,…,q⌊(T−1)/q⌋. Their number is 1+⌊(T−1)/q⌋=⌈T/q⌉, and each uses n evaluations. Each of the T rounds also issues one task containing b gradient pairs. Counting both gradients in every pair, including pairs discarded after a refresh or still unfinished at termination, gives 2bT evaluations. Adding the two costs proves (36).
Proof of Corollary 1. The definition of T ensures T≥2Δf/(ηϵ2), so Theorem 2 gives the required accuracy. It also ensures
T≤1+ηϵ22Δf=1+ϵ24LΔf(1+n+min{τ,n−1}).
This bound includes Δf=0, in which case T=1. For the oracle count,
Finally, b≤n≤n gives n+3b≤4n, proving (39). The target accuracy follows from the same choice T≥2Δf/(ηϵ2) and Theorem 2.
Algorithm 3 Delayed recursive variance reduction with overlapping snapshots
Require: Initial point x0, update number T, period q, batch size b, full-gradient deadline D≥1, learning rate η
1: Compute ∇f(x0) and wait for all n component evaluations.
2: for t=0,…,T−1 do
3: Receive all feedback available at the beginning of round t.
4: if t≥q and t is a multiple of q then
5: Request ∇f(xt) at the fixed point xt, for use at round t+D.
6: end if
7: Set rt by (50) and form vt by (51).
8: Update xt+1=xt−ηvt.
9: Draw b fresh uniform indices and issue task (32).
10: end for
11: Choose R uniformly from {0,…,T−1} and return xR.
5 Finite-Sum Updates without Refresh Waits
Algorithm 2 waits for an exact gradient at every refresh. We now allow these gradients to be computed while the server continues updating. The correction tasks remain unchanged. The additional requirement concerns the completion time of an exact full gradient.
Assumption 4. Fix an integer D≥1. At every round r=q,2q,…, the server can request the exact gradient ∇f(xr) at the fixed point xr. All n component evaluations in this request are completed and their average is available before the update at round r+D. The server can continue to issue correction tasks and update the parameter while the request is being processed.
Assumption 4 is separate from (4). The latter bounds the delay of a two-point correction and it does not bound the time needed to complete n component evaluations.
5.1 The proposed method
We call an exact gradient at a fixed earlier point a snapshot. The snapshot requested at round r is used starting at the prescribed round r+D, even if it returns sooner. Consequently, the snapshot used at round t has index
rt=max{0,q⌊qt−D⌋}.(50)
The value rt=0 refers to the completed initialization gradient. Define
vt=∇f(xrt)+rt≤j<tAj≤t∑δj,(51)
where δj is the same batch of component-gradient differences as in (32). The point continues to move while a snapshot is being computed. When that snapshot is used, the returned corrections generated since its point was fixed are retained.
5.2 Convergence guarantee
Theorem 3. Under Assumptions 1, 3, and 4, suppose that correction tasks satisfy (4). For positive integers q,b,T and D≥1, Algorithm 3 with
η=2L(1+(q+D)/b+τ)1(52)
satisfies
E∥∇f(xR)∥2≤ηT2Δf.(53)
The number of issued component-gradient evaluations is at most
n⌈qT⌉+2bT.(54)
Corollary 3. Set q=n, b=1, choose η as in (52), and let T=max{1,⌈2Δf/(ηϵ2)⌉}. Then Algorithm 3 satisfies (2) with oracle complexity
O(n+ϵ2LΔf(n+D+τ)).(55)
The server does not wait for a refresh after initialization. If the service model gives D=O(n+τ2), the order in (55) is O(n+LΔf(n+τ)/ϵ2).
5.3 Proof of Theorem 3
The new ingredient is the time for which a sampling error remains in the estimator. The exact snapshot cancels all corrections preceding its anchor, even though that anchor is older than the current parameter.
The first inequality follows by expanding the squared norm of the average of b centered differences; its b(b−1) cross terms have zero mean. The second is (43), which bounds the uncentered correction. These bounds use only fresh sampling after the point pair is chosen, so they hold for the actual iterates of Algorithm 3 as well.
The population differences telescope from the snapshot point to the current point:
∇f(xt)=∇f(xrt)+j=rt∑t−1(∇f(xj+1)−∇f(xj)).
The returned corrections and missing corrections partition all indices from rt to t - 1. Therefore,
By the definition of ζj, this is the decomposition
vt−∇f(xt)=j=rt∑t−1ζj−j∈Mt∑δj.(58)
For the first sum, the endpoints rt and t−1 are deterministic. If i<j, then ζi and the point pair of task j are determined before the indices of task j are drawn. Averaging those new indices first gives E⟨ζi,ζj⟩=0. Expanding the square and using (57), we obtain
We next count the rounds containing a fixed index j. It enters the sum at round j+1. The first snapshot with anchor strictly larger than j is requested at q(⌊j/q⌋+1) and activated D rounds later. The anchor never decreases, so
rt≤j<t⟺j+1≤t≤q(⌊j/q⌋+1)+D−1.
This also holds for the initial anchor 0: the first replacement is requested at q and activated at q+D. Thus reversal of the two sums gives
The last step only adds nonnegative terms and removes the anchor from the bound. For a fixed j, the remaining interval condition is j+1≤t≤j+τ. Therefore,
Thus the bracket in (62) is at least 1−21−21=0. After dropping its nonpositive contribution and dividing by T, the uniform output rule gives
E∥∇f(xR)∥2=T1t=0∑T−1E∥∇f(xt)∥2≤ηT2Δf.
This proves (53).
There is one full gradient at initialization. The remaining snapshots are requested at positive multiples of q smaller than T. Their total number, including initialization, is 1+⌊(T−1)/q⌋=⌈T/q⌉. Every such request costs n evaluations, whether or not its deadline occurs within the run. There are also T two-point tasks with b indices each, costing 2bT evaluations. This proves (54).
Proof of Corollary 3. The choice T≥2Δf/(ηϵ2) and (53) give the target accuracy. With q=n and b=1, we also have
Here n+D≤n+D follows by squaring both nonnegative sides. Substitution into (54) yields
n⌈nT⌉+2T≤n+3T≤n+3+ϵ212LΔf(1+n+D+τ).
Since n≥1, we have n+3≤4n and 1≤n. These two bounds give (55).
6 The Effect of Outstanding Feedback
The bounds based on maximum delay can be conservative when only a few corrections are missing. We first account for the number of outstanding corrections. For the stochastic method, we then use their total weight in the estimator, which also allows a sequence of permanently missing responses.
The maximum number of outstanding tasks and related concurrency quantities have been used in delayed learning and asynchronous SGD [Joulani et al., 2013; Koloskova et al., 2022]. Our purpose here is to establish what these quantities imply for the two recursive variance-reduction estimators. The algorithms are unchanged.
6.1 A bound for missing corrections
The following inequality is deterministic. Therefore, it can be applied to every realized execution before any expectation is taken.
Lemma 6. For arbitrary vectors δj, sets Mt⊆{0,…,t−1}, and nonnegative weights wt,j,
(i) If ∣Mt∣≤p, 0≤wt,j≤1, and each task belongs to at most τ of the sets Mt, the right-hand side of (63) is at most pτ∑j∥δj∥2.
(ii) For the stochastic weights wt,j=(1−α)t−j−1, suppose that ∑j∈Mtwt,j≤p at every round. Then the bound is (p/α)∑j∥δj∥2, without an upper bound on arrival times.
(iii) For the finite-sum method with wt,j=1, epoch length q, and ∣Mt∣≤p, the bound is p(q−1)∑j∥δj∥2, without an upper bound on arrival times.
Proof. The triangle inequality and scalar Cauchy–Schwarz give
For (iii), let r be the first round of the epoch containing task j. Then r≤j≤r+q−1, and
j∈Mt⟹j+1≤t≤r+q−1.
There are at most r+q−1−j≤q−1 such rounds. Since every weight is one,
t:j∈Mt∑(i∈Mt∑1)≤p(r+q−1−j)≤p(q−1).
Substituting these three coefficient bounds into (63) proves the claims. Every inequality holds for the realized sets and vectors, even when the sets depend on the vectors.
The bounds p and τ used below are fixed upper bounds valid throughout the run, up to events of probability zero.
6.2 Few outstanding tasks under bounded delay
Corollary 4. Suppose that (4) holds and ∣Mt∣≤p at every round. For the finite-sum method, Mt contains only current-epoch corrections. Theorem 1 remains valid after replacing τ by pτ in the choices of η, α, and T, and then choosing B by (16). In Theorem 2, replace the term min{τ,q−1} in the denominator of the learning rate by
min{p,τ,q−1}min{τ,q−1}.
With q=n and b=1 for the finite-sum method, the two complexities become
It follows that E∥∇f(xR)∥2≤2Δf/(ηT). At q=n,b=1, the count is at most n+3T; substituting this learning rate and the prescribed T proves (65).
Under the delay assumption alone, p=τ recovers the original results. For example, suppose that one correction is delayed for τ≥1 rounds and all others return for the next update. Then p=1, and its contribution is controlled by τ. For the finite-sum method, the same comparison applies within an epoch long enough to contain the delayed interval. Related dependence on pτ is known for asynchronous SGD [Koloskova et al., 2022].
6.3 No maximum-delay assumption
We now allow Aj∈{j+1,j+2,…}∪{∞}, where Aj=∞ means that the response never returns. The initialization batch and finite-sum full gradients must still be returned in full. Delay and non-return decisions may depend on already generated samples but not on future samples.
One possible condition is a bound on the number of missing responses:
∣Mt∣≤pforeveryroundt.(66)
For the stochastic estimator, each old correction has a decreasing weight. We can therefore use the weaker condition
j∈Mt∑(1−α)t−j−1≤pforeveryroundt,(67)
where Mt includes every historical response that has not returned. Condition (66) implies (67), but (67) does not bound the number of permanently missing responses.
Theorem 4 (Stochastic optimization with bounded missing weight). Under Assumptions 1 and 2, fix p≥0 and ϵ>0, and choose
Choose B by (16) with these values of α and T. If (67) holds for this choice of α, then Algorithm 1 guarantees
E∥∇f(xR)∥2≤ϵ2.(70)
The method issues at most B+2T evaluations, giving the oracle complexity
O(1+ϵ2σ2+ϵ2LΔf(1+p)(1+ϵσ)).(71)
The order of these choices matters: p is prescribed first, the algorithm then fixes α, and the theorem applies to schedules satisfying (67) for that α. A value estimated from the completed run is not used to set the learning rate.
Proof. Lemma 6(ii) first removes the missing sets from the bound. Taking expectations and applying
The first two bounds also hold when Δf=0 and σ=0, respectively, since the corresponding numerators are zero and T,B≥1. Dropping the nonnegative estimator term in (73) and dividing by T gives
Corollary 5 (A bound on the number of outstanding responses). The conclusions of Theorem 4 hold if (66) holds for all historical missing corrections.
Proof. Since j<t and 0<1−α<1,
j∈Mt∑(1−α)t−j−1≤j∈Mt∑1=∣Mt∣≤p.
Thus (67) holds, and Theorem 4 applies with the same parameters.
Permanently missing responses. As an example beyond the count condition, use p = 2 in Theorem 4 and set
m=⌈αlog2⌉.
Suppose that permanent losses have generation indices at least m rounds apart, and every other response returns for the next update. At round t, write the missing indices in decreasing order as j0>j1>⋯>j∣Mt∣−1. Then
j0≤t−1,jk≤j0−km,t−jk−1≥km.
Since 0<1−α<1, increasing an exponent decreases its weight. Hence
The empty missing set satisfies the bound as well. There is no upper bound on the total number of losses over an indefinitely long execution. Their spacing is accuracy dependent: at p = 2,
α=48(1+σ/ϵ)21,αlog2≤m<αlog2+1.
Thus one loss every m rounds has frequency 1/m=Θ((1+σ/ϵ)−2), which decreases as ϵ decreases when σ>0. Theorem 4 retains the stochastic variance-reduction order for these schedules. Every issued evaluation still counts; a missing response does not by itself mean that its physical computation has been cancelled.
Theorem 5 (Finite sums with bounded outstanding corrections). Under Assumptions 1 and 3, suppose that (66) holds for the current-epoch missing sets of Algorithm 2. No maximum delay is assumed. Choose
η=2L(1+q/b+p(q−1))1.(74)
Then (35) and (36) hold. With q=n, b=1, and T=max{1,⌈2Δf/(ηϵ2)⌉}, the oracle complexity for (2) is
The last inequality uses a2+c2≤(1+a+c)2 for nonnegative a,c. The bracket is therefore nonnegative. Dropping its nonpositive contribution and dividing by T proves
E∥∇f(xR)∥2=T1t=0∑T−1E∥∇f(xt)∥2≤ηT2Δf,
which is (35). Refreshes still occur at rounds 0,q,2q,…<T, and at most T correction tasks are issued. Their total cost is at most n⌈T/q⌉+2bT, proving (36).
For q=n,b=1, each of 1, n, and p(n−1) is at most n(1+p). It follows that
The prescribed T gives 2Δf/(ηT)≤ϵ2, and n≥1 absorbs the constant three into the stated complexity.
Interpretation. For a fixed p, Theorems 4 and 5 retain their respective variance-reduction orders without a maximum age for a correction. The stochastic result bounds the remaining weight of missing responses, whereas the finite-sum result bounds their count within the current epoch. Exponential weights gradually remove the influence of an old stochastic correction; an exact refresh removes the influence of an old finite-sum correction. Both arguments allow sample-dependent missingness. Appendix A gives a sharper dependence on the outstanding count when each arrival time is fixed before drawing its task's sample.
References
Ashok Cutkosky and Francesco Orabona. Momentum-based variance reduction in non-convex SGD. In Advances in Neural Information Processing Systems, 2019.
Cong Fang, Chris Junchi Li, Zhouchen Lin, and Tong Zhang. SPIDER: Near-optimal non-convex optimization via stochastic path-integrated differential estimator. In Advances in Neural Information Processing Systems, 2018.
Pooria Joulani, András György, and Csaba Szepesvári. Online learning under delayed feedback. In Proceedings of the 30th International Conference on Machine Learning, Proceedings of Machine Learning Research, pages 1453–1461, 2013.
Anastasiia Koloskova, Sebastian U. Stich, and Martin Jaggi. Sharper convergence guarantees for asynchronous SGD for distributed and federated learning. In Advances in Neural Information Processing Systems, 2022.
Lam M. Nguyen, Jie Liu, Katya Scheinberg, and Martin Takáč. SARAH: A novel method for machine learning problems using stochastic recursive gradient. In Proceedings of the 34th International Conference on Machine Learning, Proceedings of Machine Learning Research, pages 2613–2621, 2017.
Zhe Wang, Kaiyi Ji, Yi Zhou, Yingbin Liang, and Vahid Tarokh. SpiderBoost and momentum: Faster variance reduction algorithms. In Advances in Neural Information Processing Systems, pages 2403–2413, 2019.
A Arrival Times Fixed Before Sampling
The analysis in the main text allows a task's completion time to depend on its sampled gradient. In this appendix, we impose a stronger timing condition and improve the dependence on the number of outstanding corrections. Algorithm 1 is unchanged.
Assumption 5 (Arrival time chosen before the sample). For each task j, after its point pair has been chosen, the arrival time Aj is fixed before drawing ξj. The arrival time may depend on earlier samples and independent scheduling randomness, and may equal infinity. It is not revised later. The sample ξj has the prescribed oracle distribution after the point pair and Aj have been fixed.
This condition includes a schedule fixed in advance. It also permits later arrival times to depend on earlier samples. No maximum delay is required.
Theorem 6. Under Assumptions 1, 2, and 5, suppose that (66) holds for all historical missing corrections, with a fixed p≥0. Given ϵ>0, choose
It issues at most B+2T evaluations, with complexity
O(1+ϵ2σ2+ϵ2LΔfmax{(1+ϵσ)1+p,1+p}).(79)
For comparison, Corollary 5 contains the factor (1+p)(1+σ/ϵ). Under Assumption 5, the stochastic term grows as 1+p, while the deterministic term grows as 1+p.
A.1 Estimation error
Recall the centered innovation ζj in (24). Separate the received innovations from the missing population corrections by defining
Proof. For each j<t, the initialization error, Aj, and the point pair of task j are fixed before drawing ξj. For i<j, the same holds for Ai and ζi. Averaging the fresh sample ξj first gives
The second inequality drops the indicator and exchanges the two sums; the third uses ∑t=j+1∞(1−α)t−j−1=1/α. Finally, (81) and ∥a−b∥2≤2∥a∥2+2∥b∥2 imply
Why the timing condition is used. Let the stochastic gradient have additive noise Zj∈{−σ,σ}, with equal probabilities. Then ζj=αZj. If Aj=j+1 for Zj=−σ and Aj=j+2 for Zj=σ, we have
Eζj=0,E[1{Aj≤j+1}ζj]=21(−ασ)+21⋅0=−2ασ.
Thus an arrival indicator depending on its own sample need not preserve zero mean. The main-text analysis instead removes these indicators through a deterministic bound on the missing corrections.