arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:1809.02292v3 [cs.LG] 01 Nov 2018

A Block Coordinate Ascent Algorithm
for Mean-Variance Optimization

Bo Liu Thanks: Equal contribution. Corresponding to: boliu@auburn.edu.

32nd Conference on Neural Information Processing Systems (NIPS 2018), Montreal, Canada. Copyright 2018 by the authors.
Affiliation: Auburn University Email: boliu@auburn.edu
   Tengyang Xie11footnotemark: 1 Affiliation: UMass Amherst Email: txie@cs.umass.edu    Yangyang Xu Affiliation: Rensselaer Polytechnic Institute Email: xuy21@rpi.edu    Mohammad Ghavamzadeh Affiliation: Facebook AI Research Email: mgh@fb.com    Yinlam Chow Affiliation: Google DeepMind Email: yinlamchow@google.com    Daoming Lyu Affiliation: Auburn University Email: daoming.lyu@auburn.edu    Daesub Yoon Affiliation: ETRI Email: eyetracker@etri.re.kr
Abstract

Risk management in dynamic decision problems is a primary concern in many fields, including financial investment, autonomous driving, and healthcare. The mean-variance function is one of the most widely used objective functions in risk management due to its simplicity and interpretability. Existing algorithms for mean-variance optimization are based on multi-time-scale stochastic approximation, whose learning rate schedules are often hard to tune, and have only asymptotic convergence proof. In this paper, we develop a model-free policy search framework for mean-variance optimization with finite-sample error bound analysis (to local optima). Our starting point is a reformulation of the original mean-variance function with its Legendre-Fenchel dual, from which we propose a stochastic block coordinate ascent policy search algorithm. Both the asymptotic convergence guarantee of the last iteration’s solution and the convergence rate of the randomly picked solution are provided, and their applicability is demonstrated on several benchmark domains.

1 Introduction

Risk management plays a central role in sequential decision-making problems, common in fields such as portfolio management [Lai et al., 2011], autonomous driving [Maurer et al., 2016], and healthcare [Parker, 2009]. A common risk-measure is the variance of the expected sum of rewards/costs and the mean-variance trade-off function [Sobel, 1982; Mannor and Tsitsiklis, 2011] is one of the most widely used objective functions in risk-sensitive decision-making. Other risk-sensitive objectives have also been studied, for example, Borkar, 2002 studied exponential utility functions, Tamar et al., 2012 experimented with the Sharpe Ratio measurement, Chow et al., 2018 studied value at risk (VaR) and mean-VaR optimization, Chow and Ghavamzadeh, 2014Tamar et al., 2015b, and Chow et al., 2018 investigated conditional value at risk (CVaR) and mean-CVaR optimization in a static setting, and Tamar et al., 2015a investigated coherent risk for both linear and nonlinear system dynamics. Compared with other widely used performance measurements, such as the Sharpe Ratio and CVaR, the mean-variance measurement has explicit interpretability and computational advantages [Markowitz et al., 2000; Li and Ng, 2000]. For example, the Sharpe Ratio tends to lead to solutions with less mean return [Tamar et al., 2012]. Existing mean-variance reinforcement learning (RL) algorithms [Tamar et al., 2012; Prashanth and Ghavamzadeh, 2013; Prashanth and Ghavamzadeh, 2016] often suffer from heavy computational cost, slow convergence, and difficulties in tuning their learning rate schedules. Moreover, all their analyses are asymptotic and no rigorous finite-sample complexity analysis has been reported. Recently, Dalal et al., 2018 provided a general approach to compute finite sample analysis in the case of linear multiple time scales stochastic approximation problems. However, existing multiple time scales algorithms like [Tamar et al., 2012] consist of nonlinear term in its update, and cannot be analyzed via the method in Dalal et al., 2018. All these make it difficult to use them in real-world problems. The goal of this paper is to propose a mean-variance optimization algorithm that is both computationally efficient and has finite-sample analysis guarantees. This paper makes the following contributions: 1) We develop a computationally efficient RL algorithm for mean-variance optimization. By reformulating the mean-variance function with its Legendre-Fenchel dual [Boyd and Vandenberghe, 2004], we propose a new formulation for mean-variance optimization and use it to derive a computationally efficient algorithm that is based on stochastic cyclic block coordinate descent. 2) We provide the sample complexity analysis of our proposed algorithm. This result is novel because although cyclic block coordinate descent algorithms usually have empirically better performance than randomized block coordinate descent algorithms, yet almost all the reported analysis of these algorithms are asymptotic [Xu and Yin, 2015].

Here is a roadmap for the rest of the paper. Section 2 offers a brief background on risk-sensitive RL and stochastic variance reduction. In Section 3, the problem is reformulated using the Legendre-Fenchel duality and a novel algorithm is proposed based on stochastic block coordinate descent. Section 4 contains the theoretical analysis of the paper that includes both asymptotic convergence and finite-sample error bound. The experimental results of Section 5 validate the effectiveness of the proposed algorithms.

2 Backgrounds

This section offers a brief overview of risk-sensitive RL, including the objective functions and algorithms. We then introduce block coordinate descent methods. Finally, we introduce the Legendre-Fenchel duality, the key ingredient in formulating our new algorithms.

2.1 Risk-Sensitive Reinforcement Learning

Reinforcement Learning (RL) [Sutton and Barto, 1998] is a class of learning problems in which an agent interacts with an unfamiliar, dynamic, and stochastic environment, where the agent’s goal is to optimize some measures of its long-term performance. This interaction is conventionally modeled as a Markov decision process (MDP), defined as the tuple (𝒮,𝒜,P0,Pssa,r,γ)({\mathcal{S},\mathcal{A},P_{0},P_{ss^{\prime}}^{a},r,\gamma}), where 𝒮\mathcal{S} and 𝒜\mathcal{A} are the sets of states and actions, P0P_{0} is the initial state distribution, PssaP_{ss^{\prime}}^{a} is the transition kernel that specifies the probability of transition from state s𝒮s\in\mathcal{S} to state s𝒮s^{\prime}\in\mathcal{S} by taking action a𝒜a\in\mathcal{A}, r(s,a):𝒮×𝒜r(s,a):\mathcal{S}\times\mathcal{A}\to\mathbb{R} is the reward function bounded by RmaxR_{\max}, and 0γ<10\leq\gamma<1 is a discount factor. A parameterized stochastic policy πθ(a|s):𝒮×𝒜[0,1]\pi_{\theta}(a|s):\mathcal{S}\times\mathcal{A}\to\left[{0,1}\right] is a probabilistic mapping from states to actions, where θ\theta is the tunable parameter and πθ(a|s)\pi_{\theta}(a|s) is a differentiable function w.r.t. θ\theta.

One commonly used performance measure for policies in episodic MDPs is the return or cumulative sum of rewards from the starting state, i.e., R=k=1τr(sk,ak)R=\sum\nolimits_{k=1}^{{\tau}}{r({s_{k}},{a_{k}})}, where s1P0s_{1}\sim P_{0} and τ\tau is the first passage time to the recurrent state ss^{*} [Puterman, 1994; Tamar et al., 2012], and thus, τmin{k>0|sk=s}\tau\coloneqq\min\{k>0\;|\;{s_{k}}={s^{*}}\}. In risk-neutral MDPs, the algorithms aim at finding a near-optimal policy that maximizes the expected sum of rewards J(θ)𝔼πθ[R]=𝔼πθ[k=1τr(sk,ak)]J(\theta)\coloneqq\mathbb{E}_{\pi_{\theta}}[R]=\mathbb{E}_{\pi_{\theta}}\big[\sum_{k=1}^{{\tau}}{r({s_{k}},{a_{k}})}\big]. We also define the square-return M(θ)𝔼πθ[R2]=𝔼πθ[(k=1τr(sk,ak))2]M(\theta)\coloneqq{\mathbb{E}_{{\pi_{\theta}}}}[{R^{2}}]={\mathbb{E}_{{\pi_{\theta}}}}\Big[{\big(\sum_{k=1}^{\tau}{r({s_{k}},{a_{k}})}\big)^{2}}\Big]. In the following, we sometimes drop the subscript πθ\pi_{\theta} to simplify the notation.

In risk-sensitive mean-variance optimization MDPs, the objective is often to maximize J(θ)J(\theta) with a variance constraint, i.e.,

maxθ\displaystyle\max_{\theta} J(θ)=𝔼πθ[R]\displaystyle J(\theta)=\mathbb{E}_{\pi_{\theta}}[R] (1)
s.t.\displaystyle\text{s.t.} Varπθ(R)ζ,\displaystyle\text{Var}_{\pi_{\theta}}(R)\leq\zeta,

where Varπθ(R)=M(θ)J2(θ)\text{Var}_{\pi_{\theta}}(R)=M(\theta)-J^{2}(\theta) measures the variance of the return random variable RR, and ζ>0\zeta>0 is a given risk parameter [Tamar et al., 2012; Prashanth and Ghavamzadeh, 2013]. Using the Lagrangian relaxation procedure [Bertsekas, 1999], we can transform the optimization problem (1) to maximizing the following unconstrained objective function:

Jλ(θ)\displaystyle{J_{\lambda}}(\theta)\coloneqq 𝔼πθ[R]λ(Varπθ(R)ζ)\displaystyle\mathbb{E}_{\pi_{\theta}}[R]-\lambda\big(\text{Var}_{\pi_{\theta}}(R)-\zeta) (2)
=\displaystyle= J(θ)λ(M(θ)J(θ)2ζ).\displaystyle J(\theta)-\lambda\big(M(\theta)-J(\theta)^{2}-\zeta\big). (3)

It is important to note that the mean-variance objective function is NP-hard in general [Mannor and Tsitsiklis, 2011]. The main reason for the hardness of this optimization problem is that although the variance satisfies a Bellman equation [Sobel, 1982], unfortunately, it lacks the monotonicity property of dynamic programming (DP), and thus, it is not clear how the related risk measures can be optimized by standard DP algorithms [Sobel, 1982].

The existing methods to maximize the objective function (3) are mostly based on stochastic approximation that often converge to an equilibrium point of an ordinary differential equation (ODE) [Borkar, 2008]. For example, Tamar et al., 2012 proposed a policy gradient algorithm, a two-time-scale stochastic approximation, to maximize (3) for a fixed value of λ\lambda (they optimize over λ\lambda by selecting its best value in a finite set), while the algorithm in Prashanth and Ghavamzadeh, 2013 to maximize (3) is actor-critic and is a three-time-scale stochastic approximation algorithm (the third time-scale optimizes over λ\lambda). These approaches suffer from certain drawbacks: 1) Most of the analyses of ODE-based methods are asymptotic, with no sample complexity analysis. 2) It is well-known that multi-time-scale approaches are sensitive to the choice of the stepsize schedules, which is a non-trivial burden in real-world problems. 3) The ODE approach does not allow extra penalty functions. Adding penalty functions can often strengthen the robustness of the algorithm, encourages sparsity and incorporates prior knowledge into the problem [Hastie et al., 2001].

2.2 Coordinate Descent Optimization

Coordinate descent (CD)11 1 Note that since our problem is maximization, our proposed algorithms are block coordinate ascent. and the more general block coordinate descent (BCD) algorithms solve a minimization problem by iteratively updating variables along coordinate directions or coordinate hyperplanes [Wright, 2015]. At each iteration of BCD, the objective function is (approximately) minimized w.r.t. a coordinate or a block of coordinates by fixing the remaining ones, and thus, an easier lower-dimensional subproblem needs to be solved. A number of comprehensive studies on BCD have already been carried out, such as Luo and Tseng, 1992 and Nesterov, 2012 for convex problems, and Tseng, 2001Xu and Yin, 2013, and Razaviyayn et al., 2013 for nonconvex cases (also see Wright, 2015 for a review paper). For stochastic problems with a block structure, Dang and Lan, 2015 proposed stochastic block mirror descent (SBMD) by combining BCD with stochastic mirror descent [Beck and Teboulle, 2003; Nemirovski et al., 2009]. Another line of research on this topic is block stochastic gradient coordinate descent (BSG) [Xu and Yin, 2015]. The key difference between SBMD and BSG is that at each iteration, SBMD randomly picks one block of variables to update, while BSG cyclically updates all block variables.

In this paper, we develop mean-variance optimization algorithms based on both nonconvex stochastic BSG and SBMD. Since it has been shown that the BSG-based methods usually have better empirical performance than their SBMD counterparts, the main algorithm we report, analyze, and evaluate in the paper is BSG-based. We report our SBMD-based algorithm in Appendix C and use it as a baseline in the experiments of Section 5. The finite-sample analysis of our BSG-based algorithm reported in Section 4 is novel because although there exists such analysis for convex stochastic BSG methods [Xu and Yin, 2015], we are not aware of similar results for their nonconvex version to the best our knowledge.

3 Algorithm Design

In this section, we first discuss the difficulties of using the regular stochastic gradient ascent to maximize the mean-variance objective function. We then propose a new formulation of the mean-variance objective function that is based on its Legendre-Fenchel dual and derive novel algorithms that are based on the recent results in stochastic nonconvex block coordinate descent. We conclude this section with an asymptotic analysis of a version of our proposed algorithm.

3.1 Problem Formulation

In this section, we describe why the vanilla stochastic gradient cannot be used to maximize Jλ(θ)J_{\lambda}(\theta) defined in Eq. (3). Taking the gradient of Jλ(θ)J_{\lambda}(\theta) w.r.t. θ\theta, we have

θJλ(θt)=\displaystyle\nabla_{\theta}{J_{\lambda}}({\theta_{t}})= θJ(θt)λθVar(R)\displaystyle{\nabla_{\theta}}J({\theta_{t}})-\lambda{\nabla_{\theta}}{\rm{Var}}(R) (4)
=\displaystyle= θJ(θt)λ(θM(θ)2J(θ)θJ(θ)).\displaystyle{\nabla_{\theta}}J({\theta_{t}})-\lambda\big(\nabla_{\theta}M(\theta)-2J({\theta})\nabla_{\theta}J({\theta})\big). (5)

Computing θJλ(θt)\nabla_{\theta}{J_{\lambda}}({\theta_{t}}) in (5) involves computing three quantities: θJ(θ),θM(θ)\nabla_{\theta}J({\theta}),\nabla_{\theta}M({\theta}), and J(θ)θJ(θ)J({\theta})\nabla_{\theta}J({\theta}). We can obtain unbiased estimates of θJ(θ)\nabla_{\theta}J(\theta) and θM(θ)\nabla_{\theta}M(\theta) from a single trajectory generated by the policy πθ\pi_{\theta} using the likelihood ratio method [Williams, 1992], as θJ(θ)=𝔼[Rtωt(θ)]\nabla_{\theta}J({\theta})=\mathbb{E}[{R_{t}}\omega_{t}(\theta)] and θM(θ)=𝔼[Rt2ωt(θ)]\nabla_{\theta}M({\theta})=\mathbb{E}[R_{t}^{2}\omega_{t}(\theta)]. Note that RtR_{t} is the cumulative reward of the tt-th episode, i.e., Rt=k=1τtrkR_{t}=\sum\nolimits_{k=1}^{{\tau_{t}}}r_{k}, which is possibly a nonconvex function, and ωt(θ)=k=1τtθlnπθ(ak|sk)\omega_{t}(\theta)=\sum_{k=1}^{{\tau_{t}}}{\nabla_{\theta}\ln{\pi_{\theta}}({a_{k}}|{s_{k}})} is the likelihood ratio derivative. In the setting considered in the paper, an episode is the trajectory between two visits to the recurrent state ss^{*}. For example, the tt-th episode refers to the trajectory between the (tt-1)-th and the tt-th visits to ss^{*}. We denote by τt\tau_{t} the length of this episode.

However, it is not possible to compute an unbiased estimate of J(θ)θJ(θ)J(\theta)\nabla_{\theta}J(\theta) without having access to a generative model of the environment that allows us to sample at least two next states ss^{\prime} for each state-action pair (s,a)(s,a). As also noted by Tamar et al., 2012 and Prashanth and Ghavamzadeh, 2013, computing an unbiased estimate of J(θ)θJ(θ)J(\theta)\nabla_{\theta}J(\theta) requires double sampling (sampling from two different trajectories), and thus, cannot be done using a single trajectory. To circumvent the double-sampling problem, these papers proposed multi-time-scale stochastic approximation algorithms, the former a policy gradient algorithm and the latter an actor-critic algorithm that uses simultaneous perturbation methods [Bhatnagar et al., 2013]. However, as discussed in Section 2.1, multi-time-scale stochastic approximation approach suffers from several weaknesses such as no available finite-sample analysis and difficult-to-tune stepsize schedules. To overcome these weaknesses, we reformulate the mean-variance objective function and use it to present novel algorithms with in-depth analysis in the rest of the paper.

3.2 Block Coordinate Reformulation

In this section, we present a new formulation for Jλ(θ)J_{\lambda}(\theta) that is later used to derive our algorithms and do not suffer from the double-sampling problem in estimating J(θ)θJ(θ)J(\theta)\nabla_{\theta}J(\theta). We begin with the following lemma.

Lemma 1.

For the quadratic function f(z)=z2,zf(z)=z^{2},\;z\in\mathbb{R}, we define its Legendre-Fenchel dual as f(z)=z2=maxy(2zyy2)f(z)=z^{2}=\mathop{\max}_{y\in\mathbb{R}}(2zy-{y^{2}}).

This is a special case of the Lengendre-Fenchel duality [Boyd and Vandenberghe, 2004] that has been used in several recent RL papers (e.g., Liu et al., 2015; Du et al., 2017; Liu et al., 2018). Let Fλ(θ)(J(θ)+12λ)2M(θ){F_{\lambda}}(\theta)\coloneqq{\left({J(\theta)+\frac{1}{{2\lambda}}}\right)^{2}}-M(\theta), which follows Fλ(θ)=Jλ(θ)λ+14λ2ζ{F_{\lambda}}(\theta)=\frac{{{J_{\lambda}}(\theta)}}{\lambda}+\frac{1}{{4{\lambda^{2}}}}-\zeta. Since λ>0\lambda>0 is a constant, maximizing Jλ(θ)J_{\lambda}(\theta) is equivalent to maximizing Fλ(θ){F_{\lambda}}(\theta). Using Lemma 1 with z=J(θ)+12λz=J(\theta)+\frac{1}{2\lambda}, we may reformulate Fλ(θ){F_{\lambda}}(\theta) as

Fλ(θ)=maxy(2y(J(θ)+12λ)y2)M(θ).\displaystyle{F_{\lambda}}(\theta)=\mathop{\max}_{y}\Big({2y\big(J(\theta)+\frac{1}{{2\lambda}}\big)-{y^{2}}}\Big)-M(\theta). (6)

Using (6), the maximization problem maxθFλ(θ)\mathop{\max}_{\theta}{F_{\lambda}}(\theta) is equivalent to

maxθ,y\displaystyle\mathop{\max}_{\theta,y} f^λ(θ,y),\displaystyle{\displaystyle\hat{f}_{\lambda}}(\theta,y), (7)
where\displaystyle\text{where} f^λ(θ,y)2y(J(θ)+12λ)y2M(θ).\displaystyle{{{\displaystyle\hat{f}}_{\lambda}}(\theta,y)\coloneqq 2y\big(J(\theta)+\frac{1}{{2\lambda}}\big)-{y^{2}}-M(\theta)}.

Our optimization problem is now formulated as the standard nonconvex coordinate ascent problem (7). We use three stochastic solvers to solve (7): SBMD method [Dang and Lan, 2015], BSG method [Xu and Yin, 2015], and the vanilla stochastic gradient ascent (SGA) method [Nemirovski et al., 2009]. We report our BSG-based algorithm in Section 3.3 and leave the details of the SBMD and SGA based algorithms to Appendix C. In the following sections, we denote by βtθ\beta_{t}^{\theta} and βty\beta_{t}^{y} the stepsizes of θ\theta and yy, respectively, and by the subscripts tt and kk the episode and time-step numbers.

3.3 Mean-Variance Policy Gradient

We now present our main algorithm that is based on a block coordinate update to maximize (7). Let gtθ{g}_{t}^{\theta} and gty{g}_{t}^{y} be block gradients and g~tθ\tilde{g}_{t}^{\theta} and g~ty\tilde{g}_{t}^{y} be their sample-based estimations defined as

gty=𝔼[g~ty]=2J(θt)+1λ2yt,\displaystyle g^{y}_{t}=\mathbb{E}[\tilde{g}^{y}_{t}]=2J(\theta_{t})+\frac{1}{\lambda}-2y_{t}\quad,\quad g~ty=2Rt+1λ2yt,\displaystyle\tilde{g}^{y}_{t}=2R_{t}+\frac{1}{\lambda}-2y_{t}, (8)
gtθ=𝔼[g~tθ]=2yt+1θJ(θt)θM(θt),\displaystyle g^{\theta}_{t}=\mathbb{E}[\tilde{g}^{\theta}_{t}]=2y_{t+1}\nabla_{\theta}{J(\theta_{t})}-\nabla_{\theta}M(\theta_{t})\quad,\quad g~tθ=(2yt+1Rt(Rt)2)ωt(θt).\displaystyle\tilde{g}^{\theta}_{t}=\left({2y_{t+1}{R_{t}}-{{({R_{t}})}^{2}}}\right){\omega_{t}}({\theta_{t}}). (9)

The block coordinate updates are

yt+1=\displaystyle{y_{t+1}}= yt+βtyg~ty,\displaystyle{y_{t}}+{\beta^{y}_{t}}{\tilde{g}_{t}^{y}}, (10)
θt+1=\displaystyle{\theta_{t+1}}= θt+βtθg~tθ.\displaystyle{\theta_{t}}+{\beta^{\theta}_{t}}{\tilde{g}_{t}^{\theta}}. (11)

To obtain unbiased estimates of gtyg^{y}_{t} and gtθg^{\theta}_{t}, we shall update yy (to obtain yt+1y_{t+1}) prior to computing gtθg^{\theta}_{t} at each iteration. Now it is ready to introduce the Mean-Variance Policy Gradient (MVP) Algorithm 1.

Algorithm 1 Mean-Variance Policy Gradient (MVP)
1:Input: Stepsizes {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\}, and number of iterations NNOption I: {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\} satisfy the Robbins-Monro condition  Option II: βtθ\beta_{t}^{\theta} and βty\beta_{t}^{y} are set to be constants
2:for episode t=1,,Nt=1,\dotsc,N do
3:   Generate the initial state s1P0s_{1}\sim P_{0}
4:   while skss_{k}\neq s^{*} do
5:    Take the action akπθt(a|sk)a_{k}\sim\pi_{\theta_{t}}(a|s_{k}) and observe the reward rkr_{k} and next state sk+1s_{k+1}
6:   end while
7:   Update the parameters
Rt=\displaystyle{R_{t}}= k=1τtrk\displaystyle\sum_{k=1}^{\tau_{t}}{{r_{k}}} (12)
ωt(θt)=\displaystyle{\omega_{t}}(\theta_{t})= k=1τtθlnπθt(ak|sk)\displaystyle\sum_{k=1}^{{\tau_{t}}}{\nabla_{\theta}\ln{\pi_{\theta_{t}}}({a_{k}}|{s_{k}})} (13)
yt+1=\displaystyle{y_{t+1}}= yt+βty(2Rt+1λ2yt)\displaystyle{y_{t}}+{\beta_{t}^{y}}\left(2R_{t}+\frac{1}{\lambda}-2y_{t}\right) (14)
θt+1=\displaystyle{\theta_{t+1}}= θt+βtθ(2yt+1Rt(Rt)2)ωt(θt)\displaystyle{\theta_{t}}+{\beta_{t}^{\theta}}\left({2y_{t+1}{R_{t}}-{{({R_{t}})}^{2}}}\right){\omega_{t}}({\theta_{t}}) (15)
8:end for
9:Output x¯N\bar{x}_{N}:  Option I: Set x¯N=xN=[θN,yN]\bar{x}_{N}=x_{N}=[\theta_{N},y_{N}]^{\top}Option II: Set x¯N=xz=[θz,yz]\bar{x}_{N}=x_{z}=[\theta_{z},y_{z}]^{\top}, where zz is uniformly drawn from {1,2,,N}\{1,2,\ldots,N\}

Before presenting our theoretical analysis, we first introduce the assumptions needed for these results.

Assumption 1 (Bounded Gradient and Variance).

There exist constants GG and σ\sigma such that

yf^λ(x)2G,\displaystyle\|\nabla_{y}\hat{f}_{\lambda}(x)\|_{2}\leq G,~ θf^λ(x)2G,\displaystyle\|\nabla_{\theta}\hat{f}_{\lambda}(x)\|_{2}\leq G, (16)
𝔼[Δty22]σ2,\displaystyle\mathbb{E}[\|\Delta^{y}_{t}\|_{2}^{2}]\leq{\sigma}^{2},~ 𝔼[Δtθ22]σ2,\displaystyle\mathbb{E}[\|\Delta^{\theta}_{t}\|_{2}^{2}]\leq{\sigma}^{2}, (17)

for any tt and xx, where 2\|\cdot\|_{2} denotes the Euclidean norm, Δtyg~tygty{\Delta}^{y}_{t}\coloneqq\tilde{g}^{y}_{t}-{g}^{y}_{t} and Δtθg~tθgtθ{\Delta}^{\theta}_{t}\coloneqq\tilde{g}^{\theta}_{t}-{g}^{\theta}_{t}.

Assumption 1 is standard in nonconvex coordinate descent algorithms [Xu and Yin, 2015; Dang and Lan, 2015]. We also need the following assumption that is standard in the policy gradient literature.

Assumption 2 (Ergodicity).

The Markov chains induced by all the policies generated by the algorithm are ergodic, i.e., irreducible, aperiodic, and recurrent.

In practice, we can choose either Option I with the result of the final iteration as output or Option II with the result of a randomly selected iteration as output. In what follows in this section, we report an asymptotic convergence analysis of MVP with Option I, and in Section 4, we derive a finite-sample analysis of MVP with Option II.

Theorem 1 (Asymptotic Convergence).

Let {xt=(θt,yt)}\big\{x_{t}=(\theta_{t},y_{t})\big\} be the sequence of the outputs generated by Algorithm 1 with Option I. If {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\} are time-diminishing real positive sequences satisfying the Robbins-Monro condition, i.e., t=1βtθ=\sum_{t=1}^{\infty}{\beta_{t}^{\theta}}=\infty, t=1(βtθ)2<\sum_{t=1}^{\infty}{{{(\beta_{t}^{\theta})}^{2}}}<\infty, t=1βty=\sum_{t=1}^{\infty}{\beta_{t}^{y}}=\infty, and t=1(βty)2<\sum_{t=1}^{\infty}{{{(\beta_{t}^{y})}^{2}}}<\infty, then Algorithm 1 will converge such that limt𝔼[f^λ(xt)2]=0\;\lim_{t\rightarrow\infty}\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}]=0.

The proof of Theorem 1 follows from the analysis in Xu and Yin, 2013. Due to space constraint, we report it in Appendix A.

Algorithm 1 is a special case of nonconvex block stochastic gradient (BSG) methods. To the best of our knowledge, no finite-sample analysis has been reported for this class of algorithms. Motivated by the recent papers by Nemirovski et al., 2009Ghadimi and Lan, 2013Xu and Yin, 2015, and Dang and Lan, 2015, in Section 4, we provide a finite-sample analysis for general nonconvex block stochastic gradient methods and apply it to Algorithm 1 with Option II.

4 Finite-Sample Analysis

In this section, we first present a finite-sample analysis for the general class of nonconvex BSG algorithms [Xu and Yin, 2013], for which there are no established results, in Section 4.1. We then use these results and prove a finite-sample bound for our MVP algorithm with Option II, that belongs to this class, in Section 4.2. Due to space constraint, we report the detailed proofs in Appendix A.

4.1 Finite-Sample Analysis of Nonconvex BSG Algorithms

In this section, we provide a finite-sample analysis of the general nonconvex block stochastic gradient (BSG) method, where the problem formulation is given by

minxnf(x)=𝔼ξ[F(x,ξ)].\displaystyle\min_{x\in\mathbb{R}^{n}}~f(x)=\mathbb{E}_{\xi}[F(x,\xi)]. (18)

ξ\xi is a random vector, and F(,ξ):nF(\cdot,\xi):\mathbb{R}^{n}\rightarrow\mathbb{R} is continuously differentiable and possibly nonconvex for every ξ\xi. The variable xnx\in\mathbb{R}^{n} can be partitioned into bb disjoint blocks as x={x1,x2,,xb}x=\{x^{1},x^{2},\dotsc,x^{b}\}, where xinix^{i}\in\mathbb{R}^{n_{i}} denotes the ii-th block of variables, and i=1bni=n\sum_{i=1}^{b}n_{i}=n. For simplicity, we use x<ix^{<i} for (xi,,xi1)(x_{i},\dots,x_{i-1}), and xix^{\leq i},x>ix^{>i}, and xix^{\geq i} are defined correspondingly. We also use xi\nabla_{x^{i}} to denote xi\frac{\partial}{\partial x^{i}} for the partial gradient with respect to xix^{i}. Ξt\Xi_{t} is the sample set generated at tt-th iteration, and 𝚵[t]=(Ξ1,,Ξt)\mathbf{\Xi}_{[t]}=(\Xi_{1},\dots,\Xi_{t}) denotes the history of sample sets from the first through tt-th iteration. {βti:i=1,,b}t=1\{\beta_{t}^{i}:i=1,\cdots,b\}_{t=1}^{\infty} are denoted as the stepsizes. Also, let βtmax=maxiβti\beta_{t}^{\max}=\max_{i}\beta_{t}^{i}, and βtmin=miniβti\beta_{t}^{\min}=\min_{i}\beta_{t}^{i}. Similar to Algorithm 1, the BSG algorithm cyclically updates all blocks of variables in each iteration, and the detailed algorithm for BSG method is presented in Appendix B.

Without loss of generality, we assume a fixed update order in the BSG algorithm. Let Ξt={ξt,1,,ξt,mt}\Xi_{t}=\{\xi_{t,1},\dotsc,\xi_{t,m_{t}}\} be the samples in the tt-th iteration with size mt1m_{t}\geq 1. Therefore, the stochastic partial gradient is computed as g~ti=1mtl=1mtxiF(xt+1<i,xti,ξt,l).\tilde{g}_{t}^{i}=\frac{1}{m_{t}}\sum_{l=1}^{m_{t}}\nabla_{x^{i}}F(x_{t+1}^{<i},x_{t}^{\geq i};\xi_{t,l}). Similar to Section 3, we define gti=xif(xt+1<i,xti)g_{t}^{i}=\nabla_{x^{i}}f(x_{t+1}^{<i},x_{t}^{\geq i}), and the approximation error as Δti=g~tigti\Delta_{t}^{i}=\tilde{g}_{t}^{i}-g_{t}^{i}. We assume that the objective function ff is bounded and Lipschitz smooth, i.e., there exists a positive Lipschitz constant L>0L>0 such that xif(x)xif(y)2Lxy2\|\nabla_{x^{i}}f(x)-\nabla_{x^{i}}f(y)\|_{2}\leq L\|x-y\|_{2}, i{1,,b}\forall i\in\{1,\dots,b\} and x,yn\forall x,y\in\mathbb{R}^{n}. Each block gradient of ff is also bounded, i.e., there exist a positive constant GG such that xif(x)2G\|\nabla_{x^{i}}f(x)\|_{2}\leq G, for any i{1,,b}i\in\{1,\dots,b\} and any xnx\in\mathbb{R}^{n}. We also need Assumption 1 for all block variables, i.e., 𝔼[Δti2]σ\mathbb{E}[\|\Delta_{t}^{i}\|_{2}]\leq\sigma, for any ii and tt. Then we have the following lemma.

Lemma 2.

For any ii and tt, there exist a positive constant AA, such that

𝔼[Δti|𝚵[t1]]2Aβtmax.\displaystyle\|\mathbb{E}[\Delta_{t}^{i}|\mathbf{\Xi}_{[t-1]}]\|_{2}\leq A\beta_{t}^{\max}. (19)

The proof of Lemma 2 is in Appendix B. It should be noted that in practice, it is natural to take the final iteration’s result as the output as in Algorithm 1. However, a standard strategy for analyzing nonconvex optimization methods is to pick up one previous iteration’s result randomly according to a discrete probability distribution over {1,2,,N}\{1,2,\dotsc,N\} [Nemirovski et al., 2009; Ghadimi and Lan, 2013; Dang and Lan, 2015]. Similarly, our finite-sample analysis is based on the strategy that randomly pick up x¯N=xz\bar{x}_{N}=x_{z} according to

Pr(z=t)=βtminL2(βtmax)2t=1N(βtminL2(βtmax)2),t=1,,N.\displaystyle\Pr(z=t)=\frac{\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2}}{\sum_{t=1}^{N}(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})},\ t=1,\dotsc,N. (20)

Now we provide the finite-sample analysis result for the general nonconvex BSG algorithm as in [Xu and Yin, 2015].

Theorem 2.

Let the output of the nonconvex BSG algorithm be x¯N=xz\bar{x}_{N}=x_{z} according to Eq. (20). If stepsizes satisfy 2βtmin>L(βtmax)22\beta_{t}^{\min}>L(\beta_{t}^{\max})^{2} for t=1,,Nt=1,\cdots,N, then we have

𝔼[f(x¯N)22]f(x1)f+t=1N(βtmax)2Ctt=1N(βtminL2(βtmax)2),\displaystyle\mathbb{E}\left[\|\nabla f(\bar{x}_{N})\|_{2}^{2}\right]\leq\frac{f(x_{1})-f^{*}+\sum_{t=1}^{N}(\beta_{t}^{\max})^{2}C_{t}}{\sum_{t=1}^{N}(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})}, (21)

where f=maxxf(x)f^{*}=\max_{x}f(x). Ct=(1L2βtmax)i=1bLj<i(G2+σ2)+b(AG+L2σ2),C_{t}=(1-\frac{L}{2}\beta_{t}^{\max})\sum_{i=1}^{b}L\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+b\left(AG+\frac{L}{2}\sigma^{2}\right), where GG is the gradient bound, LL is the Lipschitz constants, σ\sigma is the variance bound, and AA is defined in Eq. (19).

As a special case, we discuss the convergence rate with constant stepsizes 𝒪(1/N)\mathcal{O}(1/\sqrt{N}) in Corollary 1, which implies that the sample complexity N=𝒪(1/ε2)N=\mathcal{O}(1/\varepsilon^{2}) in order to find ε\varepsilon-stationary solution of problem (18).

Corollary 1.

If we take constant stepsize such that βti=βi=𝒪(1/N)\beta_{t}^{i}=\beta^{i}=\mathcal{O}(1/\sqrt{N}) for any tt, and let βmaxmaxiβi\beta^{\max}\coloneqq\max_{i}\beta^{i}, βminminiβi\beta^{\min}\coloneqq\min_{i}\beta^{i}, then we have 𝔼[f(x¯N)22]𝒪(f(x1)f+CN),\mathbb{E}\left[\|\nabla f(\bar{x}_{N})\|_{2}^{2}\right]\leq\mathcal{O}\left(\sqrt{\frac{f(x_{1})-f^{*}+C}{N}}\right), where CtC_{t} in Eq. (21) reduces to a constant CC defined as C=(1L2βmax)i=1bLj<i(G2+σ2)+b(AG+L2σ2).C=(1-\frac{L}{2}\beta^{\max})\sum_{i=1}^{b}L\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+b\left(AG+\frac{L}{2}\sigma^{2}\right).

4.2 Finite-Sample Analysis of Algorithm 1

We present the major theoretical results of this paper, i.e., the finite-sample analysis of Algorithm 1 with Option II. The proof of Theorem 3 is in Appendix A.

Theorem 3.

Let the output of the Algorithm 1 be x¯N\bar{x}_{N} as in Theorem 2. If {βtθ}\{\beta_{t}^{\theta}\}, {βty}\{\beta_{t}^{y}\} are constants as in Option II in Algorithm 1, and also satisfies 2βtmin>L(βtmax)22\beta_{t}^{\min}>L(\beta_{t}^{\max})^{2} for t=1,,Nt=1,\cdots,N, we have

𝔼[f^λ(x¯N)22]f^λf^λ(x1)+N(βtmax)2CN(βtminL2(βtmax)2)\displaystyle\mathbb{E}\left[\|\nabla\hat{f}_{\lambda}(\bar{x}_{N})\|_{2}^{2}\right]\leq\dfrac{\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+N(\beta_{t}^{\max})^{2}C}{N(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})} (22)

where f^λ=maxxf^λ(x)\hat{f}_{\lambda}^{*}=\max_{x}\hat{f}_{\lambda}(x), and

C=\displaystyle C= (1L2βtmax)(L2βtmax(G2+σ2)+L(2G2+σ2))+AG+Lσ2+2L(1+Lβtmax)(3σ2+2G2).\displaystyle(1-\dfrac{L}{2}\beta_{t}^{\max})(L^{2}\beta_{t}^{\max}(G^{2}+\sigma^{2})+L(2G^{2}+\sigma^{2}))+AG+L\sigma^{2}+2L(1+L\beta_{t}^{\max})(3\sigma^{2}+2G^{2}). (23)
Proof Sketch.

The proof follows the following major steps.

(I). First, we need to prove the bound of each block coordinate gradient, i.e., 𝔼[gtθ22]\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}] and 𝔼[gty22]\mathbb{E}[\|g_{t}^{y}\|_{2}^{2}], which is bounded as

(βtminL2(βtmax)2)𝔼[gtθ22+gty22]\displaystyle(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (24)
\displaystyle\leq 𝔼[f^λ(xt+1)]𝔼[f^λ(xt)]+(βtmax)2AMρ+L(βtmax)2σ2+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2).\displaystyle\mathbb{E}[\hat{f}_{\lambda}(x_{t+1})]-\mathbb{E}[\hat{f}_{\lambda}(x_{t})]+(\beta_{t}^{\max})^{2}AM_{\rho}+L(\beta_{t}^{\max})^{2}\sigma^{2}+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2}). (25)

Summing up over tt, we have

t=1N(βtminL2(βtmax)2)𝔼[gtθ22+gty22]\displaystyle\sum_{t=1}^{N}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (26)
\displaystyle\leq f^λf^λ(x1)+t=1N[(βtmax)2AG+L(βtmax)2σ2+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2)].\displaystyle\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+\sum_{t=1}^{N}[(\beta_{t}^{\max})^{2}AG+L(\beta_{t}^{\max})^{2}\sigma^{2}+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2})]. (27)

(II). Next, we need to bound 𝔼[f^λ(xt)22]\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}^{2}] using 𝔼[gtθ22+gty22]\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}], which is proven to be

𝔼[f^λ(xt)22]L2(βtmax)2(G2+σ2)+Lβtmax(2G2+σ2)+𝔼[gtθ22+gty22].\displaystyle\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}^{2}]\leq L^{2}(\beta_{t}^{\max})^{2}(G^{2}+\sigma^{2})+L\beta_{t}^{\max}(2G^{2}+\sigma^{2})+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}]. (28)

(III). Finally, combining (I) and (II), and rearranging the terms, Eq. (22) can be obtained as a special case of Theorem 2, which completes the proof. ∎

5 Experimental Study

In this section, we evaluate our MVP algorithm with Option I in three risk-sensitive domains: the portfolio management [Tamar et al., 2012], the American-style option [Tamar et al., 2014], and the optimal stopping [Chow and Ghavamzadeh, 2014; Chow et al., 2018]. The baseline algorithms are the vanilla policy gradient (PG), the mean-variance policy gradient in Tamar et al., 2012, the stochastic gradient ascent (SGA) applied to our optimization problem (7), and the randomized coordinate ascent policy gradient (RCPG), i.e., the SBMD-based version of our algorithm. Details of SGA and RCPG can be found in Appendix C. For each algorithm, we optimize its Lagrangian parameter λ\lambda by grid search and report the mean and variance of its return random variable as a Gaussian.22 2 Note that the return random variables are not necessarily Gaussian, we only use Gaussian for presentation purposes. Since the algorithms presented in the paper (MVP and RCPG) are policy gradient, we only compare them with Monte-Carlo based policy gradient algorithms and do not use any actor-critic algorithms, such as those in Prashanth and Ghavamzadeh, 2013 and TRPO [Schulman et al., 2015], in the experiments.

(a) Portfolio management domain
(b) American-style option domain
(c) Optimal stopping domain
Figure 1: Empirical results of the distributions of the return (cumulative rewards) random variable. Note that markers only indicate different methods.

5.1 Portfolio Management

The portfolio domain Tamar et al., 2012 is composed of the liquid and non-liquid assets. A liquid asset has a fixed interest rate rlr_{l} and can be sold at any time-step kτk\leq{\tau}. A non-liquid asset can be sold only after a fixed period of WW time-steps with a time-dependent interest rate rnl(k)r_{\text{nl}}(k), which can take either rnllowr_{\text{nl}}^{\text{low}} or rnlhighr_{\text{nl}}^{\text{high}}, and the transition follows a switching probability pswitchp_{\text{switch}}. The non-liquid asset also suffers a default risk (i.e., not being paid) with a probability priskp_{\text{risk}}. All investments are in liquid assets at the initial time-step k=0k=0. At the kk-th step, the state is denoted by x(k)W+2x(k)\in\mathbb{R}^{W+2}, where x1[0,1]x_{1}\in[0,1] is the portion of the investment in liquid assets, x2,,xW+1[0,1]x_{2},\cdots,x_{W+1}\in[0,1] is the portion in non-liquid assets with time to maturity of 1,,W1,\cdots,W time-steps, respectively, and xW+2(k)=rnl(k)𝔼[rnl(k)]x_{W+2}(k)=r_{\text{nl}}(k)-\mathbb{E}[r_{\text{nl}}(k)]. The investor can choose to invest a fixed portion η\eta (0<η<10<\eta<1) of his total available cash in the non-liquid asset or do nothing. More details about this domain can be found in Tamar et al., 2012. Figure 1(a) shows the results of the algorithms. PG has a large variance and the Tamar’s method has the lowest mean return. The results indicate that MVP yields a higher mean return with less variance compared to the competing algorithms.

5.2 American-style Option

An American-style option Tamar et al., 2014 is a contract that gives the buyer the right to buy or sell the asset at a strike price WW at or before the maturity time τ{\tau}. The initial price of the option is x0x_{0}, and the buyer has bought a put option with the strike price Wput<x0W_{\text{put}}<x_{0} and a call option with the strike price Wcall>x0W_{\text{call}}>x_{0}. At the kk-th step (kτk\leq\tau), the state is {xk,k}\{x_{k},k\}, where xkx_{k} is the current price of the option. The action aka_{k} is either executing the option or holding it. xk+1x_{k+1} is fuxkf_{u}x_{k} w.p. pp and fdxkf_{d}x_{k} w.p. 1p1-p, where fuf_{u} and fdf_{d} are constants. The reward is 00 unless an option is executed and the reward for executing an option is rk=max(0,Wputxk)+max(0,xkWcall){r_{k}}=\max(0,{W_{{\rm{put}}}}-{x_{k}})+\max(0,{x_{k}}-{W_{{\rm{call}}}}). More details about this domain can be found in Tamar et al., 2014. Figure 1(b) shows the performance of the algorithms. The results suggest that MVP can yield a higher mean return with less variance compared to the other algorithms.

5.3 Optimal Stopping

The optimal stopping problem [Chow and Ghavamzadeh, 2014; Chow et al., 2018] is a continuous state domain. At the kk-th time-step (kτk\leq\tau, τ\tau is the stopping time), the state is {xk,k}\{x_{k},k\}, where xkx_{k} is the cost. The buyer decide either to accept the present cost or wait. If the buyer accepts or when k=Tk=T, the system reaches a terminal state and the cost xkx_{k} is received, otherwise, the buyer receives the cost php_{h} and the new state is {xk+1,k+1}\{x_{k+1},k+1\}, where xk+1x_{k+1} is fuxkf_{u}x_{k} w.p. pp and fdxkf_{d}x_{k} w.p. 1p1-p (fu>1f_{u}>1 and fd<1f_{d}<1 are constants). More details about this domain can be found in Chow and Ghavamzadeh, 2014. Figure 1(c) shows the performance of the algorithms. The results indicate that MVP is able to yield much less variance without affecting its mean return. We also summarize the performance of these algorithms in all three risk-sensitive domains as Table 1, where Std is short for Standard Deviation.

Portfolio Management American-style Option Optimal Stopping
Mean Std Mean Std Mean Std
MVP 29.754 0.325 0.2478 0.00482 -1.4767 0.00456
PG 29.170 1.177 0.2477 0.00922 -1.4769 0.00754
Tamar 28.575 0.857 0.2240 0.00694 -2.8553 0.00415
SGA 29.679 0.658 0.2470 0.00679 -1.4805 0.00583
RCPG 29.340 0.789 0.2447 0.00819 -1.4872 0.00721
Table 1: Performance Comparison among Algorithms

6 Conclusion

This paper is motivated to provide a risk-sensitive policy search algorithm with provable sample complexity analysis to maximize the mean-variance objective function. To this end, the objective function is reformulated based on the Legendre-Fenchel duality, and a novel stochastic block coordinate ascent algorithm is proposed with in-depth analysis. There are many interesting future directions on this research topic. Besides stochastic policy gradient, deterministic policy gradient [Silver et al., 2014] has shown great potential in large discrete action space. It is interesting to design a risk-sensitive deterministic policy gradient method. Secondly, other reformulations of the mean-variance objective function are also worth exploring, which will lead to new families of algorithms. Thirdly, distributional RL [Bellemare et al., 2016] is strongly related to risk-sensitive policy search, and it is interesting to investigate the connections between risk-sensitive policy gradient methods and distributional RL. Last but not least, it is interesting to test the performance of the proposed algorithms together with other risk-sensitive RL algorithms on highly-complex risk-sensitive tasks, such as autonomous driving problems and other challenging tasks.

Acknowledgments

Bo Liu, Daoming Lyu, and Daesub Yoon were partially supported by a grant (18TLRP-B131486-02) from Transportation and Logistics R&D Program funded by Ministry of Land, Infrastructure and Transport of Korean government. Yangyang Xu was partially supported by the NSF grant DMS-1719549.

References

  • Beck and Teboulle, [2003] Beck, A. and Teboulle, M. (2003). Mirror descent and nonlinear projected subgradient methods for convex optimization. Operations Research Letters, 31:167–175.
  • Bellemare et al., [2016] Bellemare, M. G., Dabney, W., and Munos, R. (2016). A distributional perspective on reinforcement learning. In International Conference on Machine Learning.
  • Bertsekas, [1999] Bertsekas, D. P. (1999). Nonlinear programming. Athena scientific Belmont.
  • Bhatnagar et al., [2013] Bhatnagar, S., Prasad, H., and Prashanth, L. (2013). Stochastic Recursive Algorithms for Optimization, volume 434. Springer.
  • Borkar, [2002] Borkar, V. (2002). Q-learning for risk-sensitive control. Mathematics of operations research, 27(2):294–311.
  • Borkar, [2008] Borkar, V. (2008). Stochastic Approximation: A Dynamical Systems Viewpoint. Cambridge University Press.
  • Boyd and Vandenberghe, [2004] Boyd, S. and Vandenberghe, L. (2004). Convex Optimization. Cambridge University Press.
  • Chow and Ghavamzadeh, [2014] Chow, Y. and Ghavamzadeh, M. (2014). Algorithms for CVaR optimization in MDPs. In Advances in Neural Information Processing Systems, pages 3509–3517.
  • Chow et al., [2018] Chow, Y., Ghavamzadeh, M., Janson, L., and Pavone, M. (2018). Risk-constrained reinforcement learning with percentile risk criteria. Journal of Machine Learning Research.
  • Dalal et al., [2018] Dalal, G., Thoppe, G., Szörényi, B., and Mannor, S. (2018). Finite sample analysis of two-timescale stochastic approximation with applications to reinforcement learning. In Bubeck, S., Perchet, V., and Rigollet, P., editors, Proceedings of the 31st Conference On Learning Theory, pages 1199–1233. PMLR.
  • Dang and Lan, [2015] Dang, C. D. and Lan, G. (2015). Stochastic block mirror descent methods for nonsmooth and stochastic optimization. SIAM Journal on Optimization, 25(2):856–881.
  • Du et al., [2017] Du, S. S., Chen, J., Li, L., Xiao, L., and Zhou, D. (2017). Stochastic variance reduction methods for policy evaluation. arXiv preprint arXiv:1702.07944.
  • Ghadimi and Lan, [2013] Ghadimi, S. and Lan, G. (2013). Stochastic first-and zeroth-order methods for nonconvex stochastic programming. SIAM Journal on Optimization, 23(4):2341–2368.
  • Hastie et al., [2001] Hastie, T., Tibshirani, R., and Friedman, J. (2001). The Elements of Statistical Learning. Springer.
  • Lai et al., [2011] Lai, T., Xing, H., and Chen, Z. (2011). Mean-variance portfolio optimization when means and covariances are unknown. The Annals of Applied Statistics, pages 798–823.
  • Li and Ng, [2000] Li, D. and Ng, W. (2000). Optimal dynamic portfolio selection: Multiperiod mean-variance formulation. Mathematical Finance, 10(3):387–406.
  • Liu et al., [2018] Liu, B., Gemp, I., Ghavamzadeh, M., Liu, J., Mahadevan, S., and Petrik, M. (2018). Proximal gradient temporal difference learning: Stable reinforcement learning with polynomial sample complexity. Journal of Artificial Intelligence Research.
  • Liu et al., [2015] Liu, B., Liu, J., Ghavamzadeh, M., Mahadevan, S., and Petrik, M. (2015). Finite-sample analysis of proximal gradient td algorithms. In Conference on Uncertainty in Artificial Intelligence.
  • Luo and Tseng, [1992] Luo, Z. and Tseng, P. (1992). On the convergence of the coordinate descent method for convex differentiable minimization. Journal of Optimization Theory and Applications, 72(1):7–35.
  • Mairal, [2013] Mairal, J. (2013). Stochastic majorization-minimization algorithms for large-scale optimization. In Advances in Neural Information Processing Systems, pages 2283–2291.
  • Mannor and Tsitsiklis, [2011] Mannor, S. and Tsitsiklis, J. (2011). Mean-variance optimization in markov decision processes. In Proceedings of the 28th International Conference on Machine Learning (ICML-11).
  • Markowitz et al., [2000] Markowitz, H. M., Todd, G. P., and Sharpe, W. F. (2000). Mean-variance analysis in portfolio choice and capital markets, volume 66. John Wiley & Sons.
  • Maurer et al., [2016] Maurer, M., Gerdes, C., Lenz, B., and Winner, H. (2016). Autonomous driving: technical, legal and social aspects. Springer.
  • Nemirovski et al., [2009] Nemirovski, A., Juditsky, A., Lan, G., and Shapiro, A. (2009). Robust stochastic approximation approach to stochastic programming. SIAM Journal on optimization, 19(4):1574–1609.
  • Nesterov, [2012] Nesterov, Y. (2012). Efficiency of coordinate descent methods on huge-scale optimization problems. SIAM Journal on Optimization, 22(2):341–362.
  • Parker, [2009] Parker, D. (2009). Managing risk in healthcare: understanding your safety culture using the manchester patient safety framework. Journal of nursing management, 17(2):218–222.
  • Prashanth and Ghavamzadeh, [2013] Prashanth, L. A. and Ghavamzadeh, M. (2013). Actor-critic algorithms for risk-sensitive mdps. In Advances in Neural Information Processing Systems, pages 252–260.
  • Prashanth and Ghavamzadeh, [2016] Prashanth, L. A. and Ghavamzadeh, M. (2016). Variance-constrained actor-critic algorithms for discounted and average reward mdps. Machine Learning Journal, 105(3):367–417.
  • Puterman, [1994] Puterman, M. L. (1994). Markov Decision Processes. Wiley Interscience, New York, USA.
  • Razaviyayn et al., [2013] Razaviyayn, M., Hong, M., and Luo, Z. (2013). A unified convergence analysis of block successive minimization methods for nonsmooth optimization. SIAM Journal on Optimization, 23(2):1126–1153.
  • Schulman et al., [2015] Schulman, J., Levine, S., Abbeel, P., Jordan, M., and Moritz, P. (2015). Trust region policy optimization. In International Conference on Machine Learning, pages 1889–1897.
  • Silver et al., [2014] Silver, D., Lever, G., Heess, N., Degris, T., Wierstra, D., and Riedmiller, M. (2014). Deterministic policy gradient algorithms. In ICML, pages 387–395.
  • Sobel, [1982] Sobel, M. J. (1982). The variance of discounted markov decision processes. Journal of Applied Probability, 19(04):794–802.
  • Sutton and Barto, [1998] Sutton, R. and Barto, A. G. (1998). Reinforcement Learning: An Introduction. MIT Press.
  • Tamar et al., [2012] Tamar, A., Castro, D., and Mannor, S. (2012). Policy gradients with variance related risk criteria. In ICML, pages 935–942.
  • [36] Tamar, A., Chow, Y., Ghavamzadeh, M., and Mannor, S. (2015a). Policy gradient for coherent risk measures. In NIPS, pages 1468–1476.
  • [37] Tamar, A., Glassner, Y., and Mannor, S. (2015b). Optimizing the cvar via sampling. In AAAI Conference on Artificial Intelligence.
  • Tamar et al., [2014] Tamar, A., Mannor, S., and Xu, H. (2014). Scaling up robust mdps using function approximation. In International Conference on Machine Learning, pages 181–189.
  • Tseng, [2001] Tseng, P. (2001). Convergence of a block coordinate descent method for nondifferentiable minimization. Journal of optimization theory and applications, 109(3):475–494.
  • Williams, [1992] Williams, R. (1992). Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256.
  • Wright, [2015] Wright, S. (2015). Coordinate descent algorithms. Mathematical Programming, 151(1):3–34.
  • Xu and Yin, [2013] Xu, Y. and Yin, W. (2013). A block coordinate descent method for regularized multiconvex optimization with applications to nonnegative tensor factorization and completion. SIAM Journal on imaging sciences, 6(3):1758–1789.
  • Xu and Yin, [2015] Xu, Y. and Yin, W. (2015). Block stochastic gradient iteration for convex and nonconvex optimization. SIAM Journal on Optimization, 25(3):1686–1716.

Appendix

Appendix A Theoretical Analysis of Algorithm 1

Now we present the theoretical analysis of Algorithm 1, with both asymptotic convergence and finite-sample error bound analysis. For the purpose of clarity, in the following analysis, xx is defined as x:=[y,θ]x:=[y,\theta]^{\top}, where x1:=y,x2:=θx^{1}:=y,\ x^{2}:=\theta. Similarly, gtig_{t}^{i} (resp. βti\beta^{i}_{t}) is used to denote gtyg_{t}^{y}(resp. βty\beta^{y}_{t}) and gtθg_{t}^{\theta}(resp. βtθ\beta^{\theta}_{t}), where gt1:=gty,gt2:=gtθg_{t}^{1}:=g_{t}^{y},\ g_{t}^{2}:=g_{t}^{\theta}(resp. βt1:=βty,βt2:=βtθ\beta^{1}_{t}:=\beta^{y}_{t},\ \beta^{2}_{t}:=\beta^{\theta}_{t}). Let βtmax=max{βt1,βt2}\beta_{t}^{\max}=\max\{\beta_{t}^{1},\beta_{t}^{2}\}, βtmin=min{βt1,βt2}\beta_{t}^{\min}=\min\{\beta_{t}^{1},\beta_{t}^{2}\}, and 2\|\cdot\|_{2} denotes the Euclidean norm.

A.1 Asymptotic Convergence Proof Algorithm 1

In this section, we provide the asymptotic convergence analysis for Algorithm 1 with Option I, i.e., the stepsizes are chosen to satisfy the Robbins-Monro condition and the output is the last iteration’s result. We first introduce a useful lemma, which follows from Lemma 2.

Lemma 3.

Under Assumption 1, we have

𝔼[yf^λ(xt),Δty]=\displaystyle\mathbb{E}[\langle\nabla_{y}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{y}\rangle]= 0\displaystyle 0 (29)
𝔼[θf^λ(xt),Δtθ]\displaystyle\mathbb{E}[\langle\nabla_{\theta}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{\theta}\rangle]\leq βtmaxAG,\displaystyle\beta^{\max}_{t}AG, (30)

where AA is defined in Eq (19).

Proof.

Let Ξt\Xi_{t} denote the history of random samples from the first to the tt–th episode, then xtx_{t} is independent of Δti\Delta_{t}^{i} conditioned on Ξt1\Xi_{t-1} (since xtx_{t} is deterministic conditioned on Ξt1\Xi_{t-1}). Then we have

𝔼[yf^λ(xt),Δty]=𝔼Ξt1[𝔼[yf^λ(xt),Δty|Ξt1]]\displaystyle\mathbb{E}[\langle\nabla_{y}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{y}\rangle]=\mathbb{E}_{\Xi_{t-1}}[\mathbb{E}[\langle\nabla_{y}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{y}\rangle|\Xi_{t-1}]] (31)
=\displaystyle= 𝔼Ξt1[𝔼[yf^λ(xt)|Ξt1],𝔼[Δty|Ξt1]]=0,\displaystyle\mathbb{E}_{\Xi_{t-1}}[\langle\mathbb{E}[\nabla_{y}\hat{f}_{\lambda}(x_{t})|\Xi_{t-1}],\mathbb{E}[\Delta_{t}^{y}|\Xi_{t-1}]\rangle]=0, (32)
𝔼[θf^λ(xt),Δtθ]=𝔼Ξt1[𝔼[θf^λ(xt),Δtθ|Ξt1]]\displaystyle\mathbb{E}[\langle\nabla_{\theta}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{\theta}\rangle]=\mathbb{E}_{\Xi_{t-1}}[\mathbb{E}[\langle\nabla_{\theta}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{\theta}\rangle|\Xi_{t-1}]] (33)
=\displaystyle= 𝔼Ξt1[𝔼[θf^λ(xt)|Ξt1],𝔼[Δtθ|Ξt1]]\displaystyle\mathbb{E}_{\Xi_{t-1}}[\langle\mathbb{E}[\nabla_{\theta}\hat{f}_{\lambda}(x_{t})|\Xi_{t-1}],\mathbb{E}[\Delta_{t}^{\theta}|\Xi_{t-1}]\rangle] (34)
\displaystyle\leq 𝔼Ξt1[𝔼[θf^λ(xt)|Ξt1]2𝔼[Δtθ|Ξt1]2]\displaystyle\mathbb{E}_{\Xi_{t-1}}[\|\mathbb{E}[\nabla_{\theta}\hat{f}_{\lambda}(x_{t})|\Xi_{t-1}]\|_{2}\cdot\|\mathbb{E}[\Delta_{t}^{\theta}|\Xi_{t-1}]\|_{2}] (35)
\displaystyle\leq βtmaxA𝔼Ξt1[𝔼[θf^λ(xt)|Ξt1]2]\displaystyle\beta^{\max}_{t}A\mathbb{E}_{\Xi_{t-1}}[\|\mathbb{E}[\nabla_{\theta}\hat{f}_{\lambda}(x_{t})|\Xi_{t-1}]\|_{2}] (36)
\displaystyle\leq βtmaxA𝔼[θf^λ(xt)2]βtmaxAG,\displaystyle\beta^{\max}_{t}A\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(x_{t})\|_{2}]\leq\beta^{\max}_{t}AG, (37)

where the second equality in both Eq.(32) and Eq.(37) follows from the conditional independence between xtx_{t} and Δti\Delta_{t}^{i}, the second inequality in Eq.(37) follows from Assumption 1, and the last inequality in Eq.(37) follows from the Jensen’s inequality and GG is the gradient bound. ∎

Then, we introduce Lemma 4, which is essential for proving Theorem 1.

Lemma 4.

For two non-negative scalar sequences {at}\{a_{t}\} and {bt}\{b_{t}\}, if t=1at=+\sum_{t=1}^{\infty}a_{t}=+\infty and t=1atbt<+\sum_{t=1}^{\infty}a_{t}b_{t}<+\infty, we then have

limtinfbt=0.\mathop{\lim}_{t\to\infty}\inf{b_{t}}=0. (38)

Further, if there exists a constant K>0K>0 such that |bt+1bt|atK|b_{t+1}-b_{t}|\leq a_{t}K, then

limtbt=0.\lim_{t\rightarrow\infty}b_{t}=0. (39)

The detailed proof can be found in Lemma A.5 of [Mairal, 2013] and Proposition 1.2.4 of [Bertsekas, 1999]. Now it is ready to prove Theorem 1.

Proof of Theorem 1.

We define Γt1:=f^(xt1,xt2)f^(xt+11,xt2),Γt2:=f^(xt+11,xt2)f^(xt+11,xt+12)\Gamma_{t}^{1}:=\hat{f}(x_{t}^{1},x_{t}^{2})-\hat{f}(x_{t+1}^{1},x_{t}^{2}),\Gamma_{t}^{2}:=\hat{f}(x_{t+1}^{1},x_{t}^{2})-\hat{f}(x_{t+1}^{1},x_{t+1}^{2}) to denote the block update. It turns out that for i=1,2i=1,2, and Γti\Gamma_{t}^{i} can be bounded following the Lipschitz smoothness as

Γti\displaystyle\Gamma_{t}^{i}\leq gti,xtixt+1i+L2xtixt+1i22\displaystyle\langle g_{t}^{i},x_{t}^{i}-x_{t+1}^{i}\rangle+\dfrac{L}{2}\|x_{t}^{i}-x_{t+1}^{i}\|_{2}^{2} (40)
=\displaystyle= βtigti,g~ti+L2(βti)2g~ti22\displaystyle-\beta_{t}^{i}\langle g_{t}^{i},\tilde{g}_{t}^{i}\rangle+\dfrac{L}{2}(\beta_{t}^{i})^{2}\|\tilde{g}_{t}^{i}\|_{2}^{2} (41)
=\displaystyle= OPEN(βtiL2(βti)2)gti22+L2(βti)2)Δti22(βtiL(βti)2)gti,Δti\displaystyle-(\beta_{t}^{i}-\dfrac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}+\dfrac{L}{2}(\beta_{t}^{i})^{2})\|\Delta_{t}^{i}\|_{2}^{2}-(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle g_{t}^{i},\Delta_{t}^{i}\rangle (42)
=\displaystyle= (βtiL2(βti)2)gti22+L2(βti)2Δti22\displaystyle-(\beta_{t}^{i}-\dfrac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}+\dfrac{L}{2}(\beta_{t}^{i})^{2}\|\Delta_{t}^{i}\|_{2}^{2} (43)
(βtiL(βti)2)(gtixif^λ(xt),Δti+xif^λ(xt),Δti)\displaystyle-(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})(\langle g_{t}^{i}-\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{i}\rangle+\langle\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{i}\rangle) (44)

where the equalities follow the definition of Δti\Delta_{t}^{i} and the update law of Algorithm 1. We also have the following argument

(βtiL(βti)2)gtixif^λ(xt),Δti\displaystyle-(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle g_{t}^{i}-\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{i}\rangle (45)
\displaystyle\leq |βtiL(βti)2|Δti2gtixif^λ(xt)2\displaystyle|\beta_{t}^{i}-L(\beta_{t}^{i})^{2}|\|\Delta_{t}^{i}\|_{2}\|g_{t}^{i}-\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t})\|_{2} (46)
\displaystyle\leq L|βtiL(βti)2|Δti2xt+1xt2\displaystyle L|\beta_{t}^{i}-L(\beta_{t}^{i})^{2}|\|\Delta_{t}^{i}\|_{2}\|x_{t+1}-x_{t}\|_{2} (47)
\displaystyle\leq L|βtiL(βti)2|Δti2j=12βtjg~tj22\displaystyle L|\beta_{t}^{i}-L(\beta_{t}^{i})^{2}|\|\Delta_{t}^{i}\|_{2}\sqrt{\sum_{j=1}^{2}\|\beta_{t}^{j}\tilde{g}_{t}^{j}\|_{2}^{2}} (48)
\displaystyle\leq L(βti+L(βti)2)βtmax(Δti2+j=12(gtj22+Δtj22)),\displaystyle L(\beta_{t}^{i}+L(\beta_{t}^{i})^{2})\beta_{t}^{\max}\left(\|\Delta_{t}^{i}\|_{2}+\sum_{j=1}^{2}(\|g_{t}^{j}\|_{2}^{2}+\|\Delta_{t}^{j}\|_{2}^{2})\right), (49)

where the first inequality follows from Cauchy-Schwarz inequality, the second inequality follows from the Lipschitz smoothness of objective function f^λ\hat{f}_{\lambda}, the third inequality follows from the update law of Algorithm 1, and the last inequality follows from the triangle inequality. Combining Eq. (44) and Eq. (49), we obtain

Γti\displaystyle\Gamma_{t}^{i}\leq (βtiL2(βti)2)gti22+L2(βti)2Δti22\displaystyle-(\beta_{t}^{i}-\dfrac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}+\dfrac{L}{2}(\beta_{t}^{i})^{2}\|\Delta_{t}^{i}\|_{2}^{2} (50)
(βtiL(βti)2)xif^λ(xt),Δti\displaystyle-(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{i}\rangle (51)
+L(βti+L(βti)2)βtmax(Δti22+j=12(gtj22+Δtj22)).\displaystyle+L(\beta_{t}^{i}+L(\beta_{t}^{i})^{2})\cdot\beta_{t}^{\max}\left(\|\Delta_{t}^{i}\|_{2}^{2}+\sum_{j=1}^{2}(\|g_{t}^{j}\|_{2}^{2}+\|\Delta_{t}^{j}\|_{2}^{2})\right). (52)

Summing Eq. (52) over ii, then we obtain

f^λ(xt)f^λ(xt+1)\displaystyle\hat{f}_{\lambda}(x_{t})-\hat{f}_{\lambda}(x_{t+1}) (53)
\displaystyle\leq i=12(βtiL2(βti)2)gti22i=12(βtiL(βti)2)xif^λ(xt),Δti\displaystyle-\sum_{i=1}^{2}(\beta_{t}^{i}-\dfrac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}-\sum_{i=1}^{2}(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle\nabla_{x^{i}}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{i}\rangle (54)
+i=12(L2(βti)2Δti22+L(βti+L(βti)2)βtmax(Δti22+j=12(gtj22+Δtj22))).\displaystyle+\sum_{i=1}^{2}\left(\dfrac{L}{2}(\beta_{t}^{i})^{2}\|\Delta_{t}^{i}\|_{2}^{2}+L(\beta_{t}^{i}+L(\beta_{t}^{i})^{2})\beta_{t}^{\max}(\|\Delta_{t}^{i}\|_{2}^{2}+\sum_{j=1}^{2}(\|g_{t}^{j}\|_{2}^{2}+\|\Delta_{t}^{j}\|_{2}^{2}))\right). (55)

We also have the following fact,

𝔼[yf^λ(xt),Δty]=\displaystyle\mathbb{E}[\langle\nabla_{y}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{y}\rangle]= 0\displaystyle 0 (56)
𝔼[θf^λ(xt),Δtθ]\displaystyle\mathbb{E}[\langle\nabla_{\theta}\hat{f}_{\lambda}(x_{t}),\Delta_{t}^{\theta}\rangle]\leq βtmaxAG.\displaystyle\beta^{\max}_{t}AG. (57)

We prove this fact in Lemma 3 as a special case of Lemma 2, and the general analysis can be found in Lemma 1 in [Xu and Yin, 2015]. Taking expectation w.r.t. tt on both sides of the inequality Eq. (53), we have

𝔼[f^λ(xt)]𝔼[f^λ(xt+1)]\displaystyle\mathbb{E}[\hat{f}_{\lambda}(x_{t})]-\mathbb{E}[\hat{f}_{\lambda}(x_{t+1})] (58)
\displaystyle\leq i=12(βtiL2(βti)2)𝔼[gti22]+(βtθL(βtθ)2)βtmaxAG\displaystyle-\sum_{i=1}^{2}(\beta_{t}^{i}-\dfrac{L}{2}(\beta_{t}^{i})^{2})\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]+(\beta_{t}^{\theta}-L(\beta_{t}^{\theta})^{2})\beta^{\max}_{t}AG (59)
+i=12(L2(βti)2𝔼[Δti22]+L(βti+L(βti)2)βtmax(𝔼[Δti22]+j=12(𝔼[gtj22]+𝔼[Δtj22])))\displaystyle+\sum_{i=1}^{2}\left(\dfrac{L}{2}(\beta_{t}^{i})^{2}\mathbb{E}[\|\Delta_{t}^{i}\|_{2}^{2}]+L(\beta_{t}^{i}+L(\beta_{t}^{i})^{2})\beta_{t}^{\max}(\mathbb{E}[\|\Delta_{t}^{i}\|_{2}^{2}]+\sum_{j=1}^{2}(\mathbb{E}[\|g_{t}^{j}\|_{2}^{2}]+\mathbb{E}[\|\Delta_{t}^{j}\|_{2}^{2}]))\right) (60)
\displaystyle\leq i=12(βtminL2(βtmax)2)𝔼[gti22]+(βtmax)2AG\displaystyle-\sum_{i=1}^{2}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]+(\beta^{\max}_{t})^{2}AG (61)
+(L(βtmax)2σ2+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2)),\displaystyle+(L(\beta_{t}^{\max})^{2}\sigma^{2}+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2})), (62)

where the first inequality follows from Eq. (32) and Eq. (37), and the second inequality follows from the boundedness of 𝔼[Δti2]\mathbb{E}[\|\Delta_{t}^{i}\|_{2}] and 𝔼[gti2]\mathbb{E}[\|g_{t}^{i}\|_{2}].

Rearranging Eq. (62), we obtain

i=12(βtminL2(βtmax)2)𝔼[gti22]\displaystyle\sum_{i=1}^{2}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}] (63)
\displaystyle\leq 𝔼[f^λ(xt+1)]𝔼[f^λ(xt)]+(βtmax)2AMρ+L(βtmax)2σ2\displaystyle\mathbb{E}[\hat{f}_{\lambda}(x_{t+1})]-\mathbb{E}[\hat{f}_{\lambda}(x_{t})]+(\beta_{t}^{\max})^{2}AM_{\rho}+L(\beta_{t}^{\max})^{2}\sigma^{2} (64)
+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2).\displaystyle+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2}). (65)

By further assuming 0<inft{βtθ}{βty}supt{βtθ}{βty}<0<\inf_{t}\frac{\{\beta^{\theta}_{t}\}}{\{\beta^{y}_{t}\}}\leq\sup_{t}\frac{\{\beta^{\theta}_{t}\}}{\{\beta^{y}_{t}\}}<\infty, it can be verified that {βtmax}\{\beta^{\max}_{t}\} and {βtmin}\{\beta^{\min}_{t}\} also satisfy Robbins-Monro condition. Note that f^λ\hat{f}_{\lambda} is upper bounded, summing Eq. (65) over tt and using the Robbins-Monro condition of {βtθ},{βty},{βtmax},{βtmin}\{\beta^{\theta}_{t}\},\{\beta^{y}_{t}\},\{\beta^{\max}_{t}\},\{\beta^{\min}_{t}\}, we have

t=1βtmin𝔼[gti22]<,i.\sum_{t=1}^{\infty}\beta_{t}^{\min}\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]<\infty,~\forall i. (66)

Furthermore, let ξt1=(xt1,xt2)\xi^{1}_{t}=(x_{t}^{1},x_{t}^{2}) and ξt2=(xt+11,xt2)\xi^{2}_{t}=(x_{t+1}^{1},x_{t}^{2}), then

|𝔼[gt+1i22]𝔼[gti22]|\displaystyle|\mathbb{E}[\|g_{t+1}^{i}\|_{2}^{2}]-\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]|\leq 𝔼[gt+1i+gti2gt+1igti2]\displaystyle\mathbb{E}[\|g_{t+1}^{i}+g_{t}^{i}\|_{2}\cdot\|g_{t+1}^{i}-g_{t}^{i}\|_{2}] (67)
\displaystyle\leq 2LMρ𝔼[ξt+1iξti2]\displaystyle 2LM_{\rho}\mathbb{E}[\|\xi^{i}_{t+1}-\xi^{i}_{t}\|_{2}] (68)
=\displaystyle= 2LMρ𝔼[j<iβt+1jg~t+1j22+jiβtjg~tj22]\displaystyle 2LM_{\rho}\mathbb{E}\left[\sqrt{\sum_{j<i}\|\beta_{t+1}^{j}\tilde{g}_{t+1}^{j}\|_{2}^{2}+\sum_{j\geq i}\|\beta_{t}^{j}\tilde{g}_{t}^{j}\|_{2}^{2}}\right] (69)
\displaystyle\leq 2LMρβtmax𝔼[j<ig~t+1j22+jig~tj22]\displaystyle 2LM_{\rho}\beta_{t}^{\max}\mathbb{E}\left[\sqrt{\sum_{j<i}\|\tilde{g}_{t+1}^{j}\|_{2}^{2}+\sum_{j\geq i}\|\tilde{g}_{t}^{j}\|_{2}^{2}}\right] (70)
\displaystyle\leq 2LMρβtmax𝔼[j<ig~t+1j22+jig~tj22]\displaystyle 2LM_{\rho}\beta_{t}^{\max}\sqrt{\mathbb{E}[\sum_{j<i}\|\tilde{g}_{t+1}^{j}\|_{2}^{2}+\sum_{j\geq i}\|\tilde{g}_{t}^{j}\|_{2}^{2}]} (71)
\displaystyle\leq 2LMρβtmax2(G2+σ2),\displaystyle 2LM_{\rho}\beta_{t}^{\max}\sqrt{2(G^{2}+\sigma^{2})}, (72)

where the first inequality follows from Jensen’s inequality, the second inequality follows from the definition of gradient bound GG and the gradient Lipschitz continuity of f^λ\hat{f}_{\lambda}, the third inequality follows from the Robbins-Monro condition of {βty}\{\beta_{t}^{y}\} and {βtθ}\{\beta_{t}^{\theta}\}, and the last two inequalities follow Jensen’s inequality in probability theory.

Combining Eq. (66) and Eq. (72) and according to Lemma 4, we have limt𝔼[gti2]=0\lim_{t\rightarrow\infty}\mathbb{E}[\|g_{t}^{i}\|_{2}]=0 for i=1,2i=1,2 by Jensen’s inequality. Hence,

𝔼[yf^λ(xt)2]=\displaystyle\mathbb{E}[\|\nabla_{y}\hat{f}_{\lambda}(x_{t})\|_{2}]= 𝔼[gty2]\displaystyle\mathbb{E}[\|g_{t}^{y}\|_{2}] (73)
𝔼[θf^λ(xt)2]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(x_{t})\|_{2}]\leq 𝔼[θf^λ(xt)gtθ2]+𝔼[gtθ2]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(x_{t})-g_{t}^{\theta}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}] (74)
\displaystyle\leq L𝔼[yt+1yt2]+𝔼[gtθ2]\displaystyle L\cdot\mathbb{E}[\|y_{t+1}-y_{t}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}] (75)
\displaystyle\leq Lβtmax𝔼[g~ty2]+𝔼[gtθ2]\displaystyle L\beta_{t}^{\max}\mathbb{E}[\|\tilde{g}_{t}^{y}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}] (76)
\displaystyle\leq LβtmaxG2+σ2+𝔼[gtθ2]\displaystyle L\beta_{t}^{\max}\sqrt{G^{2}+\sigma^{2}}+\mathbb{E}[\|g_{t}^{\theta}\|_{2}] (77)

where the first inequality follows from the triangle inequality, the second inequality follows from the Lipschitz continuity of f^λ\hat{f}_{\lambda}, and the last inequality follows from the same argument for Eq. (72). Also, note that limtβtmax=0\lim_{t\rightarrow\infty}\beta_{t}^{\max}=0, limtLG2+σ2<\lim_{t\rightarrow\infty}L\sqrt{G^{2}+\sigma^{2}}<\infty, and limt𝔼[gti2]=0\lim_{t\rightarrow\infty}\mathbb{E}[\|g_{t}^{i}\|_{2}]=0, so that when tt\to\infty, LβtmaxG2+σ2+𝔼[gty2]+𝔼[gtθ2]0L\beta_{t}^{\max}\sqrt{G^{2}+\sigma^{2}}+\mathbb{E}[\|g_{t}^{y}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}]\to 0. This completes the proof. ∎

Remark 1.

Different from the stringent two-time-scale setting where one stepsize needs to be “quasi-stationary” compared to the other [Tamar et al., 2012], the stepsizes in Algorithm 1 does not have such requirements, which makes it easy to tune in practice.

A.2 Finite-Sample Analysis of Algorithm 1

The above analysis provides asymptotic convergence guarantee of Algorithm 1, however, it is desirable to know the sample complexity of the algorithm in real applications. Motivated by offering RL practitioners confidence in applying the algorithm, we then present the sample complexity analysis with Option II described in Algorithm 1, i.e., the stepsizes are set to be a constant, and the output is randomly selected from {x1,,xN}\{x_{1},\cdots,x_{N}\} with a discrete uniform distribution. This is a standard strategy for nonconvex stochastic optimization approaches [Dang and Lan, 2015]. With these algorithmic refinements, we are ready to present the finite-sample analysis as follows. It should be noted that this proof is a special case of the general stochastic nonconvex BSG algorithm analysis provided in Appendix B.2.

Proof of Theorem 3.

The proof of finite-sample analysis starts from the similar idea with asymptotic convergence. The following analysis follows from Eq. (65) in the proof of Theorem 1, but we are using stepsizes {βtθ}\{\beta_{t}^{\theta}\}, {βty}\{\beta_{t}^{y}\} are constants which satisfy 2βtmin>L(βtmax)22\beta_{t}^{\min}>L(\beta_{t}^{\max})^{2} for t=1,,Nt=1,\cdots,N in this proof.

Summing Eq. (65) over tt, we have

t=1Ni=12(βtminL2(βtmax)2)𝔼[gti22]\displaystyle\sum_{t=1}^{N}\sum_{i=1}^{2}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}] (78)
\displaystyle\leq f^λf^λ(x1)+t=1N[(βtmax)2AG+L(βtmax)2σ2+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2)].\displaystyle\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+\sum_{t=1}^{N}[(\beta_{t}^{\max})^{2}AG+L(\beta_{t}^{\max})^{2}\sigma^{2}+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2})]. (79)

Next, we bound 𝔼[f^λ(xt)22]\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}^{2}] using 𝔼[gtθ22+gty22]\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}]

𝔼[f^λ(xt)22]=\displaystyle\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}^{2}]= 𝔼[θf^λ(xt)22+yf^λ(xt)22]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(x_{t})\|_{2}^{2}+\|\nabla_{y}\hat{f}_{\lambda}(x_{t})\|_{2}^{2}] (80)
\displaystyle\leq 𝔼[θf^λ(θt,yt)θf^λ(θt,yt+1)+θf^λ(θt,yt+1)22+gty22]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t})-\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t+1})+\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t+1})\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (81)
\displaystyle\leq 𝔼[θf^λ(θt,yt)gtθ22+gtθ22+2θf^λ(θt,yt)gtθ,gtθ+gty22]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t})-g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{\theta}\|_{2}^{2}+2\langle\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t})-g_{t}^{\theta},g_{t}^{\theta}\rangle+\|g_{t}^{y}\|_{2}^{2}] (82)
\displaystyle\leq 𝔼[θf^λ(θt,yt)gtθ22+2θf^λ(θt,yt)gtθ,gtθ]+𝔼[gtθ22+gty22]\displaystyle\mathbb{E}[\|\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t})-g_{t}^{\theta}\|_{2}^{2}+2\langle\nabla_{\theta}\hat{f}_{\lambda}(\theta_{t},y_{t})-g_{t}^{\theta},g_{t}^{\theta}\rangle]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (83)
\displaystyle\leq 𝔼[L2yt+1yt22+2Lyt+1yt2gtθ2]+𝔼[gtθ22+gty22]\displaystyle\mathbb{E}[L^{2}\|y_{t+1}-y_{t}\|_{2}^{2}+2L\|y_{t+1}-y_{t}\|_{2}\cdot\|g_{t}^{\theta}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (84)
\displaystyle\leq 𝔼[L2(βty)2g~ty22+2Lβtyg~ty2gtθ2]+𝔼[gtθ22+gty22]\displaystyle\mathbb{E}[L^{2}(\beta_{t}^{y})^{2}\|\tilde{g}_{t}^{y}\|_{2}^{2}+2L\beta_{t}^{y}\|\tilde{g}_{t}^{y}\|_{2}\cdot\|g_{t}^{\theta}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (85)
\displaystyle\leq L2(βty)2(G2+σ2)+2Lβty𝔼[g~ty2gtθ2]+𝔼[gtθ22+gty22]\displaystyle L^{2}(\beta_{t}^{y})^{2}(G^{2}+\sigma^{2})+2L\beta_{t}^{y}\mathbb{E}[\|\tilde{g}_{t}^{y}\|_{2}\cdot\|g_{t}^{\theta}\|_{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (86)
\displaystyle\leq L2(βty)2(G2+σ2)+Lβty𝔼[g~ty22+gtθ22]+𝔼[gtθ22+gty22]\displaystyle L^{2}(\beta_{t}^{y})^{2}(G^{2}+\sigma^{2})+L\beta_{t}^{y}\mathbb{E}[\|\tilde{g}_{t}^{y}\|_{2}^{2}+\|g_{t}^{\theta}\|_{2}^{2}]+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (87)
\displaystyle\leq L2(βtmax)2(G2+σ2)+Lβtmax(2G2+σ2)+𝔼[gtθ22+gty22].\displaystyle L^{2}(\beta_{t}^{\max})^{2}(G^{2}+\sigma^{2})+L\beta_{t}^{\max}(2G^{2}+\sigma^{2})+\mathbb{E}[\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}]. (88)

Then, combine Eq. (88) with Eq. (78)

t=1N(βtminL2(βtmax)2)𝔼[f^λ(xt)22]\displaystyle\sum_{t=1}^{N}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{t})\|_{2}^{2}] (89)
\displaystyle\leq t=1N(βtminL2(βtmax)2)𝔼[L2(βtmax)2(G2+σ2)+Lβtmax(2G2+σ2)+gtθ22+gty22]\displaystyle\sum_{t=1}^{N}(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[L^{2}(\beta_{t}^{\max})^{2}(G^{2}+\sigma^{2})+L\beta_{t}^{\max}(2G^{2}+\sigma^{2})+\|g_{t}^{\theta}\|_{2}^{2}+\|g_{t}^{y}\|_{2}^{2}] (90)
\displaystyle\leq f^λf^λ(x1)+t=1N[(βtminL2(βtmax)2)(L2(βtmax)2(G2+σ2)\displaystyle\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+\sum_{t=1}^{N}[(\beta_{t}^{\min}-\dfrac{L}{2}(\beta_{t}^{\max})^{2})(L^{2}(\beta_{t}^{\max})^{2}(G^{2}+\sigma^{2}) (91)
+Lβtmax(2G2+σ2))+(βtmax)2AG+L(βtmax)2σ2+2Lβtmax(βtmax+L(βtmax)2)(3σ2+2G2)]\displaystyle+L\beta_{t}^{\max}(2G^{2}+\sigma^{2}))+(\beta_{t}^{\max})^{2}AG+L(\beta_{t}^{\max})^{2}\sigma^{2}+2L\beta_{t}^{\max}(\beta_{t}^{\max}+L(\beta_{t}^{\max})^{2})(3\sigma^{2}+2G^{2})] (92)
\displaystyle\leq f^λf^λ(x1)+(βtmax)2t=1N[(1L2βtmax)(L2βtmax(G2+σ2)+L(2Mρ2+σ2))+AG+Lσ2\displaystyle\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+(\beta_{t}^{\max})^{2}\sum_{t=1}^{N}[(1-\dfrac{L}{2}\beta_{t}^{\max})(L^{2}\beta_{t}^{\max}(G^{2}+\sigma^{2})+L(2M_{\rho}^{2}+\sigma^{2}))+AG+L\sigma^{2} (93)
+2L(1+Lβtmax)(3σ2+2G2)].\displaystyle+2L(1+L\beta_{t}^{\max})(3\sigma^{2}+2G^{2})]. (94)

Rearrange it, we obtain

𝔼[f^λ(xz)22]f^λf^λ(x1)+N(βtmax)2CN(βtminL2(βtmax)2),\displaystyle\mathbb{E}[\|\nabla\hat{f}_{\lambda}(x_{z})\|_{2}^{2}]\leq\dfrac{\hat{f}_{\lambda}^{*}-\hat{f}_{\lambda}(x_{1})+N(\beta_{t}^{\max})^{2}C}{N(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})}, (95)

where

C=\displaystyle C= (1L2βtmax)(L2βtmax(G2+σ2)+L(2G2+σ2))+AG+Lσ2+2L(1+Lβtmax)(3σ2+2G2).\displaystyle(1-\dfrac{L}{2}\beta_{t}^{\max})(L^{2}\beta_{t}^{\max}(G^{2}+\sigma^{2})+L(2G^{2}+\sigma^{2}))+AG+L\sigma^{2}+2L(1+L\beta_{t}^{\max})(3\sigma^{2}+2G^{2}). (96)

Remark 2.

In Theorem 3, we have proven the finite-sample analysis of Algorithm 1 with Option II, i.e., constant stepsizes and randomly picked solution. Note that the error bound in Eq. (22) can be simplified as 𝒪(1/(Nβtmin))+𝒪(βtmax)\mathcal{O}(1/(N\beta_{t}^{\min}))+\mathcal{O}(\beta_{t}^{\max}). Especially, if βtmax=βtmin=βtθ=βty\beta_{t}^{\max}=\beta_{t}^{\min}=\beta_{t}^{\theta}=\beta_{t}^{y} are set to be Θ(1/N)\Theta(1/\sqrt{N}), then the convergence rate of Option II in Algorithm 1 is 𝒪(1/N)\mathcal{O}(1/\sqrt{N}).

Appendix B Proofs in Convergence Analysis of Nonconvex BSG

This section includes proof of Lemma 2 and Algorithm 2. We first provide the pseudo-code for nonconvex BSG method as Algorithm 2.

Algorithm 2 The nonconvex BSG Algorithm

Input: Initial point x1nx_{1}\in\mathbb{R}^{n}, stepsizes {βti:i=1,,b}k=1\{\beta_{t}^{i}:i=1,\cdots,b\}_{k=1}^{\infty}, positive integers {mt}k=1\{m_{t}\}_{k=1}^{\infty} that indicate the mini-batch sizes, and iteration limit NN.

1:for k=1,2,,Nk=1,2,\dotsc,N do
2:   Sample mini batch Ξt={ξt,1,ξt,2,,ξt,mt}\Xi_{t}=\{\xi_{t,1},\xi_{t,2},\dotsc,\xi_{t,m_{t}}\}.
3:   Specify update order πti=i\pi_{t}^{i}=i, i=1,,bi=1,\cdots,b, or randomly shuffle {i=1,,b}\{i=1,\cdots,b\} to {πt1,πt2,,πtb}\{\pi_{t}^{1},\pi_{t}^{2},\dotsc,\pi_{t}^{b}\}.
4:   for i=1,2,,bi=1,2,\dotsc,b do
5:    Compute the stochastic partial gradient for the πti\pi_{t}^{i}th block as
g~ti=1mtj=1mtxπtiF(xt+1πt<i,xtπti,ξt,j).\displaystyle\tilde{g}_{t}^{i}=\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}\nabla_{x^{\pi_{t}^{i}}}F(x_{t+1}^{\pi_{t}^{<i}},x_{t}^{\pi_{t}^{\geq i}};\xi_{t,j}). (97)
6:    Update πti\pi_{t}^{i}th block
xt+1πti=xkπtiβtig~ti.\displaystyle x_{t+1}^{\pi_{t}^{i}}=x_{k}^{\pi_{t}^{i}}-\beta_{t}^{i}\tilde{g}_{t}^{i}. (98)
7:   end for
8:end for
9:  Return x¯N=xz\bar{x}_{N}=x_{z} randomly according to
Pr(z=t)=βtminL2(βtmax)2t=1N(βtminL2(βtmax)2),t=1,,N.\displaystyle\Pr(z=t)=\frac{\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2}}{\sum_{t=1}^{N}(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})},\ t=1,\dotsc,N. (99)

B.1 Proof of Lemma 2

Proof of Lemma 2.

We prove Lemma 2 for the case of discrete ξ\xi, note that the proof still holds for the case of continuous ξ\xi just by using probability density function to replace probability distribution. Without the loss of generality, we assume a fixed update order in Algorithm 2: πti=i,\pi_{t}^{i}=i, for all ii and tt. Let Ξt={ξk,1,ξk,2,,ξk,mt}\Xi_{t}=\{\xi_{k,1},\xi_{k,2},\dotsc,\xi_{k,m_{t}}\} be any mini-batch samples in the tt-th iteration. Let g~Ξt,ti=1mtj=1mtxiF(xt+1<i,xti,ξt,j)\tilde{g}_{\Xi_{t},t}^{i}=\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}\nabla_{x^{i}}F(x_{t+1}^{<i},x_{t}^{\geq i};\xi_{t,j}) and gΞt,ti=xif(xt+1<i,xti)g_{\Xi_{t},t}^{i}=\nabla_{x^{i}}f(x_{t+1}^{<i},x_{t}^{\geq i}), and xΞt,t+1i=xtiβtig~Ξt,tix_{\Xi_{t},t+1}^{i}=x_{t}^{i}-\beta_{t}^{i}\tilde{g}_{\Xi_{t},t}^{i}. Then we have

𝔼[g~Ξt,ti|𝚵[t1]]=\displaystyle\mathbb{E}[\tilde{g}_{\Xi_{t},t}^{i}|\mathbf{\Xi}_{[t-1]}]= 𝔼Ξt[1mtj=1mtxiF(xΞt,t+1<i,xti,ξt,j)]\displaystyle\mathbb{E}_{\Xi_{t}}\left[\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}\nabla_{x^{i}}F(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{t,j})\right] (100)
=\displaystyle= ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})1mtj=1mtxiF(xΞt,t+1<i,xti,ξj),\displaystyle\sum_{\xi_{1},\dotsc,\xi_{m_{t}}}\Pr(\Xi_{t}=\{\xi_{1},\xi_{2},\dotsc,\xi_{m_{t}}\})\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}\nabla_{x^{i}}F(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j}), (101)

and

𝔼[gΞt,ti|𝚵[t1]]=\displaystyle\mathbb{E}[g_{\Xi_{t},t}^{i}|\mathbf{\Xi}_{[t-1]}]= 𝔼Ξt[xif(xΞt,t+1<i,xti)]\displaystyle\mathbb{E}_{\Xi_{t}}\left[\nabla_{x^{i}}f(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i})\right] (102)
=\displaystyle= ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})xif(xΞt,t+1<i,xti)\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\nabla_{x^{i}}f(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i}) (103)
=\displaystyle= ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})ξlPr(ξ=ξl)xiF(xΞt,t+1<i,xti,ξl)\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\sum_{\xi_{l}}\Pr(\xi=\xi_{l})\nabla_{x^{i}}F(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{l}) (104)
=\displaystyle= ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\sum_{\xi_{1},\dotsc,\xi_{m_{t}}}\Pr(\Xi_{t}=\{\xi_{1},\xi_{2},\dotsc,\xi_{m_{t}}\}) (105)
1mtj=1mtxiF(xΞt,t+1<i,xti,ξj).\displaystyle\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}\nabla_{x^{i}}F(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j}). (106)

Combine Eq. (101) and Eq. (106), we can obtain the expectation of Δti\Delta_{t}^{i} as

𝔼[Δti|𝚵[t1]]=\displaystyle\mathbb{E}[\Delta_{t}^{i}|\mathbf{\Xi}_{[t-1]}]= 𝔼[g~tigti|𝚵[t1]]\displaystyle\mathbb{E}[\tilde{g}_{t}^{i}-g_{t}^{i}|\mathbf{\Xi}_{[t-1]}] (107)
=\displaystyle= ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})ξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\sum_{\xi_{1},\dotsc,\xi_{m_{t}}}\Pr(\Xi_{t}=\{\xi_{1},\xi_{2},\dotsc,\xi_{m_{t}}\}) (108)
1mtj=1mt(xiF(xΞt,t+1<i,xti,ξj)xiF(xΞt,t+1<i,xti,ξj))\displaystyle\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}(\nabla_{x^{i}}F(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})-\nabla_{x^{i}}F(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})) (109)
=\displaystyle= ξ1,,ξmtξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})Pr(Ξt={ξ1,ξ2,,ξmt})\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\sum_{\xi_{1},\dotsc,\xi_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\Pr(\Xi_{t}=\{\xi_{1},\xi_{2},\dotsc,\xi_{m_{t}}\}) (110)
1mtj=1mt(xiF(xΞt,t+1<i,xti,ξj)xiF(xΞt,t+1<i,xti,ξj)).\displaystyle\frac{1}{m_{t}}\sum_{j=1}^{m_{t}}(\nabla_{x^{i}}F(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})-\nabla_{x^{i}}F(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})). (111)

Note that, since the objection function is Lipschitz smoothness, F(x,ξ)F(x;\xi) is also Lipschitz smoothness if Pr(ξ)>0\Pr(\xi)>0, and we use LL to denote the maximum Lipschitz constant for all Pr(ξ)>0\Pr(\xi)>0. Similarly, we can also obtain the gradient of F(x,ξ)F(x;\xi) is also bounded using same analysis, and we use GG to denote the maximum bound for all Pr(ξ)>0\Pr(\xi)>0. Using these two fact, we have

xiF(xΞt,t+1<i,xti,ξj)xiF(xΞt,t+1<i,xti,ξj)2\displaystyle\|\nabla_{x^{i}}F(x_{\Xi_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})-\nabla_{x^{i}}F(x_{\Xi^{\prime}_{t},t+1}^{<i},x_{t}^{\geq i};\xi_{j})\|_{2} (112)
\displaystyle\leq LxΞt,t+1<ixΞt,t+1<i2\displaystyle L\|x_{\Xi_{t},t+1}^{<i}-x_{\Xi^{\prime}_{t},t+1}^{<i}\|_{2} (113)
\displaystyle\leq l<iLxΞt,t+1lxΞt,t+1l2\displaystyle\sum_{l<i}L\|x_{\Xi_{t},t+1}^{l}-x_{\Xi^{\prime}_{t},t+1}^{l}\|_{2} (114)
\displaystyle\leq l<iLβtlg~Ξt,tlg~Ξt,tl2\displaystyle\sum_{l<i}L\beta_{t}^{l}\|\tilde{g}_{\Xi_{t},t}^{l}-\tilde{g}_{\Xi^{\prime}_{t},t}^{l}\|_{2} (115)
\displaystyle\leq 2LbGβtmax.\displaystyle 2LbG\beta_{t}^{\max}. (116)

Combine Eq. (111) and Eq. (116), we complete the proof as

𝔼[Δti|𝚵[t1]]\displaystyle\mathbb{E}[\Delta_{t}^{i}|\mathbf{\Xi}_{[t-1]}] (117)
\displaystyle\leq ξ1,,ξmtξ1,,ξmtPr(Ξt={ξ1,ξ2,,ξmt})Pr(Ξt={ξ1,ξ2,,ξmt})2LbGβtmax\displaystyle\sum_{\xi^{\prime}_{1},\dotsc,\xi^{\prime}_{m_{t}}}\sum_{\xi_{1},\dotsc,\xi_{m_{t}}}\Pr(\Xi^{\prime}_{t}=\{\xi^{\prime}_{1},\xi^{\prime}_{2},\dotsc,\xi^{\prime}_{m_{t}}\})\Pr(\Xi_{t}=\{\xi_{1},\xi_{2},\dotsc,\xi_{m_{t}}\})2LbG\beta_{t}^{\max} (118)
=\displaystyle= 2LbGβtmax,\displaystyle 2LbG\beta_{t}^{\max}, (119)

where the last equation follows from the Law of total probability. This completes the proof. ∎

B.2 Proof of Theorem 2

Let βtmaxmaxiβti\beta_{t}^{\max}\coloneqq\max_{i}\beta_{t}^{i}, βtminminiβti\beta_{t}^{\min}\coloneqq\min_{i}\beta_{t}^{i}. To establish the convergence rate analysis, we start with Lemma 5.

Lemma 5.

Let uku_{k} be a random vector that only depends on 𝚵[t1]\mathbf{\Xi}_{[t-1]}. If utu_{t} is independent of Δti\Delta_{t}^{i}, then

𝔼[ut,Δti]Aβtmax𝔼[ut2],\displaystyle\mathbb{E}[\langle u_{t},\Delta_{t}^{i}\rangle]\leq A\beta_{t}^{\max}\mathbb{E}[\|u_{t}\|_{2}], (120)

where AA is defined in Eq (19).

Now, it is ready to discuss the main convergence properties of the nonconvex Cyclic SBCD algorithm (Algorithm 2) and provide the rate of convergence for that.

Proof of Lemma 5.

We can obtain the result of Lemma 5 by follows

𝔼[ut,Δti]=\displaystyle\mathbb{E}[\langle u_{t},\Delta_{t}^{i}\rangle]= 𝔼𝚵[t1][𝔼[ut,Δti|𝚵[t1]]]\displaystyle\mathbb{E}_{\mathbf{\Xi}_{[t-1]}}\left[\mathbb{E}[\langle u_{t},\Delta_{t}^{i}\rangle|\mathbf{\Xi}_{[t-1]}]\right] (121)
=(a)\displaystyle\overset{\text{(a)}}{=} 𝔼𝚵[t1][𝔼[ut|𝚵[t1]],𝔼[Δti|𝚵[t1]]]\displaystyle\mathbb{E}_{\mathbf{\Xi}_{[t-1]}}\left[\langle\mathbb{E}[u_{t}|\mathbf{\Xi}_{[t-1]}],\mathbb{E}[\Delta_{t}^{i}|\mathbf{\Xi}_{[t-1]}]\rangle\right] (122)
\displaystyle\leq 𝔼𝚵[t1][𝔼[ut|𝚵[t1]]2𝔼[Δti|𝚵[t1]]2]\displaystyle\mathbb{E}_{\mathbf{\Xi}_{[t-1]}}\left[\|\mathbb{E}[u_{t}|\mathbf{\Xi}_{[t-1]}]\|_{2}\cdot\|\mathbb{E}[\Delta_{t}^{i}|\mathbf{\Xi}_{[t-1]}]\|_{2}\right] (123)
\displaystyle\leq Aβtmax𝔼𝚵[t1][𝔼[ut|𝚵[t1]]2]\displaystyle A\beta_{t}^{\max}\mathbb{E}_{\mathbf{\Xi}_{[t-1]}}\left[\|\mathbb{E}[u_{t}|\mathbf{\Xi}_{[t-1]}]\|_{2}\right] (124)
(b)\displaystyle\overset{\text{(b)}}{\leq} Aβtmax𝔼[ut2],\displaystyle A\beta_{t}^{\max}\mathbb{E}\left[\|u_{t}\|_{2}\right], (125)

where (a) follows from the conditional independence between utu_{t} and Δti\Delta_{t}^{i}, and (b) follows from Jensen’s inequality. ∎

Proof of Theorem 2.

From the Lipschitz smoothness, it holds that

f(xt+1i,xt>i)f(xt+1<i,xti)\displaystyle f(x_{t+1}^{\leq i},x_{t}^{>i})-f(x_{t+1}^{<i},x_{t}^{\geq i}) (126)
\displaystyle\leq gti,xt+1ixti+L2xt+1ixti22\displaystyle\langle g_{t}^{i},x_{t+1}^{i}-x_{t}^{i}\rangle+\frac{L}{2}\|x_{t+1}^{i}-x_{t}^{i}\|_{2}^{2} (127)
=\displaystyle= βtigti,g~ti+L2(βti)2g~ti22\displaystyle-\beta_{t}^{i}\langle g_{t}^{i},\tilde{g}_{t}^{i}\rangle+\frac{L}{2}(\beta_{t}^{i})^{2}\|\tilde{g}_{t}^{i}\|_{2}^{2} (128)
=\displaystyle= (βtiL2(βti)2)gti22+L2(βti)2Δti22(βtiL(βti)2)gti,Δti\displaystyle-(\beta_{t}^{i}-\frac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}+\frac{L}{2}(\beta_{t}^{i})^{2}\|\Delta_{t}^{i}\|_{2}^{2}-(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle g_{t}^{i},\Delta_{t}^{i}\rangle (129)

where all the equations follow the definition of Δti\Delta_{t}^{i} and the update law of Algorithm 2.

Summing Eq. (129) over ii, then we obtain

f(xt+1)f(xt)i=1b(βtiL2(βti)2)gti22+i=1bL2(βti)2Δti22i=1b(βtiL(βti)2)gti,Δti.\displaystyle f(x_{t+1})-f(x_{t})\leq-\sum_{i=1}^{b}(\beta_{t}^{i}-\frac{L}{2}(\beta_{t}^{i})^{2})\|g_{t}^{i}\|_{2}^{2}+\sum_{i=1}^{b}\frac{L}{2}(\beta_{t}^{i})^{2}\|\Delta_{t}^{i}\|_{2}^{2}-\sum_{i=1}^{b}(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\langle g_{t}^{i},\Delta_{t}^{i}\rangle. (130)

Use Lemma 5, we also have the following fact,

𝔼[gti,Δti]βtmaxAG.\displaystyle\mathbb{E}[\langle g_{t}^{i},\Delta_{t}^{i}\rangle]\leq\beta^{\max}_{t}AG. (131)

Taking expectation over Eq. (130), we have

𝔼[f(xt+1)]𝔼[f(xt)]\displaystyle\mathbb{E}[f(x_{t+1})]-\mathbb{E}[f(x_{t})] (132)
\displaystyle\leq i=1b(βtiL2(βti)2)𝔼[gti22]+i=1b(βtiL(βti)2)βtmaxAG+i=1bL2(βti)2𝔼[Δti22]\displaystyle-\sum_{i=1}^{b}(\beta_{t}^{i}-\frac{L}{2}(\beta_{t}^{i})^{2})\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]+\sum_{i=1}^{b}(\beta_{t}^{i}-L(\beta_{t}^{i})^{2})\beta^{\max}_{t}AG+\sum_{i=1}^{b}\frac{L}{2}(\beta_{t}^{i})^{2}\mathbb{E}[\|\Delta_{t}^{i}\|_{2}^{2}] (133)
\displaystyle\leq (βtminL2(βtmax)2)i=1b𝔼[gti22]+i=1b((βtmax)2AG+L2(βti)2σ2),\displaystyle-(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]+\sum_{i=1}^{b}\left((\beta^{\max}_{t})^{2}AG+\frac{L}{2}(\beta_{t}^{i})^{2}\sigma^{2}\right), (134)

where the first inequality follows from Eq. (131), and the second inequality follows from the boundedness of 𝔼[Δti2]\mathbb{E}[\|\Delta_{t}^{i}\|_{2}] and 𝔼[gti2]\mathbb{E}[\|g_{t}^{i}\|_{2}].

Rearranging Eq. (134), we obtain

(βtminL2(βtmax)2)i=1b𝔼[gti22]𝔼[f(xt)]𝔼[f(xt+1)]+i=1b((βtmax)2AG+L2(βti)2σ2).\displaystyle(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}\mathbb{E}[\|g_{t}^{i}\|_{2}^{2}]\leq\mathbb{E}[f(x_{t})]-\mathbb{E}[f(x_{t+1})]+\sum_{i=1}^{b}\left((\beta^{\max}_{t})^{2}AG+\frac{L}{2}(\beta_{t}^{i})^{2}\sigma^{2}\right). (135)

Also, we have

𝔼[xif(xt)2]\displaystyle\mathbb{E}[\|\nabla_{x^{i}}f(x_{t})\|_{2}]\leq 𝔼[xif(xt)gti2]+𝔼[gti2]\displaystyle\mathbb{E}[\|\nabla_{x^{i}}f(x_{t})-g_{t}^{i}\|_{2}]+\mathbb{E}[\|g_{t}^{i}\|_{2}] (136)
(a)\displaystyle\overset{\text{(a)}}{\leq} L𝔼[xt+1<ixt<i2]+𝔼[gti2]\displaystyle L\mathbb{E}[\|x_{t+1}^{<i}-x_{t}^{<i}\|_{2}]+\mathbb{E}[\|g_{t}^{i}\|_{2}] (137)
(b)\displaystyle\overset{\text{(b)}}{\leq} L𝔼[j<iβtjg~tj22]+𝔼[gti2]\displaystyle L\mathbb{E}\left[\sqrt{\sum_{j<i}\|\beta_{t}^{j}\tilde{g}_{t}^{j}\|_{2}^{2}}\right]+\mathbb{E}[\|g_{t}^{i}\|_{2}] (138)
\displaystyle\leq Lβtmax𝔼[j<ig~tj22]+𝔼[gti2]\displaystyle L\beta_{t}^{\max}\mathbb{E}\left[\sqrt{\sum_{j<i}\|\tilde{g}_{t}^{j}\|_{2}^{2}}\right]+\mathbb{E}[\|g_{t}^{i}\|_{2}] (139)
(c)\displaystyle\overset{\text{(c)}}{\leq} Lβtmax𝔼[j<ig~tj22]+𝔼[gti2]\displaystyle L\beta_{t}^{\max}\sqrt{\mathbb{E}[\sum_{j<i}\|\tilde{g}_{t}^{j}\|_{2}^{2}]}+\mathbb{E}[\|g_{t}^{i}\|_{2}] (140)
(d)\displaystyle\overset{\text{(d)}}{\leq} Lβtmaxj<i(G2+σ2)+𝔼[gti2],\displaystyle L\beta_{t}^{\max}\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+\mathbb{E}[\|g_{t}^{i}\|_{2}], (141)

where (a) follows from the Lipschitz smoothness of ff, (b) follows from xt+1j=xtjβtjg~tjx_{t+1}^{j}=x_{t}^{j}-\beta_{t}^{j}\tilde{g}_{t}^{j}, (c) follows from Jenson’s inequality, and (d) follows from the boundedness of gradient and boundedness of variance.

Summing Eq. (141) over ii, we can obtain

𝔼[f(xt)22]=i=1b𝔼[xif(xt)2]i=1bLβtmaxj<i(G2+σ2)+i=1b𝔼[gti2].\displaystyle\mathbb{E}[\|\nabla f(x_{t})\|_{2}^{2}]=\sum_{i=1}^{b}\mathbb{E}[\|\nabla_{x^{i}}f(x_{t})\|_{2}]\leq\sum_{i=1}^{b}L\beta_{t}^{\max}\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+\sum_{i=1}^{b}\mathbb{E}[\|g_{t}^{i}\|_{2}]. (142)

Combine Eq. (142) with Eq. (135), we can obtain

(βtminL2(βtmax)2)𝔼[f(xt)22]\displaystyle(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|\nabla f(x_{t})\|_{2}^{2}] (143)
\displaystyle\leq (βtminL2(βtmax)2)i=1bLβtmaxj<i(G2+σ2)+(βtminL2(βtmax)2)i=1b𝔼[gti2]\displaystyle(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}L\beta_{t}^{\max}\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}\mathbb{E}[\|g_{t}^{i}\|_{2}] (144)
\displaystyle\leq 𝔼[f(xt)]𝔼[f(xt+1)]+(βtminL2(βtmax)2)i=1bLβtmaxj<i(G2+σ2)\displaystyle\mathbb{E}[f(x_{t})]-\mathbb{E}[f(x_{t+1})]+(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}L\beta_{t}^{\max}\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})} (145)
+i=1b((βtmax)2AG+L2(βti)2σ2),\displaystyle+\sum_{i=1}^{b}\left((\beta^{\max}_{t})^{2}AG+\frac{L}{2}(\beta_{t}^{i})^{2}\sigma^{2}\right), (146)

where the first inequality follows from substituting Eq. (142) into the left-hand side of Eq. (135), and the second inequality follows from substituting Eq. (142) into the right-hand side of Eq. (135).

Summing Eq. (146) over tt, we have

t=1N(βtminL2(βtmax)2)𝔼[f(xt)22]\displaystyle\sum_{t=1}^{N}(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\mathbb{E}[\|\nabla f(x_{t})\|_{2}^{2}] (147)
\displaystyle\leq f(x1)f(x)\displaystyle f(x_{1})-f(x^{*}) (148)
+t=1N[(βtminL2(βtmax)2)i=1bLβtmaxj<i(G2+σ2)+i=1b((βtmax)2AG+L2(βti)2σ2)]\displaystyle+\sum_{t=1}^{N}\left[(\beta_{t}^{\min}-\frac{L}{2}(\beta_{t}^{\max})^{2})\sum_{i=1}^{b}L\beta_{t}^{\max}\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+\sum_{i=1}^{b}\left((\beta^{\max}_{t})^{2}AG+\frac{L}{2}(\beta_{t}^{i})^{2}\sigma^{2}\right)\right] (149)
\displaystyle\leq f(x1)f(x)+t=1N(βtmax)2Ct.\displaystyle f(x_{1})-f(x^{*})+\sum_{t=1}^{N}(\beta_{t}^{\max})^{2}C_{t}. (150)

where CtC_{t} is

Ct=\displaystyle C_{t}= (1L2βtmax)i=1bLj<i(G2+σ2)+b(AG+L2σ2).\displaystyle(1-\frac{L}{2}\beta_{t}^{\max})\sum_{i=1}^{b}L\sqrt{\sum_{j<i}(G^{2}+\sigma^{2})}+b\left(AG+\frac{L}{2}\sigma^{2}\right). (151)

Using the probability distribution of RR given in Eq. (99), we completes the proof. ∎

Proof of Corollary 1.

Combine these conditions with Eq. (150), we have

t=1N(βminL2(βmax)2)𝔼[f(xt)22]f(x1)f(x)+N(βmax)2C,\displaystyle\sum_{t=1}^{N}(\beta^{\min}-\frac{L}{2}(\beta^{\max})^{2})\mathbb{E}[\|\nabla f(x_{t})\|_{2}^{2}]\leq f(x_{1})-f(x^{*})+N(\beta^{\max})^{2}C, (152)

where CC is

C=\displaystyle C= (1L2βmax)i=1bLj<i(Gj2+σ2)+b(AG+L2σ2).\displaystyle(1-\frac{L}{2}\beta^{\max})\sum_{i=1}^{b}L\sqrt{\sum_{j<i}(G_{j}^{2}+\sigma^{2})}+b\left(AG+\frac{L}{2}\sigma^{2}\right). (153)

Using the probability distribution of zz given in Eq. (99), we can obtain

𝔼[f(xz)22]f(x1)f+N(βmax)2CN(βminL2(βmax)2).\displaystyle\mathbb{E}\left[\|\nabla f(x_{z})\|_{2}^{2}\right]\leq\frac{f(x_{1})-f^{*}+N(\beta^{\max})^{2}C}{N(\beta^{\min}-\frac{L}{2}(\beta^{\max})^{2})}. (154)

Thus, we can reach the rate of convergence of 𝒪(1/N)\mathcal{O}(1/\sqrt{N}) by setting βmin=βmax=𝒪(1/N)\beta^{\min}=\beta^{\max}=\mathcal{O}(1/\sqrt{N}). ∎

Appendix C RCPG and SGA Algorithm

C.1 Randomized Stochastic Block Coordinate Descent Algorithm

We propose the randomized stochastic block coordinate descent algorithm as Algorithm 3. Note that we also use the same notation about gradient from Eq. (8) and Eq. (9) with very a tiny difference in practical, where yt+1=yty_{t+1}=y_{t} in Eq. (9).

Algorithm 3 Risk-Sensitive Randomized Coordinate Descent Policy Gradient (RCPG)
1:Input: Stepsizes {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\}, let βtmax=max{βtθ,βty}\beta_{t}^{\max}=\max\{\beta_{t}^{\theta},\beta_{t}^{y}\}.Option I: {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\} satisfy the Robbins-Monro condition.Option II: βtθ\beta_{t}^{\theta} and βty\beta_{t}^{y} are set to be constants.
2:for episode t=1,,Nt=1,\dotsc,N do
3:   for time step k=1,,τtk=1,\dotsc,{\tau_{t}} do
4:    Compute akπθ(a|sk)a_{k}\sim\pi_{\theta}(a|s_{k}), observe rk,sk+1r_{k},s_{k+1}.
5:   end for
6:   Compute
Rt\displaystyle{R_{t}} =k=1τtrk\displaystyle=\sum_{k=1}^{\tau_{t}}{{r_{k}}} (155)
ωt(θt)\displaystyle{\omega_{t}}(\theta_{t}) =k=1τtθlnπθt(ak|sk).\displaystyle=\sum_{k=1}^{{\tau_{t}}}{\nabla_{\theta}\ln{\pi_{\theta_{t}}}({a_{k}}|{s_{k}})}. (156)
7:   Randomly select it{1,2}i_{t}\in\{1,2\} with distribution [0.5,0.5][0.5,0.5]. If it=1i_{t}=1,
yt+1\displaystyle{y_{t+1}} =yt+βt(2Rt+1λ2yt),\displaystyle={y_{t}}+{\beta_{t}}\left(2R_{t}+\frac{1}{\lambda}-2y_{t}\right), (157)
θt+1\displaystyle{\theta_{t+1}} =θt.\displaystyle={\theta_{t}}. (158)
else
yt+1\displaystyle{y_{t+1}} =yt,\displaystyle={y_{t}}, (159)
θt+1\displaystyle{\theta_{t+1}} =θt+βt(2ytRt(Rt)2)ωt(θt).\displaystyle={\theta_{t}}+{\beta_{t}}\left({2y_{t}{R_{t}}-{{({R_{t}})}^{2}}}\right){\omega_{t}}({\theta_{t}}). (160)
8:end for
9:Output x¯N\bar{x}_{N}: Option I: Set x¯N=xN\bar{x}_{N}=x_{N}. Option II: Set x¯N=xz\bar{x}_{N}=x_{z}, where zz is uniformly drawn from {1,2,,N}\{1,2,\dotsc,N\}.

Note that, the main difference between Cyclic SBCD and Randomized SBCD is that: at each iteration, Cyclic SBCD cyclically updates all blocks of variables, and the later updated blocks depending on the early updated blocks; while Randomized SBCD randomly chooses one block of variables to update.

C.2 Risk-Sensitive Stochastic Gradient Ascent Policy Gradient

We also proposed risk-sensitive stochastic gradient Ascent policy gradient as Algorithm 4.

Algorithm 4 Risk-Sensitive Stochastic Gradient Ascent Policy Gradient (SGA)
1:Input: Stepsizes {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\}, let βtmax=max{βtθ,βty}\beta_{t}^{\max}=\max\{\beta_{t}^{\theta},\beta_{t}^{y}\}.Option I: {βtθ}\{\beta_{t}^{\theta}\} and {βty}\{\beta_{t}^{y}\} satisfy the Robbins-Monro condition.Option II: βtθ\beta_{t}^{\theta} and βty\beta_{t}^{y} are set to be constants.
2:for episode t=1,,Nt=1,\dotsc,N do
3:   for time step k=1,,τtk=1,\dotsc,{\tau_{t}} do
4:    Compute akπθ(a|sk)a_{k}\sim\pi_{\theta}(a|s_{k}), observe rk,sk+1r_{k},s_{k+1}.
5:   end for
6:   Compute
Rt\displaystyle{R_{t}} =k=1τtrk\displaystyle=\sum_{k=1}^{\tau_{t}}{{r_{k}}} (161)
ωt(θt)\displaystyle{\omega_{t}}(\theta_{t}) =k=1τtθlnπθt(ak|sk).\displaystyle=\sum_{k=1}^{{\tau_{t}}}{\nabla_{\theta}\ln{\pi_{\theta_{t}}}({a_{k}}|{s_{k}})}. (162)
7:   Update parameters,
yt+1\displaystyle{y_{t+1}} =yt+βt(2Rt+1λ2yt),\displaystyle={y_{t}}+{\beta_{t}}\left(2R_{t}+\frac{1}{\lambda}-2y_{t}\right), (163)
θt+1\displaystyle{\theta_{t+1}} =θt+βt(2ytRt(Rt)2)ωt(θt).\displaystyle={\theta_{t}}+{\beta_{t}}\left({2y_{t}{R_{t}}-{{({R_{t}})}^{2}}}\right){\omega_{t}}({\theta_{t}}). (164)
8:end for
9:Output x¯N\bar{x}_{N}: Option I: Set x¯N=xN\bar{x}_{N}=x_{N}. Option II: Set x¯N=xz\bar{x}_{N}=x_{z}, where zz is uniformly drawn from {1,2,,N}\{1,2,\dotsc,N\}.

Appendix D Details of the Experiments

The parameter settings for portfolio management domain are as follows: τ=50\tau=50, rl=1.001r_{l}=1.001, rnlhigh=2r_{\text{nl}}^{\text{high}}=2, rnllow=1.1r_{\text{nl}}^{\text{low}}=1.1, prisk=0.05p_{\text{risk}}=0.05, pswitch=0.1p_{\text{switch}}=0.1, W=4W=4, η=0.2\eta=0.2, startup cash $100,000\$100,000.

The parameter settings of American-style Option domain are as follows: Kput=1K_{\text{put}}=1, Kcall=1.5K_{\text{call}}=1.5, x0=1.25x_{0}=1.25, fu=9/8f_{u}=9/8, fd=8/9f_{d}=8/9, p=0.45p=0.45, τ=20\tau=20.

The parameter settings of optimal stopping domain are as follows: x0=1.25x_{0}=1.25, fu=2f_{u}=2, fd=0.5f_{d}=0.5, p=0.65p=0.65, τ=20\tau=20.