Incremental Stochastic Subgradient Algorithms for Convex Optimization
S Sundhar Ram, A Nedich, V. V. Veeravalli
Introduction
A problem of recent interest in distributed networks is the design of decentralized algorithms to minimize a sum of functions, when each component function is known only to a particular agent . Such problems arise in many network applications, including in-network estimation, learning, signal processing and resource allocation . In these applications, there is no central coordinator that has access to all the information and, thus, decentralized algorithms are needed to solve the problems. In this paper, we consider decentralized subgradient methods for constrained minimization of a sum of convex functions, when each component function is only known partially (with stochastic errors) to a specific network agent. We study two incremental subgradient methods with stochastic errors: a cyclic and a (non-cyclic) Markov randomized incremental method.
The cyclic incremental algorithm is a decentralized method in which the network agents form a ring and process the information cyclically. The incremental method was originally proposed by Kibardin and has been extensively studied more recently in . Incremental gradient algorithms were first used for optimizing the weights in neural network training , and most of the associated literature deals with differentiable non-convex unconstrained optimization problems . The incremental subgradient algorithm for non-differentiable constrained convex optimization has been investigated in without errors, and in where the effects of deterministic errors are considered. The algorithm that we consider in this paper is stochastic and as such differs from the existing literature. For this algorithm, we establish convergence for diminishing step-size and provide an error bound for constant step-size.
The Markov randomized incremental algorithm is a decentralized method where the iterates are generated incrementally within the network by passing them from agent to agent. Unlike the cyclic incremental method, where the agent network has a ring structure and the information flow is along this ring (cycle), in the Markov randomized incremental method, the network can have arbitrary structure. However, similar to cyclic incremental method, in the Markov randomized incremental method, only one agent updates at any given time. In particular, an agent in the network updates the current iterate (by processing locally its own objective function) and either, passes the new iterate to a randomly chosen neighbor, or, processes it again. Thus the order in which the agents update the iterates is random. This class of incremental algorithms was first proposed in , where the agent that receives the iterate is chosen with uniform probability in each iteration (corresponding to the case of a fully connected agent network). Recently, this idea has been extended in to the case where the sequence in which the agents process the information is a time homogeneous Markov chain. The rationale behind this model is that the agent updating the information at a given time is more likely to pass this information to a close neighbor rather than to an agent who is further away. In this paper, we consider a more general framework than that of by allowing the sequence in which the agents process the information to be a time non-homogeneous Markov chain.The primary motivation to study such a model are mobile networks where the network connectivity structure is changing in time and, thus, the set of the neighbors of an agent is time-varying. We prove the algorithm convergence for diminishing step-size and establish an error bound for a constant step-size. This extends the results in , where an error bound for a homogeneous Markov randomized incremental subgradient method is discussed for a constant step-size and error-free case.
The Markov randomized incremental algorithm is also related to the decentralized computation model in for stochastic optimization problems. However, the emphasis in these studies is on parallel processing where each agent completely knows the entire objective function to be minimized. More closely related is the work in studies in that develops a “parallel” version of the unconstrained incremental subgradient algorithm. Also related is the constrained consensus problem studied in where agents are interested in obtaining a solution to a feasibility problem, when different parts of the problem are known to different agents. At a much broader scale, the paper is also related to the literature on distributed averaging and consensus algorithms .
Our main contributions in this paper are the development and analysis of the Markov randomized incremental method with stochastic subgradients and the use of a time non-homogeneous Markov model for the sequence of computing agents. In addition, To the best of our knowledge, this is among the few attempts made at studying the effects of stochastic errors on the performance of decentralized optimization algorithms. The other studies are , but the algorithms considered are fundamentally different from the incremental algorithms studied in this paper.In that work, the components of the decision vector are distributed while the objective function is known to all agents. In contrast, in this paper, the objective function data is distributed, while each agent has an estimate of the entire decision vector.
The paper is organized as follows. In Section 2, we formulate the problem of interest, and introduce the cyclic incremental and Markov randomized incremental method with stochastic errors. We also discuss some applications that motivate our interest in these methods. In Section 3, we analyze convergence properties of the cyclic incremental method. We establish convergence of the method under diminishing step-size and provide an error bound for the method with a constant step-size, both valid with probability 1. We establish analogous results for the Markov randomized incremental method in Section 4. We give some concluding remarks in Section 5.
Problem Formulation and Motivation
We consider a network of agents, indexed by . The network objective is to solve the following problem:
where is a decision or a parameter vector, is a closed and convex subset of , and each is a convex function from to that is known only to agent Problems with the above structure arise in the context of estimation in sensor networks , where is an unknown parameter to be estimated and is the cost function that is determined by the -th sensor’s observations (for example, could be the log-likelihood function in maximum likelihood estimation). Furthermore, problems with such structure also arise in resource allocation in data networks. In this context, is the resource vector to be allocated among agents and is the utility function for agent . We discuss these in more detail later.
To solve the problem (1) in a network where agents are connected in a directed ring structure, we consider the cyclic incremental subgradient method . Time is slotted and in each time slot, the estimate is passed by an agent to the next agent along the ring. In particular, agent receives the iterate from agent and updates the received estimate using a subgradient of its “own objective function ”. The updated iterate is then communicated to the next agent in the cycle, which is agent when and agent when We are interested in the case where the agent subgradient evaluations have random errors. Formally, the algorithm is given as follows:
where the initial iterate is chosen at random. The vector is the estimate at the end of cycle is the intermediate estimate obtained after agent updates in -st cycle, is the subgradient of evaluated at and is a random error. The scalar is a positive step-size and denotes Euclidean projection onto the set We study the convergence properties of method (2) in Section 3 for diminishing and constant step-size.
In addition, for a network of agents with arbitrary connectivity, we consider an incremental algorithm where the agent that updates is selected randomly according to a distribution depending on the agent that performed the most recent update. Formally, in this method the iterates are generated according to the following rule:
where the initial iterate is chosen at random and the agent that initializes the method is also selected at random. The integer is the index of the agent that performs the update at time , and the sequence is modeled as a time non-homogeneous Markov chain with state space . In particular, if agent was processing at time , then the agent will be selected to perform the update at time with probability . Formally, we have
When there are no errors () and the probabilities are all equal to , the method in (3) coincides with the incremental method with randomization that was proposed and studied in .
Following , we refer to the method in (3) as the Markov randomized incremental stochastic algorithm. We analyze convergence properties of this method in Section 4 for diminishing and constant step-sizes.
As mentioned, we study the convergence properties of the incremental algorithms (2) and (3) for diminishing and constant step-size, and for zero and non-zero mean errors. Such errors may arise directly as computational round-off errors, which are of interest when the entire network is on a single chip and each agent is a processor on the chip . In addition, stochastic errors also arise in the following context.
Let the function have the following form
where denotes the expectation, is a random vector and . Agent does not know the statistics of and thus does not know its complete objective function . However, agent sequentially observes independent samples of and uses these samples to determine an approximate subgradient using the Robbins-Monro approximation or Kiefer-Wolfowitz approximation . These approximate sub-gradients can be considered to be the actual sub-gradient corrupted by stochastic errors.
We next discuss some specific problems that fall within the framework that we consider and can be solved using the proposed methods.
Consider sensors that sense a time invariant spatial field. Let be the measurement made by sensor in time slot Let be the location of the sensor. Let be a set of candidate models for the spatial field that are selected based on a priori information and parameterized by . Thus, for each the candidate is a model for the spatial field and is a model for the measurement The problem in regression is to choose the best model among the set of candidate models based on the collected measurements , i.e., to determine the value for that best describes the spatial field. In least square regression, the parameter value corresponding to the best model satisfies the following relation:
When the measurements are corrupted by i.i.d. noise, then the preceding relation is equivalent to the following
In linear least squares regression, the models , are linear in , so that each of the functions is convex in .
Distributed Resource Allocation
In some networks, the same flow can communicate different types of traffic that has different importance in different time slots. For example, in an intruder detection network, a “detected” message is more important (and is rewarded/weighted more) than a “not detected” message or some other system message. Thus, the reward function is also a function of the contents of the flow: if the type of flow in time slot is where takes values from the set of all possible types of flow data, then the reward is at time . When the type of traffic on each flow across slots is i.i.d, the fair allocation rate problem can be written as
The statistics of may not be known since they may depend upon external factors such as the frequency of intruders in an intruder detection network.
2 Notation and Basics
We view vectors as columns. We write to denote the inner product of two vectors and . We use to denote the standard Euclidean norm. For a vector , we use to denote its -th component. For a matrix we use to denote its -th entry, its -th row and its -th column. We use to denote a vector with each entry equal to 1.
We use to denote the optimal value of the problem (1), and we use to denote its optimal set. Throughout the paper, we assume that the optimal value is finite.
In our analysis, we use the subgradient defining property. Specifically, for a convex function , the vector is a subgradient of at when the following relation is satisfied:
Cyclic Incremental Subgradient Algorithm
Recall, that the cyclic incremental stochastic subgradient algorithm is given by
where is a random initial vector, is a subgradient of at , is a random noise vector and is a step-size.
The main difficulty in the study of the incremental stochastic subgradient algorithm is that the expected direction in which the iterate is adjusted in each sub-iteration is not necessarily a subgradient of the objective function . For this reason, we cannot directly apply the classic stochastic approximation convergence results of to study the convergence of method in (2). The key relation in our analysis is provided in Lemma 1 in Section 3.1. Using this lemma and a standard super-martingale convergence result, we obtain results for diminishing step-size in Theorem 3. Furthermore, by considering a related “stopped” process to which we apply a standard supermartingale convergence result, we obtain the error bound results for a constant step-size in Theorems 4 and 5.
We make the following basic assumptions on the set and the functions .
The set is closed and convex. The function is convex for each
In our analysis, we assume that the first and the second moments of the subgradient noise are bounded uniformly over the agents, conditionally on the past realizations. In particular, we define as the -algebra generated by and the subgradient errors , and assume the following.
There exist deterministic scalar sequences and such that
Assumption 2 holds for example, when the errors are independent across both and and have finite moments. Note that under the assumption that the second moments are bounded, from Jensen’s inequality we readily have
However, for a constant step-size, the terms and affect the error bounds on the performance of the incremental method differently, as seen in Section 3.3. For this reason, we prefer to use different upper-bounds for the terms and We will also, without any loss of generality, assume that
We also assume that the subgradients are uniformly bounded over the set for each . This assumption is commonly used in the convergence analysis of subgradient methods with a diminishing or a constant step-size.
For every , the subgradient set of the function at is nonempty and uniformly bounded over the set by a constant , i.e.,
Assumption 3 holds for example, when each is a polyhedral function or when the set is compact.
In this section, we provide a lemma establishing a basic relation for the iterates generated by the incremental method (5) and any step-size rule. This relation plays a key role in our subsequent development.
Let Assumptions 1, 2, and 3 hold. Then, the iterates generated by algorithm (5) are such that for any step-size rule and for any ,
where and for all .
Using the iterate update rule in (5) and the non-expansive property of the Euclidean projection, we obtain for any ,
Taking conditional expectations with respect to the -field , we further obtain
We now estimate the last two terms in the right hand side of the preceding equation by using Assumption 2 on the error moments. In particular, we have for all and ,
Next, we estimate the last term in Eq. (8) by using Assumption 2 on the error moments in and Assumption 3 on the subgradient norms. We have all and ,
where in the last inequality we use and for all [cf. Eq. (6)]. Combining the preceding two relations and the inequality in (8), we obtain for all ,
We now estimate the second term in the right hand side of the preceding relation. From the subgradient inequality in (4) we have
In (13) we have again used the subgradient inequality (4) to bound while in (14) we have used the subgradient norm bound from Assumption 3. We next consider the term . From (5) we have
By the non-expansive property of the projection, we further have
By combining the preceding relation with Eq. (14), we have
By substituting the preceding estimate in the inequality in (9), we obtain for all ,
Taking the expectation conditional on , we obtain
where we have used Assumption 2 and Jensen’s inequality to bound by [cf. Eq. (6)]. Summing over and noting that , we see that
we obtain for all , and all and ,
2 Convergence for diminishing step-size
We here study the convergence of the method in (5) for diminishing step-size rule. In our analysis, we use the following result due to Robbins and Siegmund (see Lemma 11, Chapter 2.2, ).
Let be a probability space and let be a sequence of sub -fields of Let and be non-negative -measurable random variables and let be a deterministic sequence. Assume that and and
hold with probability 1. Then, with probability 1, the sequence converges to a non-negative random variable and .
We next provide a convergence result for diminishing step-sizes.
Let Assumptions 1, 2 and 3 hold. Assume that the step-size sequence is positive and such that and . In addition, assume that the bounds and on the moments of the error sequence are such that
Also, assume that the optimal set is nonempty. Then, the iterate sequence generated by the method (5) converges to an optimal solution with probability 1.
First note that all the assumptions of Lemma 1 are satisfied. Let be an arbitrary point in By letting in Lemma 1, we obtain for any ,
We relate to by using the triangle inequality of norms,
Substituting for from (15) we obtain
Taking conditional expectations, we further obtain
where we have used Assumption 2 and Jensen’s inequality to bound by Using the preceding inequality in (16), we have
By the assumptions on the step-size, and the sequences and , we further have
where in the second relation above, we have used [cf. Eq. (6)], while in the last inequality, we have used valid for any scalars and . Thus, the conditions of Lemma 2 are satisfied with and
Therefore, with probability 1, the scalar converges to some non-negative random variable for every . Also with probability 1, we have
Since it follows that with probability 1. By considering a sample path for which and converges for any , we conclude that the sample sequence must converge to some in view of continuity of . Hence, the sequence converges to some vector in with probability 1. ∎
Note that under assumptions of Theorem 3, it can be seen that also converges to In particular, since the solution set is closed and convex, there exists a point that is closest to for every . Letting in relation (17) and using the fact that with probability , we obtain for all ,
Taking expectations, we obtain for all ,
From the deterministic analog of Lemma 2, we can argue that converges and . Since converges to a point in with probability 1, it follows that converges to
3 Error bound for constant step-size
Here, we study the behavior of the iterates generated by the method (5) with a constant step-size rule, i.e., for all . In this case, we cannot guarantee the convergence of the iterates, however, we can provide bounds on the performance of the algorithm. In the following lemma, we provide an error bound for the expected values and a bound for that holds with probability 1. The proofs of these results are similar to those used in .
Let Assumptions 1 and 2 hold. Let the sequence be generated by the method (5) with a constant step-size rule, i.e., for all Also, assume that the set is bounded, and
Since is compact and each is convex over , the subgradients of are bounded over for each . Thus, all the assumptions of Lemma 1 are satisfied. Furthermore, the optimal set is non-empty. Since and for all , and according to the relation of Lemma 1, we have for ,
By taking the total expectation, we obtain for all and all ,
Now, assume that the relation (18) does not hold. Then there will exist a and an index such that for all ,
For sufficiently large the right hand side of the preceding relation is negative, yielding a contradiction. Thus the relation (18) must hold.
We now prove the relation in (19). Define the set
Let and define the sequence as follows:
Thus, the process is identical to the process until enters the set Define
Let us first consider the case when Since and , we have and yielding
When and Using relation (21), we conclude that
Observe that when
Therefore, by combining the preceding two relations, we obtain for
Therefore, from (22) and (23), we can write
Observe that (24) satisfies the conditions of Lemma 2 with and Therefore, it follows that with probability 1,
However, this is possible only if for all sufficiently large. Therefore, with probability 1, we have for all sufficiently large . By letting we obtain (19). ∎
As seen from relation (19) of Theorem 4, the error bound on the “best function” value depends on the step-size , and the bounds and for the moments of the subgradient errors . When the errors have zero mean, the results of Theorem 4 hold with . The resulting error bound is , which can be controlled with the step-size . However, this result also holds when the boundedness of is relaxed by requiring subgradient boundedness instead, as seen in the following theorem. The proof of this theorem is similar to that of Theorem 4, with some extra details to account for the possibility that the optimal set may be empty.
All the assumptions of Lemma 1 are satisfied. Since and for all , according to the relation of Lemma 1, we have for any ,
By taking the total expectation, we obtain for all and all ,
Assume now that the relation (25) is not valid. Then there will exist a and an index such that for all ,
Let be such that . Therefore, for , we have
Fix in (28) and in a manner identical to the proof of Theorem 4 we can obtain a contradiction.
To prove the relation in (26), we use a line of analysis similar to that of the proof of Theorem 4, where we define the set
and consider the sequence defined as follows:
As in the proof of Theorem 4, we can show that the sequence enters the set for any We then obtain the result by taking the limit ∎
In the absence of errors (), the error bound of Theorem 5 reduces to
which coincides with the error bound for the cyclic incremental subgradient method (without errors) established in , Proposition 2.1.
Markov Randomized Incremental Subgradient Method
While the method of Section 3 is implementable in networks with a ring structure (the agents form a cycle), the method of this section is implementable in networks with an arbitrary connectivity structure. The idea is to implement the incremental algorithm by allowing agents to communicate only with their neighbors. In particular, suppose at time , an agent updates and generates the estimate . Then, agent may pass this estimate to his neighboring agent with probability . If agent is not a neighbor of , then this probability is . Formally, the update rule for this method is given by
where is some random initial vector, is a random noise vector and is the step-size. The sequence of indices of agents updating in time evolves according to a a time non-homogeneous Markov chain with states We let denote the transition matrix of this chain at time i.e.,
In the absence of subgradient errors (), when the probabilities are all equal, i.e., for all and all , the method reduces to the incremental method with randomization proposed in , which is applicable only to the agent networks that are fully connected.
We note here that the time non-homogeneous Markov chain models networks where the set of neighbors of an agent may change in time (as the network may be mobile or for other reasons). We will also assume that the agents decide the probabilities with which they communicate with their neighbors, i.e., at time , the agent chooses the probabilities for his neighbors
The main difficulty in the analysis of the method in (29) comes from the dependence between the random agent index and the iterate . Assuming that the Markov chain is ergodic with the uniform steady-state distribution, in the absence of the errors (i.e., ), it is intuitively possible that the method uses directions that approximate the subgradient in the steady state. This is the basic underlying idea that we exploit in our analysis.
To ensure the desired limiting behavior of the Markov chain probabilities, we use the following two assumptions on the matrices .
Let . Let be the set of edges induced by the positive entries of the probability matrix , i.e.,
Generally speaking, Assumption 4 ensures that each agent has a “chance” to update the estimate once within a finite time interval. It would guarantee that each agent updates the estimate with the same frequency in a long run. This is ensured by the following assumption.
The diagonal entries of are all positive for each .
All positive entries of are uniformly bounded away from zero, i.e., there exists a scalar such that for all and all ,
The matrix is doubly stochastic for each , i.e., the sum of the entries in every row and every column is equal to
Assumptions 5(a) and (b) ensure that the information from each and every agent is persistent in time. Assumption 5(c), ensures that the limiting Markov chain probability distribution (if one exists) is uniform. Assumptions 4 and 5 together guarantee the existence of the uniform limiting distribution, as shown in . We state this result in the next section.
Note that the cyclic incremental algorithm (2) does not satisfy Assumption 5. The transition probability matrix corresponding to the cyclic incremental method is a permutation matrix with the -th entry being zero when agent updates at time . Thus, Assumption 5(c) is violated.
We now provide some examples of transition matrices satisfying Assumption 5. The second and third examples are variations of the Metropolis-Hasting weights , defined in terms of the agent neighbors. We let be the set of neighbors of an agent at time , and let be the cardinality of this set. Consider the following rules:
Equal probability scheme. The probabilities that agent uses at time are
Min-equal neighbor scheme. The probabilities that agent uses at time are
Weighted Metropolis-Hastings scheme. The probabilities that agent uses at time are given by
where the scalar is known only to agent .
In the first example, the parameter can be defined as In the second example, can be defined as
while in the third example, it can be defined as
Furthermore, note that in the first example, each agent knows the size of the network and no additional coordination with the other agents is needed. In the other two examples, an agent must be aware of the number of the neighbors each of his neighbors has at any time.
Assume the matrices satisfy Assumptions 4 and 5. Then:
for all
The convergence is geometric and the rate of convergence is given by
We use the estimate of Lemma 6 to establish a key relation in Lemma 7, which is repeatedly invoked in our subsequent analysis. The idea behind Lemma 7 is the observation that when there are no errors () and the Markov chain has a uniform steady state distribution, the directions used in (29) are approximate subgradients of the function at points far away from in the past [i.e., ]. However, even though are far away from in time, their Euclidean distance can be small when the step-size is selected appropriately. Overall, this means that each iterate of method in (29) can be viewed as an approximation of the iteration
with correlated errors depending on current and past iterates.
In the forthcoming lemma and thereafter, we let denote the entire history of the method up to time , i.e., the -field generated by the initial vector and
Let Assumptions 1–5 hold. Then, the iterates generated by algorithm (29) are such that for any step-size rule, for any and any non-negative integer sequence we have
where and
Using the iterate update rule in (29) and the non-expansive property of the Euclidean projection, we obtain for any and ,
Using the subgradient inequality in (4) to bound we get
Taking conditional expectations with respect to the -field , we obtain
We next use the subgradient inequality in (4) to estimate the second term in the preceding relation.
In the last step we have used the subgradient boundedness from Assumption 3 to bound the subgradient norms by We estimate from the iterate update rule (29) and the non-expansive property of the Euclidean projection as follows:
where in the last step we have used the boundedness of subgradients and of the second moments of [cf. Eq. (6)]. From the preceding relation and Eq. (31), we obtain
By substituting the preceding estimate in (30), we further obtain
We estimate the last term in (32) by using the subgradient boundedness of Assumption 3 and the boundedness of the second moments of [cf. Eq. (6)], as follows:
Substituting the preceding estimate in Eq. (32), we have
We next estimate the term Since and is -measurable
where the first equality follows from the law of iterated conditioning. Using the preceding estimate in (33), we obtain
Finally, we consider the term , and we use the fact that the probability transition matrix for the Markov chain from time to time is . We have
where at the last step we have used Lemma 6. Using the subgradient inequality (4), we further have
The result now follows by combining the relations in Eqs. (34), (35) and (36). ∎
2 Convergence for diminishing step-size
In this section, we establish the convergence of the Markov randomized method in (29) for a diminishing step-size. Recall that in Theorem 3 for the cyclic incremental method, we showed an almost sure convergence result for a diminishing step-size subject to some conditions that coordinate the choice of the step-size, and the bounds and on the moments of the errors . To obtain an analogous result for the Markov randomized method, we use boundedness of the set and more restricted step-size. In particular, we consider a step-size of the form for a range of values of as seen in the following.
Let Assumptions 1, 2, 4 and 5 hold. Assume that the step-size is where and are positive scalars with In addition, assume that the bounds and on the error moments satisfy
Furthermore, let the set be bounded. Then, with probability 1, we have
Since the set is compact and is convex over , it follows that the subgradients of are bounded over for each . Thus, Assumption 3 is satisfied, and we can use Lemma 7.
Since is compact and is convex over (therefore, also continuous), the optimal set is nonempty, closed and convex. Let be the projection of on the set . In Lemma 7, we let and let where (to be specified more precisely later on). Note that for all . Using this and the relation , from Lemma 7, we obtain for all The equivalent expression for the case when is obtain by setting the fourth term to 0.,
Taking expectations and using , we obtain for all ,
We next show that . Since , we have for all Furthermore, since , we have Therefore, By choosing such that , we see that for all Hence, for all ,
Since the set is bounded, it follows that
Next, since for all and since , and , it follows that for all
By choosing such that it also satisfies (in addition to ), we have (in view of ). Therefore, for all ,
By combining the preceding two relations, we have
where the finiteness of the last sum follows from .
Finally, as a consequence of our assumptions, we also have
Thus, from Eqs. (37) and (38), and the preceding two relations, we see that
From the deterministic analog of Lemma 2 we conclude that converges to a non-negative scalar and
Since we have . Further, since it follows that
The function is convex over and, hence, continuous. Since the set is bounded, the function is also bounded on Therefore, from Fatou’s lemma it follows that
implying that with probability 1. Moreover, from this relation, by the continuity of and boundedness of , it follows that with probability 1. ∎
As seen in the proof of Theorem 8, converges to a nonnegative scalar, but we have no guarantee that its limit is zero. However, this can be shown, for example, for a function with a sharp set of minima, i.e., satisfying
for some positive scalars and Under the assumptions of Theorem 8, we have that [cf. Eq. (39)] and therefore,
Hence, and since converges, it has to converge to
3 Error bounds for constant step-size
We now establish error bounds when the Markov randomized incremental method is used with a constant step-size.
Let Assumptions 1, 2, 4 and 5 hold. Let the sequence be generated by the method (29) with a constant step-size rule, i.e., for all . Also, assume that the set is bounded, and
where and Furthermore, with probability 1, the same estimate holds for .
Since is compact and each is convex over , the subgradients of are bounded over for each . Thus, all the assumptions of Lemma 7 are satisfied. Let be a nonnegative integer and let . Since and for all , and according to Lemma 7, we have for and
By taking the total expectation, we obtain for all and all ,
Now assume that the relation (40) does not hold. Then, there will exist a and an index such that for all ,
Therefore, for , we have
For sufficiently large the right hand side of the preceding relation is negative, yielding a contradiction. Thus, the relation (40) must hold for all
Let and define the sequence as follows:
Thus, the process is identical to the process until enters the set Define
Let Consider the case when Then, and , so that and yielding
Consider now the case when Then, and for all . Therefore, by the definition of the set , we have
By using relations (41) and (44), we conclude that for
Therefore, from (43) and (45), we can write
Observe that (46) satisfies the conditions of Lemma 2 with and Thus, it follows that with probability 1,
However, this is possible only if for all sufficiently large. Therefore, with probability 1, we have for all sufficiently large . By letting we obtain (42). ∎
Under Assumptions of Theorem 9, the function is bounded over the set , and by Fatou’s lemma, we have
It follows that the estimate of Theorem 9 also holds for
In the absence of errors ( and ), the error bound in Theorem 9 reduces to
With respect to the parameter , the error bound is obviously smallest when . This corresponds to uniform transition matrices , i.e., for all (see Lemma 6). As mentioned, the Markov randomized method with uniform transition probability matrices reduces to the incremental method with randomization in . In this case, choosing in (47) is optimal and the resulting bound is , with . We note that this bound is better by a factor of than the corresponding bound for the incremental method with randomization given in Proposition 3.1 in.
When transition matrices are non-uniform (), and good estimates of the bounds on subgradient norms and the diameter of the set are available, one may optimize the error bound in (47) with respect to integer for . In particular, one may optimize the term over integers . It can be seen that the optimal integer is given by
where .
A similar expression for optimal in the presence of subgradient errors can be obtained, but it is rather cumbersome. Furthermore such an expression (as well as the preceding one) may not be of practical importance when the bounds , the diameter of the set , and the bounds and on the error moments are “roughly” known. In this case, a simpler bound can be obtained by just comparing the values and , as given in the following.
Let the conditions of Theorem 9 hold. Then,
Furthermore, with probability 1, the same estimate holds for .
When choose In this case, from (Theorem 9) we get
When we can choose Then, from (Theorem 9),
It can be seen that the error bounds in (48) and Corollary 10 converge to zero as . This is not surprising in view of the convergence of the method with a diminishing step-size.
As discussed earlier, the error bound in is obtained assuming that there are no errors in subgradient evaluations and that the sequence of computing agents form a homogeneous Markov chain. Here, while we relax these assumptions, we make the additional assumption that the set is bounded.
A direct comparison between the bound in Corollary (10) and the results in is not possible. However, some qualitative comparisons on the nature of the bounds can be made. The bound in is obtained for each individual agent’s sequence of iterates (by sampling the iterates). This is a stronger result than our results in (48) and Corollary 10, which provide guarantees only on the entire iterate sequence (and not on the sequence of iterates at an individual agent). However, the bound in depends on the entire network topology, through the probability transition matrix of the Markov chain. Thus, the bound can be evaluated only when the complete network topology is available. In contrast, our bounds given in (48) and Corollary 10 can be evaluated without knowing the network topology. We require that the topology satisfies a connectivity assumption, as specified by Assumption 4, but we do not assume the knowledge of the exact network topology.
Discussion
Incremental algorithms form the middle ground between selfish agent behavior and complete network cooperation. Each agent can be viewed to be selfish, as it adjusts the iterate only using its own cost function. At the same time, the agents also cooperate by passing the iterate to a neighbor so that he may factor in his opinion by adjusting the iterate using his cost function. Through Theorems 3 and 8, it was observed that a system level global optimum could still be obtained through some amount of cooperation. This can be construed as a statement of Adam Smith’s invisible hand hypothesis in a more semi-cooperative market setting.
The results we have obtained are asymptotic in nature. The key step in dealing with both the incremental algorithms was to obtain the basic iterate equation (Lemmas 1 and 7). This was then combined with standard stochastic analysis techniques to obtain asymptotic results. While we have restricted ourselves to establishing only convergence results, it is possible to combine the techniques in with the basic iterate relation to obtain bounds on the expected rate of convergence of the algorithms. Finally, we have only listed a few possible applications for the results in this paper. The problem of aligning and coordinating mobile agents can also be cast in the optimization framework studied in this paper and the results in this paper, especially the results on Markov stochastic sub-gradient algorithm, can be used to design suitable alignment algorithms.