Non-asymptotic Error Bounds For Constant Stepsize Stochastic Approximation For Tracking Mobile Agents
Bhumesh Kumar, Vivek Borkar, Akhil Shetty

TL;DR
This paper derives the first non-asymptotic, time-uniform error bounds for constant stepsize stochastic approximation algorithms used in tracking moving targets, highlighting their dependence on problem parameters.
Contribution
It introduces a novel non-asymptotic analysis using Alekseev's formula, providing bounds valid for all time without relying on vanishing stepsize assumptions.
Findings
First non-asymptotic bound for entire time axis
Explicit dependence on problem parameters and dimension
Bound applicable to tracking slowly moving targets
Abstract
This work revisits the constant stepsize stochastic approximation algorithm for tracking a slowly moving target and obtains a bound for the tracking error that is valid for the entire time axis, using the Alekseev non-linear variation of constants formula. It is the first non-asymptptic bound for the entire time axis in the sense that it is not based on the vanishing stepsize limit and associated limit theorems unlike prior works, and captures clearly the dependence on problem parameters and the dimension.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Non-asymptotic Error Bounds For Constant Stepsize Stochastic Approximation For Tracking Mobile Agents
Bhumesh Kumar, Vivek Borkar, Akhil Shetty VB is and BK, AS were with the Department of Electrical Engineering, IIT Bombay, Powai, Mumbai, Maharashtra 400076, India. BK is now with the Department of Electrical and Computer Engineering, University of Wisconsin at Madison, Madison, WI 53706, USA. AS is now with the Department of Electrical Engineering and Computer Science, University of California at Berkeley, Cory Hall, Hearst Avenue, Berkeley, CA 94720, USA. Email: [email protected], [email protected], [email protected]. Work of VB was supported in part by a J. C. Bose Fellowship, CEFIPRA grant No. IFC/DST-Inria-2016-01/448 “Machine Learning for Network Analytics” and a grant for ‘Approximation for high dimensional optimization and control problems’ from the Department of Science and Technology, Government of India.
Abstract
This work revisits the constant stepsize stochastic approximation algorithm for tracking a slowly moving target and obtains a bound for the tracking error that is valid for the entire time axis, using the Alekseev non-linear variation of constants formula. It is the first non-asymptptic bound for the entire time axis in the sense that it is not based on the vanishing stepsize limit and associated limit theorems unlike prior works, and captures clearly the dependence on problem parameters and the dimension.
Keywords: Stochastic Approximation; Constant Stepsize; Non-asymptotic bound; Alekseev’s Formula; Martingale Concentration Inequalities; Perturbation Analysis; Non-stationary Optimization
1 Introduction
1.1 Background
Robbins and Monro proposed in [39] a stochastic iterative scheme
[TABLE]
for finding the zero(s) of a function given its noisy evaluations, with being the measurement noise. By a clever choice of the stepsize sequence , viz., those satisfying
[TABLE]
they were able to show almost sure (a.s.) convergence of the scheme to a zero of under reasonable hypotheses. The scheme has since been a cornerstone of not only statistical computation, but also in a variety of engineering applications ranging from signal processing, adaptive control, to more recently, machine learning. See [15, 8] for some recent pedagogical accounts of stochastic approximation. What makes it so popular is its typically low per iterate memory and computational requirement and ability to ‘average out’ the noise, which makes it ideal for adaptive estimation/learning scenarios. A later viewpoint [17], [34] views (1) as a noisy discretization of the ordinary differential equation (ODE for short)
[TABLE]
with decreasing stepsize and argues that the errors due to discretization and noise are asymptotically negligible under (2), so that it has the same asymptotic behaviour as (3). See [8, 10] for a fuller development of this approach.
The clean theory under (2) notwithstanding, there has also been an interest and necessity to consider constant stepsize . The strong convergence claims under (2) can no longer be expected111barring some very special cases, e.g., when the right hand side of (1) is contractive uniformly w.r.t. the noise variable., e.g., for the simple case of being i.i.d. zero mean, the best one can hope for is convergence to a stationary distribution. What one can still expect is a high probability concentration around the desired target, viz., zero(s) of , if the stepsize is small [30, 31]. This is acceptable and in fact unavoidable in the important application area of tracking a slowly moving target or measuring a slowly exciting signal [23, 4], and other instances of learning in a slowly varying environment. This is because with decreasing stepsize, the algorithmic time scale, dictated by the decreasing stepsize, eventually becomes slower than the timescale on which the target is moving and thereby loses its tracking ability. The alternative of either frequent resets or adaptive loop gain is often not desirable because of the additional logic it requires, particularly when the algorithm is hard-wired [44, 8], and one settles for a judiciously chosen constant stepsize. Such schemes are a part of traditional signal processing and neural network algorithms [19, 18, 21, 41, 28, 35] and often show up in important applications such as quasi-stationary experimentation for meteorology [14], slowly exciting physical wave measurement [13], and more recently in online learning and non-stationary optimization [51, 45]. However, the focus in online learning is cumulative regret bounds instead of all time bounds.
These developments have motivated analysis of constant stepsize schemes [12, 29, 30, 37, 38, 10, 25, 41] in the form of various limit theorems, (non) asymptotic analysis, law of iterated logarithm etc., but a convenient bound valid for all time, a useful metric for tracking applications in a slowly varying environment, seems to be a topic of relatively recent interest [51]. Our objective here is to provide precisely one such bound.
1.2 Comparison with Prior Art
As already mentioned, one of the main motivation of constant stepsize stochastic approximation has been their ability to track slowly moving environments. Not surprisingly, much of the early work has come from signal processing and control, most notably in adaptive filtering, and this continues to be its primary application domain. Some representative works are [4], [20], [22], [23], [24], [41], [51], etc.
Much of this work concerns tracking in specific models and the proposed schemes usually have a very specific structure, e.g., linear. From purely theoretical angle, analyses appear in [12], [25], [30], [37], [38] among others. The emphasis of the latter is towards analyzing convergence properties in the small stepsize limit and the associated functional central limit theorem for fluctuations around the deterministic o.d.e. limit, except in case of [25], which establishes a law of iterated logarithms, and [38], which obtains confidence bounds for a specific choice of adaptive stepsizes and stopping rule. The latter is a non-asymptotic result as the title suggests, but in a different sense than us.
In the context of tracking, the functional central limit theorem characterizing a Gauss-Markov process as a limit in law of suitably scaled fluctuations is also used for suggesting performance metrics for tracking application, see, e.g., [5].
More recently constant stepsize stochastic gradient and its variants have elicited interest in machine learning literature due to the possibility of using them in conjunction with iterate averaging to get better speed than decreasing stepsizes, see, e.g, [3]. The pros and cons of these have been discussed, e.g., in [32]. This motivation, however, is not relevant for tracking because iterate averaging is also a stochastic approximation with decreasing stepsizes ( to be precise) and decreasing stepsizes is simply not an option here because the iterates will eventually become slower than the slowly varying signal and lose their tracking ability.
Another strand of work analyzes tracking in the specific context of tracking the solution of an optimization problem when its parameters drift slowly [45]. Tracking problems have also been studied in the literature as regime switching stochastic approximations when the evolution is modulated by a Markov chain on a time scale equal to or faster than that of the algorithm. This situation has been analysed through mean squared error bounds [47, 46] and is close in spirit to ours.
1.3 Our contributions
Our main result is Theorem 4.1. The highlights of this result are as follows.
Our set-up is applicable to a very general scenario that includes unbounded correlated noise without any explicit evolution model, no explicit strong convexity or linearity assumptions regarding the dynamics being tracked, and so on, rendering it a more general framework than in prior work. 2. 2.
We provide a bound valid for the entire time axis, not only for a finite time interval as in, e.g., ‘sample complexity’ bounds, or purely asymptotic as in, e.g., cumulative regret bounds or asymptotic error bounds. That is, it holds uniformly for all , not only for some or in the limit, which need not reflect the finite time behavior. This is particularly relevant here because we are considering the problem of continuously tracking a time-varying, in particular, non-stationary target. Furthermore, this is achieved under a very general noise model, viz., martingale differences which allow dependence across times, requiring only uncorrelatedness. Their conditional distributions given the past are required to satisfy an exponential moment bound that is satisfied by most standard distributions such as exponential, gaussian, their mixtures, etc., except the heavy tailed ones. 3. 3.
This bound is non-asymptotic, i.e., it is derived for the actual constant stepsize and not from an idealized limiting scenario based on a limit theorem for fluctuations in the limit, as is often the case in prior studies. To the best of our knowledge, ours is the first result to achieve this. Also, our derivation of the bound allows us to keep track of its dependence on problem parameters, dimension, etc. if needed. 4. 4.
We bound the exact error which is given by the Alekseev formula, there is no approximation at this stage. Furthermore, we analyze this error keeping the slow movement of the target being tracked in tact, without treating it as essentially static as, e.g., in [5].
As for potential avenues for improvement, we have the following observations:
It appears unlikely that the bounds that use Lipschitz constants etc., can be improved much, if at all. The moment bounds on martingale differences use state of the art martingale concentration inequalities and could improve if better inequalities become available. It may be noted that we assume exponential tails for the distributions of martingale differences. Stronger inequalities such as McDiarmid’s inequality may be used under stronger hypotheses such as uniformly bounded martingale differences, see, e.g., [6]. On a different note, if we allow heavy tailed noise, one would get weaker claims using the corresponding, naturally weaker, concentration inequalities. Rather limited results are available here, see e.g., [26] and its application to stochastic approximation in [2]. 2. 2.
One potential spot for improvement is in the use of the assumption below, which entails a stability condition for a linearized dynamics which is time-dependent. Such conditions are available only under constraints on the time scale separation between fast dynamics (of the algorithm) and the slow one (of the target). This, as argued later, is unavoidable, because there will be no tracking otherwise. This fact necessitates such a condition or something close to it. The one we have used, due to Solo [42], is the most general available to our knowledge. (Another class of sufficient conditions available is based on existence of Liapunov functions and not explicit like Solo’s.)
1.4 Organization
We begin by describing the problem formulation in the next section. This is followed by the Alekseev formula as a non-linear generalization of the variation of constants formula, and a key exponential stability assumption. A useful set of sufficient conditions for this assumption are recalled. Section 3 details the error analysis characterizing the tracking behaviour, developed through a sequence of lemmas and leading to the main result in section 4. Section 5 concludes with some discussion. An appendix recalls a martingale concentration inequality used in the main text.
1.5 Symbols and Notation
The section number where the notation first appears is given in parentheses.
[TABLE]
2 Preliminaries
2.1 The tracking problem
We consider a constant step size stochastic approximation algorithm given by the -dimensional iteration
[TABLE]
for tracking a slowly varying signal governed by
[TABLE]
with , . Also, the trajectory of (5) sampled at unit222without loss of generality time intervals coincident with the clock of the above iteration, with slight abuse of notation. We assume that remains in a bounded set. The term represents an added bounded component attributed to possible numerical errors (e.g., error in gradient estimation in case of stochastic gradient algorithms [8]). We assume the following:
- •
The smallness condition on ensures a separation of time scale between the two evolutions (4) and (5), in particular (5) has to be ‘sufficiently slow’ in a sense to be made precise later.
- •
is twice continuously differentiable in with the first and second partial derivatives in bounded uniformly in in a compact set, and Lipschitz in . A common example is where corresponding to least mean square criterion for tracking in the above context with , resp. standing for the states of the tracking scheme and the target resp.
- •
is Lipschitz continuous,
- •
C^{*}:=\max\bigg{(}\sup_{n}\mathbb{E}\big{[}\|x_{n}\|^{2}\big{]}^{1/2},\sup_{n}\mathbb{E}\big{[}\|x_{n}\|^{4}\big{]}^{1/4}\bigg{)}<\infty. (See [10] for sufficient conditions for uniform boundedness of second moments. Analogous conditions can be given for fourth moments.)
- •
,
- •
there exists a constant such that
[TABLE]
- •
is a martingale difference sequence w.r.t. the increasing -fields
[TABLE]
and satisfies: there exist continuous functions with being bounded away from [math], such that
[TABLE]
for all for a fixed, sufficiently large (i.e., a sub-exponential tail) with
[TABLE]
In particular, (7), (8) together imply that there exist such that
[TABLE]
Using the Taylor expansion of the exponential function, we get
[TABLE]
As each term in the above summation is positive, we can conclude that for all ,
[TABLE]
We shall be interested in .
These bounds will play an important role in our error analysis. We next state a formula due to Alekseev [1] that captures the difference between the trajectory of a system and its (regular) perturbation, and may be viewed as a ‘non-linear variation of constants’ formula.
2.2 Alekseev’s formula
Consider the ODE
[TABLE]
and its perturbed version,
[TABLE]
where : , with:
- •
is measurable in and continuously differentiable in with bounded derivatives uniformly w.r.t. , and,
- •
is measurable in and Lipschitz in uniformly w.r.t. .
Let and denote respectively the solutions to the above non-linear systems for , satisfying . Then for ,
[TABLE]
where for any is the fundamental matrix of the linearized system
[TABLE]
with , the d-dimensional identity matrix. That is, it is the unique solution to the matrix linear differential equation
[TABLE]
with the aforementioned initial condition at . The equation (12) is the Alekseev nonlinear variation of constants formula [1] (see also Lemma 3, [11]).
The generalization of Alekseev’s nonlinear variation of constants for differing initial conditions [7] is given by
[TABLE]
where the additional additive term captures the contribution due to differing initial conditions. This term will decay exponentially under our assumption below.
2.3 Perturbation analysis
In view of the ODE approach described earlier, we consider the candidate ODE
[TABLE]
where we have treated the component as frozen at a fixed value in view of its slow evolution (recall that ). We assume that this ODE has a globally stable equilibrium where is twice continuously differentiable with bounded first and second derivatives. (Typically, this can be verified by using the implicit function theorem.) In particular,
[TABLE]
Define . Then
[TABLE]
for
[TABLE]
The corresponding Euler scheme would be
[TABLE]
The tracking algorithm (4) can therefore be equivalently written as:
[TABLE]
where,
[TABLE]
Let be the linearly interpolated trajectory of the stochastic approximation iterates such that . That is, for ,
[TABLE]
Then from (18), we get
[TABLE]
For and , define perturbation terms:
[TABLE]
Thus
[TABLE]
Using (20),
[TABLE]
Define
[TABLE]
Consider the coupled systems
[TABLE]
The ODE (26) can be seen as a perturbation of the (24), with the perturbation term being .
Let denote the Jacobian matrix of (and therefore of ) in the first argument, and the Jacobian matrix of . Then the linearization or ‘equation of variation’ of (24) is
[TABLE]
For and let denote the fundamental matrix for the time varying linear system (28), i.e., the solution to the matrix-valued differential equation
[TABLE]
with initial condition . Then by Alekseev’s formula,
[TABLE]
Define
[TABLE]
Then
[TABLE]
Therefore
[TABLE]
Also
[TABLE]
We shall individually bound the above error terms in the next section under the important assumption of exponential stability of the equation of variation (28):
There exists a such that and ,
[TABLE]
This seemingly restrictive assumption requires some discussion, we argue in particular that some such assumption is essential if one is to obtain bounds valid for all time.
To begin, since the idea is to have the parametrized o.d.e. (15), which is a surrogate for the original iteration, track its unique asymptotically stable equilibrium parametrized by as the parameter changes slowly, it is essential that its rate of approach to the equilibrium, dictated by the spectrum of its linearized drift at this equilibrium, should be much faster than the rate of change of the parameter. This already makes it clear that there will be a requirement of minimum time scale separation for tracking to work at all.
A stronger motivation comes from the fact that the tracking error, given exactly by the Alekseev formula, depends on the linearization of the o.d.e. itself around its ideal trajectory , which is a time-varying linear differential equation of the type . It is well known in control theory that this can be unstable even if the matrix is stable for each , see, e.g., Example 8.1, p. 131, [40]. Stability is guaranteed to hold only in the special case of varying slowly with time. The most general result in this direction is that of [42], which we recall below as a sufficient condition for . (There have also been some extensions thereof to nonlinear systems, see, e.g., [36].)
Consider the following time varying linear dynamical system:
[TABLE]
and assume the following for this perturbed system:
There exists such that
[TABLE] 2. 2.
There exists and sufficiently small in the sense made precise in the theorem below, such that
[TABLE]
whenever . 3. 3.
Let be the real part of the eigenvalue of whose real part is the largest in absolute value. Then there exists such that, for any ,
[TABLE] 4. 4.
There exists such that
[TABLE]
Theorem 2.1** (Stability test for deterministic perturbations using eigenvalue based characterization [42]).**
If the previously mentioned assumptions hold, the system is exponentially stable provided we chose small enough so that
[TABLE]
and
[TABLE]
with , where are as defined in ()-() and is small enough so that:
[TABLE]
The correspondence of the foregoing with our framework is given by , .
We note here that there are also some sufficient conditions for stability of time-varying linear systems in terms of Liapunov functions, e.g., [49], [50], but they appear not so easy to verify.
3 Error bounds
Here we obtain the error bounds through a sequence of lemmas.
3.1 Bound on
Lemma 1**.**
For defined in (34),
[TABLE]
Proof.
We have
[TABLE]
where (41) and (42) follow from (6) and respectively. Therefore, for all , we have
[TABLE]
∎
3.2 Bound on
Lemma 2**.**
For defined in (35),
[TABLE]
where .
Proof.
We have,
[TABLE]
Using ,
[TABLE]
Hence
[TABLE]
∎
3.3 Bound on
The next lemma is a variant of Lemma 5.5 of [43].
Lemma 3**.**
For a suitable constant ,
[TABLE]
Proof.
[TABLE]
where . Also,
[TABLE]
Therefore
[TABLE]
∎
Lemma 4**.**
For as defined in (31),
[TABLE]
Proof.
We have
[TABLE]
where . Equation (53) follows from Lemma 3. Denote the terms , , and by , , and . Note that is . Then
[TABLE]
Now,
[TABLE]
where . Therefore
[TABLE]
Hence ∎
3.4 Bound on
Lemma 5**.**
For and defined in (32) and (33)
[TABLE]
Proof.
[TABLE]
Therefore
[TABLE]
From (28), we know that and are fundamental matrices for the linear systems given by: for ,
[TABLE]
So and satisfy the following matrix valued differential equations
[TABLE]
For each column indexed by , the differential equations (59) and (60) can be equivalently written as
[TABLE]
Treating (62) as a perturbation of (61) and applying Alexseev’s formula (12)333in fact, the classical variation of constants formula for linear systems which it generalizes to each column of , we have
[TABLE]
Therefore
[TABLE]
where (64) follows from and the Lipschitz property of while (65) follows from (14) and . We split the analysis into two terms as follows:
[TABLE]
where (67) follows from (5) and . Further define , and as follows
[TABLE]
Then
[TABLE]
We now bound each of the terms in the previous expression. Using a calculation similar to the one used for (56), we have
[TABLE]
where .
Using (68), (69) and (70), we have
[TABLE]
∎
3.5 Bound on
Lemma 6**.**
For defined in (33)
[TABLE]
Proof.
It is easy to verify that satisfies the condition for the martingale concentration inequality provided in Theorem 5.1 in Appendix, with
[TABLE]
for . Thus,
[TABLE]
Using the martingale concentration inequality provided in 5.1 in Appendix, we have
[TABLE]
where . Analysing the terms separately, we have
[TABLE]
and
[TABLE]
where (74) follows from the fact that for . From (73) and (75), we have
[TABLE]
∎
4 Main result
Combining the foregoing bounds leads to our main result stated as follows.
Theorem 4.1**.**
The mean square deviation of tracked iterates from a non-stationary trajectory satisfies:
[TABLE]
Proof.
Using (38), () and lemmas 1-6, we get
[TABLE]
The claim follows. ∎
Remark: 1. The notation is used above to isolate the dependence on the stepsize . The exact constants involved are available in the relevant lemmas, but are suppressed in order to improve clarity.
-
The linear complexity of the error bound in and is natural to expect, these being contributions from bounded additive error component and rate of variation of the tracking signal, respectively. The term is due to the martingale noise and discretization. The last term accounts for the effect of initial condition.
-
By setting in (4.1), we can recover as a special case a bound valid for all time for a stationary target. Then , a constant, and also a constant, viz., an equilibrium for the system .
5 Conclusion and Future Work
We analyzed a constant step-size stochastic approximation algorithm for tracking a slowly varying dynamical system and obtained a non-asymptotic bound valid for all time, with dependence on step-size and dimension explicitly given. The latter in particular provides insight into step-size selection in high dimensional regime.
A natural extension would be to the problem of tracking a stochastic dynamics. Indeed, a suitable extension of Alekseev’s formula is available for this purpose [48], which is much more complex.
**Appendix: A martingale concentration inequality
**
We state here the martingale concentration inequality we have used, from [43], which in turn is a slight adaptation of the results of [33].
Theorem 5.1**.**
Let , where is a valued - adapted martingale difference sequence and is a sequence of bounded pre-visible real valued random matrices, i.e., and there exists finite number, say , such that . Suppose that for some
[TABLE]
Further assume that there exist constants , independent of , so that and , where is some positive sequence. Then for , there exists some constant depending on such that
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Alekseev, V. M. “An estimate for the perturbations of the solutions of ordinary differential equations.” Westnik Moskov Unn. Ser 1, pp. 28–36, 1961.
- 2[2] Anantharam, V. and Borkar, V. S., “Stochastic approximation with long range dependent and heavy tailed noise.” Queuing Systems 71.1-2 pp. 221-242, 2012.
- 3[3] Bach, F. and Moulines, E., “Non-strongly-convex smooth stochastic approximation with convergence rate O ( 1 / n ) 𝑂 1 𝑛 O(1/n) .”, NIPS , pp. 773-781, 2013.
- 4[4] Benveniste, A. “Design of adaptive algorithms for the tracking of time-varying systems.” International Journal of adaptive control and signal processing , 19.1 pp. 3–29, 1987.
- 5[5] Benveniste, A. and Ruget, G. “A measure of the tracking capability of recursive stochastic algorithms with constant gains.” IEEE Transactions on Automatic Control , 47.3 pp. 639–649, 1982.
- 6[6] Borkar, V. S., “On trapping probability of stochastic approximation.” Combinatorics, Probability and Computing 11.1, pp. 11-20, 2002.
- 7[7] Borkar, A.V. and Borkar, V.S. and Sinha, A. “Aerial monitoring of slow moving convoys using elliptical orbits.” European Journal of Control , available online, 2018.
- 8[8] Borkar, V. S. “Stochastic Approximation: A Dynamical Systems Viewpoint.” Hindustan Publishing Agency, New Delhi, and Cambridge University Press, Cambridge, UK , 2008.
