<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Finite-time error bounds for distributed linear stochastic approximation</title></titleStmt>
			<publicationStmt>
				<publisher>Elsevier</publisher>
				<date>01/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10535558</idno>
					<idno type="doi">10.1016/j.automatica.2023.111368</idno>
					<title level='j'>Automatica</title>
<idno>0005-1098</idno>
<biblScope unit="volume">159</biblScope>
<biblScope unit="issue">C</biblScope>					

					<author>Yixuan Lin</author><author>Vijay Gupta</author><author>Ji Liu</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This paper considers a novel multi-agent linear stochastic approximation algorithm driven by Markovian noise and general consensus-type interaction, in which each agent evolves according to its local stochastic approximation process which depends on the information from its neighbors. The interconnection structure among the agents is described by a time-varying directed graph. While the convergence of consensus-based stochastic approximation algorithms when the interconnection among the agents is described by doubly stochastic matrices (at least in expectation) has been studied, less is known about the case when the interconnection matrix is simply stochastic. For any uniformly strongly connected graph sequences whose associated interaction matrices are stochastic, the paper derives finite-time bounds on the mean-square error, defined as the deviation of the output of the algorithm from the unique equilibrium point of the associated ordinary differential equation. For the case of interconnection matrices being stochastic, the equilibrium point can be any unspecified convex combination of the local equilibria of all the agents in the absence of communication. Both the cases with constant and time-varying step-sizes are considered. In the case when the convex combination is required to be a straight average and interaction between any pair of neighboring agents may be uni-directional, so that doubly stochastic matrices cannot be implemented in a distributed manner, the paper proposes a push-sum-type distributed stochastic approximation algorithm and provides its finite-time bound for the time-varying step-size case by leveraging the analysis for the consensustype algorithm with stochastic matrices and developing novel properties of the push-sum algorithm. Distributed temporal difference learning is discussed as an illustrative application.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>The use of reinforcement learning (RL) to obtain policies that describe solutions to a Markov decision process (MDP) in which an autonomous agent interacting with an unknown environment aims to optimize its long term reward is now standard <ref type="bibr">(Sutton &amp; Barto, 2018)</ref>. Multi-agent RL is useful when a team of &#10025; Proofs of all the lemmas in this paper are omitted due to space limitations and can be found in <ref type="bibr">Lin et al. (2021)</ref>. The material in this paper was not presented at any conference. This paper was recommended for publication in revised form by Associate Editor Giacomo Como under the direction of Editor Christos G. Cassandras. &#10025;&#10025; The work of Y. Lin and J. Liu was supported in part by the National Science Foundation under Grant No. 2230101 and by the Air Force Office of Scientific Research under award number FA9550-23-1-0175. The work of V. Gupta was supported in part by ARO W911NF2310111, W911NF2310266, and W911NF-23-1-0316, AFOSR F.10052139.02.005, and ONR F.10052139.02.009. agents interacts with an unknown environment or system and aims to collaboratively accomplish tasks involving distributed decision-making.</p><p>Stochastic approximation is a family of model-free stochastic algorithms tailored for seeing the extrema of unknown functions via noisy observations only <ref type="bibr">(Robbins &amp; Monro, 1951)</ref>. It is a key tool for designing and analyzing RL algorithms, including temporal difference (TD) learning as a special case <ref type="bibr">(Sutton &amp; Barto, 2018)</ref>. Convergence study of stochastic approximation based on ordinary differential equation (ODE) methods has a long history <ref type="bibr">(Borkar &amp; Meyn, 2000)</ref>. Notable examples are <ref type="bibr">Dayan (1992)</ref>, <ref type="bibr">Tsitsiklis and Van Roy (1997)</ref> which prove asymptotic convergence of TD(&#955;). Recently, finite-time performance of single-agent stochastic approximation and TD algorithms has been studied in <ref type="bibr">Bhandari, Russo, and Singal (2018)</ref>, <ref type="bibr">Chen, Maguluri, Shakkottai, and Shanmugam (2020)</ref>, <ref type="bibr">Dalal, Sz&#246;r&#233;nyi, Thoppe, and Mannor (2018)</ref>, <ref type="bibr">Gupta, Srikant, and Ying (2019)</ref>, <ref type="bibr">Lakshminarayanan and Szepesvari (2018)</ref>, <ref type="bibr">Ma, Zhou, and Zou (2020)</ref>, <ref type="bibr">Srikant and Ying (2019)</ref>, <ref type="bibr">Wang, Chen, Liu, Ma, and Liu (2017)</ref>, <ref type="bibr">Xu, Zou, and Liang (2019)</ref>; many other works have now appeared that perform finite-time analysis for other RL algorithms, see, e.g., <ref type="bibr">Borkar and Pattathil (2018)</ref>, <ref type="bibr">Chen, Devraj, Bu&#353;i&#263;, and Meyn (2020)</ref>, <ref type="bibr">Dalal, Thoppe, Sz&#246;r&#233;nyi, and Mannor (2018)</ref>, <ref type="bibr">Ma, Chen, Zhou, and Zou (2021)</ref>, <ref type="bibr">Qu and Wierman (2020)</ref>, <ref type="bibr">Wang, Li, and Giannakis (2019)</ref>, <ref type="bibr">Wang and Zou (2020)</ref>, <ref type="bibr">Weng, Gupta, He, Ying, and Srikant (2020)</ref>, <ref type="bibr">Wu, Zhang, Xu, and Gu (2020)</ref>, <ref type="bibr">Xu and Gu (2020)</ref>, <ref type="bibr">Zou, Xu, and Liang (2019)</ref>, just to name a few. Many distributed multiagent RL algorithms have been proposed in the literature <ref type="bibr">(Zhang, Yang, &amp; Ba&#351;ar, 2021)</ref>. In this setting, each agent can receive information only from its neighbors, and no single agent can solve the problem alone or by 'taking the lead'. Many works have analyzed asymptotic convergence of such RL algorithms using ODE methods <ref type="bibr">(Lin et al., 2019;</ref><ref type="bibr">Suttle et al., 2020;</ref><ref type="bibr">Zhang, Yang, &amp; Ba&#351;ar, 2018;</ref><ref type="bibr">Zhang, Yang, Liu, Zhang, &amp; Ba&#351;ar, 2018;</ref><ref type="bibr">Zhang &amp; Zavlanos, 2019)</ref>. This can be viewed as an application of ideas from distributed stochastic approximation <ref type="bibr">(Bianchi, Fort, &amp; Hachem, 2013;</ref><ref type="bibr">Huang, 2012;</ref><ref type="bibr">Kushner &amp; Yin, 1987;</ref><ref type="bibr">Stankovi&#263;, Ili&#263;, &amp; Stankovi&#263;, 2016;</ref><ref type="bibr">Stankovi&#263; &amp; Stankovi&#263;, 2016;</ref><ref type="bibr">Stankovi&#263;, Stankovi&#263;, &amp; Stipanovi&#263;, 2010)</ref>. Finite-time performance guarantees for distributed RL have also been provided in works, most notably in <ref type="bibr">Doan, Maguluri, and</ref><ref type="bibr">Romberg (2019, 2021)</ref>, <ref type="bibr">Sun, Wang, Giannakis, Yang, and Yang (2020)</ref>, <ref type="bibr">Wang, Lu, Giannakis, Tesauro, and Sun (2020)</ref>, <ref type="bibr">Zeng, Doan, and Romberg (2020)</ref>, <ref type="bibr">Zhang, Yang, Liu, Zhang, and Ba&#351;ar (2021)</ref>.</p><p>The assumption that is the central concern of this paper and is made in all the existing finite-time analyses for distributed RL algorithms is that the consensus interaction is characterized by doubly stochastic matrices <ref type="bibr">(Doan et al., 2019</ref><ref type="bibr">(Doan et al., , 2021;;</ref><ref type="bibr">Sun et al., 2020;</ref><ref type="bibr">Wang et al., 2020;</ref><ref type="bibr">Zeng et al., 2020;</ref><ref type="bibr">Zhang, Yang, Liu, et al., 2021)</ref> at every time step, or at least in expectation <ref type="bibr">(Bianchi et al., 2013)</ref>. In a realistic network, especially with mobile agents such as autonomous vehicles, drones, or robots, uni-directional communication is inevitable due to various reasons such as asymmetric communication and privacy constraints, non-zero communication failure probability between any two agents at any given time, and application of resilient consensus in the presence of adversary attacks (LeBlanc, <ref type="bibr">Zhang, Koutsoukos, &amp; Sundaram, 2013;</ref><ref type="bibr">Vaidya, Tseng, &amp; Liang, 2012)</ref>, all leading to an interaction among the agents characterized by a stochastic matrix, which may further be time-varying. The problem of design of distributed RL algorithms with time-varying stochastic matrices and characterizing either their asymptotic convergence or finite time analysis remains open. Technical challenges in removing the assumption of doubly stochastic matrices are discussed in detail in <ref type="bibr">Lin, Gupta, and Liu 2021, Section 1.</ref> We propose a novel consensus-based distributed linear stochastic approximation algorithm driven by Markovian noise in which each agent evolves according to its local stochastic approximation process and the information from its neighbors. We assume only a (possibly time-varying) stochastic matrix being used during the consensus phase, which is a more practical assumption when only unidirectional communication is possible among agents. We establish both convergence guarantees and finite-time bounds on the mean-square error, defined as the deviation of the output of the algorithm from the unique equilibrium point of the associated ordinary differential equation. The equilibrium point can be an ''uncontrollable'' convex combination of the local equilibria of all the agents in the absence of communication. We consider both the cases of constant and time-varying stepsizes. Our results subsume the existing results on convergence and finite-time analysis of distributed RL algorithms that assume doubly stochastic matrices and bi-directional communication as special cases. In the case when the convex combination is required to be a straight average and interaction between any pair of neighboring agents may be uni-directional, we propose a push-type distributed stochastic approximation algorithm and establish its finite-time performance bound. It is worth emphasizing that it is straightforward to extend our algorithm from the straight average point to any pre-specified convex combination. Since it is well known that TD algorithms can be viewed as a special case of linear stochastic approximation <ref type="bibr">(Tsitsiklis &amp; Van Roy, 1997)</ref>, our distributed linear stochastic approximation algorithms and their finite-time bounds can be applied to TD algorithms in a straightforward manner.</p><p>Notation We use X t to represent that a variable X is timedependent and t &#8712; {0, 1, 2, . . .} is the discrete time index. The ith entry of a vector x will be denoted by x i and, also, by (x) i when convenient. The ijth entry of a matrix A will be denoted by a ij and, also, by (A) ij when convenient. We use 1 n to denote the vectors in R n whose entries all equal to 1's, and I to denote the identity matrix, whose dimension is to be understood from the context.</p><p>Given a set S with finitely many elements, we use |S| to denote the cardinality of S. We use &#8968;&#8226;&#8969; to denote the ceiling function.</p><p>A vector is called a stochastic vector if its entries are nonnegative and sum to one. A square nonnegative matrix is called a row stochastic matrix, or simply stochastic matrix, if its row sums all equal one. Similarly, a square nonnegative matrix is called a column stochastic matrix if its column sums all equal one. A square nonnegative matrix is called a doubly stochastic matrix if its row sums and column sums all equal one. The graph of an n &#215; n matrix is a direct graph with n vertices and a directed edge from vertex i to vertex j whenever the ji-th entry of the matrix is nonzero. A directed graph is strongly connected if it has a directed path from any vertex to any other vertex. For a strongly connected graph G, the distance from vertex i to another vertex j is the length of the shortest directed path from i to j; the longest distance among all ordered pairs of distinct vertices i and j in G is called the diameter of G.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Distributed linear stochastic approximation</head><p>The stochastic approximation is a method for approximating the solution of an optimization problem when the objective function is not known, but where only noisy observations are available <ref type="bibr">(Kushner &amp; Yin, 1997)</ref>. The linear stochastic approximation is a specific form of stochastic approximation that is used to solve linear regression problems with stochastic noise.</p><p>Consider a network consisting of N agents. For the purpose of presentation, we label the agents from 1 through N. The agents are not aware of such a global labeling, but can differentiate between their neighbors. The neighbor relations among the N agents are characterized by a time-dependent directed graph G t = (V, E t ) whose vertices correspond to agents and whose directed edges (or arcs) depict neighbor relations, where V = {1, . . . , N} is the vertex set and E t = V &#215; V is the edge set at time t. Specifically, agent j is an in-neighbor of agent i at time t if (j, i) &#8712; E t , and similarly, agent k is an out-neighbor of agent i at time t if (i, k) &#8712; E t . Each agent can send information to its outneighbors and receive information from its in-neighbors. Thus, the directions of edges represent the directions of information flow. For convenience, we assume that each agent is always an in-and out-neighbor of itself, which implies that G t has self-arcs at all vertices for all time t. We use N i t and N i- t to denote the inand out-neighbor set of agent i at time t, respectively, i.e.,</p><p>It is clear that N i t and N i- t are nonempty as they both contain index i. We propose the following distributed linear stochastic approximation over a time-varying neighbor graph sequence {G t }. Each agent i &#8712; V has control over a random vector &#952; i t &#8712; R d for any t &#8712; {0, 1, 2, . . .}, which is updated by</p><p>where w ij t are consensus weights, &#945; t is the step-size at time t, A(X t ) &#8712; R d&#215;d is a random matrix and b i (X t ) &#8712; R d is a random vector, both generated based on the Markov chain {X t } with state spaces X . It is worth noting that the update (1) of each agent only uses its own and in-neighbors' information and thus is distributed.</p><p>Remark 1. The work of <ref type="bibr">Kushner and Yin (1987)</ref> considers a different consensus-based networked linear stochastic approximation for any i &#8712; V, t &#8712; {0, 1, 2, . . .} as follows:</p><p>) ,</p><p>(2)</p><p>), and mainly focuses on asymptotically weakly convergence for the fixed step-size case (i.e., &#945; t = &#945; for all t). Under the similar set of conditions, with its condition (C3.4') being a stochastic analogy for Assumption 6, Theorem 3.1 in <ref type="bibr">Kushner and Yin (1987)</ref> shows that (2) has a limit which can be verified to be the same as &#952; * , the limit of (1). How to apply the finite-time analysis tools in this paper to (2) has so far eluded us. The two updates (1) and</p><p>(2) are analogous to the ''combine-then-adapt'' and ''adapt-thencombine'' diffusion strategies in distributed optimization <ref type="bibr">(Chen &amp; Sayed, 2012)</ref>. &#9633;</p><p>We impose the following assumption on the weights w ij t which has been widely adopted in consensus literature <ref type="bibr">(Jadbabaie, Lin, &amp; Morse, 2003;</ref><ref type="bibr">Nedi&#263; &amp; Liu, 2017;</ref><ref type="bibr">Olfati-Saber, Fax, &amp; Murray, 2007)</ref>.</p><p>Assumption 1. There exists a constant &#946; &gt; 0 such that for all i, j &#8712; V and t, w ij t &#8805; &#946; whenever j &#8712; N i t . For all i &#8712; V and t, &#8721;</p><p>Let W t be the N &#215; N matrix whose ijth entry equals w ij t if j &#8712; N i t and zero otherwise. From Assumption 1, each W t is a stochastic matrix that is compliant with the neighbor graph G t . Since each agent i is always assumed to be an in-neighbor of itself, all diagonal entries of W t are positive. Thus, if G t is strongly connected, W t is irreducible and aperiodic. To proceed, define</p><p>Then, the N linear stochastic recursions in (1) for any t &#8712; {0, 1, 2, . . .} can be combined and written as</p><p>(3)</p><p>The goal of this section is to characterize the finite-time performance of (1), or equivalently (3), with the following standard assumptions, which were adopted e.g. in <ref type="bibr">Doan et al. (2019)</ref>, <ref type="bibr">Srikant and Ying (2019)</ref>.</p><p>Assumption 2. There exists a matrix A and vectors b i , i &#8712; V, such that</p><p>Assumption 3. Given a positive constant &#945;, we use &#964; (&#945;) to denote the mixing time of the Markov chain {X t } for which</p><p>The Markov chain {X t } mixes at a geometric rate, i.e., there exists a constant C such that &#964; (&#945;) &#8804; -C log &#945;.</p><p>Assumption 4. All eigenvalues of A have strictly negative real parts, i.e., A is a Hurwitz matrix. Then, there exists a symmetric positive definite matrix P, such that A &#8868; P + PA = -I. Let &#947; max and &#947; min be the maximum and minimum eigenvalues of P, respectively.</p><p>Assumption 5. The step-size sequence {&#945; t } is positive, nonincreasing, and satisfies</p><p>To state our first main result, we need the following concepts.</p><p>Definition 1. A graph sequence {G t } is uniformly strongly connected if there exists a positive integer L such that for any t &#8805; 0, the union graph &#8746; t+L-1 k=t G k is strongly connected. If such an integer exists, we sometimes say that {G t } is uniformly strongly connected by sub-sequences of length L. Remark 2. Two popular joint connectivity definitions in consensus literature are ''B-connected'' (Nedi&#263;, Olshevsky, Ozdaglar, &amp; Tsitsiklis, 2009) and ''repeatedly jointly strongly connected'' (Cao, Morse, &amp; Anderson, 2008). A graph sequence {G t } is B-connected if there exists a positive integer B such that the union graph &#8746; (k+1)B-1 t=kB G t is strongly connected for each integer k &#8805; 0. Although the uniformly strongly connectedness looks more restrictive compared with B-connectedness at first glance, they are in fact equivalent. To see this, first it is easy to see that if {G t } is uniformly strongly connected, {G t } must be B-connected; now supposing {G t } is B-connected, for any fix t, the union graph &#8746; t+2B-1 k=t</p><p>G k must be strongly connected, and thus {G t } is uniformly strongly connected by sub-sequences of length 2B. Thus, the two definitions are equivalent. It is also not hard to show that the uniformly strongly connectedness is equivalent to ''repeatedly jointly strongly connectedness'' provided the directed graphs under consideration all have self-arcs at all vertices, with ''repeatedly jointly strongly connectedness'' being defined upon ''graph composition'' <ref type="bibr">(Cao et al., 2008)</ref>. &#9633; Definition 2. Let {W t } be a sequence of stochastic matrices.</p><p>A sequence of stochastic vectors {&#960; t } is an absolute probability sequence for {W t } if &#960; &#8868; t = &#960; &#8868; t+1 W t for all t. This definition was first introduced by Kolmogorov who proved that every sequence of stochastic matrices has an absolute probability sequence <ref type="bibr">(Kolmogoroff, 1936)</ref>. An alternative proof of this fact was given by <ref type="bibr">Blackwell (1945)</ref>. In general, a sequence of stochastic matrices may have more than one absolute probability sequence; when the sequence of stochastic matrices is ''ergodic'', it has a unique absolute probability sequence <ref type="bibr">(Nedi&#263; &amp; Liu, 2017)</ref>. It is easy to see that when W t is a fixed irreducible stochastic matrix W , &#960; t is simply the normalized left eigenvector of W for eigenvalue one. More can be said.</p><p>Lemma 1 <ref type="bibr">(Lemma 5.8 in Touri (2012)</ref>). Suppose that Assumption 1 holds. If {G t } is uniformly strongly connected, then there exists a unique absolute probability sequence {&#960; t } for the matrix sequence {W t } and a constant &#960; min &#8712; (0, 1) such that &#960; i t &#8805; &#960; min for all i and t.</p><p>Asymptotic performance of (1) with any uniformly strongly connected neighbor graph sequence is characterized by the following two theorems.</p><p>Theorem 1. Suppose that Assumption 1, 2 and 5 hold. Let {&#952; i t }, i &#8712; V, be generated by (1). If {G t } is uniformly strongly connected, then lim t&#8594;&#8734; &#8741;&#952; i t -&#10216;&#952; &#10217; t &#8741; 2 = 0 for all i &#8712; V. Theorem 1 only shows that all the sequences {&#952; i t }, i &#8712; V, generated by (1) will finally reach a consensus, but not necessarily convergent or bounded. To guarantee the convergence of the sequences, we further need the following assumption, whose validity is discussed in Remark 3.</p><p>Assumption 6. The absolute probability sequence {&#960; t } for the stochastic matrix sequence {W t } has a limit, i.e., there exists a stochastic vector &#960; &#8734; such that lim t&#8594;&#8734; &#960; t = &#960; &#8734; .</p><p>Theorem 2. Suppose that Assumptions 1-6 hold. Let {&#952; i t }, i &#8712; V, be generated by (1) and &#952; * be the unique equilibrium point of the</p><p>where A and b i are defined in Assumption 2 and &#960; &#8734; is defined in Assumption 6. If {G t } is uniformly strongly connected, then all &#952; i t will converge to &#952; * both with probability 1 and in mean square.</p><p>Remark 3. Though Assumption 6 may look restrictive at first glance, simple simulations show that the sequences {&#952; i t }, i &#8712; V, do not converge if the assumption does not hold (e.g., even when W t changes periodically). It is worth emphasizing that the existence of &#960; &#8734; does not imply the existence of lim t&#8594;&#8734; W t , though the converse is true. Indeed, the assumption subsumes various cases including (a) all W t are doubly stochastic matrices, and (b) all W t share the same left eigenvector for eigenvalue 1, which may arise from the scenario when the number of inneighbors of each agent does not change over time <ref type="bibr">(Olshevsky &amp; Tsitsiklis, 2013)</ref>. An important implication of Assumption 6 is when the consensus interaction among the agents, characterized by {W t }, is replaced by resilient consensus algorithms such as LeBlanc et al. ( <ref type="formula">2013</ref>), <ref type="bibr">Vaidya et al. (2012)</ref> in order to attenuate the effect of unknown malicious agents, the resulting dynamics of non-malicious agents, in general, will not converge, because the resulting interaction stochastic matrices among the non-malicious agents depend on the state values transmitted by the malicious agents, which can be arbitrary, and thus the resulting stochastic matrix sequence, in general, does not have a convergent absolute probability sequence; of course, in this case, the trajectories of all the non-malicious agents will still reach a consensus as long as the step-size is diminishing, as implied by Theorem 1. Further discussion on Assumption 6 can be found in Appendix B. &#9633;</p><p>We now study the finite-time performance of the proposed distributed linear stochastic approximation (1) for both fixed and time-varying step-size cases. Its finite-time performance is characterized by the following theorem.</p><p>Let &#951; t = &#8741;&#960; t -&#960; &#8734; &#8741; 2 for all t &#8805; 0. From Assumption 6, &#951; t converges to zero as t &#8594; &#8734;.</p><p>Theorem 3. Let the sequences {&#952; i t }, i &#8712; V, be generated by (1). Suppose that Assumptions 1-4, 6 hold and {G t } is uniformly strongly connected by sub-sequences of length L. Let q t and m t be the unique integer quotient and remainder of t divided by L, respectively. Let &#948; t be the diameter of &#8746; t+L-1 k=t G k , &#948; max = max t&#8805;0 &#948; t , and</p><p>(2) Time-varying step-size:</p><p>) .</p><p>(8)</p><p>finite constants whose definitions are given in Appendix A.1. Since &#960; i t is uniformly bounded below by &#960; min &#8712; (0, 1) from Lemma 1, it is easy to see that the above bound holds for each individual E[&#8741;&#952; i t -&#952; * &#8741; 2 2 ]. To better understand the theorem, we provide the following remark. Remark 4. In Appendix D.2.1, we show that both &#1013; and (1-0.9&#945; &#947;max )</p><p>lie in the interval (0, 1). It is easy to show that &#1013; is monotonically increasing for &#948; max and L, monotonically decreasing for &#946; and &#960; min . Also,</p><p>Therefore, the summands in the finite-time bound (7) for the fixed step-size case are exponentially decaying except for the constant C 2 , which implies that lim sup t&#8594;&#8734;</p><p>providing a constant limiting bound. From Appendix A, C 2 is monotonically increasing for &#947; max , &#948; max , b max and L, and monotonically decreasing for &#947; min , &#960; min and &#946;. In Appendix D.2.2, we show that lim t&#8594;&#8734; 1 t &#8721; t k=1 &#951; k = 0, which implies that the finite-time bound (8) for the time-varying stepsize case converges to zero as t &#8594; &#8734;. We next comment on 0.1 in the inequality defining &#945;. Actually, we can replace 0.1 with any constant c &#8712; (0, 1), which will affect the value of &#1013; and the feasible set of &#945;, with the latter becoming 0 &lt; &#945; &lt; min{K 1 , log 2 Amax&#964; (&#945;) , c K 2 &#947;max }. Thus, the smaller the value of c is, the smaller is the feasible set of &#945;, though the feasible set is always nonempty. For convenience, we simply pick c = 0.1 in this paper; that is why we also have 0.9 in (7). Lastly, we comment on &#945; 0 in the time-varying step-size case. We set &#945; 0 &#8805; &#947;max 0.9 for the purpose of getting a cleaner expression of the finite-time bound.</p><p>For &#945; 0 &lt; &#947;max 0.9 , our approach still works, but will yield a more complicated expression. The same is true for Theorem 5. &#9633; Technical Challenge and Proof Sketch As described in the introduction, the key challenge of analyzing the finite-time performance of the distributed stochastic approximation (1) lies in the condition that the consensus-based interaction matrix is time-varying and stochastic (not necessarily doubly stochastic).</p><p>To tackle this, we appeal to the absolute probability sequence &#960; t of the time-varying interaction matrix sequence and introduce the quadratic Lyapunov comparison function</p><p>, the next step is to find the finite-time bounds of</p><p>), respectively. The latter term is essentially the ''single-agent'' mean-square error. Our main analysis contribution here is to bound the former term for both fixed and time-varying step-size cases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Push-SA</head><p>The preceding section shows that the limiting state of consensus-based distributed stochastic approximation depends on &#960; &#8734; , which leads to a convex combination of the local equilibria of all the agents in the absence of communication, but the convex combination is in general ''uncontrollable''. Note that this convex combination will correspond to a convex combination of the network-wise accumulative rewards in applications such as distributed TD learning. In an important case when the convex combination is desired to be the straight average, the existing literature e.g. <ref type="bibr">Doan et al. (2019</ref><ref type="bibr">Doan et al. ( , 2021) )</ref> relies on doubly stochastic matrices whose corresponding &#960; &#8734; = (1/N)1 N . As mentioned in the introduction, doubly stochastic matrices implicitly require bi-directional communication between any pair of neighboring agents; see e.g. gossiping <ref type="bibr">(Boyd, Ghosh, Prabhakar, &amp; Shah, 2006;</ref><ref type="bibr">Liu, Mou, Morse, Anderson, &amp; Yu, 2011)</ref> and the Metropolis algorithm <ref type="bibr">(Xiao, Boyd, &amp; Lall, 2005)</ref>. A popular method to achieve the straight average target while allowing unidirectional communication between neighboring agents is to appeal to the idea so-called ''push-sum'' <ref type="bibr">(Kempe, Dobra, &amp; Gehrke, 2003)</ref>, which was tailored for solving the distributed averaging problem over directed graphs and has been applied to distributed optimization <ref type="bibr">(Nedi&#263; &amp; Olshevsky, 2015)</ref>. In this section, we will propose a push-based distributed stochastic approximation algorithm tailored for uni-directional communication and establish its finite-time error bound.</p><p>Each agent i has control over three variables, namely y i t , &#952;i t and &#952; i t , in which y i t is scalar-valued with initial value 1, &#952;i t can be arbitrarily initialized, and &#952; i 0 = &#952;i 0 . At each time t &#8805; 0, each agent i sends its weighted current values &#373;ji t y i t and &#373;ji t ( &#952;i t + &#945; t A(X t )&#952; t + &#945; t b i (X t )) to each of its current out-neighbors j &#8712; N i- t , and updates its variables as follows:</p><p>)] ,</p><p>where &#373;ij t = 1/|N j- t |. It is worth noting that the algorithm is distributed yet requires that each agent be aware of the number of its out-neighbors. Asymptotic performance of ( <ref type="formula">9</ref>) with any uniformly strongly connected neighbor graph sequence is characterized by the following theorem.</p><p>Theorem 4. Suppose that Assumptions 2-5 hold. Let {&#952; i t }, i &#8712; V, be generated by (9) and &#952; * &#8712; R d be the unique equilibrium point of the ODE</p><p>where A and b i are defined in Assumption 2. If {G t } is uniformly strongly connected, then &#952; i t will converge to &#952; * in mean square for all i &#8712; V.</p><p>In this section, we define</p><p>To help understand these definitions, let &#372;t be the N &#215; N matrix whose ij-th entry equals &#373;ij t if j &#8712; N i t , otherwise equals zero. It is easy to see that each &#372;t is a column stochastic matrix whose diagonal entries are all positive. Then, &#960; t = 1 N 1 N for all t &#8805; 0 can be regarded as an absolute probability sequence of { &#372;t }. Thus, the above two definitions are intuitively consistent with &#10216;&#952;&#10217; t in the previous section.</p><p>Finite-time performance of (9) with any uniformly strongly connected neighbor graph sequence is characterized by the following theorem.</p><p>Let &#181; t = &#8741;A(X t )(&#10216;&#952; &#10217; t -&#10216; &#952;&#10217; t )&#8741; 2 . In Appendix D.3, we show that &#8741;&#10216;&#952; &#10217; t -&#10216; &#952;&#10217; t &#8741; 2 converges to zero as t &#8594; &#8734;, so does &#181; t .</p><p>Theorem 5. Suppose that Assumptions 2-4 hold and {G t } is uniformly strongly connected by sub-sequences of length L. Let {&#952; i t }, i &#8712; V, be generated by (9) with &#945; t = &#945; 0 t+1 and &#945; 0 &#8805; &#947;max 0.9 . Then, there exists a nonnegative &#949; &#8804; (1 -1</p><p>where T and C 7 -C 12 are finite constants whose definitions are given in Appendix A.2.</p><p>In Appendix D.3, we show that lim t&#8594;&#8734; 1 t &#8721; t k=1 &#181; k = 0, which implies that the finite-time bound (11) converges to zero as t &#8594; &#8734;. It is worth mentioning that the theorem does not consider the fixed step-size case, as our current analysis approach cannot be directly applied for this case.</p><p>Proof Sketch and Technical Challenge Using the inequality for any i</p><p>our goal is to derive the finite-time bounds of E[&#8741;&#952; i t+1 -&#10216; &#952;&#10217; t &#8741; 2 2 ] (Lemma 12) and E[&#8741;&#10216; &#952;&#10217; t -&#952; * &#8741; 2 2 ] (Lemma 14), respectively.</p><p>Although this looks similar to the proof of Theorem 3, the derivation is quite different. First, the iteration of &#10216; &#952;&#10217; t is a single-agent stochastic approximation (SA) plus a disturbance term &#10216;&#952;&#10217; t -&#10216; &#952;&#10217; t , so we cannot directly apply the existing single-agent SA finitetime analyses to bound E[&#8741;&#10216; &#952;&#10217; t -&#952; * &#8741; 2 2 ]; instead, we have to show that &#10216;&#952;&#10217; t -&#10216; &#952;&#10217; t will diminish and quantify the diminishing ''speed''. Second, both the proof of showing diminishing &#10216;&#952;&#10217; t -&#10216; &#952;&#10217; t and derivation of bounding</p><p>2 ] involve a key challenge: to prove the sequence {&#952; i t } generated from the Push-SA ( <ref type="formula">9</ref>) is bounded almost surely (Lemma 11). To tackle this, we introduce a novel way to constructing an absolute probability sequence for the Push-SA as follows. From ( <ref type="formula">9</ref>),</p><p>. We show that each matrix Wt = [ wij t ] is stochastic, and there exists a unique absolute probability sequence { &#960;t } for the matrix sequence { Wt } such that &#960; i t &#8805; &#960;min for all i &#8712; V and t &#8805; 0, with the constant &#960;min &#8712; (0, 1). Most importantly, we show two critical properties of { Wt } and { &#960;t } in Lemma 10, namely</p><p>N for all i, j &#8712; V and t &#8805; 0, which have never been reported in the literature though push-sum-based distributed algorithms have been extensively studied.</p><p>Remark 5. It is worth mentioning that the approach for analyzing push-SA here can be leveraged to establish a better convergence rate for the subgradient-push algorithm proposed in <ref type="bibr">Nedi&#263; and Olshevsky (2015)</ref>; see a much more comprehensive development of the novel push-sum based analysis tool and its application in analyzing subgradient-push in <ref type="bibr">Lin and Liu (2022)</ref>. &#9633;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Concluding remarks</head><p>In this paper, we have established both asymptotic and nonasymptotic analyses for a consensus-based distributed linear stochastic approximation algorithm over uniformly strongly connected graphs, and proposed a push-based variant for coping with uni-directional communication. Both algorithms and their analyses can be directly applied to TD learning. One limitation of our finite-time bounds is that they involve quite a few constants which are well defined and characterized but whose values are not easy to compute. Future directions include leveraging the analyses for resilience in the presence of malicious agents and extending the tools to more complicated RL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix A. List of constants</head><p>In this appendix, we list all the constants used in our main results, Theorems 3 and 5. They are finite and their expressions do not affect the understanding of the theorems. Since their expressions are quite long and complicated, we begin with the following set of constants, based on which we will be able to present the constants used in the theorems and the proofs of the theorems in an easier way. We hope that this way can also help the readers to better understand and follow our results and analyses.</p><p>The first constant &#950; 1 is defined as follows. Recall that &#1013; is given in (6) as &#1013; =</p><p>&#950; 1 is defined as the unique solution for which &#1013; = 1 if &#945; = &#950; 1 .</p><p>The following remark shows why &#950; 1 uniquely exists.</p><p>Remark 6. From (6), it is easy to see that &#1013; is monotonically increasing for &#945; &gt; 0. Define the corresponding monotonic function as</p><p>Note that 0 &lt; f (0) &lt; 1 and f (+&#8734;) = +&#8734;. Thus, f (&#945;) = 1 has a unique solution &#950; 1 . &#9633;</p><p>The other constants are defined as follows:</p><p>Here &#181; max = (N + 1)A max C &#952; , where C &#952; is a finite number defined in Lemma 11 which can be regarded as an upper bound of 2-norm of each agent i's state &#952; i t generated by the Push-SA algorithm (9).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1. Constants used in Theorem</head><p>3</p><p>T 1 is any positive integer such that for all t &#8805; T 1 , there hold t &#8805; &#964; (&#945;) and 36</p><p>Remark 7. We show that T 1 must exist. From 0 &lt; &#945; &lt; min{K 1 , log 2 Amax&#964; (&#945;) , 0.1 K 2 &#947;max }, it is easy to see that the feasible set of &#945; is nonempty and K 2 &#945;&#947; max &lt; 0.1. Since lim t&#8594;&#8734; &#951; t = 0 by Lemma 6 and &#964; (&#945;) &#8804; -C log &#945; by Assumption 3, there exists a time instant T &#8805; -C log &#945; such that for any t &#8805; T , there hold t &#8805; &#964; (&#945;) and &#951; t+1 &#8804; (0.1 -K 2 &#945;&#947; max )/(36</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#8730;</head><p>Nb max &#947; max ), which implies that T 1 must exist. &#9633; T 2 is any positive integer such that for all t &#8805; LT 2 , there hold</p><p>Remark 8. We explain why T 2 must exist. Since &#945; t = &#945; 0 t+1 is monotonically decreasing for t and &#964; (&#945; t ) &#8804; -C log &#945; t = -C log &#945; 0 +C log(t +1) from Assumption 3, there exists a positive S 1 such that for any t &#8805; S 1 , we have &#945; t &#8804; &#945; and t &#8805; 2&#964; (&#945; t ) for any constant 0 &lt; &#945; &lt; min{K 1 , log 2 Amax&#964; (&#945;) , 0.1 K 2 &#947;max }. Moreover, it is easy to show that</p><p>Then, there exists a positive S 2 such that for any t &#8805; S 2 , we have &#964; (&#945; t )&#945; t-&#964; (&#945;t ) &#8804; min{ log 2 Amax , 0.1 &#950; 5 &#947;max }. In addition, since lim t&#8594;&#8734; &#951; t = 0 from Lemma 6, when &#964; (&#945; t )&#945; t-&#964; (&#945;t ) &#8804; 0.1 &#950; 5 &#947;max , there exists a positive S 3 such that for any t &#8805; S 3 , we have &#951; t+1 &#8804; (0.1 -</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#8730;</head><p>Nb max &#947; max ). Thus, T 2 must exist as we can set</p><p>Here &#1013; 1 is a positive constant defined as</p><p>From Corollary 2 (b) in <ref type="bibr">Nedi&#263; and Olshevsky (2015)</ref> and the fact</p><p>for more details.</p><p>T is any positive integer such that for all t &#8805; T , there hold 2&#964;</p><p>Remark 9. From Lemma 13, lim t&#8594;&#8734; &#181; t = 0. Then, using the similar arguments as in Remark 8, we can show the existence of T . &#9633;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix B. Discussion on Assumption 6</head><p>We contend that Assumption 6 has more general applications than the previously known case.</p><p>First, as mentioned in Remark 3, there are at least two cases which satisfy Assumption 6, yet cannot be directly handled by the existing analysis tool, which was developed only for doubly stochastic matrices. Case 1 is when the number of in-neighbors of agents is unchanged over time. This case has an interesting behavioral interpretation in fish biology, and has been adopted in bio-inspired distributed algorithm design <ref type="bibr">(Abaid &amp; Porfiri, 2010)</ref>. Case 2 is when the interaction matrix changes arbitrarily over time during an initial period, after which it finally becomes fixed. As we describe below, Case 2 occurs naturally in certain multiagent systems.</p><p>Case 1 is mathematically equivalent to the situation when all stochastic matrices share the same left dominant eigenvector, which subsumes doubly stochastic matrices as a special case; thus it could be analyzed by carefully choosing a fixed norm. There may be different choices: one choice is to apply our time-varying quadratic Lyapunov comparison function</p><p>to the time-invariant case (i.e., &#960; i t does not change over time), which leads to the weighted Frobenius norm defined in the appendix.</p><p>The extension to Case 1 just described may be straightforward, but Case 2 is not. As we proved in Theorems 2 and 3, when the interaction matrix arbitrarily changes over time for an initial period, say of length T , and finally becomes a fixed matrix or enters Case 1, all agents' trajectories determined by (1) will converge in mean square. Also, recall that the corresponding finite-time error bounds in this case were derived using the ''absolute probability sequence'' technique. Note that the existing techniques can only be applied to analyze (1) after time T ; when T is very large, such an analysis is undesirable, since the focus and challenge here are for ''finite'' time.</p><p>It is important to note that Case 2 provides a realistic model for certain systems. Consider scenarios in which some agents do not function stably and thus they communicate with their neighbors sporadically for a certain period, leading to a timevarying stochastic matrix. Such scenarios occur naturally when there is unstable communication due to environmental changes or movement of agents (e.g., robots or UAVs may need to move into a new formation while continuing computation). After this unstable period, which could be long, the whole system then enters a stable operation status. This satisfies Case 2 and our finite-time analysis can be applied to the whole process, no matter how long the unstable period could be, as long as it is finite. In addition to this example, Case 2 and our analysis can be applied to certain scenarios in the presence of malicious agents. Suppose the system is aware that a small subset of agents have potentially been attacked and are thus behaving maliciously. To protect the system, the consensus interaction among the agents can switch to resilient consensus algorithms such as <ref type="bibr">LeBlanc et al. (2013</ref><ref type="bibr">), Vaidya et al. (2012)</ref> in order to attenuate the effect of malicious agents. In this situation, the resulting dynamics of the non-malicious agents are in general characterized by a time-varying stochastic matrix. After identifying and/or fixing the malicious agents, which could be a very slow process, the system can switch back to normal operation status. This example again satisfies Case 2, and our analysis can be applied to the whole procedure. As we mentioned in Remark 3, if some malicious agents always exist, the non-malicious agents in general will not converge, and thus a finite-time analysis is probably meaningless. The non-convergence issue will be further explained in the next subsection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix C. Distributed TD learning</head><p>In this section, we apply our distributed stochastic approximation finite-time analyses to distributed TD learning, as TD(&#955;) is a special cases of stochastic approximation. To this end, we first introduce the following multi-agent MDP tailored for distributed TD.</p><p>The multi-agent MDP can be defined by a tuple (S, {U i } i&#8712;V , {R i } i&#8712;V , P, &#947; , {G t } t&#8805;0 ). Here S = {1, . . . , S} is the finite set of S states and U i is the set of control actions for agent i. For each agent i, R i</p><p>is the joint control action space. In addition, P : S &#215; U &#215; S &#8594; [0, 1] denotes the state transition probability matrix of the MDP, and &#947; &#8712; (0, 1) is the discount factor. Given a fixed policy, let P be of size S &#215; S for convenience, and thus its ij-th entry pij equals the probability from state i to state j under the given policy. The multi-agent MDP then evolves as follows.</p><p>At each time t &#8805; 0, each agent i observes the current state s t &#8712; S, takes action u i t = &#181; i (s t ) &#8712; U i , and receive a corresponding reward R i (s t , u t , s t+1 ), where &#181; i : S &#8594; U i is a function mapping a state to a control action in U i and u</p><p>is worth emphasizing that in such a multi-agent setting, each agent's rewards and reward function are private information, and thus cannot be shared with any other agents.</p><p>The discounted accumulative reward J : S &#8594; R associated with the above multi-agent MDP is defined for each s &#8712; S as</p><p>which satisfies the Bellman equation <ref type="bibr">(Sutton &amp; Barto, 2018)</ref>, i.e.,</p><p>where c i &gt; 0, i &#8712; V, is a set of convex combination weights. The existing distributed RL algorithms all set c i = 1/N for all i &#8712; V (e.g., <ref type="bibr">Doan et al. 2019</ref><ref type="bibr">, Zhang, Yang, Liu, et al. 2018)</ref>, and this is why they require interaction matrices all be doubly stochastic. We will show that c i = &#960; i &#8734; for all i &#8712; V for general stochastic matrix sequences. Since for any doubly stochastic matrix sequence, its absolute probability sequence is &#960; t = (1/N)1 N , i.e., &#960; i &#8734; = 1/N for all i &#8712; V, our results generalize the existing results, e.g. <ref type="bibr">Doan et al. (2019</ref><ref type="bibr">Doan et al. ( , 2021))</ref>. In Section 3, we will show how to achieve the straight average reward, i.e., c i = 1/N for all i &#8712; V, without requiring doubly stochastic matrices.</p><p>When the number of the states is very large, the computation of exact J may be intractable. To get around this, as did in Tsitsiklis and Van Roy (1997), we use a low-dimensional linear function &#308; to approximate J. Specifically, the linear function approximator</p><p>where each &#966; s k is a fixed scalar function defined on the state space S, each &#952; k is the associated weight, and K &#8810; S. In other words, &#308; is parameterized by &#952; &#8712; R K , with &#952; k being the kth entry of &#952;. To proceed, let &#966; k &#8712; R S be the vector whose jth entry is &#966; j k for all k &#8712; {1, . . . , K }, let &#966;(s) &#8712; R K be the vector whose jth entry is &#966; s j for all s &#8712; S, and let &#934; &#8712; R S&#215;K be the matrix whose ith row is the row vector &#966;(i) &#8868; and whose jth column is the vector &#966; j , i.e., &#934; = [&#966; 1 , . . . , &#966; K ] = [&#966;(1), . . . , &#966;(S)] &#8868; &#8712; R S&#215;K , which implies &#308; = &#934;&#952; . The goal for the multi-agent network is to find an optimal &#952; * with which the distance between &#308; and J is minimized, under the following standard assumptions adopted in e.g. <ref type="bibr">Doan et al. (2019)</ref>, <ref type="bibr">Srikant and Ying (2019)</ref>.</p><p>Assumption 7. All the rewards are uniformly bounded, i.e., there</p><p>Assumption 8. The vectors &#966; 1 , . . . , &#966; K are linearly independent, i.e., &#934; has full column rank, and &#8741;&#966;(s)&#8741; 2 &#8804; 1 for all s &#8712; S.</p><p>Assumption 9. The Markov chain that evolves according to the transition probability matrix P is irreducible and aperiodic.</p><p>Under Assumption 9, let d &#8712; R S be the unique stationary distribution associated with P, i.e., d &#8868; P = d &#8868; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1. Distributed TD(&#955;)</head><p>In this subsection, we make use of TD(&#955;) to estimate &#952; * in a distributed manner. Note that TD(0) can be applied in a similar manner. Each agent i &#8712; V updates its own estimator of &#952; * , &#952; i t , for all time t &#8712; {0, 1, 2, . . .} as follows:</p><p>) ,</p><p>where X t = (s t , s t+1 , z t ) is the Markov chain, with z t = &#8721; t k=0 (&#947; &#955;) t-k &#966;(s k ), and</p><p>with r i t being the reward for agent i at time t. It is worth emphasizing that the proposed TD(&#955;) algorithm is different from that in <ref type="bibr">Doan et al. (2021)</ref>.</p><p>In the sequel, we will show that the update (C.2) with (C.3) is a special case of (1) so that our analysis for (1) can be applied here. To this end, let D = diag(d) &#8712; R S&#215;S , where d is given right after Assumption 9,</p><p>pks R i (k, s), and set</p><p>, where R is given in Assumption 7.</p><p>Lemma 2. Let the sequences {&#952; i t }, i &#8712; V, be generated by (C.2) with (C.3). If Assumptions 7-9 hold, so do Assumptions 2-4.</p><p>Lemma 2 implies that our analysis for (1) can be applied here. From the proof of Theorem 1 in <ref type="bibr">Tsitsiklis and Van Roy (1997)</ref>, A in (C.4) is a negative definite matrix, which implies that A + A &#8868; is a symmetric negative definite matrix. From Theorem 7.11 in <ref type="bibr">Rugh (1996)</ref>, A is a Hurwitz matrix. Let &#963; min &gt; 0 be the smallest eigenvalue of -1 2 (A + A &#8868; ). Thus, we can also choose P = I in Assumption 4 and use the Lyapunov function V (&#10216;&#952; &#10217; t ) = &#8741;&#10216;&#952; &#10217; t&#952; * &#8741; 2 2 in the analysis, where &#952; * here is the limiting point of (C.2). Using the same argument as in Theorem 2, we can show that &#952; * is the unique equilibrium point of the ODE (5) with A and b i being defined in (C.4).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2. Push-TD(&#955;)</head><p>In this subsection, we propose a push-based distributed TD(&#955;) algorithm and provide its finite-time error bounds. Note that push-based distributed TD(0) can be applied in the similar manner. Each agent i &#8712; V updates its variables at each time t &#8805; 0 as follows:</p><p>) ,</p><p>,</p><p>) and b i (X t ) are given in (C.3). Using the same argument as in Theorem 4, we can show that &#952; * is the unique equilibrium point of the ODE (10) with A and b i being defined in (C.4).</p><p>It is not hard to verify that Theorems 3 and 5 can be applied to Distributed TD(&#955;) and Push-TD(&#955;) to obtain their finite-time performance bounds, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix D. Analysis and some proofs</head><p>In this appendix, we provide the analysis of our two algorithms, (1) and ( <ref type="formula">9</ref>), and the proofs of all the assertions in the paper. We begin with some notation used in the analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.1. Notation</head><p>We use 0 n to denote the vector in R n whose entries all equal to 0's. For any vector x &#8712; R n , we use diag(x) to denote the n &#215; n diagonal matrix whose ith diagonal entry equals x i . We use &#8741; &#8226; &#8741; F to denote the Frobenius norm. For any positive diagonal matrix W &#8712; R n&#215;n , we use &#8741;A&#8741; W to denote the weighted Frobenius norm for A &#8712; R n&#215;m , defined as &#8741;A&#8741; W = &#8741;W 1 2 A&#8741; F . It is easy to see that &#8741; &#8226; &#8741; W is a matrix norm. We use P(&#8226;) to denote the probability of an event and E(X ) to denote the expected value of a random variable X .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2. Distributed stochastic approximation</head><p>In this subsection, we analyze the distributed stochastic approximation algorithm (1) and provide the proofs of the results in Section 2. We begin with the asymptotic performance.</p><p>Proof of Theorem 1. Without loss of generality, let {G t } be uniformly strongly connected by sub-sequences of length L. Note that for any i &#8712; V,</p><p>where &#960; min is defined in Lemma 1. From Lemma 7,</p><p>Combining (D.1) and (D.2), it follows that for all i &#8712; V, lim t&#8594;&#8734; &#960; min &#8741;&#952; i t -&#10216;&#952;&#10217; t &#8741; 2 2 = 0. Since &#960; min &gt; 0 by Lemma 1, lim t&#8594;&#8734; &#8741;&#952; i t -&#10216;&#952; &#10217; t &#8741; 2 = 0 for all i &#8712; V. &#9632; Proof of Theorem 2. From Theorem 1, all &#952; i t , i &#8712; V, will reach a consensus with &#10216;&#952;&#10217; t and the update of &#10216;&#952;&#10217; t is given in (4), which can be treated as a single-agent linear stochastic approximation whose corresponding ODE is (5). From <ref type="bibr">Kushner (1983)</ref>, <ref type="bibr">Kushner and Yin (1987)</ref>, 1 we know that &#10216;&#952;&#10217; t will converge to &#952; * w.p.1, which implies that &#952; i t will converge to &#952; * w.p.1. In addition, from Theorem 3-(2) and Lemma 6, lim &#8594;&#8734;</p><p>t is uniformly bounded below by &#960; min &gt; 0, as shown in Lemma 1, it follows that &#952; i t will converge to &#952; * in mean square for all i &#8712; V. &#9632;</p><p>We now analyze the finite-time performance of (1). In the sequel, we use K to denote the dimension of each &#952; i t , i.e., &#952; i t &#8712; R K for all i &#8712; V.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2.1. Fixed step-size</head><p>We first consider the fixed step-size case and begin with validation of two ''convergence rates'' in Theorem 3. Lemma 3. Both &#1013; and (1 -0.9&#945; &#947;max ) lie in the interval (0, 1). Lemma 4. Suppose that Assumptions 1 and 2 hold and {G t } is uniformly strongly connected by sub-sequences of length L. Then, when &#945; &#8712; (0, &#950; 1 ), we have for all t &#8805; &#964; (&#945;),</p><p>where &#950; 1 is defined in Appendix A, &#1013; and &#950; 2 are defined in (6) and (A.1), respectively.</p><p>Lemma 5. Suppose that Assumptions 2-4 and 6 hold. Then, when</p><p>where C 1 , &#950; 3 , &#950; 4 and K 2 are defined in Appendix A.1, (A.2), (A.3) and (A.9), respectively.</p><p>1 On page 1289 of <ref type="bibr">Kushner and Yin (1987)</ref>, it says that the idea in <ref type="bibr">Kushner (1983)</ref> can be adapted to get the w.p.1 convergence result.</p><p>We are now in a position to prove the fixed step-size case in Theorem 3.</p><p>Proof of Case (1) in Theorem 3. From Lemmas 4 and 5, we have</p><p>where C 1 and C 2 are defined in Appendix A.1. This completes the proof. &#9632;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2.2. Time-varying step-size</head><p>In this subsection, we consider the time-varying step-size case and begin with a property of &#951; t .</p><p>Lemma 6. Suppose that Assumption 6 holds. Then, lim t&#8594;&#8734; &#951; t = 0 and lim t&#8594;&#8734;</p><p>To prove the theorem, we need the following lemmas.</p><p>Lemma 7. Suppose that Assumptions 1 and 2 hold and {G t } is uniformly strongly connected by sub-sequences of length L. Given &#945; t and T 2 defined in Theorem 3, for all t &#8805; T 2 L,</p><p>where &#1013; and &#950; 6 are defined in (6) and (A.5), respectively.</p><p>Lemma 8. Under Assumptions 1-6, when the</p><p>where T 2 is defined in Appendix A.1, and &#950; 4 , &#950; 5 , &#950; 7 are defined in (A.3), (A.4), (A.6), respectively.</p><p>We are now in a position to prove the time-varying step-size case in Theorem 3.</p><p>Proof of Case (2) in Theorem 3. From Lemmas 7 and 8, for any</p><p>) ,</p><p>where C 3 -C 6 are defined in Appendix A.1. This completes the proof. &#9632; Remark 10. For distributed SA algorithms, finite-time performance analysis essentially boils down to two parts, namely bounding the consensus error and bounding the ''single-agent'' mean-square error. For the case when consensus interaction matrices are all doubly stochastic, the consensus error bound can be derived by analyzing the square of the 2-norm of the deviation of the current state of each agent from the average of the states of the agents. With consensus in the presence of doubly stochastic matrices, the average of the states of the agents remains invariant. Thus, it is possible to treat the average value as the state of a fictitious agent to derive the meansquare consensus error bound with respect to the limiting point. More formally, this process relies on two properties of a doubly stochastic matrix W , namely that (1)</p><p>where &#963; 2 (W ) denotes the second largest singular value of W (which is strictly less than one if W is irreducible). Even if the doubly stochastic matrix is time-varying (denoted by W t ), property (1) still holds and property (2) can be generalized as in <ref type="bibr">Nedi&#263;, Olshevsky, and Rabbat (2018)</ref>. Thus, the square of the</p><p>2 is a quadratic Lyapunov function for the average consensus processes. Doubly stochastic matrices in expectation can be treated in the same way by looking at the expectation. This is the core on which all the existing finite-time analyses of distributed RL algorithms are based. However, if each consensus interaction matrix is stochastic, and not necessarily doubly stochastic, the above two properties may not hold. In fact, it is well known that quadratic Lyapunov functions for general consensus processes x t+1 = S t x t , with S t being stochastic, do not exist <ref type="bibr">(Olshevsky &amp; Tsitsiklis, 2008)</ref>. Here we appeal to the idea of quadratic comparison functions for general consensus processes. This was first proposed in <ref type="bibr">Touri (2012)</ref> and makes use of the concept of absolute probability sequences. We provide a general analysis method and results that subsume the existing finitetime analyses for single-timescale distributed linear stochastic approximation (Lemmas 4, 5, 7 and 8) and TD learning as special cases. &#9633;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.3. Push-SA</head><p>In this subsection, we analyze the push-based distributed stochastic approximation algorithm (9) and provide the proofs of the results in Section 3.</p><p>Let &#372;t be the matrix whose ij-th entry is &#373;ij t . Then, from (9),</p><p>t y j t &#8721; N k=1 &#373;ik t y k t [ &#952;j t y j t + &#945; t A(X t ) &#952; j t y j t + &#945; t b j (X t ) y j t ] = N &#8721; j=1 wij t [ &#952; j t + &#945; t A(X t ) &#952; j t y j t + &#945; t b j (X t ) y j t ] , (D.3) where wij t = &#373;ij t y j t &#8721; N k=1 &#373;ik t y k t and Wt = [ wij t ] is a row stochastic matrix, i.e., &#8721; N j=1 wij t = &#8721; N j=1 &#373;ij t y j t &#8721; N k=1 &#373;ik t y k t = 1, for all i. Let &#920; t = [&#952; 1 t , . . . , &#952; N t ] &#8868; . Then (D.3) can be written as</p><p>.</p><p>(D.4)</p><p>Since each matrix Wt = [ wij t ] is stochastic, from Lemma 1, there exists a unique absolute probability sequence { &#960;t } for the matrix sequence { Wt } such that &#960; i t &#8805; &#960;min for all i &#8712; V and t &#8805; 0, with the constant &#960;min &#8712; (0, 1). Lemma 9. Suppose that {G t } is uniformly strongly connected. Then, &#928; t s=0 &#372;s will converge to the set {v1 &#8868; N : v &#8712; R N } exponentially fast as t &#8594; &#8734;.</p><p>Lemma 10. Suppose that {G t } is uniformly strongly connected. Then, (&#928; t l=s Wl ) = y j s y i t+1 (&#928; t l=s &#372;l ) ij and &#960;i s y i s = 1 y i s lim t&#8594;&#8734; (&#928; t l=s Wl ) ji = 1 N for all i, j &#8712; V and s &#8805; 0. Lemma 11. The sequence {&#920; n } generated by (D.4) is bounded almost surely, i.e., C &#952; = sup n &#8741;&#920; n &#8741; F &lt; &#8734; almost surely. From (9), by using the definition of &#10216; &#952;&#10217; t = 1 N &#8721; N i=1 &#952;i t and &#10216;&#952;&#10217; t = 1 N &#8721; N i=1 &#952; i t , we have &#10216; &#952;&#10217; t+1 = &#10216; &#952;&#10217; t + &#945; t A(X t )&#10216;&#952; &#10217; t + &#945; t N N &#8721; i=1 b i (X t ) = &#10216; &#952;&#10217; t + &#945; t A(X t )&#10216; &#952;&#10217; t + &#945; t N N &#8721; i=1 b i (X t ) + &#945; t &#961; t , (D.5) where &#961; t = A(X t )&#10216;&#952; &#10217; t -A(X t )&#10216; &#952;&#10217; t . From Lemma 11, we have &#8741;&#10216;&#952;&#10217; t &#8741; 2 &#8804; max i&#8712;V &#8741;&#952; i t &#8741; 2 &#8804; C &#952; for all t &#8805; 0, which implies that &#8741;&#10216; &#952;&#10217; t &#8741; 2 &#8804; NC &#952; and &#181; t = &#8741;&#961; t &#8741; 2 = &#60793; &#60793; A(X t )&#10216;&#952; &#10217; t -A(X t )&#10216; &#952;&#10217; t &#60793; &#60793; 2 &#8804; &#181; max , where &#181; max = (N + 1)A max C &#952; . Lemma 12. Suppose that Assumptions 2 and 5 hold and {G t } is uniformly strongly connected by sub-sequences of length L. Let &#1013; 1 = inf t&#8805;0 min i&#8712;V ( &#372;t &#8226; &#8226; &#8226; &#372;0 1 N ) i . For all t &#8805; 0 and i &#8712; V, &#8741;&#952; i t+1 -&#10216; &#952;&#10217; t &#8741; 2 &#8804; 8 &#1013; 1 &#949;t &#8741; N &#8721; i=1 &#952;i 0 + &#945; 0 A(X 0 )&#952; i 0 + &#945; 0 b i (X 0 )&#8741; 2 + &#945; t b max + 8 &#1013; 1 A max C &#952; + b max 1 -&#949; ( &#945; 0 &#949;t/2 + &#945; &#8968; t 2 &#8969; ) + &#945; t A max C &#952; , where &#1013; 1 &gt; 0 and &#949; &#8712; (0, 1) satisfy &#1013; 1 &#8805; 1 N NL and &#949; &#8804; (1 -1 N NL ) 1/L . Lemma 13. lim t&#8594;&#8734; &#181; t = lim t&#8594;&#8734; &#8741;&#961; t &#8741; 2 = 0 and lim t&#8594;&#8734; &#8721; t k=0 &#181; k t+1 = lim t&#8594;&#8734; &#8721; t k=0 &#8741;&#961; k &#8741; 2 t+1 = 0. Lemma 14. Suppose that Assumptions 2-4 hold and &#945; t = &#945; 0 t+1 . When &#181; t + &#964; (&#945; t )&#945; t-&#964; (&#945;t ) &#950; 8 &#8804; 0.1 &#947;max and &#964; (&#945; t )&#945; t-&#964; (&#945;t ) &#8804; min{ log 2 Amax , 0.1 &#950; 8 &#947;max }, we have for t &#8805; T , E[&#8741;&#10216; &#952;&#10217; t+1 -&#952; * &#8741; 2 2 ] &#8804; T t + 1 &#947; max &#947; min E[&#8741;&#10216; &#952;&#10217;T -&#952; * &#8741; 2 2 ] + &#950; 9 &#945; 0 C log 2 ( t+1 &#945; 0 ) t + 1 &#947; max &#947; min + &#945; 0 &#947; max &#947; min &#8721; t+1 l= T &#181; l t + 1 , where T is defined in Appendix A.2, &#950; 8 and &#950; 9 are defined in (A.7) and (A.8), respectively. We are now in a position to prove Theorem 5. Proof of Theorem 5. Note that &#8721; N i=1 E[&#8741;&#952; i t+1 -&#952; * &#8741; 2 2 ] &#8804; 2 &#8721; N i=1 E[&#8741;&#952; i t+1 -&#10216; &#952;&#10217; t &#8741; 2 2 ] + 2NE[&#8741;&#10216; &#952;&#10217; t -&#952; * &#8741; 2 2 ]. From Lemmas 12 and 14, we have for any t &#8805; T , N &#8721; i=1 E [ &#60793; &#60793; &#952; i t+1 -&#952; * &#60793; &#60793; 2 2 ] &#8804; 16 &#1013; 1 &#949;t E[&#8741; N &#8721; i=1 &#952;i 0 + &#945; 0 A(X 0 )&#952; i 0 + &#945; 0 b i (X 0 )&#8741; 2 ] + 2&#945; t A max C &#952; + 2&#945; t b max + 2 T N t &#947; max &#947; min E[&#8741;&#10216; &#952;&#10217;T -&#952; * &#8741; 2 2 ] + 16 &#1013; 1 A max C &#952; + b max 1 -&#949; ( &#945; 0 &#949;t/2 + &#945; &#8968; t 2 &#8969; ) + 2N&#950; 9 &#945; 0 C log 2 ( t &#945; 0 ) t &#947; max &#947; min + 2&#945; 0 N &#947; max &#947; min &#8721; t l= T &#181; l t &#8804; C 7 &#949;t + C 8 ( &#945; 0 &#949; t 2 + &#945; &#8968; t 2 &#8969; ) + C 9 &#945; t + 1 t ( C 10 log 2 ( t &#945; 0 ) + C 11 t &#8721; l= T &#181; l + C 12</p><p>) .</p><p>This completes the proof. &#9632;</p><p>We next show the asymptotic performance of (9).</p><p>Proof of Theorem 4. From Lemma 12, since &#949; &#8712; (0, 1) and &#945; t = &#945; 0 t , it follows that lim t&#8594;&#8734; &#8741;&#952; i t+1 -&#10216; &#952;&#10217; t &#8741; 2 = 0, which implies that all &#952; i t+1 , i &#8712; V, will reach a consensus with &#10216; &#952;&#10217; t . The update of &#10216; &#952;&#10217; t is given in (D.5), which can be treated as a single-agent linear stochastic approximation whose corresponding ODE is (10). In addition, from Theorem 5 and Lemma 13, lim &#8594;&#8734; &#8721; N i=1 E[&#8741;&#952; i t+1&#952; * &#8741; 2 2 ] = 0, it follows that &#952; i t+1 will converge to &#952; * in mean square for all i &#8712; V. &#9632; Remark 11. Finite-time analysis for such a push-based distributed algorithm is challenging. Almost all, if not all, the existing push-based distributed optimization works build on the analysis in <ref type="bibr">Nedi&#263; and Olshevsky (2015)</ref>; however, that analysis assumes that a convex combination of the entire history of the states of each agent (and not merely the current state of the agent) is being calculated. This assumption no longer holds in our case. To obtain a direct finite-time error bound without this assumption, we appeal to a new approach to analyze our push-based SA algorithm by leveraging our consensus-based analyses to establish direct finite-time error bounds for stochastic approximation. Specifically, we tailor an absolute probability sequence for the push-based stochastic approximation algorithm and exploit its properties (Lemma 10).</p><p>&#9632;</p></div>		</body>
		</text>
</TEI>
