Concentration of Contractive Stochastic Approximation and Reinforcement Learning

Published Online:https://doi.org/10.1287/stsy.2022.0097

Abstract

Using a martingale concentration inequality, concentration bounds “from time n0 on” are derived for stochastic approximation algorithms with contractive maps and both martingale difference and Markov noises. These are applied to reinforcement learning algorithms, in particular to asynchronous Q-learning and TD(0).

Funding: V. S. Borkar was supported in part by a S. S. Bhatnagar Fellowship from the Council of Scientific and Industrial Research, Government of India.

1. Introduction

In recent years, there has been a lot of interest in obtaining bounds for finite time behavior of reinforcement learning algorithms. These are either moment bounds, for example, mean square error after finitely many samples, or high probability concentration bounds. A representative, but possibly nonexhaustive sample is as follows: Bhandari et al. (2018), Chen et al. (2020; 2021), Wang et al. (2020), Dalal et al. (2018a; b), Li et al. (2020; 2021), Even-Dar and Mansour (2004), Prashanth et al. (2021), Qu and Wierman (2020), Sidford et al. (2018), Srikant and Ying (2019), and Wainwright (2019a; b). A parallel activity in stochastic approximation theory (of which most reinforcement learning algorithms are special instances) seeks to get a concentration bound for the iterates from some time on, to be precise, “for all nn0 for a suitably chosen n0” (Borkar 2002, Kamal 2010, Thoppe and Borkar 2019). See Borkar (2000) for an application to reinforcement learning.

Inspired by Chen et al. (2020), one of us considered stochastic approximation involving contractive maps and martingale noise and derived such concentration bounds “from some n0 on” for this class of algorithms (Borkar 2021). In addition, Borkar (2021) indicated how to stitch such bounds with finite time bounds to get concentration bounds for all time. This covered, in particular, synchronous Q-learning for discounted cost and some related schemes. However, it did not cover the asynchronous case, which is of greater importance. Nor could it cover some other algorithms such as TD(0). The missing link was the absence of the so-called “Markov noise” in stochastic approximation, originally introduced in Meerkov (1972) (see also Kushner and Shwartz (1984) for a landmark article and Benveniste et al. (2012) for a book length treatment). The present work fills in this lacuna, extending the applicability of this program to a much larger class of algorithms. In fact, we work out in detail the cases of asynchronous Q-learning and TD(0).

There is also a parallel body of work that seeks bound, either finite time or asymptotic (e.g., in terms of regret) on the difference between the value function under the learned policy and the optimal value function (Jin et al. 2018, Yang and Wang 2019, Yang et al. 2020). Once again, this is distinct from our objective, which is to obtain a high probability bound valid for all time from some time on.

To clarify further, conventional concentration or sample complexity bounds get bounds, for example, mean square or “with high probability” bounds, on the error from the target after n iterations starting from time zero. The asymptotic regret bounds get an upper bound or lower bound or both on how some measure of cumulative error grows with time in an asymptotic sense. Our bounds differ from both. They are “all time bounds” in the sense that they give a high probability bound for the iterates to remain in a prescribed small neighborhood of the target for all time from some time n0 onward. In fact, the requirement from some n0 onward is dictated by the fact that the decreasing step size needs to be sufficiently small from n0 on. Thus, if the step size is sufficiently small from the beginning, this qualification can be dropped. Alternatively, we can stitch our bounds with one of the existing finite time bounds to obtain all time bounds. We illustrate this possibility with an example in Section 4. The time n0 on bound depends on the norm of the iterate at time n0, but this in turn can be bounded in terms of the norm of the initialization. As for regret bounds, these are for cumulative error and are typically almost sure or in mean and asymptotic in nature unlike our bounds, which are from some time on, but with high probability.

The rest of the paper is organized as follows. Section 2 sets up and states the main result, also highlighting an important special case. The result is proved in Section 3. Section 4 presents some consequences of the theorem. In Section 5, we apply our main result to asynchronous Q-learning and the TD(0) algorithm. A concluding section highlights some future directions. Finally, there are two appendices: Appendix A states a martingale concentration inequality used in our proof, whereas Appendix B details a technical issue left out of the main text for ease of reading.

Throughout this work, · denotes any compatible norm on Rd. We use θ to denote the zero vector in Rd. The th component of a vector x and a vector valued function h(·) are denoted by x() and h(·), respectively. We use the convention 00=0 throughout this work.

2. Main Result

We state and prove our main theorem in this section, after setting up the notation and assumptions. The assumptions are specifically geared for the reinforcement learning applications that follow in Section 5, as will become apparent.

Consider the iteration

xn+1=xn+a(n)(F(xn,Yn)xn+Mn+1(xn)),n0,(1)
for xn=[xn(1),,xn(d)]TRd. Here,
  • The random process {Yn} is the Markov noise taking values in a finite state space S, that is,

    P(Yn+1|Ym,xm,mn)=P(Yn+1|Yn,xn)=pxn(Yn+1|Yn),n0,
    where for each w, pw(·|·) is the transition probability of an irreducible Markov chain on S with unique stationary distribution πw. We assume that the map wpw(j|i) is Lipschitz in the following sense:
    jS|pw(j|i)pv(j|i)|L1wv,iS,w,vRd,
    for some L1>0. This implies that the map wπw(i) is similarly Lipschitz, that is,
    iS|πw(i)πv(i)|L2wv,iS,w,vRd,
    for some L2>0. See part (ii) of Appendix B for some bounds on L2.

  • The random process {Mn(x)} is, for each xRd, an Rd-valued martingale difference sequence parametrized by x, with respect to the increasing family of σ-fields Fnσ(x0,Ym,Mm(x),xRd,mn),n0. That is,

    E[Mn+1(x)|Fn]=θ;a.s.;x,n,(2)
    where θ denotes the zero vector. We also assume the componentwise bound:
    |Mn(x)|K0(1+x);a.s.;x,n,l,(3)
    for some K0>0.

  • The function F(·)=[F1(·),,Fd(·)]T:Rd×SRd satisfies

    iSπw(i)(F(x,i)F(z,i))αxz,x,z,wRd,(4)
    for some α(0,1). By the Banach contraction mapping theorem, (4) implies that iπw(i)F(·,i) has a unique fixed point xw*Rd (i.e., iπw(i)F(xw*,i)=xw*). We assume that this fixed point is independent of w; that is, there exists a x* such that
    iSπw(i)F(x*,i)=x*,wRd.(5)

    We also assume that the map xF(x,i) is Lipschitz, uniformly in i and . Let the common Lipschitz constant be L3>0, that is,

    |F(x,i)F(z,i)|L3xz,iS,{1,,d},x,zRd.

    Furthermore, F˜n(x,Yn)F(x,Yn)+Mn+1(x) is assumed to satisfy

    F˜n(x,Yn)K+αx;a.s..(6)

  • The sequence {a(n)} is a sequence of nonnegative step sizes satisfying the conditions

    a(n)0,na(n)=,(7)
    and is assumed to be eventually nonincreasing; that is, there exists n*1 such that a(n+1)a(n)nn*. Since a(n)0, there exists n such that a(n) < 1 for all n>n. Observe that we do not require the classical square-summability condition in stochastic approximation, viz., na(n)2<. This is because the contractive nature of our iterates gives us an additional handle on errors by putting less weight on past errors. A similar effect was observed in Thoppe and Borkar (2019).

We further assume that a(n)=Ω(1/n). Therefore, a(n)d1n for all nn1 for some n1 and d1>0. We also assume that there exists 0<d21 such that a(n)=O((1n)d2), that is, a(n)d3(1n)d2 for all nn2 for some n2 and d3>0. Larger values of d1 and d2 and smaller values of d3 improve the main result presented later. The role this assumption plays in our bounds will become clear later. Define Nmax{n*,n,n1,n2}, that is, a(N) < 1, a(n) is nonincreasing after N, and d1na(n)d3(1n)d2,nN.

For n0, we further define

bk(n)=m=kna(m),0kn<,βk(n)={1kd2d1nd1,ifd1d21nd2,otherwise,κ(d)=1,1[1,1,,1]TRd,d1.

Our main result is as follows.

Theorem 1.

Let n0N. Then there exist finite positive constants c1, c2, and D, depending on xN, such that for δ>0,nn0 and C=eκ(d)(K0(1+xN+K1α)+c2),

  • (a) the inequality

    xnx*e(1α)bn0(n1)xn0x*+δ+a(n0)c11α,(8)
    holds with probability exceeding
    12dm=n0+1neDδ2/βn0(m),0<δC,(9)
    12dm=n0+1neDδ/βn0(m),δ>C.(10)

  • (b) In particular,

    xnx*e(1α)bn0(n1)xn0x*+δ+a(n0)c11αnn0,(11)
    with probability exceeding
    12dmn0+1eDδ2/βn0(m),0<δC,(12)
    12dmn0+1eDδ/βn0(m),δ>C.(13)

For (12) and (13), note that βn0(m) is O(1mc) for some constant c and therefore eD/βn0(m) is summable. Furthermore, mn0eD/βn0(m)0 as n0.

Remark 1.

An important special case of the previous theorem is when {Yn} is a time homogeneous and uncontrolled Markov chain. In that case

P(Yn+1|Ym,xm,mn)=P(Yn+1|Yn)=p(Yn+1|Yn),n0,
with unique stationary distribution π. Assumption (4) is now modified to
iSπ(i)(F(x,i)F(z,i))αxz,x,zRd(14)
for some α(0,1). By the Banach contraction mapping theorem, (14) implies that iπ(i)F(·,i) has a unique fixed point x*Rd (i.e., iπ(i)F(x*,i)=x*). Hence, we no longer need Assumption (5). The rest of the assumptions remain the same. The statement of the theorem also remains the same.

Remark 2.

The constants c1 and c2 depend on xN, which in turn has a bound depending on x0 that can be derived easily using the discrete Gronwall inequality under our assumptions. Also note that if a(n) are decreasing and a(0)<1, then we can take N = 0. The calculations in Appendix B show that c1 depends on quantities that essentially depend on the mean hitting time of a fixed state, which is also related to mixing. Thus, one expects this constant to be lower for faster mixing chains. The exact dependence, however, is not simple.

3. Proof of the Main Theorem

We begin with a lemma adapted from Borkar (2021) that bounds the iterates {xn} using (6).

Lemma 1.

Almost surely (a.s.), supnNxnxN+K1α.

Proof.

Using (6), we have

xn+1=(1a(n))xn+a(n)F˜n(xn,Yn)(1a(n))xn+a(n)(K+αxn)=(1(1α)a(n))xn+a(n)K.

For n,mN, define ψ(n,m)k=mn1(1(1α)a(k)) if n > m and one otherwise. Because a(N) < 1, 0ψ(n,m)1 for all n,mN. Then

xn+1K1α(1(1α)a(n))(xnK1α).

Now xNxN+K1α=ψ(N,N)xN+K1α. Suppose

xnψ(n,N)xN+K1α(15)
for some nN. Then,
xn+1K1α(1(1α)a(n))(ψ(n,N)xN+K1αK1α)ψ(n+1,N)xN.

By induction, (15) holds for all nN, which completes the proof of Lemma 1. □

Proof of Theorem 1.

Define zn for nn0 by

zn+1=zn+a(n)(iSπxn(i)F(zn,i)zn),(16)
where zn0=xn0. Then
xn+1zn+1=(1a(n))(xnzn)+a(n)Mn+1+a(n)(F(xn,Yn)iSπxn(i)F(zn,i)),(17)
=(1a(n))(xnzn)+a(n)Mn+1+a(n)(iSπxn(i)(F(xn,i)F(zn,i)))+a(n)(F(xn,Yn)iSπxn(i)F(xn,i)).(18)

For n,m0, let χ(n,m)=k=mn(1a(k)) if nm and one otherwise. For some nn0, we iterate the above for n0mn to obtain

xm+1zm+1=k=n0mχ(m,k+1)a(k)Mk+1+k=n0mχ(m,k+1)a(k)(iSπxk(i)(F(xk,i)F(zk,i)))+k=n0mχ(m,k+1)a(k)(F(xk,Yk)iSπxk(i)F(xk,i)).(19)

To simplify (19), we define V(·,·)=[V1(·,·):V2(·,·)::Vd(·,·)]T to be a solution of the Poisson equation:

V(x,i)=F(x,i)jSπx(j)F(x,j)+jSpx(j|i)V(x,j),iS.(20)

For i0S,τmin{n>0:Yn=i0} and Ei[·]=E[·|Y0=i], we know that

V1(x,i)=Ei[m=0τ1(F(x,Ym)jSπx(j)F(x,j))],iS,(21)
is a solution to the Poisson equation (lemma 4.2 and theorem 4.2 of section VI.4, pp. 85–91, of Borkar 1991). Thus, V1(x,i)2maxiF(x,i)Ei[τ]. For an irreducible Markov chain with a finite state space, Ei[τ] is finite for all i and hence the solution V1(x,i) is bounded for all x, i. For each x and , the Poisson equation specifies V(x,·) uniquely only up to an additive constant. Adding or subtracting a scalar c(x) to V(x,i) for each state i still gives us a solution of the Poisson equation. Along with the additional constraint that V(x,i0)=0,x and for a prescribed i0S, the system of equations given by (20) has a unique solution. Henceforth, V refers to the unique solution of the Poisson equation with V(x,i0)=0,x. For this solution, the mapping xV(x,i) is Lipschitz for all iS,{1,d} and xRd with the common constant L (proof in Appendix B, part (ii)).

We define Vmax as

VmaxmaxxxN+K1αmaxiSV(x,i).(22)

Similarly, we also define

VmaxmaxxxN+K1αmaxiS,1d|V(x,i)|.(23)

Using the definition of V to simplify the last term in (19), we have

k=n0mχ(m,k+1)a(k)(F(xk,Yk)iπxk(i)F(xk,i))=k=n0mχ(m,k+1)a(k)(V(xk,Yk)jpxk(j|Yk)V(xk,j))=k=n0+1mχ(m,k+1)a(k)(V(xk,Yk)jpxk1(j|Yk1)V(xk,j))(24a)
+k=n0+1m((χ(m,k+1)a(k)χ(m,k)a(k1))jpxk1(j|Yk1)V(xk,j))(24b)
+k=n0+1mχ(m,k)a(k1)(jpxk1(j|Yk1)(V(xk,j)V(xk1,j)))(24c)
+χ(m,n0+1)a(n0)V(xn0,Yn0)χ(m,m+1)a(m)jpxm(j|Ym)V(xm,j).(24d)

Define V˜k(xk)V(xk,Yk)jpxk1(j|Yk1)V(xk,j) for kn0 and zero otherwise. This is a martingale difference sequence. We bound the norm of (24b) as follows:

k=n0+1m((χ(m,k+1)a(k)χ(m,k)a(k1))jSpxk1(j|Yk1)V(xk,j))k=n0+1m((χ(m,k+1)a(k)χ(m,k+1)a(k1))jSpxk1(j|Yk1)V(xk,j))+k=n0+1m((χ(m,k+1)a(k1)χ(m,k)a(k1))jSpxk1(j|Yk1)V(xk,j))k=n0+1m((a(k1)a(k))χ(m,k+1)Vmax)+k=n0+1m((χ(m,k+1)χ(m,k))a(k1)Vmax)k=n0+1m((a(k1)a(k))Vmax)+k=n0+1m((χ(m,k+1)χ(m,k))a(n0)Vmax)=(a(n0)a(m))Vmax+(χ(m,m+1)χ(m,n0+1))a(n0)Vmax2a(n0)Vmax.(25)

The third inequality follows from a(k1)a(k)0 because a(k) is a nonincreasing sequence for k>n0, and χ(m,k+1)χ(m,k) is positive because 1χ(m,k+1)χ(m,k) for m,k>n0, as a(k) < 1 for k>n0.

We next obtain a bound on the norm of (24c). Using Lemma 1, we know that xnxN+K1α,nN. For simplicity, define K*xN+K1α. Note that K* is a random constant because of its linear dependence on xN. Now,

xkxk1=a(k1)(F(xk1,Yk1)xk1+Mk(xk1))a(k1)(F˜k1(xk1,Yk1)+xk1)a(k1)(K+αxk1+xk1)a(k1)(K+(1+α)K*)a(n0)(K+(1+α)K*).

For the last inequality, k1n0 and hence a(k1)a(n0). Now, for any 0<km,

χ(m,k)+χ(m,k+1)a(k)=χ(m,k+1),
and hence
χ(m,n0)+k=n0mχ(m,k+1)a(k)=χ(m,m+1)=1.

This implies that

k=n0mχ(m,k+1)a(k)1.(26)

This implies that

k=n0+1mχ(m,k)a(k1)(jpxk1(j|Yk1)(V(xk,j)V(xk1,j)))k=n0+1mχ(m,k)a(k1)jpxk1(j|Yk1)(V(xk,j)V(xk1,j))(a)La(n0)(K+(1+α)K*)a(n0)(L(K+2K*)).(27)

Inequality (a) is obtained using the Lipschitz nature of V. Define constant KL(K+2K*). Now, the norm of (24d) is directly bounded by 2a(n0)Vmax. For simplicity, define Vc(n0)a(n0)(4Vmax+K).

Recall that κ(d)=1, where 1 is the d-vector of all ones. Define

Γk=κ(d)maxl|r=n0k1χ(k,r+1)a(r)(Mr+1(xr)+V˜r(xr))|,andζm=maxn0kmΓk.

Returning to (19), we now have

xm+1zm+1k=n0mχ(m,k+1)a(k)(iSπxk(i)(F(xk,i)F(zk,i)))+Γm+1+Vc(n0)k=n0mχ(m,k+1)a(k)(iSπxk(i)(F(xk,i)F(zk,i)))+ζm+1+Vc(n0)αk=n0mχ(m,k+1)a(k)xkzk+ζm+1+Vc(n0).(28)

Let xm=supn0kmxkzk for n0m<n. Then using (26) and the fact that ζmζn,

xm+1αxmk=n0mχ(m,k+1)a(k)+ζn+Vc(n0)αxm+ζn+Vc(n0).(29)

Because xm+1xm and xn0=θ, we have

xm11α(ζn+Vc(n0)),n0mn.(30)

By Lemma 1, |Mn+1(xn)|K0(1+xn0+K1α). Also, |V˜n(xn)|2Vmax. In Theorem A.1 of Appendix A, let

C=eκ(d)(K0(1+xn0+K1α)+2Vmax),ξm,n=χ(n,m+1)a(m),ε=1,γ1=1.

Next, we choose suitable γ2 and ω(n) such that

maxn0mnξm,n=maxn0mnχ(n,m+1)a(m)γ2ω(n).

For this, we use our assumption that d1na(n)d3(1n)d2,nn0, to obtain

χ(n,m+1)=k=m+1n(1a(k))exp(k=m+1na(k))exp(k=m+1nd1k)exp(m+1nd1ydy)exp(d1(log(m+1)log(n)))=(m+1n)d1maxn0mna(m)χ(n,m+1)maxn0mnd3(1m)d2(m+1n)d1maxn0mnd3(1m)d2(2mn)d1.

From the last inequality, γ2=d32d1 and ω(n)=βn0(n) satisfy the required conditions.

Then for n0<mn, a suitable constant D > 0 and δ(0,Cγ1], we have

P(Γmδ)2deDδ2/βn0(m),
and for δ>Cγ1,
P(Γmδ)2deDδ/βn0(m).

The factor d comes from the union bound along with Theorem A.1. Applying union bound again, for δ(0,Cγ1], we now have

P(ζnδ)2dm=n0+1neDδ2/βn0(m),(31)
and for δ>Cγ1,
P(ζnδ)2dm=n0+1neDδ/βn0(m).(32)

Because iπxn(i)F(x*,i)=x*,

zn+1x*=(1a(n))(znx*)+a(n)iSπxn(i)(F(zn,i)F(x*,i)),
which implies
zn+1x*(1a(n))znx*+a(n)iSπxn(i)(F(zn,i)F(x*,i))(1(1α)a(n))znx*.

We then have

znx*ψ(n,n0)xn0x*e(1α)bn0(n1)xn0x*.(33)

Using (30) and the fact that xnznxn, we have

xnzn11α(ζn+Vc(n0)).(34)

This inequality along with (33) and the fact that ζn<δ holds with probabilities given by (31) and (32), completes the proof of part (a) of Theorem 1 with constants defined as c1=4Vmax+K and c2=2Vmax.

For part (b) of Theorem 1, to get bounds for all nn0, P(m=n0+1{ζm<δ})=P(m=n0+1{Γm<δ}). Similar to the proof of part (a), applying union bound gives us the desired result. □

4. Some Consequences

In this section, we briefly highlight some consequences of the foregoing as in Borkar (2021). We first show that Theorem 1 implies, in particular, the almost sure convergence of the iterates to x*.

Corollary 1.

Almost surely, xnx*

Proof.

Let b^(k) and δ(k) be two sequences such that

0<b^(k)0and0<δ(k)<(1α)b^(k)4,k1.

Also, let C(n,n0,δ) denote the expression on the right-hand side (RHS) of (11). Then for each δ=δ(k) in (11), increase n0=n0(k)>0 sufficiently so that a(n0(k))c1<(1α)b^(k)4 and furthermore, (12), respectively, (13) exceed 11k2. Then pick n1(k)>n0(k) such that

e(1α)bn0(k)(n1(k)1)xn0(k)x*b^(k)2.

Thus, C(n1(k),n0(k),δ(k))<b^(k). This leads to

kP(supmn1(k)xmx*>b^(k))k1k2<.

By the Borel-Cantelli lemma, xn1(k)x*b^(k) for k sufficiently large, a.s. Because b^(k)0, it follows that xkx* a.s. □

The proof also shows that {b(k)} serves as a regret bound for the cost xnx*, although possibly not the tightest possible. As indicated in Section 1, the foregoing can be combined with existing finite time sample complexity bounds to obtain a concentration claim for all time. The combined estimate then yields a bound on how many iterates are needed to remain within a prescribed neighborhood of the target x* from some time on, with probability exceeding a prescribed lower bound. Suppose one has a finite time bound of the type (Chen et al. 2020)

E[xnx*2]υ(n)=o(n)
for a suitable υ(n). Let K˘=2K and 1>ν>0. Pick δ>0 small enough, followed by n0 large enough and then followed by n1n0, so that for nn0,
P(xnx*>Kˇ)E[xnx*2]K˘2υ(n0)K˘2<ν2,(35)
and, in addition, (i) the RHS of (12)/(13) exceeds 1ν2, and (ii) for nn1, the RHS of (11) does not exceed ϵ. Then, using our previous theorem:
P(supnn1xnx*ϵ)ν.(36)

We shall exploit this simple fact to stitch our bound for nn0 with that of Chen et al. (2020) for n = n0, which allows us to bound the ν on the RHS. This allows us to estimate the number of samples n1 required to ensure that the iterates remain in the ϵ-neighborhood of x* thereafter, with probability 1ν.

We shall make this more precise for the special choice of a(n)=bn+1,n0, with b > 0. The derivation is adapted from Borkar (2021), included here for sake of completeness. From Chen et al. (2020), υ(n) above is of the form

υ(n)=c1m=0n1(1c3bm+1)+c2k=0n1m=k+1n1(1c3bm+1)1(k+1)2
for suitable constants c1,c2,c3>0,c2<1, given explicitly in Chen et al. (2020). We assume that b > 0 satisfies the condition bc2/c3 required in theorem 2.1 of Chen et al. (2020). Let Γc3b, which, because c2<1 in Chen et al. (2020), leads to Γ<1. Using the facts 1xex and m=0n11m+1=Θ(logn), and using c to denote a generic constant that can change from place to place, we have
υ(n)c(eΓm=0n11m+1+k=0n1eΓm=k+1n11m+11(k+1)2)cnΓ(1+k=0n11(k+1)2Γ)cnΓ.

With c as in this RHS, let n0 satisfy

c(n0)ΓνK˘22,i.e.,n0(2cνK˘2)1Γ.(37)

Then (35) holds. Consider the specific choice of a(n)=b/(n+1),βn0(n)1n01b/2nb/2 when 1b/2 and βn0(n)1/n when 1<b/2, where nn0. Then the RHS of (12) exceeds 1ν2 if1

2dnn0eDδ2/βn0(n)<ν2.(38)

Choosing n0 as in (37) and (38), the bound (36) follows. A similar approach can be used for combining our bound with other finite time bounds to obtain an all time bound. Recall also that if {a(n)} are monotone and sufficiently small (i.e., n = 0), our bound already holds for all time if n0=0.

5. Applications to Reinforcement Learning

In this section, we apply the previous general results for two important reinforcement learning algorithms, viz., asynchronous Q-learning and TD(0), and indicate some related algorithms where they apply as well. In particular, these examples cannot be covered by the results of Borkar (2021), which does not cover Markov noise.

5.1. Asynchronous Q-Learning

We first apply the previous theorem to asynchronous Q-learning (Watkins 1989, Watkins and Dayan 1992). Consider a controlled Markov chain {Xn} on a finite state space S1, |S1|=s, controlled by a control process {Zn} in a finite action space A, |A|=r. The controlled transition probability function (i,j,u)S12×Ap(j|i,u)[0,1] satisfies jp(j|i,u)=1i,u. Thus,

P(Xn+1=j|Xm,Zm,mn)=p(j|Xn,Zn),a.s.

The objective is to minimize the discounted cost

E[m=0γmk(Xm,Zm)],
where γ(0,1) is the discount factor and k:S×UR is a prescribed running cost function. Let a(n) > 0 be as earlier. Then the Q-learning algorithm is
Qn+1(i,u)=Qn(i,u)+a(n)I{Xn=i,Zn=u}(k(i,u)+γminaQn(Xn+1,a)Qn(i,u))(39)
with arbitrary Q0(·,·)0. Note that I{Xn=i,Zn=u} is the indicator function defined as follows:
I{Xn=i,Zn=u}1ifXn=i,Zn=u,0otherwise,n0.

For application of our theorem, (Xn, Zn) together forms the Markov chain with the state space as S1×A and the transition probabilities given by

P(Xn+1=i,Zn+1=u|Xn,Zn)=pQn(i,u|Xn,Zn)=p(i|Xn,Zn)ΦQn(u|Xn+1).

Here p(·|·,·) is as earlier, and ΦQn(·|·) is the randomized policy. We make the additional assumption that the graph of the Markov chain remains irreducible under all control choices. We also assume that the map QΦQ(·|·) is Lipschitz and that ΦQ(u|i)>0 for all uA,iS1. In the case of offline Q-learning, where the policy is fixed, ΦQ is independent of Q and automatically satisfies this assumption. Softmax Q-learning is an example of an online learning algorithm that satisfies the assumption (Singh et al. 2000). For a given Q, the stationary distribution πQ is πQ(i,u)=πΦQ(i)ΦQ(u|i), where πΦQ is the stationary distribution of states corresponding to the policy ΦQ.

We first rearrange the iteration in (39) to get it in the form of (1) and then verify the assumptions. The iteration (39) can be rewritten as

Qn+1(i,u)=Qn(i,u)+a(n)I{Xn=i,Zn=u}(k(i,u)+γminaQn(Xn+1,a)Qn(i,u))=Qn(i,u)+a(n)I{Xn=i,Zn=u}×(k(i,u)+γjp(j|i,u)minaQn(j,a)Qn(i,u)+γ(minaQn(Xn+1,a)jp(j|i,u)minaQn(j,a)))=Qn(i,u)+a(n)(F(i,u)(Qn,Xn,Zn)Qn(i,u)+Mn+1(i,u)(Qn)),(40)
where
Fi,u(Q,X,Z)=I{X=i,Z=u}(k(i,u)+γjp(j|i,u)minaQ(j,a)Q(i,u))+Q(i,u)
and
Mn+1i,u(Q)=γI{Xn=i,Zn=u}(minaQ(Xn+1,a)jp(j|i,u)minaQ(j,a))).

We assume that Q0(·,·),k(·,·)0, and a(n)1,n, which implies Qn(·,·)0 for all n. We make these assumptions for sake of simplicity, and they can be dropped. Define the family of σ-fields Fn,n0, by

Fnσ(Q0,Xm,Zm,mn).

Then {Mn(Q),Fn} is a martingale difference sequence for each Q satisfying (3) for K0=1, as is {Mn(Qn),Fn}.

For ease of notation, we define g(Q)=[gi,u(Q)], where

gi,u(Q)k(i,u)+γjp(j|i,u)minaQ(j,a).

Note that g(Q) is a contraction in the maximum norm with

g(Q)g(Q)γQQ.

We also define the diagonal matrix ΛQ with values πQ(i,u), that is, the stationary probabilities of (Xn, Zn) corresponding to the policy chosen based on Q. Then for any Q,Q1,Q2Rs×r:

iS1,uAπQ(i,u)(F(Q1,i,u)F(Q2,i,u))=(IΛQ)(Q1Q2)+ΛQ(g(Q1)g(Q2))=maxi,u|(1πQ(i,u))(Q1(i,u)Q2(i,u))+πQ(i,u)(gi,u(Q1)gi,u(Q2))|maxi,u((1πQ(i,u))|Q1(i,u)Q2(i,u)|+πQ(i,u)|gi,u(Q1)gi,u(Q2)|)maxi,u((1πQ(i,u))maxj,v|Q1(j,v)Q2(j,v)|+πQ(i,u)γmaxj,v|Q1(j,v)Q2(j,v)|)(1(1γ)πmin)Q1Q2,(41)
where πmin=minQRsrmini,uπQ(i,u). Because the stationary distribution πx is uniquely specified by a linear system continuously parametrized by x, it is continuous in x. Also, the facts that πx(i)>0x,i, and x, i take values in compact sets (by Lemma 1), together imply that πminmini,xπx(i)>0. Therefore, F satisfies Assumption (4) with α=1(1γ)πmin(0,1), as πmin(0,1). The fixed point of i,uπ(i,u)F(·,i,u) is the vector Q* of the true Q-values and satisfies
Q*(i,u)=k(i,u)+γjp(j|i,u)minaQ*(j,a).

This implies that g(Q*)=Q*. Furthermore, for any QRsr,

iS1,uAπQ(i,u)F(Q*,i,u)=(IΛQ)Q*+ΛQg(Q*)=(IΛQ)Q*+ΛQQ*=Q*.

Hence, Assumption (5) is also satisfied. The map QF(Q,·) is also clearly Lipschitz. Also, Q*k/(1γ). For simplicity, we assume that this bound holds for Q0 as well and hence holds for Qn,n0, by induction. Thus, Assumption (6) also holds with K=(k1γ). Then, Theorem 1 gives us the following.

Corollary 2.

Let n0N. Then there exist finite positive constants c1, c2, and D, depending on QN, such that for δ>0 and nn0,

  • (a) the inequality

    QnQ*e(1α)bn0(n1)Qn0Q*+δ+a(n0)c11α(42)
    holds with probability exceeding
    12rsm=n0+1neDδ2/βn0(m),0<δC,(43)
    12rsm=n0+1neDδ/βn0(m),δ>C,(44)
    where C=e(2(1+QN+k1α)+c2).

  • (b) In particular,

    QnQ*e(1α)bn0(n1)Qn0Q*+δ+a(n0)c11αnn0,(45)
    with probability exceeding
    12rsmn0+1eDδ2/βn0(m),0<δC,(46)
    12rsmn0+1eDδ/βn0(m),δ>C.(47)

5.2. TD(0)

We next apply Theorem 1 to the popular algorithm TD(0) for policy evaluation (Tsitsiklis and Van Roy 1997). We fix a stationary policy a priori and thus work with an uncontrolled Markov chain {Yn} on state space S with transition probabilities p(·|·) (the dependence on the policy is suppressed). Assume that the chain is irreducible with the stationary distribution π=[π(1),,π(s)],s=|S| and let D the s × s diagonal matrix whose ith diagonal entry is π(i). The dynamic programming equation is

ϒ(i)=k(i)+γjp(j|i)ϒ(j),iS,
which can be written as the following vector equation
ϒ=k+γPϒ
for k=[k(1),,k(s)]T and p=[[p(j|i)]]i,jSRs×s.

The term ϒ is approximated using a linear combination of linearly independent basis functions (feature vectors) ϕi:SR,1iM, with sM1. Thus, ϒ(i)m=1Mr(m)ϕm(i), that is, ϒΦr, where r=[r(1),,r(M)]T and Φ is an s × M matrix whose ith column is ϕi. Because {ϕi} are linearly independent, Φ is full rank. Substituting this approximation into the previous dynamic programming equation leads to

Φrk+γPΦr.

However, the RHS may not belong to the range of Φ. Therefore, we use the following fixed point equation:

Φr=Π(k+γPΦr)H(Φr),(48)
where Π denotes the projection to Range(Φ) with respect to a suitable norm. Here we take projection with respect to the weighted norm xD(iπ(i)|x(i)|2)1/2 whereby the projection map is
ΠxΦ(ΦTDΦ)1ΦTDx.(49)

The invertibility of ΦTDΦ is guaranteed by the fact that Φ is full rank. Also, PxDxD (by Jensen’s inequality) and ΠxDxD (because Π is a ·D-projection).

The TD(0) algorithm is given by the recursion

rn+1=rn+a(n)φ(Yn)(k(Yn)+γφ(Yn+1)Trnφ(Yn)Trn).(50)

Here φ(i)TRM for iS denotes the ith row of Φ. We will apply our theorem to the iterates rn using the Euclidean norm (i.e., r2=(ir(i)2)1/2).

Before moving forward, we make an assumption on Φ, which is not restrictive as we argue later. Define ΨΦTD and let λM be the largest singular value of Ψ, that is, the largest eigenvalue of ΨΨT and equivalently, of ΨTΨ. Assume that

λM<2(1γ)(1+γ).(51)

Because the feature vectors can be scaled without affecting the algorithm (the weights r(i) get scaled accordingly), this assumption does not restrict the algorithm.

Rearrange iteration (50) as

rn+1=rn+a(n)φ(Yn)(k(Yn)+γφ(Yn+1)Trnφ(Yn)Trn)=rn+a(n)(φ(Yn)k(Yn)+γφ(Yn)φ(Yn+1)Trnφ(Yn)φ(Yn)Trn+rnrn)=rn+a(n)(φ(Yn)k(Yn)+γφ(Yn)jp(j|Yn)φ(j)Trnφ(Yn)φ(Yn)Trn+rnrn+γφ(Yn)φ(Yn+1)Trnγφ(Yn)jp(j|Yn)φ(j)Trn)=rn+a(n)(F(rn,Yn)rn+Mn+1(rn)),(52)
where
F(r,Y)=φ(Y)k(Y)+γφ(Y)jp(j|Y)φ(j)Trφ(Y)φ(Y)Tr+r
and
Mn+1(r)=γφ(Yn)(φ(Yn+1)Trjp(j|Yn)φ(j)Tr).

Define the family of σ-fields for n0:

Fnσ(r0,Ym,mn).

Then {Mn(r),Fn} is a martingale difference sequence for each r satisfying (3) for K0=2γΦ2.

Because we are working with a time-homogeneous and uncontrolled Markov chain, we can apply the special case of our theorem from Remark 1. Therefore, we need to show that Assumption (14) is satisfied. For ease of notation, we drop the subscript 2 from r2 and let r refer to the Euclidean norm. Let r,r=rTr and x,yD=xTDy. Then,

iπ(i)(F(r,i)F(s,i))2=γiπ(i)φ(i)jp(j|i)φ(j)T(rs)iπ(i)φ(i)φ(i)T(rs)+(rs)2=(γΦTDPΦΦTDΦ+I)(rs)2=(γΦTDPΦΦTDΦ)(rs)2+(rs)T(rs)2(rs)TΦTDΦ(rs)+(rs)T(γΦTDPΦ+γΦTPTDΦ)(rs).(53)

Now,

(rs)T(γΦTDPΦ+γΦTPTDΦ)(rs)=(rs)TγΦT(DP+PTD)Φ(rs)=γΦ(rs),PΦ(rs)D   +γPΦ(rs),Φ(rs)D(a)2γPΦ(rs)DΦ(rs)D(b)2γΦ(rs)D2,(54)
and
2(rs)TΦTDΦ(rs)=2Φ(rs),Φ(rs)D=2Φ(rs)D2.(55)

Inequality (a) follows from the Cauchy-Schwarz inequality and (b) follows from the fact that PxDxD. Combining (54) and (55) with (53) gives us

iπ(i)(F(r,i)F(s,i))2rs22(1γ)Φ(rs)D2+(γΦTDPΦΦTDΦ)(rs)2.(56)

To analyze the last term in (56), we use the fact that the operator norm of a matrix defined as M=supxθMxx, using the Euclidean norm for vectors, is equal to the largest singular value of that matrix. Thus,

(γΦTDPΦΦTDΦ)(rs)2=ΦTD(γDPΦDΦ)(rs)2λM2(γDPΦDΦ)(rs)2=λM2(γPI)Φ(rs),(γPI)Φ(rs)D=λM2(IγP)Φ(rs)D2λM2(1+γ)2Φ(rs)D2.(57)

The last inequality follows from the triangle inequality. We now invoke Assumption (51) and combine (57) with (56) as follows:

iπ(i)(F(r,i)F(s,i))2rs22(1γ)Φ(rs)D2+λM2(1+γ)2Φ(rs)D2<rs22(1γ)Φ(rs)D2+(2(1γ)1+γ)2(1+γ)2Φ(rs)D2=rs2.(58)

This gives us the required contraction property with contraction factor α for which an explicit expression can be obtained, using the first inequality in (58), as

α=1minrθΦrD2r2(2(1γ)λM2(1+γ)2).

As the columns of Φ are linearly independent, rθΦrθ and hence ΦrDr>0 when rθ. Along with Assumption (51), this implies that α<1.

Let r* be the fixed point for iπ(i)F(·,i), that is, iπ(i)F(r*,i)=r*. Then,

iπ(i)F(r*,i)=(ΦTDk+γΦTDPΦΦTDΦ+I)r*=r*(ΦTDk+γΦTDPΦ)r*=ΦTDΦr*(ΦTDΦ)1(ΦTDk+γΦTDPΦ)r*=r*Φ(ΦTDΦ)1ΦTD(k+γPΦ)r*=Φr*H(Φr*)=Φr*.

Therefore, Iteration (52) converges to the required fixed point of (48). Furthermore, Assumption (6) also holds with K=kΦ. The map rF(r,·) is clearly Lipschitz. Then Theorem 1 leads to the following.

Corollary 3.

Let n0N. Then there exist finite, positive constants c1, c2, and D, depending on rN, such that for δ>0 and nn0,

  • (a) the inequality

    rnr*e(1α)bn0(n1)rn0r*+δ+4a(n0)c11α(59)
    holds with probability exceeding
    12Mm=n0+1neDδ2/βn0(m),0<δC,(60)
    12Mm=n0+1neDδ/βn0(m),δ>C,(61)
    where C=eM(2γΦ2(1+xN+kΦ1α)+c2).

  • (b) In particular,

    rnr*e(1α)bn0(n1)rn0r*+δ+a(n0)c11αnn0,(62)
    with probability exceeding
    12Mmn0+1eDδ2/βn0(m),0<δC,(63)
    12Mmn0+1eDδ/βn0(m),δ>C.(64)

Remark 3.

We mention in passing other reinforcement learning algorithms where analogous results can be derived, specifically the asynchronous cases of the examples thereof from Borkar (2021). The first is the asynchronous version of the Q-learning problem for stochastic shortest path problem (Abounadi et al. 2002) with running cost k(·,·)0, which can be analyzed along the lines of the previous discounted cost Q-learning using the fact that the corresponding dynamic programming operator is a contraction w.r.t. a weighted max-norm (Bertsekas and Tsitsiklis 1989, exercise 3.3, p. 325). The asynchronous version of the postdecision scheme (Powell 2007) for discounted cost can likewise be covered by the previous framework. In case of the previous and the asynchronous Q-learning scheme for discounted cost studied earlier, it is the asynchrony that puts them beyond the ambit of Borkar (2021), necessitating the extension to Markov noise presented here. In case of TD(0), however, Markov noise is already embedded into the scheme itself.

Remark 4.

Stochastic gradient descent with Lipschitz gradient can also be thought of as a fixed-point seeking scheme for a contraction map, as shown in Borkar (2021). Specifically, if the gradient f(x) is continuously differentiable with a bounded Jacobian (i.e., the Hessian 2f(x)) that is positive definite with its least eigenvalue uniformly bounded away from zero, then for sufficiently small a > 0, af(x)=(xxf(x))x, where the map xxaf(x) is a contraction w.r.t. the euclidean norm. stochastic gradient descent with Markov noise has been studied in Doan et al. (2020), Sun et al. (2018), Wang and Liu (2016), and so on. However, our focus here has been in contractive iterates arising in reinforcement learning for approximate dynamic programming.

6. Conclusions

In conclusion, we point out some future directions. Some extensions, for example, to TD(λ) for λ>0, may not be very difficult. However, extensions to other cost criteria such as average or risk-sensitive cost are because their dynamic programming operators are not contractions. Nevertheless, that does not rule out the possibility of building up on these ideas to cover more general ground that will subsume such cases. There are also several other variants of reinforcement learning algorithms left out in this work where even for the discounted cost one might get results in similar spirit, although not of exactly similar form. Finally, such arguments may pave way for regret bounds for reinforcement learning schemes. This needs to be further explored.

Appendix A. A Martingale Inequality

Let {Mn} be a real valued martingale difference sequence with respect to an increasing family of σ-fields {Fn}. Assume that there exist ε,C>0 such that

E[eε|Mn||Fn1]Cn1,a.s.

Let Snm=1nξm,nMm, where ξm,n,mn,, for each n, are a.s. bounded {Fn}-previsible random variables, that is, ξm,n is Fm1-measurable m1, and |ξm,n|Am,n a.s. for some constant Am,n,m,n. Suppose

m=1nAm,nγ1,max1mnAm,nγ2ω(n),
for some γi,ω(n)>0,i=1,2;n1. Then we have:

Theorem A.1.

There exists a constant D > 0 depending on ε,C,γ1,γ2 such that for ϵ>0,

P(|Sn|>ϵ)2eDϵ2ω(n),ifϵ(0,Cγ1ε],(A.1)
2eDϵω(n),otherwise.(A.2)

This is a variant of theorem 1.1 of Liu and Watbled (2009). See Thoppe and Borkar (2019), theorem A.1, pp. 21–23, for details.

Appendix B. Lipschitz Constants

B.1. Part (i): Stationary Distribution

We first give some bounds for the Lipschitz constant of the map xπx, where xRd and πx is the stationary distribution corresponding to the transition probabilities px(·|·). Using section 3 of Cho and Meyer (2001), we have

iS|πx(i)πy(i)|=πxπy1κiPxPyκiL1xy.

Here PxPy denotes the operator norm of matrix (PxPy) under the norm for vectors and is equal to the largest 1 norm of the rows of (PxPy). κi denotes one of the condition numbers of the Markov chain as defined in Cho and Meyer (2001). For our case, κi can be κ1, κ2, κ5, or κ6, out of which the smallest is κ6, defined using the ergodicity coefficient as defined in Seneta (2021). Therefore, L2=L1κi. Alternatively, if we assume continuous differentiability of the map wpw(·|·), then the explicit formula for gradient of πw is a special case of the formula in proposition 1 of Marbach and Tsitsiklis (2001) (see also Lasserre 1991). These can be used to bound the Lipschitz constant. In fact, because the Lipschitz constant does not change on convolution with a smooth probability density, one can use the aforementioned results to get a Lipschitz constant via smooth approximations.

B.2. Part (ii): Solution of the Poisson Equation

We define V(·,·)=[V1(·,·):V2(·,·)::Vd(·,·)]T to be a solution of the Poisson equation:

V(x,i)=F(x,i)jSπx(j)F(x,j)+jSpx(j|i)V(x,j),iS.

For each x and , the Poisson equation specifies V(x,·) uniquely only up to an additive constant. Adding or subtracting a scalar c(x) to V(x,i) for each state i still gives us a solution of the Poisson equation. Therefore, we add the additional constraint that V(x,i0)=0,x for some prescribed i0S. With this additional constraint, the system of equations given by (20) has a unique solution. Thus, let V denote the unique solution of the set of equations parametrized by x, given by V(x,i0)=0x and

V(x,i)=F(x,i)jSπx(j)F(x,j)+jSpx(j|i)V(x,j),iS{i0}.

We next show that the mapping xV(x,i) is Lipschitz for all iS. For iS{i0},

V(x,i)V(z,i)=F(x,i)F(z,i)+jSπx(j)F(x,j)jSπz(j)F(z,j)+jSpx(j|i)V(x,j)jSpz(j|i)V(z,j)=F(x,i)F(z,i)+jSπx(j)(F(x,j)F(z,j))+jS(πx(j)πz(j))F(z,j)+jSpx(j|i)(V(x,j)V(z,j))+jS(px(j|i)pz(j|i))V(z,j).

Note that jSpx(j|i)(V(x,j)V(z,j))=jS{i0}px(j|i)(V(x,j)V(z,j)). These are then a set of (|S|1) equations, where |S| is the size of the finite state space, with variables V(x, i) and V(z, i) for iS{i0}. Each variable is itself a vector in Rd, but the d components of the variables are independent in the previous set of equations. Therefore, we can work with each component of the previous set of equations separately. Let Px{i0} be the substochastic matrix obtained by removing the row and column corresponding to i0 from the transition matrix Px of the Markov chain. Then the th component of the previous set of (|S|1) equations can be represented as

(IPx{i0})(V(x)V(z))=(F(x)F(z))+Λx(F(x)F(z))+(ΛxΛz)F(z)+(Px{i0}Pz{i0})V(z).

Here V(x) and F(x) are vectors in R|S|1 containing values V(x,i) and F(x,i), respectively, for all states iS{i0}, and I is the identity matrix of dimension |S|1. For example, V(x)=[V(x,1),,V(x,i01),V(x,i0+1),,V(x,|S|)]T. Λx is the (|S|1)×(|S|1) matrix with identical rows and each row as the vector with values πx(i) for iS{i0}. As explained before, this set of equations have a unique solution and hence the matrix (IPx{i0}) is invertible. Using this, we get

V(x)V(z)=(IPx{i0})1((F(x)F(z))+Λx(F(x)F(z))+(ΛxΛz)F(z)+(Px{i0}Pz{i0})V(z))(IPx{i0})1(2L3xz+ΛxΛzF(z)+Px{i0}Pz{i0}V(z))(IPx{i0})1(2L3+L2F(z)+L1V(z))xz.

Here for matrices · denotes the operator norm of the matrix under the norm for vectors. Note that ΛxΛz=iS{i0}|πx(i)πz(i)|.

Because

(IPx{i0})1=m=0(Px{i0})m,
the (i, j)th element of this matrix is the expected number of visits to j starting from i before hitting i0. Summing over j, we get the expected hitting time of i0 starting from i, which serves as a componentwise bound on this matrix. There are standard bounds on the mean hitting times in terms of a suitable stochastic Liapunov function (Meyn and Tweedie 2009). By Lemma 1, we know that x lies in a compact domain and hence F(x) and V(x) are bounded. By bounding the norm of (V(x)V(z)), we have shown that xV(x,i) is Lipschitz for all iS,{1,,d} and xxn0+K1α, with a common Lipschitz constant L. As discussed, its magnitude will depend on mean hitting times. We do not get into the details here.

Endnote

1 With δ(0,Cφ(0)]. An analogous result holds for δ>Cφ(0) with δ replacing δ2 in (38).

References

  • Abounadi J, Bertsekas DP, Borkar V (2002) Stochastic approximation for nonexpansive maps: Application to Q-learning algorithms. SIAM J. Control Optim. 41(1):1–22.Google Scholar
  • Benveniste A, Métivier M, Priouret P (2012) Adaptive Algorithms and Stochastic Approximations (Springer Science & Business Media, New York).Google Scholar
  • Bertsekas DP, Tsitsiklis JN (1989) Parallel and Distributed Computation: Numerical Methods (Prentice-Hall, Upper Saddle River, NJ).Google Scholar
  • Bhandari J, Russo D, Singal R (2018) A finite time analysis of temporal difference learning with linear function approximation. Proc. 31st Conf. Learn. Theory, vol. 75 (PMLR), 1691–1692.Google Scholar
  • Borkar VS (1991) Topics in Controlled Markov Chains (Longman Scientific & Technical, Harlow, Essex, UK).Google Scholar
  • Borkar VS (2000) On the number of samples required for Q-learning. Proc. 38th Allerton Conf.Google Scholar
  • Borkar VS (2002) On the lock-in probability of stochastic approximation. Combinatorics Probability Comput. 11(1):11–20.Google Scholar
  • Borkar VS (2021) A concentration bound for contractive stochastic approximation. Systems & Control Letters 153:104947.Google Scholar
  • Chen Z, Maguluri ST, Shakkottai S, Shanmugam K (2020) Finite-sample analysis of contractive stochastic approximation using smooth convex envelopes. Advances in Neural Information Processing Systems (Curran Associates Inc., Red Hook, NY), 8223–8234.Google Scholar
  • Chen Z, Maguluri ST, Shakkottai S, Shanmugam K (2021) A Lyapunov theory for finite-sample guarantees of asynchronous Q-learning and TD-learning variants. Preprint, submitted February 2, https://arxiv.org/abs/2102.01567.Google Scholar
  • Cho GE, Meyer CD (2001) Comparison of perturbation bounds for the stationary distribution of a Markov chain. Linear Algebra Its Appl. 335(1):137–150.Google Scholar
  • Dalal G, Szörényi B, Thoppe G, Mannor S (2018a) Finite sample analyses for TD(0) with function approximation. Proc. AAAI Conf. Artificial Intelligence 32(1):6144–6160.Google Scholar
  • Dalal G, Thoppe G, Szörényi B, Mannor S (2018b) Finite sample analysis of two-timescale stochastic approximation with applications to reinforcement learning. Proc. 31st Conf. Learn. Theory, vol. 75 (PMLR), 1199–1233.Google Scholar
  • Doan TT, Nguyen LM, Pham NH, Romberg J (2020) Finite-time analysis of stochastic gradient descent under Markov randomness. Preprint, submitted March 24, https://arxiv.org/abs/2003.10973.Google Scholar
  • Even-Dar E, Mansour Y (2004) Learning rates for Q-learning. J. Machine Learn. Res. 5:1–25.Google Scholar
  • Jin C, Allen-Zhu Z, Bubeck S, Jordan MI (2018) Is Q-learning provably efficient? Adv. Neural Inform. Processing Systems, vol. 31 (Curran Associates Inc., Red Hook, NY).Google Scholar
  • Kamal S (2010) On the convergence, lock-in probability, and sample complexity of stochastic approximation. SIAM J. Control Optim. 48(8):5178–5192.Google Scholar
  • Kushner HJ, Shwartz A (1984) An invariant measure approach to the convergence of stochastic approximations with state dependent noise. SIAM J. Control Optim. 22(1):13–27.Google Scholar
  • Lasserre JB (1991) Exact formula for sensitivity analysis of Markov chains. J. Optim. Theory Appl. 71(2):407–413.Google Scholar
  • Li G, Wei Y, Chi Y, Gu Y, Chen Y (2020) Sample complexity of asynchronous Q-learning: Sharper analysis and variance reduction Adv. Neural Inform. Processing Systems, vol. 31 (Curran Associates Inc., Red Hook, NY). 7031–7043.Google Scholar
  • Li G, Cai C, Chen Y, Gu Y, Wei Y, Chi Y (2021) Is Q-learning minimax optimal? A tight sample complexity analysis. Preprint, submitted February 12, https://arxiv.org/abs/2102.06548.Google Scholar
  • Liu Q, Watbled F (2009) Exponential inequalities for martingales and asymptotic properties of the free energy of directed polymers in a random environment. Stochastic Processing Appl. 119(10):3101–3132.Google Scholar
  • Marbach P, Tsitsiklis J (2001) Simulation-based optimization of Markov reward processes. IEEE Trans. Automated Control 46(2):191–209.Google Scholar
  • Meerkov SM (1972) Simplified description of slow Markov walks. 2. Automated Remote Control 33(5):761.Google Scholar
  • Meyn S, Tweedie RL (2009) Markov Chains and Stochastic Stability, 2nd ed. (Cambridge Mathematical Library, Cambridge University Press, Cambridge, UK).Google Scholar
  • Powell WB (2007) Approximate Dynamic Programming: Solving the Curses of Dimensionality (John Wiley & Sons, Hoboken, NJ).Google Scholar
  • Prashanth L, Korda N, Munos R (2021) Concentration bounds for temporal difference learning with linear function approximation: The case of batch data and uniform sampling. Machine Learn. 110(3):559–618.Google Scholar
  • Qu G, Wierman A (2020) Finite-time analysis of asynchronous stochastic approximation and Q-learning. Proc. 33rd Conf. Learn. Theory, vol. 125 (PMLR), 3185–3205.Google Scholar
  • Seneta E (2021) Sensitivity analysis, ergodicity coefficients, and rank-one updates for finite Markov chains. Stewart WJ, ed. Numerical Solution of Markov Chains (CRC Press, Boca Raton, FL), 121–129.Google Scholar
  • Sidford A, Wang M, Wu X, Yang L, Ye Y (2018) Near-optimal time and sample complexities for solving Markov decision processes with a generative model. Adv. Neural Information Processing Systems, vol. 31 (Curran Associates Inc., Red Hook, NY).Google Scholar
  • Singh S, Jaakkola T, Littman ML, Szepesvári C (2000) Convergence results for single-step on-policy reinforcement-learning algorithms. Machine Learn. 38(3):287–308.Google Scholar
  • Srikant R, Ying L (2019) Finite-time error bounds for linear stochastic approximation and TD learning. Proc. 32nd Conf. on Learn. Theory, 2803–2830.Google Scholar
  • Sun T, Sun Y, Yin W (2018) On Markov chain gradient descent. Adv. Neural Information Processing Systems, vol. 31 (Curran Associates Inc., Red Hook, NY).Google Scholar
  • Thoppe G, Borkar V (2019) A concentration bound for stochastic approximation via Alekseev’s formula. Stochastic Systems 9(1):1–26.LinkGoogle Scholar
  • Tsitsiklis J, Van Roy B (1997) An analysis of temporal-difference learning with function approximation. IEEE Trans. Automated Control 42(5):674–690.Google Scholar
  • Wainwright MJ (2019a) Stochastic approximation with cone-contractive operators: Sharp -bounds for Q-learning. Preprint, submitted May 15, https://arxiv.org/abs/1905.06265.Google Scholar
  • Wainwright MJ (2019b) Variance-reduced Q-learning is minimax optimal. Preprint, submitted June 11, https://arxiv.org/abs/1906.04697.Google Scholar
  • Wang G, Li B, Giannakis GB (2020) A multistep Lyapunov approach for finite-time analysis of biased stochastic approximation. Preprint, submitted September 10, https://arxiv.org/abs/1909.04299.Google Scholar
  • Wang M, Liu J (2016) A stochastic compositional gradient method using Markov samples. Proc. Winter Simulation Conf., 702–713.Google Scholar
  • Watkins CJ (1989) Learning from delayed rewards. PhD thesis, King’s College, Cambridge UK.Google Scholar
  • Watkins CJ, Dayan P (1992) Q-learning. Machine Learn. 8(3-4):279–292.Google Scholar
  • Yang L, Wang M (2019) Sample-optimal parametric Q-learning using linearly additive features. Proc. 36th Internat. Conf. on Machine Learn., 6995–7004.Google Scholar
  • Yang Z, Jin C, Wang Z, Wang M, Jordan M (2020) On function approximation in reinforcement learning: Optimism in the face of large state spaces. Adv. Neural Information Processing Systems, vol. 34 (Curran Associates Inc., Red Hook, NY).Google Scholar