Forward-backward-forward methods with variance reduction for stochastic variational inequalities
Radu Ioan Bot, Panayotis Mertikopoulos, Mathias Staudigl, Phan Tu Vuong
Introduction
We call the set of (Stampacchia) solutions of . The variational inequality problem (1.1) arises in many interesting applications in economics, game theory and engineering , and includes as a special case first-order optimality conditions for nonlinear optimization, by choosing for some smooth function . If is unbounded, it can also be used to formulate complementarity problems, systems of equations, saddle point problems and many equilibrium problems. We refer the reader to for an extensive review of applications in engineering and economics.
Find satisfying (1.1).
This definition is known as the expected value formulation of the stochastic variational inequality problem. The expected value formulation goes back to the seminal work of . By its very definition, if the operator defined in (1.2) would be known, then the expected value formulation can be solved by any standard solution technique for deterministic variational inequalities. However, in practice, the operator is usually not directly accessible, either due to excessive computations involved in performing the integral, or because itself is the solution of an embedded subproblem. Hence, in most situations of interest, the solution of relies on random samples of the operator . In this context, there are two current methodologies available; the sample average approximation (SAA) approach replaces the expected value formulation with an empirical estimator of the form
and use the resulting deterministic map as the input in one existing algorithm of choice. We refer to for this solution approach in connection with Monte Carlo simulation. We note that this approach is the standard choice in expected residual minimization problems, when is unknown but accessible via a Monte Carlo approach.
A different methodology is the stochastic approximation (SA) approach, where samples are obtained in an online fashion, namely, the decision maker chooses one deterministic algorithm to solve the expected value formulation, and draws a fresh random variable whenever needed. The mechanism to draw a fresh sample from is usually named a stochastic oracle (SO), which report generates a stochastic error .
Until very recently, the SA approach has only been used for the expected value formulation under very restrictive assumptions. To the best of our knowledge, the first formulation of an SA approach for a stochastic VI problem was made by , under the assumption of strong monotonicity and continuity of the operator . There, a proximal point algorithm of the form
is considered, where denotes the Euclidean projection onto , is a sample of , and is a sequence of positive step sizes. Almost sure convergence of the iterates is proven for small step sizes, assuming is Lipschitz continuous and strongly monotone, and the stochastic error is uniformly bounded. Relaxing strong monotonicity to plain monotonicity, the recent paper incorporated a Tikhonov regularization scheme into the stochastic approximation algorithm (1.3) and proved almost sure convergence of the generated stochastic process. The only established method guaranteeing almost sure convergence under the significantly weaker assumption of pseudo-monotonicty of the mean operator is the extragradient approach of . The original Korpelevich extragradient scheme of consists of two projection steps using two evaluations of the deterministic map at generated test points and . Extending this to the stochastic oracle case, we arrive at the stochastic extra-gradient (SEG) method
We briefly summarize the main contributions of this work. The most costly part of SEG are the two separate projection steps performed at each single iteration of the method. We show in this paper that a stochastic version of Tseng’s forward-backward-forward , which we call the stochastic forward-backward-forward (SFBF) algorithm, preserves the strong trajectory-based convergence results, while the saving of one projection step allows us to beat SEG significantly in terms of computational overheads and runtimes. In terms of convergence properties the SFBF algorithm developed in this paper has the same good properties as SEG. However, SFBF is potentially more efficient than SEG in each iteration since it relies only on a single euclidean projection step. The price to pay for this is that we obtain an infeasible method (as is typical for primal-dual schemes) with a lower computational complexity count at the positive side. Additionally, the theoretically allowed range for step sizes is by the constant factor times larger than the theoretically allowed largest step size in SEG. This constant factor gain results in significant improvements in terms of the convergence speed. This will be illustrated with extensive numerical evidences reported in Section 6.
Preliminaries
The following properties of the euclidean projection on a closed and convex set are well known.
is the unique point of satisfying for all ;
In the literature on variational inequalities, there exists an alternative solution concept known as weak, or Minty, solutions. In this paper we are only interested in strong, or Stampacchia, solutions of , defined by inequality (1.1).
Another useful fact we use in this paper is the following elementary identity.
2. Probabilistic Tools
For the convergence analysis we will make use of the following classical lemma (see e.g. [26, Lemma 11, page 50]).
Finally, we need the celebrated Burkholder-Davis-Gundy inequality (see e.g. ).
When combined with Minkowski inequality, we obtain for all a constant such that for every
The stochastic forward-backward-forward algorithm
In this paper we study a forward-backward-forward algorithm of Tseng type under weak monotonicity assumptions. The blanket hypotheses we consider throughout our analysis are summarized here:
The solution set is nonemtpy.
At each iteration, the decision maker has access to a stochastic oracle, reporting an approximation of of the form
Given the current position , Algorithm SFBF queries the SO once, to obtain the estimator , and then constructs the random variable . Next, a second query to SO is made to obtain the estimator , followed by the update . The pseudocode for SFBF is given in Algorithm 1.
Observe that Algorithm SFBF is an infeasible method: the iterates are not necessarily elements of the admissible set , but the process is by construction so. In the stochastic optimization case, i.e. for instances where is an unbiased estimator of the gradient of a real-valued function, the process is seen to be a projected gradient step, where acts as an unbiased estimator for the stochastic gradient. This gradient step is used in an extrapolation step to generate the iterate . We just mention that related popular primal-dual splitting schemes like ADMM are infeasible by nature as well.
The step-size sequence in Algorithm SFBF satisfies
For , we introduce the approximation error
and the sub-sigma algebras , defined by , and
The batch size sequence satisfies .
A sufficient condition on the sequence is that for some constant and integer , we have
for and , or and . The next assumption is essentially the same as the variance control assumption in .
Before we proceed with the convergence analysis, we want to make some clarifying remarks on this assumption. The most frequently used assumption on the SO’s approximation error, which dates back to the seminal work of Robbins and Monro (see for a textbook reference), asks for uniformly bounded variance (UBV), i.e.
However, assuming a global variance bound is not realistic in cases where the variance of the stochastic oracle depends on the position (see e.g. Example 1 in ). 7 is much weaker than UBV, as it exploits the local variance of the stochastic oracle rather than, potentially hard to estimate, global mean square variance bounds. The recent papers make similar assumptions on the variance of the stochastic oracle. It is shown there that 7 is most natural in cases where the feasible set is unbounded, and it is always satisfied when the Carathéodory functions are random Lipschitz (see Example 3.1 below). Since Algorithm 1 is an infeasible method, we are forced to analyze the behavior of the stochastic process on an unbounded domain, which makes 7 the only realistic and convenient choice for us. Example 3.1 illustrates an important instance where 7 holds.
Convergence Analysis
We consider the quadratic residual function defined by
The reader familiar with the literature on finite-dimensional variational inequalities will recognize this immediately as the energy defined by the natural map [11, chapter 10]. It is well known that is a merit function for . Moreover, is a family of equivalent merit functions for , in the sense that for all [11, Proposition 10.3.6]. Denote
We define recursively the process by and, for all ,
For all and all we have
This recursive relation follows via several simple algebraic steps. Let be and fixed.
Using that as well as the pseudo-monotonicity of , we see
Using the Doob decomposition in equation (3.2), we can rewrite this inequality as
Since , from Lemma 2.1(i) we conclude that
Step 2
where we have used the definition of in the last equality. The Pythagoras identity in Lemma 2.2 gives us
Step 3.
Using again the definition of , we see
The first inequality is the Cauchy-Schwarz inequality. The second inequality follows from the -Lipschitz continuity of the averaged operator (3), and again the Cauchy-Schwarz inequality. Combining this with the last inequality obtained in Step 2, we see that
Step 4
By the definition of the squared residual function, the definition of and Lemma 2.1(iii), we have
Step 5
Combining (4.8) with the last inequality from Step 3 and recalling 5, we conclude
The definitions of the increments associated with the martingales and give the claimed result.
One can notice that in the above proof the pseudo-monotonicity of is used only in Step 1 of the above proof, if order to obtain relation (4.5). Thus, as happened in , the pseudo-monotonicity of can actually be replaced by the following weaker assumption
In the following, we let be the exponent as specified in 7. Taking conditional expectations in equation (4.4) and using the martingale property (4.3), we see for all that
In order to prove convergence of the process , we aim to deduce a stochastic quasi-Fejér relation. For that we need to understand the properties of the conditional expectation
The next lemma provides the required bounds for these expressions, and also highlights the implicit variance reduction of our method.
Let be and . We have
Hence, combining this with (4.10) for as in Lemma 4.2, we see that
Plugging this inequality into (4.11), after rearranging the terms we see that
such that, for all and we obtain the expressions
Let 7 be fulfilled with . For , and all we have
If (UBV) holds with variance bound , then these upper bounds simplify to
Let be . For , we know that
Using (4.13) and (4.14), and rearranging terms, we obtain (4.3). On the other hand, we have by definition
After applying (4.15) and rearranging terms we arrive at the expression (4.3).
In case UBV holds with uniform variance bound , the upper bound for follows immediately from the defining expression (4.2) by using the uniform bounds for the quadratic error terms and . The corresponding bound for is obtained from (4.3) by setting and replacing by its uniform upper bound .
Based on the previous estimates, we can now derive the announced stochastic quasi-Fejér inequality for the sequence .
For all and all , we have
If (UBV) holds with uniform variance bound , then
where now .
Let be and . Our point of departure is (4.9), together with (4.3). From here we derive that
In the last equality, we have used that , and that . Recalling that , the proof is complete.
In the case where (UBV) holds, we just have to combine (4.9) with (4.18) to obtain the claimed result.
The scaling factor only depends on the step size , the Lipschitz constant , and the variance bound on the stochastic oracle. Let and (both finite and positive according to 5). Using the definition of in (4.1), we can bound
where is a constant. Combined with the batch size condition (3.3), we obtain the existence of constants and such that
for all . Such non-asymptotic bounds will be used in the estimation of the rate of convergence of the algorithm.
Next we will prove that the process converges a.s. to a random variable with values in the set . This will be obtained as a consequence of the classical Robbins-Siegmund Lemma 2.3, and recent results on the convergence of stochastic quasi-Féjer monotone sequences (Proposition 2.3 in ).
We fix an element . Let , and , so that (4.20) can be rewritten for all as
We next show that for all all limit points of are points in , and then apply Proposition 2.3(iii) to conclude that converges almost surely to a random variable with values in . Let be such that is bounded. Since is bounded as well, we can construct subsequences and such that and . Additionally, we have , so that
To prove that converges to in mean square as , observe first that
Theorem 4.5 considerably strengthens similar results obtained via different splitting techniques. For SEG, asymptotic convergence of the iterates in the sense of Theorem 4.5 is established in Theorem 3 of . However, different to SFBF, SEG requires two costly projection steps, with the same number of oracle calls. This makes Algorithm SFBF a potentially more efficient tool, and we will demonstrate that this is actually the case empirically, as well as theoretically. Under strong monotonicity assumptions, a version of Theorem 4.5 has been recently established for a stochastic version of the classical forward-backward splitting technique in , assuming a similar variance structure on the stochastic oracle as we do. Theorem th:converge shows convergence of SFBF under the much weaker assumption of pseudo-monotonicity of the mean operator .
We close this section by reporting an improved stochastic quasi-Fejér property in terms of the distance to the solution set .
Suppose that Assumptions 1-7 hold. For set , and define . For all it holds
If (UBV) holds, then we get for all the uniform bound
with .
where the second inequality uses Proposition 4.4.
Complexity analysis and rates
The next two propositions provide explicit norm bounds on the iterates . These bounds are going to be crucial to assess the convergence rate and the per-iteration complexity of the proposed algorithm. To be sure, the formal appearance of the complexity estimates derived in this section is naturally similar to the corresponding bounds derived in . However, the key observation we would like to emphasize here is that an explicit comparison between the constants involved in the upper bounds obtained for Algorithm SFBF with those appearing in SEG shows that the constants are consistently smaller. This indicates that SFBF should empirically outperform SEG. This fact is consistently observed in all our numerical experiments, and, as we show in Section 6, actually this promised gain can be quite significant.
Suppose that Assumptions 1-7 hold. For all let
Using this bound, for all the previous display telescopes to
Rearranging, and using as well as (5.4), gives
Since has been chosen arbitrarily, we can let and obtain a contradiction. Therefore, there exists such that . From here we get for all
Taking the supremum over , and shifting back to the original expressions of the involved data, we get
which further leads to (5.5).
In case where the local variance of the SO is uniformly bounded over the solution set , we obtain much sharper results, allowing us to bound the distance of the iterates away from the solution set.
Suppose that Assumptions 1-7 hold. Suppose the variance over the solution set is bounded: for all . Define
Let and choose such that . Then
so that for all . Hence, for all
From here proceed, mutatis mutandis, as in the proof of Proposition 5.1.
For all and , define
Suppose that Assumptions 1-7 hold. Let be arbitrarily chosen, and consider Algorithm SFBF with constant step size . Choose and to be the first integer such that
where is defined in (5.2). Let
For all define the stopping time
Let , with the constant defined in (5.2), and as required in the statement of the theorem. From Proposition 5.1, we deduce the bound
Taking expectations in equation (4.20), we get
Using the variance bound , which is well defined given the local boundedness of the variance, we get first from Remark 4.2 the bound
Second, recalling that it yields for all
The two cases above can be compactly summarized to statement (5.10).
We next turn to the case where the local variance is uniformly bounded over the solution set. In the previous theorem, given , the constant in the convergence rate depends on the variance and on the distance of the initial iterates to , where and are chosen such that (5.8) holds. Assuming a uniformly bound on the variance of SO over the solution set , we can obtain much stronger convergence rate estimates, holding uniformly over the solution set.
Assume that , where the function is defined in (5.1). Let be arbitrarily chosen, and consider Algorithm SFBF with constant step size . Choose and to be the first integer such that
where . Let
For all consider the stopping time defined in (5.9). Then, either , or
The proof is almost identical to the proof of Theorem 5.3, but now we will use the estimates from Proposition 4.6 and Proposition 5.2 . We first remark that the upper variance bound is the only parameter in this statement; hence, the threshold index depends on this parameter only. Once we made this choice, we can repeat all the steps involved in the proof of Theorem 5.3 verbatim, but by using Proposition 4.6 instead of Proposition 4.4, to conclude that
From here, we conclude just as in the proof of Theorem 5.3 that
Choose arbitrary, and consider the stopping time (5.9). Then, either , or else . Focussing on the latter case, we argue just as in the proof of Theorem 5.3, that
Hence, if not zero, we must have
We now turn to the estimate of the oracle complexity. By this we mean the overall size of the data set needed to be processed in order to make the natural residual function smaller than a given tolerance level , in mean square. Hence, using the stopping time (5.9), we would like to estimate the number .
For simplicity, we will assume that the local variance function is uniformly bounded over the solution set . That is, we assume that there exists such that . A more complete argument, without making this strong assumption can be given similar to Proposition 3.23 in . We refrain doing so, since our main aim in this paper is to illustrate the improvement in the convergence rate when using Algorithm SFBF instead of SEG, and the simplest setting is enough for this purpose. We organize the derivation of an oracle complexity estimate in two parts. First, we will show that a specific (though admissible) choice of the sample rate, allows us to give an explicit bound on the number of preliminary iterates needed to apply the general bounds reported in Proposition 5.4. Building on this insight, we directly estimate the oracle complexity.
As announced, we first establish a bound on the number of iterations we need to meet condition (5.12).
Let be the constant defined in (5.6), and . We choose the sample rate
for and . Then, if is an integer satisfying
we have .
Therefore, if , we obtain the desired bound. Solving the latter inequality for gives the claimed result.
Using the sample rate (5.14), we will now bound the constant , and the stopping time . Define the constants
This yields the following refined uniform bound on the squared residual function.
For all , the stopping time defined in (5.9) is either zero, or
We now turn to the estimation of the oracle complexity. To this end, we have to bound the total number of data points involved in the batches needed to execute Algorithm SFBF, i.e. we want to upper bound the sum . Given the definition of the sample rate in (5.14), we can perform the following computation:
Let be arbitrarily chosen, and . Define
If the sample rate is given by (5.14), then we can bound the oracle complexity by
The proof is patterned after . Using , we continue from (5.15) to obtain the bound
Computational Experiments
We provide four examples to verify our theoretical results and compare our methods with the SEG proposed in . All experiments, beside 2, were generated with Matlab R2017a on a Linux OS with a 2.39 Ghz processor and 16 GB of memory. 2 was generated with Mathematica 11 on a MacBook Pro with a 2.9 Ghz processor and 16 GB memory.
Due to its widespread use and applications, fractional programming is instrumental to operations research and engineering, ranging from network science to signal processing, wireless communications and many other related fields . The standard form of a stochastic fractional program is as follows:
where and are positive and convex in for all . It is well known that such problems are pseudo-convex , so they fall within the general framework of this paper. In particular, one of the cases most commonly encountered in practice is when is linear in and deterministic, i.e.,
for vectors and of suitable dimension. Solving this problem directly involves the pseudo-monotone operator . Indeed, solves problem (6.1) if and only if solves .
In our first experiment, we consider functions of the form
where is a random matrix of size and is the identity matrix. Finally, the vectors and are drawn uniformly at random from , is a random number in , and .
At each sample of the methods, we generate a sample matrix as
where is a random matrix with iid entries drawn from a normal distribution with zero mean and standard derivation . Similarly,
where and are a random vector and a random number with zero mean and normal distribution with derivation , respectively. Also, for the problem’s feasible region, we consider box constraints of the form
where the lower bound is a random vector in and the upper bound . We have implemented SEG and SFBF for this problem, using the random operator . The starting point is randomly chosen in . Both algorithms are run with a constant step-size policy. We fix the stepsize of SFBF and SEG as and . The step-size is the largest one compatible with the theory developed in . We choose the batch size sequence , so that Assumption 6 is satisfied. We stop the algorithms when the residual is below a given tolerance . Specifically, our stopping criterion is
Our numerical experiments involve dimension , and for each value of we perform runs and compare the average number of iterations and CPU time. The results are displayed in Table 1, Figs. 1 and 2. It can be seen that SFBF is constantly about faster than SEG in both computational time and number of iterations. An interesting observation is that the number of iterations seems not to depend on the problem dimension.
Energy efficiency is one of the most important requirements for mobile systems, and it plays a crucial role in preserving battery life and reducing the carbon footprint of multi-antenna devices (i.e., wireless devices equipped with several antennas to multiplex and demultiplex received or transmitted signals).
Following , the problem can be formulated as follows: consider wireless devices (e.g., mobile phones), each equipped with transmit antennas and seeking to connect to a common base-station with receiver antennas. In this case, the users’ achievable throughput (received bits/sec) is given by the familiar Shannon–Telatar capacity formula :
is the Hermitian input signal covariance matrix of user and denotes their aggregate covariance profile. As a covariance matrix, each is Hermitian positive semi-definite.
is the channel matrix of user , representing the quality of the wireless medium between user and the receiver.
is the identity matrix.
In practice, because of fading and other signal attenuation factors, the channel matrices are random variables, so the users’ achievable throughput is given by
where the expectation is taken over the (often unknown) law of . The system’s energy efficiency (EE) is then defined as the ratio of the users’ achievable throughput per the unit of power consumed to achieved, i.e.,
is the transmit power of the -th device; by elementary signal processing considerations, it is given by .
is a constant representing the total power dissipated in all circuit components of the -th device (mixer, frequency synthesizer, digital-to-analog converter, etc.), except for transmission. For concision, we will also write for the total circuit power dissipitated by the system.
The users’ transmit power is further constrained by the maximum output of the transmitting device, corresponding to a trace constraint of the form
Hence, putting all this together, we obtain the stochastic fractional problem:
Note that the overall problem dimension is . The energy efficiency objective of this problem (which, formally, has units of bits/Joule) has been widely studied in the literature and it captures the fundamental trade-off between higher spectral efficiency and increased battery life. Importantly, switching from maximization to minimization, we also see that (6.8) is of the general form (6.1), so it can be solved by applying the SFBF algorithm: in fact, given the costly projection step to the problem’s feasible region, SFBF seems ideally suited to the task.
We do so in a series of numerical experiments reported in Fig. 3. Specifically, we consider a network consisting of users, each with transmit antennas, and a common receiver with receive antennas. To simulate realistic network conditions, the users’ channel matrices are drawn at each update cycle from a COST Hata radio propagation model with Rayleigh fading ; to establish a baseline, we also ran an experiment with static, deterministic channels. For comparison purposes, we ran both SFBF and SEG with the same variance reduction schedule, the same number of iterations, and step-sizes chosen as in 1; also, to reduce statistical error, we performed sample runs for each algorithm. As in the case of 1, the SFBF algorithm performs consistently better than SEG, converging to a given target value between and times faster.
2. Matrix Games
As numerical illustration we investigate the performance of the algorithm to compute Nash equilibria in random matrix games. To be specific, we revisit in this experiment the problem of computing one Nash equilibrium in random two-player bimatrix games. A bimatrix game presented in its mixed extension consists of a tuple , defined by
real valued utility functions , defined by the matrices , both of which are real matrices of dimension .
Recall that a pair of mixed actions is called a Nash equilibrium of the bimatrix game , if
The bimatrix game is symmetric if and . In symmetric games, it is natural to focus on symmetric Nash equilibria, which is a Nash equilibrium with .
It is a classical fact that a Nash equilibrium can be computed by finding a pair such that
The payoffs of the players in equilibrium can be recovered by looking at , and the mixed actions defining equilibrium play are recovered by . It is clear that is always a solution to the linear complementarity problem
we can reformulate the conditions (6.11) compactly as
To turn this into a stochastic complementarity problem, we consider a stochastic Nash game , where the player set and the set of mixed actions if fixed, but the payoff functions are realizations of random matrices
In our experiments, is defined as in (6.9) and . Each element of the matrices is generated randomly with uniform distribution in . To setup the experiments, we generate random matrices , where is a random matrix with zero mean and normal distribution with derivation . Since the operator is Lipschitz continuous with modulus , we run SEG and SFBF with constant stepsizes , and , respectively. We choose the batch size sequence so that 6 is satisfied. The same stopping criterion as in the previous experiments of Section 6.1 is used.
From the numerical experiments, we observe that the SFBF outperforms the SEG, being on average 1.7 times faster in computational time and 1.5 times faster in number of iterations. The difference becomes larger as the problem dimension increases. There are two reasons for results: firstly, SEG requires two projections per iteration while SFBF only requires one and more importantly, the stepsize of SFBF is times larger than that of SEG.
We compare the performance SFBF and SEG for zero sum game, i.e., . The results are displayed in Table 2 and Fig. 4 showing the advantage of SFBF over SEG. On average, SFBF is 1.7 times faster in computational time and 3.4 times faster in number of iterations than SEG.
We compare the performance SFBF and SEG for symmetric game, i.e., are symmetric and . We choose and . The results are displayed in Table 3 and Fig. 4 showing the advantage of SFBF over SEG.
We compare the performance SFBF and SEG for asymmetric game. We choose and . The results are displayed in Table 4 and Fig. 5 and Fig. 6 showing the advantage of SFBF over SEG.
Conclusion
In this paper we have developed a stochastic version of Tseng’s forward-backward-forward algorithm for solving stochastic variational inequality problems over nonempty closed and convex sets. As in , the current analysis can be generalized to Cartesian problems, though have not done this explicitly. We show that the known theoretical convergence guarantees of SEG carry over to this setting, but our method consistently outperforms SEG in terms of convergence rate and complexity. We therefore believe that SFBF is a serious competitor to SEG in typical primal-dual settings, where feasibility is a minor issue. Interesting directions for the future are to test the performance of the method in other instances where variance reduction is of importance, such as in composite optimization involving a large but finite sum of functions. Another possible extenstion would be to develop an infinite-dimensional Hilbert space version of the algorithm, and modify the basic SFBF scheme to induce strong convergence of the iterates. We will investige these, and other issues, in the future.
Appendix A Auxiliary Results
Setting , we see that the process is a martingale starting at zero.
Using this, together with Lemma 2.4, we get
Observe that and . Hence, we immediately obtain from Lemma A.1 that
To prove (4.11), we notice that Lemma A.1 implies that
The tower property of conditional expectations (recall that ) gives
Finally, by the Minkowski inequality, we get
and our proof is complete.