Introduction
Reinforcement learning (RL) has found success across a wide range of applications, including video games [28 ] , robotics [19 ] , and the alignment of large language models [40 ] . Standard RL algorithms are typically designed to maximize a single objective. However, in many real-world applications, operational or safety constraints must also be considered. For example, in wireless communication systems, a network controller seeks to maximize overall throughput while ensuring that the average connectivity exceeds a target rate [16 , 6 ] . Such problems can be modeled as a constrained Markov decision process (CMDP) [2 ] . In this setting, the goal of an agent is to maximize the cumulative reward (e.g. wireless throughput) while ensuring that the cumulative constraint reward (e.g. connectivity rate) is above a prescribed threshold. However, since an optimal policy of a CMDP is, in general, stochastic [2 ] , designing principled algorithms that efficiently output a stochastic policy remains a central challenge.
A common approach to solving CMDPs are primal-dual (PD) methods [15 , 25 , 8 , 5 ] . These methods construct the Lagrangian of the CMDP and then iteratively optimize the policy and the associated dual variable (Lagrange multipliers). Their ease of implementation makes them appealing to practitioners. However the final policy (normally used in practice) exhibits an undesirable oscillating behaviour (see Figure 1 ). From a theoretical perspective, convergence guarantees of PD methods are typically limited to those for impractical mixture policies . Constructing such a mixture policy requires storing all intermediate policies, a memory intensive approach. Furthermore, deploying a mixture policy requires randomly selecting one of these policies. As a result, the constraint guarantees hold only in expectation over this random selection, rather than for the individual policy that is ultimately deployed.
Figure 1. Comparing a PD approach (NPG-PD) Ding et al., [8 ] to the proposed DD method (DD(K=1)) on a 2-armed constrained bandit problem. While the iterates of NPG-PD oscillate, DD(K=1) converges to zero optimality gap and constraint violation. See Appendix § 17 .§ 1 for details.
To address these issues, recent works [9 , 29 , 32 , 31 , 42 , 30 , 26 ] have developed methods with convergence guarantees for the final policy (“last-iterate”). However to establish such theoretical guarantees, these approaches lead to impractical algorithms (see Table 1 for a detailed comparison). Among these approaches, we consider dual descent (DD) methods [42 , 13 ] as our starting point. By incorporating entropy-regularization into the policy optimization problem, DD methods obtains guarantees for a final stochastic policy. However, existing DD methods suffer from three key limitations: (i) their guarantees relies on a impractical coverage assumption (an assumption that implies that every policy can visit every state); (ii) they are cumbersome to deploy, as they are bilevel methods for which every update to the dual variable requires accurately solving an entropy-regularized MDP sub-problem in an inner-loop; and (iii) their guarantees are restricted to the tabular setting [42 , 13 ] . We address these limitations, improving the practicality and generality of DD methods, and make the following contributions.
Table 1. Comparison of prior last-iterate guarantees. To enable a fair comparison, the convergence rate is characterized in terms of the number of policy gradient evaluations. The coverage assumption requires that initial state distribution has full support, i.e. min s ρ ( s ) > 0 \min_s \rho(s) > 0 min s ρ ( s ) > 0 . A bilevel methods refers to two-time scale method in which the inner sub-problem must be solved to an sufficient accuracy. With function approximation, ϵ b i a s \epsilon_{\mathrm{bias}} ϵ bias denotes the irreducible approximation error of the restricted policy class (i.e. Assumption 2), CFA denotes the requirement of compatible function approximation framework Agarwal et al., [1 ] and FND denotes the analysis requires the Fisher non-degenerate assumption Zhang et al., 2021. Note the FND assumption does not hold for log-linear policies Ni and Kangarپور, [35 ] .
Contribution 1. In § 3 , we provide a new analysis of DD methods and establishes last-iterate guarantees for the final policy without any impractical coverage assumptions. Following Ying et al. [ [42 ] and Gladin et al. [ [13 ] , we first consider the tabular setting and analyze the DD method when using entropy-regularized natural policy gradient (E-NPG) [7 ] as the inner sub-problem solver. Our new analysis achieves an O ~ ( 1 / ϵ 4 ) \widetilde{O}(1/\epsilon^4) O ( 1/ ϵ 4 ) last-iterate rate. We then develop a new algorithm that relies on dual-regularization that attains an O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) rate matching Ying et al. [ [42 ] . However, our algorithm does not employ Nesterov acceleration; it only relies on gradient descent on the regularized dual and is consequently simpler to implement.
Contribution 2. We then address the second limitation of DD methods. Their bilevel structure requires using multiple E-NPG iterations to solve the inner sub-problem to an sufficient accuracy. In § 4 , we consider a more practical algorithm by using a single E-NPG update which results in a simple primal-dual (PD) method. Through a novel tracking analysis that controls the bias (as a result of solving the inner sub-problem inexactly), we prove that this method attains an O ~ ( 1 / ϵ 5 ) \widetilde{O}(1/\epsilon^5) O ( 1/ ϵ 5 ) last-iterate rate. In contrast to prior PD methods without coverage assumptions (refer to Table 1 ), our approach achieves a substantially faster last-iterate rate. While related PD methods have been proposed [32 , 29 ] , their analysis is either limited to the finite-horizon setting or supports only a single constraint.
Contribution 3. In § 5 , we further refine our tracking analysis. For a good initial policy (obtained by solving the first inner sub-problem to sufficiently high accuracy), we prove the inexact bias is bounded uniformly and decreases exponentially with the number of E-NPG iterations. We use this property to show that for a fixed number of K K K inner-iterations, the resulting algorithm attains an O ~ ( 1 / ϵ 2 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{2+3/2^K}) O ( 1/ ϵ 2 + 3/ 2 K ) last-iterate rate. In the case when K = 1 K = 1 K = 1 , the resulting PD method attains a O ~ ( 1 / ϵ 3.5 ) \widetilde{O}(1/\epsilon^{3.5}) O ( 1/ ϵ 3.5 ) convergence. This method achieves fastest last-iterate rate for PD methods without any coverage assumptions. Furthermore as K → ∞ K \to\infty K → ∞ , the method converges (linearly in terms of K K K ) to O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) , matching the bilevel DD approach. Thus, this analysis interpolates between the PD (corresponding to K = 1 K = 1 K = 1 ) and DD (corresponding as K → ∞ K \to\infty K → ∞ ) regimes.
Contribution 4. Finally, in Appendix § 8 , we address the final limitation of DD methods — their restriction to the tabular setting. In particular, we extend our analysis to handle large state-action spaces and consider log-linear policies [44 , 1 ] . For this setting, we solve the inner sub-problem using Q-E-NPG [1 ] , an extension of E-NPG when employing linear function approximation. Notably, this extension only requires reanalyzing how the inner sub-problem is solved while the remainder of the analysis remains unchanged. We use the policy features to construct a coreset to control the resulting approximation error of the soft state-action values functions. For sufficiently expressive features, this yields an O ~ ( 1 / ϵ 3.5 ) \widetilde{O}(1/\epsilon^{3.5}) O ( 1/ ϵ 3.5 ) last-iterate rate, achieving the best known rate when handling function approximation.
Problem Formulation & Background
An infinite-horizon discounted constrained Markov decision process (CMDP) [2 ] is defined by the tuple ( S , A , P , ρ , γ , r , { c i } i = 1 m , { b i } i = 1 m ) (\mathcal{S}, \mathcal{A}, \mathcal{P}, \rho, \gamma, r, \{c_i\}_{i=1}^{m}, \{b_i\}_{i=1}^{m}) ( S , A , P , ρ , γ , r , { c i } i = 1 m , { b i } i = 1 m ) . Here, S \mathcal{S} S is the set of states, A \mathcal{A} A is the set of actions, P : S × A → Δ S \mathcal{P}: \mathcal{S} \times\mathcal{A} \to\Delta_{\mathcal{S}} P : S × A → Δ S is the transition probability function, ρ ∈ Δ S \rho\in\Delta_{\mathcal{S}} ρ ∈ Δ S is the initial state distribution, γ ∈ [ 0 , 1 ) \gamma\in[0,1) γ ∈ [ 0 , 1 ) is the discount factor and r : S × A → [ 0 , 1 ] r : \mathcal{S} \times\mathcal{A} \to[0,1] r : S × A → [ 0 , 1 ] is the reward function. The set of m m m constraint reward functions is denoted by { c i } i = 1 m \{c_i\}_{i=1}^{m} { c i } i = 1 m where c i : S × A → [ 0 , 1 ] c_i : \mathcal{S} \times\mathcal{A} \to[0,1] c i : S × A → [ 0 , 1 ] and { b i } i = 1 m \{b_i\}_{i=1}^{m} { b i } i = 1 m is the set of corresponding non-negative thresholds. For a policy π : S → Δ A \pi: \mathcal{S} \to\Delta_{\mathcal{A}} π : S → Δ A , the state-action value function Q ⋄ π : S × A → R Q^\pi_{\diamond} : \mathcal{S} \times\mathcal{A} \to\mathbb{R} Q ⋄ π : S × A → R is defined as Q ⋄ π ( s , a ) : = E [ ∑ h = 0 ∞ γ h ⋄ ( s h , a h ) ∣ s 0 = s , a 0 = a ] Q^\pi_{\diamond}(s,a) := \mathbb{E}[\sum_{h=0}^{\infty} \gamma^h \diamond(s_h,a_h)\mid s_0=s,a_0=a] Q ⋄ π ( s , a ) := E [ ∑ h = 0 ∞ γ h ⋄ ( s h , a h ) ∣ s 0 = s , a 0 = a ] such that for h ≥ 0 h \ge0 h ≥ 0 , s h + 1 ∼ P ( ⋅ ∣ s h , a h ) s_{h+1} \sim\mathcal{P}(\cdot\mid s_h,a_h) s h + 1 ∼ P ( ⋅ ∣ s h , a h ) , a h + 1 ∼ π ( ⋅ ∣ s h ) a_{h+1} \sim\pi(\cdot\mid s_h) a h + 1 ∼ π ( ⋅ ∣ s h ) where ⋄ : S × A → R \diamond: \mathcal{S} \times\mathcal{A} \to\mathbb{R} ⋄ : S × A → R is a bounded (pseudo) reward function. The value function V ⋄ π : S → R V^\pi_{\diamond} : \mathcal{S} \to\mathbb{R} V ⋄ π : S → R is defined as V ⋄ π ( s ) : = E a ∼ π ( ⋅ ∣ s ) [ Q ⋄ π ( s , a ) ] V^\pi_{\diamond}(s) := \mathbb{E}_{a\sim\pi(\cdot\mid s)}[Q^\pi_{\diamond}(s,a)] V ⋄ π ( s ) := E a ∼ π ( ⋅ ∣ s ) [ Q ⋄ π ( s , a )] , and we use V ⋄ π ( ρ ) : = E s 0 ∼ ρ [ V ⋄ π ( s 0 ) ] V^\pi_{\diamond}(\rho) := \mathbb{E}_{s_0\sim\rho}[V^\pi_{\diamond}(s_0)] V ⋄ π ( ρ ) := E s 0 ∼ ρ [ V ⋄ π ( s 0 )] to denote the expected value function. Using this notation, the reward state-action value function and reward value function are denoted as Q r π Q^\pi_r Q r π and V r π V^\pi_r V r π . Likewise, for each constraint i ∈ [ m ] i \in[m] i ∈ [ m ] , we denote the constraint reward state-action value function as Q c i π Q^\pi_{c_i} Q c i π and the constraint reward value function as V c i π V^\pi_{c_i} V c i π .
For a given CMDP, the objective is to find a policy π \pi π that maximizes the expected reward value function while satisfying the set of expected constraint reward value functions in expectation. Formally, this corresponds to solving the following problem:
Problem 1. max π V r π ( ρ ) \max_{\pi} V^\pi_r(\rho) max π V r π ( ρ ) subject to V c i π ( ρ ) ≥ b i ∀ i ∈ [ m ] V^\pi_{c_i}(\rho) \ge b_i \quad\forall i \in[m] V c i π ( ρ ) ≥ b i ∀ i ∈ [ m ] .
Let π ∗ \pi^* π ∗ denote the optimal policy of Problem 1 and note in general, unlike unconstrained MDPs, π ∗ \pi^* π ∗ is stochastic [2 ] . A typical approach to solve Problem 1 is to construct the Lagrangian and consider the following saddle-point problem:
max π min λ ∈ R + m L ( π , λ ) : = V r π ( ρ ) + ∑ i = 1 m λ i ( V c i π ( ρ ) − b i ) (1) \max_{\pi}\min_{\lambda\in\mathbb{R}^{m}_{+}} L(\pi,\lambda) := V^\pi_r(\rho) + \sum_{i=1}^{m}\lambda_i(V^\pi_{c_i}(\rho)-b_i) \tag*{(1)} π max λ ∈ R + m min L ( π , λ ) := V r π ( ρ ) + i = 1 ∑ m λ i ( V c i π ( ρ ) − b i ) (1)
where λ ∈ R + m \lambda\in\mathbb{R}^{m}_{+} λ ∈ R + m is the dual variable. For example, primal-dual (PD) methods [8 ] solve Problem 1 by iteratively updating the policy (e.g., via natural policy gradient) and the dual variables (e.g., via gradient descent). For such a PD algorithm, prior work [15 , 8 , 25 , 37 ] establishes after T T T iterations, for a target error ϵ > 0 \epsilon> 0 ϵ > 0 , the mixture policy π ˉ T : = 1 T ∑ t = 0 T − 1 π t \bar{\pi}_T := \frac{1}{T}\sum_{t=0}^{T-1}\pi_t π ˉ T := T 1 ∑ t = 0 T − 1 π t is an ϵ \epsilon ϵ -optimal policy, i.e.,
V r π ˉ T ( ρ ) ≥ V r π ∗ ( ρ ) − ϵ ; V c i π ˉ T ( ρ ) ≥ b i − ϵ ∀ i ∈ [ m ] V^{\bar{\pi}_T}_r(\rho) \ge V^{\pi^*}_r(\rho)-\epsilon\ ;\ V^{\bar{\pi}_T}_{c_i}(\rho) \ge b_i-\epsilon\quad\forall i\in[m] V r π ˉ T ( ρ ) ≥ V r π ∗ ( ρ ) − ϵ ; V c i π ˉ T ( ρ ) ≥ b i − ϵ ∀ i ∈ [ m ]
Despite their strong theoretical guarantees, mixture policies suffer from two practical drawbacks. First, they are memory intensive since they require storing all intermediate policies { π t } t = 0 T − 1 \{\pi_t\}_{t=0}^{T-1} { π t } t = 0 T − 1 . Second, deploying such a mixture policy requires repeatedly sampling a policy uniformly from this set. As a result, constraint satisfaction is only guaranteed in expectation over this random selection. For safety-critical applications, this behaviour is undesirable as any single policy may significantly violate the constraints. This has motivated the development of principled algorithms that converge to a single deployable stochastic policy.
Prior approaches are developed by introducing additional regularization, either on the policy [26 , 42 , 13 ] , dual variables [30 ] or to both [29 , 9 , 32 ] . These algorithmic designs provide guarantees for the reward sub-optimality and constraint satisfaction of the final policy (“last-iterate”) produced by the algorithm. However to establish such guarantees, most prior analysis requires strong coverage assumptions on the initial state space that are difficult to satisfy in practice. Moreover, extending these guarantees to general policy parameterization often requires additional, overly restrictive assumptions on the policy class (refer to Table 1 for details). To address these issues, we use the dual descent (DD) method as the starting point.
Inexact Dual Descent
In § 3.1 , we first introducing the entropy-regularized CMDP and formulate its dual problem. In § 3.2 we develop an inexact DD algorithm for solving this problem and analyze a generic convergence guarantee without any coverage assumption in § 3.3 . We then specialize the analysis to the tabular setting, where the number of states and actions are finite, and in § 3.4 establish last-iterate guarantees for the resulting algorithms. Finally, in § 3.5 we add dual-regularization and attain faster rates.
Constructing a Differentiable Dual
An common approach for constrained optimization problems is to consider the dual function of the Lagrangian in Equation (1) , D ( λ ) : = max π L ( π , λ ) D(\lambda) := \max_{\pi} L(\pi,\lambda) D ( λ ) := max π L ( π , λ ) and solve the convex problem min λ ∈ R + m D ( λ ) \min_{\lambda\in\mathbb{R}^{m}_{+}} D(\lambda) min λ ∈ R + m D ( λ ) using gradient-based methods [4 ] . However, a key challenge is that for a fixed λ ∈ R + m \lambda\in\mathbb{R}^{m}_{+} λ ∈ R + m , the maximizer arg max π L ( π , λ ) \arg\max_{\pi} L(\pi,\lambda) arg max π L ( π , λ ) may not be unique, making the dual function non-differentiable. To address this issue, following prior work [42 , 21 , 13 ] , we consider solving an entropy-regularized primal. This enables the dual of the regularized primal to have a unique solution and enables the gradient to be well-defined.
In particular, let H ( π ( ⋅ ∣ s ) ) : = − ⟨ π ( ⋅ ∣ s ) , ln ( π ( ⋅ ∣ s ) ) ⟩ H(\pi(\cdot|s)) := -\langle\pi(\cdot|s), \ln(\pi(\cdot|s)) \rangle H ( π ( ⋅ ∣ s )) := − ⟨ π ( ⋅ ∣ s ) , ln ( π ( ⋅ ∣ s ))⟩ denote the Shannon entropy of a policy π \pi π for any state s ∈ S s \in\mathcal{S} s ∈ S . For the entropy parameter τ > 0 \tau> 0 τ > 0 , the soft (entropy-regularized) value function V Ω , τ π : S × A → R V^{\pi}_{\Omega,\tau}: \mathcal{S} \times\mathcal{A} \to\mathbb{R} V Ω , τ π : S × A → R is defined as V Ω , τ π ( s ) : = V Ω π ( s ) + τ ∑ h = 0 ∞ γ h [ H ( π ( ⋅ ∣ s h ) ) ∣ s 0 = s ] V^{\pi}_{\Omega,\tau}(s) := V^{\pi}_{\Omega}(s) + \tau\sum_{h=0}^{\infty} \gamma^{h} [H(\pi(\cdot|s_h)) \mid s_0 = s] V Ω , τ π ( s ) := V Ω π ( s ) + τ ∑ h = 0 ∞ γ h [ H ( π ( ⋅ ∣ s h )) ∣ s 0 = s ] and soft state-action-value function Q Ω , τ π : S × A → R Q^{\pi}_{\Omega,\tau}: \mathcal{S} \times\mathcal{A} \to\mathbb{R} Q Ω , τ π : S × A → R is defined as Q Ω , τ π : = E s ′ ∼ P ( ⋅ ∣ s , a ) [ ⋄ ( s , a ) + γ V Ω , τ π ( s ′ ) ] Q^{\pi}_{\Omega,\tau} := \mathbb{E}_{s' \sim P(\cdot|s,a)}[\diamond(s,a) + \gamma V^{\pi}_{\Omega,\tau}(s')] Q Ω , τ π := E s ′ ∼ P ( ⋅ ∣ s , a ) [ ⋄ ( s , a ) + γ V Ω , τ π ( s ′ )] [12 , 23 ] .
Using this notation, we define the soft reward value function as V r , τ π ( ρ ) : = E s ∼ ρ [ V r , τ π ( s ) ] V^{\pi}_{r,\tau}(\rho) := \mathbb{E}_{s \sim\rho}[V^{\pi}_{r,\tau}(s)] V r , τ π ( ρ ) := E s ∼ ρ [ V r , τ π ( s )] , and focus on the following soft Lagrangian formulation:
Problem 2. max π min λ ∈ R + m L τ ( π , λ ) \max_{\pi}\min_{\lambda\in\mathbb{R}^{m}_{+}} \mathcal{L}_{\tau}(\pi,\lambda) max π min λ ∈ R + m L τ ( π , λ ) where L τ ( π , λ ) : = V r , τ π ( ρ ) + ∑ i = 1 m λ i ( V c i , τ π ( ρ ) − b i ) \mathcal{L}_{\tau}(\pi,\lambda) := V^{\pi}_{r,\tau}(\rho) + \sum_{i=1}^{m} \lambda_i (V^{\pi}_{c_i,\tau}(\rho) - b_i) L τ ( π , λ ) := V r , τ π ( ρ ) + ∑ i = 1 m λ i ( V c i , τ π ( ρ ) − b i ) .
Hence, for any λ ∈ R + m \lambda\in\mathbb{R}^{m}_{+} λ ∈ R + m , entropy regularization ensures that the maximizer of the Lagrangian:
D τ ( λ ) : = max π L τ ( π , λ ) ; λ τ ∗ : = arg min λ ∈ R + m D τ ( λ ) (2) D_{\tau}(\lambda) := \max_{\pi} \mathcal{L}_{\tau}(\pi,\lambda) \quad; \quad\lambda^{*}_{\tau} := \arg\min_{\lambda\in\mathbb{R}^{m}_{+}} D_{\tau}(\lambda) \tag*{(2)} D τ ( λ ) := π max L τ ( π , λ ) ; λ τ ∗ := arg λ ∈ R + m min D τ ( λ ) (2)
is unique [33 ] . Consequently, by Danskin’s theorem [10 ] , its gradient is well-defined and characterized as follows.
Proposition 1. For any λ ∈ R + m \lambda\in\mathbb{R}^{m}_{+} λ ∈ R + m and entropy regularization parameter τ > 0 \tau> 0 τ > 0 , the dual function D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) in Equation (2) is differentiable such that ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] ,
[ ∇ D τ ( λ ) ] i : = V c i π λ , τ ∗ ( ρ ) − b i ; π λ , τ ∗ : = arg max π L τ ( π , λ ) [\nabla D_{\tau}(\lambda)]_i := V^{\pi^{*}_{\lambda,\tau}}_{c_i}(\rho) - b_i \quad; \quad\pi^{*}_{\lambda,\tau} := \arg\max_{\pi} \mathcal{L}_{\tau}(\pi,\lambda) [ ∇ D τ ( λ ) ] i := V c i π λ , τ ∗ ( ρ ) − b i ; π λ , τ ∗ := arg π max L τ ( π , λ )
For a fixed dual variable λ \lambda λ , computing this gradient exactly requires solving an an entropy-regularized MDP as the inner sub-problem. We therefore consider an approximate solution to this maximization problem and will use it to construct inexact gradients.
Algorithm Design
Building on the DD approach of Ying et al. [ [42 ] , we now present the following generic inexact DD algorithm, which employs a black-box entropy-regularized MDP solver to construct the inexact dual gradients.
Algorithmic details. Algorithm 1 is a bilevel method that uses an approximate solution to the inner sub-problem to construct an inexact gradient for the outer dual update. By the linearity of the reward r r r and the weighted constrained reward { λ i c i } i = 1 m \{\lambda_i c_i\}_{i=1}^{m} { λ i c i } i = 1 m , computing π λ , τ ∗ : = arg max π L τ ( π , λ ) \pi^{*}_{\lambda,\tau} := \arg\max_{\pi} \mathcal{L}_{\tau}(\pi,\lambda) π λ , τ ∗ := arg max π L τ ( π , λ ) is equivalent to solving the following inner sub-problem induced by λ \lambda λ ,
arg max π V R ( λ ) , τ π ( ρ ) ; R ( λ ) : = r + ∑ i = 1 m λ i c i . (3) \arg\max_{\pi} V^{\pi}_{R(\lambda),\tau}(\rho) \quad; \quad R(\lambda) := r + \sum_{i=1}^{m} \lambda_i c_i. \tag*{(3)} arg π max V R ( λ ) , τ π ( ρ ) ; R ( λ ) := r + i = 1 ∑ m λ i c i . (3)
Thus, constructing the dual gradient of Equation (2) reduces to solving an unconstrained entropy-regularized MDP with pseudo-reward R ( λ ) R(\lambda) R ( λ ) . We can thereby obtain inexact dual gradients by using any entropy-regularized MDP solver as a black-box. To this end, in Line 3, we introduce an abstract method, PolicyOptimization ( π τ − 1 , R ( λ t ) , τ , K ) \operatorname{PolicyOptimization}(\pi_{\tau-1}, R(\lambda_t), \tau, K) PolicyOptimization ( π τ − 1 , R ( λ t ) , τ , K ) , which takes as input an initial policy π τ − 1 \pi_{\tau-1} π τ − 1 , pseudo-reward R ( λ t ) R(\lambda_t) R ( λ t ) , an entropy regularizer parameter τ \tau τ , and iterations K K K and outputs a policy π τ \pi_{\tau} π τ . Then in Line 4, using the
Algorithm 1 Inexact DD for CMDPs
Input: π − 1 \pi_{-1} π − 1 (initial policy), λ 0 ∈ R + m \lambda_0 \in\mathbb{R}^{m}_{+} λ 0 ∈ R + m (initial dual variable), τ \tau τ (entropy regularization), β \beta β (dual step-size), μ \mu μ (dual regularization), T T T (number of outer-iterations), K K K (number of inner-iterations), J J J (number of recovery-iterations)
for t = 0 , 1 , … , T − 1 t = 0,1,\ldots,T-1 t = 0 , 1 , … , T − 1 do
π t = PolicyOptimization ( π t − 1 , R ( λ t ) , τ , K ) \pi_t = \operatorname{PolicyOptimization}(\pi_{t-1}, R(\lambda_t), \tau, K) π t = PolicyOptimization ( π t − 1 , R ( λ t ) , τ , K ) where R ( λ t ) = r + ∑ i = 1 m c i λ t [ i ] R(\lambda_t) = r + \sum_{i=1}^{m} c_i \lambda_t[i] R ( λ t ) = r + ∑ i = 1 m c i λ t [ i ] .
Construct inexact dual gradient estimate [ ∇ ~ D τ ( λ t ) ] i : = V c i π t ( ρ ) − b i [\widetilde{\nabla}D_{\tau}(\lambda_t)]_i := V_{c_i}^{\pi_t}(\rho)-b_i [ ∇ D τ ( λ t ) ] i := V c i π t ( ρ ) − b i , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] .
λ t + 1 = Proj Λ [ ( 1 − β μ ) λ t − β ∇ ~ D τ ( λ t ) ] \lambda_{t+1} = \operatorname{Proj}_{\Lambda}\left[(1-\beta\mu)\lambda_t-\beta\widetilde{\nabla}D_{\tau}(\lambda_t)\right] λ t + 1 = Proj Λ [ ( 1 − β μ ) λ t − β ∇ D τ ( λ t ) ]
end for
λ T = 1 T ∑ t = 1 T λ t \lambda_T = \frac{1}{T}\sum_{t=1}^{T}\lambda_t λ T = T 1 ∑ t = 1 T λ t if μ = 0 \mu=0 μ = 0 else λ T \lambda_T λ T
Recover deployable policy from dual variable: π T = PolicyOptimization ( π − 1 , R ( λ T ) , τ , J ) \pi_T = \operatorname{PolicyOptimization}(\pi_{-1}, R(\lambda_T), \tau, J) π T = PolicyOptimization ( π − 1 , R ( λ T ) , τ , J )
Return: Policy π T \pi_T π T and (average) dual variable λ T \lambda_T λ T
approximate solution to the entropy-regularized MDP π t \pi_t π t , we construct the corresponding inexact dual gradient ∇ ~ D τ ( λ t ) ∈ R m \widetilde{\nabla}D_{\tau}(\lambda_t) \in\mathbb{R}^{m} ∇ D τ ( λ t ) ∈ R m such that [ ∇ ~ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i [\widetilde{\nabla}D_{\tau}(\lambda_t)]_i = V_{c_i}^{\pi_t}(\rho)-b_i [ ∇ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i for all i ∈ [ m ] i \in[m] i ∈ [ m ] .
We first consider the case when μ = 0 \mu=0 μ = 0 and will handle the regularized case in § 3.5 . Using the inexact dual gradient estimate, we update the dual variable using projected dual descent (Line 5). In particular, given a gradient estimator ∇ ~ D τ ( λ t ) \widetilde{\nabla}D_{\tau}(\lambda_t) ∇ D τ ( λ t ) , we consider the following update λ t + 1 = Proj Λ [ λ t − β ∇ ~ D τ ( λ t ) ] \lambda_{t+1} = \operatorname{Proj}_{\Lambda}\left[\lambda_t-\beta\widetilde{\nabla}D_{\tau}(\lambda_t)\right] λ t + 1 = Proj Λ [ λ t − β ∇ D τ ( λ t ) ] where β > 0 \beta>0 β > 0 is the dual step-size and Proj Λ [ λ ] \operatorname{Proj}_{\Lambda}[\lambda] Proj Λ [ λ ] denotes the Euclidean projection onto a convex set Λ \Lambda Λ , i.e., Proj Λ [ λ ] : = arg min λ ′ ∈ Λ ∥ λ − λ ′ ∥ 2 2 \operatorname{Proj}_{\Lambda}[\lambda] := \arg\min_{\lambda' \in\Lambda}\|\lambda-\lambda'\|_2^2 Proj Λ [ λ ] := arg min λ ′ ∈ Λ ∥ λ − λ ′ ∥ 2 2 . The projection set Λ \Lambda Λ is chosen to ensure the dual iterates remain bounded while containing the optimal dual solution. To obtain an upper bound on the magnitude λ τ ∗ \lambda_{\tau}^{*} λ τ ∗ , following prior work [42 , 13 , 9 ] we consider the following assumption.
Assumption 1 (Slater Condition). ∃ \exists ∃ policy π ˉ \bar{\pi} π ˉ and ζ ∈ R + m \zeta\in\mathbb{R}^{m}_{+} ζ ∈ R + m such that ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] , ζ i : = V c i π ˉ ( ρ ) − b i > 0 \zeta_i := V_{c_i}^{\bar{\pi}}(\rho)-b_i>0 ζ i := V c i π ˉ ( ρ ) − b i > 0 .
This assumption ensures the existence of a strictly feasible policy. The constant ζ \zeta ζ is referred to as Slater constant [8 , 3 , 24 , 41 ] . This quantity measures the width of the region of feasible policies and is a measure of the problem’s difficulty. Furthermore by Lemmas 15 and 25 , these lemmas show that λ τ ∗ \lambda_{\tau}^{*} λ τ ∗ is bounded component-wise by [ λ τ ∗ ] i ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) ζ i [\lambda_{\tau}^{*}]_i \le\frac{2+2\tau\ln(A)}{(1-\gamma)\zeta_i} [ λ τ ∗ ] i ≤ ( 1 − γ ) ζ i 2 + 2 τ l n ( A ) . Hence, in order for the set to contain λ τ ∗ \lambda_{\tau}^{*} λ τ ∗ , we may restrict the dual iterates to the compact set Λ : = { λ ∈ R + m ∣ 0 ≤ λ i ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) ζ i } \Lambda:= \left\{\lambda\in\mathbb{R}^{m}_{+}\mid0\le\lambda_i\le\frac{2+2\tau\ln(A)}{(1-\gamma)\zeta_i}\right\} Λ := { λ ∈ R + m ∣ 0 ≤ λ i ≤ ( 1 − γ ) ζ i 2 + 2 τ l n ( A ) } .
Finally, in line 8, we obtain a deployable policy by solving an entropy-regularized MDP induced by a fixed dual.
Theoretical Analysis
Algorithm 1 aims to minimize the dual problem. We first show how the sub-optimality of the dual solution relates to the reward sub-optimality and constraint violation for Problem 1.
Lemma 1. Under Assumption 1 , suppose λ ˉ ∈ R m \bar{\lambda}\in\mathbb{R}^{m} λ ˉ ∈ R m is an Δ \Delta Δ -optimal dual solution, i.e., for Δ ≥ 0 \Delta\ge0 Δ ≥ 0 , D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ D_{\tau}(\bar{\lambda})-D_{\tau}(\lambda_{\tau}^{*})\le\Delta D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ . Then, the policy π λ ˉ , τ ∗ : = arg max π V R ( λ ˉ ) , τ π ( ρ ) \pi_{\bar{\lambda},\tau}^{*}:=\arg\max_{\pi}V_{R(\bar{\lambda}),\tau}^{\pi}(\rho) π λ ˉ , τ ∗ := arg max π V R ( λ ˉ ) , τ π ( ρ ) has the following guarantee for Problem 1:
V r π λ ˉ , τ ∗ ( ρ ) − V r π λ τ ∗ , τ ∗ ( ρ ) ≤ O ( Δ τ ) + O ( τ ) ; max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( Δ τ ) ∀ i ∈ [ m ] . V_{r}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho)-V_{r}^{\pi^{*}_{\lambda^{*}_{\tau},\tau}}(\rho)\le O\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right)+O(\tau)\ ;\quad\max\left\{b_i-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho),0\right\}\le O\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right)\quad\forall i\in[m]. V r π λ ˉ , τ ∗ ( ρ ) − V r π λ τ ∗ , τ ∗ ( ρ ) ≤ O ( τ Δ ) + O ( τ ) ; max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( τ Δ ) ∀ i ∈ [ m ] .
We next characterize the convergence of Algorithm 1 and bound the dual sub-optimality. In order to do so, we first establish that the dual objective is smooth by leveraging the Lipschitz property of entropy-regularized policies with respect to λ \lambda λ . Unlike prior derivations [42 , 13 ] , this result does not rely on any strong coverage assumptions on either the initial state distribution or the optimal policy.
Lemma 2. For τ > 0 \tau> 0 τ > 0 and any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m , the dual function D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is G τ : = m τ ( 1 − γ ) 3 G_{\tau} := \frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m -smooth.
Assuming that the inexact dual gradients are bounded at each iteration, using this smoothness property, we now prove a generic convergence guarantee for Algorithm 1. Specifically, the following result corresponds to analyzing projected gradient descent on a convex, smooth function with bounded, inexact gradients.
Lemma 3. Under Assumption 1, for any τ > 0 \tau> 0 τ > 0 , assuming that for all t ∈ [ 0 , T − 1 ] t \in[0,T-1] t ∈ [ 0 , T − 1 ] , ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ δ t \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\leq\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ δ t , Algorithm 1 using step-size β ≤ 1 G τ \beta\leq\frac{1}{G_{\tau}} β ≤ G τ 1 , λ 0 = 0 \lambda_0=0 λ 0 = 0 , and μ = 0 \mu=0 μ = 0 converges as: for T ≥ 1 T \geq1 T ≥ 1 ,
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ 0 ∗ ∥ 2 2 2 β T + ∣ Λ ∣ T ∑ t = 0 T − 1 δ t (4) D_{\tau}(\bar{\lambda}_T)-D_{\tau}(\lambda^{\ast}) \leq\frac{\lVert\lambda_0^{\ast}\rVert_2^2}{2\beta T}+\frac{|\Lambda|}{T}\sum_{t=0}^{T-1}\delta_t \tag*{(4)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ 0 ∗ ∥ 2 2 + T ∣Λ∣ t = 0 ∑ T − 1 δ t (4) where λ ˉ T : = 1 T ∑ t = 1 T λ t \bar{\lambda}_T:=\frac{1}{T}\sum_{t=1}^{T}\lambda_t λ ˉ T := T 1 ∑ t = 1 T λ t , and ∣ Λ ∣ = m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i |\Lambda|=\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} ∣Λ∣ = ( 1 − γ ) m i n i ∈ [ m ] ζ i m ( 2 + 2 τ l n ( A )) .
The above results shows that the dual sub-optimality decreases as O ( 1 / T ) O(1/T) O ( 1/ T ) up to a bias introduced by the inexact gradients. Hence, the remaining step is to control the bias introduced by using inexact dual gradients. Specifically, in order to combine Lemma 1 with the dual sub-optimality guarantee of Lemma 3, we require the accumulated bias term to be sufficiently small. To this end, in Lemma 4 we bound the bias by the sub-optimality of the inner sub-problem.
Lemma 4. For any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m , τ > 0 \tau>0 τ > 0 and policy π ~ \tilde{\pi} π ~ , the inexact gradient such that [ ∇ ~ D τ ( λ ) ] i = V π ~ τ ( ρ ) − b i [\widetilde{\nabla}D_{\tau}(\lambda)]_i=V_{\tilde{\pi}}^{\tau}(\rho)-b_i [ ∇ D τ ( λ ) ] i = V π ~ τ ( ρ ) − b i for all i ∈ [ m ] i\in[m] i ∈ [ m ] results in the following bias:
∥ ∇ D τ ( λ ) − ∇ ~ D τ ( λ ) ∥ ≤ 2 m max π V R ( λ ) , τ π ( ρ ) − V R ( λ ) , τ π ~ ( ρ ) ( 1 − γ ) 3 / 2 τ \lVert\nabla D_{\tau}(\lambda)-\widetilde{\nabla}D_{\tau}(\lambda)\rVert\leq\frac{\sqrt{2m}\sqrt{\max_{\pi}V_{R(\lambda),\tau}^{\pi}(\rho)-V_{R(\lambda),\tau}^{\tilde{\pi}}(\rho)}}{(1-\gamma)^{3/2}\sqrt{\tau}} ∥ ∇ D τ ( λ ) − ∇ D τ ( λ )∥ ≤ ( 1 − γ ) 3/2 τ 2 m max π V R ( λ ) , τ π ( ρ ) − V R ( λ ) , τ π ~ ( ρ )
Consequently, the bias can be controlled through the accuracy of the inner black-box policy optimization method in Algorithm 1. Hence, to obtain a single deployable policy, we instantiate the abstract PolicyOptimization method with entropy-regularized natural policy gradient (E-NPG) [7 , 20 ] .
Instantiating the Algorithm
For a generic bounded pseudo-reward ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U>0 U > 0 , we employ E-NPG for K K K iterations. At inner-iteration k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ] , E-NPG iteratively updates policy π k \pi_k π k using an estimate of the soft state-action value function Q ^ ⋄ , τ π k ∈ R S A \hat{Q}_{\diamond,\tau}^{\pi_k}\in\mathbb{R}^{SA} Q ^ ⋄ , τ π k ∈ R S A using the following update: ∀ ( s , a ) ∈ S × A \forall(s,a)\in\mathcal{S}\times\mathcal{A} ∀ ( s , a ) ∈ S × A
π k + 1 ( a ∣ s ) ∝ ( π k ( a ∣ s ) ) 1 − η τ 1 − γ exp ( η Q ^ ⋄ , τ π k ( s , a ) 1 − γ ) (5) \pi_{k+1}(a|s)\propto(\pi_k(a|s))^{1-\frac{\eta\tau}{1-\gamma}}\exp\left(\frac{\eta\hat{Q}_{\diamond,\tau}^{\pi_k}(s,a)}{1-\gamma}\right) \tag*{(5)} π k + 1 ( a ∣ s ) ∝ ( π k ( a ∣ s ) ) 1 − 1 − γ η τ exp ( 1 − γ η Q ^ ⋄ , τ π k ( s , a ) ) (5)
where η > 0 \eta>0 η > 0 denotes the policy step-size. Furthermore, the following result from Cen et al. [7 Theorem 1] shows that E-NPG converges linearly for any bounded pseudo-reward up to an floor that depends on inexactness in the state-action value function. For example, such an error can arise when evaluating the policy π k \pi_k π k using a finite number of trajectories.
Lemma 5. For any pseudo-reward ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U>0 U > 0 , assuming that sup k ≥ 0 ∥ Q ^ ⋄ , τ π k − Q ⋄ , τ π k ∥ ∞ ≤ E \sup_{k\geq0}\lVert\hat{Q}_{\diamond,\tau}^{\pi_k}-Q_{\diamond,\tau}^{\pi_k}\rVert_{\infty}\leq\mathcal{E} sup k ≥ 0 ∥ Q ^ ⋄ , τ π k − Q ⋄ , τ π k ∥ ∞ ≤ E , the inexact E-NPG update in Equation (5) with τ > 0 \tau>0 τ > 0 , η ≤ 1 − γ τ \eta\leq\frac{1-\gamma}{\tau} η ≤ τ 1 − γ results in the following convergence: for K ≥ 0 K\geq0 K ≥ 0
∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∥ ∞ ≤ γ [ ( 1 − η τ ) K C + E ] \lVert Q_{\diamond,\tau}^{\pi_{\diamond,\tau}^{\ast}}-Q_{\diamond,\tau}^{\pi_{K+1}}\rVert_{\infty}\leq\gamma\left[(1-\eta\tau)^K C+\mathcal{E}\right] ∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∥ ∞ ≤ γ [ ( 1 − η τ ) K C + E ] ∥ ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∥ ∞ ≤ 2 τ [ ( 1 − η τ ) K C + E ] \lVert\ln(\pi_{\diamond,\tau}^{\ast})-\ln(\pi_{K+1})\rVert_{\infty}\leq\frac{2}{\tau}\left[(1-\eta\tau)^K C+\mathcal{E}\right] ∥ ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∥ ∞ ≤ τ 2 [ ( 1 − η τ ) K C + E ] V ⋄ , τ π ⋄ , τ ∗ ( ρ ) − V ⋄ , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ C ( 1 − η τ ) K + E ] V_{\diamond,\tau}^{\pi_{\diamond,\tau}^{\ast}}(\rho)-V_{\diamond,\tau}^{\pi_{K+1}}(\rho)\leq(2+\gamma)\left[C(1-\eta\tau)^K+\mathcal{E}\right] V ⋄ , τ π ⋄ , τ ∗ ( ρ ) − V ⋄ , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ C ( 1 − η τ ) K + E ]
where π ⋄ , τ ∗ : = arg max π V ⋄ , τ π ( ρ ) \pi_{\diamond,\tau}^{*} := \arg\max_{\pi} V_{\diamond,\tau}^{\pi}(\rho) π ⋄ , τ ∗ := arg max π V ⋄ , τ π ( ρ ) , C : = ∥ Q ⋄ , τ π ∗ − Q ⋄ , τ π 0 ∥ ∞ + 2 τ ( 1 − η τ 1 − γ ) ∥ ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∥ ∞ C := \lVert Q_{\diamond,\tau}^{\pi^{*}} - Q_{\diamond,\tau}^{\pi^{0}}\rVert_{\infty} + 2\tau\left(1-\frac{\eta\tau}{1-\gamma}\right)\lVert\ln(\pi_{\diamond,\tau}^{*})-\ln(\pi_{0})\rVert_{\infty} C := ∥ Q ⋄ , τ π ∗ − Q ⋄ , τ π 0 ∥ ∞ + 2 τ ( 1 − 1 − γ η τ ) ∥ ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∥ ∞ and E : = 2 ϵ 1 − γ ( 1 + γ τ ) E := \frac{2\epsilon}{1-\gamma}\left(1+\frac{\gamma}{\tau}\right) E := 1 − γ 2 ϵ ( 1 + τ γ ) .
For a cleaner exposition, we first consider the case where the update is exact, i.e., Q ^ ⋄ , τ π k = Q ⋄ , τ π k \widehat{Q}_{\diamond,\tau}^{\pi_k}=Q_{\diamond,\tau}^{\pi_k} Q ⋄ , τ π k = Q ⋄ , τ π k which implies that E = 0 E=0 E = 0 . We defer handle a general form when E > 0 E>0 E > 0 in Appendix F. Due to the projection in Algorithm 1, the pseudo-reward R ( λ t ) R(\lambda_t) R ( λ t ) remains bounded for all outer-iterations t ∈ [ 0 , T − 1 ] t\in[0,T-1] t ∈ [ 0 , T − 1 ] . Therefore, applying the above lemma with ⋄ = R ( λ t ) \diamond=R(\lambda_t) ⋄ = R ( λ t ) results in the following convergence result,
max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π K + 1 ( ρ ) ≤ O ( ( 1 − η τ ) K ) . (6) \max_{\pi}V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_{K+1}}(\rho)\leq O\left((1-\eta\tau)^K\right). \tag*{(6)} π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π K + 1 ( ρ ) ≤ O ( ( 1 − η τ ) K ) . (6)
Hence, E-NPG serves as an efficient solver for the inner sub-problem.
Putting everything together, we characterize the convergence rate of Algorithm 1 and prove the following theorem in Appendix D.1. To enable a fair comparison to prior work, we characterize the convergence using the total number of policy gradient evaluations across the entire procedure. This corresponds to K T KT K T gradient evaluations (corresponding to K K K inner-loops for each of the T T T outer-iterations) and the final J J J iterations to recover a deployable policy.
Theorem 1. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 (i) with τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , T = O ( 1 / ϵ 4 ) T=O(1/\epsilon^4) T = O ( 1/ ϵ 4 ) , β = τ ( 1 − γ ) 3 m \beta=\frac{\tau(1-\gamma)^3}{m} β = m τ ( 1 − γ ) 3 , μ = 0 \mu=0 μ = 0 , λ 0 = 0 \lambda_0=0 λ 0 = 0 and (ii) using the exact E-NPG update with η = O ( 1 − γ τ ) \eta=O\left(\frac{1-\gamma}{\tau}\right) η = O ( τ 1 − γ ) and K = J = O ( ln ( 1 / ϵ ) ) K=J=O(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ( 1 / ϵ 4 ln ( 1 / ϵ ) ) O(1/\epsilon^4\ln(1/\epsilon)) O ( 1/ ϵ 4 ln ( 1/ ϵ )) gradient evaluations.
Comparison to prior work. Ying et al. [ [42 ] employ Nesterov acceleration to minimize the dual and attain a faster O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) last-iterate rate. However, this rate comes at the cost of a more complicated algorithm. In the next section, we investigate an alternative approach that uses an ℓ 2 \ell_2 ℓ 2 regularization term in the dual objective, and achieves the same improved convergence rate.
Faster Rates with ℓ 2 \ell_2 ℓ 2 regularization
For the ℓ 2 \ell_2 ℓ 2 -regularization parameter μ > 0 \mu>0 μ > 0 , the update in line 5 of Algorithm 1 corresponds to inexact gradient descent on the regularized dual:
D τ , μ ( λ ) : = max π L τ ( π , λ ) + μ 2 ∥ λ ∥ 2 2 . (7) D_{\tau,\mu}(\lambda):=\max_{\pi}L_{\tau}(\pi,\lambda)+\frac{\mu}{2}\lVert\lambda\rVert_2^2. \tag*{(7)} D τ , μ ( λ ) := π max L τ ( π , λ ) + 2 μ ∥ λ ∥ 2 2 . (7)
Furthermore, by Lemma 16, we can verify that the unique minimizer λ τ , μ ∗ : = arg min λ ∈ R m D τ , μ ( λ ) \lambda_{\tau,\mu}^{*}:=\arg\min_{\lambda\in\mathbb{R}^m}D_{\tau,\mu}(\lambda) λ τ , μ ∗ := arg min λ ∈ R m D τ , μ ( λ ) is contained within Λ \Lambda Λ . Analogous to Lemma 1, we first relate the accuracy of the regularized dual solution to the reward sub-optimality and constraint violation for Problem 1. By exploiting the KKT conditions in Lemma 17, we obtain the following result.
Lemma 6. Under Assumption 1, for any μ > 0 \mu>0 μ > 0 , τ > 0 \tau>0 τ > 0 and λ ∈ Λ \lambda\in\Lambda λ ∈ Λ , the policy π λ , τ ∗ : = arg max π V R ( λ ) , τ π ( ρ ) \pi_{\lambda,\tau}^{*}:=\arg\max_{\pi}V_{R(\lambda),\tau}^{\pi}(\rho) π λ , τ ∗ := arg max π V R ( λ ) , τ π ( ρ ) satisfies:
V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( τ ) , V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\lambda,\tau}^{*}}(\rho)\leq O\left(G_{\tau}\lVert\lambda-\lambda_{\tau,\mu}^{*}\rVert\right)+O(\tau), V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( τ ) , max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( μ ) ∀ i ∈ [ m ] \max\left\{b_i-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho),0\right\}\leq O\left(G_{\tau}\lVert\lambda-\lambda_{\tau,\mu}^{*}\rVert\right)+O(\mu)\quad\forall i\in[m] max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( μ ) ∀ i ∈ [ m ] where G τ : = m τ ( 1 − γ ) 3 G_{\tau}:=\frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m and λ τ , μ ∗ = arg min λ ∈ Λ D τ , μ ( λ ) \lambda_{\tau,\mu}^{*}=\arg\min_{\lambda\in\Lambda}D_{\tau,\mu}(\lambda) λ τ , μ ∗ = arg min λ ∈ Λ D τ , μ ( λ ) .
Hence, controlling the reward sub-optimality and constraint violation requires controlling the dual sub-optimality ∥ λ − λ τ , μ ∗ ∥ \lVert\lambda-\lambda_{\tau,\mu}^{*}\rVert ∥ λ − λ τ , μ ∗ ∥ . Assuming that the inexactness in the gradients are bounded, similar to Lemma 3, we consider projected gradient descent on a smooth, strongly-convex objective with inexact gradients.
Lemma 7. Under Assumption 1, assuming that for all t ∈ [ 0 , T − 1 ] t \in[0,T-1] t ∈ [ 0 , T − 1 ] , ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t \lVert\widetilde{\nabla}D_{\tau}(\lambda_t)-\nabla D_{\tau}(\lambda_t)\rVert\le\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ δ t , Algorithm 1 using step-size β ≤ 2 / ( G τ + 2 μ ) \beta\le2/(G_{\tau}+2\mu) β ≤ 2/ ( G τ + 2 μ ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 results in the following convergence: for T ≥ 1 T \ge1 T ≥ 1
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 δ t (8) \lVert\lambda_T-\lambda_{\tau,\mu}^{*}\rVert\le\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda_{\tau,\mu}^{*}\rVert+\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\delta_t \tag*{(8)} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 δ t (8)
In Lemma 16, we show that the magnitude of λ τ , μ ∗ \lambda_{\tau,\mu}^{*} λ τ , μ ∗ is bounded. In contrast to Lemma 3 where the bias δ t \delta_t δ t accumulates additively, here, the accumulated bias decays geometrically over the previous iterations. This discounting is key to obtaining a faster convergence rate. Combining the regularized dual convergence in Lemma 6 with Lemma 7, and using E-NPG as the policy optimization method, we now present a faster last-iterate rate in the following theorem. The proof is similar to Theorem 1 and is provided in Appendix E.1.
Theorem 2. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 2 ) T=\widetilde{O}(1/\epsilon^2) T = O ( 1/ ϵ 2 ) , β = O ( ϵ ) \beta=O(\epsilon) β = O ( ϵ ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the exact E-NPG update with η = O ( 1 / τ ) \eta=O(1/\tau) η = O ( 1/ τ ) and K = J = O ( ln ( 1 / ϵ ) ) K=J=O(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) gradient evaluations.
Comparison to prior work. Compared with other bilevel methods in Table 1 , our method achieves an O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) last-iterate rate without any coverage assumptions. This matches the rate of the inexact DD method of Ying et al. [ [42 ] , while avoiding a more involved Nesterov acceleration scheme.
The previous results require solving the inner sub-problem to a high accuracy. This makes the resulting algorithm cumbersome to deploy in practice. Consequently, in the next section, we show only a constant (even a single) number of policy optimization steps of E-NPG suffice for attain last-iterate convergence.
From Dual Descent with NPG to Primal-Dual
We first present the main idea and show warm-starting E-NPG from the previous policy iterate allows a constant number of updates to control the accumulated bias. We then establish the corresponding last-iterate guarantee. For clarity, we consider when μ > 0 \mu>0 μ > 0 , which yields a sharper convergence rate. The case when μ = 0 \mu=0 μ = 0 follows from a similar analysis and we defer the corresponding details to Appendix D.2.
In order to gain some intuition as to why using a constant number of policy updates is possible, recall from Lemma 7, obtaining an accurate dual solution using Algorithm 1 requires control of the accumulated discounted bias: β ∑ t = 0 T − 1 ( 1 − β μ / 2 ) T − t − 1 δ t \beta\sum_{t=0}^{T-1}(1-\beta\mu/2)^{T-t-1}\delta_t β ∑ t = 0 T − 1 ( 1 − β μ /2 ) T − t − 1 δ t where ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ δ t \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ δ t . Instead of bounding the bias δ t \delta_t δ t uniformly for each iteration t ≥ 0 t\ge0 t ≥ 0 , we instead control the aggregate bias across iterations. To this end, observe that for each i ∈ [ m ] i\in[m] i ∈ [ m ] , [ ∇ ~ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i ≤ 1 1 − γ [\widetilde{\nabla}D_{\tau}(\lambda_t)]_i=V_{c_i}^{\pi_t}(\rho)-b_i\le\frac{1}{1-\gamma} [ ∇ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i ≤ 1 − γ 1 since c i ∈ [ 0 , 1 ] S A c_i\in[0,1]^{SA} c i ∈ [ 0 , 1 ] S A . Hence, the inexact dual gradients are uniformly bounded, which implies consecutive dual iterates remain close, i.e., ∥ λ t − λ t + 1 ∥ ≤ O ( β μ ) \lVert\lambda_t-\lambda_{t+1}\rVert\le O(\beta\mu) ∥ λ t − λ t + 1 ∥ ≤ O ( β μ ) . As a result, the pseudo-reward and primal iterates across consecutive iterations do not change significantly. This suggests that warm-starting the E-NPG update in (5) at π t \pi_t π t allows the policy iterates to efficiently track the target policy π λ t + 1 , τ ∗ \pi_{\lambda_{t+1},\tau}^{*} π λ t + 1 , τ ∗ . Therefore, we do not require solving each inner sub-problem to high-accuracy, and consequently show that a constant (independent of ϵ \epsilon ϵ ) number of E-NPG updates will suffice.
We now formalize this intuition. For a fixed t ≥ 0 t\ge0 t ≥ 0 , let R t = R ( λ t ) R_t=R(\lambda_t) R t = R ( λ t ) , π t ∗ = arg max π V R t , τ π ( ρ ) \pi_t^{*}=\arg\max_{\pi}V_{R_t,\tau}^{\pi}(\rho) π t ∗ = arg max π V R t , τ π ( ρ ) and Q t π t = Q R t , τ π t Q_t^{\pi_t}=Q_{R_t,\tau}^{\pi_t} Q t π t = Q R t , τ π t . The following lemma introduces the tracking potential used in our analysis. In particular, Φ t \Phi_t Φ t quantifies how well the initial policy π t \pi_t π t tracks the optimal policy π t ∗ \pi_t^{*} π t ∗ of the inner sub-problem at each iteration t t t .
Lemma 8. For all t ≥ 0 t\ge0 t ≥ 0 ,
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 4 m A Φ t τ ( 1 − γ ) 2 (9) \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le\frac{4\sqrt{m}A\Phi_t}{\tau(1-\gamma)^2} \tag*{(9)} ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ τ ( 1 − γ ) 2 4 m A Φ t (9) where Φ t = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t=\frac{1}{1-\gamma}\lVert Q_t^{\pi_t^{*}}-Q_t^{\pi_t}\rVert_{\infty}+\frac{\tau}{4}\lVert\ln(\pi_t^{*})-\ln(\pi_t)\rVert_{\infty} Φ t = 1 − γ 1 ∥ Q t π t ∗ − Q t π t ∥ ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ .
The goal is now to derive a recursive bound that relates Φ t + 1 \Phi_{t+1} Φ t + 1 to Φ t \Phi_t Φ t . Combining the contraction property of the E-NPG update from Lemma 5 and accounting for the change in the target policy between consecutive dual iterates yields the following tracking bound.
Lemma 9. Let π t + 1 \pi_{t+1} π t + 1 denote the policy obtained from K > 0 K > 0 K > 0 iterations of the exact E-NPG update with step-size η = ( 1 − γ ) / τ \eta= (1-\gamma)/\tau η = ( 1 − γ ) / τ and ◊ = R t + 1 \Diamond= R_{t+1} ◊ = R t + 1 . Then,
Φ t + 1 ≤ ( 1 + γ ) γ K − 1 2 ( Φ t + 2 m ∥ λ t − λ t + 1 ∥ ∞ ( 1 − γ ) 2 ) \Phi_{t+1} \le\frac{(1+\gamma)\gamma^{K-1}}{2}\left(\Phi_t+\frac{2m\lVert\lambda_t-\lambda_{t+1}\rVert_\infty}{(1-\gamma)^2}\right) Φ t + 1 ≤ 2 ( 1 + γ ) γ K − 1 ( Φ t + ( 1 − γ ) 2 2 m ∥ λ t − λ t + 1 ∥ ∞ )
Hence Φ t + 1 \Phi_{t+1} Φ t + 1 depends on Φ t \Phi_t Φ t (the error at iteration t t t ), a drift term ∥ λ t − λ t + 1 ∥ ∞ \lVert\lambda_t-\lambda_{t+1}\rVert_\infty ∥ λ t − λ t + 1 ∥ ∞ that captures the error incurred because the target policy changes as the dual variable moves from λ t \lambda_t λ t to λ t + 1 \lambda_{t+1} λ t + 1 and a multiplicative O ( γ K − 1 ) \mathcal{O}(\gamma^{K-1}) O ( γ K − 1 ) term which captures the effect of the E-NPG updates. Since projections are non-expansive, we have ∥ λ t − λ t + 1 ∥ ∞ ≤ O ( β μ ) \lVert\lambda_t-\lambda_{t+1}\rVert_\infty\le\mathcal{O}(\beta\mu) ∥ λ t − λ t + 1 ∥ ∞ ≤ O ( β μ ) . Thus, the drift term can be controlled by choosing a small enough dual step-size β \beta β and regularization μ \mu μ . Moreover, since γ < 1 \gamma< 1 γ < 1 , Lemmas 8 and 9 imply that even a single E-NPG update can control the gradient bias across outer-iterations.
We now characterize the convergence of Algorithm 1 when using a single E-NPG update and prove the following theorem in Appendix E.§ 2 . With K = 1 K = 1 K = 1 , each iteration of Algorithm 1 performs one E-NPG update followed by one dual update. Hence, the bilevel DD method reduces to a simple PD method.
Theorem 3. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau= \mu= \mathcal{O}(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 5 ) T = \widetilde{\mathcal{O}}(1/\epsilon^5) T = O ( 1/ ϵ 5 ) , β = O ( ϵ 4 ) \beta= \mathcal{O}(\epsilon^4) β = O ( ϵ 4 ) , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 and (ii) using the exact E-NPG update with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , K = 1 K = 1 K = 1 , J = O ( ln ( 1 / ϵ ) ) J = \mathcal{O}(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ~ ( 1 / ϵ 5 ) \widetilde{\mathcal{O}}(1/\epsilon^5) O ( 1/ ϵ 5 ) gradient evaluations.
Comparison to prior work. We now compare to prior PD methods with last-iterate guarantees in Table 1 . Without any coverage assumptions our method achieves a fast O ~ ( 1 / ϵ 5 ) \widetilde{\mathcal{O}}(1/\epsilon^5) O ( 1/ ϵ 5 ) last-iterate rate while avoiding any coverage assumptions and retaining a practical policy update. In contrast to Ding et al. [ [9 ] and Montenegro et al. [ [30 ] , our rate does not depend on potentially unbounded constants and is much faster than specialized finite-horizon method of Müller et al. [ [32 ] .
Theorem 3 reveals that the inner MDP does not need to be solved to high accuracy at every iteration. We next refine the tracking analysis to obtain a sharper characterization of the benefit of additional inner-iterations, yielding an improved convergence rate when K = 1 K = 1 K = 1 and progressively faster rates as K K K increases.
Tighter Tracking Analysis
We first motivate the how warming-starting the initial policy yields a tighter bound on the gradient bias then establish the corresponding last-iterate guarantee. Similar to § 4 , we consider when μ > 0 \mu> 0 μ > 0 and defer the case when μ = 0 \mu= 0 μ = 0 to Appendix § 11 .§ 3 .
The previous tracking bound holds for an arbitrary initialization. In contrast, we show that by warm-starting the initial policy to be sufficiently close to the solution of the first sub-problem, we can obtain a faster convergence rate. In particular, warm-starting ensures that all future policy iterates remain within a neighbourhood of the corresponding target policy (the solution to the inner sub-problem). In this neighbourhood, we show that E-NPG exhibits a quadratic rate of convergence. Consequently, the algorithm guarantees a uniform bias bound that improves exponentially with the number of inner-iterations.
To begin, we first relate the bias to the log-policy error between the current policy π t \pi_t π t and the target policy π t ∗ \pi_t^* π t ∗ .
Lemma 10. For any τ > 0 \tau> 0 τ > 0 and t ≥ 0 t \ge0 t ≥ 0 ,
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m ∣ A ∣ ( 1 − γ ) 2 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ⏟ = : L t \left\lVert\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\right\rVert\le\frac{\sqrt{m}\lvert\mathcal{A}\rvert}{(1-\gamma)^2}\underbrace{\left\lVert\ln(\pi_t^*)-\ln(\pi_t)\right\rVert_\infty}_{=:L_t} ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ ( 1 − γ ) 2 m ∣ A ∣ =: L t ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞
The above bound follows from the proof of Lemma 8, but notably does not depend on τ \tau τ . In Appendix § 16 , we prove that each E-NPG update decreases L t L_t L t quadratically. This result follows by first relating L t + 1 L_{t+1} L t + 1 , the log-policy error after one update to the KL divergence. Then using Hoeffding’s lemma, we prove that this divergence is bounded by L t 2 L_t^2 L t 2 , and obtain the following result.
Lemma 11. Let π t + 1 \pi_{t+1} π t + 1 denote the policy obtained from K ≥ 1 K \ge1 K ≥ 1 iterations of the exact E-NPG update with step-size η = ( 1 − γ ) / τ \eta= (1-\gamma)/\tau η = ( 1 − γ ) / τ and ⋄ = R t + 1 \diamond= R_{t+1} ⋄ = R t + 1 . Then,
L t + 1 ≤ ( γ 1 − γ ) 2 K − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) 2 K L_{t+1} \le\left(\frac{\gamma}{1-\gamma}\right)^{2^K-1}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert+L_t\right)^{2^K} L t + 1 ≤ ( 1 − γ γ ) 2 K − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) 2 K
In contrast to Lemma 9 which corresponds to a linear contraction in Φ t \Phi_t Φ t , the log-policy error L t L_t L t contracts superlinearly with the number of inner-iterations K K K . However, this sharper recursion yields a contraction only when both the log-policy error and the drift term are sufficiently small. As before, the drift term can be controlled by choosing a small step-size β \beta β and dual-regularizer μ \mu μ . Now in order to control the log-policy error uniformly, we require the initial error L 0 L_0 L 0 to be sufficiently small. Hence, if the initial policy satisfies L 0 ≤ O ( ( β / τ ) 2 K ) L_0 \le O((\beta/\tau)^{2^K}) L 0 ≤ O (( β / τ ) 2 K ) , then, we show that for a fixed K ≥ 1 K \ge1 K ≥ 1 , the above result ensures that L t ≤ O ( β / τ ) 2 K L_t \le O(\beta/\tau)^{2^K} L t ≤ O ( β / τ ) 2 K for all t ≥ 0 t \ge0 t ≥ 0 , and thus yields a uniform bound on the bias. Using this bound with Lemma 10 and the dual sub-optimality of Lemma 6 we prove the following theorem in Appendix E.§ 3 .
Theorem 4. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0, 1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau= \mu= O(\epsilon) τ = μ = O ( ϵ ) , T = O ( 1 / ϵ 2 + 3 / ( 2 K ) ) T = O(1/\epsilon^{2+3/(2K)}) T = O ( 1/ ϵ 2 + 3/ ( 2 K ) ) , β = O ( ϵ 3 + 2 K / K ) \beta= O(\epsilon^{3+2^K/K}) β = O ( ϵ 3 + 2 K / K ) , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 (ii) using the exact E-NPG update with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K \ge1 K ≥ 1 , J = O ( ln ( 1 / ϵ ) ) J = O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) and (iii) warm-starting the initial policy such that L 0 ≤ O ( ( β μ / τ ) 2 K ) L_0 \le O((\beta\mu/\tau)^{2^K}) L 0 ≤ O (( β μ / τ ) 2 K ) return an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 2 + 3 / ( 2 K ) ) \widetilde{O}(1/\epsilon^{2+3/(2K)}) O ( 1/ ϵ 2 + 3/ ( 2 K ) ) gradient evaluations.
When K ≥ 1 K \ge1 K ≥ 1 , the initial condition on L 0 L_0 L 0 is satisfied by running O ( ln ( 1 / ϵ ) ) O(\ln(1/\epsilon)) O ( ln ( 1/ ϵ )) E-NPG iterations on R ( λ 0 ) R(\lambda_0) R ( λ 0 ) since E-NPG converges linearly (Lemma 5). Let us now consider when K = 1 K = 1 K = 1 . In this case, the algorithm attains an O ~ ( 1 / ϵ 3.5 ) \widetilde{O}(1/\epsilon^{3.5}) O ( 1/ ϵ 3.5 ) last-iterate rate, improving the result of Theorem 3 by exploiting a more accurate initialization. To the best of our knowledge, this method results achieves the fastest last-iterate convergence for PD methods in the tabular setting and does not require any coverage assumptions (refer to Table 1 ). We further experimentally evaluate our method (see Figure 2 ). More generally, the rate improves exponentially with K K K and as K → ∞ K \to\infty K → ∞ , the method attains an O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) convergence, matching Theorem 2. Hence, combining these two cases, this analysis interpolates between the PD and DD regimes.
Figure 2. Comparing our regularized inexact DD method DD (K=1) when K = 1 K=1 K = 1 , μ > 0 \mu>0 μ > 0 and warm-starting the initial policy with 50 iterations. We compare against the following practical last-iterate methods from prior work: RPG-PD [9 ] , PQA-ALM [26 ] , NPG-NRL [32 ] , ReLoad [31 ] , and the related DD method of Ying et al. [ [42 ] (DD (Nesterov)) For all methods, the hyper-parameters were selected via a grid-search (see Appendix § 17 .§ 2 for details) We select the best variant such that the final policy satisfies b − V c π ( ρ ) ≤ 0.001 b-V_c^\pi(\rho)\le0.001 b − V c π ( ρ ) ≤ 0.001 . Our method converges towards zero optimality gap and constraint violation the fastest without any oscillations.
Conclusion
We provide a new analysis of DD methods that establishes last-iterate guarantees without requiring impractical coverage assumptions. Building on this, we further introduce a truncated bilevel algorithm that interpolates between PD and DD methods, yielding an practical algorithm with theoretical guarantees. In the tabular setting, this approach achieves a O ~ ( 1 / ϵ 3.5 ) \widetilde{O}(1/\epsilon^{3.5}) O ( 1/ ϵ 3.5 ) last-iterate rate and extends to the linear function approximation setting through a black-box reduction. Our proposed PD method attains the best known last-iterate rates without relying on any coverage assumptions. For future work, we plan to validate our method on large-scale control tasks and extend the theoretical analysis to consider the general function approximation setting.
References
Handling Linear Function Approximation
We first show that the inexact E-NPG analysis extends to function approximation by treating the soft state-action value-function estimation error as an additional bias term. We then bound this error for log-linear policies and derive the corresponding last-iterate convergence rate.
To generalize across large state-action spaces, we consider the log-linear policy [1 , 43 ] . Given policy features φ : S × A → R d \varphi: \mathcal{S} \times\mathcal{A} \to\mathbb{R}^{d} φ : S × A → R d and parameters θ ∈ R d \theta\in\mathbb{R}^{d} θ ∈ R d with d ≪ S A d \ll SA d ≪ S A , a log-linear policy is expressed as:
π ( a ∣ s ) = exp ( ⟨ φ ( s , a ) , θ ⟩ ) ∑ a ′ ∈ A exp ( ⟨ φ ( s , a ′ ) , θ ⟩ ) , ∀ ( s , a ) ∈ S × A (10) \pi(a|s) = \frac{\exp(\langle\varphi(s,a),\theta\rangle)}{\sum_{a' \in\mathcal{A}} \exp(\langle\varphi(s,a'),\theta\rangle)}, \quad\forall(s,a) \in\mathcal{S} \times\mathcal{A} \tag*{(10)} π ( a ∣ s ) = ∑ a ′ ∈ A exp (⟨ φ ( s , a ′ ) , θ ⟩) exp (⟨ φ ( s , a ) , θ ⟩) , ∀ ( s , a ) ∈ S × A (10)
where the parameterization is implicit in the notation. For this policy class, we employ Q-E-NPG [1 ] , a counterpart of E-NPG when employing linear function approximation (FA). In particular, Q-E-NPG projects the soft Q-function onto the span of the policy features then updates the policy in the direction of this projection.
To start, we first define Pr π [ s h = s , a h = a ∣ s 0 ] \Pr^{\pi}[s_h = s, a_h = a|s_0] Pr π [ s h = s , a h = a ∣ s 0 ] as the probability of visiting state s s s and taking action a a a at timestep h h h when starting at the initial state s 0 s_0 s 0 and the define state-action occupancy measure ν π : = ( 1 − γ ) ∑ s 0 ρ ( s 0 ) ∑ h = 0 ∞ γ h Pr π [ s h = s , a h = a ∣ s 0 ] \nu^{\pi} := (1-\gamma)\sum_{s_0}\rho(s_0)\sum_{h=0}^{\infty}\gamma^h\Pr^{\pi}[s_h = s, a_h = a|s_0] ν π := ( 1 − γ ) ∑ s 0 ρ ( s 0 ) ∑ h = 0 ∞ γ h Pr π [ s h = s , a h = a ∣ s 0 ] . Furthermore, for a fixed out-iteration t ≥ 0 t \ge0 t ≥ 0 and dual variable λ t ∈ R + m \lambda_t \in\mathbb{R}^{m}_{+} λ t ∈ R + m , we consider the pseudo-reward R t : = R ( λ t ) = r + ∑ i = 1 m c i [ λ t ] i R_t := R(\lambda_t) = r + \sum_{i=1}^{m}c_i[\lambda_t]_i R t := R ( λ t ) = r + ∑ i = 1 m c i [ λ t ] i . For each inner-iteration k ∈ [ 0 , K − 1 ] k \in[0,K-1] k ∈ [ 0 , K − 1 ] Q-E-NPG iteratively considers the approximate solution to the following weighted least-squares problem:
w ˉ k ≈ arg min w ∈ R d ∑ ( s , a ) ∈ S × A [ ν π k ( s , a ) ( Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w ⟩ ) 2 ] (11) \bar{w}_k \approx\mathop{\arg\min}_{w \in\mathbb{R}^{d}} \sum_{(s,a)\in\mathcal{S}\times\mathcal{A}}\left[\nu^{\pi_k}(s,a)\left(Q_{R_t,\tau}^{\pi_k}(s,a)-\langle\varphi(s,a),w\rangle\right)^2\right] \tag*{(11)} w ˉ k ≈ arg min w ∈ R d ( s , a ) ∈ S × A ∑ [ ν π k ( s , a ) ( Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w ⟩ ) 2 ] (11)
then updates the parameters in the direction of ⟨ φ , w ˉ k ⟩ \langle\varphi,\bar{w}_k\rangle ⟨ φ , w ˉ k ⟩ using the step-size η \eta η ,
θ k + 1 = θ k + η w ˉ k \theta_{k+1} = \theta_k + \eta\bar{w}_k θ k + 1 = θ k + η w ˉ k
Here, ⟨ φ , w ˉ k ⟩ ∈ R S A \langle\varphi,\bar{w}_k\rangle\in\mathbb{R}^{SA} ⟨ φ , w ˉ k ⟩ ∈ R S A is a linear approximation of the soft state-action value-function Q R t , τ π k ∈ R S A Q_{R_t,\tau}^{\pi_k} \in\mathbb{R}^{SA} Q R t , τ π k ∈ R S A . Hence for the log-linear policy parameterization, the above update is equivalent to the inexact E-NPG update in Equation (5) , with ⋄ = R t \diamond= R_t ⋄ = R t and Q ^ ⋄ , τ π k = ⟨ φ , w ˉ k ⟩ \widehat{Q}_{\diamond,\tau}^{\pi_k} = \langle\varphi,\bar{w}_k\rangle Q ⋄ , τ π k = ⟨ φ , w ˉ k ⟩ . Thus, the tracking analysis of the inexact dual gradients (Lemmas 9 and 11) applies with an additional error term arising from function approximation. We characterize how this error propagates through the accumulated inexact gradient bias and defer the technical details to Appendices H and I. Therefore, the remaining challenge is to control the approximation error ∥ Q R t , τ π k − ⟨ φ , w ˉ k ⟩ ∥ ∞ \lVert Q_{R_t,\tau}^{\pi_k} - \langle\varphi,\bar{w}_k\rangle\rVert_{\infty} ∥ Q R t , τ π k − ⟨ φ , w ˉ k ⟩ ∥ ∞ .
Standard analyses of typically characterize this error under the compatible function approximation (CFA) framework [17 , 1 , 9 ] . In particular, the resulting guarantee depend on the transfer bias [1 ] , which quantifies how well a function learned under the current policy distribution generalizes to the state-action distribution of the optimal policy. Controlling this quantity requires sufficient coverage of the optimal policy’s state-action distribution and can be arbitrarily small when ν π \nu^{\pi} ν π has poor coverage [1 , 43 ] . Hence, to avoid introducing any policy-dependent coverage assumptions, we instead estimate the linear approximation of Q R t , τ π k Q_{R_t,\tau}^{\pi_k} Q R t , τ π k under a fixed state-action distribution chosen independently of the current policy.
In order to do so, we select a (small) subset of the entire state-action space that has provides sufficient coverage based on the policies features. To this end, let C ⊆ S × A \mathcal{C} \subseteq\mathcal{S} \times\mathcal{A} C ⊆ S × A denote a coreset and ζ ∈ Δ ( C ) \zeta\in\Delta(\mathcal{C}) ζ ∈ Δ ( C ) denote its corresponding state-action distribution. Using ζ \zeta ζ , we now consider the following Q-E-NPG update with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ :
w k ≈ arg min w ∈ R d ℓ t , τ k ( w , ζ ) , ℓ t , τ k ( w ) = ∑ ( s , a ) ∈ C [ ζ ( s , a ) ∣ Q R t , τ π k ( s , a ) − ⟨ w , φ ( s , a ) ⟩ ∣ 2 ] (12) w_k \approx\arg\min_{w \in\mathbb{R}^{d}} \ell_{t,\tau}^{k}(w,\zeta), \quad\ell_{t,\tau}^{k}(w) = \sum_{(s,a)\in\mathcal{C}}\left[\zeta(s,a)\left|Q_{R_t,\tau}^{\pi_k}(s,a)-\langle w,\varphi(s,a)\rangle\right|^2\right] \tag*{(12)} w k ≈ arg w ∈ R d min ℓ t , τ k ( w , ζ ) , ℓ t , τ k ( w ) = ( s , a ) ∈ C ∑ [ ζ ( s , a ) Q R t , τ π k ( s , a ) − ⟨ w , φ ( s , a )⟩ 2 ] (12)
π k + 1 ( ⋅ ∣ s ) ∝ exp ( 1 τ ⟨ φ ( s , ⋅ ) , w k ⟩ ) . (13) \pi_{k+1}(\cdot|s) \propto\exp\left(\frac{1}{\tau}\langle\varphi(s,\cdot),w_k\rangle\right). \tag*{(13)} π k + 1 ( ⋅ ∣ s ) ∝ exp ( τ 1 ⟨ φ ( s , ⋅ ) , w k ⟩ ) . (13)
In contrast to Equation (11) , the least-squares problem in Equation (12) is no longer minimization over the entire state-action space, resulting in a more practical update. Furthermore, following prior work [15 , 22 , 9 ] , we make the following assumptions to control the approximation error.
Assumption 2 (Bias). sup t , k min w ∈ R d max ( s , a ) ∣ Q R t , τ π k ( s , a ) − ⟨ w , ϕ ( s , a ) ⟩ ∣ ≤ ϵ b i a s \sup_{t,k}\min_{w\in\mathbb{R}^{d}}\max_{(s,a)}\left|Q_{R_{t,\tau}}^{\pi_k}(s,a)-\langle w,\phi(s,a)\rangle\right|\leq\epsilon_{\mathrm{bias}} sup t , k min w ∈ R d max ( s , a ) Q R t , τ π k ( s , a ) − ⟨ w , ϕ ( s , a )⟩ ≤ ϵ bias .
Assumption 3 (Optimization Error). sup t , k ∣ ℓ t , τ k ( w k , ς ) − min w ∈ R d ℓ t , τ k ( w , ς ) ∣ ≤ ϵ o p t \sup_{t,k}\left|\ell_{t,\tau}^{k}(w_k,\varsigma)-\min_{w\in\mathbb{R}^{d}}\ell_{t,\tau}^{k}(w,\varsigma)\right|\leq\epsilon_{\mathrm{opt}} sup t , k ℓ t , τ k ( w k , ς ) − min w ∈ R d ℓ t , τ k ( w , ς ) ≤ ϵ opt .
Assumption 2 depends on the expressivity of the policy feature ϕ \phi ϕ . For instance, in the case when ϕ \phi ϕ are “one-hot” vectors of dimension d = S A d=SA d = S A , ϵ b i a s = 0 \epsilon_{\mathrm{bias}}=0 ϵ bias = 0 . Furthermore, for sufficiently expressive features, ϵ b i a s \epsilon_{\mathrm{bias}} ϵ bias can be small. Assumption 3 accounts for the optimization error when minimizing the least-squares loss of Equation (12) . In general, this procedure admits linear convergence, and hence, ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt can be made arbitrary small. Under these assumptions, the approximation error admits the following bound.
Lemma 12. Under Assumptions 1 to 3, for a fixed outer-iteration t ≥ 0 t\geq0 t ≥ 0 and entropy parameter τ > 0 \tau>0 τ > 0 , for all k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ] :
∥ Q R t , τ π k − ⟨ ϕ , w k ⟩ ∥ ∞ ≤ ϵ b i a s ( 1 + sup ( s , a ) ∈ S × A ∥ ϕ ( s , a ) ∥ G ς t ) + ϵ o p t . \left\|Q_{R_{t,\tau}}^{\pi_k}-\langle\phi,w_k\rangle\right\|_{\infty}\leq\epsilon_{\mathrm{bias}}\left(1+\sup_{(s,a)\in\mathcal{S}\times\mathcal{A}}\left\|\phi(s,a)\right\|_{G_{\varsigma}^{t}} \right)+\sqrt{\epsilon_{\mathrm{opt}}}. Q R t , τ π k − ⟨ ϕ , w k ⟩ ∞ ≤ ϵ bias ( 1 + ( s , a ) ∈ S × A sup ∥ ϕ ( s , a ) ∥ G ς t ) + ϵ opt . where G ς : = ∑ ( s , a ) ∈ C ς ( s , a ) ϕ ( s , a ) ϕ ( s , a ) ⊤ G_{\varsigma}:=\sum_{(s,a)\in\mathcal{C}}\varsigma(s,a)\phi(s,a)\phi(s,a)^{\top} G ς := ∑ ( s , a ) ∈ C ς ( s , a ) ϕ ( s , a ) ϕ ( s , a ) ⊤ and G ς t G_{\varsigma}^{t} G ς t is the pseudo-inverse of G ς G_{\varsigma} G ς .
By the Kiefer-Wolfowitz theorem [18 ] , there always exists an coreset C \mathcal{C} C with ∣ C ∣ ≤ d ( d + 1 ) 2 |\mathcal{C}|\leq\frac{d(d+1)}{2} ∣ C ∣ ≤ 2 d ( d + 1 ) and a corresponding distribution ς ∈ Δ ( C ) \varsigma\in\Delta(\mathcal{C}) ς ∈ Δ ( C ) such that sup ( s , a ) ∥ ϕ ( s , a ) ∥ G ς t ≤ d \sup_{(s,a)}\left\|\phi(s,a)\right\|_{G_{\varsigma}^{t}}\leq\sqrt{d} sup ( s , a ) ∥ ϕ ( s , a ) ∥ G ς t ≤ d . Hence, by Lemma 12 this implies the approximation error ∥ Q R t , τ π k − ⟨ ϕ , w k ⟩ ∥ ∞ \left\|Q_{R_{t,\tau}}^{\pi_k}-\langle\phi,w_k\rangle\right\|_{\infty} Q R t , τ π k − ⟨ ϕ , w k ⟩ ∞ can be bounded by O ( d ϵ b i a s + ϵ o p t ) O(\sqrt{d}\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}) O ( d ϵ bias + ϵ opt ) . For simplicity, we will assume such a coreset is given but note its constructing can be viewed as a standard experimental design problem in statistics (e.g., G-optimal design via the Frank-Wolfe algorithm [11 ] ). Importantly, this construction relies only on the policy features ϕ \phi ϕ . Hence, despite the changing pseudo-rewards, the coreset can be precomputed and reused across all outer-iterations.
Putting everything together, we attain the following last-iterate rate when extending Theorem 4 to the linear FA setting.
Corollary 1. Under Assumptions 1 to 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^{4}) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}}\leq O(\epsilon^{8}) ϵ opt ≤ O ( ϵ 8 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 2 + 3 / 2 K ) T=\widetilde{O}(1/\epsilon^{2+3/2K}) T = O ( 1/ ϵ 2 + 3/2 K ) , β = O ( ϵ ( 3 + 2 K ) / 2 K ) \beta=O\left(\epsilon^{(3+2K)/2K}\right) β = O ( ϵ ( 3 + 2 K ) /2 K ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the Q-E-NPG update with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K\geq1 K ≥ 1 and (iii) the initial policy satisfies L 0 ≤ B L_0\leq B L 0 ≤ B for a known constant B > 0 B>0 B > 0 , Algorithm 1 returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -policy to Problem 1 after O ~ ( 1 / ϵ 2 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{2+3/2K}) O ( 1/ ϵ 2 + 3/2 K ) gradient evaluations.
Comparison to prior work. Under the compatible function approximation [1 ] (CFA) framework, Ding et al. [ [9 ] propose a related PD method and attain a O ( 1 / ϵ 6 ) O(1/\epsilon^{6}) O ( 1/ ϵ 6 ) last-iterate rate. However, their analysis is limited to a single constraint and requires projecting onto a restricted simplex. More recently, under the same CFA framework, Montenegro et al. [ [30 ] establish a similar O ( 1 / ϵ 6 ) O(1/\epsilon^{6}) O ( 1/ ϵ 6 ) last-iterate rate and is recently improved to O ( 1 / ϵ 4 ) O(1/\epsilon^{4}) O ( 1/ ϵ 4 ) by Mondal and Aggarwal [ [29 ] . To achieve these faster rates, both methods additionally imposing a Fisher non-degeneracy assumption [45 ] . This assumption, however, fails to hold for log-linear policies [35 Proposition C.4] . Furthermore, under only a coverage assumption, Lu et al. [ [26 ] attains a O ( 1 / ϵ 6 ) O(1/\epsilon^{6}) O ( 1/ ϵ 6 ) rate but requires ϵ b i a s ≤ O ( ϵ 16 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^{16}) ϵ bias ≤ O ( ϵ 16 ) . In contrast to all prior results (refer to Table 1 ), with K = 1 K=1 K = 1 , we achieve superior O ( 1 / ϵ 3.5 ) O(1/\epsilon^{3.5}) O ( 1/ ϵ 3.5 ) rate without any converge assumptions and a tighter dependence of ϵ b i a s \epsilon_{\mathrm{bias}} ϵ bias .
Summary of Results
Table 2 : Total number of gradient evaluations required to obtain an O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy to Problem 1. The columns correspond to different numbers of NPG steps K K K used for each dual update. The dagger († \dagger † ) indicates result rate requires an additional O ( ln ( 1 / ϵ ) ) \mathcal{O}(\ln(1/\epsilon)) O ( ln ( 1/ ϵ )) gradient evaluations.
Table 2. Number of Inner-Iterations Using NPG
Framework
Proof of lemma:dualoptimalitytosub
Lemma 1. Under Assumption 1, suppose λ ˉ ∈ R + m \bar{\lambda}\in\mathbb{R}_{+}^{m} λ ˉ ∈ R + m is an Δ \Delta Δ -optimal dual solution, i.e., for Δ > 0 \Delta>0 Δ > 0 , D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ D_{\tau}(\bar{\lambda})-D_{\tau}(\lambda_{\tau}^{*})\le\Delta D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ . Then, the policy π λ ˉ , τ ∗ : = arg max π V R ( λ ˉ ) , τ π ( ρ ) \pi_{\bar{\lambda},\tau}^{*}:=\arg\max_{\pi}V_{R(\bar{\lambda}),\tau}^{\pi}(\rho) π λ ˉ , τ ∗ := arg max π V R ( λ ˉ ) , τ π ( ρ ) has the following guarantee for Problem 1:
V r π ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ O ( Δ τ ) + O ( τ ) ; max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( Δ τ ) ∀ i ∈ [ m ] . V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)\le\mathcal{O}\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right)+\mathcal{O}(\tau)\ ;\qquad\max\left\{b_i-V_{c_i}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho),0\right\}\le\mathcal{O}\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ O ( τ Δ ) + O ( τ ) ; max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( τ Δ ) ∀ i ∈ [ m ] .
Proof. Let π ∗ \pi^{*} π ∗ denote the optimal policy of Problem 1. To characterize the reward sub-optimality of π ∗ \pi^{*} π ∗ and π λ ˉ , τ ∗ : = arg max π V R ( λ ˉ ) , τ π ( ρ ) \pi_{\bar{\lambda},\tau}^{*}:=\arg\max_{\pi}V_{R(\bar{\lambda}),\tau}^{\pi}(\rho) π λ ˉ , τ ∗ := arg max π V R ( λ ˉ ) , τ π ( ρ ) , we first relate the performance between π ∗ \pi^{*} π ∗ and π λ ˉ , τ ∗ \pi_{\bar{\lambda},\tau}^{*} π λ ˉ , τ ∗ :
V r π ∗ ( ρ ) ≤ V r , τ π ∗ ( ρ ) (Entropy is non-negative) ≤ V r π λ ˉ , τ ∗ ( ρ ) ( π λ ˉ , τ ∗ is the optimal policy of Problem 2) = V r π λ ˉ , τ ∗ ( ρ ) + τ H ( ρ , π ∗ ) (Definition of V r , τ π ( ρ ) ) ≤ V r π λ ˉ , τ ∗ ( ρ ) + ln ( A ) τ 1 − γ (Since H ( ρ , π ) ≤ ln ( A ) 1 − γ ) \begin{aligned}
V_{r}^{\pi^{*}}(\rho)&\le V_{r,\tau}^{\pi^{*}}(\rho) &&\text{(Entropy is non-negative)}\\
&\le V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho) &&\text{(}\pi_{\bar{\lambda},\tau}^{*}\text{ is the optimal policy of Problem 2)}\\
&=V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)+\tau\mathcal{H}(\rho,\pi^{*}) &&\text{(Definition of }V_{r,\tau}^{\pi}(\rho)\text{)}\\
&\le V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)+\frac{\ln(A)\tau}{1-\gamma} &&\text{(Since }\mathcal{H}(\rho,\pi)\le\frac{\ln(A)}{1-\gamma}\text{)}
\end{aligned} V r π ∗ ( ρ ) ≤ V r , τ π ∗ ( ρ ) ≤ V r π λ ˉ , τ ∗ ( ρ ) = V r π λ ˉ , τ ∗ ( ρ ) + τ H ( ρ , π ∗ ) ≤ V r π λ ˉ , τ ∗ ( ρ ) + 1 − γ ln ( A ) τ (Entropy is non-negative) ( π λ ˉ , τ ∗ is the optimal policy of Problem 2) (Definition of V r , τ π ( ρ ) ) (Since H ( ρ , π ) ≤ 1 − γ ln ( A ) )
Subtracting V r π λ ˉ , τ ∗ ( ρ ) V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho) V r π λ ˉ , τ ∗ ( ρ ) from both sides,
⟹ V r π ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ V r π λ ˉ , τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) + ln ( A ) τ 1 − γ . (14) \Longrightarrow V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)\le V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)+\frac{\ln(A)\tau}{1-\gamma}. \tag*{(14)} ⟹ V r π ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ V r π λ ˉ , τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) + 1 − γ ln ( A ) τ . (14)
We now bound the sub-optimality gap. Since r ∈ [ 0 , 1 ] S A r\in[0,1]^{SA} r ∈ [ 0 , 1 ] S A , using Equation (37) from Lemma 14 with ⋄ = r \diamond=r ⋄ = r , U = 1 U=1 U = 1 , π ′ = π λ ˉ , τ ∗ \pi'=\pi_{\bar{\lambda},\tau}^{*} π ′ = π λ ˉ , τ ∗ , π = π τ ∗ \pi=\pi_{\tau}^{*} π = π τ ∗ and λ = λ ˉ \lambda=\bar{\lambda} λ = λ ˉ ,
∣ V r π τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ∣ ≤ 2 ( 1 − γ ) 3 / 2 ∣ L τ ( π τ ∗ , λ ˉ ) − L τ ( π λ ˉ , τ ∗ , λ ˉ ) ∣ τ . (15) \left|V_{r}^{\pi_{\tau}^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda},\tau}^{*}}(\rho)\right|\le\frac{\sqrt{2}}{(1-\gamma)^{3/2}}\frac{\sqrt{\left|\mathcal{L}_{\tau}(\pi_{\tau}^{*},\bar{\lambda})-\mathcal{L}_{\tau}(\pi_{\bar{\lambda},\tau}^{*},\bar{\lambda})\right|}}{\sqrt{\tau}}. \tag*{(15)} V r π τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ ( 1 − γ ) 3/2 2 τ L τ ( π τ ∗ , λ ˉ ) − L τ ( π λ ˉ , τ ∗ , λ ˉ ) . (15)
Next, we relate ∣ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) ∣ \left|\mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})-\mathcal{L}_{\tau}(\pi^{*}_{\tau},\bar{\lambda})\right| L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) in terms of the dual sub-optimality gap. By the saddle-point property, λ τ ∗ \lambda^{*}_{\tau} λ τ ∗ minimizes the Lagrangian at π τ ∗ \pi^{*}_{\tau} π τ ∗ , and hence,
L τ ( π τ ∗ , λ τ ∗ ) = min λ ′ ∈ R + m L τ ( π τ ∗ , λ ′ ) ≤ L τ ( π τ ∗ , λ ˉ ) . \mathcal{L}_{\tau}(\pi^{*}_{\tau},\lambda^{*}_{\tau})=\min_{\lambda'\in\mathbb{R}^{m}_{+}}\mathcal{L}_{\tau}(\pi^{*}_{\tau},\lambda')\leq\mathcal{L}_{\tau}(\pi^{*}_{\tau},\bar{\lambda}). L τ ( π τ ∗ , λ τ ∗ ) = λ ′ ∈ R + m min L τ ( π τ ∗ , λ ′ ) ≤ L τ ( π τ ∗ , λ ˉ ) .
Rearranging and adding L τ ( π λ ˉ , τ ∗ , λ ˉ ) \mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda}) L τ ( π λ ˉ , τ ∗ , λ ˉ ) to both sides,
⟹ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) ≤ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ τ ∗ ) . \Longrightarrow\mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})-\mathcal{L}_{\tau}(\pi^{*}_{\tau},\bar{\lambda})\leq\mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})-\mathcal{L}_{\tau}(\pi^{*}_{\tau},\lambda^{*}_{\tau}). ⟹ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) ≤ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ τ ∗ ) .
Furthermore under Assumption 1, by Lemma 25, strong duality holds for Problem 2, i.e.,
L τ ( π τ ∗ , λ τ ∗ ) = D τ ( λ τ ∗ ) . \mathcal{L}_{\tau}(\pi^{*}_{\tau},\lambda^{*}_{\tau})=\mathcal{D}_{\tau}(\lambda^{*}_{\tau}). L τ ( π τ ∗ , λ τ ∗ ) = D τ ( λ τ ∗ ) .
Moreover, since π λ ˉ , τ ∗ = arg max π L τ ( π , λ ˉ ) \pi^{*}_{\bar{\lambda},\tau}=\arg\max_{\pi}\mathcal{L}_{\tau}(\pi,\bar{\lambda}) π λ ˉ , τ ∗ = arg max π L τ ( π , λ ˉ ) , we have
L τ ( π λ ˉ , τ ∗ , λ ˉ ) = D τ ( λ ˉ ) \mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})=\mathcal{D}_{\tau}(\bar{\lambda}) L τ ( π λ ˉ , τ ∗ , λ ˉ ) = D τ ( λ ˉ )
Substituting these relations into the previous inequality and assuming D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ \mathcal{D}_{\tau}(\bar{\lambda})-\mathcal{D}_{\tau}(\lambda^{*}_{\tau})\leq\Delta D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ , for a Δ > 0 \Delta>0 Δ > 0
⟹ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) ≤ D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ (16) \Longrightarrow\mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})-\mathcal{L}_{\tau}(\pi^{*}_{\tau},\bar{\lambda})\leq\mathcal{D}_{\tau}(\bar{\lambda})-\mathcal{D}_{\tau}(\lambda^{*}_{\tau})\leq\Delta \tag*{(16)} ⟹ L τ ( π λ ˉ , τ ∗ , λ ˉ ) − L τ ( π τ ∗ , λ ˉ ) ≤ D τ ( λ ˉ ) − D τ ( λ τ ∗ ) ≤ Δ (16)
Putting Equations (15) , (14) and (16) together,
⟹ V r π τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ O ( Δ τ ) + O ( τ ) . \Longrightarrow V_{r}^{\pi^{*}_{\tau}}(\rho)-V_{r}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho)\leq O\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right)+O(\tau). ⟹ V r π τ ∗ ( ρ ) − V r π λ ˉ , τ ∗ ( ρ ) ≤ O ( τ Δ ) + O ( τ ) .
We now bound the constraint violation. For any fixed i ∈ [ m ] i\in[m] i ∈ [ m ] we have
max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ max { V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } \max\left\{b_i-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho),0\right\}\leq\max\left\{V_{c_i}^{\pi^{*}_{\tau}}(\rho)-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho),0\right\} max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ max { V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) , 0 }
(Since π τ ∗ \pi^{*}_{\tau} π τ ∗ is the optimal policy of Problem 2, V c i π τ ∗ ( ρ ) ≥ b i V_{c_i}^{\pi^{*}_{\tau}}(\rho)\geq b_i V c i π τ ∗ ( ρ ) ≥ b i )
≤ ∣ V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) ∣ (17) \leq\left|V_{c_i}^{\pi^{*}_{\tau}}(\rho)-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho)\right| \tag*{(17)} ≤ V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) (17)
Since c i ∈ [ 0 , 1 ] S A c_i\in[0,1]^{SA} c i ∈ [ 0 , 1 ] S A , using Equation (37) from Lemma 14 with ⋄ = c i \diamond=c_i ⋄ = c i , U = 1 U=1 U = 1 , π ′ = π λ ˉ , τ ∗ \pi'=\pi^{*}_{\bar{\lambda},\tau} π ′ = π λ ˉ , τ ∗ , π = π τ ∗ \pi=\pi^{*}_{\tau} π = π τ ∗ and λ = λ ˉ \lambda=\bar{\lambda} λ = λ ˉ
∣ V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) ∣ ≤ 2 ( 1 − γ ) 3 / 2 ∣ L τ ( π τ ∗ , λ ˉ ) − L τ ( π λ ˉ , τ ∗ , λ ˉ ) ∣ τ . (18) \left|V_{c_i}^{\pi^{*}_{\tau}}(\rho)-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho)\right|\leq\frac{\sqrt{2}}{(1-\gamma)^{3/2}}\frac{\sqrt{\left|\mathcal{L}_{\tau}(\pi^{*}_{\tau},\bar{\lambda})-\mathcal{L}_{\tau}(\pi^{*}_{\bar{\lambda},\tau},\bar{\lambda})\right|}}{\sqrt{\tau}}. \tag*{(18)} V c i π τ ∗ ( ρ ) − V c i π λ ˉ , τ ∗ ( ρ ) ≤ ( 1 − γ ) 3/2 2 τ L τ ( π τ ∗ , λ ˉ ) − L τ ( π λ ˉ , τ ∗ , λ ˉ ) . (18)
Putting Equations (18) , (16) and (17) we have
max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( Δ τ ) \max\left\{b_i-V_{c_i}^{\pi^{*}_{\bar{\lambda},\tau}}(\rho),0\right\}\leq O\left(\frac{\sqrt{\Delta}}{\sqrt{\tau}}\right) max { b i − V c i π λ ˉ , τ ∗ ( ρ ) , 0 } ≤ O ( τ Δ )
Proof of lemma:dualsmooth
We now prove D τ ( λ ) \mathcal{D}_{\tau}(\lambda) D τ ( λ ) is smooth without any converge assumptions. In order to do so, we first introduce and prove a couple of helpful technical tools. For clarity, denote the Boltzmann distribution for any q ∈ R A q\in\mathbb{R}^{A} q ∈ R A and τ > 0 \tau>0 τ > 0 as
σ τ ∗ ( q ) : = exp ( 1 τ q ) ∑ a ′ exp ( 1 τ q ( a ′ ) ) . \sigma^{*}_{\tau}(q):=\frac{\exp\left(\frac{1}{\tau}q\right)}{\sum_{a'}\exp\left(\frac{1}{\tau}q(a')\right)}. σ τ ∗ ( q ) := ∑ a ′ exp ( τ 1 q ( a ′ ) ) exp ( τ 1 q ) .
Proposition 2. For any τ > 0 \tau> 0 τ > 0 and q ∈ R A q \in\mathbb{R}^{A} q ∈ R A , let σ τ ∗ ( q ) : = arg max p ∈ Δ A { ⟨ p , q ⟩ + τ H ( p ) } \sigma_{\tau}^{*}(q) := \arg\max_{p \in\Delta_{A}} \{\langle p,q\rangle+ \tau H(p)\} σ τ ∗ ( q ) := arg max p ∈ Δ A {⟨ p , q ⟩ + τ H ( p )} where H ( p ) : = ∑ a − p ( a ) ln p ( a ) H(p) := \sum_{a} -p(a)\ln p(a) H ( p ) := ∑ a − p ( a ) ln p ( a ) . Then for any q , q ′ ∈ R A q,q^{\prime} \in\mathbb{R}^{A} q , q ′ ∈ R A
∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 ≤ 1 τ ∥ q − q ′ ∥ ∞ (19) \left\|\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\|_{1} \leq\frac{1}{\tau}\left\|q-q^{\prime}\right\|_{\infty} \tag*{(19)} ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 ≤ τ 1 ∥ q − q ′ ∥ ∞ (19) ∥ ln σ τ ∗ ( q ) − ln σ τ ∗ ( q ′ ) ∥ ∞ ≤ 2 τ ∥ q − q ′ ∥ ∞ . (20) \left\|\ln\sigma_{\tau}^{*}(q)-\ln\sigma_{\tau}^{*}(q^{\prime})\right\|_{\infty} \leq\frac{2}{\tau}\left\|q-q^{\prime}\right\|_{\infty}. \tag*{(20)} ∥ ln σ τ ∗ ( q ) − ln σ τ ∗ ( q ′ ) ∥ ∞ ≤ τ 2 ∥ q − q ′ ∥ ∞ . (20)
Proof. We first prove the first inequality. Using the fact that negative entropy − H ( p ) : = ∑ a p ( a ) ln ( p ( a ) ) -H(p) := \sum_{a} p(a)\ln(p(a)) − H ( p ) := ∑ a p ( a ) ln ( p ( a )) is 1-strongly convex with respect to the 1-norm, we have for any p , p ′ ∈ Δ A p,p^{\prime} \in\Delta_{A} p , p ′ ∈ Δ A
− τ H ( p ) + τ H ( p ′ ) + ⟨ τ ∇ H ( p ′ ) , p − p ′ ⟩ ≥ τ 2 ∥ p − p ′ ∥ 1 2 . -\tau H(p)+\tau H(p^{\prime})+\langle\tau\nabla H(p^{\prime}),p-p^{\prime}\rangle\geq\frac{\tau}{2}\left\|p-p^{\prime}\right\|_{1}^{2}. − τ H ( p ) + τ H ( p ′ ) + ⟨ τ ∇ H ( p ′ ) , p − p ′ ⟩ ≥ 2 τ ∥ p − p ′ ∥ 1 2 .
Exchanging p p p and p ′ p^{\prime} p ′ , we have
− τ H ( p ′ ) + τ H ( p ) + ⟨ τ ∇ H ( p ) , p ′ − p ⟩ ≥ τ 2 ∥ p ′ − p ∥ 1 2 . -\tau H(p^{\prime})+\tau H(p)+\langle\tau\nabla H(p),p^{\prime}-p\rangle\geq\frac{\tau}{2}\left\|p^{\prime}-p\right\|_{1}^{2}. − τ H ( p ′ ) + τ H ( p ) + ⟨ τ ∇ H ( p ) , p ′ − p ⟩ ≥ 2 τ ∥ p ′ − p ∥ 1 2 .
Adding the above inequalities together and rearranging,
∥ p − p ′ ∥ 1 2 ≤ 1 τ ⟨ τ ∇ H ( p ′ ) − τ ∇ H ( p ) , p − p ′ ⟩ . (21) \left\|p-p^{\prime}\right\|_{1}^{2} \leq\frac{1}{\tau}\langle\tau\nabla H(p^{\prime})-\tau\nabla H(p),p-p^{\prime}\rangle. \tag*{(21)} ∥ p − p ′ ∥ 1 2 ≤ τ 1 ⟨ τ ∇ H ( p ′ ) − τ ∇ H ( p ) , p − p ′ ⟩ . (21)
For a fixed q ∈ R A q \in\mathbb{R}^{A} q ∈ R A note that
σ τ ∗ ( q ) = exp ( 1 τ q ) ∑ a ′ exp ( 1 τ q ( a ′ ) ) = ∑ a ′ exp ( 1 τ q ( a ′ ) ) ⏟ : = Z ( q ) arg max p ∈ Δ A { ⟨ p , q ⟩ + τ H ( p ) } . \sigma_{\tau}^{*}(q)=\frac{\exp\left(\frac{1}{\tau}q\right)}{\sum_{a^{\prime}}\exp\left(\frac{1}{\tau}q(a^{\prime})\right)}=\underbrace{\vphantom{\sum_{a^{\prime}}\exp\left(\frac{1}{\tau}q(a^{\prime})\right)}}_{\mathrel{:=}Z(q)}\arg\max_{p\in\Delta_{A}}\{\langle p,q\rangle+\tau H(p)\}. σ τ ∗ ( q ) = ∑ a ′ exp ( τ 1 q ( a ′ ) ) exp ( τ 1 q ) = := Z ( q ) a ′ ∑ e x p ( τ 1 q ( a ′ ) ) arg p ∈ Δ A max {⟨ p , q ⟩ + τ H ( p )} .
Hence for any q , q ′ ∈ R A q,q^{\prime} \in\mathbb{R}^{A} q , q ′ ∈ R A , setting Equation (21) with p ′ = σ τ ∗ ( q ′ ) p^{\prime}=\sigma_{\tau}^{*}(q^{\prime}) p ′ = σ τ ∗ ( q ′ ) and p = σ τ ∗ ( q ) p=\sigma_{\tau}^{*}(q) p = σ τ ∗ ( q ) we have,
∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 2 ≤ 1 τ ⟨ τ ∇ H ( σ τ ∗ ( q ′ ) ) − τ ∇ H ( σ τ ∗ ( q ) ) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ . \left\|\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\|_{1}^{2}\leq\frac{1}{\tau}\left\langle\tau\nabla H(\sigma_{\tau}^{*}(q^{\prime}))-\tau\nabla H(\sigma_{\tau}^{*}(q)),\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\rangle. ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 2 ≤ τ 1 ⟨ τ ∇ H ( σ τ ∗ ( q ′ )) − τ ∇ H ( σ τ ∗ ( q )) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ .
Given that [ ∇ H ( σ τ ∗ ( q ) ) ] a = − q ( a ) / τ + ln Z ( q ) − 1 [\nabla H(\sigma_{\tau}^{*}(q))]_{a}=-q(a)/\tau+\ln Z(q)-1 [ ∇ H ( σ τ ∗ ( q )) ] a = − q ( a ) / τ + ln Z ( q ) − 1 for any q ∈ R A q\in\mathbb{R}^{A} q ∈ R A , we can further simplify the inner-product,
⟨ τ ∇ H ( σ τ ∗ ( q ′ ) ) − τ ∇ H ( σ τ ∗ ( q ) ) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ = ⟨ q − q ′ + τ ( ln ( Z ( q ′ ) ) − ln ( Z ( q ) ) 1 ) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ = ⟨ q − q ′ , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ ( ⟨ 1 , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ = 0 ) . \begin{aligned}
\left\langle\tau\nabla H(\sigma_{\tau}^{*}(q^{\prime}))-\tau\nabla H(\sigma_{\tau}^{*}(q)),\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\rangle
&=\left\langle q-q^{\prime}+\tau(\ln(Z(q^{\prime}))-\ln(Z(q))\mathbf{1}),\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\rangle\\
&=\left\langle q-q^{\prime},\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\rangle\qquad(\langle\mathbf{1},\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\rangle=0).
\end{aligned} ⟨ τ ∇ H ( σ τ ∗ ( q ′ )) − τ ∇ H ( σ τ ∗ ( q )) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ = ⟨ q − q ′ + τ ( ln ( Z ( q ′ )) − ln ( Z ( q )) 1 ) , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ = ⟨ q − q ′ , σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ⟩ (⟨ 1 , σ τ ∗ ( q ) − σ τ ∗ ( q ′ )⟩ = 0 ) .
⟹ ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 2 ≤ 1 τ ∥ q ′ − q ∥ ∞ ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 (Using H o ¨ lder’s inequality) \Longrightarrow\quad\left\|\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\|_{1}^{2}\leq\frac{1}{\tau}\left\|q^{\prime}-q\right\|_{\infty}\left\|\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\|_{1}\qquad\text{(Using Hölder's inequality)} ⟹ ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 2 ≤ τ 1 ∥ q ′ − q ∥ ∞ ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 (Using H o ¨ lder’s inequality)
Dividing both sides by ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 \left\|\sigma_{\tau}^{*}(q)-\sigma_{\tau}^{*}(q^{\prime})\right\|_{1} ∥ σ τ ∗ ( q ) − σ τ ∗ ( q ′ ) ∥ 1 proves the first inequality. We now prove the second inequality. Given that for any a ∈ A a\in A a ∈ A , [ ln ( σ τ ∗ ( q ) ) ] a = q ( a ) τ − ln ( Z ( q ) ) [\ln(\sigma_{\tau}^{*}(q))]_{a}=\frac{q(a)}{\tau}-\ln(Z(q)) [ ln ( σ τ ∗ ( q )) ] a = τ q ( a ) − ln ( Z ( q )) , we have
[ ln ( σ τ ∗ ( q ) ) − ln ( σ τ ∗ ( q ′ ) ) ] a = 1 τ [ q − q ′ ] a ⏟ : = δ τ ( a ) − ( ln ( Z ( q ) ) − ln ( Z ( q ′ ) ) ) . (22) [\ln(\sigma_{\tau}^{*}(q))-\ln(\sigma_{\tau}^{*}(q^{\prime}))]_{a}=\frac{1}{\tau}\underbrace{[q-q^{\prime}]_{a}}_{\mathrel{:=}\delta_{\tau}(a)}-(\ln(Z(q))-\ln(Z(q^{\prime}))). \tag*{(22)} [ ln ( σ τ ∗ ( q )) − ln ( σ τ ∗ ( q ′ )) ] a = τ 1 := δ τ ( a ) [ q − q ′ ] a − ( ln ( Z ( q )) − ln ( Z ( q ′ ))) . (22)
We now bound the difference of the logarithms. Since q ( a ′ ) ≤ q ( a ′ ) + τ max a δ τ ( a ) q(a') \le q(a') + \tau\max_a \delta_\tau(a) q ( a ′ ) ≤ q ( a ′ ) + τ max a δ τ ( a ) for every a ′ ∈ A a' \in\mathcal{A} a ′ ∈ A , by the monotonicity of x ↦ exp ( x / τ ) x \mapsto\exp(x/\tau) x ↦ exp ( x / τ ) we have
Z ( q ) = ∑ a ′ exp ( q ( a ′ ) τ ) ≤ exp ( max a δ τ ( a ) ) ∑ a ′ exp ( q ′ ( a ′ ) τ ) = exp ( max a δ τ ( a ) ) Z ( q ′ ) . Z(q) = \sum_{a'} \exp\left(\frac{q(a')}{\tau}\right) \le\exp\left(\max_a \delta_\tau(a)\right) \sum_{a'} \exp\left(\frac{q'(a')}{\tau}\right) = \exp\left(\max_a \delta_\tau(a)\right) Z(q'). Z ( q ) = a ′ ∑ exp ( τ q ( a ′ ) ) ≤ exp ( a max δ τ ( a ) ) a ′ ∑ exp ( τ q ′ ( a ′ ) ) = exp ( a max δ τ ( a ) ) Z ( q ′ ) .
Similarly, since q ′ ( a ′ ) ≤ q ( a ′ ) − τ min a δ τ ( a ) q'(a') \le q(a') - \tau\min_a \delta_\tau(a) q ′ ( a ′ ) ≤ q ( a ′ ) − τ min a δ τ ( a ) for every a ′ ∈ A a' \in\mathcal{A} a ′ ∈ A , we have
Z ( q ′ ) ≤ exp ( − min a δ τ ( a ) ) Z ( q ) ⟹ Z ( q ) ≥ exp ( min a δ τ ( a ) ) Z ( q ′ ) Z(q') \le\exp\left(-\min_a \delta_\tau(a)\right) Z(q) \implies Z(q) \ge\exp\left(\min_a \delta_\tau(a)\right) Z(q') Z ( q ′ ) ≤ exp ( − a min δ τ ( a ) ) Z ( q ) ⟹ Z ( q ) ≥ exp ( a min δ τ ( a ) ) Z ( q ′ )
Hence, combining both inequalities,
exp ( min a δ τ ( a ) ) Z ( q ′ ) ≤ Z ( q ) ≤ exp ( max a δ τ ( a ) ) Z ( q ′ ) \exp\left(\min_a \delta_\tau(a)\right) Z(q') \le Z(q) \le\exp\left(\max_a \delta_\tau(a)\right) Z(q') exp ( a min δ τ ( a ) ) Z ( q ′ ) ≤ Z ( q ) ≤ exp ( a max δ τ ( a ) ) Z ( q ′ )
Taking the logarithms and rearranging,
⟹ min a δ τ ( a ) ≤ ln ( Z ( q ) ) − ln ( Z ( q ′ ) ) ≤ max a δ τ ( a ) . (23) \implies\min_a \delta_\tau(a) \le\ln(Z(q)) - \ln(Z(q')) \le\max_a \delta_\tau(a). \tag*{(23)} ⟹ a min δ τ ( a ) ≤ ln ( Z ( q )) − ln ( Z ( q ′ )) ≤ a max δ τ ( a ) . (23)
Combining Equation (22) and Equation (23) , for every a ∈ A a \in\mathcal{A} a ∈ A ,
δ τ ( a ) − max a ′ δ τ ( a ′ ) ≤ [ ln ( σ τ ∗ ( q ) ) − ln ( σ τ ∗ ( q ′ ) ) ] a ≤ δ τ ( a ) − min a ′ δ τ ( a ′ ) ⟹ ∣ [ ln ( σ τ ∗ ( q ) ) − ln ( σ τ ∗ ( q ′ ) ) ] a ∣ ≤ max { ∣ δ τ ( a ) − min a ′ δ τ ( a ′ ) ∣ , ∣ δ τ ( a ) − max a ′ δ τ ( a ′ ) ∣ } ≤ ∣ max a ′ δ τ ( a ′ ) − min a ′ ′ δ τ ( a ′ ′ ) ∣ ≤ ∣ max a ′ δ τ ( a ′ ) ∣ + ∣ min a ′ ′ δ τ ( a ′ ′ ) ∣ (Using triangle inequality) \begin{aligned}
\delta_\tau(a) - \max_{a'} \delta_\tau(a') \le[\ln(\sigma_\tau^*(q)) - \ln(\sigma_\tau^*(q'))]_a \le\delta_\tau(a) - \min_{a'} \delta_\tau(a') \\
&\implies\left|[\ln(\sigma_\tau^*(q)) - \ln(\sigma_\tau^*(q'))]_a\right| \le\max\left\{\left|\delta_\tau(a) - \min_{a'} \delta_\tau(a')\right|,\left|\delta_\tau(a) - \max_{a'} \delta_\tau(a')\right|\right\} \\
&\le\left|\max_{a'}\delta_\tau(a') - \min_{a''}\delta_\tau(a'')\right| \\
&\le\left|\max_{a'}\delta_\tau(a')\right| + \left|\min_{a''}\delta_\tau(a'')\right| \quad\text{(Using triangle inequality)}
\end{aligned} δ τ ( a ) − a ′ max δ τ ( a ′ ) ≤ [ ln ( σ τ ∗ ( q )) − ln ( σ τ ∗ ( q ′ )) ] a ≤ δ τ ( a ) − a ′ min δ τ ( a ′ ) ⟹ ∣ [ ln ( σ τ ∗ ( q )) − ln ( σ τ ∗ ( q ′ )) ] a ∣ ≤ max { δ τ ( a ) − a ′ min δ τ ( a ′ ) , δ τ ( a ) − a ′ max δ τ ( a ′ ) } ≤ a ′ max δ τ ( a ′ ) − a ′′ min δ τ ( a ′′ ) ≤ a ′ max δ τ ( a ′ ) + a ′′ min δ τ ( a ′′ ) (Using triangle inequality)
≤ 2 ∥ δ τ ∥ ∞ \le2\|\delta_\tau\|_\infty ≤ 2∥ δ τ ∥ ∞
Taking the maximum over a a a ,
⟹ ∥ ln ( σ τ ∗ ( q ) ) − ln ( σ τ ∗ ( q ′ ) ) ∥ ∞ ≤ 2 ∥ δ τ ∥ ∞ = 2 τ ∥ q − q ′ ∥ ∞ . \implies\left\|\ln(\sigma_\tau^*(q)) - \ln(\sigma_\tau^*(q'))\right\|_\infty\le2\|\delta_\tau\|_\infty= \frac{2}{\tau}\|q-q'\|_\infty. ⟹ ∥ ln ( σ τ ∗ ( q )) − ln ( σ τ ∗ ( q ′ )) ∥ ∞ ≤ 2∥ δ τ ∥ ∞ = τ 2 ∥ q − q ′ ∥ ∞ .
Lemma 13. For any τ > 0 \tau> 0 τ > 0 , and λ , λ ′ ∈ R + m \lambda,\lambda' \in\mathbb{R}_+^m λ , λ ′ ∈ R + m ,
∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ 1 1 − γ ∥ λ − λ ′ ∥ 1 . \left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*} - Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty\le\frac{1}{1-\gamma}\|\lambda-\lambda'\|_1. Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ 1 − γ 1 ∥ λ − λ ′ ∥ 1 .
Proof.
∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ = ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ( Q R ( λ ) , τ π λ , τ ∗ is a fixed point of T R ( λ ) , τ ) = ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ + T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ( Add/Subtract T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ) ≤ ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ + ∥ T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ (Using triangle inequality) \begin{aligned}
\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*} - Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty\\
&= \left\|T_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*} - T_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty\quad\left(Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*}\text{ is a fixed point of }T_{R(\lambda),\tau}\right) \\
&= \left\|T_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*} - T_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*} + T_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*} - T_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty\quad\left(\text{Add/Subtract }T_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right) \\
&\le\left\|T_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^*} - T_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty+ \left\|T_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*} - T_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^*}\right\|_\infty\quad\text{(Using triangle inequality)}
\end{aligned} Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ = T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ( Q R ( λ ) , τ π λ , τ ∗ is a fixed point of T R ( λ ) , τ ) = T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ + T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ( Add/Subtract T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ) ≤ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ + T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ (Using triangle inequality)
To bound the first term ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ \left\|\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\|_{\infty} T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ , recall that for any Q ∈ R S A Q\in\mathbb{R}^{\mathcal{S}\mathcal{A}} Q ∈ R S A , the soft Bellman operator T R ( λ ) , τ \mathcal{T}_{R(\lambda),\tau} T R ( λ ) , τ is defined as
[ T R ( λ ) , τ Q ] ( s , a ) = [ R ( λ ) ] ( s , a ) + γ ∑ s ′ P ( s ′ ∣ s , a ) τ ln ∑ a ′ exp ( 1 τ Q ( s ′ , a ′ ) ) . \left[\mathcal{T}_{R(\lambda),\tau}Q\right](s,a)=[R(\lambda)](s,a)+\gamma\sum_{s'}P(s'|s,a)\ \tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q(s',a')\right). [ T R ( λ ) , τ Q ] ( s , a ) = [ R ( λ )] ( s , a ) + γ s ′ ∑ P ( s ′ ∣ s , a ) τ ln a ′ ∑ exp ( τ 1 Q ( s ′ , a ′ ) ) .
Then for a fixed ( s , a ) ∈ ( S × A ) (s,a)\in(\mathcal{S}\times\mathcal{A}) ( s , a ) ∈ ( S × A ) pair
∣ [ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ] ( s , a ) ∣ = γ ∣ ∑ s ′ P ( s ′ ∣ s , a ) [ τ ln ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln ∑ a ′ exp ( 1 τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ] ∣ \begin{aligned}
\left|\left[\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right](s,a)\right| \\
&=\gamma\left|\sum_{s'}P(s'|s,a)\left[\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right)-\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\right)\right]\right|
\end{aligned} [ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ] ( s , a ) = γ s ′ ∑ P ( s ′ ∣ s , a ) [ τ ln a ′ ∑ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln a ′ ∑ exp ( τ 1 Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ]
Using triangle inequality
≤ γ ∑ s ′ P ( s ′ ∣ s , a ) ∣ τ ln ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln ∑ a ′ exp ( 1 τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ∣ (24) \leq\gamma\sum_{s'}P(s'|s,a)\left|\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right)-\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\right)\right| \tag*{(24)} ≤ γ s ′ ∑ P ( s ′ ∣ s , a ) τ ln a ′ ∑ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln a ′ ∑ exp ( τ 1 Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) (24)
Furthermore, for a fixed ( s ′ , a ′ ) ∈ S × A (s',a')\in\mathcal{S}\times\mathcal{A} ( s ′ , a ′ ) ∈ S × A pair, since
Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ≤ ∥ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\leq\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)\right\|_{\infty} Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ≤ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∞
we have
⟹ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) ≤ exp ( 1 τ ( Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) + ∥ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ ) ) \Longrightarrow\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right)\leq\exp\left(\frac{1}{\tau}\left(Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')+\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)\right\|_{\infty}\right)\right) ⟹ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) ≤ exp ( τ 1 ( Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) + Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∞ ) )
⟹ τ ln ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) ≤ τ ln ∑ a ′ exp ( 1 τ ( Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) + ∥ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ ) ) \Longrightarrow\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right)\leq\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}\left(Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')+\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)\right\|_{\infty}\right)\right) ⟹ τ ln a ′ ∑ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) ≤ τ ln a ′ ∑ exp ( τ 1 ( Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) + Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∞ ) )
(Summing over all a ′ ∈ A a'\in\mathcal{A} a ′ ∈ A and by the monotonicity of ln ( ⋅ ) \ln(\cdot) ln ( ⋅ ) )
≤ ∥ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ + τ ln ∑ a ′ exp ( 1 τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) , \leq\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)\right\|_{\infty}+\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\right), ≤ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∞ + τ ln a ′ ∑ exp ( τ 1 Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ,
Swapping Q R ( λ ) , τ π λ , τ ∗ Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}} Q R ( λ ) , τ π λ , τ ∗ and Q R ( λ ′ ) , τ π λ ′ , τ ∗ Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}} Q R ( λ ′ ) , τ π λ ′ , τ ∗ and following a similar argument
⟹ τ ln ∑ a ′ exp ( 1 τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ≤ ∥ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ + τ ln ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) \Longrightarrow\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\right)\leq\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)\right\|_{\infty}+\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right) ⟹ τ ln a ′ ∑ exp ( τ 1 Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ≤ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) ∞ + τ ln a ′ ∑ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) )
⟹ ∣ τ ln ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln ∑ a ′ exp ( 1 τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ∣ ≤ ∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ , (25) \Longrightarrow\left|\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',a')\right)-\tau\ln\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',a')\right)\right|\leq\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\|_{\infty}, \tag*{(25)} ⟹ τ ln a ′ ∑ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s ′ , a ′ ) ) − τ ln a ′ ∑ exp ( τ 1 Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , a ′ ) ) ≤ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ , (25)
Combining Equations (24) and (25) , we have
∣ ( T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ) ( s , a ) ∣ ≤ γ ∑ s ′ P ( s ′ ∣ s , a ) ∥ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) ∥ ∞ ≤ γ ∥ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − Q R ( λ ) , τ π λ , τ ∗ ∥ ∞ ( ∑ s ′ P ( s ′ ∣ s , a ) = 1 ) \left|\left(\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right)(s,a)\right|\leq\gamma\sum_{s'}P(s'|s,a)\left\|Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}(s',\cdot)-Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}(s',\cdot)\right\|_{\infty}\leq\gamma\left\|Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}-Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}\right\|_{\infty}\qquad\left(\sum_{s'}P(s'|s,a)=1\right) ( T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ) ( s , a ) ≤ γ s ′ ∑ P ( s ′ ∣ s , a ) Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s ′ , ⋅ ) − Q R ( λ ) , τ π λ , τ ∗ ( s ′ , ⋅ ) ∞ ≤ γ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − Q R ( λ ) , τ π λ , τ ∗ ∞ ( s ′ ∑ P ( s ′ ∣ s , a ) = 1 )
Taking the max over all ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A pairs,
⟹ ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ γ ∥ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − Q R ( λ ) , τ π λ ′ , τ ∗ ∥ ∞ . (26) \Longrightarrow\left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda',\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} \leq\gamma\left\lVert Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}-Q_{R(\lambda),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty}. \tag*{(26)} ⟹ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ γ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − Q R ( λ ) , τ π λ ′ , τ ∗ ∞ . (26)
We now bound the second term ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ \left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda',\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ . Since T R ( λ ) , τ \mathcal{T}_{R(\lambda),\tau} T R ( λ ) , τ and T R ( λ ′ ) , τ \mathcal{T}_{R(\lambda'),\tau} T R ( λ ′ ) , τ only differ by their pseudo-reward, for any ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A
∣ [ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ ] ( s , a ) − [ T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ] ( s , a ) ∣ = ∣ [ R ( λ ) ] ( s , a ) − [ R ( λ ′ ) ] ( s , a ) ∣ = ∣ ∑ i = 1 m ( λ i − λ i ′ ) c i ( s , a ) ∣ ≤ ∑ i = 1 m ∣ λ i − λ i ′ ∣ . \begin{aligned}
\left|\left[\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda',\tau}^{*}}\right](s,a)-\left[\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right](s,a)\right|
&=\left|[R(\lambda)](s,a)-[R(\lambda')](s,a)\right| \\
&=\left|\sum_{i=1}^{m}(\lambda_i-\lambda_i')c_i(s,a)\right| \\
&\leq\sum_{i=1}^{m}|\lambda_i-\lambda_i'|.
\end{aligned} [ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ ] ( s , a ) − [ T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ] ( s , a ) = ∣ [ R ( λ )] ( s , a ) − [ R ( λ ′ )] ( s , a ) ∣ = i = 1 ∑ m ( λ i − λ i ′ ) c i ( s , a ) ≤ i = 1 ∑ m ∣ λ i − λ i ′ ∣.
([ R ( λ ) ] ( s , a ) = r ( s , a ) + ∑ i = 1 m λ i c i ( s , a ) [R(\lambda)](s,a)=r(s,a)+\sum_{i=1}^{m}\lambda_i c_i(s,a) [ R ( λ )] ( s , a ) = r ( s , a ) + ∑ i = 1 m λ i c i ( s , a ) )
(Since c i ∈ [ 0 , 1 ] S A c_i \in[0,1]^{S A} c i ∈ [ 0 , 1 ] S A and using triangle inequality)
Taking the max over all ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A pairs,
⟹ ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ ∥ λ − λ ′ ∥ 1 (27) \Longrightarrow\left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda',\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} \leq\lVert\lambda-\lambda'\rVert_1 \tag*{(27)} ⟹ T R ( λ ) , τ Q R ( λ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ ∥ λ − λ ′ ∥ 1 (27)
Putting everything together, we have
∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ ∥ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ + ∥ T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ γ ∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ + ∥ T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ γ ∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ + ∥ λ − λ ′ ∥ 1 . \begin{aligned}
\left\lVert Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty}
&\leq\left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} \\
&\quad+\left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} \\
&\leq\gamma\left\lVert Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty}+\left\lVert\mathcal{T}_{R(\lambda),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}-\mathcal{T}_{R(\lambda'),\tau}Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty} \\
&\leq\gamma\left\lVert Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{*}}-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{*}}\right\rVert_{\infty}+\lVert\lambda-\lambda'\rVert_1.
\end{aligned} Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ T R ( λ ) , τ Q R ( λ ) , τ π λ , τ ∗ − T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ + T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ γ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ + T R ( λ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ − T R ( λ ′ ) , τ Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ γ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ + ∥ λ − λ ′ ∥ 1 .
(Using Equation (26) )
(Using Equation (27) )
and rearranging the above inequality completes the proof. □
Lemma 2. For τ > 0 \tau> 0 τ > 0 and any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m , the dual function D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is G τ : = m τ ( 1 − γ ) 3 G_{\tau} := \frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m -smooth.
Proof. For any τ > 0 \tau> 0 τ > 0 and λ , λ ′ ∈ R + m \lambda,\lambda' \in\mathbb{R}_{+}^{m} λ , λ ′ ∈ R + m ,
∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ≤ m ∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ∞ = m max i ∈ [ m ] ∣ V c i π λ , τ ∗ ( ρ ) − b i − ( V c i π λ ′ , τ ∗ ( ρ ) − b i ) ∣ \begin{aligned}
\lVert\nabla D_{\tau}(\lambda)-\nabla D_{\tau}(\lambda')\rVert
&\leq\sqrt{m}\lVert\nabla D_{\tau}(\lambda)-\nabla D_{\tau}(\lambda')\rVert_{\infty} \\
&=\sqrt{m}\max_{i\in[m]}\left|V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)-b_i-\left(V_{c_i}^{\pi_{\lambda',\tau}^{*}}(\rho)-b_i\right)\right|
\end{aligned} ∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ )∥ ≤ m ∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ∞ = m i ∈ [ m ] max V c i π λ , τ ∗ ( ρ ) − b i − ( V c i π λ ′ , τ ∗ ( ρ ) − b i ) (By Proposition 1, [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i [\nabla D_{\tau}(\lambda)]_i=V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)-b_i [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i )
= m max i ∈ [ m ] ∣ V c i π λ , τ ∗ ( ρ ) − V c i π λ ′ , τ ∗ ( ρ ) ∣ . =\sqrt{m}\max_{i\in[m]}\left|V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)-V_{c_i}^{\pi_{\lambda',\tau}^{*}}(\rho)\right|. = m i ∈ [ m ] max V c i π λ , τ ∗ ( ρ ) − V c i π λ ′ , τ ∗ ( ρ ) .
By the value difference lemma, for any i ∈ [ m ] i \in[m] i ∈ [ m ] ,
V c i π λ , τ ∗ ( ρ ) − V c i π λ ′ , τ ∗ ( ρ ) = 1 1 − γ ∑ s ∈ S d λ ′ , τ π λ , τ ∗ ( s ) ⟨ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) , Q c i π λ , τ ∗ ( s , ⋅ ) ⟩ ≤ 1 1 − γ ∑ s ∈ S d λ ′ , τ π λ , τ ∗ ( s ) ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ∥ Q c i π λ , τ ∗ ( s , ⋅ ) ∥ ∞ \begin{aligned}
V_{c_i}^{\pi_{\lambda,\tau}^{\ast}}(\rho)-V_{c_i}^{\pi_{\lambda',\tau}^{\ast}}(\rho)=\frac{1}{1-\gamma}\sum_{s\in S}d_{\lambda',\tau}^{\pi_{\lambda,\tau}^{\ast}}(s)\left\langle\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s),Q_{c_i}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot)\right\rangle\\
&\leq\frac{1}{1-\gamma}\sum_{s\in S}d_{\lambda',\tau}^{\pi_{\lambda,\tau}^{\ast}}(s)\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1\|Q_{c_i}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot)\|_\infty
\end{aligned} V c i π λ , τ ∗ ( ρ ) − V c i π λ ′ , τ ∗ ( ρ ) = 1 − γ 1 s ∈ S ∑ d λ ′ , τ π λ , τ ∗ ( s ) ⟨ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) , Q c i π λ , τ ∗ ( s , ⋅ ) ⟩ ≤ 1 − γ 1 s ∈ S ∑ d λ ′ , τ π λ , τ ∗ ( s ) ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ∥ Q c i π λ , τ ∗ ( s , ⋅ ) ∥ ∞
(Using Hölder’s inequality)
≤ 1 ( 1 − γ ) 2 ∑ s ∈ S d λ ′ , τ π λ , τ ∗ ( s ) ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ( c i ∈ [ 0 , 1 ] S A ) ≤ 1 ( 1 − γ ) 2 max s ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ∑ s ∈ S d λ ′ , τ π λ , τ ∗ ( s ) ⏟ = 1 \begin{aligned}
\leq\frac{1}{(1-\gamma)^2}\sum_{s\in S}d_{\lambda',\tau}^{\pi_{\lambda,\tau}^{\ast}}(s)\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1
\qquad(c_i\in[0,1]^{S A}) \\
&\leq\frac{1}{(1-\gamma)^2}\max_s\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1\underbrace{\sum_{s\in S}d_{\lambda',\tau}^{\pi_{\lambda,\tau}^{\ast}}(s)}_{=1}
\end{aligned} ≤ ( 1 − γ ) 2 1 s ∈ S ∑ d λ ′ , τ π λ , τ ∗ ( s ) ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ( c i ∈ [ 0 , 1 ] S A ) ≤ ( 1 − γ ) 2 1 s max ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 = 1 s ∈ S ∑ d λ ′ , τ π λ , τ ∗ ( s )
⟹ ∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ≤ m ( 1 − γ ) 2 max s ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 (28) \Longrightarrow\|\nabla D_\tau(\lambda)-\nabla D_\tau(\lambda')\|\leq\frac{\sqrt{m}}{(1-\gamma)^2}\max_s\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1 \tag*{(28)} ⟹ ∥∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ≤ ( 1 − γ ) 2 m s max ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 (28)
We now relate max s ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 \max_s\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1 max s ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 to ∥ λ − λ ′ ∥ \|\lambda-\lambda'\| ∥ λ − λ ′ ∥ . Since π λ , τ ∗ \pi_{\lambda,\tau}^{\ast} π λ , τ ∗ is the optimal policy of an entropy-regularized MDP, for any s ∈ S s\in S s ∈ S ,
π λ , τ ∗ ( ⋅ ∣ s ) = exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) ) ∑ a ′ exp ( 1 τ Q R ( λ ) , τ π λ , τ ∗ ( s , a ′ ) ) = arg max p ∈ Δ A { ⟨ p , Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) ⟩ + τ H ( p ) } . \pi_{\lambda,\tau}^{\ast}(\cdot|s)=\frac{\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot)\right)}{\sum_{a'}\exp\left(\frac{1}{\tau}Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}(s,a')\right)}
=\underset{p\in\Delta_A}{\arg\max}\left\{\left\langle p,Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot)\right\rangle+\tau H(p)\right\}. π λ , τ ∗ ( ⋅ ∣ s ) = ∑ a ′ exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s , a ′ ) ) exp ( τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) ) = p ∈ Δ A arg max { ⟨ p , Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) ⟩ + τ H ( p ) } .
Hence, according to Proposition 2 with q = Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) q=Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot) q = Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) and q ′ = Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s , ⋅ ) q'=Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{\ast}}(s,\cdot) q ′ = Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s , ⋅ ) ,
∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ≤ 1 τ ∥ Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s , ⋅ ) ∥ ∞ ≤ 1 τ ∥ Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∥ ∞ ≤ 1 τ ( 1 − γ ) ∥ λ − λ ′ ∥ 1 (Using Lemma 13) \begin{aligned}
\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1\leq\frac{1}{\tau}\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}(s,\cdot)-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{\ast}}(s,\cdot)\right\|_\infty\\
&\leq\frac{1}{\tau}\left\|Q_{R(\lambda),\tau}^{\pi_{\lambda,\tau}^{\ast}}-Q_{R(\lambda'),\tau}^{\pi_{\lambda',\tau}^{\ast}}\right\|_\infty\\
&\leq\frac{1}{\tau(1-\gamma)}\|\lambda-\lambda'\|_1
\qquad\text{(Using Lemma 13)}
\end{aligned} ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ≤ τ 1 Q R ( λ ) , τ π λ , τ ∗ ( s , ⋅ ) − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ( s , ⋅ ) ∞ ≤ τ 1 Q R ( λ ) , τ π λ , τ ∗ − Q R ( λ ′ ) , τ π λ ′ , τ ∗ ∞ ≤ τ ( 1 − γ ) 1 ∥ λ − λ ′ ∥ 1 (Using Lemma 13)
⟹ max s ∈ S ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ≤ m τ ( 1 − γ ) ∥ λ − λ ′ ∥ (For x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ ) \Longrightarrow\max_{s\in S}\|\pi_{\lambda,\tau}^{\ast}(\cdot|s)-\pi_{\lambda',\tau}^{\ast}(\cdot|s)\|_1\leq\frac{\sqrt{m}}{\tau(1-\gamma)}\|\lambda-\lambda'\|\qquad\text{(For }x\in\mathbb{R}^m\text{, }\|x\|_1\leq\sqrt{m}\|x\|\text{)} ⟹ s ∈ S max ∥ π λ , τ ∗ ( ⋅ ∣ s ) − π λ ′ , τ ∗ ( ⋅ ∣ s ) ∥ 1 ≤ τ ( 1 − γ ) m ∥ λ − λ ′ ∥ (For x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ )
Combining the above inequality with (28) ,
⟹ ∥ ∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ≤ m τ ( 1 − γ ) 3 ∥ λ − λ ′ ∥ . \Longrightarrow\|\nabla D_\tau(\lambda)-\nabla D_\tau(\lambda')\|\leq\frac{m}{\tau(1-\gamma)^3}\|\lambda-\lambda'\|. ⟹ ∥∇ D τ ( λ ) − ∇ D τ ( λ ′ ) ∥ ≤ τ ( 1 − γ ) 3 m ∥ λ − λ ′ ∥.
Proof of Lemma 3
Lemma 3. Under Assumption 1, for any τ > 0 \tau>0 τ > 0 , assuming that for all t ∈ [ 0 , T − 1 ] t\in[0,T-1] t ∈ [ 0 , T − 1 ] , ∥ ∇ D τ ( λ t ) − ∇ D ~ τ ( λ t ) ∥ ≤ δ t \|\nabla D_\tau(\lambda_t)-\widetilde{\nabla D}_\tau(\lambda_t)\|\leq\delta_t ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t , Algorithm 1 using step-size β ≤ 1 G τ \beta\leq\frac{1}{G_\tau} β ≤ G τ 1 , λ 0 = 0 \lambda_0=0 λ 0 = 0 , and μ = 0 \mu=0 μ = 0 converges as: for T ≥ 1 T\geq1 T ≥ 1 ,
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ ∗ ∥ 2 2 β T + ∣ Λ ∣ T ∑ t = 0 T − 1 δ t (29) D_\tau(\bar{\lambda}_T)-D_\tau(\lambda^\ast)\leq\frac{\|\lambda^\ast\|^2}{2\beta T}+\frac{|\Lambda|}{T}\sum_{t=0}^{T-1}\delta_t \tag*{(29)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ ∗ ∥ 2 + T ∣Λ∣ t = 0 ∑ T − 1 δ t (29)
where λ ˉ T : = 1 T ∑ t = 1 T λ t \bar{\lambda}_T:=\frac{1}{T}\sum_{t=1}^{T}\lambda_t λ ˉ T := T 1 ∑ t = 1 T λ t , and ∣ Λ ∣ = m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i |\Lambda|=\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} ∣Λ∣ = ( 1 − γ ) m i n i ∈ [ m ] ζ i m ( 2 + 2 τ l n ( A )) .
Proof. By Lemma 2, the dual function D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is G τ = m τ ( 1 − γ ) 3 G_\tau= \frac{m}{\tau(1-\gamma)^3} G τ = τ ( 1 − γ ) 3 m -smooth. Hence, for all t ≥ 0 t \ge0 t ≥ 0 ,
D τ ( λ t + 1 ) ≤ D τ ( λ t ) + ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ t ⟩ + G τ 2 ∥ λ t − λ t + 1 ∥ 2 2 D_\tau(\lambda_{t+1}) \le D_\tau(\lambda_t) + \langle\nabla D_\tau(\lambda_t),\lambda_{t+1}-\lambda_t\rangle+ \frac{G_\tau}{2}\|\lambda_t-\lambda_{t+1}\|_2^2 D τ ( λ t + 1 ) ≤ D τ ( λ t ) + ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ t ⟩ + 2 G τ ∥ λ t − λ t + 1 ∥ 2 2
Furthermore, since D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is convex, for all u , v ∈ R m u,v \in\mathbb{R}^m u , v ∈ R m ,
D τ ( v ) ≥ D τ ( u ) + ⟨ ∇ D τ ( u ) , v − u ⟩ ⟹ ⟨ ∇ D τ ( u ) , u − v ⟩ ≥ D τ ( u ) − D τ ( v ) D_\tau(v) \ge D_\tau(u) + \langle\nabla D_\tau(u),v-u\rangle\Longrightarrow\langle\nabla D_\tau(u),u-v\rangle\ge D_\tau(u)-D_\tau(v) D τ ( v ) ≥ D τ ( u ) + ⟨ ∇ D τ ( u ) , v − u ⟩ ⟹ ⟨ ∇ D τ ( u ) , u − v ⟩ ≥ D τ ( u ) − D τ ( v )
Using this fact with u = λ t u=\lambda_t u = λ t , v = λ τ ∗ v=\lambda_\tau^* v = λ τ ∗ , and rearranging,
⟹ D τ ( λ t ) ≤ D τ ( λ τ ∗ ) + ⟨ ∇ D τ ( λ t ) , λ t − λ τ ∗ ⟩ (30) \Longrightarrow D_\tau(\lambda_t) \le D_\tau(\lambda_\tau^*) + \langle\nabla D_\tau(\lambda_t),\lambda_t-\lambda_\tau^*\rangle \tag*{(30)} ⟹ D τ ( λ t ) ≤ D τ ( λ τ ∗ ) + ⟨ ∇ D τ ( λ t ) , λ t − λ τ ∗ ⟩ (30)
Adding the above inequalities,
⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ + G τ 2 ∥ λ t − λ t + 1 ∥ 2 2 \Longrightarrow D_\tau(\lambda_{t+1}) \le D_\tau(\lambda_\tau^*) + \langle\nabla D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle+ \frac{G_\tau}{2}\|\lambda_t-\lambda_{t+1}\|_2^2 ⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ + 2 G τ ∥ λ t − λ t + 1 ∥ 2 2
Add/Subtract ⟨ ∇ ~ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ \langle\widetilde{\nabla}D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ,
⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + ⟨ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ⏟ Term (i) + ⟨ ∇ ~ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ⏟ Term (ii) + G τ 2 ∥ λ t − λ t + 1 ∥ 2 2 (31) \Longrightarrow D_\tau(\lambda_{t+1}) \le D_\tau(\lambda_\tau^*) + \underbrace{\langle\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle}_{\text{Term (i)}} + \underbrace{\langle\widetilde{\nabla}D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle}_{\text{Term (ii)}} + \frac{G_\tau}{2}\|\lambda_t-\lambda_{t+1}\|_2^2 \tag*{(31)} ⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + Term (i) ⟨ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ + Term (ii) ⟨ ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ + 2 G τ ∥ λ t − λ t + 1 ∥ 2 2 (31)
We now bound Term (i),
∣ ⟨ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ∣ ≤ ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ∥ λ t + 1 − λ τ ∗ ∥ (Using Cauchy-Schwarz) ≤ δ t ∥ λ t + 1 − λ τ ∗ ∥ \begin{aligned}
\left|\langle\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle\right| \le\|\widetilde{\nabla}D_\tau(\lambda_t)-\nabla D_\tau(\lambda_t)\|\|\lambda_{t+1}-\lambda_\tau^*\| \quad\text{(Using Cauchy-Schwarz)} \\
&\le\delta_t\|\lambda_{t+1}-\lambda_\tau^*\|
\end{aligned} ⟨ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ≤ ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥∥ λ t + 1 − λ τ ∗ ∥ (Using Cauchy-Schwarz) ≤ δ t ∥ λ t + 1 − λ τ ∗ ∥
(Assuming for all t ∈ [ T ] t \in[T] t ∈ [ T ] , ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t \|\widetilde{\nabla}D_\tau(\lambda_t)-\nabla D_\tau(\lambda_t)\| \le\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t )
≤ δ t ∣ Λ ∣ \le\delta_t|\Lambda| ≤ δ t ∣Λ∣
(Under Assumption 1, by Lemma 15, ∥ λ t + 1 − λ τ ∗ ∥ ≤ m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i : = ∣ Λ ∣ \|\lambda_{t+1}-\lambda_\tau^*\| \le\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} := |\Lambda| ∥ λ t + 1 − λ τ ∗ ∥ ≤ ( 1 − γ ) m i n i ∈ [ m ] ζ i m ( 2 + 2 τ l n ( A )) := ∣Λ∣ )
⟹ ∣ ⟨ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ∣ ≤ δ t ∣ Λ ∣ . (32) \Longrightarrow\left|\langle\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t),\lambda_{t+1}-\lambda_\tau^*\rangle\right| \le\delta_t|\Lambda|. \tag*{(32)} ⟹ ⟨ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) , λ t + 1 − λ τ ∗ ⟩ ≤ δ t ∣Λ∣. (32)
To bound Term (ii), note the update in Algorithm 1 (line 5) with μ = 0 \mu=0 μ = 0 ,
λ t + 1 = Proj Λ [ λ t − β ∇ ~ D τ ( λ t ) ] , \lambda_{t+1}=\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\widetilde{\nabla}D_\tau(\lambda_t)], λ t + 1 = Proj Λ [ λ t − β ∇ D τ ( λ t )] ,
is a projection onto a convex set Λ \Lambda Λ . Hence, for any z ∈ Λ z \in\Lambda z ∈ Λ
⟨ λ t + 1 − z , λ t + 1 − ( λ t − β ∇ ~ D τ ( λ t ) ) ⟩ ≤ 0 \langle\lambda_{t+1}-z,\lambda_{t+1}-(\lambda_t-\beta\widetilde{\nabla}D_\tau(\lambda_t))\rangle\le0 ⟨ λ t + 1 − z , λ t + 1 − ( λ t − β ∇ D τ ( λ t ))⟩ ≤ 0
Setting z = λ τ ∗ z=\lambda_\tau^* z = λ τ ∗ and rearranging
⟹ ⟨ λ t + 1 − λ τ ∗ , ∇ ~ D τ ( λ t ) ⟩ ≤ 1 β ⟨ λ t + 1 − λ τ ∗ , λ t − λ t + 1 ⟩ (33) \Longrightarrow\langle\lambda_{t+1}-\lambda_\tau^*,\widetilde{\nabla}D_\tau(\lambda_t)\rangle\le\frac{1}{\beta}\langle\lambda_{t+1}-\lambda_\tau^*,\lambda_t-\lambda_{t+1}\rangle \tag*{(33)} ⟹ ⟨ λ t + 1 − λ τ ∗ , ∇ D τ ( λ t )⟩ ≤ β 1 ⟨ λ t + 1 − λ τ ∗ , λ t − λ t + 1 ⟩ (33)
Putting Equations (31) , (32) and (33) together,
⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + δ t ∣ Λ ∣ + 1 β ⟨ λ t + 1 − λ τ ∗ , λ t − λ t + 1 ⟩ + G τ 2 ∥ λ t − λ t + 1 ∥ 2 2 = D τ ( λ τ ∗ ) + δ t ∣ Λ ∣ + 1 2 β ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 − ∥ λ t − λ t + 1 ∥ 2 2 ) + G τ 2 ∥ λ t − λ t + 1 ∥ 2 2 \begin{aligned}
\Longrightarrow D_\tau(\lambda_{t+1}) \le D_\tau(\lambda_\tau^*)+\delta_t|\Lambda|+\frac{1}{\beta}\langle\lambda_{t+1}-\lambda_\tau^*,\lambda_t-\lambda_{t+1}\rangle+\frac{G_\tau}{2}\|\lambda_t-\lambda_{t+1}\|_2^2 \\
&= D_\tau(\lambda_\tau^*)+\delta_t|\Lambda|+\frac{1}{2\beta}\left(\|\lambda_t-\lambda_\tau^*\|_2^2-\|\lambda_{t+1}-\lambda_\tau^*\|_2^2-\|\lambda_t-\lambda_{t+1}\|_2^2\right)+\frac{G_\tau}{2}\|\lambda_t-\lambda_{t+1}\|_2^2
\end{aligned} ⟹ D τ ( λ t + 1 ) ≤ D τ ( λ τ ∗ ) + δ t ∣Λ∣ + β 1 ⟨ λ t + 1 − λ τ ∗ , λ t − λ t + 1 ⟩ + 2 G τ ∥ λ t − λ t + 1 ∥ 2 2 = D τ ( λ τ ∗ ) + δ t ∣Λ∣ + 2 β 1 ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 − ∥ λ t − λ t + 1 ∥ 2 2 ) + 2 G τ ∥ λ t − λ t + 1 ∥ 2 2
(For any u , v ∈ R m u,v \in\mathbb{R}^m u , v ∈ R m , 2 ⟨ u , v ⟩ = ∥ u + v ∥ 2 2 − ∥ u ∥ 2 2 − ∥ v ∥ 2 2 2\langle u,v\rangle=\|u+v\|_2^2-\|u\|_2^2-\|v\|_2^2 2 ⟨ u , v ⟩ = ∥ u + v ∥ 2 2 − ∥ u ∥ 2 2 − ∥ v ∥ 2 2 )
= D τ ( λ τ ∗ ) + δ t ∣ Λ ∣ + 1 2 β ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 ) + ( G τ 2 − 1 2 β ) ⏟ ≤ 0 ∥ λ t − λ t + 1 ∥ 2 2 (Since β ≤ 1 G τ ) ⇒ D τ ( λ t + 1 ) − D τ ( λ τ ∗ ) ≤ δ t ∣ Λ ∣ + 1 2 β ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 ) (34) \begin{aligned}
= D_\tau(\lambda_\tau^*)+\delta_t|\Lambda|+\frac{1}{2\beta}\left(\|\lambda_t-\lambda_\tau^*\|_2^2-\|\lambda_{t+1}-\lambda_\tau^*\|_2^2\right)+\underbrace{\left(\frac{G_\tau}{2}-\frac{1}{2\beta}\right)}_{\le0}\|\lambda_t-\lambda_{t+1}\|_2^2 \quad\text{(Since }\beta\le\frac{1}{G_\tau}\text{)} \\
&\Rightarrow D_{\tau}(\lambda_{t+1})-D_{\tau}(\lambda_{\tau}^{*})\leq\delta_t|\Lambda|+\frac{1}{2\beta}\left(\|\lambda_t-\lambda_{\tau}^{*}\|_2^2-\|\lambda_{t+1}-\lambda_{\tau}^{*}\|_2^2\right) \tag*{(34)}
\end{aligned} = D τ ( λ τ ∗ ) + δ t ∣Λ∣ + 2 β 1 ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 ) + ≤ 0 ( 2 G τ − 2 β 1 ) ∥ λ t − λ t + 1 ∥ 2 2 (Since β ≤ G τ 1 ) ⇒ D τ ( λ t + 1 ) − D τ ( λ τ ∗ ) ≤ δ t ∣Λ∣ + 2 β 1 ( ∥ λ t − λ τ ∗ ∥ 2 2 − ∥ λ t + 1 − λ τ ∗ ∥ 2 2 ) (34)
Using Equation (34) , summing from t = 0 t=0 t = 0 to T − 1 T-1 T − 1 , then dividing by T T T ,
∑ t = 0 T − 1 D τ ( λ t + 1 ) − D τ ( λ τ ∗ ) T ≤ ∥ λ 0 − λ τ ∗ ∥ 2 2 2 β T − ∥ λ T − λ τ ∗ ∥ 2 2 2 β T + ∣ Λ ∣ ∑ t = 0 T − 1 δ t T ≤ ∥ λ τ ∗ ∥ 2 2 2 β T + ∣ Λ ∣ ∑ t = 0 T − 1 δ t T . \begin{aligned}
\sum_{t=0}^{T-1}\frac{D_{\tau}(\lambda_{t+1})-D_{\tau}(\lambda_{\tau}^{*})}{T}\leq\frac{\|\lambda_0-\lambda_{\tau}^{*}\|_2^2}{2\beta T}-\frac{\|\lambda_T-\lambda_{\tau}^{*}\|_2^2}{2\beta T}+\frac{|\Lambda|\sum_{t=0}^{T-1}\delta_t}{T} \\
&\leq\frac{\|\lambda_{\tau}^{*}\|_2^2}{2\beta T}+\frac{|\Lambda|\sum_{t=0}^{T-1}\delta_t}{T}.
\end{aligned} t = 0 ∑ T − 1 T D τ ( λ t + 1 ) − D τ ( λ τ ∗ ) ≤ 2 β T ∥ λ 0 − λ τ ∗ ∥ 2 2 − 2 β T ∥ λ T − λ τ ∗ ∥ 2 2 + T ∣Λ∣ ∑ t = 0 T − 1 δ t ≤ 2 β T ∥ λ τ ∗ ∥ 2 2 + T ∣Λ∣ ∑ t = 0 T − 1 δ t .
(Since λ 0 = 0 \lambda_0=0 λ 0 = 0 )
Using Jensen’s inequality since D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is convex and defining λ ˉ T : = 1 T ∑ t = 1 T λ t \bar{\lambda}_T:=\frac{1}{T}\sum_{t=1}^{T}\lambda_t λ ˉ T := T 1 ∑ t = 1 T λ t ,
D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ ∥ λ τ ∗ ∥ 2 2 2 β T + ∣ Λ ∣ ∑ t = 0 T − 1 δ t T . D_{\tau}(\bar{\lambda}_T)-D_{\tau}(\lambda_{\tau}^{*})\leq\frac{\|\lambda_{\tau}^{*}\|_2^2}{2\beta T}+\frac{|\Lambda|\sum_{t=0}^{T-1}\delta_t}{T}. D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ 2 β T ∥ λ τ ∗ ∥ 2 2 + T ∣Λ∣ ∑ t = 0 T − 1 δ t .
Proof of lemma:boundbiassubgradient
Lemma 4. For any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m , τ > 0 \tau>0 τ > 0 and policy π ~ \tilde{\pi} π ~ , the inexact gradient such that [ ∇ ~ D τ ( λ ) ] i = V c i π ~ ( ρ ) − b i [\widetilde{\nabla}D_{\tau}(\lambda)]_i=V^{\tilde{\pi}}_{c_i}(\rho)-b_i [ ∇ D τ ( λ ) ] i = V c i π ~ ( ρ ) − b i for all i ∈ [ m ] i\in[m] i ∈ [ m ] results in the following bias:
∥ ∇ D τ ( λ ) − ∇ ~ D τ ( λ ) ∥ ≤ 2 m max π V R ( λ ) , τ π ( ρ ) − V R ( λ ) , τ π ~ ( ρ ) ( 1 − γ ) 3 / 2 τ \|\nabla D_{\tau}(\lambda)-\widetilde{\nabla}D_{\tau}(\lambda)\|\leq\frac{\sqrt{2m}\sqrt{\max_{\pi}V^{\pi}_{R(\lambda),\tau}(\rho)-V^{\tilde{\pi}}_{R(\lambda),\tau}(\rho)}}{(1-\gamma)^{3/2}\sqrt{\tau}} ∥∇ D τ ( λ ) − ∇ D τ ( λ ) ∥ ≤ ( 1 − γ ) 3/2 τ 2 m max π V R ( λ ) , τ π ( ρ ) − V R ( λ ) , τ π ~ ( ρ )
Proof. According to Proposition 1, for a fixed λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m the gradient of the dual function of Problem 2 is defined as
[ ∇ D τ ( λ ) ] i : = V c i π λ , τ ∗ ( ρ ) − b i ∀ i ∈ [ m ] . [\nabla D_{\tau}(\lambda)]_i:=V^{\pi_{\lambda,\tau}^{*}}_{c_i}(\rho)-b_i\quad\forall i\in[m]. [ ∇ D τ ( λ ) ] i := V c i π λ , τ ∗ ( ρ ) − b i ∀ i ∈ [ m ] .
where π λ , τ ∗ = arg max π L τ ( π , λ ) = arg max π V R ( λ ) , τ π ( ρ ) \pi_{\lambda,\tau}^{*}=\mathop{\arg\max}_{\pi}\mathcal{L}_{\tau}(\pi,\lambda)=\mathop{\arg\max}_{\pi}V^{\pi}_{R(\lambda),\tau}(\rho) π λ , τ ∗ = arg max π L τ ( π , λ ) = arg max π V R ( λ ) , τ π ( ρ ) . Additionally, for a fixed policy π ~ \tilde{\pi} π ~ , denote the inexact gradient of the dual function as
[ ∇ ~ D τ ( λ ) ] i : = V c i π ~ ( ρ ) − b i ∀ i ∈ [ m ] . [\widetilde{\nabla}D_{\tau}(\lambda)]_i:=V^{\tilde{\pi}}_{c_i}(\rho)-b_i\quad\forall i\in[m]. [ ∇ D τ ( λ ) ] i := V c i π ~ ( ρ ) − b i ∀ i ∈ [ m ] .
As a result, we have
⇒ ∥ ∇ D τ ( λ ) − ∇ ~ D τ ( λ ) ∥ ≤ m ∥ ∇ D τ ( λ ) − ∇ ~ D τ ( λ ) ∥ ∞ = m max i ∈ [ m ] ∣ V c i π λ , τ ∗ ( ρ ) − V c i π ~ ( ρ ) ∣ . (35) \begin{aligned}
\Rightarrow\|\nabla D_{\tau}(\lambda)-\widetilde{\nabla}D_{\tau}(\lambda)\|\leq\sqrt{m}\|\nabla D_{\tau}(\lambda)-\widetilde{\nabla}D_{\tau}(\lambda)\|_{\infty} \\
&=\sqrt{m}\max_{i\in[m]}\left|V^{\pi_{\lambda,\tau}^{*}}_{c_i}(\rho)-V^{\tilde{\pi}}_{c_i}(\rho)\right|. \tag*{(35)}
\end{aligned} ⇒ ∥∇ D τ ( λ ) − ∇ D τ ( λ ) ∥ ≤ m ∥∇ D τ ( λ ) − ∇ D τ ( λ ) ∥ ∞ = m i ∈ [ m ] max V c i π λ , τ ∗ ( ρ ) − V c i π ~ ( ρ ) . (35)
For a fixed i ∈ [ m ] i\in[m] i ∈ [ m ] , since c i ∈ [ 0 , 1 ] S A c_i\in[0,1]^{SA} c i ∈ [ 0 , 1 ] S A , using Equation (37) from Lemma 14 with ⋄ = c i \diamond=c_i ⋄ = c i , U = 1 U=1 U = 1 , π ′ = π λ , τ ∗ \pi'=\pi_{\lambda,\tau}^{*} π ′ = π λ , τ ∗ and π = π ~ \pi=\tilde{\pi} π = π ~
∣ V c i π λ , τ ∗ ( ρ ) − V c i π ~ ( ρ ) ∣ ≤ 2 ( 1 − γ ) 3 / 2 ∣ L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ ) ∣ τ \left|V^{\pi_{\lambda,\tau}^{*}}_{c_i}(\rho)-V^{\tilde{\pi}}_{c_i}(\rho)\right|\leq\frac{\sqrt{2}}{(1-\gamma)^{3/2}}\frac{\sqrt{\left|\mathcal{L}_{\tau}(\pi_{\lambda,\tau}^{*},\lambda)-\mathcal{L}_{\tau}(\tilde{\pi},\lambda)\right|}}{\sqrt{\tau}} V c i π λ , τ ∗ ( ρ ) − V c i π ~ ( ρ ) ≤ ( 1 − γ ) 3/2 2 τ L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ )
Further simplifying L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ ) \mathcal{L}_{\tau}(\pi_{\lambda,\tau}^{*},\lambda)-\mathcal{L}_{\tau}(\tilde{\pi},\lambda) L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ ) we have,
L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ ) = V r , τ π λ , τ ∗ ( ρ ) + ∑ i = 1 m λ i [ V c i π λ , τ ∗ ( ρ ) − b i ] − V r , τ π ~ ( ρ ) − ∑ i = 1 m λ i [ V c i π ~ ( ρ ) − b i ] (Definition of L τ ( π , λ ) ) = V R ( λ ) , τ π λ , τ ∗ ( ρ ) − V R ( λ ) , τ π ~ ( ρ ) ( R ( λ ) : = r + ∑ i = 1 m λ i c i ) \begin{aligned}
\mathcal{L}_{\tau}(\pi_{\lambda,\tau}^{*},\lambda)-\mathcal{L}_{\tau}(\tilde{\pi},\lambda) \\
&=V^{\pi_{\lambda,\tau}^{*}}_{r,\tau}(\rho)+\sum_{i=1}^{m}\lambda_i[V^{\pi_{\lambda,\tau}^{*}}_{c_i}(\rho)-b_i]-V^{\tilde{\pi}}_{r,\tau}(\rho)-\sum_{i=1}^{m}\lambda_i[V^{\tilde{\pi}}_{c_i}(\rho)-b_i]
\qquad\text{(Definition of }\mathcal{L}_{\tau}(\pi,\lambda)\text{)} \\
&=V^{\pi_{\lambda,\tau}^{*}}_{R(\lambda),\tau}(\rho)-V^{\tilde{\pi}}_{R(\lambda),\tau}(\rho)
\qquad\text{(}R(\lambda):=r+\sum_{i=1}^{m}\lambda_i c_i\text{)}
\end{aligned} L τ ( π λ , τ ∗ , λ ) − L τ ( π ~ , λ ) = V r , τ π λ , τ ∗ ( ρ ) + i = 1 ∑ m λ i [ V c i π λ , τ ∗ ( ρ ) − b i ] − V r , τ π ~ ( ρ ) − i = 1 ∑ m λ i [ V c i π ~ ( ρ ) − b i ] (Definition of L τ ( π , λ ) ) = V R ( λ ) , τ π λ , τ ∗ ( ρ ) − V R ( λ ) , τ π ~ ( ρ ) ( R ( λ ) := r + i = 1 ∑ m λ i c i )
⟹ ∣ V ⋄ π ⋆ λ , τ ( ρ ) − V ⋄ π ~ ( ρ ) ∣ ≤ 2 ( 1 − γ ) 3 / 2 τ V R ( λ ) , τ π ⋆ λ , τ ( ρ ) − V R ( λ ) , τ π ~ ( ρ ) \Longrightarrow\left|V_{\diamond}^{\pi^{\star_{\lambda,\tau}}}(\rho)-V_{\diamond}^{\widetilde{\pi}}(\rho)\right| \le\frac{\sqrt{2}}{(1-\gamma)^{3/2}\sqrt{\tau}}\sqrt{V_{R(\lambda),\tau}^{\pi^{\star_{\lambda,\tau}}}(\rho)-V_{R(\lambda),\tau}^{\widetilde{\pi}}(\rho)} ⟹ V ⋄ π ⋆ λ , τ ( ρ ) − V ⋄ π ( ρ ) ≤ ( 1 − γ ) 3/2 τ 2 V R ( λ ) , τ π ⋆ λ , τ ( ρ ) − V R ( λ ) , τ π ( ρ )
Combining the above inequality with Equation (35) completes the proof.
Helper Lemmas
Lemma 14. For any pseudo-reward ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U>0 U > 0 and policies π , π ′ \pi,\pi' π , π ′
∣ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ∣ ≤ U ( 1 − γ ) 2 ∑ s ∈ S d π ( s ) ∥ π ( ⋅ ∣ s ) − π ′ ( ⋅ ∣ s ) ∥ 1 2 . (36) \left|V_{\diamond}^{\pi'}(\rho)-V_{\diamond}^{\pi}(\rho)\right| \le\frac{U}{(1-\gamma)^2}\sqrt{\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\|\pi(\cdot|s)-\pi'(\cdot|s)\right\|_1^2}. \tag*{(36)} V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ≤ ( 1 − γ ) 2 U s ∈ S ∑ d π ( s ) ∥ π ( ⋅ ∣ s ) − π ′ ( ⋅ ∣ s ) ∥ 1 2 . (36) Furthermore, for any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m , if π ′ = arg max π L τ ( π , λ ) \pi'=\arg\max_{\pi}\mathcal{L}_{\tau}(\pi,\lambda) π ′ = arg max π L τ ( π , λ ) ,
∣ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ∣ ≤ U 2 ( 1 − γ ) 3 / 2 ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣ τ . (37) \left|V_{\diamond}^{\pi'}(\rho)-V_{\diamond}^{\pi}(\rho)\right| \le\frac{U\sqrt{2}}{(1-\gamma)^{3/2}}\frac{\sqrt{\left|\mathcal{L}_{\tau}(\pi',\lambda)-\mathcal{L}_{\tau}(\pi,\lambda)\right|}}{\sqrt{\tau}}. \tag*{(37)} V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ≤ ( 1 − γ ) 3/2 U 2 τ ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣ . (37) Proof. We will first prove Equation (36) . By the value difference lemma,
V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) = 1 1 − γ ∑ s ∈ S d π ( s ) ⟨ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) , Q ⋄ π ′ ( s , ⋅ ) ⟩ V_{\diamond}^{\pi'}(\rho)-V_{\diamond}^{\pi}(\rho)=\frac{1}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\langle\pi'(\cdot|s)-\pi(\cdot|s),Q_{\diamond}^{\pi'}(s,\cdot)\right\rangle V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) = 1 − γ 1 s ∈ S ∑ d π ( s ) ⟨ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) , Q ⋄ π ′ ( s , ⋅ ) ⟩ ≤ 1 1 − γ ∑ s ∈ S d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 ∥ Q ⋄ π ′ ( s , ⋅ ) ∥ ∞ (Using H o ¨ lder’s inequality) \le\frac{1}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\|\pi'(\cdot|s)-\pi(\cdot|s)\right\|_{1}\left\|Q_{\diamond}^{\pi'}(s,\cdot)\right\|_{\infty}
\qquad\text{(Using Hölder’s inequality)} ≤ 1 − γ 1 s ∈ S ∑ d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 Q ⋄ π ′ ( s , ⋅ ) ∞ (Using H o ¨ lder’s inequality) ≤ U ( 1 − γ ) 2 ∑ s ∈ S d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 (Since ⋄ ∈ [ 0 , U ] S A ) \le\frac{U}{(1-\gamma)^2}\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\|\pi'(\cdot|s)-\pi(\cdot|s)\right\|_{1}\qquad\text{(Since }\diamond\in[0,U]^{SA}\text{)} ≤ ( 1 − γ ) 2 U s ∈ S ∑ d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 (Since ⋄ ∈ [ 0 , U ] S A ) = U ( 1 − γ ) 2 E s ∼ d π [ ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 ] = \frac{U}{(1-\gamma)^2}\mathbb{E}_{s\sim d^{\pi}}\left[\sqrt{\left\|\pi'(\cdot|s)-\pi(\cdot|s)\right\|_1^2}\right] = ( 1 − γ ) 2 U E s ∼ d π [ ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 ] ≤ U ( 1 − γ ) 2 E s ∼ d π [ ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 ] (Using Jensen’s inequality) \le\frac{U}{(1-\gamma)^2}\sqrt{\mathbb{E}_{s\sim d^{\pi}}\left[\left\|\pi'(\cdot|s)-\pi(\cdot|s)\right\|_1^2\right]}
\qquad\text{(Using Jensen’s inequality)} ≤ ( 1 − γ ) 2 U E s ∼ d π [ ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 ] (Using Jensen’s inequality) ⟹ ∣ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ∣ ≤ U ( 1 − γ ) 2 ∑ s ∈ S d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 . \Longrightarrow\left|V_{\diamond}^{\pi'}(\rho)-V_{\diamond}^{\pi}(\rho)\right|\le\frac{U}{(1-\gamma)^2}\sqrt{\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\|\pi'(\cdot|s)-\pi(\cdot|s)\right\|_1^2}. ⟹ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ≤ ( 1 − γ ) 2 U s ∈ S ∑ d π ( s ) ∥ π ′ ( ⋅ ∣ s ) − π ( ⋅ ∣ s ) ∥ 1 2 . We next prove Equation (37) . Observe that for any λ ∈ R + m \lambda\in\mathbb{R}_{+}^{m} λ ∈ R + m ,
L τ ( π , λ ) = V r , τ π ( ρ ) + ∑ i = 1 m λ i [ V c i π ( ρ ) − b i ] = V R ( λ ) , τ π ( ρ ) − ∑ i = 1 m λ i b i \mathcal{L}_{\tau}(\pi,\lambda)=V_{r,\tau}^{\pi}(\rho)+\sum_{i=1}^{m}\lambda_i\left[V_{c_i}^{\pi}(\rho)-b_i\right]=V_{R(\lambda),\tau}^{\pi}(\rho)-\sum_{i=1}^{m}\lambda_i b_i L τ ( π , λ ) = V r , τ π ( ρ ) + i = 1 ∑ m λ i [ V c i π ( ρ ) − b i ] = V R ( λ ) , τ π ( ρ ) − i = 1 ∑ m λ i b i ( R ( λ ) : = r + ∑ i = 1 m λ i c i ) \left(R(\lambda):=r+\sum_{i=1}^{m}\lambda_i c_i\right) ( R ( λ ) := r + i = 1 ∑ m λ i c i ) ⟹ L τ ( π ′ , λ ) − L τ ( π , λ ) = V R ( λ ) , τ π ′ ( ρ ) − V R ( λ ) , τ π ( ρ ) \Longrightarrow\mathcal{L}_{\tau}(\pi',\lambda)-\mathcal{L}_{\tau}(\pi,\lambda)=V_{R(\lambda),\tau}^{\pi'}(\rho)-V_{R(\lambda),\tau}^{\pi}(\rho) ⟹ L τ ( π ′ , λ ) − L τ ( π , λ ) = V R ( λ ) , τ π ′ ( ρ ) − V R ( λ ) , τ π ( ρ ) = τ 1 − γ ∑ s ∈ S d π ( s ) KL ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s ) ) (Using Lemma 26 with ⋄ = R ( λ ) ) =\frac{\tau}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi}(s)\operatorname{KL}(\pi(\cdot|s)\mathbin{\|}\pi'(\cdot|s))\qquad\text{(Using Lemma 26 with }\diamond=R(\lambda)\text{)} = 1 − γ τ s ∈ S ∑ d π ( s ) KL ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s )) (Using Lemma 26 with ⋄ = R ( λ ) ) ⟹ ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣ ≥ τ ( 1 − γ ) 2 ∑ s ∈ S d π ( s ) ∥ π ( ⋅ ∣ s ) − π ′ ( ⋅ ∣ s ) ∥ 1 2 \Longrightarrow\left|\mathcal{L}_{\tau}(\pi',\lambda)-\mathcal{L}_{\tau}(\pi,\lambda)\right|\ge\frac{\tau}{(1-\gamma)2}\sum_{s\in\mathcal{S}}d^{\pi}(s)\left\|\pi(\cdot|s)-\pi'(\cdot|s)\right\|_1^2 ⟹ ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣ ≥ ( 1 − γ ) 2 τ s ∈ S ∑ d π ( s ) ∥ π ( ⋅ ∣ s ) − π ′ ( ⋅ ∣ s ) ∥ 1 2 (By Pinsker’s inequality, for any p , q ∈ Δ A p,q\in\Delta_A p , q ∈ Δ A , KL ( p ∥ q ) ≥ 1 2 ∥ p − q ∥ 1 2 \operatorname{KL}(p\|q)\ge\frac{1}{2}\left\|p-q\right\|_1^2 KL ( p ∥ q ) ≥ 2 1 ∥ p − q ∥ 1 2 )
Combining the above inequality with Equation (36) ,
⟹ ∣ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ∣ ≤ U 2 ( 1 − γ ) 3 / 2 ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣ τ \Longrightarrow\left|V_{\diamond}^{\pi'}(\rho)-V_{\diamond}^{\pi}(\rho)\right|\le\frac{U\sqrt{2}}{(1-\gamma)^{3/2}}\frac{\sqrt{\left|\mathcal{L}_{\tau}(\pi',\lambda)-\mathcal{L}_{\tau}(\pi,\lambda)\right|}}{\sqrt{\tau}} ⟹ V ⋄ π ′ ( ρ ) − V ⋄ π ( ρ ) ≤ ( 1 − γ ) 3/2 U 2 τ ∣ L τ ( π ′ , λ ) − L τ ( π , λ ) ∣
Lemma 15. Under Assumption 1 , the optimal dual variables λ τ ∗ \lambda_\tau^* λ τ ∗ are bounded as
[ λ τ ∗ ] i ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) ζ i ∀ i ∈ [ m ] [\lambda_\tau^*]_i \le\frac{2+2\tau\ln(A)}{(1-\gamma)\zeta_i}\qquad\forall i\in[m] [ λ τ ∗ ] i ≤ ( 1 − γ ) ζ i 2 + 2 τ ln ( A ) ∀ i ∈ [ m ] where ζ i = V c i π ˉ ( ρ ) − b i > 0 \zeta_i=V_{c_i}^{\bar{\pi}}(\rho)-b_i>0 ζ i = V c i π ˉ ( ρ ) − b i > 0 and π ˉ \bar{\pi} π ˉ is the policy that satisfies Slater’s condition. Consequently, for any λ ∈ Λ \lambda\in\Lambda λ ∈ Λ ,
∥ λ − λ τ ∗ ∥ ≤ m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i \|\lambda-\lambda_\tau^*\|\le\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} ∥ λ − λ τ ∗ ∥ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ ln ( A ))
Proof. This proof follows from [15 Lemma 4.1] and is added for completeness. Let π τ ∗ \pi_\tau^* π τ ∗ denote the optimal policy of Problem 2. Hence,
V r , τ π τ ∗ ( ρ ) = min λ ∈ R + m max π L τ ( π , λ ) = max π min λ ∈ R + m L τ ( π , λ ) (Under Assumption 1, by Lemma 25 strong duality holds) = max π L τ ( π , λ τ ∗ ) = max π V r , τ π ( ρ ) + ∑ i = 1 m [ λ τ ∗ ] i [ V c i π ( ρ ) − b i ] \begin{aligned}
V_{r,\tau}^{\pi_\tau^*}(\rho)=\min_{\lambda\in\mathbb{R}_+^m}\max_\pi\mathcal{L}_\tau(\pi,\lambda) \\
&=\max_{\pi}\min_{\lambda\in\mathbb{R}_+^m}\mathcal{L}_\tau(\pi,\lambda)\qquad\text{(Under Assumption 1, by Lemma 25 strong duality holds)} \\
&=\max_\pi\mathcal{L}_\tau(\pi,\lambda_\tau^*) \\
&=\max_\pi V_{r,\tau}^{\pi}(\rho)+\sum_{i=1}^{m}[\lambda_\tau^*]_i[V_{c_i}^{\pi}(\rho)-b_i]
\end{aligned} V r , τ π τ ∗ ( ρ ) = λ ∈ R + m min π max L τ ( π , λ ) = π max λ ∈ R + m min L τ ( π , λ ) (Under Assumption 1, by Lemma 25 strong duality holds) = π max L τ ( π , λ τ ∗ ) = π max V r , τ π ( ρ ) + i = 1 ∑ m [ λ τ ∗ ] i [ V c i π ( ρ ) − b i ]
Under Assumption 1, there exist a policy π ˉ \bar{\pi} π ˉ such that V c i π ˉ ( ρ ) − b i = ζ i > 0 V_{c_i}^{\bar{\pi}}(\rho)-b_i=\zeta_i>0 V c i π ˉ ( ρ ) − b i = ζ i > 0 for all i ∈ [ m ] i\in[m] i ∈ [ m ] . Thus,
V r , τ π τ ∗ ( ρ ) ≥ V r , τ π ˉ ( ρ ) + ∑ i = 1 m λ i ∗ [ V c i π ˉ ( ρ ) − b i ] = V r , τ π ˉ ( ρ ) + ∑ i = 1 m λ i ∗ ζ i \begin{aligned}
V_{r,\tau}^{\pi_\tau^*}(\rho)\ge V_{r,\tau}^{\bar{\pi}}(\rho)+\sum_{i=1}^{m}\lambda_i^*[V_{c_i}^{\bar{\pi}}(\rho)-b_i] \\
&=V_{r,\tau}^{\bar{\pi}}(\rho)+\sum_{i=1}^{m}\lambda_i^*\zeta_i
\end{aligned} V r , τ π τ ∗ ( ρ ) ≥ V r , τ π ˉ ( ρ ) + i = 1 ∑ m λ i ∗ [ V c i π ˉ ( ρ ) − b i ] = V r , τ π ˉ ( ρ ) + i = 1 ∑ m λ i ∗ ζ i
⟹ ∑ i = 1 m λ i ∗ ζ i ≤ V r , τ π τ ∗ ( ρ ) − V r , τ π ˉ ( ρ ) . \Longrightarrow\sum_{i=1}^{m}\lambda_i^*\zeta_i\le V_{r,\tau}^{\pi_\tau^*}(\rho)-V_{r,\tau}^{\bar{\pi}}(\rho). ⟹ i = 1 ∑ m λ i ∗ ζ i ≤ V r , τ π τ ∗ ( ρ ) − V r , τ π ˉ ( ρ ) .
Since ζ i > 0 \zeta_i>0 ζ i > 0 for all i ∈ [ m ] i\in[m] i ∈ [ m ] , we have
λ i ∗ ≤ V r , τ π τ ∗ ( ρ ) − V r , τ π ˉ ( ρ ) ζ i ≤ 2 + 2 τ log ( A ) ( 1 − γ ) ζ i . \lambda_i^*\le\frac{V_{r,\tau}^{\pi_\tau^*}(\rho)-V_{r,\tau}^{\bar{\pi}}(\rho)}{\zeta_i}\le\frac{2+2\tau\log(A)}{(1-\gamma)\zeta_i}. λ i ∗ ≤ ζ i V r , τ π τ ∗ ( ρ ) − V r , τ π ˉ ( ρ ) ≤ ( 1 − γ ) ζ i 2 + 2 τ log ( A ) .
(Since V r , τ π ˉ ( ρ ) ∈ [ 0 , 2 + 2 τ log ( A ) 1 − γ ] V_{r,\tau}^{\bar{\pi}}(\rho)\in\left[0,\frac{2+2\tau\log(A)}{1-\gamma}\right] V r , τ π ˉ ( ρ ) ∈ [ 0 , 1 − γ 2 + 2 τ l o g ( A ) ] )
Moreover, since for all i ∈ [ m ] i\in[m] i ∈ [ m ] , λ i ∈ [ 0 , 2 + 2 τ log ( A ) ( 1 − γ ) min i ∈ [ m ] ζ i ] \lambda_i\in\left[0,\frac{2+2\tau\log(A)}{(1-\gamma)\min_{i\in[m]}\zeta_i}\right] λ i ∈ [ 0 , ( 1 − γ ) m i n i ∈ [ m ] ζ i 2 + 2 τ l o g ( A ) ] ,
∥ λ − λ τ ∗ ∥ ∞ ≤ 2 + 2 τ log ( A ) ( 1 − γ ) min i ∈ [ m ] ζ i ⟹ ∥ λ − λ τ ∗ ∥ ≤ m ( 2 + 2 τ log ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i \|\lambda-\lambda_\tau^*\|_\infty\le\frac{2+2\tau\log(A)}{(1-\gamma)\min_{i\in[m]}\zeta_i}\Longrightarrow\|\lambda-\lambda_\tau^*\|\le\frac{\sqrt{m}(2+2\tau\log(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} ∥ λ − λ τ ∗ ∥ ∞ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i 2 + 2 τ log ( A ) ⟹ ∥ λ − λ τ ∗ ∥ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ log ( A ))
Convergence Results Using Smoothness
Using K = O ( ln ( 1 / ϵ ) ) K=O(\ln(1/\epsilon)) K = O ( ln ( 1/ ϵ )) Inner-Iterations
Theorem 1. Under Assumption 1 , for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 (i) with τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , T = O ( 1 / ϵ 4 ) T=O(1/\epsilon^4) T = O ( 1/ ϵ 4 ) , β = τ ( 1 − γ ) 3 m \beta=\frac{\tau(1-\gamma)^3}{m} β = m τ ( 1 − γ ) 3 , μ = 0 \mu=0 μ = 0 , λ 0 = 0 \lambda_0=0 λ 0 = 0 and (ii) using the exact E-NPG update with η = O ( 1 − γ τ ) \eta=O\left(\frac{1-\gamma}{\tau}\right) η = O ( τ 1 − γ ) and K = J = O ( ln ( 1 / ϵ ) ) K=J=O(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ( 1 / ϵ 4 ln ( 1 / ϵ ) ) O(1/\epsilon^4\ln(1/\epsilon)) O ( 1/ ϵ 4 ln ( 1/ ϵ )) gradient evaluations.
Proof. We first construct a uniform bound of the dual gradient error. By Lemma 4, for all t ≥ 0 t \ge0 t ≥ 0 , we can relate the approximate gradient to the following optimization term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 2 m ( 1 − γ ) 3 / 2 τ max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) . \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le\frac{\sqrt{2m}}{(1-\gamma)^{3/2}\sqrt{\tau}}\sqrt{\max_{\pi}V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho)}. ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ ( 1 − γ ) 3/2 τ 2 m π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) .
To characterize the sub-optimality gap max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) \max_{\pi}V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho) max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) , we instantiate the PolicyOptimization method in Algorithm 1 using NPG update in Equation (113) . At iteration t t t , by Lemma 23, with ⋄ = R ( λ t ) \diamond=R(\lambda_t) ⋄ = R ( λ t ) , π 0 = π t − 1 \pi_0=\pi_{t-1} π 0 = π t − 1 , η = 1 − γ w τ \eta=\frac{1-\gamma}{w\tau} η = w τ 1 − γ and w ≥ 1 w\ge1 w ≥ 1 , the policy π t = π K \pi_t=\pi_K π t = π K satisfies
max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( τ T 2 ) . \max_{\pi}V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho)\le O\left(\frac{\tau}{T^2}\right). π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( T 2 τ ) .
after
K ≥ O ( w 1 − γ ln ( T τ ) ) (38) K\ge O\left(\frac{w}{1-\gamma}\ln\left(\frac{T}{\tau}\right)\right) \tag*{(38)} K ≥ O ( 1 − γ w ln ( τ T ) ) (38)
iterations. Hence, for all t ∈ [ T ] t\in[T] t ∈ [ T ]
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ O ( 1 T ) = : δ t . \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le O\left(\frac{1}{T}\right)=:\delta_t. ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ O ( T 1 ) =: δ t .
and let δ ^ = max t ∈ [ T ] δ t \hat{\delta}=\max_{t\in[T]}\delta_t δ ^ = max t ∈ [ T ] δ t .
We now characterize the dual convergence using the above uniform gradient error. By Lemma 2, D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is G τ = m τ ( 1 − γ ) 3 G_{\tau}=\frac{m}{\tau(1-\gamma)^3} G τ = τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 3 with δ t = δ ^ \delta_t=\hat{\delta} δ t = δ ^ , Algorithm 1 using step-size β = 1 G τ \beta=\frac{1}{G_{\tau}} β = G τ 1 , μ = 0 \mu=0 μ = 0 and λ 0 = 0 \lambda_0=0 λ 0 = 0 results in the following convergence:
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ G τ ∥ λ ∗ ∥ 2 2 2 T + ∣ Λ ∣ δ ^ ≤ O ( G τ T ) = O ( 1 τ T ) . D_{\tau}(\bar{\lambda}_T)-D_{\tau}(\lambda^*)\le\frac{G_{\tau}\lVert\lambda^*\rVert_2^2}{2T}+|\Lambda|\hat{\delta}\le O\left(\frac{G_{\tau}}{T}\right)=O\left(\frac{1}{\tau T}\right). D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 T G τ ∥ λ ∗ ∥ 2 2 + ∣Λ∣ δ ^ ≤ O ( T G τ ) = O ( τ T 1 ) .
Thus, by Lemma 1 with Δ = O ( 1 τ T ) \Delta=O\left(\frac{1}{\tau T}\right) Δ = O ( τ T 1 ) , the average dual variable λ ˉ T \bar{\lambda}_T λ ˉ T returned by Algorithm 1 satisfies
V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ~ ( 1 T τ ) + O ( τ ) V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho)\le\widetilde{O}\left(\frac{1}{\sqrt{T\tau}}\right)+O(\tau) V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( T τ 1 ) + O ( τ )
max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ~ ( 1 T τ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho),0\right\}\le\widetilde{O}\left(\frac{1}{\sqrt{T\tau}}\right)\quad\forall i\in[m]. max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( T τ 1 ) ∀ i ∈ [ m ] .
Setting τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) and T = O ( 1 / ϵ 4 ) T=O(1/\epsilon^4) T = O ( 1/ ϵ 4 ) ensures
V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho)\le O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho),0\right\}\le O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_T) R ( λ ˉ T ) recovers a policy π N \pi_N π N that is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy after N = O ( ln ( 1 ϵ ) ) N=O\left(\ln\left(\frac{1}{\epsilon}\right)\right) N = O ( ln ( ϵ 1 ) ) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ( 1 / ϵ 4 ) T=O(1/\epsilon^4) T = O ( 1/ ϵ 4 ) outer iterations requires K = O ( ln ( T / τ ) ) = O ( ln ( 1 / ϵ ) ) K=O(\ln(T/\tau))=O(\ln(1/\epsilon)) K = O ( ln ( T / τ )) = O ( ln ( 1/ ϵ )) inner-iterations, and the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is
T K + N = O ( T ln ( T τ ) ) + O ( ln ( 1 ϵ ) ) = O ~ ( 1 ϵ 4 ) . TK+N=O\left(T\ln\left(\frac{T}{\tau}\right)\right)+O\left(\ln\left(\frac{1}{\epsilon}\right)\right)=\widetilde{O}\left(\frac{1}{\epsilon^4}\right). T K + N = O ( T ln ( τ T ) ) + O ( ln ( ϵ 1 ) ) = O ( ϵ 4 1 ) .
Using K = 1 K = 1 K = 1 Inner-Iterations
For convenience, we use the following notation in the remaining sections. At each iteration t ≥ 0 t \ge0 t ≥ 0 , τ > 0 \tau> 0 τ > 0 , define
R t : = r + ∑ i = 1 m λ t [ i ] c i ; π t ∗ : = arg max π V R t , τ π ( ρ ) ; Q t π : = Q R t , τ π . R_t := r + \sum_{i=1}^{m} \lambda_t[i]c_i \ ;\ \pi_t^* := \arg\max_{\pi} V_{R_{t,\tau}}^\pi(\rho) \ ;\ Q_t^\pi:= Q_{R_{t,\tau}}^\pi. R t := r + i = 1 ∑ m λ t [ i ] c i ; π t ∗ := arg π max V R t , τ π ( ρ ) ; Q t π := Q R t , τ π .
Lemma 8. For all t ≥ 0 t \ge0 t ≥ 0 ,
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 4 m A Φ t τ ( 1 − γ ) 2 (39) \left\lVert\nabla D_\tau(\lambda_t) - \widetilde{\nabla}D_\tau(\lambda_t) \right\rVert\le\frac{4\sqrt{m}A\Phi_t}{\tau(1-\gamma)^2} \tag*{(39)} ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ τ ( 1 − γ ) 2 4 m A Φ t (39) where Φ t = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t = \frac{1}{1-\gamma}\left\lVert Q_t^{\pi_t^*} - Q_t^{\pi_t} \right\rVert_\infty+ \frac{\tau}{4}\left\lVert\ln(\pi_t^*) - \ln(\pi_t) \right\rVert_\infty Φ t = 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ .
Proof.
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ∞ \left\lVert\nabla D_\tau(\lambda_t) - \widetilde{\nabla}D_\tau(\lambda_t) \right\rVert\le\sqrt{m}\left\lVert\nabla D_\tau(\lambda_t) - \widetilde{\nabla}D_\tau(\lambda_t) \right\rVert_\infty ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ m ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∞ = m max i ∈ [ m ] ∣ V c i π t ∗ ( ρ ) − b i − ( V c i π t ( ρ ) − b i ) ∣ (Since [ ∇ ~ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i ) = \sqrt{m}\max_{i\in[m]}\left|V_{c_i}^{\pi_t^*}(\rho)-b_i-\left(V_{c_i}^{\pi_t}(\rho)-b_i\right)\right| \quad\text{(Since }[\widetilde{\nabla}D_\tau(\lambda_t)]_i=V_{c_i}^{\pi_t}(\rho)-b_i\text{)} = m i ∈ [ m ] max V c i π t ∗ ( ρ ) − b i − ( V c i π t ( ρ ) − b i ) (Since [ ∇ D τ ( λ t ) ] i = V c i π t ( ρ ) − b i ) = m max i ∈ [ m ] ∣ V c i π t ∗ ( ρ ) − V c i π t ( ρ ) ∣ = \sqrt{m}\max_{i\in[m]}\left|V_{c_i}^{\pi_t^*}(\rho)-V_{c_i}^{\pi_t}(\rho)\right| = m i ∈ [ m ] max V c i π t ∗ ( ρ ) − V c i π t ( ρ ) By the value difference lemma, for any i ∈ [ m ] i \in[m] i ∈ [ m ] ,
V c i π t ∗ ( ρ ) − V c i π t ( ρ ) = 1 1 − γ ∑ s ∈ S d π t ( s ) ⟨ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) , Q c i π t ∗ ( s , ⋅ ) ⟩ V_{c_i}^{\pi_t^*}(\rho)-V_{c_i}^{\pi_t}(\rho)=\frac{1}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi_t}(s)\left\langle\pi_t^*(\cdot|s)-\pi_t(\cdot|s),Q_{c_i}^{\pi_t^*}(s,\cdot)\right\rangle V c i π t ∗ ( ρ ) − V c i π t ( ρ ) = 1 − γ 1 s ∈ S ∑ d π t ( s ) ⟨ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) , Q c i π t ∗ ( s , ⋅ ) ⟩ ≤ 1 1 − γ ∑ s ∈ S d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 ∥ Q c i π t ∗ ( s , ⋅ ) ∥ ∞ (Using H o ¨ lder’s inequality) \le\frac{1}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi_t}(s)\left\lVert\pi_t^*(\cdot|s)-\pi_t(\cdot|s)\right\rVert_1\left\lVert Q_{c_i}^{\pi_t^*}(s,\cdot)\right\rVert_\infty\quad\text{(Using Hölder’s inequality)} ≤ 1 − γ 1 s ∈ S ∑ d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 Q c i π t ∗ ( s , ⋅ ) ∞ (Using H o ¨ lder’s inequality) ≤ 1 ( 1 − γ ) 2 ∑ s ∈ S d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 ( c i ∈ [ 0 , 1 ] S A ) \le\frac{1}{(1-\gamma)^2}\sum_{s\in\mathcal{S}}d^{\pi_t}(s)\left\lVert\pi_t^*(\cdot|s)-\pi_t(\cdot|s)\right\rVert_1 \quad(c_i\in[0,1]^{\mathcal{S}\mathcal{A}}) ≤ ( 1 − γ ) 2 1 s ∈ S ∑ d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 ( c i ∈ [ 0 , 1 ] S A ) ⟹ ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m ( 1 − γ ) 2 ∑ s d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 \Longrightarrow\ \left\lVert\nabla D_\tau(\lambda_t) - \widetilde{\nabla}D_\tau(\lambda_t) \right\rVert\le\frac{\sqrt{m}}{(1-\gamma)^2}\sum_{s}d^{\pi_t}(s)\left\lVert\pi_t^*(\cdot|s)-\pi_t(\cdot|s)\right\rVert_1 ⟹ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ ( 1 − γ ) 2 m s ∑ d π t ( s ) ∥ π t ∗ ( ⋅ ∣ s ) − π t ( ⋅ ∣ s ) ∥ 1 Furthermore, using the fact that e x e^x e x is 1-Lipschitz on ( − ∞ , 0 ] (-\infty,0] ( − ∞ , 0 ] , for any ( s , a ) ∈ S × A (s,a)\in\mathcal{S}\times\mathcal{A} ( s , a ) ∈ S × A ,
∣ π t ∗ ( a ∣ s ) − π t ( a ∣ s ) ∣ = ∣ exp ( ln ( π t ∗ ( a ∣ s ) ) ) − exp ( ln ( π t ( a ∣ s ) ) ) ∣ ≤ ∣ ln ( π t ∗ ( a ∣ s ) ) − ln ( π t ( a ∣ s ) ) ∣ \left|\pi_t^*(a|s)-\pi_t(a|s)\right|=\left|\exp(\ln(\pi_t^*(a|s)))-\exp(\ln(\pi_t(a|s)))\right|\le\left|\ln(\pi_t^*(a|s))-\ln(\pi_t(a|s))\right| ∣ π t ∗ ( a ∣ s ) − π t ( a ∣ s ) ∣ = ∣ exp ( ln ( π t ∗ ( a ∣ s ))) − exp ( ln ( π t ( a ∣ s ))) ∣ ≤ ∣ ln ( π t ∗ ( a ∣ s )) − ln ( π t ( a ∣ s )) ∣
⇒ ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m ( 1 − γ ) 2 ∑ s d π t ( s ) ∥ ln ( π t ∗ ( ⋅ ∣ s ) ) − ln ( π t ( ⋅ ∣ s ) ) ∥ 1 ≤ m A ( 1 − γ ) 2 ∑ s d π t ( s ) ∥ ln ( π t ∗ ( ⋅ ∣ s ) ) − ln ( π t ( ⋅ ∣ s ) ) ∥ ∞ \begin{aligned}
\Rightarrow\|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\| \leq\frac{\sqrt{m}}{(1-\gamma)^2}\sum_s d^{\pi_t}(s)\left\|\ln(\pi_t^*(\cdot|s))-\ln(\pi_t(\cdot|s))\right\|_1 \\
&\leq\frac{\sqrt{m}A}{(1-\gamma)^2}\sum_s d^{\pi_t}(s)\left\|\ln(\pi_t^*(\cdot|s))-\ln(\pi_t(\cdot|s))\right\|_\infty
\end{aligned} ⇒ ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ ( 1 − γ ) 2 m s ∑ d π t ( s ) ∥ ln ( π t ∗ ( ⋅ ∣ s )) − ln ( π t ( ⋅ ∣ s )) ∥ 1 ≤ ( 1 − γ ) 2 m A s ∑ d π t ( s ) ∥ ln ( π t ∗ ( ⋅ ∣ s )) − ln ( π t ( ⋅ ∣ s )) ∥ ∞
(Since for x ∈ R A x\in\mathbb{R}^A x ∈ R A ∥ x ∥ 1 ≤ A ∥ x ∥ ∞ \|x\|_1\leq A\|x\|_\infty ∥ x ∥ 1 ≤ A ∥ x ∥ ∞ )
≤ m A ( 1 − γ ) 2 max s ∥ ln ( π t ∗ ( ⋅ ∣ s ) ) − ln ( π t ( ⋅ ∣ s ) ) ∥ ∞ ∑ s d π t ( s ) ⏟ = 1 = 4 m A τ ( 1 − γ ) 2 τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ≤ 4 m A τ ( 1 − γ ) 2 ( 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ ⏟ ≥ 0 + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ) (40) \begin{aligned}
\leq\frac{\sqrt{m}A}{(1-\gamma)^2}\max_s\left\|\ln(\pi_t^*(\cdot|s))-\ln(\pi_t(\cdot|s))\right\|_\infty\underbrace{\sum_s d^{\pi_t}(s)}_{=1} \\
&= \frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\frac{\tau}{4}\left\|\ln(\pi_t^*)-\ln(\pi_t)\right\|_\infty\\
&\leq\frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\left(\underbrace{\frac{1}{1-\gamma}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_\infty}_{\geq0}+\frac{\tau}{4}\left\|\ln(\pi_t^*)-\ln(\pi_t)\right\|_\infty\right) \tag*{(40)}
\end{aligned} ≤ ( 1 − γ ) 2 m A s max ∥ ln ( π t ∗ ( ⋅ ∣ s )) − ln ( π t ( ⋅ ∣ s )) ∥ ∞ = 1 s ∑ d π t ( s ) = τ ( 1 − γ ) 2 4 m A 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ≤ τ ( 1 − γ ) 2 4 m A ≥ 0 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ (40)
Defining Φ t : = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t:=\frac{1}{1-\gamma}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_\infty+\frac{\tau}{4}\left\|\ln(\pi_t^*)-\ln(\pi_t)\right\|_\infty Φ t := 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ,
⇒ ∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 4 m A τ ( 1 − γ ) 2 Φ t \Rightarrow\|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\|\leq\frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\Phi_t ⇒ ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ τ ( 1 − γ ) 2 4 m A Φ t
Lemma 9. Let π t + 1 \pi_{t+1} π t + 1 denote the policy obtained from K > 0 K>0 K > 0 iterations of the exact E-NPG update with step-size η = ( 1 − γ ) / τ \eta=(1-\gamma)/\tau η = ( 1 − γ ) / τ and ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 . Then,
Φ t + 1 ≤ ( 1 + γ ) γ K − 1 2 ( Φ t + 2 m ∥ λ t − λ t + 1 ∥ ∞ ( 1 − γ ) 2 ) \Phi_{t+1}\leq\frac{(1+\gamma)\gamma^{K-1}}{2}\left(\Phi_t+\frac{2m\|\lambda_t-\lambda_{t+1}\|_\infty}{(1-\gamma)^2}\right) Φ t + 1 ≤ 2 ( 1 + γ ) γ K − 1 ( Φ t + ( 1 − γ ) 2 2 m ∥ λ t − λ t + 1 ∥ ∞ )
Proof. At iteration t + 1 t+1 t + 1 , let π t + 1 = NPG ( π t , R t + 1 , τ , K ) \pi_{t+1}=\operatorname{NPG}(\pi_t,R_{t+1},\tau,K) π t + 1 = NPG ( π t , R t + 1 , τ , K ) using the NPG update in Equation (113) . By Lemma 23 with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 , π 0 = π t \pi_0=\pi_t π 0 = π t , and K ≥ 1 K\geq1 K ≥ 1 returns a policy π t + 1 = π K \pi_{t+1}=\pi_K π t + 1 = π K satisfying
∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ≤ γ K ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ (41) \left\|Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\pi_{t+1}}\right\|_\infty\leq\gamma^K\left\|Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\pi_t}\right\|_\infty \tag*{(41)} Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ γ K Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ (41)
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ 2 γ K − 1 τ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ (42) \left\|\ln(\pi_{t+1}^*)-\ln(\pi_{t+1})\right\|_\infty\leq\frac{2\gamma^{K-1}}{\tau}\left\|Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\pi_t}\right\|_\infty \tag*{(42)} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ τ 2 γ K − 1 Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ (42)
The result follows using the above relationships with E = 0 E=0 E = 0 from Lemma 19.
Theorem 5. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , T = O ( 1 / ϵ 7 ) T=O(1/\epsilon^7) T = O ( 1/ ϵ 7 ) , β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) , μ = 0 \mu=0 μ = 0 , λ 0 = 0 \lambda_0=0 λ 0 = 0 and (ii) using the exact E-NPG update in Equation (113) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , K = 1 K=1 K = 1 , J = O ( ln ( 1 / ϵ ) ) J=O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) return an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 7 ) \widetilde{O}(1/\epsilon^7) O ( 1/ ϵ 7 ) gradient evaluations.
Proof. We first characterize the convergence of the average dual iterate. By Lemma 8, for all t ≥ 0 t\geq0 t ≥ 0 , we can relate the approximate dual gradient to an optimization error term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 4 m A τ ( 1 − γ ) 2 Φ t \|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\|\leq\frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\Phi_t ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ τ ( 1 − γ ) 2 4 m A Φ t
where Φ t : = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t:=\frac{1}{1-\gamma}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_\infty+\frac{\tau}{4}\left\|\ln(\pi_t^*)-\ln(\pi_t)\right\|_\infty Φ t := 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ . Moreover, by Lemma 2, the dual D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is m τ ( 1 − γ ) 3 \frac{m}{\tau(1-\gamma)^3} τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 3 with δ t = 4 m A τ ( 1 − γ ) 2 Φ t \delta_t=\frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\Phi_t δ t = τ ( 1 − γ ) 2 4 m A Φ t , Algorithm 1 using step-size β ≤ τ ( 1 − γ ) 3 m \beta\le\frac{\tau(1-\gamma)^3}{m} β ≤ m τ ( 1 − γ ) 3 , μ = 0 \mu= 0 μ = 0 and λ 0 = 0 \lambda_0 = 0 λ 0 = 0 results in the following convergence
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ 0 ∗ ∥ 2 2 2 β T + 4 m A ∣ Λ ∣ τ ( 1 − γ ) 2 T ∑ t = 0 T − 1 Φ t (43) D_\tau(\bar{\lambda}_T) - D_\tau(\lambda^*) \le\frac{\lVert\lambda^*_0 \rVert_2^2}{2\beta T} + \frac{4\sqrt{m} A |\Lambda|}{\tau(1-\gamma)^2 T} \sum_{t=0}^{T-1} \Phi_t \tag*{(43)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ 0 ∗ ∥ 2 2 + τ ( 1 − γ ) 2 T 4 m A ∣Λ∣ t = 0 ∑ T − 1 Φ t (43)
It remains to bound 1 T ∑ t = 0 T − 1 Φ t \frac{1}{T}\sum_{t=0}^{T-1}\Phi_t T 1 ∑ t = 0 T − 1 Φ t . We next derive a recursive bound on the optimization error, relating iteration t + 1 t+1 t + 1 to iteration t t t with additional drift term between λ t \lambda_t λ t and λ t + 1 \lambda_{t+1} λ t + 1 .
At iteration t + 1 t+1 t + 1 , instantiating the PolicyOptimization method using the NPG update in Equation (113) with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , ⋄ = R t + 1 \diamond= R_{t+1} ⋄ = R t + 1 , π 0 = π t \pi_0 = \pi_t π 0 = π t , and K = 1 K = 1 K = 1 . The policy returned π t + 1 = π K \pi_{t+1} = \pi_K π t + 1 = π K thus satisfies, by Lemma 9 with K = 1 K = 1 K = 1
⟹ Φ t + 1 ≤ 1 + γ 2 Φ t + m ( 1 + γ ) ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ (44) \Longrightarrow\Phi_{t+1} \le\frac{1+\gamma}{2}\Phi_t + \frac{m(1+\gamma)}{(1-\gamma)^2}\lVert\lambda_t-\lambda_{t+1}\rVert_\infty \tag*{(44)} ⟹ Φ t + 1 ≤ 2 1 + γ Φ t + ( 1 − γ ) 2 m ( 1 + γ ) ∥ λ t − λ t + 1 ∥ ∞ (44)
Using the Lipschitz property of ∇ ~ D τ ( λ t ) \tilde{\nabla}D_\tau(\lambda_t) ∇ ~ D τ ( λ t ) , we next bound the drift term ∥ λ t − λ t + 1 ∥ ∞ \lVert\lambda_t-\lambda_{t+1}\rVert_\infty ∥ λ t − λ t + 1 ∥ ∞ . Recall for any λ ∈ R m \lambda\in\mathbb{R}^m λ ∈ R m , i ∈ [ m ] i \in[m] i ∈ [ m ] ,
[ ∇ ~ D τ ( λ ) ] i = V c i π ( ρ ) − b i ≤ 1 1 − γ . (Since c i ∈ [ 0 , 1 ] S A and b i ≥ 0 ) [\tilde{\nabla}D_\tau(\lambda)]_i = V_{c_i}^{\pi}(\rho)-b_i \le\frac{1}{1-\gamma}.
\qquad\text{(Since } c_i \in[0,1]^{SA} \text{ and } b_i \ge0\text{)} [ ∇ ~ D τ ( λ ) ] i = V c i π ( ρ ) − b i ≤ 1 − γ 1 . (Since c i ∈ [ 0 , 1 ] S A and b i ≥ 0 )
⟹ ∥ ∇ ~ D τ ( λ ) ∥ 2 2 ≤ m ( 1 − γ ) 2 (45) \Longrightarrow\lVert\tilde{\nabla}D_\tau(\lambda)\rVert_2^2 \le\frac{m}{(1-\gamma)^2} \tag*{(45)} ⟹ ∥ ∇ ~ D τ ( λ ) ∥ 2 2 ≤ ( 1 − γ ) 2 m (45)
Hence,
⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ( ∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥ ) = ∥ Proj Λ [ λ t ] − Proj Λ [ λ t − β ∇ ~ D τ ( λ t ) ] ∥ (By the update in Algorithm 1 (line 5) with μ = 0 and since λ t ∈ Λ ) ≤ β ∥ ∇ ~ D τ ( λ t ) ∥ (Since projections are non-expansive and λ t ∈ Λ ) \begin{aligned}
\Longrightarrow\lVert\lambda_t-\lambda_{t+1}\rVert_\infty\le\lVert\lambda_t-\lambda_{t+1}\rVert
\qquad(\lVert\cdot\rVert_\infty\le\lVert\cdot\rVert) \\
&= \lVert\operatorname{Proj}_{\Lambda}[\lambda_t]-\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\tilde{\nabla}D_\tau(\lambda_t)]\rVert
\qquad\text{(By the update in Algorithm 1 (line 5) with } \mu=0 \text{ and since } \lambda_t \in\Lambda\text{)} \\
&\le\beta\lVert\tilde{\nabla}D_\tau(\lambda_t)\rVert
\qquad\text{(Since projections are non-expansive and } \lambda_t \in\Lambda\text{)}
\end{aligned} ⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ (∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥) = ∥ Proj Λ [ λ t ] − Proj Λ [ λ t − β ∇ ~ D τ ( λ t )]∥ (By the update in Algorithm 1 (line 5) with μ = 0 and since λ t ∈ Λ ) ≤ β ∥ ∇ ~ D τ ( λ t )∥ (Since projections are non-expansive and λ t ∈ Λ )
⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ≤ m 1 − γ β (46) \Longrightarrow\lVert\lambda_t-\lambda_{t+1}\rVert_\infty\le\lVert\lambda_t-\lambda_{t+1}\rVert\le\frac{\sqrt{m}}{1-\gamma}\beta \tag*{(46)} ⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ≤ 1 − γ m β (46)
⟹ Φ t + 1 ≤ 1 + γ 2 Φ t + m 3 / 2 ( 1 + γ ) ( 1 − γ ) 3 β (47) \Longrightarrow\Phi_{t+1} \le\frac{1+\gamma}{2}\Phi_t + \frac{m^{3/2}(1+\gamma)}{(1-\gamma)^3}\beta \tag*{(47)} ⟹ Φ t + 1 ≤ 2 1 + γ Φ t + ( 1 − γ ) 3 m 3/2 ( 1 + γ ) β (47)
Note that since γ < 1 \gamma< 1 γ < 1 , 1 + γ 2 < 1 \frac{1+\gamma}{2}<1 2 1 + γ < 1 . Hence, by Proposition 5 with κ = 1 + γ 2 \kappa= \frac{1+\gamma}{2} κ = 2 1 + γ , ν = m 3 / 2 ( 1 + γ ) ( 1 − γ ) 3 β \nu= \frac{m^{3/2}(1+\gamma)}{(1-\gamma)^3}\beta ν = ( 1 − γ ) 3 m 3/2 ( 1 + γ ) β ,
1 T ∑ t = 0 T − 1 Φ t ≤ 2 Φ 0 ( 1 − γ ) T + 2 m 3 / 2 ( 1 + γ ) β ( 1 − γ ) 4 \frac{1}{T}\sum_{t=0}^{T-1}\Phi_t \le\frac{2\Phi_0}{(1-\gamma)T}+\frac{2m^{3/2}(1+\gamma)\beta}{(1-\gamma)^4} T 1 t = 0 ∑ T − 1 Φ t ≤ ( 1 − γ ) T 2 Φ 0 + ( 1 − γ ) 4 2 m 3/2 ( 1 + γ ) β
Using the above bound with Equation (43) , we have
D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ ∥ λ 0 ∗ ∥ 2 2 2 β T + 4 m A ∣ Λ ∣ τ ( 1 − γ ) 2 T ∑ t = 0 T − 1 Φ t ≤ O ( 1 β T ) + O ( 1 τ T ) + O ( β τ ) \begin{aligned}
D_\tau(\bar{\lambda}_T)-D_\tau(\lambda_\tau^*) \le\frac{\lVert\lambda_0^*\rVert_2^2}{2\beta T}+\frac{4\sqrt{m}A|\Lambda|}{\tau(1-\gamma)^2T}\sum_{t=0}^{T-1}\Phi_t \\
&\le\mathcal{O}\left(\frac{1}{\beta T}\right)+\mathcal{O}\left(\frac{1}{\tau T}\right)+\mathcal{O}\left(\frac{\beta}{\tau}\right)
\end{aligned} D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ 2 β T ∥ λ 0 ∗ ∥ 2 2 + τ ( 1 − γ ) 2 T 4 m A ∣Λ∣ t = 0 ∑ T − 1 Φ t ≤ O ( β T 1 ) + O ( τ T 1 ) + O ( τ β )
Using the above dual sub-optimality guarantee from Lemma 1 with Δ = O ( 1 β T ) + O ( 1 τ T ) + O ( β τ ) \Delta= \mathcal{O}\left(\frac{1}{\beta T}\right)+\mathcal{O}\left(\frac{1}{\tau T}\right)+\mathcal{O}\left(\frac{\beta}{\tau}\right) Δ = O ( β T 1 ) + O ( τ T 1 ) + O ( τ β ) , we have
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( 1 τ ( 1 β T + 1 τ T + β τ ) ) + O ( τ ) ≤ O ( 1 τ β T ) + O ( β τ ) + O ( τ ) \begin{aligned}
V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda_T,\tau}}(\rho)\le O\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\frac{1}{\sqrt{\tau T}}+\frac{\sqrt{\beta}}{\sqrt{\tau}}\right)\right)+O(\tau) \\
&\le O\left(\frac{1}{\sqrt{\tau\beta T}}\right)+O\left(\frac{\sqrt{\beta}}{\tau}\right)+O(\tau)
\end{aligned} V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( τ 1 ( β T 1 + τ T 1 + τ β ) ) + O ( τ ) ≤ O ( τ β T 1 ) + O ( τ β ) + O ( τ )
max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ ( 1 β T + 1 τ T + β τ ) ) ∀ i ∈ [ m ] ≤ O ( 1 τ β T ) + O ( β τ ) ∀ i ∈ [ m ] . \begin{aligned}
\max\left\{b_i-V_{c_i}^{\pi^*_{\lambda_T,\tau}}(\rho),0\right\}\le O\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\frac{1}{\sqrt{\tau T}}+\frac{\sqrt{\beta}}{\sqrt{\tau}}\right)\right)\qquad\forall i\in[m] \\
&\le O\left(\frac{1}{\sqrt{\tau\beta T}}\right)+O\left(\frac{\sqrt{\beta}}{\tau}\right)\qquad\forall i\in[m].
\end{aligned} max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 ( β T 1 + τ T 1 + τ β ) ) ∀ i ∈ [ m ] ≤ O ( τ β T 1 ) + O ( τ β ) ∀ i ∈ [ m ] .
Hence, setting τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) and T = O ( 1 / ϵ 7 ) T=O(1/\epsilon^7) T = O ( 1/ ϵ 7 ) ensures
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda_T,\tau}}(\rho)\le O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^*_{\lambda_T,\tau}}(\rho),0\right\}\le O(\epsilon)\qquad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG update to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_T) R ( λ ˉ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ( 1 / ϵ 7 ) T=O(1/\epsilon^7) T = O ( 1/ ϵ 7 ) outer iterations requires K = 1 K=1 K = 1 iterations, and the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is
T K + N = O ( T ) + O ( ln ( 1 ϵ ) ) = O ~ ( 1 ϵ 7 ) TK+N=O(T)+O\left(\ln\left(\frac{1}{\epsilon}\right)\right)=\widetilde{O}\left(\frac{1}{\epsilon^7}\right) T K + N = O ( T ) + O ( ln ( ϵ 1 ) ) = O ( ϵ 7 1 )
Interpolating between K = 1 K=1 K = 1 and K > 1 K>1 K > 1 Inner-Iterations
Lemma 10. For any τ > 0 \tau>0 τ > 0 and t ≥ 0 t\ge0 t ≥ 0 ,
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m ∣ A ∣ ( 1 − γ ) 2 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \left\|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\right\|\le\frac{\sqrt{m}\lvert A\rvert}{(1-\gamma)^2}\left\|\ln(\pi_t^*)-\ln(\pi_t)\right\|_\infty ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ ( 1 − γ ) 2 m ∣ A ∣ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞
Proof. Follows from Equation (40) in Lemma 8.
Lemma 11. Let π t + 1 \pi_{t+1} π t + 1 denote the policy obtained from K ≥ 1 K\ge1 K ≥ 1 iterations of the exact E-NPG update with step-size η = ( 1 − γ ) / τ \eta=(1-\gamma)/\tau η = ( 1 − γ ) / τ and ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 . Then,
L t + 1 ≤ ( γ 1 − γ ) 2 K − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) 2 K L_{t+1}\le\left(\frac{\gamma}{1-\gamma}\right)^{2^{K-1}}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\|\lambda_{t+1}-\lambda_t\|+L_t\right)^{2^K} L t + 1 ≤ ( 1 − γ γ ) 2 K − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) 2 K Proof. At iteration t + 1 t+1 t + 1 , let π t + 1 = NPG ( π t , R t + 1 , τ , K ) \pi_{t+1}=\operatorname{NPG}(\pi_t,R_{t+1},\tau,K) π t + 1 = NPG ( π t , R t + 1 , τ , K ) using the NPG update in Equation (113) . Furthermore let π ^ 0 = π t \hat{\pi}_0=\pi_t π ^ 0 = π t and π ^ k \hat{\pi}_k π ^ k denote the intermediate policy for each k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ] . Then, by Lemma 23 with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 , π 0 = π ^ k \pi_0=\hat{\pi}_k π 0 = π ^ k , the sequence of policies satisfy, for all k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ]
∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∥ ∞ ) \left\|\ln(\pi_{t+1}^*)-\ln(\hat{\pi}_{k+1})\right\|_\infty\le\frac{2}{\tau}\left(\left\|Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\hat{\pi}_k}\right\|_\infty\right) ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ τ 2 ( Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∞ ) The result then follows from Lemma 20 with E = 0 E=0 E = 0 .
Theorem 6. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = O ( ϵ ) \tau= O(\epsilon) τ = O ( ϵ ) , T = O ~ ( 1 / ϵ 4 + 3 / 2 K ) T = \widetilde{O}(1/\epsilon^{4+3/2^{K}}) T = O ( 1/ ϵ 4 + 3/ 2 K ) , β = O ( ϵ 3 + 2 K 2 K ) \beta= O\left(\epsilon^{\frac{3+2^{K}}{2^{K}}}\right) β = O ( ϵ 2 K 3 + 2 K ) , μ = 0 \mu= 0 μ = 0 , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 (ii) using the exact E-NPG update in Equation (113) with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K \ge1 K ≥ 1 , J = O ( ln ( 1 / ϵ ) ) J = O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) and (iii) the initial policy satisfies L 0 ≤ O ( β / τ ) 2 K L_0 \le O(\beta/\tau)^{2^{K}} L 0 ≤ O ( β / τ ) 2 K Algorithm 1 return an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 4 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{4+3/2^{K}}) O ( 1/ ϵ 4 + 3/ 2 K ) gradient evaluations.
Proof. This proof proceeds similar to Theorem 5. By Lemma 10, for all t ≥ 0 t \ge0 t ≥ 0 , we can relate the approximate dual gradient to an optimization error term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m A ( 1 − γ ) 2 L t \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le\frac{\sqrt{m}A}{(1-\gamma)^2}L_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ ( 1 − γ ) 2 m A L t
where L t : = ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ L_t := \lVert\ln(\pi_t^*)-\ln(\pi_t)\rVert_\infty L t := ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ . Moreover, by Lemma 2, the dual D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is m τ ( 1 − γ ) 3 \frac{m}{\tau(1-\gamma)^3} τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 3 with δ t = m A ( 1 − γ ) 2 L t \delta_t=\frac{\sqrt{m}A}{(1-\gamma)^2}L_t δ t = ( 1 − γ ) 2 m A L t , Algorithm 1 using step-size β ≤ τ ( 1 − γ ) 3 m \beta\le\frac{\tau(1-\gamma)^3}{m} β ≤ m τ ( 1 − γ ) 3 , μ = 0 \mu= 0 μ = 0 and λ 0 = 0 \lambda_0 = 0 λ 0 = 0 results in the following convergence
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ ∗ ∥ 2 2 2 β T + m A ∣ Λ ∣ ( 1 − γ ) 2 T ∑ t = 0 T − 1 L t ≤ ∥ λ ∗ ∥ 2 2 2 β T + m A ∣ Λ ∣ ( 1 − γ ) 2 max t ∈ [ 0 , T − 1 ] L t (48) D_{\tau}(\bar{\lambda}_T)-D_{\tau}(\lambda^*) \le\frac{\lVert\lambda^*\rVert_2^2}{2\beta T}+\frac{\sqrt{m}A|\Lambda|}{(1-\gamma)^2T}\sum_{t=0}^{T-1}L_t \le\frac{\lVert\lambda^*\rVert_2^2}{2\beta T}+\frac{\sqrt{m}A|\Lambda|}{(1-\gamma)^2}\max_{t\in[0,T-1]}L_t \tag*{(48)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ ∗ ∥ 2 2 + ( 1 − γ ) 2 T m A ∣Λ∣ t = 0 ∑ T − 1 L t ≤ 2 β T ∥ λ ∗ ∥ 2 2 + ( 1 − γ ) 2 m A ∣Λ∣ t ∈ [ 0 , T − 1 ] max L t (48)
We next analyze the sequence { L t } t = 0 T − 1 \{L_t\}_{t=0}^{T-1} { L t } t = 0 T − 1 in order to derive a uniform bound.
At iteration t + 1 t+1 t + 1 , let π t + 1 \pi_{t+1} π t + 1 denote the policy returned after running K K K iterations of the NPG update in Equation (113) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ and ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 initialized with policy π 0 = π t \pi_0=\pi_t π 0 = π t . Then by Lemma 11 and defining n : = 2 K n:=2^K n := 2 K , C 1 : = 1 1 − γ C_1:=\frac{1}{1-\gamma} C 1 := 1 − γ 1 ,
L t + 1 ≤ C 1 n − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) n L_{t+1}\le C_1^{n-1}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert+L_t\right)^n L t + 1 ≤ C 1 n − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) n
Furthermore, using the update in line 5 of Algorithm 1 with μ = 0 \mu=0 μ = 0 since λ t ∈ Λ \lambda_t\in\Lambda λ t ∈ Λ , by Equation (46)
2 m τ ( 1 − γ ) ∥ λ t − λ t + 1 ∥ ≤ 2 m ( 1 − γ ) 2 ⏟ : = C 2 β τ \frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_t-\lambda_{t+1}\rVert\le\underbrace{\frac{2m}{(1-\gamma)^2}}_{:=C_2}\frac{\beta}{\tau} τ ( 1 − γ ) 2 m ∥ λ t − λ t + 1 ∥ ≤ := C 2 ( 1 − γ ) 2 2 m τ β
⟹ L t + 1 ≤ C 1 n − 1 ( C 2 β τ + L t ) n . \Longrightarrow L_{t+1}\le C_1^{n-1}\left(\frac{C_2\beta}{\tau}+L_t\right)^n. ⟹ L t + 1 ≤ C 1 n − 1 ( τ C 2 β + L t ) n .
Assuming the initial policy π 0 \pi_0 π 0 satisfies,
L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ 2 n C 1 n − 1 ( C 2 β τ ) n (49) L_0=\lVert\ln(\pi_0^*)-\ln(\pi_0)\rVert_\infty\le2^n C_1^{n-1}\left(\frac{C_2\beta}{\tau}\right)^n \tag*{(49)} L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ 2 n C 1 n − 1 ( τ C 2 β ) n (49)
and the step-size satisfies
β ≤ τ ( 1 − γ ) 3 8 m γ = τ 4 C 1 C 2 ⟹ C 1 C 2 β τ ≤ 1 4 \beta\le\frac{\tau(1-\gamma)^3}{8m\gamma}=\frac{\tau}{4C_1C_2}\Longrightarrow\frac{C_1C_2\beta}{\tau}\le\frac14 β ≤ 8 mγ τ ( 1 − γ ) 3 = 4 C 1 C 2 τ ⟹ τ C 1 C 2 β ≤ 4 1
we have,
2 n ( C 1 C 2 β τ ) n − 1 ≤ 2 n 4 − ( n − 1 ) ≤ 2 2 − n = 2 2 − 2 K ≤ 1. 2^n\left(\frac{C_1C_2\beta}{\tau}\right)^{n-1}\le2^n4^{-(n-1)}\le2^{2-n}=2^{2-2^K}\le1. 2 n ( τ C 1 C 2 β ) n − 1 ≤ 2 n 4 − ( n − 1 ) ≤ 2 2 − n = 2 2 − 2 K ≤ 1.
(Since n = 2 K ≥ 2 n=2^K\ge2 n = 2 K ≥ 2 )
Hence, by Lemma 21 with κ = C 1 n − 1 \kappa=C_1^{n-1} κ = C 1 n − 1 , ν = C 2 β τ \nu=\frac{C_2\beta}{\tau} ν = τ C 2 β and e = 0 e=0 e = 0 we have, for all t ≥ 0 t\ge0 t ≥ 0
L t ≤ 2 n C 1 n − 1 ( C 2 β τ ) n = O ( ( β τ ) n ) L_t\le2^n C_1^{n-1}\left(\frac{C_2\beta}{\tau}\right)^n=O\left(\left(\frac{\beta}{\tau}\right)^n\right) L t ≤ 2 n C 1 n − 1 ( τ C 2 β ) n = O ( ( τ β ) n )
Using the above inequality with Equation (48) ,
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ ∗ ∥ 2 2 2 β T + m A ∣ Λ ∣ ( 1 − γ ) 2 T ∑ t = 0 T − 1 L t ≤ O ( 1 β T + ( β τ ) n ) D_{\tau}(\bar{\lambda}_{T})-D_{\tau}(\lambda^{*})\leq\frac{\|\lambda^{*}\|_{2}^{2}}{2\beta T}+\frac{\sqrt{m}A|\Lambda|}{(1-\gamma)^{2}T}\sum_{t=0}^{T-1}L_{t}\leq O\left(\frac{1}{\beta T}+\left(\frac{\beta}{\tau}\right)^{n}\right) D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ ∗ ∥ 2 2 + ( 1 − γ ) 2 T m A ∣Λ∣ t = 0 ∑ T − 1 L t ≤ O ( β T 1 + ( τ β ) n )
Combining the above result with Lemma 1 with Δ = O ( 1 β T + ( β τ ) n ) \Delta=O\left(\frac{1}{\beta T}+\left(\frac{\beta}{\tau}\right)^{n}\right) Δ = O ( β T 1 + ( τ β ) n )
V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ( 1 τ ( 1 β T + ( β τ ) n / 2 ) ) + O ( τ ) V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda}_{T}}^{*}}(\rho)\leq O\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\left(\frac{\beta}{\tau}\right)^{n/2}\right)\right)+O(\tau) V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ( τ 1 ( β T 1 + ( τ β ) n /2 ) ) + O ( τ )
max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ( 1 τ ( 1 β T + ( β τ ) n / 2 ) ) ∀ i ∈ [ m ] . \max\left\{b_{i}-V_{c_{i}}^{\pi_{\bar{\lambda}_{T}}^{*}}(\rho),0\right\}\leq O\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\left(\frac{\beta}{\tau}\right)^{n/2}\right)\right)\quad\forall i\in[m]. max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ( τ 1 ( β T 1 + ( τ β ) n /2 ) ) ∀ i ∈ [ m ] .
To obtain an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy, we require each term to be O ( ϵ ) O(\epsilon) O ( ϵ ) . Setting τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , it suffices to set the step-size such that
O ( 1 ϵ β n / 2 ϵ n / 2 ) ≤ O ( ϵ ) ⟹ β ≤ O ( ϵ 3 + n n ) O\left(\frac{1}{\sqrt{\epsilon}}\frac{\beta^{n/2}}{\epsilon^{n/2}}\right)\leq O(\epsilon)\Longrightarrow\beta\leq O\left(\epsilon^{\frac{3+n}{n}}\right) O ( ϵ 1 ϵ n /2 β n /2 ) ≤ O ( ϵ ) ⟹ β ≤ O ( ϵ n 3 + n )
Next, to determine the number of outer-iterations T T T ,
O ( 1 ϵ ( 1 β T ) ) ≤ O ( ϵ ) ⟹ O ( 1 β T ) ≤ O ( ϵ 3 / 2 ) ⟹ T ≥ O ( 1 β ϵ 3 ) = O ( 1 ϵ 4 n + 3 n ) . O\left(\frac{1}{\sqrt{\epsilon}}\left(\frac{1}{\sqrt{\beta T}}\right)\right)\leq O(\epsilon)\Longrightarrow O\left(\frac{1}{\sqrt{\beta T}}\right)\leq O(\epsilon^{3/2})\Longrightarrow T\geq O\left(\frac{1}{\beta\epsilon^{3}}\right)=O\left(\frac{1}{\epsilon^{\frac{4n+3}{n}}}\right). O ( ϵ 1 ( β T 1 ) ) ≤ O ( ϵ ) ⟹ O ( β T 1 ) ≤ O ( ϵ 3/2 ) ⟹ T ≥ O ( β ϵ 3 1 ) = O ( ϵ n 4 n + 3 1 ) .
Since n = 2 K n=2^{K} n = 2 K , further setting β = O ( ϵ 3 + 2 K 2 K ) \beta=O\left(\epsilon^{\frac{3+2^{K}}{2^{K}}}\right) β = O ( ϵ 2 K 3 + 2 K ) , T = O ( 1 ϵ 4 + 3 2 K ) T=O\left(\frac{1}{\epsilon^{4+\frac{3}{2^{K}}}}\right) T = O ( ϵ 4 + 2 K 3 1 ) , we have
V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\bar{\lambda}_{T}}^{*}}(\rho)\leq O(\epsilon)\quad\text{and}\quad\max\left\{b_{i}-V_{c_{i}}^{\pi_{\bar{\lambda}_{T}}^{*}}(\rho),0\right\}\leq O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG update to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_{T}) R ( λ ˉ T ) recovers a policy π N \pi_{N} π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ( 1 ϵ 4 + 3 2 K ) T=O\left(\frac{1}{\epsilon^{4+\frac{3}{2^{K}}}}\right) T = O ( ϵ 4 + 2 K 3 1 ) outer iterations requires K ≥ 1 K\geq1 K ≥ 1 iterations. For the first iteration only, in order to satisfy Equation (49) , we require
L 0 ≤ 2 n C 1 n − 1 ( C 2 β τ ) n ≤ O ( ϵ 3 ) L_{0}\leq2^{n}C_{1}^{n-1}\left(\frac{C_{2}\beta}{\tau}\right)^{n}\leq O(\epsilon^{3}) L 0 ≤ 2 n C 1 n − 1 ( τ C 2 β ) n ≤ O ( ϵ 3 )
By Lemma 23 with ⋄ = R ( λ 0 ) \diamond=R(\lambda_{0}) ⋄ = R ( λ 0 ) and η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ ensures L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ Θ ( ϵ 3 ) L_{0}=\|\ln(\pi_{0}^{*})-\ln(\pi_{0})\|_{\infty}\leq\Theta(\epsilon^{3}) L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ Θ ( ϵ 3 ) after K 0 = O ( ln ( 1 / ϵ ) ) K_{0}=O(\ln(1/\epsilon)) K 0 = O ( ln ( 1/ ϵ )) initial iterations. Finally, to recover a deployable policy the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is O ~ ( 1 ϵ 4 + 3 2 K ) \widetilde{O}\left(\frac{1}{\epsilon^{4+\frac{3}{2^{K}}}}\right) O ( ϵ 4 + 2 K 3 1 ) .
Faster Convergence Rates Using ℓ 2 \ell_{2} ℓ 2 Regularization
Throughout this section we analyze Algorithm 1 with dual regularization ℓ 2 \ell_{2} ℓ 2 parameter μ > 0 \mu>0 μ > 0 . Recall that the dual update in Algorithm 1 (line 5), λ t + 1 = Proj Λ [ ( 1 − μ β t ) λ t − β t ∇ D ~ τ ( λ t ) ] \lambda_{t+1}=\operatorname{Proj}_{\Lambda}\left[(1-\mu\beta_{t})\lambda_{t}-\beta_{t}\nabla\widetilde{D}_{\tau}(\lambda_{t})\right] λ t + 1 = Proj Λ [ ( 1 − μ β t ) λ t − β t ∇ D τ ( λ t ) ] , is precisely the projected gradient descent with inexact gradients on the regularized dual, i.e.,
D τ , μ ( λ ) : = D τ ( λ ) + μ 2 ∥ λ ∥ 2 2 ; [ ∇ D τ , μ ( λ ) ] i = V c i π λ ∗ τ ( ρ ) − b i ⏟ = [ ∇ D τ ( λ ) ] i + μ λ i ∀ i ∈ [ m ] , (50) D_{\tau,\mu}(\lambda):=D_{\tau}(\lambda)+\frac{\mu}{2}\|\lambda\|_{2}^{2}\ ;\ [\nabla D_{\tau,\mu}(\lambda)]_{i}=\underbrace{V_{c_{i}}^{\pi_{\lambda}^{*}\tau}(\rho)-b_{i}}_{=[\nabla D_{\tau}(\lambda)]_{i}}+\mu\lambda_{i}\quad\forall i\in[m], \tag*{(50)} D τ , μ ( λ ) := D τ ( λ ) + 2 μ ∥ λ ∥ 2 2 ; [ ∇ D τ , μ ( λ ) ] i = = [ ∇ D τ ( λ ) ] i V c i π λ ∗ τ ( ρ ) − b i + μ λ i ∀ i ∈ [ m ] , (50)
and let ∇ ~ D τ , μ ( λ t ) : = ∇ ~ D τ ( λ t ) + μ λ t \widetilde{\nabla}D_{\tau,\mu}(\lambda_t) := \widetilde{\nabla}D_\tau(\lambda_t) + \mu\lambda_t ∇ D τ , μ ( λ t ) := ∇ D τ ( λ t ) + μ λ t . We denote its minimizer by
λ τ , μ ∗ : = arg min λ ∈ R + m D τ , μ ( λ ) , (51) \lambda_{\tau,\mu}^{*} := \arg\min_{\lambda\in\mathbb{R}_{+}^{m}} D_{\tau,\mu}(\lambda), \tag*{(51)} λ τ , μ ∗ := arg λ ∈ R + m min D τ , μ ( λ ) , (51)
and since D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is convex, D τ , μ ( λ ) D_{\tau,\mu}(\lambda) D τ , μ ( λ ) is μ \mu μ -strongly convex. Moreover, by the smoothness of D τ ( λ ) D_\tau(\lambda) D τ ( λ ) established in Lemma 2, D τ , μ D_{\tau,\mu} D τ , μ is m τ ( 1 − γ ) 3 + μ \frac{m}{\tau(1-\gamma)^3}+\mu τ ( 1 − γ ) 3 m + μ -smooth. Before proceeding with the main theorem, we present a couple of technical tools.
Lemma 16. Under Assumption 1, for any μ > 0 \mu>0 μ > 0 and τ > 0 \tau>0 τ > 0 , the regularized dual λ τ , μ ∗ = arg min λ ∈ R + m D τ , μ ( λ ) \lambda_{\tau,\mu}^{*}=\arg\min_{\lambda\in\mathbb{R}_{+}^{m}}D_{\tau,\mu}(\lambda) λ τ , μ ∗ = arg min λ ∈ R + m D τ , μ ( λ ) satisfies
[ λ τ , μ ∗ ] i ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) ζ i ∀ i ∈ [ m ] [\lambda_{\tau,\mu}^{*}]_i \le\frac{2+2\tau\ln(A)}{(1-\gamma)\zeta_i}\qquad\forall i\in[m] [ λ τ , μ ∗ ] i ≤ ( 1 − γ ) ζ i 2 + 2 τ ln ( A ) ∀ i ∈ [ m ] where ζ i = V c i π ˉ ( ρ ) − b i > 0 \zeta_i=V_{c_i}^{\bar{\pi}}(\rho)-b_i>0 ζ i = V c i π ˉ ( ρ ) − b i > 0 and π ˉ \bar{\pi} π ˉ is the policy that satisfies Slater’s condition. Consequently, for any λ ∈ Λ \lambda\in\Lambda λ ∈ Λ ,
∥ λ − λ τ , μ ∗ ∥ ≤ m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i \|\lambda-\lambda_{\tau,\mu}^{*}\| \le\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i} ∥ λ − λ τ , μ ∗ ∥ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ ln ( A ))
Proof. Since λ τ , μ ∗ = arg min λ ∈ R + m D τ , μ ( λ ) \lambda_{\tau,\mu}^{*}=\arg\min_{\lambda\in\mathbb{R}_{+}^{m}}D_{\tau,\mu}(\lambda) λ τ , μ ∗ = arg min λ ∈ R + m D τ , μ ( λ ) , we have
D τ , μ ( λ τ , μ ∗ ) ≤ D τ , μ ( 0 ) = D τ ( 0 ) = max π L τ ( π , 0 ) = max π V r , τ π ( ρ ) (52) D_{\tau,\mu}(\lambda_{\tau,\mu}^{*})\le D_{\tau,\mu}(0)=D_\tau(0)=\max_{\pi}\mathcal{L}_\tau(\pi,0)=\max_{\pi}V_{r,\tau}^{\pi}(\rho) \tag*{(52)} D τ , μ ( λ τ , μ ∗ ) ≤ D τ , μ ( 0 ) = D τ ( 0 ) = π max L τ ( π , 0 ) = π max V r , τ π ( ρ ) (52)
Furthermore,
D τ , μ ( λ τ , μ ∗ ) = D τ ( λ τ , μ ∗ ) + μ 2 ∥ λ τ , μ ∗ ∥ 2 2 ≥ D τ ( λ τ , μ ∗ ) (Since μ 2 ∥ λ τ , μ ∗ ∥ 2 2 ≥ 0 ) = max π L τ ( π , λ τ , μ ∗ ) ≥ L τ ( π ˉ , λ τ , μ ∗ ) \begin{aligned}
D_{\tau,\mu}(\lambda_{\tau,\mu}^{*})=D_\tau(\lambda_{\tau,\mu}^{*})+\frac{\mu}{2}\|\lambda_{\tau,\mu}^{*}\|_2^2\ge D_\tau(\lambda_{\tau,\mu}^{*}) \qquad\text{(Since }\frac{\mu}{2}\|\lambda_{\tau,\mu}^{*}\|_2^2\ge0\text{)} \\
&=\max_{\pi}\mathcal{L}_\tau(\pi,\lambda_{\tau,\mu}^{*})\ge\mathcal{L}_\tau(\bar{\pi},\lambda_{\tau,\mu}^{*})
\end{aligned} D τ , μ ( λ τ , μ ∗ ) = D τ ( λ τ , μ ∗ ) + 2 μ ∥ λ τ , μ ∗ ∥ 2 2 ≥ D τ ( λ τ , μ ∗ ) (Since 2 μ ∥ λ τ , μ ∗ ∥ 2 2 ≥ 0 ) = π max L τ ( π , λ τ , μ ∗ ) ≥ L τ ( π ˉ , λ τ , μ ∗ )
(Under Assumption 1, there exist a policy π ˉ \bar{\pi} π ˉ such that ζ i = V c i π ˉ ( ρ ) − b i > 0 \zeta_i=V_{c_i}^{\bar{\pi}}(\rho)-b_i>0 ζ i = V c i π ˉ ( ρ ) − b i > 0 for all i ∈ [ m ] i\in[m] i ∈ [ m ] )
= V r , τ π ˉ ( ρ ) + ∑ i = 1 m [ λ τ , μ ∗ ] i ( V c i π ˉ ( ρ ) − b i ) (Definition of L τ ( π , λ ) ) = V r , τ π ˉ ( ρ ) + ∑ i = 1 m [ λ τ , μ ∗ ] i ζ i \begin{aligned}
=V_{r,\tau}^{\bar{\pi}}(\rho)+\sum_{i=1}^{m}[\lambda_{\tau,\mu}^{*}]_i\left(V_{c_i}^{\bar{\pi}}(\rho)-b_i\right) \qquad\text{(Definition of }\mathcal{L}_\tau(\pi,\lambda)\text{)} \\
&=V_{r,\tau}^{\bar{\pi}}(\rho)+\sum_{i=1}^{m}[\lambda_{\tau,\mu}^{*}]_i\zeta_i
\end{aligned} = V r , τ π ˉ ( ρ ) + i = 1 ∑ m [ λ τ , μ ∗ ] i ( V c i π ˉ ( ρ ) − b i ) (Definition of L τ ( π , λ ) ) = V r , τ π ˉ ( ρ ) + i = 1 ∑ m [ λ τ , μ ∗ ] i ζ i
⟹ ∑ i = 1 m [ λ τ , μ ∗ ] i ζ i ≤ D τ , μ ( λ τ , μ ∗ ) − V r , τ π ˉ ( ρ ) (53) \Longrightarrow\sum_{i=1}^{m}[\lambda_{\tau,\mu}^{*}]_i\zeta_i\le D_{\tau,\mu}(\lambda_{\tau,\mu}^{*})-V_{r,\tau}^{\bar{\pi}}(\rho) \tag*{(53)} ⟹ i = 1 ∑ m [ λ τ , μ ∗ ] i ζ i ≤ D τ , μ ( λ τ , μ ∗ ) − V r , τ π ˉ ( ρ ) (53)
Combining Equations (52) and (53) and noting that since λ τ , μ ∗ ∈ R + m \lambda_{\tau,\mu}^{*}\in\mathbb{R}_{+}^{m} λ τ , μ ∗ ∈ R + m and ζ i > 0 \zeta_i>0 ζ i > 0 for all i ∈ [ m ] i\in[m] i ∈ [ m ] , every term of the sum is non-negative, and hence for each i ∈ [ m ] i\in[m] i ∈ [ m ] ,
[ λ τ , μ ∗ ] i ≤ max π V r , τ π ( ρ ) − V r , τ π ˉ ( ρ ) ζ i ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) ζ i . (Since V r , τ π ( ρ ) ∈ [ 0 , 2 + 2 τ ln ( A ) 1 − γ ] ) [\lambda_{\tau,\mu}^{*}]_i\le\frac{\max_{\pi}V_{r,\tau}^{\pi}(\rho)-V_{r,\tau}^{\bar{\pi}}(\rho)}{\zeta_i}\le\frac{2+2\tau\ln(A)}{(1-\gamma)\zeta_i}. \qquad\text{(Since }V_{r,\tau}^{\pi}(\rho)\in\left[0,\frac{2+2\tau\ln(A)}{1-\gamma}\right]\text{)} [ λ τ , μ ∗ ] i ≤ ζ i max π V r , τ π ( ρ ) − V r , τ π ˉ ( ρ ) ≤ ( 1 − γ ) ζ i 2 + 2 τ ln ( A ) . (Since V r , τ π ( ρ ) ∈ [ 0 , 1 − γ 2 + 2 τ ln ( A ) ] )
Moreover, since for all i ∈ [ m ] i\in[m] i ∈ [ m ] , λ i ∈ [ 0 , 2 + 2 τ ln ( A ) ( 1 − γ ) min i ∈ [ m ] ζ i ] \lambda_i\in\left[0,\frac{2+2\tau\ln(A)}{(1-\gamma)\min_{i\in[m]}\zeta_i}\right] λ i ∈ [ 0 , ( 1 − γ ) m i n i ∈ [ m ] ζ i 2 + 2 τ l n ( A ) ] ,
∥ λ − λ τ , μ ∗ ∥ ∞ ≤ 2 + 2 τ ln ( A ) ( 1 − γ ) min i ∈ [ m ] ζ i ⟹ ∥ λ − λ τ , μ ∗ ∥ ≤ m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i . \|\lambda-\lambda_{\tau,\mu}^{*}\|_\infty\le\frac{2+2\tau\ln(A)}{(1-\gamma)\min_{i\in[m]}\zeta_i}\Longrightarrow\|\lambda-\lambda_{\tau,\mu}^{*}\|\le\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i}. ∥ λ − λ τ , μ ∗ ∥ ∞ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i 2 + 2 τ ln ( A ) ⟹ ∥ λ − λ τ , μ ∗ ∥ ≤ ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ ln ( A )) .
Lemma 17. For any μ > 0 \mu> 0 μ > 0 and τ > 0 \tau> 0 τ > 0 , the regularized dual solution λ τ , μ ∗ : = arg min λ ∈ R + m D τ , μ ( λ ) \lambda_{\tau,\mu}^{*} := \arg\min_{\lambda\in\mathbb{R}_{+}^{m}} \mathcal{D}_{\tau,\mu}(\lambda) λ τ , μ ∗ := arg min λ ∈ R + m D τ , μ ( λ ) satisfies, for all i ∈ [ m ] i \in[m] i ∈ [ m ] ,
[ ∇ D τ , μ ( λ τ , μ ∗ ) ] i ≥ 0 (54) [\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_{i} \ge0 \tag*{(54)} [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i ≥ 0 (54) [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 (55) [\lambda_{\tau,\mu}^{*}]_{i}[\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_{i} = 0 \tag*{(55)} [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 (55) max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = μ [ λ τ , μ ∗ ] i (56) \max\left\{b_i - V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\} = \mu[\lambda_{\tau,\mu}^{*}]_{i} \tag*{(56)} max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = μ [ λ τ , μ ∗ ] i (56) ⟨ λ τ , μ ∗ , V c π λ , μ , τ ∗ ( ρ ) − b ⟩ = − μ ∥ λ τ , μ ∗ ∥ 2 2 ≤ 0 (57) \left\langle\lambda_{\tau,\mu}^{*}, V_{c}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) - b \right\rangle= -\mu\lVert\lambda_{\tau,\mu}^{*} \rVert_{2}^{2} \le0 \tag*{(57)} ⟨ λ τ , μ ∗ , V c π λ , μ , τ ∗ ( ρ ) − b ⟩ = − μ ∥ λ τ , μ ∗ ∥ 2 2 ≤ 0 (57) where π λ , μ , τ ∗ : = arg max π L τ ( π , λ τ , μ ∗ ) \pi_{\lambda,\mu,\tau}^{*} := \arg\max_{\pi} \mathcal{L}_{\tau}(\pi,\lambda_{\tau,\mu}^{*}) π λ , μ , τ ∗ := arg max π L τ ( π , λ τ , μ ∗ ) .
Proof. To prove the first and second identities, we consider the Lagrangian to the optimization problem in Equation (51)
L ( λ , ν ) : = D τ , μ ( λ ) − ∑ i = 1 m ν i λ i = D τ ( λ ) + μ 2 ∥ λ ∥ 2 2 − ∑ i = 1 m ν i λ i . \mathcal{L}(\lambda,\nu) := \mathcal{D}_{\tau,\mu}(\lambda) - \sum_{i=1}^{m}\nu_i\lambda_i = \mathcal{D}_{\tau}(\lambda) + \frac{\mu}{2}\lVert\lambda\rVert_{2}^{2} - \sum_{i=1}^{m}\nu_i\lambda_i. L ( λ , ν ) := D τ , μ ( λ ) − i = 1 ∑ m ν i λ i = D τ ( λ ) + 2 μ ∥ λ ∥ 2 2 − i = 1 ∑ m ν i λ i .
where ν i ≥ 0 \nu_i \ge0 ν i ≥ 0 is the Lagrangian multiplier for each i ∈ [ m ] i \in[m] i ∈ [ m ] . Since D τ ( λ ) \mathcal{D}_{\tau}(\lambda) D τ ( λ ) is convex and differentiable and the constraints are linear, the KKT conditions are both necessary and sufficient for optimality of λ τ , μ ∗ \lambda_{\tau,\mu}^{*} λ τ , μ ∗ [4 ] . Therefore there exists ν ∗ ∈ R m \nu^{*} \in\mathbb{R}^{m} ν ∗ ∈ R m such that
∇ λ L ( λ τ , μ ∗ , ν ∗ ) = ∇ D τ , μ ( λ τ , μ ∗ ) − ν ∗ = 0 (Stationarity) \nabla_{\lambda}\mathcal{L}(\lambda_{\tau,\mu}^{*},\nu^{*}) = \nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*}) - \nu^{*} = 0 \qquad\text{(Stationarity)} ∇ λ L ( λ τ , μ ∗ , ν ∗ ) = ∇ D τ , μ ( λ τ , μ ∗ ) − ν ∗ = 0 (Stationarity)
ν i ∗ ≥ 0 ∀ i ∈ [ m ] (Dual feasibility) \nu_i^{*} \ge0 \quad\forall i \in[m] \qquad\text{(Dual feasibility)} ν i ∗ ≥ 0 ∀ i ∈ [ m ] (Dual feasibility)
[ λ τ , μ ∗ ] i ≥ 0 ∀ i ∈ [ m ] (Primal feasibility) [\lambda_{\tau,\mu}^{*}]_i \ge0 \quad\forall i \in[m] \qquad\text{(Primal feasibility)} [ λ τ , μ ∗ ] i ≥ 0 ∀ i ∈ [ m ] (Primal feasibility)
ν i ∗ [ λ τ , μ ∗ ] i = 0 ∀ i ∈ [ m ] (Complementary slackness) \nu_i^{*}[\lambda_{\tau,\mu}^{*}]_i = 0 \quad\forall i \in[m] \qquad\text{(Complementary slackness)} ν i ∗ [ λ τ , μ ∗ ] i = 0 ∀ i ∈ [ m ] (Complementary slackness)
Substituting [ ν ∗ ] i = [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i [\nu^{*}]_i = [\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i [ ν ∗ ] i = [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i from stationarity into dual feasibility and complementary slackness gives, for all i ∈ [ m ] i \in[m] i ∈ [ m ] ,
[ ∇ D τ , μ ( λ τ , μ ∗ ) ] i ≥ 0 ; [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 , [\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i \ge0 \ ; \ [\lambda_{\tau,\mu}^{*}]_i[\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i = 0, [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i ≥ 0 ; [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 ,
To prove the third and forth inequalities, we consider the cases where for a fixed i ∈ [ m ] i \in[m] i ∈ [ m ] , [ λ τ , μ ∗ ] i = 0 [\lambda_{\tau,\mu}^{*}]_i = 0 [ λ τ , μ ∗ ] i = 0 or [ λ τ , μ ∗ ] i > 0 [\lambda_{\tau,\mu}^{*}]_i > 0 [ λ τ , μ ∗ ] i > 0 . If [ λ τ , μ ∗ ] i = 0 [\lambda_{\tau,\mu}^{*}]_i = 0 [ λ τ , μ ∗ ] i = 0 , then by Equation (54)
0 ≤ [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = V c i π λ , μ , τ ∗ ( ρ ) − b i + μ [ λ τ , μ ∗ ] i ⏟ = 0 ⟹ V c i π λ , μ , τ ∗ ( ρ ) ≥ b i . 0 \le[\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i = V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) - b_i + \mu\underbrace{[\lambda_{\tau,\mu}^{*}]_i}_{=0} \Longrightarrow V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) \ge b_i. 0 ≤ [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = V c i π λ , μ , τ ∗ ( ρ ) − b i + μ = 0 [ λ τ , μ ∗ ] i ⟹ V c i π λ , μ , τ ∗ ( ρ ) ≥ b i .
⟹ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = 0 = μ [ λ τ , μ ∗ ] i . \Longrightarrow\max\left\{b_i - V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\} = 0 = \mu[\lambda_{\tau,\mu}^{*}]_i. ⟹ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = 0 = μ [ λ τ , μ ∗ ] i .
Otherwise if [ λ τ , μ ∗ ] i > 0 [\lambda_{\tau,\mu}^{*}]_i > 0 [ λ τ , μ ∗ ] i > 0 , by Equation (55) ,
V c i π λ , μ , τ ∗ ( ρ ) − b i + μ [ λ τ , μ ∗ ] i = 0 ⟹ b i − V c i π λ , μ , τ ∗ ( ρ ) = μ [ λ τ , μ ∗ ] i > 0 V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) - b_i + \mu[\lambda_{\tau,\mu}^{*}]_i = 0 \Longrightarrow b_i - V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) = \mu[\lambda_{\tau,\mu}^{*}]_i > 0 V c i π λ , μ , τ ∗ ( ρ ) − b i + μ [ λ τ , μ ∗ ] i = 0 ⟹ b i − V c i π λ , μ , τ ∗ ( ρ ) = μ [ λ τ , μ ∗ ] i > 0
⟹ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = μ [ λ τ , μ ∗ ] i . \Longrightarrow\max\left\{b_i - V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\} = \mu[\lambda_{\tau,\mu}^{*}]_i. ⟹ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } = μ [ λ τ , μ ∗ ] i .
Combining both cases proves Equation (56) . Finally, multiplying [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i [\lambda_{\tau,\mu}^{*}]_i[\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i we have
[ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 ⟹ [ λ τ , μ ∗ ] i ( V c i π λ , μ , τ ∗ ( ρ ) − b i ) = − μ [ λ τ , μ ∗ ] i 2 ∀ i ∈ [ m ] [\lambda_{\tau,\mu}^{*}]_i[\nabla\mathcal{D}_{\tau,\mu}(\lambda_{\tau,\mu}^{*})]_i = 0 \Longrightarrow[\lambda_{\tau,\mu}^{*}]_i\left(V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho) - b_i\right) = -\mu[\lambda_{\tau,\mu}^{*}]_i^{2} \quad\forall i \in[m] [ λ τ , μ ∗ ] i [ ∇ D τ , μ ( λ τ , μ ∗ ) ] i = 0 ⟹ [ λ τ , μ ∗ ] i ( V c i π λ , μ , τ ∗ ( ρ ) − b i ) = − μ [ λ τ , μ ∗ ] i 2 ∀ i ∈ [ m ]
and summing over each i ∈ [ m ] i \in[m] i ∈ [ m ] gives Equation (57) .
Lemma 6. Under Assumption 1, for any μ > 0 \mu> 0 μ > 0 , τ > 0 \tau> 0 τ > 0 and λ ∈ Λ \lambda\in\Lambda λ ∈ Λ , the policy π λ , τ ⋆ : = arg max π V R ( λ ) , τ π ( ρ ) \pi_{\lambda,\tau}^{\star} := \arg\max_{\pi} V_{\mathsf{R}(\lambda),\tau}^{\pi}(\rho) π λ , τ ⋆ := arg max π V R ( λ ) , τ π ( ρ ) satisfies:
V r π ⋆ ( ρ ) − V r π λ , τ ⋆ ( ρ ) ≤ O ( G τ ∥ λ − λ τ , μ ⋆ ∥ ) + O ( τ ) , max { b i − V c i π λ , τ ⋆ ( ρ ) , 0 } ≤ O ( G τ ∥ λ − λ τ , μ ⋆ ∥ ) + O ( μ ) ∀ i ∈ [ m ] \begin{aligned}
V_{r}^{\pi^{\star}}(\rho)-V_{r}^{\pi_{\lambda,\tau}^{\star}}(\rho)&\leq O\left(G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{\star}\right\|\right)+O(\tau),\\
\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho),0\right\}&\leq O\left(G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{\star}\right\|\right)+O(\mu)\quad\forall i\in[m]
\end{aligned} V r π ⋆ ( ρ ) − V r π λ , τ ⋆ ( ρ ) max { b i − V c i π λ , τ ⋆ ( ρ ) , 0 } ≤ O ( G τ λ − λ τ , μ ⋆ ) + O ( τ ) , ≤ O ( G τ λ − λ τ , μ ⋆ ) + O ( μ ) ∀ i ∈ [ m ] where G τ : = m τ ( 1 − γ ) 3 G_{\tau}:=\frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m and λ τ , μ ⋆ = arg min λ ∈ Λ D τ , μ ( λ ) \lambda_{\tau,\mu}^{\star}=\arg\min_{\lambda\in\Lambda}D_{\tau,\mu}(\lambda) λ τ , μ ⋆ = arg min λ ∈ Λ D τ , μ ( λ ) .
Proof. Let μ > 0 \mu> 0 μ > 0 , τ > 0 \tau> 0 τ > 0 and λ ∈ Λ \lambda\in\Lambda λ ∈ Λ . We first consider the reward sub-optimality gap.
V r π λ , τ ⋆ ( ρ ) + τ H ( ρ , π λ , τ ⋆ ) + ∑ i = 1 m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = L τ ( π λ , τ ⋆ , λ ) ( π λ , τ ⋆ : = arg max π L τ ( π , λ ) ) ≥ L τ ( π ⋆ , λ ) = V r π ⋆ ( ρ ) + τ H ( ρ , π ⋆ ) + ∑ i = 1 m λ i [ V c i π ⋆ ( ρ ) − b i ] ⏟ ≥ 0 \begin{aligned}
V_{r}^{\pi_{\lambda,\tau}^{\star}}(\rho)+\tau\mathcal{H}(\rho,\pi_{\lambda,\tau}^{\star})+\sum_{i=1}^{m}\lambda_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]=\mathcal{L}_{\tau}(\pi_{\lambda,\tau}^{\star},\lambda)\qquad\left(\pi_{\lambda,\tau}^{\star}:=\arg\max_{\pi}\mathcal{L}_{\tau}(\pi,\lambda)\right) \\
&\geq\mathcal{L}_{\tau}(\pi^{\star},\lambda)=V_{r}^{\pi^{\star}}(\rho)+\tau\mathcal{H}(\rho,\pi^{\star})+\sum_{i=1}^{m}\lambda_i\underbrace{\left[V_{c_i}^{\pi^{\star}}(\rho)-b_i\right]}_{\geq0}
\end{aligned} V r π λ , τ ⋆ ( ρ ) + τ H ( ρ , π λ , τ ⋆ ) + i = 1 ∑ m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = L τ ( π λ , τ ⋆ , λ ) ( π λ , τ ⋆ := arg π max L τ ( π , λ ) ) ≥ L τ ( π ⋆ , λ ) = V r π ⋆ ( ρ ) + τ H ( ρ , π ⋆ ) + i = 1 ∑ m λ i ≥ 0 [ V c i π ⋆ ( ρ ) − b i ]
( π ⋆ (\pi^{\star} ( π ⋆ is the optimal policy for Problem 1) ) )
≥ V r π ⋆ ( ρ ) \geq V_{r}^{\pi^{\star}}(\rho) ≥ V r π ⋆ ( ρ )
( Since λ ∈ R + m , and entropy is non-negative ) (\text{Since }\lambda\in\mathbb{R}_{+}^{m},\text{ and entropy is non-negative}) ( Since λ ∈ R + m , and entropy is non-negative )
Rearranging the above inequality and since H ( ρ , π ) ≤ ln ( A ) 1 − γ \mathcal{H}(\rho,\pi)\leq\frac{\ln(A)}{1-\gamma} H ( ρ , π ) ≤ 1 − γ l n ( A ) ,
⟹ V r π ⋆ ( ρ ) − V r π λ , τ ⋆ ( ρ ) ≤ ln ( A ) 1 − γ τ + ∑ i = 1 m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] . (58) \Longrightarrow V_{r}^{\pi^{\star}}(\rho)-V_{r}^{\pi_{\lambda,\tau}^{\star}}(\rho)\leq\frac{\ln(A)}{1-\gamma}\tau+\sum_{i=1}^{m}\lambda_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]. \tag*{(58)} ⟹ V r π ⋆ ( ρ ) − V r π λ , τ ⋆ ( ρ ) ≤ 1 − γ ln ( A ) τ + i = 1 ∑ m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] . (58)
We decompose the remaining sum as
∑ i = 1 m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = ∑ i = 1 m [ λ − λ τ , μ ⋆ + λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] (Add/Subtract λ τ , μ ⋆ ) = ∑ i = 1 m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] + ∑ i = 1 m [ λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = ∑ i = 1 m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] + ∑ i = 1 m [ λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − V c i π λ , μ , τ ⋆ ( ρ ) ] + ∑ i = 1 m [ λ τ , μ ⋆ ] i [ V c i π λ , μ , τ ⋆ ( ρ ) − b i ] ⏟ Term (i) ⏟ Term (ii) ⏟ Term (iii) \begin{aligned}
\sum_{i=1}^{m}\lambda_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]
&=\sum_{i=1}^{m}\left[\lambda-\lambda_{\tau,\mu}^{\star}+\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right] &&\text{(Add/Subtract }\lambda_{\tau,\mu}^{\star}\text{)}\\
&=\sum_{i=1}^{m}\left[\lambda-\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]+\sum_{i=1}^{m}\left[\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]\\
&=\sum_{i=1}^{m}\left[\lambda-\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]+\sum_{i=1}^{m}\left[\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{\star}}(\rho)\right]\\
&\qquad+\sum_{i=1}^{m}\left[\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\mu,\tau}^{\star}}(\rho)-b_i\right]\\
&\underbrace{\hspace{4cm}}_{\text{Term (i)}}\qquad\underbrace{\hspace{4cm}}_{\text{Term (ii)}}\qquad\underbrace{\hspace{4cm}}_{\text{Term (iii)}}
\end{aligned} i = 1 ∑ m λ i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = i = 1 ∑ m [ λ − λ τ , μ ⋆ + λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = i = 1 ∑ m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] + i = 1 ∑ m [ λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] = i = 1 ∑ m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] + i = 1 ∑ m [ λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − V c i π λ , μ , τ ⋆ ( ρ ) ] + i = 1 ∑ m [ λ τ , μ ⋆ ] i [ V c i π λ , μ , τ ⋆ ( ρ ) − b i ] Term (i) Term (ii) Term (iii) (Add/Subtract λ τ , μ ⋆ )
( Add/Subtract V c i π λ , μ , τ ⋆ ( ρ ) ) (\text{Add/Subtract }V_{c_i}^{\pi_{\lambda,\mu,\tau}^{\star}}(\rho)) ( Add/Subtract V c i π λ , μ , τ ⋆ ( ρ ))
For Term (i), since c i ∈ [ 0 , 1 ] S A c_i\in[0,1]^{SA} c i ∈ [ 0 , 1 ] S A and b i ≥ 0 b_i\geq0 b i ≥ 0 we have ∣ V c i π λ , τ ⋆ ( ρ ) − b i ∣ ≤ 1 1 − γ \left|V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right|\leq\frac{1}{1-\gamma} V c i π λ , τ ⋆ ( ρ ) − b i ≤ 1 − γ 1 for each i ∈ [ m ] i\in[m] i ∈ [ m ] , and hence using Cauchy-Schwarz,
∑ i = 1 m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] ≤ ∥ λ − λ τ , μ ⋆ ∥ ∥ V c π λ , τ ⋆ ( ρ ) − b ∥ ≤ m 1 − γ ∥ λ − λ τ , μ ⋆ ∥ \sum_{i=1}^{m}\left[\lambda-\lambda_{\tau,\mu}^{\star}\right]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b_i\right]\leq\left\|\lambda-\lambda_{\tau,\mu}^{\star}\right\|\left\|V_{c}^{\pi_{\lambda,\tau}^{\star}}(\rho)-b\right\|\leq\frac{\sqrt{m}}{1-\gamma}\left\|\lambda-\lambda_{\tau,\mu}^{\star}\right\| i = 1 ∑ m [ λ − λ τ , μ ⋆ ] i [ V c i π λ , τ ⋆ ( ρ ) − b i ] ≤ λ − λ τ , μ ⋆ V c π λ , τ ⋆ ( ρ ) − b ≤ 1 − γ m λ − λ τ , μ ⋆
For Term (ii), by Proposition 1, [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i [\nabla D_{\tau}(\lambda)]_i = V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho) - b_i [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i and using Cauchy-Schwarz we have,
∑ i = 1 m [ λ τ , μ ∗ ] i [ V c i π λ , τ ∗ ( ρ ) − V c i π τ , μ , τ ∗ ( ρ ) ] ≤ ∥ λ τ , μ ∗ ∥ ∥ ∇ D τ ( λ ) − ∇ D τ ( λ τ , μ ∗ ) ∥ ≤ ∥ λ τ , μ ∗ ∥ G τ ∥ λ − λ τ , μ ∗ ∥ (By xref‘Lemma 2‘) ≤ m ∥ λ τ , μ ∗ ∥ ∞ G τ ∥ λ − λ τ , μ ∗ ∥ (Since ∥ x ∥ ≤ m ∥ x ∥ ∞ for x ∈ R m ) ≤ m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i G τ ∥ λ − λ τ , μ ∗ ∥ (By xref‘Lemma 16‘) \begin{aligned}
\sum_{i=1}^{m}[\lambda_{\tau,\mu}^{*}]_i\left[V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)-V_{c_i}^{\pi_{\tau,\mu,\tau}^{*}}(\rho)\right] \leq\left\|\lambda_{\tau,\mu}^{*}\right\| \left\|\nabla D_{\tau}(\lambda)-\nabla D_{\tau}(\lambda_{\tau,\mu}^{*})\right\| \\
&\leq\left\|\lambda_{\tau,\mu}^{*}\right\|G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{*}\right\| \qquad\text{(By {xref}`Lemma 2`)} \\
&\leq\sqrt{m}\left\|\lambda_{\tau,\mu}^{*}\right\|_{\infty}G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{*}\right\| \qquad\text{(Since }\|x\|\leq\sqrt{m}\|x\|_{\infty}\text{ for }x\in\mathbb{R}^{m}\text{)} \\
&\leq\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i}G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{*}\right\| \qquad\text{(By {xref}`Lemma 16`)}
\end{aligned} i = 1 ∑ m [ λ τ , μ ∗ ] i [ V c i π λ , τ ∗ ( ρ ) − V c i π τ , μ , τ ∗ ( ρ ) ] ≤ λ τ , μ ∗ ∇ D τ ( λ ) − ∇ D τ ( λ τ , μ ∗ ) ≤ λ τ , μ ∗ G τ λ − λ τ , μ ∗ (By xref ‘Lemma 2‘) ≤ m λ τ , μ ∗ ∞ G τ λ − λ τ , μ ∗ (Since ∥ x ∥ ≤ m ∥ x ∥ ∞ for x ∈ R m ) ≤ ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ ln ( A )) G τ λ − λ τ , μ ∗ (By xref ‘Lemma 16‘)
Finally, Term (iii) is non-positive by Equation (57) of Lemma 17 . Substituting the three bounds into Equation (58) results in
V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ ln ( A ) 1 − γ τ + ( m 1 − γ + m ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) min i ∈ [ m ] ζ i ) G τ ∥ λ − λ τ , μ ∗ ∥ ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( τ ) \begin{aligned}
V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\lambda,\tau}^{*}}(\rho)\leq\frac{\ln(A)}{1-\gamma}\tau+\left(\frac{\sqrt{m}}{1-\gamma}+\frac{\sqrt{m}(2+2\tau\ln(A))}{(1-\gamma)\min_{i\in[m]}\zeta_i}\right)G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{*}\right\| \\
&\leq O\left(G_{\tau}\left\|\lambda-\lambda_{\tau,\mu}^{*}\right\|\right)+O(\tau)
\end{aligned} V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ 1 − γ ln ( A ) τ + ( 1 − γ m + ( 1 − γ ) min i ∈ [ m ] ζ i m ( 2 + 2 τ ln ( A )) ) G τ λ − λ τ , μ ∗ ≤ O ( G τ λ − λ τ , μ ∗ ) + O ( τ )
We next consider the constraint violations for a fixed constraint i ∈ [ m ] i\in[m] i ∈ [ m ] . If the policy π λ , τ ∗ = arg max π L τ ( π , λ ) \pi_{\lambda,\tau}^{*}=\arg\max_{\pi}\mathcal{L}_{\tau}(\pi,\lambda) π λ , τ ∗ = arg max π L τ ( π , λ ) satisfies V c i π λ , τ ∗ ( ρ ) ≥ b i V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)\geq b_i V c i π λ , τ ∗ ( ρ ) ≥ b i then
b i − V c i π λ , τ ∗ ( ρ ) ≤ max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } = 0 ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } ( π λ , μ , τ ∗ : = arg max π L τ ( π , λ τ , μ ∗ ) ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∥ ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) ∥ 1 \begin{aligned}
b_i-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)\leq\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho),0\right\}=0 \\
&\leq\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\}\qquad\left(\pi_{\lambda,\mu,\tau}^{*}:=\arg\max_{\pi}\mathcal{L}_{\tau}(\pi,\lambda_{\tau,\mu}^{*})\right) \\
&\leq\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\}+\left\|\nabla D_{\tau}(\lambda_{\tau,\mu}^{*})-\nabla D_{\tau}(\lambda)\right\|_1
\end{aligned} b i − V c i π λ , τ ∗ ( ρ ) ≤ max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } = 0 ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } ( π λ , μ , τ ∗ := arg π max L τ ( π , λ τ , μ ∗ ) ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) 1
Otherwise if V c i π λ , τ ∗ ( ρ ) < b i V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)<b_i V c i π λ , τ ∗ ( ρ ) < b i , we have
b i − V c i π λ , τ ∗ ( ρ ) = [ b i − V c i π λ , μ , τ ∗ ( ρ ) ] + [ V c i π λ , μ , τ ∗ ( ρ ) − V c i π λ , τ ∗ ( ρ ) ] (Add/subtract V c i π λ , μ , τ ∗ ( ρ ) ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∣ V c i π λ , μ , τ ∗ ( ρ ) − V c i π λ , τ ∗ ( ρ ) ∣ = max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∣ [ ∇ D τ ( λ τ , μ ∗ ) ] i − [ ∇ D τ ( λ ) ] i ∣ (By Proposition 1, [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∥ ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) ∥ 1 \begin{aligned}
b_i-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)=\left[b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho)\right]+\left[V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho)-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)\right] \qquad\text{(Add/subtract }V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho)\text{)} \\
&\leq\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\}+\left|V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho)-V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)\right| \\
&=\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\}+\left|[\nabla D_{\tau}(\lambda_{\tau,\mu}^{*})]_i-[\nabla D_{\tau}(\lambda)]_i\right| \qquad\text{(By Proposition 1, }[\nabla D_{\tau}(\lambda)]_i=V_{c_i}^{\pi_{\lambda,\tau}^{*}}(\rho)-b_i\text{)} \\
&\leq\max\left\{b_i-V_{c_i}^{\pi_{\lambda,\mu,\tau}^{*}}(\rho),0\right\}+\left\|\nabla D_{\tau}(\lambda_{\tau,\mu}^{*})-\nabla D_{\tau}(\lambda)\right\|_1
\end{aligned} b i − V c i π λ , τ ∗ ( ρ ) = [ b i − V c i π λ , μ , τ ∗ ( ρ ) ] + [ V c i π λ , μ , τ ∗ ( ρ ) − V c i π λ , τ ∗ ( ρ ) ] (Add/subtract V c i π λ , μ , τ ∗ ( ρ ) ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + V c i π λ , μ , τ ∗ ( ρ ) − V c i π λ , τ ∗ ( ρ ) = max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + [ ∇ D τ ( λ τ , μ ∗ ) ] i − [ ∇ D τ ( λ ) ] i (By Proposition 1, [ ∇ D τ ( λ ) ] i = V c i π λ , τ ∗ ( ρ ) − b i ) ≤ max { b i − V c i π λ , μ , τ ∗ ( ρ ) , 0 } + ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) 1
Hence in either case we have,
max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } ≤ max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } + ∥ ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) ∥ 1 ≤ max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } + m ∥ ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) ∥ \begin{aligned}
\max\left\{b_i - V_{c_i}^{\pi^{\lambda^*_{\tau,\mu},\tau}}(\rho),0\right\}
\le\max\left\{b_i - V_{c_i}^{\pi^{\lambda^*_{\tau,\mu},\tau}}(\rho),0\right\}+\left\|\nabla D_\tau(\lambda^*_{\tau,\mu})-\nabla D_\tau(\lambda)\right\|_1 \\
&\le\max\left\{b_i - V_{c_i}^{\pi^{\lambda^*_{\tau,\mu},\tau}}(\rho),0\right\}+\sqrt{m}\left\|\nabla D_\tau(\lambda^*_{\tau,\mu})-\nabla D_\tau(\lambda)\right\|
\end{aligned} max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } ≤ max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } + ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) 1 ≤ max { b i − V c i π λ τ , μ ∗ , τ ( ρ ) , 0 } + m ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ )
(Since for x ∈ R m x \in\mathbb{R}^m x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ \|x\|_1 \le\sqrt{m}\|x\| ∥ x ∥ 1 ≤ m ∥ x ∥ )
= μ [ λ τ , μ ∗ ] i + m ∥ ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ ) ∥ = \mu[\lambda^*_{\tau,\mu}]_i+\sqrt{m}\left\|\nabla D_\tau(\lambda^*_{\tau,\mu})-\nabla D_\tau(\lambda)\right\| = μ [ λ τ , μ ∗ ] i + m ∇ D τ ( λ τ , μ ∗ ) − ∇ D τ ( λ )
(By Equation (56) of Lemma 17 )
≤ μ [ λ τ , μ ∗ ] i + m G τ ∥ λ − λ τ , μ ∗ ∥ \le\mu[\lambda^*_{\tau,\mu}]_i+\sqrt{m}G_\tau\|\lambda-\lambda^*_{\tau,\mu}\| ≤ μ [ λ τ , μ ∗ ] i + m G τ ∥ λ − λ τ , μ ∗ ∥
(By Lemma 2 where G τ : = m τ ( 1 − γ ) 3 G_\tau:= \frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m )
≤ μ ( 2 + 2 τ ln ( A ) ) ( 1 − γ ) ζ i + m G τ ∥ λ − λ τ , μ ∗ ∥ \le\frac{\mu(2+2\tau\ln(A))}{(1-\gamma)\zeta_i}+\sqrt{m}G_\tau\|\lambda-\lambda^*_{\tau,\mu}\| ≤ ( 1 − γ ) ζ i μ ( 2 + 2 τ ln ( A )) + m G τ ∥ λ − λ τ , μ ∗ ∥
(Under Assumption 1, by Lemma 16)
≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( μ ) \le O(G_\tau\|\lambda-\lambda^*_{\tau,\mu}\|)+O(\mu) ≤ O ( G τ ∥ λ − λ τ , μ ∗ ∥ ) + O ( μ )
which completes the proof.
Lemma 7. Under Assumption 1, assuming that for all t ∈ [ 0 , T − 1 ] t \in[0,T-1] t ∈ [ 0 , T − 1 ] , ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t \|\widetilde{\nabla}D_\tau(\lambda_t)-\nabla D_\tau(\lambda_t)\|\le\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t , Algorithm 1 using step-size β ≤ 2 / ( G τ + 2 μ ) \beta\le2/(G_\tau+2\mu) β ≤ 2/ ( G τ + 2 μ ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 results in the following convergence: for T ≥ 1 T\ge1 T ≥ 1
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 δ t (59) \|\lambda_T-\lambda^*_{\tau,\mu}\|\le\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda^*_{\tau,\mu}\|+\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\delta_t \tag*{(59)} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 δ t (59)
Proof. For this proof, it will be useful to define the following update using the exact gradient
λ t + 1 ′ = Proj Λ [ λ t − β ∇ D τ , μ ( λ t ) ] = Proj Λ [ λ t − β ( ∇ D τ ( λ t ) + μ λ t ) ] \lambda'_{t+1}=\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\nabla D_{\tau,\mu}(\lambda_t)]=\operatorname{Proj}_{\Lambda}[\lambda_t-\beta(\nabla D_\tau(\lambda_t)+\mu\lambda_t)] λ t + 1 ′ = Proj Λ [ λ t − β ∇ D τ , μ ( λ t )] = Proj Λ [ λ t − β ( ∇ D τ ( λ t ) + μ λ t )]
Starting for a fixed t ≥ 0 t\ge0 t ≥ 0 ,
∥ λ t + 1 − λ τ , μ ∗ ∥ = ∥ λ t + 1 − λ t + 1 ′ + λ t + 1 ′ − λ τ , μ ∗ ∥ \|\lambda_{t+1}-\lambda^*_{\tau,\mu}\|=\|\lambda_{t+1}-\lambda'_{t+1}+\lambda'_{t+1}-\lambda^*_{\tau,\mu}\| ∥ λ t + 1 − λ τ , μ ∗ ∥ = ∥ λ t + 1 − λ t + 1 ′ + λ t + 1 ′ − λ τ , μ ∗ ∥
(Add/Subtract λ t + 1 ′ \lambda'_{t+1} λ t + 1 ′ )
≤ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ + ∥ λ t + 1 − λ t + 1 ′ ∥ \le\|\lambda'_{t+1}-\lambda^*_{\tau,\mu}\|+\|\lambda_{t+1}-\lambda'_{t+1}\| ≤ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ + ∥ λ t + 1 − λ t + 1 ′ ∥
(Using Triangle inequality)
To bound the first term, since λ τ , μ ∗ = Proj Λ [ λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ ) ] \lambda^*_{\tau,\mu}=\operatorname{Proj}_{\Lambda}[\lambda^*_{\tau,\mu}-\beta\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu})] λ τ , μ ∗ = Proj Λ [ λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ )] for any β > 0 \beta>0 β > 0 , we have
∥ λ t + 1 ′ − λ τ , μ ∗ ∥ 2 2 = ∥ Proj Λ [ λ t − β ∇ D τ , μ ( λ t ) ] − Proj Λ [ λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ ) ] ∥ 2 2 \begin{aligned}
\|\lambda'_{t+1}-\lambda^*_{\tau,\mu}\|_2^2 \\
&=\left\|\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\nabla D_{\tau,\mu}(\lambda_t)]-\operatorname{Proj}_{\Lambda}[\lambda^*_{\tau,\mu}-\beta\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu})]\right\|_2^2
\end{aligned} ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ 2 2 = Proj Λ [ λ t − β ∇ D τ , μ ( λ t )] − Proj Λ [ λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ )] 2 2
(λ τ , μ ∗ \lambda^*_{\tau,\mu} λ τ , μ ∗ is a fixed-point)
≤ ∥ λ t − β ∇ D τ , μ ( λ t ) − ( λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ ) ) ∥ 2 2 \le\left\|\lambda_t-\beta\nabla D_{\tau,\mu}(\lambda_t)-(\lambda^*_{\tau,\mu}-\beta\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu}))\right\|_2^2 ≤ λ t − β ∇ D τ , μ ( λ t ) − ( λ τ , μ ∗ − β ∇ D τ , μ ( λ τ , μ ∗ )) 2 2
(Proj Λ \operatorname{Proj}_{\Lambda} Proj Λ is non-expansive)
= ∥ λ t − λ τ , μ ∗ ∥ 2 2 − 2 β ⟨ ∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) , λ t − λ τ , μ ∗ ⟩ + β 2 ∥ ∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) ∥ 2 2 =\|\lambda_t-\lambda^*_{\tau,\mu}\|_2^2-2\beta\langle\nabla D_{\tau,\mu}(\lambda_t)-\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu}),\lambda_t-\lambda^*_{\tau,\mu}\rangle+\beta^2\|\nabla D_{\tau,\mu}(\lambda_t)-\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu})\|_2^2 = ∥ λ t − λ τ , μ ∗ ∥ 2 2 − 2 β ⟨ ∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) , λ t − λ τ , μ ∗ ⟩ + β 2 ∥∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) ∥ 2 2
To lower-bound the inner product, by Lemma 2, D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is m τ ( 1 − γ ) 3 \frac{m}{\tau(1-\gamma)^3} τ ( 1 − γ ) 3 m -smooth and hence D τ , μ ( λ ) = D τ ( λ ) + μ 2 ∥ λ ∥ 2 2 D_{\tau,\mu}(\lambda)=D_\tau(\lambda)+\frac{\mu}{2}\|\lambda\|_2^2 D τ , μ ( λ ) = D τ ( λ ) + 2 μ ∥ λ ∥ 2 2 is L τ , μ : = m τ ( 1 − γ ) 3 + μ L_{\tau,\mu}:=\frac{m}{\tau(1-\gamma)^3}+\mu L τ , μ := τ ( 1 − γ ) 3 m + μ -smooth. Additionally D τ , μ D_{\tau,\mu} D τ , μ is μ \mu μ -strongly convex. Hence, by [34 Theorem 2.1.12] , D τ , μ D_{\tau,\mu} D τ , μ satisfies for any x , y ∈ Λ x,y\in\Lambda x , y ∈ Λ
⟨ ∇ D τ , μ ( x ) − ∇ D τ , μ ( y ) , x − y ⟩ ≥ μ L τ , μ μ + L τ , μ ∥ x − y ∥ 2 + 1 μ + L τ , μ ∥ ∇ D τ , μ ( x ) − ∇ D τ , μ ( y ) ∥ 2 2 . \langle\nabla D_{\tau,\mu}(x)-\nabla D_{\tau,\mu}(y),x-y\rangle\ge\frac{\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}}\|x-y\|^2+\frac{1}{\mu+L_{\tau,\mu}}\|\nabla D_{\tau,\mu}(x)-\nabla D_{\tau,\mu}(y)\|_2^2. ⟨ ∇ D τ , μ ( x ) − ∇ D τ , μ ( y ) , x − y ⟩ ≥ μ + L τ , μ μ L τ , μ ∥ x − y ∥ 2 + μ + L τ , μ 1 ∥∇ D τ , μ ( x ) − ∇ D τ , μ ( y ) ∥ 2 2 .
Using the above inequality with x = λ t x=\lambda_t x = λ t and y = λ τ , μ ∗ y=\lambda^*_{\tau,\mu} y = λ τ , μ ∗
⟹ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ 2 2 ≤ ( 1 − 2 β μ L τ , μ μ + L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥ 2 2 + β ( β − 2 μ + L τ , μ ) ∥ ∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) ∥ 2 2 ⇒ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ ≤ ( 1 − 2 β μ L τ , μ μ + L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥ \begin{aligned}
\Longrightarrow\|\lambda'_{t+1}-\lambda^*_{\tau,\mu}\|_2^2\le\left(1-\frac{2\beta\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}}\right)\|\lambda_t-\lambda^*_{\tau,\mu}\|_2^2+\beta\left(\beta-\frac{2}{\mu+L_{\tau,\mu}}\right)\|\nabla D_{\tau,\mu}(\lambda_t)-\nabla D_{\tau,\mu}(\lambda^*_{\tau,\mu})\|_2^2 \\
&\Rightarrow\|\lambda'_{t+1}-\lambda^*_{\tau,\mu}\| \le\sqrt{\left(1-\frac{2\beta\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}}\right)}\|\lambda_t-\lambda^*_{\tau,\mu}\|
\end{aligned} ⟹ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ 2 2 ≤ ( 1 − μ + L τ , μ 2 β μ L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥ 2 2 + β ( β − μ + L τ , μ 2 ) ∥∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ τ , μ ∗ ) ∥ 2 2 ⇒ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ ≤ ( 1 − μ + L τ , μ 2 β μ L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥
(Since β ≤ 2 μ + L τ , μ \beta\le\frac{2}{\mu+L_{\tau,\mu}} β ≤ μ + L τ , μ 2 , the second term is non-positive)
Furthermore, since L τ , μ ≥ μ L_{\tau,\mu}\ge\mu L τ , μ ≥ μ and 4 μ L τ , μ ≤ ( μ + L τ , μ ) 2 4\mu L_{\tau,\mu}\le(\mu+L_{\tau,\mu})^2 4 μ L τ , μ ≤ ( μ + L τ , μ ) 2 , we have
0 ≤ β μ 2 ≤ β μ L τ , μ μ + L τ , μ ≤ 2 μ L τ , μ ( μ + L τ , μ ) 2 ≤ 1 2 0\le\frac{\beta\mu}{2}\le\frac{\beta\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}}\le\frac{2\mu L_{\tau,\mu}}{(\mu+L_{\tau,\mu})^2}\le\frac{1}{2} 0 ≤ 2 β μ ≤ μ + L τ , μ β μ L τ , μ ≤ ( μ + L τ , μ ) 2 2 μ L τ , μ ≤ 2 1
Hence, using the fact that 1 − 2 x ≤ 1 − x \sqrt{1-2x}\le1-x 1 − 2 x ≤ 1 − x for x ∈ [ 0 , 1 / 2 ] x\in[0,1/2] x ∈ [ 0 , 1/2 ] with x = β μ L τ , μ μ + L τ , μ x=\frac{\beta\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}} x = μ + L τ , μ β μ L τ , μ
⇒ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ ≤ ( 1 − β μ L τ , μ μ + L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥ ≤ ( 1 − β μ 2 ) ∥ λ t − λ τ , μ ∗ ∥ (60) \Rightarrow\|\lambda'_{t+1}-\lambda^*_{\tau,\mu}\|\le\left(1-\frac{\beta\mu L_{\tau,\mu}}{\mu+L_{\tau,\mu}}\right)\|\lambda_t-\lambda^*_{\tau,\mu}\|\le\left(1-\frac{\beta\mu}{2}\right)\|\lambda_t-\lambda^*_{\tau,\mu}\| \tag*{(60)} ⇒ ∥ λ t + 1 ′ − λ τ , μ ∗ ∥ ≤ ( 1 − μ + L τ , μ β μ L τ , μ ) ∥ λ t − λ τ , μ ∗ ∥ ≤ ( 1 − 2 β μ ) ∥ λ t − λ τ , μ ∗ ∥ (60)
To bound the second term,
∥ λ t + 1 − λ t + 1 ′ ∥ = ∥ Proj Λ [ λ t − β ∇ ~ D τ , μ ( λ t ) ] − Proj Λ [ λ t − β ∇ D τ , μ ( λ t ) ] ∥ \|\lambda_{t+1}-\lambda'_{t+1}\|=\|\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\widetilde{\nabla}D_{\tau,\mu}(\lambda_t)]-\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\nabla D_{\tau,\mu}(\lambda_t)]\| ∥ λ t + 1 − λ t + 1 ′ ∥ = ∥ Proj Λ [ λ t − β ∇ D τ , μ ( λ t )] − Proj Λ [ λ t − β ∇ D τ , μ ( λ t )] ∥
(Using the updates of λ t + 1 ′ \lambda'_{t+1} λ t + 1 ′ and λ t + 1 \lambda_{t+1} λ t + 1 )
≤ β ∥ ∇ ~ D τ , μ ( λ t ) − ∇ D τ , μ ( λ t ) ∥ \le\beta\|\widetilde{\nabla}D_{\tau,\mu}(\lambda_t)-\nabla D_{\tau,\mu}(\lambda_t)\| ≤ β ∥ ∇ D τ , μ ( λ t ) − ∇ D τ , μ ( λ t ) ∥
(Since Proj Λ \operatorname{Proj}_{\Lambda} Proj Λ is non-expansive)
= β ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ =\beta\|\widetilde{\nabla}D_{\tau}(\lambda_t)-\nabla D_{\tau}(\lambda_t)\| = β ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥
(The μ λ t \mu\lambda_t μ λ t terms cancel)
Assuming that ∥ ∇ ~ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t \|\widetilde{\nabla}D_{\tau}(\lambda_t)-\nabla D_{\tau}(\lambda_t)\|\le\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ δ t for all t ∈ [ T ] t\in[T] t ∈ [ T ]
⇒ ∥ λ t + 1 − λ t + 1 ′ ∥ ≤ β δ t (61) \Rightarrow\|\lambda_{t+1}-\lambda'_{t+1}\|\le\beta\delta_t \tag*{(61)} ⇒ ∥ λ t + 1 − λ t + 1 ′ ∥ ≤ β δ t (61)
Putting Equations (60) and (61) together, since β ≤ 2 μ + L τ , μ \beta\le\frac{2}{\mu+L_{\tau,\mu}} β ≤ μ + L τ , μ 2
⇒ ∥ λ t + 1 − λ τ , μ ∗ ∥ ≤ ( 1 − β μ 2 ) ∥ λ t − λ τ , μ ∗ ∥ + β δ t (62) \Rightarrow\|\lambda_{t+1}-\lambda^*_{\tau,\mu}\|\le\left(1-\frac{\beta\mu}{2}\right)\|\lambda_t-\lambda^*_{\tau,\mu}\|+\beta\delta_t \tag*{(62)} ⇒ ∥ λ t + 1 − λ τ , μ ∗ ∥ ≤ ( 1 − 2 β μ ) ∥ λ t − λ τ , μ ∗ ∥ + β δ t (62)
Using Equation (62) and recursing from t = T − 1 t=T-1 t = T − 1 to 0 0 0 ,
∥ λ T − λ τ , μ ∗ ∥ ≤ ( 1 − β μ 2 ) T ∥ λ 0 − λ τ , μ ∗ ∥ + β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − 1 − t δ t ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 δ t . \begin{aligned}
\|\lambda_T-\lambda^*_{\tau,\mu}\|\le\left(1-\frac{\beta\mu}{2}\right)^T\|\lambda_0-\lambda^*_{\tau,\mu}\|+\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-1-t}\delta_t \\
&\le\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda^*_{\tau,\mu}\|+\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\delta_t.
\end{aligned} ∥ λ T − λ τ , μ ∗ ∥ ≤ ( 1 − 2 β μ ) T ∥ λ 0 − λ τ , μ ∗ ∥ + β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − 1 − t δ t ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 δ t .
(Since 1 − x ≤ exp ( − x ) 1-x\le\exp(-x) 1 − x ≤ exp ( − x ) and λ 0 = 0 \lambda_0=0 λ 0 = 0 )
Using K = O ( ln ( 1 / ϵ ) ) K=\mathcal{O}(\ln(1/\epsilon)) K = O ( ln ( 1/ ϵ )) Inner-Iterations
Theorem 2. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=\mathcal{O}(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 2 ) T=\widetilde{\mathcal{O}}(1/\epsilon^2) T = O ( 1/ ϵ 2 ) , β = O ( ϵ ) \beta=\mathcal{O}(\epsilon) β = O ( ϵ ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the exact E-NPG update with η = O ( 1 − 1 τ ) \eta=\mathcal{O}(1-\frac{1}{\tau}) η = O ( 1 − τ 1 ) and K = J = O ( ln ( 1 / ϵ ) ) K=J=\mathcal{O}(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ~ ( 1 / ϵ 2 ) \widetilde{\mathcal{O}}(1/\epsilon^2) O ( 1/ ϵ 2 ) gradient evaluations.
Proof. Following the proof of Theorem 1, we construct a uniform bound of the dual gradient error. By Lemma 4, for all t ≥ 0 t\ge0 t ≥ 0 , we can relate the approximate gradient to the following optimization term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 2 m ( 1 − γ ) 3 / 2 τ max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) \|\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\|\le\frac{\sqrt{2m}}{(1-\gamma)^{3/2}\sqrt{\tau}}\sqrt{\max_{\pi}V^{\pi}_{R(\lambda_t),\tau}(\rho)-V^{\pi_t}_{R(\lambda_t),\tau}(\rho)} ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ ( 1 − γ ) 3/2 τ 2 m π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ )
To characterize the sub-optimality gap max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) \max_{\pi} V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho) max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) , we instantiate the PolicyOptimization method in Algorithm 1 using NPG update in Equation (113) . At iteration t t t , by Lemma 23, with ⋄ = R ( λ t ) \diamond=R(\lambda_t) ⋄ = R ( λ t ) , π 0 = π t − 1 \pi_0=\pi_{t-1} π 0 = π t − 1 , η = 1 − γ w τ \eta=\frac{1-\gamma}{w\tau} η = w τ 1 − γ and w ≥ 1 w\geq1 w ≥ 1 , the policy π t = π K \pi_t=\pi_K π t = π K satisfies
max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( τ 3 μ 2 T 4 ) . \max_{\pi} V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho)\leq\mathcal{O}\left(\frac{\tau^3\mu^2}{T^4}\right). π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( T 4 τ 3 μ 2 ) .
after
K ≥ O ( w 1 − γ ln ( T 4 τ 3 μ 2 ) ) (63) K\geq\mathcal{O}\left(\frac{w}{1-\gamma}\ln\left(\frac{T^4}{\tau^3\mu^2}\right)\right) \tag*{(63)} K ≥ O ( 1 − γ w ln ( τ 3 μ 2 T 4 ) ) (63)
iterations. Hence, for all t ∈ [ T ] t\in[T] t ∈ [ T ]
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ O ( τ μ T 2 ) = : δ t . \|\nabla\mathcal{D}_{\tau}(\lambda_t)-\widetilde{\nabla}\mathcal{D}_{\tau}(\lambda_t)\|\leq\mathcal{O}\left(\frac{\tau\mu}{T^2}\right)=:\delta_t. ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ O ( T 2 τ μ ) =: δ t .
and let δ ^ : = max t ∈ [ T ] δ t \hat{\delta}:=\max_{t\in[T]}\delta_t δ ^ := max t ∈ [ T ] δ t .
We now characterize the dual convergence using the above uniform gradient error. By Lemma 2, D τ ( λ ) \mathcal{D}_{\tau}(\lambda) D τ ( λ ) is G τ = m τ ( 1 − γ ) 3 G_{\tau}=\frac{m}{\tau(1-\gamma)^3} G τ = τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 7, Algorithm 1 using step-size β = 2 μ + L τ , μ = 2 τ ( 1 − γ ) 3 m + 2 μ τ ( 1 − γ ) 3 \beta=\frac{2}{\mu+L_{\tau,\mu}}=\frac{2\tau(1-\gamma)^3}{m+2\mu\tau(1-\gamma)^3} β = μ + L τ , μ 2 = m + 2 μτ ( 1 − γ ) 3 2 τ ( 1 − γ ) 3 , and λ 0 = 0 \lambda_0=0 λ 0 = 0 , results in the following convergence: for T ≥ 1 T\geq1 T ≥ 1 ,
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 δ t ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + δ ^ β ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 . \begin{aligned}
\|\lambda_T-\lambda_{\tau,\mu}^{*}\|&\leq\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\delta_t\\
&\leq\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\hat{\delta}\,\beta\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}.
\end{aligned} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 δ t ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + δ ^ β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 .
Summing up the geometric series since β μ 2 < 1 \frac{\beta\mu}{2}<1 2 β μ < 1
⟹ ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 δ ^ μ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + O ( τ T 2 ) . (64) \begin{aligned}
\Longrightarrow\quad\|\lambda_T-\lambda_{\tau,\mu}^{*}\|&\leq\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\frac{2\hat{\delta}}{\mu}\\
&\leq\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\mathcal{O}\left(\frac{\tau}{T^2}\right). \tag*{(64)}
\end{aligned} ⟹ ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + μ 2 δ ^ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + O ( T 2 τ ) . (64)
Combining the above result with Lemma 6, we have
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 T 2 ) + O ( τ ) , V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda_T,\tau}}(\rho)\leq\mathcal{O}\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right)+\mathcal{O}\left(\frac{1}{T^2}\right)+\mathcal{O}(\tau), V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( T 2 1 ) + O ( τ ) ,
max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 T 2 ) + O ( μ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi^*_{\lambda_T,\tau}}(\rho),0\right\}\leq\mathcal{O}\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right)+\mathcal{O}\left(\frac{1}{T^2}\right)+\mathcal{O}(\mu)\quad\forall i\in[m]. max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( T 2 1 ) + O ( μ ) ∀ i ∈ [ m ] .
Hence, setting τ = μ = O ( ϵ ) \tau=\mu=\mathcal{O}(\epsilon) τ = μ = O ( ϵ ) , and T = O ~ ( 1 / ϵ 2 ) T=\widetilde{\mathcal{O}}(1/\epsilon^2) T = O ( 1/ ϵ 2 ) ensures
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda_T,\tau}}(\rho)\leq\mathcal{O}(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^*_{\lambda_T,\tau}}(\rho),0\right\}\leq\mathcal{O}(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG update to the pseudo-reward R ( λ T ) R(\lambda_T) R ( λ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=\mathcal{O}(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ~ ( 1 / ϵ 2 ) T=\widetilde{\mathcal{O}}(1/\epsilon^2) T = O ( 1/ ϵ 2 ) outer iterations requires K = O ( ln ( 1 / ϵ ) ) K=\mathcal{O}(\ln(1/\epsilon)) K = O ( ln ( 1/ ϵ )) iterations, and the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=\mathcal{O}(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is
T K + N = O ~ ( T ) + O ( ln ( 1 ϵ ) ) = O ~ ( 1 ϵ 2 ) . TK+N=\widetilde{\mathcal{O}}(T)+\mathcal{O}\left(\ln\left(\frac{1}{\epsilon}\right)\right)=\widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^2}\right). T K + N = O ( T ) + O ( ln ( ϵ 1 ) ) = O ( ϵ 2 1 ) .
Using K = 1 K = 1 K = 1 Inner-Iterations
Theorem 3. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau= \mu= O(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 5 ) T = \widetilde{O}(1/\epsilon^5) T = O ( 1/ ϵ 5 ) , β = O ( ϵ 4 ) \beta= O(\epsilon^4) β = O ( ϵ 4 ) , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 and (ii) using the exact E-NPG update with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , K = 1 K = 1 K = 1 , J = O ( ln ( 1 / ϵ ) ) J = O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1 after O ~ ( 1 / ϵ 5 ) \widetilde{O}(1/\epsilon^5) O ( 1/ ϵ 5 ) gradient evaluations.
Proof. Following the proof of Theorem 5, by Lemma 8, for all t ≥ 0 t \ge0 t ≥ 0 , we can relate the approximate dual gradient to an optimization error term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 4 m A τ ( 1 − γ ) 2 Φ t \lVert\nabla D_\tau(\lambda_t) - \widetilde{\nabla}D_\tau(\lambda_t) \rVert\le\frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\Phi_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ τ ( 1 − γ ) 2 4 m A Φ t
where Φ t : = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t := \frac{1}{1-\gamma}\lVert Q_t^{\pi_t^*} - Q_t^{\pi_t}\rVert_\infty+ \frac{\tau}{4}\lVert\ln(\pi_t^*) - \ln(\pi_t)\rVert_\infty Φ t := 1 − γ 1 ∥ Q t π t ∗ − Q t π t ∥ ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ . Moreover by Lemma 2, the dual D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is G τ : = m τ ( 1 − γ ) 3 G_\tau:= \frac{m}{\tau(1-\gamma)^3} G τ := τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 7 with δ t = 4 m A τ ( 1 − γ ) 2 Φ t \delta_t = \frac{4\sqrt{m}A}{\tau(1-\gamma)^2}\Phi_t δ t = τ ( 1 − γ ) 2 4 m A Φ t , Algorithm 1, β ≤ 2 L τ , μ + μ \beta\le\frac{2}{L_{\tau,\mu}+\mu} β ≤ L τ , μ + μ 2 , and λ 0 = 0 \lambda_0 = 0 λ 0 = 0 results in the following convergence
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 4 m A β τ ( 1 − γ ) 2 ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 Φ t (65) \lVert\lambda_T-\lambda_{\tau,\mu}^*\rVert\le\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda_{\tau,\mu}^*\rVert+\frac{4\sqrt{m}A\beta}{\tau(1-\gamma)^2}\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\Phi_t \tag*{(65)} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + τ ( 1 − γ ) 2 4 m A β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 Φ t (65)
Furthermore, recall from Equation (44) of Theorem 5 we have,
Φ t + 1 ≤ 1 + γ 2 Φ t + m ( 1 + γ ) ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ \Phi_{t+1}\le\frac{1+\gamma}{2}\Phi_t+\frac{m(1+\gamma)}{(1-\gamma)^2}\lVert\lambda_t-\lambda_{t+1}\rVert_\infty Φ t + 1 ≤ 2 1 + γ Φ t + ( 1 − γ ) 2 m ( 1 + γ ) ∥ λ t − λ t + 1 ∥ ∞
By the update in Algorithm 1 (line 5) λ t + 1 = Proj Λ [ λ t − β ∇ ~ D τ , μ ( λ t ) ] = Proj Λ [ λ t − β ( ∇ ~ D τ ( λ t ) + μ λ t ) ] \lambda_{t+1}=\operatorname{Proj}_{\Lambda}[\lambda_t-\beta\widetilde{\nabla}D_{\tau,\mu}(\lambda_t)]=\operatorname{Proj}_{\Lambda}[\lambda_t-\beta(\widetilde{\nabla}D_\tau(\lambda_t)+\mu\lambda_t)] λ t + 1 = Proj Λ [ λ t − β ∇ D τ , μ ( λ t )] = Proj Λ [ λ t − β ( ∇ D τ ( λ t ) + μ λ t )] , we have
∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ( ∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥ ) ≤ β ∥ ∇ ~ D τ , μ ( λ t ) ∥ ( Since projections are non-expansive ) = β ∥ ∇ ~ D τ ( λ t ) + μ λ t ∥ ≤ β ∥ ∇ ~ D τ ( λ t ) ∥ + β μ ∥ λ t ∥ ( By triangle-inequality ) ≤ β ( m 1 − γ + μ ∣ Λ ∣ ) ( Since λ t ∈ Λ and by x r e f ‘ E q u a t i o n ( 43 ) ‘ ) \begin{aligned}
\lVert\lambda_t-\lambda_{t+1}\rVert_\infty&\le\lVert\lambda_t-\lambda_{t+1}\rVert&&(\lVert\cdot\rVert_\infty\le\lVert\cdot\rVert)\\
&\le\beta\lVert\widetilde{\nabla}D_{\tau,\mu}(\lambda_t)\rVert&&(\text{Since projections are non-expansive})\\
&= \beta\lVert\widetilde{\nabla}D_\tau(\lambda_t)+\mu\lambda_t\rVert\\
&\le\beta\lVert\widetilde{\nabla}D_\tau(\lambda_t)\rVert+\beta\mu\lVert\lambda_t\rVert&&(\text{By triangle-inequality})\\
&\le\beta\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right) &&(\text{Since }\lambda_t\in\Lambda\text{ and by }{xref}`Equation (43)`)
\end{aligned} ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ≤ β ∥ ∇ D τ , μ ( λ t )∥ = β ∥ ∇ D τ ( λ t ) + μ λ t ∥ ≤ β ∥ ∇ D τ ( λ t )∥ + β μ ∥ λ t ∥ ≤ β ( 1 − γ m + μ ∣ Λ ∣ ) (∥ ⋅ ∥ ∞ ≤ ∥ ⋅ ∥) ( Since projections are non-expansive ) ( By triangle-inequality ) ( Since λ t ∈ Λ and by x r e f ‘ E q u a t i o n ( 43 ) ‘ )
⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ≤ β ( m 1 − γ + μ ∣ Λ ∣ ) (66) \Longrightarrow\lVert\lambda_t-\lambda_{t+1}\rVert_\infty\le\lVert\lambda_t-\lambda_{t+1}\rVert\le\beta\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right) \tag*{(66)} ⟹ ∥ λ t − λ t + 1 ∥ ∞ ≤ ∥ λ t − λ t + 1 ∥ ≤ β ( 1 − γ m + μ ∣ Λ ∣ ) (66)
⟹ Φ t + 1 ≤ 1 + γ 2 ⏟ < 1 Φ t + m ( 1 + γ ) ( 1 − γ ) 2 ( m 1 − γ + μ ∣ Λ ∣ ) β \Longrightarrow\Phi_{t+1}\le\underbrace{\frac{1+\gamma}{2}}_{<1}\Phi_t+\frac{m(1+\gamma)}{(1-\gamma)^2}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)\beta ⟹ Φ t + 1 ≤ < 1 2 1 + γ Φ t + ( 1 − γ ) 2 m ( 1 + γ ) ( 1 − γ m + μ ∣ Λ ∣ ) β
Next, we bound the weighted sum ∑ t = 0 T − 1 α T − 1 − t Φ t \sum_{t=0}^{T-1}\alpha^{T-1-t}\Phi_t ∑ t = 0 T − 1 α T − 1 − t Φ t , where α : = 1 − μ β 2 \alpha:= 1-\frac{\mu\beta}{2} α := 1 − 2 μ β . Let κ : = 1 + γ 2 \kappa:= \frac{1+\gamma}{2} κ := 2 1 + γ , so that 1 − κ = 1 − γ 2 1-\kappa=\frac{1-\gamma}{2} 1 − κ = 2 1 − γ . Furthermore, since μ β > 0 \mu\beta>0 μ β > 0 , α < 1 \alpha<1 α < 1 , we show α ∈ ( κ , 1 ) \alpha\in(\kappa,1) α ∈ ( κ , 1 ) . Since β ≤ 2 μ + L τ , μ \beta\le\frac{2}{\mu+L_{\tau,\mu}} β ≤ μ + L τ , μ 2 and L τ , μ ≥ G τ = m τ ( 1 − γ ) 3 L_{\tau,\mu}\ge G_\tau=\frac{m}{\tau(1-\gamma)^3} L τ , μ ≥ G τ = τ ( 1 − γ ) 3 m ,
μ β ≤ 2 μ G τ = 2 μ τ ( 1 − γ ) 3 m ≤ 1 − γ 2 = 1 − κ ( μ τ ≤ 1 4 , m ≥ 1 ) \mu\beta\le\frac{2\mu}{G_\tau}=\frac{2\mu\tau(1-\gamma)^3}{m}\le\frac{1-\gamma}{2}=1-\kappa\qquad(\mu\tau\le\tfrac14,m\ge1) μ β ≤ G τ 2 μ = m 2 μτ ( 1 − γ ) 3 ≤ 2 1 − γ = 1 − κ ( μτ ≤ 4 1 , m ≥ 1 )
⟹ α − κ = ( 1 − κ ) − μ β 2 ≥ 1 − γ 4 > 0. (67) \Longrightarrow\alpha-\kappa=(1-\kappa)-\frac{\mu\beta}{2}\ge\frac{1-\gamma}{4}>0. \tag*{(67)} ⟹ α − κ = ( 1 − κ ) − 2 μ β ≥ 4 1 − γ > 0. (67)
Hence, by (104) of Proposition 5 with ν = C μ β \nu=C_{\mu}\beta ν = C μ β ,
∑ t = 0 T − 1 ( 1 − μ β 2 ) T − 1 − t Φ t ≤ α T Φ 0 α − κ + C μ β ( 1 − κ ) ( 1 − α ) ≤ 4 Φ 0 1 − γ exp ( − μ β T 2 ) + 4 C μ μ ( 1 − γ ) ≤ O ( exp ( − μ β T 2 ) ) + O ( 1 μ ) (68) \sum_{t=0}^{T-1}\left(1-\frac{\mu\beta}{2}\right)^{T-1-t}\Phi_t\le\frac{\alpha^T\Phi_0}{\alpha-\kappa}+\frac{C_{\mu}\beta}{(1-\kappa)(1-\alpha)}\le\frac{4\Phi_0}{1-\gamma}\exp\left(-\frac{\mu\beta T}{2}\right)+\frac{4C_{\mu}}{\mu(1-\gamma)}
\le O\left(\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{1}{\mu}\right) \tag*{(68)} t = 0 ∑ T − 1 ( 1 − 2 μ β ) T − 1 − t Φ t ≤ α − κ α T Φ 0 + ( 1 − κ ) ( 1 − α ) C μ β ≤ 1 − γ 4 Φ 0 exp ( − 2 μ β T ) + μ ( 1 − γ ) 4 C μ ≤ O ( exp ( − 2 μ β T ) ) + O ( μ 1 ) (68)
Putting Equations (62) and (65) together, we have
∥ λ T − λ τ , μ ∗ ∥ ≤ O ( exp ( − μ β T 2 ) ) + O ( β exp ( − μ β T 2 ) τ ) + O ( β τ μ ) \left\|\lambda_T-\lambda_{\tau,\mu}^{*}\right\|\le O\left(\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta\exp\left(-\frac{\mu\beta T}{2}\right)}{\tau}\right)+O\left(\frac{\beta}{\tau\mu}\right) λ T − λ τ , μ ∗ ≤ O ( exp ( − 2 μ β T ) ) + O τ β exp ( − 2 μ β T ) + O ( τ μ β )
Using the above dual sub-optimality guarantee with Lemma 6
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( 1 τ exp ( − μ β T 2 ) ) + O ( β exp ( − μ β T 2 ) τ 2 ) + O ( β τ 2 μ ) + O ( τ ) V_r^{\pi^*}(\rho)-V_r^{\pi_{\lambda_T,\tau}^{*}}(\rho)\le O\left(\frac{1}{\tau}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta\exp\left(-\frac{\mu\beta T}{2}\right)}{\tau^2}\right)+O\left(\frac{\beta}{\tau^2\mu}\right)+O(\tau) V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( τ 1 exp ( − 2 μ β T ) ) + O τ 2 β exp ( − 2 μ β T ) + O ( τ 2 μ β ) + O ( τ )
max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ exp ( − μ β T 2 ) ) + O ( β exp ( − μ β T 2 ) τ 2 ) + O ( β τ 2 μ ) + O ( μ ) ∀ i ∈ [ m ] , \max\left\{b_i-V_{c_i}^{\pi_{\lambda_T,\tau}^{*}}(\rho),0\right\}\le O\left(\frac{1}{\tau}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta\exp\left(-\frac{\mu\beta T}{2}\right)}{\tau^2}\right)+O\left(\frac{\beta}{\tau^2\mu}\right)+O(\mu)\quad\forall i\in[m], max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 exp ( − 2 μ β T ) ) + O τ 2 β exp ( − 2 μ β T ) + O ( τ 2 μ β ) + O ( μ ) ∀ i ∈ [ m ] ,
Hence, setting τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) , and T = O ~ ( 1 / ϵ 5 ) T=\widetilde{O}(1/\epsilon^5) T = O ( 1/ ϵ 5 ) ensures
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi_{\lambda_T,\tau}^{*}}(\rho)\le O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi_{\lambda_T,\tau}^{*}}(\rho),0\right\}\le O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG update to the pseudo-reward R ( λ T ) R(\lambda_T) R ( λ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ~ ( 1 / ϵ 5 ) T=\widetilde{O}(1/\epsilon^5) T = O ( 1/ ϵ 5 ) outer-iterations requires K = 1 K=1 K = 1 inner-iterations, and the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is O ~ ( 1 ϵ 5 ) \widetilde{O}\left(\frac{1}{\epsilon^5}\right) O ( ϵ 5 1 ) .
Interpolating Between K = 1 K=1 K = 1 and K > 1 K>1 K > 1 Inner-Iterations
Theorem 4. Under Assumption 1, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , T = O ( 1 / ϵ 2 + 3 / 2 K ) T=O(1/\epsilon^{2+3/2K}) T = O ( 1/ ϵ 2 + 3/2 K ) , β = O ( ϵ 3 + 2 K / 2 K ) \beta=O\left(\epsilon^{3+2K/2K}\right) β = O ( ϵ 3 + 2 K /2 K ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the exact E-NPG update with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K\ge1 K ≥ 1 , J = O ( ln ( 1 / ϵ ) ) J=O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) and (iii) warm-starting the initial policy such that L 0 ≤ O ( β μ / τ ) 2 K L_0\le O(\beta\mu/\tau)^{2K} L 0 ≤ O ( β μ / τ ) 2 K return an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 2 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{2+3/2K}) O ( 1/ ϵ 2 + 3/2 K ) gradient evaluations.
Proof. This proof proceeds similar to Theorem 5. By Lemma 10, for all t ≥ 0 t\ge0 t ≥ 0 , we can relate the approximate dual gradient to an optimization error term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ m A ( 1 − γ ) 2 L t \left\|\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\right\|\le\frac{\sqrt{m}A}{(1-\gamma)^2}L_t ∇ D τ ( λ t ) − ∇ D τ ( λ t ) ≤ ( 1 − γ ) 2 m A L t
where L t : = ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ L_t:=\|\ln(\pi_t^*)-\ln(\pi_t)\|_{\infty} L t := ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ . Moreover, by Lemma 2, the dual D τ ( λ ) D_{\tau}(\lambda) D τ ( λ ) is m τ ( 1 − γ ) 3 \frac{m}{\tau(1-\gamma)^3} τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 7 with δ t = m A ( 1 − γ ) 2 L t \delta_t=\frac{\sqrt{m}A}{(1-\gamma)^2}L_t δ t = ( 1 − γ ) 2 m A L t , Algorithm 1 using β ≤ min { τ ( 1 − γ ) 3 m , 2 G τ + 2 μ } \beta\le\min\left\{\frac{\tau(1-\gamma)^3}{m},\frac{2}{G_{\tau}+2\mu}\right\} β ≤ min { m τ ( 1 − γ ) 3 , G τ + 2 μ 2 } , and λ 0 = 0 \lambda_0 = 0 λ 0 = 0 results in the following convergence
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + m A β ( 1 − γ ) 2 ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 L t ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + m A β ( 1 − γ ) 2 max t L t ∑ t = 0 ∞ ( 1 − β μ 2 ) t = exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 m A μ ( 1 − γ ) 2 max t L t (Since β μ 2 < 1 , ∑ t = 0 ∞ ( 1 − β μ 2 ) t = 2 β μ ) ⟹ ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 m A μ ( 1 − γ ) 2 max t L t (69) \begin{aligned}
\|\lambda_T-\lambda_{\tau,\mu}^{*}\| &\le\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\frac{\sqrt{m}A\beta}{(1-\gamma)^2}\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}L_t \\
&\le\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\frac{\sqrt{m}A\beta}{(1-\gamma)^2}\max_t L_t\sum_{t=0}^{\infty}\left(1-\frac{\beta\mu}{2}\right)^t \\
&= \exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\frac{2\sqrt{m}A}{\mu(1-\gamma)^2}\max_t L_t \qquad\text{(Since $\frac{\beta\mu}{2}<1$, $\sum_{t=0}^{\infty}\left(1-\frac{\beta\mu}{2}\right)^t=\frac{2}{\beta\mu}$)} \\
&\Longrightarrow\|\lambda_T-\lambda_{\tau,\mu}^{*}\| \le\exp\left(-\frac{\beta\mu T}{2}\right)\|\lambda_{\tau,\mu}^{*}\|+\frac{2\sqrt{m}A}{\mu(1-\gamma)^2}\max_t L_t \tag*{(69)}
\end{aligned} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + ( 1 − γ ) 2 m A β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 L t ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + ( 1 − γ ) 2 m A β t max L t t = 0 ∑ ∞ ( 1 − 2 β μ ) t = exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + μ ( 1 − γ ) 2 2 m A t max L t (Since 2 β μ < 1, ∑ t = 0 ∞ ( 1 − 2 β μ ) t = β μ 2 ) ⟹ ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + μ ( 1 − γ ) 2 2 m A t max L t (69)
We next derive a recursive bound on the optimization error, relating iteration t + 1 t+1 t + 1 to iteration t t t . Let π t + 1 \pi_{t+1} π t + 1 denote the policy returned after running K K K iterations of the NPG update in Equation (113) with η = 1 τ \eta=\frac{1}{\tau} η = τ 1 and ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 . Then by Lemma 20 with E = 0 E=0 E = 0 and setting n = 2 K n=2^K n = 2 K we have,
L t + 1 ≤ C 1 n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + L t ) n L_{t+1}\le C_1^{n-1}\left(\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})\|_{\infty}+L_t\right)^n L t + 1 ≤ C 1 n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + L t ) n
Furthermore, by Equation (20) of Proposition 2 and Lemma 13,
∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ ≤ 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ = 2 m τ ( 1 − γ ) ∥ Proj Λ [ ( 1 − β μ ) λ t − β ∇ ~ D τ ( λ t ) ] − Proj Λ [ λ t ] ∥ (Using the update in line 5 of Algorithm 1 and since λ t ∈ Λ ) ≤ 2 m β τ ( 1 − γ ) ∥ ∇ ~ D τ ( λ t ) + μ λ t ∥ (Projections are non-expansive) ≤ 2 m β τ ( 1 − γ ) ( ∥ ∇ ~ D τ ( λ t ) ∥ + μ ∥ λ t ∥ ) (By triangle-inequality) ≤ 2 m β τ ( 1 − γ ) ( ∥ ∇ ~ D τ ( λ t ) ∥ + μ ∣ Λ ∣ ) (Since λ t ∈ Λ ) ≤ β τ 2 m 1 − γ ( m 1 − γ + μ ∣ Λ ∣ ) ⏟ : = C μ (By xref‘Equation (43)‘) \begin{aligned}
\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})\|_{\infty}
&\le\frac{2\sqrt{m}}{\tau(1-\gamma)}\|\lambda_{t+1}-\lambda_t\| \\
&= \frac{2\sqrt{m}}{\tau(1-\gamma)}\|\operatorname{Proj}_{\Lambda}[(1-\beta\mu)\lambda_t-\beta\widetilde{\nabla}D_{\tau}(\lambda_t)]-\operatorname{Proj}_{\Lambda}[\lambda_t]\| \qquad\text{(Using the update in line 5 of Algorithm 1 and since }\lambda_t\in\Lambda\text{)} \\
&\le\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\|\widetilde{\nabla}D_{\tau}(\lambda_t)+\mu\lambda_t\| \qquad\text{(Projections are non-expansive)} \\
&\le\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\|\widetilde{\nabla}D_{\tau}(\lambda_t)\|+\mu\|\lambda_t\|\right) \qquad\text{(By triangle-inequality)} \\
&\le\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\|\widetilde{\nabla}D_{\tau}(\lambda_t)\|+\mu|\Lambda|\right) \qquad\text{(Since }\lambda_t\in\Lambda\text{)} \\
&\le\frac{\beta}{\tau}\underbrace{\frac{2\sqrt{m}}{1-\gamma}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)}_{:=C_{\mu}} \qquad\text{(By {xref}`Equation (43)`)}
\end{aligned} ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ ≤ τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ = τ ( 1 − γ ) 2 m ∥ Proj Λ [( 1 − β μ ) λ t − β ∇ D τ ( λ t )] − Proj Λ [ λ t ] ∥ (Using the update in line 5 of Algorithm 1 and since λ t ∈ Λ ) ≤ τ ( 1 − γ ) 2 m β ∥ ∇ D τ ( λ t ) + μ λ t ∥ (Projections are non-expansive) ≤ τ ( 1 − γ ) 2 m β ( ∥ ∇ D τ ( λ t ) ∥ + μ ∥ λ t ∥ ) (By triangle-inequality) ≤ τ ( 1 − γ ) 2 m β ( ∥ ∇ D τ ( λ t ) ∥ + μ ∣Λ∣ ) (Since λ t ∈ Λ ) ≤ τ β := C μ 1 − γ 2 m ( 1 − γ m + μ ∣Λ∣ ) (By xref ‘Equation (43)‘)
⟹ L t + 1 ≤ C 1 n − 1 ( C μ β τ + L t ) n \Longrightarrow L_{t+1}\le C_1^{n-1}\left(\frac{C_{\mu}\beta}{\tau}+L_t\right)^n ⟹ L t + 1 ≤ C 1 n − 1 ( τ C μ β + L t ) n
Furthermore, assuming that π 0 \pi_0 π 0 satisfies,
L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ 2 n C 1 n − 1 ( C μ β τ ) n (70) L_0=\|\ln(\pi_0^{*})-\ln(\pi_0)\|_{\infty}\le2^n C_1^{n-1}\left(C_{\mu}\frac{\beta}{\tau}\right)^n \tag*{(70)} L 0 = ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ 2 n C 1 n − 1 ( C μ τ β ) n (70)
and the step-size satisfies β ≤ τ 4 C 1 C μ \beta\le\frac{\tau}{4C_1C_{\mu}} β ≤ 4 C 1 C μ τ we have,
C 1 C μ β τ ≤ 1 4 ⟹ 2 n ( C 1 C μ β τ ) n − 1 ≤ 2 n 4 − ( n − 1 ) ≤ 2 2 − n = 2 2 − 2 K ≤ 1. (Since n = 2 K ≥ 2 ) C_1C_{\mu}\frac{\beta}{\tau}\le\frac{1}{4}\Longrightarrow2^n\left(C_1C_{\mu}\frac{\beta}{\tau}\right)^{n-1}\le2^n4^{-(n-1)}\le2^{2-n}=2^{2-2^K}\le1. \qquad\text{(Since }n=2^K\ge2\text{)} C 1 C μ τ β ≤ 4 1 ⟹ 2 n ( C 1 C μ τ β ) n − 1 ≤ 2 n 4 − ( n − 1 ) ≤ 2 2 − n = 2 2 − 2 K ≤ 1. (Since n = 2 K ≥ 2 )
Hence, by Lemma 21 with κ = C 1 n − 1 \kappa= C_1^{n-1} κ = C 1 n − 1 , ν = C μ β τ \nu= \frac{C_\mu\beta}{\tau} ν = τ C μ β we have, for all t ≥ 0 t \ge0 t ≥ 0
L t ≤ 2 n c 1 n − 1 ( C μ β τ ) n = O ( ( β τ ) n ) L_t \le2^n c_1^{n-1}\left(C_\mu\frac{\beta}{\tau}\right)^n = \mathcal{O}\left(\left(\frac{\beta}{\tau}\right)^n\right) L t ≤ 2 n c 1 n − 1 ( C μ τ β ) n = O ( ( τ β ) n )
Using the above inequality with Equation (69) ,
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 m A μ ( 1 − γ ) 2 max t L t ≤ O ( exp ( − β μ T 2 ) ) + O ( 1 μ ( β τ ) n ) \left\|\lambda_T-\lambda_{\tau,\mu}^*\right\| \le\exp\left(-\frac{\beta\mu T}{2}\right)\left\|\lambda_{\tau,\mu}^*\right\|+\frac{2\sqrt{m}A}{\mu(1-\gamma)^2}\max_t L_t \le\mathcal{O}\left(\exp\left(-\frac{\beta\mu T}{2}\right)\right)+\mathcal{O}\left(\frac{1}{\mu}\left(\frac{\beta}{\tau}\right)^n\right) λ T − λ τ , μ ∗ ≤ exp ( − 2 β μ T ) λ τ , μ ∗ + μ ( 1 − γ ) 2 2 m A t max L t ≤ O ( exp ( − 2 β μ T ) ) + O ( μ 1 ( τ β ) n )
Combining the above result with Lemma 6,
V r π ∗ ( ρ ) − V r π τ , τ ∗ ( ρ ) ≤ O ( exp ( − β μ T 2 ) τ ) + O ( 1 μ τ ( β τ ) n ) + O ( τ ) V_r^{\pi^*}(\rho)-V_r^{\pi_{\tau,\tau}^*}(\rho)\le\mathcal{O}\left(\frac{\exp\left(-\frac{\beta\mu T}{2}\right)}{\tau}\right)+\mathcal{O}\left(\frac{1}{\mu\tau}\left(\frac{\beta}{\tau}\right)^n\right)+\mathcal{O}(\tau) V r π ∗ ( ρ ) − V r π τ , τ ∗ ( ρ ) ≤ O τ exp ( − 2 β μ T ) + O ( μτ 1 ( τ β ) n ) + O ( τ )
max { b i − V c i π τ , τ ∗ ( ρ ) , 0 } ≤ O ( exp ( − β μ T 2 ) τ ) + O ( 1 μ τ ( β τ ) n ) + O ( μ ) \max\left\{b_i-V_{c_i}^{\pi_{\tau,\tau}^*}(\rho),0\right\}\le\mathcal{O}\left(\frac{\exp\left(-\frac{\beta\mu T}{2}\right)}{\tau}\right)+\mathcal{O}\left(\frac{1}{\mu\tau}\left(\frac{\beta}{\tau}\right)^n\right)+\mathcal{O}(\mu) max { b i − V c i π τ , τ ∗ ( ρ ) , 0 } ≤ O τ exp ( − 2 β μ T ) + O ( μτ 1 ( τ β ) n ) + O ( μ )
To obtain an O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy, we require each term to be O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) . Setting τ = μ = O ( ϵ ) \tau=\mu=\mathcal{O}(\epsilon) τ = μ = O ( ϵ ) it suffices to set the step-size such that
1 ϵ 2 ( β ϵ ) n ≤ O ( ϵ ) ⟹ β = O ( ϵ n + 3 n ) \frac{1}{\epsilon^2}\left(\frac{\beta}{\epsilon}\right)^n\le\mathcal{O}(\epsilon)\Longrightarrow\beta=\mathcal{O}\left(\epsilon^{\frac{n+3}{n}}\right) ϵ 2 1 ( ϵ β ) n ≤ O ( ϵ ) ⟹ β = O ( ϵ n n + 3 )
Next, to determine the number of outer-iterations T T T ,
O ( 1 ϵ exp ( − β ϵ T 2 ) ) ≤ O ( ϵ ) ⟹ T ≥ O ( ϵ − 2 n + 3 n ) \mathcal{O}\left(\frac{1}{\epsilon}\exp\left(-\frac{\beta\epsilon T}{2}\right)\right)\le\mathcal{O}(\epsilon)\Longrightarrow T\ge\mathcal{O}\left(\epsilon^{-\frac{2n+3}{n}}\right) O ( ϵ 1 exp ( − 2 β ϵ T ) ) ≤ O ( ϵ ) ⟹ T ≥ O ( ϵ − n 2 n + 3 )
Since n = 2 K n=2^K n = 2 K , setting β = O ( ϵ 3 + 2 K 2 K ) \beta=\mathcal{O}\left(\epsilon^{\frac{3+2^K}{2^K}}\right) β = O ( ϵ 2 K 3 + 2 K ) , T = O ~ ( 1 ϵ 2 + 3 2 K ) T=\widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^{2+\frac{3}{2^K}}}\right) T = O ( ϵ 2 + 2 K 3 1 ) , we have
V r π ∗ ( ρ ) − V r π τ , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π τ , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi_{\tau,\tau}^*}(\rho)\le\mathcal{O}(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi_{\tau,\tau}^*}(\rho),0\right\}\le\mathcal{O}(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π τ , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π τ , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 3, applying NPG update to the pseudo-reward R ( λ T ) R(\lambda_T) R ( λ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 ϵ ) ) N=\mathcal{O}\left(\ln\left(\frac{1}{\epsilon}\right)\right) N = O ( ln ( ϵ 1 ) ) iterations.
Finally, we account for the total number of gradient evaluations. Each of the T = O ~ ( 1 ϵ 2 + 3 2 K ) T=\widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^{2+\frac{3}{2^K}}}\right) T = O ( ϵ 2 + 2 K 3 1 ) outer iterations requires K ≥ 1 K\ge1 K ≥ 1 iterations. For the first iteration only, in order to satisfy Equation (70) , we require
L 0 ≤ 2 n c 1 n − 1 ( C μ β τ ) n ≤ O ( ϵ 3 ) L_0\le2^n c_1^{n-1}\left(\frac{C_\mu\beta}{\tau}\right)^n\le\mathcal{O}(\epsilon^3) L 0 ≤ 2 n c 1 n − 1 ( τ C μ β ) n ≤ O ( ϵ 3 )
By Lemma 23 with ⋄ = R ( λ 0 ) \diamond=R(\lambda_0) ⋄ = R ( λ 0 ) and η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ ensures ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ O ( ϵ 3 ) \|\ln(\pi_0^*)-\ln(\pi_0)\|_\infty\le\mathcal{O}(\epsilon^3) ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ ≤ O ( ϵ 3 ) after K 0 = O ( ln ( 1 / ϵ ) ) K_0=\mathcal{O}(\ln(1/\epsilon)) K 0 = O ( ln ( 1/ ϵ )) iterations. Finally, to recover a deployable policy the final policy optimization requires an additional N = O ( ln ( 1 / ϵ ) ) N=\mathcal{O}(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Therefore, the total number of gradient evaluations is O ~ ( 1 ϵ 2 + 3 2 K ) \widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^{2+\frac{3}{2^K}}}\right) O ( ϵ 2 + 2 K 3 1 ) .
Convergence Results When Using Linear Function Approximation
Lemma 12. Under Assumptions 1 to 3, for a fixed outer-iteration t ≥ 0 t \ge0 t ≥ 0 and entropy parameter τ > 0 \tau> 0 τ > 0 , for all k ∈ [ 0 , K − 1 ] k \in[0,K-1] k ∈ [ 0 , K − 1 ] :
∥ Q R t , τ π k − ⟨ φ , w k ⟩ ∥ ∞ ≤ ϵ b i a s ( 1 + sup ( s , a ) ∈ S × A ∥ φ ( s , a ) ∥ G ς † ) + ϵ o p t . \left\|Q_{R_{t,\tau}}^{\pi_k}-\langle\varphi,w_k\rangle\right\|_{\infty}\le\epsilon_{\mathrm{bias}}\left(1+\sup_{(s,a)\in\mathcal{S}\times\mathcal{A}}\|\varphi(s,a)\|_{G_{\varsigma}^{\dagger}}\right)+\sqrt{\epsilon_{\mathrm{opt}}}. Q R t , τ π k − ⟨ φ , w k ⟩ ∞ ≤ ϵ bias ( 1 + ( s , a ) ∈ S × A sup ∥ φ ( s , a ) ∥ G ς † ) + ϵ opt . where G ς : = ∑ ( s , a ) ∈ C ς ( s , a ) φ ( s , a ) φ ( s , a ) ⊤ G_{\varsigma}:=\sum_{(s,a)\in\mathcal{C}}\varsigma(s,a)\varphi(s,a)\varphi(s,a)^{\top} G ς := ∑ ( s , a ) ∈ C ς ( s , a ) φ ( s , a ) φ ( s , a ) ⊤ and G ς † G_{\varsigma}^{\dagger} G ς † is the pseudo-inverse of G ς G_{\varsigma} G ς .
Proof. For a fixed iteration t ≥ 0 t \ge0 t ≥ 0 , solving the following regression problem
min w ∈ R d ∑ ( s , a ) ∈ C ς ( s , a ) [ Q R t , τ π k ( s , a ) − ⟨ w , φ ( s , a ) ⟩ ] 2 \min_{w\in\mathbb{R}^{d}}\sum_{(s,a)\in\mathcal{C}}\varsigma(s,a)\left[Q_{R_{t,\tau}}^{\pi_k}(s,a)-\langle w,\varphi(s,a)\rangle\right]^2 w ∈ R d min ( s , a ) ∈ C ∑ ς ( s , a ) [ Q R t , τ π k ( s , a ) − ⟨ w , φ ( s , a )⟩ ] 2
results in the following explicit solution:
w ^ ⋆ = G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) Q R t , τ π k ( s ′ , a ′ ) φ ( s ′ , a ′ ) ] . \widehat{w}^{\star}=G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')Q_{R_{t,\tau}}^{\pi_k}(s',a')\varphi(s',a')\right]. w ⋆ = G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) Q R t , τ π k ( s ′ , a ′ ) φ ( s ′ , a ′ ) .
where G ς : = ∑ ( s , a ) ∈ C ς ( s , a ) φ ( s , a ) φ ( s , a ) ⊤ G_{\varsigma}:=\sum_{(s,a)\in\mathcal{C}}\varsigma(s,a)\varphi(s,a)\varphi(s,a)^{\top} G ς := ∑ ( s , a ) ∈ C ς ( s , a ) φ ( s , a ) φ ( s , a ) ⊤ . Let w ⋆ w^{\star} w ⋆ be the minimizer of the regression loss over the entire state-action space over all admissible policies and pseudo-rewards. Under Assumptions 2 and 3, we know that for any k ∈ [ K ] k\in[K] k ∈ [ K ] and t ∈ [ T ] t\in[T] t ∈ [ T ] ,
∣ ⟨ φ ( s , a ) , w ⋆ ⟩ − Q R t , τ π k ( s , a ) ∣ ≤ ϵ b i a s , ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ^ ⋆ ⟩ ∣ ≤ ϵ o p t . \left|\langle\varphi(s,a),w^{\star}\rangle-Q_{R_{t,\tau}}^{\pi_k}(s,a)\right|\le\epsilon_{\mathrm{bias}},\qquad\left|\langle\varphi(s,a),w_k\rangle-\langle\varphi(s,a),\widehat{w}^{\star}\rangle\right|\le\sqrt{\epsilon_{\mathrm{opt}}}. ⟨ φ ( s , a ) , w ⋆ ⟩ − Q R t , τ π k ( s , a ) ≤ ϵ bias , ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ ≤ ϵ opt .
Then, for any arbitrary ( s , a ) (s,a) ( s , a ) , using the triangle inequality, we have that
∣ Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w k ⟩ ∣ ≤ ∣ Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Add/Subtract ⟨ φ ( s , a ) , w ⋆ ⟩ ) ≤ ϵ b i a s + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Under Assumption 2) ≤ ϵ b i a s + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ^ ⋆ ⟩ ∣ + ∣ ⟨ φ ( s , a ) , w ^ ⋆ ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Add/Subtract ⟨ φ ( s , a ) , w ^ ⋆ ⟩ ) ≤ ϵ b i a s + ϵ o p t + ∣ ⟨ φ ( s , a ) , w ^ ⋆ − w ⋆ ⟩ ∣ . (Under Assumption 3) \begin{aligned}
\left|Q_{R_{t,\tau}}^{\pi_k}(s,a)-\langle\varphi(s,a),w_k\rangle\right|
&\le\left|Q_{R_{t,\tau}}^{\pi_k}(s,a)-\langle\varphi(s,a),w^{\star}\rangle\right|+\left|\langle\varphi(s,a),w_k\rangle-\langle\varphi(s,a),w^{\star}\rangle\right| \\
&\qquad\text{(Add/Subtract }\langle\varphi(s,a),w^{\star}\rangle\text{)}\\
&\le\epsilon_{\mathrm{bias}}+\left|\langle\varphi(s,a),w_k\rangle-\langle\varphi(s,a),w^{\star}\rangle\right| \qquad\text{(Under Assumption 2)}\\
&\le\epsilon_{\mathrm{bias}}+\left|\langle\varphi(s,a),w_k\rangle-\langle\varphi(s,a),\widehat{w}^{\star}\rangle\right|+\left|\langle\varphi(s,a),\widehat{w}^{\star}\rangle-\langle\varphi(s,a),w^{\star}\rangle\right| \\
&\qquad\text{(Add/Subtract }\langle\varphi(s,a),\widehat{w}^{\star}\rangle\text{)}\\
&\le\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}+\left|\langle\varphi(s,a),\widehat{w}^{\star}-w^{\star}\rangle\right|. \qquad\text{(Under Assumption 3)}
\end{aligned} Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w k ⟩ ≤ Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w ⋆ ⟩ + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Add/Subtract ⟨ φ ( s , a ) , w ⋆ ⟩ ) ≤ ϵ bias + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Under Assumption 2) ≤ ϵ bias + ∣ ⟨ φ ( s , a ) , w k ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ + ∣ ⟨ φ ( s , a ) , w ⋆ ⟩ − ⟨ φ ( s , a ) , w ⋆ ⟩ ∣ (Add/Subtract ⟨ φ ( s , a ) , w ⋆ ⟩ ) ≤ ϵ bias + ϵ opt + ∣ ⟨ φ ( s , a ) , w ⋆ − w ⋆ ⟩ ∣ . (Under Assumption 3)
It now remains to bound ∣ ⟨ φ ( s , a ) , w ^ ⋆ − w ⋆ ⟩ ∣ \left|\langle\varphi(s,a),\widehat{w}^{\star}-w^{\star}\rangle\right| ∣ ⟨ φ ( s , a ) , w ⋆ − w ⋆ ⟩ ∣ . First, we define Y ( s ′ , a ′ ) : = Q R t , τ π k ( s ′ , a ′ ) − ⟨ φ ( s ′ , a ′ ) , w ⋆ ⟩ Y(s',a'):=Q_{R_{t,\tau}}^{\pi_k}(s',a')-\langle\varphi(s',a'),w^{\star}\rangle Y ( s ′ , a ′ ) := Q R t , τ π k ( s ′ , a ′ ) − ⟨ φ ( s ′ , a ′ ) , w ⋆ ⟩ for any ( s ′ , a ′ ) ∈ C (s',a')\in\mathcal{C} ( s ′ , a ′ ) ∈ C . Then, we have that
w ^ ⋆ = G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) ( Y ( s ′ , a ′ ) + ⟨ φ ( s ′ , a ′ ) , w ⋆ ⟩ ) φ ( s ′ , a ′ ) ] = G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) φ ( s ′ , a ′ ) φ ( s ′ , a ′ ) ⊤ ] w ⋆ + G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) ] = w ⋆ + G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) ] . \begin{aligned}
\widehat{w}^{\star}=G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')\left(Y(s',a')+\langle\varphi(s',a'),w^{\star}\rangle\right)\varphi(s',a')\right] \\
&=G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')\varphi(s',a')\varphi(s',a')^{\top}\right]w^{\star}+G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')Y(s',a')\varphi(s',a')\right] \\
&=w^{\star}+G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')Y(s',a')\varphi(s',a')\right].
\end{aligned} w ⋆ = G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) ( Y ( s ′ , a ′ ) + ⟨ φ ( s ′ , a ′ ) , w ⋆ ⟩ ) φ ( s ′ , a ′ ) = G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) φ ( s ′ , a ′ ) φ ( s ′ , a ′ ) ⊤ w ⋆ + G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) = w ⋆ + G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) .
⟹ w ^ ⋆ − w ⋆ = G ς † [ ∑ ( s ′ , a ′ ) ∈ C ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) ] . \Longrightarrow\widehat{w}^{\star}-w^{\star}=G_{\varsigma}^{\dagger}\left[\sum_{(s',a')\in\mathcal{C}}\varsigma(s',a')Y(s',a')\varphi(s',a')\right]. ⟹ w ⋆ − w ⋆ = G ς † ( s ′ , a ′ ) ∈ C ∑ ς ( s ′ , a ′ ) Y ( s ′ , a ′ ) φ ( s ′ , a ′ ) .
Hence, for any arbitrary ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A , we have that
∣ ⟨ φ ( s , a ) , w ^ ⋆ − w ⋆ ⟩ ∣ = ∣ ∑ ( s ′ , a ′ ) ∈ C ζ ( s ′ , a ′ ) γ ( s ′ , a ′ ) φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ ≤ ∑ ( s ′ , a ′ ) ∈ C ∣ γ ( s ′ , a ′ ) ∣ ζ ( s ′ , a ′ ) ∣ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ (Using triangle inequality) ≤ ( max ( s ′ , a ′ ) ∈ C ∣ γ ( s ′ , a ′ ) ∣ ) ∑ ( s ′ , a ′ ) ∈ C ζ ( s ′ , a ′ ) ∣ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ ≤ ϵ b i a s ∑ ( s ′ , a ′ ) ∈ C ζ ( s ′ , a ′ ) ∣ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ (Under Assumption 2, ∣ γ ( s ′ , a ′ ) ∣ ≤ ϵ b i a s ) = ϵ b i a s ( E ( s ′ , a ′ ) ∼ ζ [ ∣ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ ] ) 2 ≤ ϵ b i a s E ( s ′ , a ′ ) ∼ ζ [ ∣ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ∣ 2 ] (Using Jensen’s inequality) = ϵ b i a s φ ( s , a ) ⊤ G ζ ⊤ [ ∑ ( s ′ , a ′ ) ∈ C ζ ( s ′ , a ′ ) φ ( s ′ , a ′ ) φ ( s ′ , a ′ ) ⊤ ] G ζ φ ( s , a ) = ϵ b i a s φ ( s , a ) ⊤ G ζ ⊤ G ζ G ζ ⊤ φ ( s , a ) (Definition of G ζ ) = ϵ b i a s φ ( s , a ) ⊤ G ζ ⊤ φ ( s , a ) = ϵ b i a s ∥ φ ( s , a ) ∥ G ζ ⊤ . \begin{aligned}
\left|\langle\varphi(s,a),\widehat{w}^{\star}-w^{\star}\rangle\right|
&=\left|\sum_{(s',a')\in\mathcal{C}}\zeta(s',a')\gamma(s',a')\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right|\\
&\leq\sum_{(s',a')\in\mathcal{C}}|\gamma(s',a')|\zeta(s',a')\left|\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right| \qquad\text{(Using triangle inequality)}\\
&\leq\left(\max_{(s',a')\in\mathcal{C}}|\gamma(s',a')|\right)\sum_{(s',a')\in\mathcal{C}}\zeta(s',a')\left|\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right|\\
&\leq\epsilon_{\mathrm{bias}}\sum_{(s',a')\in\mathcal{C}}\zeta(s',a')\left|\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right| \qquad\text{(Under Assumption 2, $|\gamma(s',a')|\leq\epsilon_{\mathrm{bias}}$)}\\
&=\epsilon_{\mathrm{bias}}\sqrt{\left(\mathbb{E}_{(s',a')\sim\zeta}\left[\left|\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right|\right]\right)^2}\\
&\leq\epsilon_{\mathrm{bias}}\sqrt{\mathbb{E}_{(s',a')\sim\zeta}\left[\left|\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s',a')\right|^2\right]} \qquad\text{(Using Jensen’s inequality)}\\
&=\epsilon_{\mathrm{bias}}\sqrt{\varphi(s,a)^{\top}G_{\zeta}^{\top}\left[\sum_{(s',a')\in\mathcal{C}}\zeta(s',a')\varphi(s',a')\varphi(s',a')^{\top}\right]G_{\zeta}\varphi(s,a)}\\
&=\epsilon_{\mathrm{bias}}\sqrt{\varphi(s,a)^{\top}G_{\zeta}^{\top}G_{\zeta}G_{\zeta}^{\top}\varphi(s,a)} \qquad\text{(Definition of $G_{\zeta}$)}\\
&=\epsilon_{\mathrm{bias}}\sqrt{\varphi(s,a)^{\top}G_{\zeta}^{\top}\varphi(s,a)}
=\epsilon_{\mathrm{bias}}\left\|\varphi(s,a)\right\|_{G_{\zeta}^{\top}}.
\end{aligned} ∣ ⟨ φ ( s , a ) , w ⋆ − w ⋆ ⟩ ∣ = ( s ′ , a ′ ) ∈ C ∑ ζ ( s ′ , a ′ ) γ ( s ′ , a ′ ) φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ≤ ( s ′ , a ′ ) ∈ C ∑ ∣ γ ( s ′ , a ′ ) ∣ ζ ( s ′ , a ′ ) φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) (Using triangle inequality) ≤ ( ( s ′ , a ′ ) ∈ C max ∣ γ ( s ′ , a ′ ) ∣ ) ( s ′ , a ′ ) ∈ C ∑ ζ ( s ′ , a ′ ) φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ≤ ϵ bias ( s ′ , a ′ ) ∈ C ∑ ζ ( s ′ , a ′ ) φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) (Under Assumption 2, ∣ γ ( s ′ , a ′ ) ∣ ≤ ϵ bias ) = ϵ bias ( E ( s ′ , a ′ ) ∼ ζ [ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) ] ) 2 ≤ ϵ bias E ( s ′ , a ′ ) ∼ ζ [ φ ( s , a ) ⊤ G ζ ⊤ φ ( s ′ , a ′ ) 2 ] (Using Jensen’s inequality) = ϵ bias φ ( s , a ) ⊤ G ζ ⊤ ( s ′ , a ′ ) ∈ C ∑ ζ ( s ′ , a ′ ) φ ( s ′ , a ′ ) φ ( s ′ , a ′ ) ⊤ G ζ φ ( s , a ) = ϵ bias φ ( s , a ) ⊤ G ζ ⊤ G ζ G ζ ⊤ φ ( s , a ) (Definition of G ζ ) = ϵ bias φ ( s , a ) ⊤ G ζ ⊤ φ ( s , a ) = ϵ bias ∥ φ ( s , a ) ∥ G ζ ⊤ .
Putting everything together, we have that for any ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A ,
∣ Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w k ⟩ ∣ ≤ ϵ b i a s ( 1 + ∥ φ ( s , a ) ∥ G ζ ⊤ ) + ϵ o p t . \left|Q_{R_t,\tau}^{\pi_k}(s,a)-\langle\varphi(s,a),w_k\rangle\right|
\leq\sqrt{\epsilon_{\mathrm{bias}}}\left(1+\left\|\varphi(s,a)\right\|_{G_{\zeta}^{\top}}\right)+\sqrt{\epsilon_{\mathrm{opt}}}. Q R t , τ π k ( s , a ) − ⟨ φ ( s , a ) , w k ⟩ ≤ ϵ bias ( 1 + ∥ φ ( s , a ) ∥ G ζ ⊤ ) + ϵ opt .
Taking the maximum over ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A finishes the proof. □
Corollary 2. Under Assumptions 2 and 3, for a fixed pseudo-reward R t R_t R t and τ > 0 \tau>0 τ > 0 , the Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ initialized at π 0 \pi_0 π 0 satisfies, for all k ≥ 0 k\geq0 k ≥ 0 ,
∥ ln ( π t ⋆ ) − ln ( π k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t π t ⋆ − Q t π k ∥ ∞ + ϵ C ) , (71) \left\|\ln(\pi_t^\star)-\ln(\pi_{k+1})\right\|_{\infty}
\leq\frac{2}{\tau}\left(\left\|Q_t^{\pi_t^\star}-Q_t^{\pi_k}\right\|_{\infty}+\epsilon_{\mathcal{C}}\right), \tag*{(71)} ∥ ln ( π t ⋆ ) − ln ( π k + 1 ) ∥ ∞ ≤ τ 2 ( Q t π t ⋆ − Q t π k ∞ + ϵ C ) , (71)
and for all K ≥ 0 K\geq0 K ≥ 0 ,
∥ Q t π K ⋆ − Q t π K + 1 ∥ ∞ ≤ γ K + 1 ∥ Q t π t ⋆ − Q t π 0 ∥ ∞ + 2 γ ϵ C ( 1 − γ ) 2 , \left\|Q_t^{\pi_K^\star}-Q_t^{\pi_{K+1}}\right\|_{\infty}
\leq\gamma^{K+1}\left\|Q_t^{\pi_t^\star}-Q_t^{\pi_0}\right\|_{\infty}
+\frac{2\gamma\epsilon_{\mathcal{C}}}{(1-\gamma)^2}, Q t π K ⋆ − Q t π K + 1 ∞ ≤ γ K + 1 Q t π t ⋆ − Q t π 0 ∞ + ( 1 − γ ) 2 2 γ ϵ C ,
∥ ln ( π t ⋆ ) − ln ( π K + 1 ) ∥ ∞ ≤ 2 γ K τ ∥ Q t π t ⋆ − Q t π 0 ∥ ∞ + 4 ϵ C τ ( 1 − γ ) 2 , \left\|\ln(\pi_t^\star)-\ln(\pi_{K+1})\right\|_{\infty}
\leq\frac{2\gamma^K}{\tau}\left\|Q_t^{\pi_t^\star}-Q_t^{\pi_0}\right\|_{\infty}
+\frac{4\epsilon_{\mathcal{C}}}{\tau(1-\gamma)^2}, ∥ ln ( π t ⋆ ) − ln ( π K + 1 ) ∥ ∞ ≤ τ 2 γ K Q t π t ⋆ − Q t π 0 ∞ + τ ( 1 − γ ) 2 4 ϵ C ,
V R t , τ π K ⋆ ( ρ ) − V R t , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ γ K ∥ Q t π t ⋆ − Q t π 0 ∥ ∞ + 2 ϵ C ( 1 − γ ) 2 ] . V_{R_t,\tau}^{\pi_K^\star}(\rho)-V_{R_t,\tau}^{\pi_{K+1}}(\rho)
\leq(2+\gamma)\left[\gamma^K\left\|Q_t^{\pi_t^\star}-Q_t^{\pi_0}\right\|_{\infty}
+\frac{2\epsilon_{\mathcal{C}}}{(1-\gamma)^2}\right]. V R t , τ π K ⋆ ( ρ ) − V R t , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ γ K Q t π t ⋆ − Q t π 0 ∞ + ( 1 − γ ) 2 2 ϵ C ] .
where π t ⋆ : = arg max π V R t , τ π ( ρ ) \pi_t^\star:=\arg\max_{\pi}V_{R_t,\tau}^{\pi}(\rho) π t ⋆ := arg max π V R t , τ π ( ρ ) and ϵ C : = ϵ b i a s ( 1 + d ) + d ϵ o p t \epsilon_{\mathcal{C}}:=\epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d\epsilon_{\mathrm{opt}}} ϵ C := ϵ bias ( 1 + d ) + d ϵ opt .
Proof. Under Assumptions 1 to 3, using Lemma 12, we have that for all k ∈ [ K ] k\in[K] k ∈ [ K ] ,
∥ ⟨ φ ( s , a ) , w k ⟩ − Q R t , τ π k ( s , a ) ∥ ∞ ≤ ϵ b i a s ( 1 + max s , a ∥ φ ( s , a ) ∥ G ζ ⊤ ) + ϵ o p t . (72) \left\|\left\langle\varphi(s,a),w_k\right\rangle-Q_{R_t,\tau}^{\pi_k}(s,a)\right\|_{\infty}
\leq\epsilon_{\mathrm{bias}}\left(1+\max_{s,a}\left\|\varphi(s,a)\right\|_{G_{\zeta}^{\top}}\right)+\sqrt{\epsilon_{\mathrm{opt}}}. \tag*{(72)} ⟨ φ ( s , a ) , w k ⟩ − Q R t , τ π k ( s , a ) ∞ ≤ ϵ bias ( 1 + s , a max ∥ φ ( s , a ) ∥ G ζ ⊤ ) + ϵ opt . (72)
Furthermore, by the Kiefer-Wolfowitz theorem [18 ] , there exists a coreset C C C such that C ≤ d ( d + 1 ) 2 C \le\frac{d(d+1)}{2} C ≤ 2 d ( d + 1 ) and distribution ς ∈ ( Δ A ) S \varsigma\in(\Delta_A)^S ς ∈ ( Δ A ) S that ensures max s , a ∥ ϕ ( s , a ) ∥ G † ≤ d \max_{s,a}\|\phi(s,a)\|_{G^\dagger} \le\sqrt{d} max s , a ∥ ϕ ( s , a ) ∥ G † ≤ d . Hence, we have that
∥ ⟨ ϕ ( s , a ) , w k ⟩ − Q R t , τ π k ∗ ( s , a ) ∥ ∞ ≤ ϵ b i a s ( 1 + d ) + d ϵ o p t = : ϵ C \left\|\langle\phi(s,a),w_k\rangle-Q_{R_{t,\tau}^{\pi_k^*}}(s,a)\right\|_\infty\le\epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d}\epsilon_{\mathrm{opt}}=:\epsilon_C ⟨ ϕ ( s , a ) , w k ⟩ − Q R t , τ π k ∗ ( s , a ) ∞ ≤ ϵ bias ( 1 + d ) + d ϵ opt =: ϵ C
Since the Q-E-NPG update in Equation (13) is equivalent to the inexact NPG update in Equation (114) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ and ⋄ = R t \diamond=R_t ⋄ = R t , the last three inequalities follow by Lemma 5 with ⋄ = R t \diamond=R_t ⋄ = R t and E = ϵ C E=\epsilon_C E = ϵ C .
Finally for Equation (71) : for each s s s , π k + 1 ( ⋅ ∣ s ) = σ τ ∗ ( ⟨ ϕ ( s , ⋅ ) , w k ⟩ ) \pi_{k+1}(\cdot|s)=\sigma_\tau^*(\langle\phi(s,\cdot),w_k\rangle) π k + 1 ( ⋅ ∣ s ) = σ τ ∗ (⟨ ϕ ( s , ⋅ ) , w k ⟩) and π t ∗ ( ⋅ ∣ s ) = σ τ ∗ ( Q t π t ∗ ( s , ⋅ ) ) \pi_t^*(\cdot|s)=\sigma_\tau^*(Q_t^{\pi_t^*}(s,\cdot)) π t ∗ ( ⋅ ∣ s ) = σ τ ∗ ( Q t π t ∗ ( s , ⋅ )) , so by Equation (20) of Proposition 2 and the triangle inequality, ∥ ln π t ∗ − ln π k + 1 ∥ ∞ ≤ 2 τ ( ∥ Q t π t ∗ − Q t π k ∥ ∞ + ϵ C ) \|\ln\pi_t^*-\ln\pi_{k+1}\|_\infty\le\frac{2}{\tau}\left(\|Q_t^{\pi_t^*}-Q_t^{\pi_k}\|_\infty+\epsilon_C\right) ∥ ln π t ∗ − ln π k + 1 ∥ ∞ ≤ τ 2 ( ∥ Q t π t ∗ − Q t π k ∥ ∞ + ϵ C ) .
Convergence Results Under Smoothness
Corollary 3. Under Assumptions 1 to 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 8 ) \epsilon_{\mathrm{bias}}\le O(\epsilon^8) ϵ bias ≤ O ( ϵ 8 ) and ϵ o p t ≤ O ( ϵ 16 ) \epsilon_{\mathrm{opt}}\le O(\epsilon^{16}) ϵ opt ≤ O ( ϵ 16 ) , Algorithm 1 with (i) τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , T = O ( 1 / ϵ 4 ) T=O(1/\epsilon^4) T = O ( 1/ ϵ 4 ) , β = O ( ϵ ) \beta=O(\epsilon) β = O ( ϵ ) , μ = 0 \mu=0 μ = 0 , λ 0 = 0 \lambda_0=0 λ 0 = 0 and (ii) using the Q-E-NPG update in Equation (5) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ and K = J = O ( ln ( 1 / ϵ ) ) K=J=O(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 4 ) \widetilde{O}(1/\epsilon^4) O ( 1/ ϵ 4 ) gradient evaluations.
Proof. This proof proceeds similarly to Theorem 1. We first construct a uniform bound of the dual gradient error. By Lemma 4, for all t ≥ 0 t\ge0 t ≥ 0 , we can relate the approximate gradient to the following optimization term:
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ 2 m ( 1 − γ ) 3 / 2 τ max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) \|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\|\le\frac{\sqrt{2m}}{(1-\gamma)^{3/2}\sqrt{\tau}}\sqrt{\max_\pi V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho)} ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ ( 1 − γ ) 3/2 τ 2 m π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ )
To characterize the sub-optimality gap max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) \max_\pi V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho) max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) , we instantiate the PolicyOptimization method in Algorithm 1 using Q-E-NPG update in Equation (13) . At iteration t t t , by Corollary 2, with ⋄ = R ( λ t ) \diamond=R(\lambda_t) ⋄ = R ( λ t ) , π 0 = π t − 1 \pi_0=\pi_{t-1} π 0 = π t − 1 , η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , the policy π t = π K \pi_t=\pi_K π t = π K satisfies
max π V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( τ T 2 + ϵ C τ ) . \max_\pi V_{R(\lambda_t),\tau}^{\pi}(\rho)-V_{R(\lambda_t),\tau}^{\pi_t}(\rho)\le O\left(\frac{\tau}{T^2}+\frac{\epsilon_C}{\tau}\right). π max V R ( λ t ) , τ π ( ρ ) − V R ( λ t ) , τ π t ( ρ ) ≤ O ( T 2 τ + τ ϵ C ) .
after K ≥ O ( ln ( T τ ) ) K\ge O\left(\ln\left(\frac{T}{\tau}\right)\right) K ≥ O ( ln ( τ T ) ) iterations where ϵ C = O ( ϵ b i a s + ϵ o p t ) \epsilon_C=O(\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}) ϵ C = O ( ϵ bias + ϵ opt ) . Hence, for all t ∈ [ T ] t\in[T] t ∈ [ T ]
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ O ( 1 T + ϵ C τ ) = : δ t . (73) \|\nabla D_\tau(\lambda_t)-\widetilde{\nabla}D_\tau(\lambda_t)\|\le O\left(\frac{1}{T}+\frac{\sqrt{\epsilon_C}}{\tau}\right)=:\delta_t. \tag*{(73)} ∥∇ D τ ( λ t ) − ∇ D τ ( λ t ) ∥ ≤ O ( T 1 + τ ϵ C ) =: δ t . (73)
and let δ ^ = max t ∈ [ T ] δ t \hat{\delta}=\max_{t\in[T]}\delta_t δ ^ = max t ∈ [ T ] δ t .
We now characterize the dual convergence using the above uniform gradient error. By Lemma 2, D τ ( λ ) D_\tau(\lambda) D τ ( λ ) is G τ = m τ ( 1 − γ ) 3 G_\tau=\frac{m}{\tau(1-\gamma)^3} G τ = τ ( 1 − γ ) 3 m -smooth. Hence, under Assumption 1, by Lemma 3 with δ t = δ ^ \delta_t=\hat{\delta} δ t = δ ^ , Algorithm 1 using step-size β = 1 G τ \beta=\frac{1}{G_\tau} β = G τ 1 , μ = 0 \mu=0 μ = 0 and λ 0 = 0 \lambda_0=0 λ 0 = 0 results in the following convergence:
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ G τ ∥ λ 0 ∗ ∥ 2 2 2 T + ∣ Λ ∣ δ ^ ≤ O ( G τ T ) = O ( 1 τ T + ϵ C τ ) . D_\tau(\bar{\lambda}_T)-D_\tau(\lambda^*)\le\frac{G_\tau\|\lambda_0^*\|_2^2}{2T}+|\Lambda|\hat{\delta}\le O\left(\frac{G_\tau}{T}\right)=O\left(\frac{1}{\tau T}+\frac{\sqrt{\epsilon_C}}{\tau}\right). D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 T G τ ∥ λ 0 ∗ ∥ 2 2 + ∣Λ∣ δ ^ ≤ O ( T G τ ) = O ( τ T 1 + τ ϵ C ) .
Thus, by Lemma 1 with Δ = O ( 1 τ T + ϵ C τ ) \Delta=O\left(\frac{1}{\tau T}+\frac{\sqrt{\epsilon_C}}{\tau}\right) Δ = O ( τ T 1 + τ ϵ C ) , the average dual variable λ ˉ T \bar{\lambda}_T λ ˉ T returned by Algorithm 1 satisfies
V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ~ ( 1 T τ + ϵ C 4 τ ) + O ( τ ) V_r^{\pi^*}(\rho)-V_r^{\pi_{\bar{\lambda}_T}^*}(\rho)\le\widetilde{O}\left(\frac{1}{\sqrt{T}\tau}+\frac{\sqrt[4]{\epsilon_C}}{\sqrt{\tau}}\right)+O(\tau) V r π ∗ ( ρ ) − V r π λ ˉ T ∗ ( ρ ) ≤ O ( T τ 1 + τ 4 ϵ C ) + O ( τ )
max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ~ ( 1 T τ + ϵ C 4 τ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi_{\bar{\lambda}_T}^*}(\rho),0\right\}\le\widetilde{O}\left(\frac{1}{\sqrt{T}\tau}+\frac{\sqrt[4]{\epsilon_C}}{\sqrt{\tau}}\right)\quad\forall i\in[m]. max { b i − V c i π λ ˉ T ∗ ( ρ ) , 0 } ≤ O ( T τ 1 + τ 4 ϵ C ) ∀ i ∈ [ m ] .
Assuming that ϵ b i a s ≤ O ( ϵ 8 ) \epsilon_{\mathrm{bias}} \leq O(\epsilon^{8}) ϵ bias ≤ O ( ϵ 8 ) and ϵ o p t ≤ O ( ϵ 16 ) \epsilon_{\mathrm{opt}} \leq O(\epsilon^{16}) ϵ opt ≤ O ( ϵ 16 ) , setting τ = O ( ϵ ) \tau= O(\epsilon) τ = O ( ϵ ) and T = O ( 1 / ϵ 4 ) T = O(1/\epsilon^{4}) T = O ( 1/ ϵ 4 ) ensures
V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ ) V_r^{\pi^*}(\rho) - V_r^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho) \leq O(\epsilon) V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ )
and
max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . \max\left\{b_i - V_{c_i}^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho),0\right\} \leq O(\epsilon)\quad\forall i \in[m]. max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 4, applying Q-E-NPG to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_T) R ( λ ˉ T ) recovers a policy π N \pi_N π N that is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy after N = O ~ ( ln ( 1 ϵ ) ) N = \widetilde{O}\left(\ln\left(\frac{1}{\epsilon}\right)\right) N = O ( ln ( ϵ 1 ) ) iterations. Therefore, the total number of gradient evaluations is
O ~ ( 1 ϵ 4 ) \widetilde{O}\left(\frac{1}{\epsilon^4}\right) O ( ϵ 4 1 )
Corollary 4. Under Assumptions 1 to 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}} \leq O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}} \leq O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , Algorithm 1 with (i) τ = O ( ϵ ) \tau= O(\epsilon) τ = O ( ϵ ) , T = O ( 1 / ϵ 7 ) T = O(1/\epsilon^7) T = O ( 1/ ϵ 7 ) , β = O ( ϵ 4 ) \beta= O(\epsilon^4) β = O ( ϵ 4 ) , μ = 0 \mu= 0 μ = 0 , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 and (ii) using the Q-E-NPG update in Equation (5) with η = 1 − γ τ \eta= \frac{1-\gamma}{\tau} η = τ 1 − γ , K = 1 K = 1 K = 1 , J = O ( ln ( 1 / ϵ ) ) J = O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 7 ) \widetilde{O}(1/\epsilon^7) O ( 1/ ϵ 7 ) gradient evaluations.
Proof. This proof proceeds similarly to Theorem 5. Starting from Equation (43) we have
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ ∗ ∥ 2 2 2 β T + 4 m A ∣ Λ ∣ τ ( 1 − γ ) 2 T ∑ t = 0 T − 1 Φ t (74) D_\tau(\bar{\lambda}_T)-D_\tau(\lambda^*) \leq\frac{\|\lambda^*\|_2^2}{2\beta T}+\frac{4\sqrt{m}A|\Lambda|}{\tau(1-\gamma)^2T}\sum_{t=0}^{T-1}\Phi_t \tag*{(74)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ ∗ ∥ 2 2 + τ ( 1 − γ ) 2 T 4 m A ∣Λ∣ t = 0 ∑ T − 1 Φ t (74)
Next, we derive a recursive bound on the optimization error, relating iteration t + 1 t+1 t + 1 to iteration t t t with an additional drift term between λ t \lambda_t λ t and λ t + 1 \lambda_{t+1} λ t + 1 and error term due to the linear approximation. By Corollary 2 with π 0 = π t \pi_0=\pi_t π 0 = π t , running K = 1 K=1 K = 1 iterations of Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ returns a policy π t + 1 = π K \pi_{t+1}=\pi_K π t + 1 = π K such that
∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ≤ γ ∥ Q t + 1 π t + 1 ∗ − Q t π t ∥ ∞ + 2 ϵ C ( 1 − γ ) 2 (75) \left\|Q_{t+1}^{\pi^*_{t+1}}-Q_{t+1}^{\pi_{t+1}}\right\|_\infty
\leq\gamma\left\|Q_{t+1}^{\pi^*_{t+1}}-Q_t^{\pi_t}\right\|_\infty+\frac{2\epsilon_C}{(1-\gamma)^2} \tag*{(75)} Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ γ Q t + 1 π t + 1 ∗ − Q t π t ∞ + ( 1 − γ ) 2 2 ϵ C (75)
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ 2 τ ∥ Q t + 1 π t + 1 ∗ − Q t π t ∥ ∞ + 4 ϵ C τ ( 1 − γ ) 2 (76) \left\|\ln(\pi^*_{t+1})-\ln(\pi_{t+1})\right\|_\infty
\leq\frac{2}{\tau}\left\|Q_{t+1}^{\pi^*_{t+1}}-Q_t^{\pi_t}\right\|_\infty+\frac{4\epsilon_C}{\tau(1-\gamma)^2} \tag*{(76)} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ τ 2 Q t + 1 π t + 1 ∗ − Q t π t ∞ + τ ( 1 − γ ) 2 4 ϵ C (76)
As a result, by Lemma 19 with E = 2 ϵ C ( 1 − γ ) 2 E=\frac{2\epsilon_C}{(1-\gamma)^2} E = ( 1 − γ ) 2 2 ϵ C we have
Φ t + 1 ≤ 1 + γ 2 Φ t + m ( 1 + γ ) ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) ϵ C ( 1 − γ ) 3 ≤ 1 + γ 2 Φ t + m 3 / 2 ( 1 + γ ) ( 1 − γ ) 3 β + ( 3 − γ ) ϵ C ( 1 − γ ) 3 (Using Equation (44)) (77) \begin{aligned}
\Phi_{t+1}\leq\frac{1+\gamma}{2}\Phi_t+\frac{m(1+\gamma)}{(1-\gamma)^2}\|\lambda_t-\lambda_{t+1}\|_\infty+\frac{(3-\gamma)\epsilon_C}{(1-\gamma)^3} \\
&\leq\frac{1+\gamma}{2}\Phi_t+\frac{m^{3/2}(1+\gamma)}{(1-\gamma)^3}\beta+\frac{(3-\gamma)\epsilon_C}{(1-\gamma)^3}
\qquad\text{(Using Equation (44))} \tag*{(77)}
\end{aligned} Φ t + 1 ≤ 2 1 + γ Φ t + ( 1 − γ ) 2 m ( 1 + γ ) ∥ λ t − λ t + 1 ∥ ∞ + ( 1 − γ ) 3 ( 3 − γ ) ϵ C ≤ 2 1 + γ Φ t + ( 1 − γ ) 3 m 3/2 ( 1 + γ ) β + ( 1 − γ ) 3 ( 3 − γ ) ϵ C (Using Equation (44)) (77)
By Proposition 5 with κ = 1 + γ 2 \kappa=\frac{1+\gamma}{2} κ = 2 1 + γ and ν = m 3 / 2 ( 1 + γ ) ( 1 − γ ) 3 β + ( 3 − γ ) ϵ C ( 1 − γ ) 3 \nu=\frac{m^{3/2}(1+\gamma)}{(1-\gamma)^3}\beta+\frac{(3-\gamma)\epsilon_C}{(1-\gamma)^3} ν = ( 1 − γ ) 3 m 3/2 ( 1 + γ ) β + ( 1 − γ ) 3 ( 3 − γ ) ϵ C ,
1 T ∑ t = 0 T − 1 Φ t ≤ 2 Φ 0 ( 1 − γ ) T + 2 m 3 / 2 ( 1 + γ ) β ( 1 − γ ) 4 + 2 ( 3 − γ ) ϵ C ( 1 − γ ) 4 \frac{1}{T}\sum_{t=0}^{T-1}\Phi_t\leq\frac{2\Phi_0}{(1-\gamma)T}+\frac{2m^{3/2}(1+\gamma)\beta}{(1-\gamma)^4}+\frac{2(3-\gamma)\epsilon_C}{(1-\gamma)^4} T 1 t = 0 ∑ T − 1 Φ t ≤ ( 1 − γ ) T 2 Φ 0 + ( 1 − γ ) 4 2 m 3/2 ( 1 + γ ) β + ( 1 − γ ) 4 2 ( 3 − γ ) ϵ C
Using the above bound with Equation (43) , we have
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ ∗ ∥ 2 2 2 β T + 4 m A ∣ Λ ∣ τ ( 1 − γ ) 2 T ∑ t = 0 T − 1 Φ t ≤ O ( 1 β T ) + O ( 1 τ T ) + O ( β τ ) + O ( ϵ C τ ) \begin{aligned}
D_\tau(\bar{\lambda}_T)-D_\tau(\lambda^*)\leq\frac{\|\lambda^*\|_2^2}{2\beta T}+\frac{4\sqrt{m}A|\Lambda|}{\tau(1-\gamma)^2T}\sum_{t=0}^{T-1}\Phi_t \\
&\leq O\left(\frac{1}{\beta T}\right)+O\left(\frac{1}{\tau T}\right)+O\left(\frac{\beta}{\tau}\right)+O\left(\frac{\epsilon_C}{\tau}\right)
\end{aligned} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ ∗ ∥ 2 2 + τ ( 1 − γ ) 2 T 4 m A ∣Λ∣ t = 0 ∑ T − 1 Φ t ≤ O ( β T 1 ) + O ( τ T 1 ) + O ( τ β ) + O ( τ ϵ C )
Using the above dual sub-optimality guarantee with Lemma 1, we have
V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( 1 τ β T ) + O ( β τ ) + O ( ϵ C τ ) + O ( τ ) V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho)\leq O\left(\frac{1}{\sqrt{\tau\beta T}}\right)+O\left(\frac{\sqrt{\beta}}{\tau}\right)+O\left(\frac{\sqrt{\epsilon_C}}{\tau}\right)+O(\tau) V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( τ β T 1 ) + O ( τ β ) + O ( τ ϵ C ) + O ( τ )
max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ β T ) + O ( β τ ) + O ( ϵ C τ ) + O ( τ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho),0\right\}\leq O\left(\frac{1}{\sqrt{\tau\beta T}}\right)+O\left(\frac{\sqrt{\beta}}{\tau}\right)+O\left(\frac{\sqrt{\epsilon_C}}{\tau}\right)+O(\tau)\quad\forall i\in[m]. max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ β T 1 ) + O ( τ β ) + O ( τ ϵ C ) + O ( τ ) ∀ i ∈ [ m ] .
Since ϵ C = O ( ϵ b i a s + ϵ o p t ) \epsilon_C=O(\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}) ϵ C = O ( ϵ bias + ϵ opt ) , assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}}\leq O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , setting τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) and T = O ( 1 / ϵ 7 ) T=O(1/\epsilon^7) T = O ( 1/ ϵ 7 ) ensures
V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho)\leq O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^*_{\bar{\lambda}_T,\tau}}(\rho),0\right\}\leq O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ ˉ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ ˉ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 4, applying Q-E-NPG update to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_T) R ( λ ˉ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Furthermore, following the same argument as Theorem 5, the total number of gradient evaluations is O ( 1 / ϵ 7 ) O(1/\epsilon^7) O ( 1/ ϵ 7 ) .
Corollary 5. Under Assumptions 1 to 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}}\leq O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , Algorithm 1 with (i) τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , T = O ~ ( 1 / ϵ 4 + 3 / 2 K ) T=\widetilde{O}(1/\epsilon^{4+3/2^K}) T = O ( 1/ ϵ 4 + 3/ 2 K ) , β = O ( ϵ 3 + 2 K 2 K ) \beta=O\left(\epsilon^{\frac{3+2K}{2^K}}\right) β = O ( ϵ 2 K 3 + 2 K ) , μ = 0 \mu=0 μ = 0 , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K\geq1 K ≥ 1 , J = O ( ln ( 1 / ϵ ) ) J=O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) and (iii) the initial policy satisfies L 0 ≤ B L_0\leq B L 0 ≤ B for a constant B > 0 B>0 B > 0 , Algorithm 1 return an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 4 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{4+3/2^K}) O ( 1/ ϵ 4 + 3/ 2 K ) gradient evaluations.
Proof. This proof proceeds similarly to Theorem 6. Starting from Equation (48) we have
D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ ∥ λ T ∗ ∥ 2 2 2 β T + m A ∣ Λ ∣ ( 1 − γ ) 2 T ∑ t = 0 T − 1 L t ≤ ∥ λ T ∗ ∥ 2 2 2 β T + m A ∣ Λ ∣ ( 1 − γ ) 2 max t ∈ [ 0 , T − 1 ] L t (78) D_\tau(\bar{\lambda}_T)-D_\tau(\lambda^*)\leq\frac{\lVert\lambda_T^*\rVert_2^2}{2\beta T}+\frac{\sqrt{m}A|\Lambda|}{(1-\gamma)^2T}\sum_{t=0}^{T-1}L_t\leq\frac{\lVert\lambda_T^*\rVert_2^2}{2\beta T}+\frac{\sqrt{m}A|\Lambda|}{(1-\gamma)^2}\max_{t\in[0,T-1]}L_t \tag*{(78)} D τ ( λ ˉ T ) − D τ ( λ ∗ ) ≤ 2 β T ∥ λ T ∗ ∥ 2 2 + ( 1 − γ ) 2 T m A ∣Λ∣ t = 0 ∑ T − 1 L t ≤ 2 β T ∥ λ T ∗ ∥ 2 2 + ( 1 − γ ) 2 m A ∣Λ∣ t ∈ [ 0 , T − 1 ] max L t (78)
We next show that for all t ∈ [ 0 , T − 1 ] t\in[0,T-1] t ∈ [ 0 , T − 1 ] ,
L t ≤ B : = 2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) 2 + 4 ϵ C τ ( 1 − γ ) 2 ) n + 4 ϵ C τ ( 1 − γ ) 2 (79) L_t\leq B:=2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta}{\tau(1-\gamma)^2}+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2} \tag*{(79)} L t ≤ B := 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + τ ( 1 − γ ) 2 4 ϵ C ) n + τ ( 1 − γ ) 2 4 ϵ C (79)
where ϵ C : = d ϵ b i a s ( 1 + d ) + d ϵ o p t \epsilon_C:=\sqrt{d}\epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d}\epsilon_{\mathrm{opt}} ϵ C := d ϵ bias ( 1 + d ) + d ϵ opt . To do so, we assume that the initial policy satisfies
∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ = L 0 ≤ B , \lVert\ln(\pi_0^*)-\ln(\pi_0)\rVert_\infty=L_0\leq B, ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ = L 0 ≤ B ,
where B B B is within the following basin,
B ≤ R : = 1 − γ γ [ 1 4 − 2 γ ϵ C τ ( 1 − γ ) 3 ] − 2 m β τ ( 1 − γ ) 2 (80) B\leq R:=\frac{1-\gamma}{\gamma}\left[\frac{1}{4}-\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\right]-\frac{2m\beta}{\tau(1-\gamma)^2} \tag*{(80)} B ≤ R := γ 1 − γ [ 4 1 − τ ( 1 − γ ) 3 2 γ ϵ C ] − τ ( 1 − γ ) 2 2 m β (80)
and that
2 n ( γ 1 − γ ) n − 1 ( 2 m β + 4 ϵ C τ ( 1 − γ ) 2 ) n − 1 ≤ 1. (81) 2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta+4\epsilon_C}{\tau(1-\gamma)^2}\right)^{n-1}\leq1. \tag*{(81)} 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + 4 ϵ C ) n − 1 ≤ 1. (81)
We will prove that L t ≤ B L_t\leq B L t ≤ B , for all t ≥ 0 t\geq0 t ≥ 0 by an inductive argument. Suppose that there exists an t t t such that L t ≤ B L_t\leq B L t ≤ B . Then at iteration t + 1 t+1 t + 1 , by Corollary 2 with π 0 = π t \pi_0=\pi_t π 0 = π t , running K ≥ 1 K\geq1 K ≥ 1 iterations of Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ produces a sequence of policies { π ^ k } k = 0 K \{\hat{\pi}_k\}_{k=0}^{K} { π ^ k } k = 0 K such that for k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ] ,
∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∥ ∞ + ϵ C ( 1 − γ ) 2 ) (82) \left\lVert\ln(\pi_{t+1}^*)-\ln(\hat{\pi}_{k+1})\right\rVert_\infty\leq\frac{2}{\tau}\left(\left\lVert Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\hat{\pi}_k}\right\rVert_\infty+\frac{\epsilon_C}{(1-\gamma)^2}\right) \tag*{(82)} ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ τ 2 ( Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∞ + ( 1 − γ ) 2 ϵ C ) (82)
where π ^ 0 = π t \hat{\pi}_0=\pi_t π ^ 0 = π t and π ^ K = π t + 1 \hat{\pi}_K=\pi_{t+1} π ^ K = π t + 1 . In order to use the above result to show a contraction using Lemma 20, we require that the following condition holds:
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + 2 γ ε C τ ( 1 − γ ) 3 ≤ 1 4 \frac{\gamma}{1-\gamma}\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t)\right\|_{\infty}+\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3}\leq\frac{1}{4} 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π t ) ∞ + τ ( 1 − γ ) 3 2 γ ε C ≤ 4 1
Observe that
∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ ≤ ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) + ln ( π t ∗ ) − ln ( π t ) ∥ ∞ (Add/Subtract π t ∗ ) ≤ ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ (Using triangle inequality) ≤ ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + B (Since L t ≤ B ) ≤ 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + B (By Equation (106)) ≤ 2 m β τ ( 1 − γ ) 2 + B (By Equation (44)) \begin{aligned}
\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t)\right\|_{\infty}
&\leq\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})+\ln(\pi_t^{*})-\ln(\pi_t)\right\|_{\infty} && \text{(Add/Subtract }\pi_t^{*}\text{)}\\
&\leq\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})\right\|_{\infty}+\left\|\ln(\pi_t^{*})-\ln(\pi_t)\right\|_{\infty} && \text{(Using triangle inequality)}\\
&\leq\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})\right\|_{\infty}+B && \text{(Since }L_t\leq B\text{)}\\
&\leq\frac{2\sqrt{m}}{\tau(1-\gamma)}\left\|\lambda_{t+1}-\lambda_t\right\|+B && \text{(By Equation (106))}\\
&\leq\frac{2m\beta}{\tau(1-\gamma)^2}+B && \text{(By Equation (44))}
\end{aligned} ln ( π t + 1 ∗ ) − ln ( π t ) ∞ ≤ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) + ln ( π t ∗ ) − ln ( π t ) ∞ ≤ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∞ + ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ≤ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∞ + B ≤ τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + B ≤ τ ( 1 − γ ) 2 2 m β + B (Add/Subtract π t ∗ ) (Using triangle inequality) (Since L t ≤ B ) (By Equation (106)) (By Equation (44))
Therefore, using the above relation,
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + 2 γ ε C τ ( 1 − γ ) 3 ≤ γ 1 − γ ( 2 m β τ ( 1 − γ ) 2 + B ) + 2 γ ε C τ ( 1 − γ ) 3 ≤ γ 1 − γ 2 m β τ ( 1 − γ ) 2 + γ 1 − γ R + 2 γ ε C τ ( 1 − γ ) 3 (Since B ≤ R and γ 1 − γ > 0 ) = γ 1 − γ 2 m β τ ( 1 − γ ) 2 + [ 1 4 − 2 γ ε C τ ( 1 − γ ) 3 − γ 1 − γ 2 m β τ ( 1 − γ ) 2 ] + 2 γ ε C τ ( 1 − γ ) 3 (Definition of R ) = 1 4 \begin{aligned}
\frac{\gamma}{1-\gamma}\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t)\right\|_{\infty}+\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3}
&\leq\frac{\gamma}{1-\gamma}\left(\frac{2m\beta}{\tau(1-\gamma)^2}+B\right)+\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3}\\
&\leq\frac{\gamma}{1-\gamma}\frac{2m\beta}{\tau(1-\gamma)^2}+\frac{\gamma}{1-\gamma}R+\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3} && \text{(Since }B\leq R\text{ and }\frac{\gamma}{1-\gamma}>0\text{)}\\
&=\frac{\gamma}{1-\gamma}\frac{2m\beta}{\tau(1-\gamma)^2}+\left[\frac{1}{4}-\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3}-\frac{\gamma}{1-\gamma}\frac{2m\beta}{\tau(1-\gamma)^2}\right]+\frac{2\gamma\varepsilon_C}{\tau(1-\gamma)^3} && \text{(Definition of }R\text{)}\\
&=\frac{1}{4}
\end{aligned} 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π t ) ∞ + τ ( 1 − γ ) 3 2 γ ε C ≤ 1 − γ γ ( τ ( 1 − γ ) 2 2 m β + B ) + τ ( 1 − γ ) 3 2 γ ε C ≤ 1 − γ γ τ ( 1 − γ ) 2 2 m β + 1 − γ γ R + τ ( 1 − γ ) 3 2 γ ε C = 1 − γ γ τ ( 1 − γ ) 2 2 m β + [ 4 1 − τ ( 1 − γ ) 3 2 γ ε C − 1 − γ γ τ ( 1 − γ ) 2 2 m β ] + τ ( 1 − γ ) 3 2 γ ε C = 4 1 (Since B ≤ R and 1 − γ γ > 0 ) (Definition of R )
Hence by Lemma 20 with E = ε C ( 1 − γ ) 2 E=\frac{\varepsilon_C}{(1-\gamma)^2} E = ( 1 − γ ) 2 ε C ,
L t + 1 ≤ ( γ 1 − γ ) n − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) n + 4 ε C τ ( 1 − γ ) 2 ≤ ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) 2 + L t ) n + 4 ε C τ ( 1 − γ ) 2 (Using Equation (44)) \begin{aligned}
L_{t+1}\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\left\|\lambda_{t+1}-\lambda_t\right\|+L_t\right)^n+\frac{4\varepsilon_C}{\tau(1-\gamma)^2} \\
&\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta}{\tau(1-\gamma)^2}+L_t\right)^n+\frac{4\varepsilon_C}{\tau(1-\gamma)^2} \qquad\text{(Using Equation (44))}
\end{aligned} L t + 1 ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) n + τ ( 1 − γ ) 2 4 ε C ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + L t ) n + τ ( 1 − γ ) 2 4 ε C (Using Equation (44))
Using the above contraction, we now show that L t ≤ B L_t\leq B L t ≤ B , for all t ≥ 0 t\geq0 t ≥ 0 . By the definition of B B B and Equation (81)
B + 2 m β τ ( 1 − γ ) 2 = 2 m β + 4 ε C τ ( 1 − γ ) 2 [ 2 n ( γ 1 − γ ) n − 1 ( 2 m β + 4 ε C τ ( 1 − γ ) 2 ) n − 1 + 1 ] ≤ 2 2 m β + 4 ε C τ ( 1 − γ ) 2 . (83) B+\frac{2m\beta}{\tau(1-\gamma)^2}=\frac{2m\beta+4\varepsilon_C}{\tau(1-\gamma)^2}\left[2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta+4\varepsilon_C}{\tau(1-\gamma)^2}\right)^{n-1}+1\right]\leq2\frac{2m\beta+4\varepsilon_C}{\tau(1-\gamma)^2}. \tag*{(83)} B + τ ( 1 − γ ) 2 2 m β = τ ( 1 − γ ) 2 2 m β + 4 ε C [ 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + 4 ε C ) n − 1 + 1 ] ≤ 2 τ ( 1 − γ ) 2 2 m β + 4 ε C . (83)
Therefore, since x ↦ x n x\mapsto x^n x ↦ x n is non-decreasing on x ≥ 0 x\geq0 x ≥ 0 ,
( γ 1 − γ ) n − 1 ( B + 2 m β τ ( 1 − γ ) 2 ) n + 4 ε C τ ( 1 − γ ) 2 ≤ 2 n ( γ 1 − γ ) n − 1 ( 2 m β + 4 ε C τ ( 1 − γ ) 2 ) n + 4 ε C τ ( 1 − γ ) 2 = B . \left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(B+\frac{2m\beta}{\tau(1-\gamma)^2}\right)^n+\frac{4\varepsilon_C}{\tau(1-\gamma)^2}\leq2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta+4\varepsilon_C}{\tau(1-\gamma)^2}\right)^n+\frac{4\varepsilon_C}{\tau(1-\gamma)^2}=B. ( 1 − γ γ ) n − 1 ( B + τ ( 1 − γ ) 2 2 m β ) n + τ ( 1 − γ ) 2 4 ε C ≤ 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + 4 ε C ) n + τ ( 1 − γ ) 2 4 ε C = B .
Since the conditions of Lemma 22 are satisfied with κ = ( γ 1 − γ ) n − 1 \kappa=\left(\frac{\gamma}{1-\gamma}\right)^{n-1} κ = ( 1 − γ γ ) n − 1 , ν = 2 m β τ ( 1 − γ ) 2 \nu=\frac{2m\beta}{\tau(1-\gamma)^2} ν = τ ( 1 − γ ) 2 2 m β and e = 4 ε C τ ( 1 − γ ) 2 e=\frac{4\varepsilon_C}{\tau(1-\gamma)^2} e = τ ( 1 − γ ) 2 4 ε C , we have for all t ≥ 0 t\geq0 t ≥ 0 .
Combining the above result with Equation (78) ,
D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ ∥ λ τ ∗ ∥ 2 2 2 β T + m A ∣ A ∣ ( 1 − γ ) 2 T ≤ O ( 1 β T ) + O ( β τ + ϵ C τ ) n + O ( ϵ C τ ) . \mathcal{D}_{\tau}(\bar{\lambda}_{T})-\mathcal{D}_{\tau}(\lambda_{\tau}^{*}) \leq\frac{\lVert\lambda_{\tau}^{*}\rVert_{2}^{2}}{2\beta T}+\frac{\sqrt{m}A|\mathcal{A}|}{(1-\gamma)^{2}T}\leq\mathcal{O}\left(\frac{1}{\beta T}\right)+\mathcal{O}\left(\frac{\beta}{\tau}+\frac{\epsilon_{\mathcal{C}}}{\tau}\right)^{n}+\mathcal{O}\left(\frac{\epsilon_{\mathcal{C}}}{\tau}\right). D τ ( λ ˉ T ) − D τ ( λ τ ∗ ) ≤ 2 β T ∥ λ τ ∗ ∥ 2 2 + ( 1 − γ ) 2 T m A ∣ A ∣ ≤ O ( β T 1 ) + O ( τ β + τ ϵ C ) n + O ( τ ϵ C ) .
Combining the dual sub-optimality bound with Lemma 1 with Δ = O ( 1 β T ) + O ( β τ + ϵ C τ ) n + O ( ϵ C τ ) \Delta=\mathcal{O}\left(\frac{1}{\beta T}\right)+\mathcal{O}\left(\frac{\beta}{\tau}+\frac{\epsilon_{\mathcal{C}}}{\tau}\right)^{n}+\mathcal{O}\left(\frac{\epsilon_{\mathcal{C}}}{\tau}\right) Δ = O ( β T 1 ) + O ( τ β + τ ϵ C ) n + O ( τ ϵ C )
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( 1 τ ( 1 β T + ( β + ϵ C τ ) n / 2 + ϵ C τ ) ) + O ( τ ) , V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\lambda_{T,\tau}^{*}}}(\rho)\leq\mathcal{O}\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\left(\frac{\beta+\epsilon_{\mathcal{C}}}{\tau}\right)^{n/2}+\sqrt{\frac{\epsilon_{\mathcal{C}}}{\tau}}\right)\right)+\mathcal{O}(\tau), V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( τ 1 ( β T 1 + ( τ β + ϵ C ) n /2 + τ ϵ C ) ) + O ( τ ) ,
max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ ( 1 β T + ( β + ϵ C τ ) n / 2 + ϵ C τ ) ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi_{\lambda_{T,\tau}^{*}}}(\rho),0\right\}\leq\mathcal{O}\left(\frac{1}{\sqrt{\tau}}\left(\frac{1}{\sqrt{\beta T}}+\left(\frac{\beta+\epsilon_{\mathcal{C}}}{\tau}\right)^{n/2}+\sqrt{\frac{\epsilon_{\mathcal{C}}}{\tau}}\right)\right)\quad\forall i\in[m]. max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 ( β T 1 + ( τ β + ϵ C ) n /2 + τ ϵ C ) ) ∀ i ∈ [ m ] .
To obtain an O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy, we require each term to be O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) and hence, set τ = O ( ϵ ) \tau=\mathcal{O}(\epsilon) τ = O ( ϵ ) . For the bound the approximation error ϵ C \epsilon_{\mathcal{C}} ϵ C ,
O ( 1 ϵ ϵ C ϵ ) = O ( ϵ C ϵ ) ≤ O ( ϵ ) ⟹ ϵ C ≤ O ( ϵ 4 ) , \mathcal{O}\left(\frac{1}{\sqrt{\epsilon}}\sqrt{\frac{\epsilon_{\mathcal{C}}}{\epsilon}}\right)=\mathcal{O}\left(\frac{\sqrt{\epsilon_{\mathcal{C}}}}{\epsilon}\right)\leq\mathcal{O}(\epsilon)\Longrightarrow\epsilon_{\mathcal{C}}\leq\mathcal{O}\left(\epsilon^{4}\right), O ( ϵ 1 ϵ ϵ C ) = O ( ϵ ϵ C ) ≤ O ( ϵ ) ⟹ ϵ C ≤ O ( ϵ 4 ) ,
which since ϵ C = ϵ b i a s ( 1 + d ) + d ϵ o p t \epsilon_{\mathcal{C}}=\epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d}\epsilon_{\mathrm{opt}} ϵ C = ϵ bias ( 1 + d ) + d ϵ opt , holds when ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}}\leq\mathcal{O}(\epsilon^{4}) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}}\leq\mathcal{O}(\epsilon^{8}) ϵ opt ≤ O ( ϵ 8 ) . For the step-size β \beta β ,
O ( 1 ϵ ( β + ϵ C ϵ ) n / 2 ) ≤ O ( ϵ ) ⟹ β + ϵ C ≤ O ( ϵ 3 + n n ) , \mathcal{O}\left(\frac{1}{\sqrt{\epsilon}}\left(\frac{\beta+\epsilon_{\mathcal{C}}}{\epsilon}\right)^{n/2}\right)\leq\mathcal{O}(\epsilon)\Longrightarrow\beta+\epsilon_{\mathcal{C}}\leq\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right), O ( ϵ 1 ( ϵ β + ϵ C ) n /2 ) ≤ O ( ϵ ) ⟹ β + ϵ C ≤ O ( ϵ n 3 + n ) ,
and since ϵ C ≤ O ( ϵ 4 ) ≤ O ( ϵ 3 + n n ) \epsilon_{\mathcal{C}}\leq\mathcal{O}(\epsilon^{4})\leq\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right) ϵ C ≤ O ( ϵ 4 ) ≤ O ( ϵ n 3 + n ) for n ≥ 1 n\geq1 n ≥ 1 , it suffices that β ≤ O ( ϵ 3 + n n ) \beta\leq\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right) β ≤ O ( ϵ n 3 + n ) . For the number of outer-iterations T T T
O ( 1 ϵ 1 β T ) ≤ O ( ϵ ) ⟹ T ≥ O ( 1 β ϵ 3 ) = O ( 1 ϵ 4 + n n ) . \mathcal{O}\left(\frac{1}{\sqrt{\epsilon}}\frac{1}{\sqrt{\beta T}}\right)\leq\mathcal{O}(\epsilon)\Longrightarrow T\geq\mathcal{O}\left(\frac{1}{\beta\epsilon^{3}}\right)=\mathcal{O}\left(\frac{1}{\epsilon^{\frac{4+n}{n}}}\right). O ( ϵ 1 β T 1 ) ≤ O ( ϵ ) ⟹ T ≥ O ( β ϵ 3 1 ) = O ( ϵ n 4 + n 1 ) .
Since n = 2 K n=2^{K} n = 2 K , setting β = O ( ϵ 3 + 2 K 2 K ) \beta=\mathcal{O}\left(\epsilon^{\frac{3+2^{K}}{2^{K}}}\right) β = O ( ϵ 2 K 3 + 2 K ) and T = O ( 1 ϵ 4 + 3 2 K ) T=\mathcal{O}\left(\frac{1}{\epsilon^{4+\frac{3}{2^{K}}}}\right) T = O ( ϵ 4 + 2 K 3 1 ) , we have
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_{r}^{\pi^{*}}(\rho)-V_{r}^{\pi_{\lambda_{T,\tau}^{*}}}(\rho)\leq\mathcal{O}(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi_{\lambda_{T,\tau}^{*}}}(\rho),0\right\}\leq\mathcal{O}(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Next, we verify that Equation (81) and Equation (80) hold. With the above choices
2 m β + 4 ϵ C τ = O ( ϵ 3 / n + ϵ 3 ) \frac{2m\beta+4\epsilon_{\mathcal{C}}}{\tau}=\mathcal{O}\left(\epsilon^{3/n}+\epsilon^{3}\right) τ 2 m β + 4 ϵ C = O ( ϵ 3/ n + ϵ 3 )
Assuming ϵ \epsilon ϵ sufficiently small, such that
x : = γ 1 − γ 2 m β + 4 ϵ C τ ( 1 − γ ) 2 ≤ 1 10 . x:=\frac{\gamma}{1-\gamma}\frac{2m\beta+4\epsilon_{\mathcal{C}}}{\tau(1-\gamma)^{2}}\leq\frac{1}{10}. x := 1 − γ γ τ ( 1 − γ ) 2 2 m β + 4 ϵ C ≤ 10 1 .
This implies Equation (81) , as
2 n ( γ 1 − γ ) n − 1 ( 2 m β + 4 ϵ C τ ( 1 − γ ) 2 ) n − 1 ≤ 2 n 10 − ( n − 1 ) ≤ 1. (since n = 2 K ≥ 2 ) 2^{n}\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta+4\epsilon_{\mathcal{C}}}{\tau(1-\gamma)^{2}}\right)^{n-1}\leq2^{n}10^{-(n-1)}\leq1.\qquad\text{(since }n=2^{K}\geq2\text{)} 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + 4 ϵ C ) n − 1 ≤ 2 n 1 0 − ( n − 1 ) ≤ 1. (since n = 2 K ≥ 2 )
Finally, B ≤ R B \le R B ≤ R in Equation (80) is equivalent to
γ 1 − γ ( B + 2 m β τ ( 1 − γ ) 2 ) + 2 γ ϵ C τ ( 1 − γ ) 3 ≤ 1 4 . \frac{\gamma}{1-\gamma}\left(B+\frac{2m\beta}{\tau(1-\gamma)^2}\right)+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\le\frac{1}{4}. 1 − γ γ ( B + τ ( 1 − γ ) 2 2 m β ) + τ ( 1 − γ ) 3 2 γ ϵ C ≤ 4 1 .
By the definition of B B B and Equation (83) ,
B + 2 m β τ ( 1 − γ ) 2 = 2 m β + 4 ϵ C τ ( 1 − γ ) 2 [ 2 n ( γ 1 − γ ) n − 1 ( 2 m β + 4 ϵ C τ ( 1 − γ ) 2 ) n − 1 + 1 ] ≤ 2 2 m β + 4 ϵ C τ ( 1 − γ ) 2 , B+\frac{2m\beta}{\tau(1-\gamma)^2}=\frac{2m\beta+4\epsilon_C}{\tau(1-\gamma)^2}\left[2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2m\beta+4\epsilon_C}{\tau(1-\gamma)^2}\right)^{n-1}+1\right]\le2\frac{2m\beta+4\epsilon_C}{\tau(1-\gamma)^2}, B + τ ( 1 − γ ) 2 2 m β = τ ( 1 − γ ) 2 2 m β + 4 ϵ C [ 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 2 m β + 4 ϵ C ) n − 1 + 1 ] ≤ 2 τ ( 1 − γ ) 2 2 m β + 4 ϵ C ,
so multiplying by γ 1 − γ > 0 \frac{\gamma}{1-\gamma}>0 1 − γ γ > 0 gives
γ 1 − γ ( B + 2 m β τ ( 1 − γ ) 2 ) ≤ 2 x \frac{\gamma}{1-\gamma}\left(B+\frac{2m\beta}{\tau(1-\gamma)^2}\right)\le2x 1 − γ γ ( B + τ ( 1 − γ ) 2 2 m β ) ≤ 2 x
Moreover,
2 γ ϵ C τ ( 1 − γ ) 3 = γ 1 − γ 2 ϵ C τ ( 1 − γ ) 2 ≤ γ 1 − γ m β + 2 ϵ C τ ( 1 − γ ) 2 = x 2 . \frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}=\frac{\gamma}{1-\gamma}\frac{2\epsilon_C}{\tau(1-\gamma)^2}\le\frac{\gamma}{1-\gamma}\frac{m\beta+2\epsilon_C}{\tau(1-\gamma)^2}=\frac{x}{2}. τ ( 1 − γ ) 3 2 γ ϵ C = 1 − γ γ τ ( 1 − γ ) 2 2 ϵ C ≤ 1 − γ γ τ ( 1 − γ ) 2 m β + 2 ϵ C = 2 x .
Hence the left-hand side is at most 2 x + x 2 = 5 x 2 ≤ 1 4 2x+\frac{x}{2}=\frac{5x}{2}\le\frac{1}{4} 2 x + 2 x = 2 5 x ≤ 4 1 .
Then by Proposition 3, applying Q-E-NPG update to the pseudo-reward R ( λ ˉ τ ) R(\bar{\lambda}_{\tau}) R ( λ ˉ τ ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. The total number of gradient evaluations follows the same argument as Theorem 6.
Faster Convergence Results Using ℓ 2 \ell_2 ℓ 2 -regularization
Corollary 6. Under Assumptions 1 to 3 , for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 8 ) \epsilon_{\mathrm{bias}}\le O(\epsilon^8) ϵ bias ≤ O ( ϵ 8 ) and ϵ o p t ≤ O ( ϵ 16 ) \epsilon_{\mathrm{opt}}\le O(\epsilon^{16}) ϵ opt ≤ O ( ϵ 16 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , T = O ( 1 / ϵ 2 ) T=O(1/\epsilon^2) T = O ( 1/ ϵ 2 ) , β = O ( ϵ ) \beta=O(\epsilon) β = O ( ϵ ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 and (ii) using the Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ and K = J = O ( ln ( 1 / ϵ ) ) K=J=O(\ln(1/\epsilon)) K = J = O ( ln ( 1/ ϵ )) returns O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 2 ) \widetilde{O}(1/\epsilon^2) O ( 1/ ϵ 2 ) gradient evaluations.
Proof. Following the initial proof of Corollary 3, using Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ returns a policy such that by Equation (73) , for all t ∈ [ T ] t\in[T] t ∈ [ T ]
∥ ∇ D τ ( λ t ) − ∇ ~ D τ ( λ t ) ∥ ≤ O ( τ μ T 2 + ϵ C τ ) = : δ t \lVert\nabla D_{\tau}(\lambda_t)-\widetilde{\nabla}D_{\tau}(\lambda_t)\rVert\le O\left(\frac{\tau\mu}{T^2}+\frac{\sqrt{\epsilon_C}}{\tau}\right)=:\delta_t ∥ ∇ D τ ( λ t ) − ∇ D τ ( λ t )∥ ≤ O ( T 2 τ μ + τ ϵ C ) =: δ t
after K = O ( ln ( T 4 / τ 3 μ 2 ) ) K=O(\ln(T^4/\tau^3\mu^2)) K = O ( ln ( T 4 / τ 3 μ 2 )) iterations. Furthermore, by Equation (64) of Theorem 2, Algorithm 1 using step-size β = 2 τ ( 1 − γ ) 2 m + 2 μ τ ( 1 − γ ) 3 \beta=\frac{2\tau(1-\gamma)^2}{m+2\mu\tau(1-\gamma)^3} β = m + 2 μτ ( 1 − γ ) 3 2 τ ( 1 − γ ) 2 and λ 0 \lambda_0 λ 0 results in the following convergence: for T ≥ 1 T\ge1 T ≥ 1
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 δ ^ μ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + O ( τ T 2 + ϵ C τ μ ) . \begin{aligned}
\lVert\lambda_T-\lambda^*_{\tau,\mu}\rVert\le\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda^*_{\tau,\mu}\rVert+\frac{2\widehat{\delta}}{\mu} \\
&\le\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda^*_{\tau,\mu}\rVert+O\left(\frac{\tau}{T^2}+\frac{\sqrt{\epsilon_C}}{\tau\mu}\right).
\end{aligned} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + μ 2 δ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + O ( T 2 τ + τ μ ϵ C ) .
Combining the above result with Lemma 6, we have
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 T 2 ) + O ( ϵ C τ 2 μ ) + O ( τ ) , V_r^{\pi^*}(\rho)-V_r^{\pi^{*}_{\lambda_T,\tau}}(\rho)\le O\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right)+O\left(\frac{1}{T^2}\right)+O\left(\frac{\sqrt{\epsilon_C}}{\tau^2\mu}\right)+O(\tau), V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( T 2 1 ) + O ( τ 2 μ ϵ C ) + O ( τ ) ,
max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 T 2 ) + O ( ϵ C τ 2 μ ) + O ( μ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi^{*}_{\lambda_T,\tau}}(\rho),0\right\}\le O\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right)+O\left(\frac{1}{T^2}\right)+O\left(\frac{\sqrt{\epsilon_C}}{\tau^2\mu}\right)+O(\mu)\quad\forall i\in[m]. max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( T 2 1 ) + O ( τ 2 μ ϵ C ) + O ( μ ) ∀ i ∈ [ m ] .
Assuming that ϵ b i a s ≤ O ( ϵ 8 ) \epsilon_{\mathrm{bias}}\le O(\epsilon^8) ϵ bias ≤ O ( ϵ 8 ) and ϵ o p t ≤ O ( ϵ 16 ) \epsilon_{\mathrm{opt}}\le O(\epsilon^{16}) ϵ opt ≤ O ( ϵ 16 ) , setting τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , and T = O ~ ( 1 / ϵ 2 ) T=\widetilde{O}(1/\epsilon^2) T = O ( 1/ ϵ 2 ) ensures
V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^{*}_{\lambda_T,\tau}}(\rho)\le O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^{*}_{\lambda_T,\tau}}(\rho),0\right\}\le O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ T , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ T , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 4, applying Q-E-NPG update to the pseudo-reward R ( λ T ) R(\lambda_T) R ( λ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Corollary 7. Under Assumptions 1 to 3 , for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}} \le O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}} \le O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau= \mu= O(\epsilon) τ = μ = O ( ϵ ) , T = O ( 1 / ϵ 5 ) T = O(1/\epsilon^5) T = O ( 1/ ϵ 5 ) , β = O ( ϵ 4 ) \beta= O(\epsilon^4) β = O ( ϵ 4 ) , λ 0 = 0 \lambda_0 = 0 λ 0 = 0 and (ii) using the Q-E-NPG update in Equation (13) with η = 1 τ \eta= \frac{1}{\tau} η = τ 1 and K = 1 K = 1 K = 1 , J = O ( ln ( 1 / ϵ ) ) J = O(\ln(1/\epsilon)) J = O ( ln ( 1/ ϵ )) returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy for Problem 1 after O ~ ( 1 / ϵ 5 ) \widetilde{O}(1/\epsilon^5) O ( 1/ ϵ 5 ) gradient evaluations.
Proof. This proof proceeds similarly to Theorem 3. Starting from Equation (65) we have
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 4 m A β τ ( 1 − γ ) 2 ∑ t = 0 T − 1 ( 1 − β μ 2 ) T − t − 1 Φ t (84) \lVert\lambda_T-\lambda_{\tau,\mu}^{*}\rVert\leq\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda_{\tau,\mu}^{*}\rVert+\frac{4\sqrt{m}A\beta}{\tau(1-\gamma)^2}\sum_{t=0}^{T-1}\left(1-\frac{\beta\mu}{2}\right)^{T-t-1}\Phi_t \tag*{(84)} ∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ τ , μ ∗ ∥ + τ ( 1 − γ ) 2 4 m A β t = 0 ∑ T − 1 ( 1 − 2 β μ ) T − t − 1 Φ t (84)
Furthermore by Equation (77) and Equation (66)
Φ t + 1 ≤ 1 + γ 2 Φ t + m ( 1 + γ ) ( 1 − γ ) 2 ( m 1 − γ + μ ∣ A ∣ ) ⏟ = : C μ β + ( 3 − γ ) ϵ C ( 1 − γ ) 3 \Phi_{t+1}\leq\frac{1+\gamma}{2}\Phi_t+\underbrace{\frac{m(1+\gamma)}{(1-\gamma)^2}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert A\rvert\right)}_{=:C_\mu}\beta+\frac{(3-\gamma)\epsilon_{\mathcal{C}}}{(1-\gamma)^3} Φ t + 1 ≤ 2 1 + γ Φ t + =: C μ ( 1 − γ ) 2 m ( 1 + γ ) ( 1 − γ m + μ ∣ A ∣ ) β + ( 1 − γ ) 3 ( 3 − γ ) ϵ C
Let κ : = 1 + γ 2 \kappa:= \frac{1+\gamma}{2} κ := 2 1 + γ and α : = 1 − μ β 2 \alpha:= 1-\frac{\mu\beta}{2} α := 1 − 2 μ β . Since β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) and μ = O ( ϵ ) \mu=O(\epsilon) μ = O ( ϵ ) , for ϵ \epsilon ϵ sufficiently small μ β ≤ 1 − γ 2 \mu\beta\leq\frac{1-\gamma}{2} μ β ≤ 2 1 − γ , so that
α − κ = 1 − γ 2 − μ β 2 ≥ 1 − γ 4 , 1 − κ = 1 − γ 2 , 1 − α = μ β 2 . \alpha-\kappa=\frac{1-\gamma}{2}-\frac{\mu\beta}{2}\geq\frac{1-\gamma}{4},\qquad1-\kappa=\frac{1-\gamma}{2},\qquad1-\alpha=\frac{\mu\beta}{2}. α − κ = 2 1 − γ − 2 μ β ≥ 4 1 − γ , 1 − κ = 2 1 − γ , 1 − α = 2 μ β .
Hence, by Equation (104) of Proposition 5 with ν = C μ β + ( 3 − γ ) ϵ C ( 1 − γ ) 3 \nu=C_\mu\beta+\frac{(3-\gamma)\epsilon_{\mathcal{C}}}{(1-\gamma)^3} ν = C μ β + ( 1 − γ ) 3 ( 3 − γ ) ϵ C and since α T ≤ exp ( − μ β T 2 ) \alpha^T\leq\exp\left(-\frac{\mu\beta T}{2}\right) α T ≤ exp ( − 2 μ β T ) ,
∑ t = 0 T − 1 α T − 1 − t Φ t ≤ α T Φ 0 α − κ + ν ( 1 − κ ) ( 1 − α ) ≤ 4 Φ 0 1 − γ exp ( − μ β T 2 ) + 4 C μ μ ( 1 − γ ) + 4 ( 3 − γ ) ϵ C μ β ( 1 − γ ) 4 = O ( exp ( − μ β T 2 ) ) + O ( 1 μ ) + O ( ϵ C μ β ) . (85) \begin{aligned}
\sum_{t=0}^{T-1}\alpha^{T-1-t}\Phi_t\leq\frac{\alpha^T\Phi_0}{\alpha-\kappa}+\frac{\nu}{(1-\kappa)(1-\alpha)} \\
&\leq\frac{4\Phi_0}{1-\gamma}\exp\left(-\frac{\mu\beta T}{2}\right)+\frac{4C_\mu}{\mu(1-\gamma)}+\frac{4(3-\gamma)\epsilon_{\mathcal{C}}}{\mu\beta(1-\gamma)^4} \\
&=O\left(\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{1}{\mu}\right)+O\left(\frac{\epsilon_{\mathcal{C}}}{\mu\beta}\right). \tag*{(85)}
\end{aligned} t = 0 ∑ T − 1 α T − 1 − t Φ t ≤ α − κ α T Φ 0 + ( 1 − κ ) ( 1 − α ) ν ≤ 1 − γ 4 Φ 0 exp ( − 2 μ β T ) + μ ( 1 − γ ) 4 C μ + μ β ( 1 − γ ) 4 4 ( 3 − γ ) ϵ C = O ( exp ( − 2 μ β T ) ) + O ( μ 1 ) + O ( μ β ϵ C ) . (85)
Putting Equations (84) and (85) together,
∥ λ T − λ τ , μ ∗ ∥ ≤ O ( exp ( − μ β T 2 ) ) + O ( β τ exp ( − μ β T 2 ) ) + O ( β τ μ ) + O ( ϵ C τ μ ) . \lVert\lambda_T-\lambda_{\tau,\mu}^{*}\rVert\leq O\left(\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau\mu}\right)+O\left(\frac{\epsilon_{\mathcal{C}}}{\tau\mu}\right). ∥ λ T − λ τ , μ ∗ ∥ ≤ O ( exp ( − 2 μ β T ) ) + O ( τ β exp ( − 2 μ β T ) ) + O ( τ μ β ) + O ( τ μ ϵ C ) .
Using the above bound with Lemma 6, where G τ = O ( 1 / τ ) G_\tau=O(1/\tau) G τ = O ( 1/ τ ) ,
V r π ∗ ( ρ ) − V r π τ , T π ∗ ( ρ ) ≤ O ( 1 τ exp ( − μ β T 2 ) ) + O ( β τ 2 exp ( − μ β T 2 ) ) + O ( β τ 2 μ ) + O ( ϵ C τ 2 μ ) + O ( τ ) , V_r^{\pi^*}(\rho)-V_r^{\pi_{\tau,T}^{\pi^*}}(\rho)\leq O\left(\frac{1}{\tau}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau^2}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau^2\mu}\right)+O\left(\frac{\epsilon_{\mathcal{C}}}{\tau^2\mu}\right)+O(\tau), V r π ∗ ( ρ ) − V r π τ , T π ∗ ( ρ ) ≤ O ( τ 1 exp ( − 2 μ β T ) ) + O ( τ 2 β exp ( − 2 μ β T ) ) + O ( τ 2 μ β ) + O ( τ 2 μ ϵ C ) + O ( τ ) ,
max { b i − V c i π τ , T π ∗ ( ρ ) , 0 } ≤ O ( 1 τ exp ( − μ β T 2 ) ) + O ( β τ 2 exp ( − μ β T 2 ) ) + O ( β τ 2 μ ) + O ( ϵ C τ 2 μ ) + O ( μ ) ∀ i ∈ [ m ] . \max\left\{b_i-V_{c_i}^{\pi_{\tau,T}^{\pi^*}}(\rho),0\right\}\leq O\left(\frac{1}{\tau}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau^2}\exp\left(-\frac{\mu\beta T}{2}\right)\right)+O\left(\frac{\beta}{\tau^2\mu}\right)+O\left(\frac{\epsilon_{\mathcal{C}}}{\tau^2\mu}\right)+O(\mu)\quad\forall i\in[m]. max { b i − V c i π τ , T π ∗ ( ρ ) , 0 } ≤ O ( τ 1 exp ( − 2 μ β T ) ) + O ( τ 2 β exp ( − 2 μ β T ) ) + O ( τ 2 μ β ) + O ( τ 2 μ ϵ C ) + O ( μ ) ∀ i ∈ [ m ] .
Since ϵ C = O ( ϵ b i a s + ϵ o p t ) \epsilon_{\mathcal{C}}=O(\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}) ϵ C = O ( ϵ bias + ϵ opt ) , assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}}\leq O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , setting τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , β = O ( ϵ 4 ) \beta=O(\epsilon^4) β = O ( ϵ 4 ) , and T = O ~ ( 1 / ϵ 5 ) T=\widetilde{O}(1/\epsilon^5) T = O ( 1/ ϵ 5 ) ensures
V r π ∗ ( ρ ) − V r π τ , T π ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π τ , T π ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi_{\tau,T}^{\pi^*}}(\rho)\leq O(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi_{\tau,T}^{\pi^*}}(\rho),0\right\}\leq O(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π τ , T π ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π τ , T π ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Then by Proposition 4, applying Q-E-NPG update to the pseudo-reward R ( λ T ) R(\lambda_T) R ( λ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. ∎
Corollary 1. Under Assumptions 1 to 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) assuming ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}} \le O(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}} \le O(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) , Algorithm 1 with (i) τ = μ = O ( ϵ ) \tau=\mu=O(\epsilon) τ = μ = O ( ϵ ) , T = O ~ ( 1 / ϵ 2 + 3 / 2 K ) T=\widetilde{O}(1/\epsilon^{2+3/2K}) T = O ( 1/ ϵ 2 + 3/2 K ) , β = O ( ϵ 3 + 2 K 2 K ) \beta=O\left(\epsilon^{\frac{3+2K}{2K}}\right) β = O ( ϵ 2 K 3 + 2 K ) , λ 0 = 0 \lambda_0=0 λ 0 = 0 (ii) using the Q-E-NPG update with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ , K ≥ 1 K\ge1 K ≥ 1 and (iii) the initial policy satisfies L 0 ≤ B L_0\le B L 0 ≤ B for a known constant B > 0 B>0 B > 0 , Algorithm 1 returns an O ( ϵ ) O(\epsilon) O ( ϵ ) -policy to Problem 1 after O ~ ( 1 / ϵ 2 + 3 / 2 K ) \widetilde{O}(1/\epsilon^{2+3/2K}) O ( 1/ ϵ 2 + 3/2 K ) gradient evaluations.
Proof. This proof proceeds similarly to Theorem 4. Starting from Equation (69) we have
∥ λ T − λ τ , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ τ , μ ∗ ∥ + 2 m A μ ( 1 − γ ) 2 max t L t (86) \left\|\lambda_T-\lambda_{\tau,\mu}^{*}\right\| \le\exp\left(-\frac{\beta\mu T}{2}\right)\left\|\lambda_{\tau,\mu}^{*}\right\|+\frac{2\sqrt{m}A}{\mu(1-\gamma)^2}\max_t L_t \tag*{(86)} λ T − λ τ , μ ∗ ≤ exp ( − 2 β μ T ) λ τ , μ ∗ + μ ( 1 − γ ) 2 2 m A t max L t (86)
We next show that for all t ∈ [ 0 , T − 1 ] t\in[0,T-1] t ∈ [ 0 , T − 1 ] ,
L t ≤ B : = 2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) n + 4 ϵ C τ ( 1 − γ ) 2 (87) L_t\le B:=2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2} \tag*{(87)} L t ≤ B := 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) n + τ ( 1 − γ ) 2 4 ϵ C (87)
where ϵ C : = ϵ b i a s ( 1 + d ) + d ϵ o p t \epsilon_C:=\epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d}\epsilon_{\mathrm{opt}} ϵ C := ϵ bias ( 1 + d ) + d ϵ opt . To do so, we assume that the initial policy satisfies
∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ = L 0 ≤ B , \left\|\ln(\pi_0^*)-\ln(\pi_0)\right\|_\infty=L_0\le B, ∥ ln ( π 0 ∗ ) − ln ( π 0 ) ∥ ∞ = L 0 ≤ B ,
where B B B is within the following basin,
B ≤ R : = 1 − γ γ [ 1 4 − 2 γ ϵ C τ ( 1 − γ ) 3 ] − 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) (88) B\le R:=\frac{1-\gamma}{\gamma}\left[\frac{1}{4}-\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\right]-\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right) \tag*{(88)} B ≤ R := γ 1 − γ [ 4 1 − τ ( 1 − γ ) 3 2 γ ϵ C ] − τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) (88)
and that
2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) ≤ 1. (89) 2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)\le1. \tag*{(89)} 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) ≤ 1. (89)
Suppose that there exists a t t t such that L t ≤ B L_t\le B L t ≤ B . Then at iteration t + 1 t+1 t + 1 , by Corollary 2 with π 0 = π t \pi_0=\pi_t π 0 = π t , running K ≥ 1 K\ge1 K ≥ 1 iterations of Q-E-NPG update in Equation (13) with η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ produces a sequence of policies { π ^ k } k = 0 K \{\hat{\pi}_k\}_{k=0}^{K} { π ^ k } k = 0 K such that for k ∈ [ 0 , K − 1 ] k\in[0,K-1] k ∈ [ 0 , K − 1 ] ,
∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∥ ∞ + ϵ C ( 1 − γ ) 2 ) (90) \left\|\ln(\pi_{t+1}^{*})-\ln(\hat{\pi}_{k+1})\right\|_\infty\le\frac{2}{\tau}\left(\left\|Q_{t+1}^{\pi_{t+1}^{*}}-Q_{t+1}^{\hat{\pi}_k}\right\|_\infty+\frac{\epsilon_C}{(1-\gamma)^2}\right) \tag*{(90)} ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ τ 2 ( Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∞ + ( 1 − γ ) 2 ϵ C ) (90)
where π ^ 0 = π t \hat{\pi}_0=\pi_t π ^ 0 = π t and π ^ K = π t + 1 \hat{\pi}_K=\pi_{t+1} π ^ K = π t + 1 . In order to use the above result to show a contraction using Lemma 20, we require that the following condition holds:
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + 2 γ ϵ C τ ( 1 − γ ) 3 ≤ 1 4 . \frac{\gamma}{1-\gamma}\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t)\right\|_\infty+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\le\frac{1}{4}. 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π t ) ∞ + τ ( 1 − γ ) 3 2 γ ϵ C ≤ 4 1 .
Compared to the case when μ = 0 \mu=0 μ = 0 , the dual drift now includes the regularization term. By Equations (109) and (66) , we have
∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ ≤ 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ ≤ β τ 2 m 1 − γ ( m 1 − γ + μ ∣ Λ ∣ ) (91) \left\|\ln(\pi_{t+1}^{*})-\ln(\pi_t^{*})\right\|_\infty\le\frac{2\sqrt{m}}{\tau(1-\gamma)}\left\|\lambda_{t+1}-\lambda_t\right\|\le\frac{\beta}{\tau}\frac{2\sqrt{m}}{1-\gamma}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right) \tag*{(91)} ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∞ ≤ τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ ≤ τ β 1 − γ 2 m ( 1 − γ m + μ ∣Λ∣ ) (91)
Therefore, using the above relation,
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + 2 γ ϵ C τ ( 1 − γ ) 3 ≤ γ 1 − γ ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + B ) + 2 γ ϵ C τ ( 1 − γ ) 3 ≤ γ 1 − γ 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + γ 1 − γ R + 2 γ ϵ C τ ( 1 − γ ) 3 (Since B ≤ R and γ 1 − γ > 0 ) = γ 1 − γ 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + [ 1 4 − 2 γ ϵ C τ ( 1 − γ ) 3 − γ 1 − γ 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) ] + 2 γ ϵ C τ ( 1 − γ ) 3 (Definition of R ) = 1 4 \begin{aligned}
\frac{\gamma}{1-\gamma}\lVert\ln(\pi^*_{t+1})-\ln(\pi_t)\rVert_\infty+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\\
\leq\frac{\gamma}{1-\gamma}\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+B\right)+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\\
\leq\frac{\gamma}{1-\gamma}\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+\frac{\gamma}{1-\gamma}R+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\qquad\text{(Since }B\leq R\text{ and }\frac{\gamma}{1-\gamma}>0\text{)}\\
= \frac{\gamma}{1-\gamma}\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+\left[\frac{1}{4}-\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}-\frac{\gamma}{1-\gamma}\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)\right]+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\qquad\text{(Definition of }R\text{)} \\
&=\frac{1}{4}
\end{aligned} 1 − γ γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + τ ( 1 − γ ) 3 2 γ ϵ C ≤ 1 − γ γ ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + B ) + τ ( 1 − γ ) 3 2 γ ϵ C ≤ 1 − γ γ τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + 1 − γ γ R + τ ( 1 − γ ) 3 2 γ ϵ C (Since B ≤ R and 1 − γ γ > 0 ) = 1 − γ γ τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + [ 4 1 − τ ( 1 − γ ) 3 2 γ ϵ C − 1 − γ γ τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) ] + τ ( 1 − γ ) 3 2 γ ϵ C (Definition of R ) = 4 1
Hence by Lemma 20 with E = ϵ C ( 1 − γ ) 2 E=\frac{\epsilon_C}{(1-\gamma)^2} E = ( 1 − γ ) 2 ϵ C ,
L t + 1 ≤ ( γ 1 − γ ) n − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) n + 4 ϵ C τ ( 1 − γ ) 2 ≤ ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + L t ) n + 4 ϵ C τ ( 1 − γ ) 2 (Using xref‘Equation (63)‘) \begin{aligned}
L_{t+1}&\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert+L_t\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\\
&\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+L_t\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\qquad\text{(Using {xref}`Equation (63)`)}
\end{aligned} L t + 1 ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) n + τ ( 1 − γ ) 2 4 ϵ C ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + L t ) n + τ ( 1 − γ ) 2 4 ϵ C (Using xref ‘Equation (63)‘)
Using the above contraction, we now show that L t ≤ B L_t\leq B L t ≤ B , for all t ≥ 0 t\geq0 t ≥ 0 . By the definition of B B B and Equation (89) ,
B + 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) = ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) [ 2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) n − 1 + 1 ] ≤ 2 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) . (92) \begin{aligned}
B+\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)
&=\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)\left[2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)^{n-1}+1\right]\\
&\leq2\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right). \tag*{(92)}
\end{aligned} B + τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) = ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) [ 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) n − 1 + 1 ] ≤ 2 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) . (92)
Therefore, since x ↦ x n x\mapsto x^n x ↦ x n is non-decreasing on x ≥ 0 x\geq0 x ≥ 0 ,
( γ 1 − γ ) n − 1 ( B + 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) ) n + 4 ϵ C τ ( 1 − γ ) 2 ≤ 2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) ) n + 4 ϵ C τ ( 1 − γ ) 2 + 4 ϵ C τ ( 1 − γ ) 2 = B . \begin{aligned}
\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(B+\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\\
\leq2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right)\right)^n+\frac{4\epsilon_C}{\tau(1-\gamma)^2}+\frac{4\epsilon_C}{\tau(1-\gamma)^2}=B.
\end{aligned} ( 1 − γ γ ) n − 1 ( B + τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) ) n + τ ( 1 − γ ) 2 4 ϵ C ≤ 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) ) n + τ ( 1 − γ ) 2 4 ϵ C + τ ( 1 − γ ) 2 4 ϵ C = B .
Since the conditions of Lemma 22 are satisfied with κ = ( γ 1 − γ ) n − 1 \kappa=\left(\frac{\gamma}{1-\gamma}\right)^{n-1} κ = ( 1 − γ γ ) n − 1 , ν = 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) \nu=\frac{2\sqrt{m}\,\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu\lvert\Lambda\rvert\right) ν = τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣ Λ ∣ ) and e = 4 ϵ C τ ( 1 − γ ) 2 e=\frac{4\epsilon_C}{\tau(1-\gamma)^2} e = τ ( 1 − γ ) 2 4 ϵ C , we have for all t ≥ 0 t\geq0 t ≥ 0 ,
Combining the above result with Equation (86) , and since μ ∣ Λ ∣ = O ( 1 ) \mu\lvert\Lambda\rvert=O(1) μ ∣ Λ ∣ = O ( 1 ) ,
∥ λ T − λ T , μ ∗ ∥ ≤ exp ( − β μ T 2 ) ∥ λ T , μ ∗ ∥ + 2 m A μ ( 1 − γ ) 2 B ≤ O ( exp ( − β μ T 2 ) ) + O ( 1 μ ( β + ϵ C τ ) n ) + O ( ϵ C τ μ ) . \begin{aligned}
\lVert\lambda_T-\lambda^*_{T,\mu}\rVert&\leq\exp\left(-\frac{\beta\mu T}{2}\right)\lVert\lambda^*_{T,\mu}\rVert+\frac{2\sqrt{m}\,A}{\mu(1-\gamma)^2}B\\
&\leq O\left(\exp\left(-\frac{\beta\mu T}{2}\right)\right)+O\left(\frac{1}{\mu}\left(\frac{\beta+\epsilon_C}{\tau}\right)^n\right)+O\left(\frac{\epsilon_C}{\tau\mu}\right).
\end{aligned} ∥ λ T − λ T , μ ∗ ∥ ≤ exp ( − 2 β μ T ) ∥ λ T , μ ∗ ∥ + μ ( 1 − γ ) 2 2 m A B ≤ O ( exp ( − 2 β μ T ) ) + O ( μ 1 ( τ β + ϵ C ) n ) + O ( τ μ ϵ C ) .
Combining the above bound with Lemma 6, where G τ = O ( 1 / τ ) G_{\tau} = \mathcal{O}(1/\tau) G τ = O ( 1/ τ ) ,
V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 τ μ ( β + ϵ C τ ) n ) + O ( ϵ C τ 2 μ ) + O ( τ ) , V_r^{\pi^*}(\rho) - V_r^{\pi^*_{\lambda,\tau}}(\rho) \le\mathcal{O}\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right) + \mathcal{O}\left(\frac{1}{\tau\mu}\left(\frac{\beta+\epsilon_C}{\tau}\right)^n\right) + \mathcal{O}\left(\frac{\epsilon_C}{\tau^2\mu}\right) + \mathcal{O}(\tau), V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( τ μ 1 ( τ β + ϵ C ) n ) + O ( τ 2 μ ϵ C ) + O ( τ ) ,
max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( 1 τ exp ( − β μ T 2 ) ) + O ( 1 τ μ ( β + ϵ C τ ) n ) + O ( ϵ C τ 2 μ ) + O ( μ ) ∀ i ∈ [ m ] . \max\left\{b_i - V_{c_i}^{\pi^*_{\lambda,\tau}}(\rho),0\right\} \le\mathcal{O}\left(\frac{1}{\tau}\exp\left(-\frac{\beta\mu T}{2}\right)\right) + \mathcal{O}\left(\frac{1}{\tau\mu}\left(\frac{\beta+\epsilon_C}{\tau}\right)^n\right) + \mathcal{O}\left(\frac{\epsilon_C}{\tau^2\mu}\right) + \mathcal{O}(\mu) \quad\forall i \in[m]. max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( τ 1 exp ( − 2 β μ T ) ) + O ( τ μ 1 ( τ β + ϵ C ) n ) + O ( τ 2 μ ϵ C ) + O ( μ ) ∀ i ∈ [ m ] .
To obtain an O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) -optimal policy, we require each term to be O ( ϵ ) \mathcal{O}(\epsilon) O ( ϵ ) and hence, set τ = μ = O ( ϵ ) \tau= \mu= \mathcal{O}(\epsilon) τ = μ = O ( ϵ ) . For the bound the approximation error ϵ C \epsilon_C ϵ C ,
O ( ϵ C ϵ 3 ) ≤ O ( ϵ ) ⟹ ϵ C ≤ O ( ϵ 4 ) , \mathcal{O}\left(\frac{\epsilon_C}{\epsilon^3}\right) \le\mathcal{O}(\epsilon) \Longrightarrow\epsilon_C \le\mathcal{O}(\epsilon^4), O ( ϵ 3 ϵ C ) ≤ O ( ϵ ) ⟹ ϵ C ≤ O ( ϵ 4 ) ,
which since ϵ C = ϵ b i a s ( 1 + d ) + d ϵ o p t \epsilon_C = \epsilon_{\mathrm{bias}}(1+\sqrt{d})+\sqrt{d}\epsilon_{\mathrm{opt}} ϵ C = ϵ bias ( 1 + d ) + d ϵ opt , holds when ϵ b i a s ≤ O ( ϵ 4 ) \epsilon_{\mathrm{bias}} \le\mathcal{O}(\epsilon^4) ϵ bias ≤ O ( ϵ 4 ) and ϵ o p t ≤ O ( ϵ 8 ) \epsilon_{\mathrm{opt}} \le\mathcal{O}(\epsilon^8) ϵ opt ≤ O ( ϵ 8 ) . For the step-size β \beta β ,
O ( 1 ϵ 2 ( β + ϵ C ϵ ) n ) ≤ O ( ϵ ) ⟹ β + ϵ C ≤ O ( ϵ 3 + n n ) , \mathcal{O}\left(\frac{1}{\epsilon^2}\left(\frac{\beta+\epsilon_C}{\epsilon}\right)^n\right) \le\mathcal{O}(\epsilon) \Longrightarrow\beta+\epsilon_C \le\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right), O ( ϵ 2 1 ( ϵ β + ϵ C ) n ) ≤ O ( ϵ ) ⟹ β + ϵ C ≤ O ( ϵ n 3 + n ) ,
and since ϵ C ≤ O ( ϵ 4 ) ≤ O ( ϵ 3 + n n ) \epsilon_C \le\mathcal{O}(\epsilon^4) \le\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right) ϵ C ≤ O ( ϵ 4 ) ≤ O ( ϵ n 3 + n ) for n ≥ 1 n \ge1 n ≥ 1 , it suffices that β ≤ O ( ϵ 3 + n n ) \beta\le\mathcal{O}\left(\epsilon^{\frac{3+n}{n}}\right) β ≤ O ( ϵ n 3 + n ) . For the number of outer-iterations T T T
O ( 1 ϵ exp ( − β μ T 2 ) ) ≤ O ( ϵ ) ⟸ T ≥ 2 ln ( 1 / ϵ 2 ) β μ = O ~ ( 1 ϵ 2 + 3 n ) . \mathcal{O}\left(\frac{1}{\epsilon}\exp\left(-\frac{\beta\mu T}{2}\right)\right) \le\mathcal{O}(\epsilon) \Longleftarrow T \ge\frac{2\ln(1/\epsilon^2)}{\beta\mu} = \widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^{2+\frac{3}{n}}}\right). O ( ϵ 1 exp ( − 2 β μ T ) ) ≤ O ( ϵ ) ⟸ T ≥ β μ 2 ln ( 1/ ϵ 2 ) = O ( ϵ 2 + n 3 1 ) .
Since n = 2 K n=2^K n = 2 K , setting β = O ( ϵ 3 + 2 K 2 K ) \beta=\mathcal{O}\left(\epsilon^{\frac{3+2^K}{2^K}}\right) β = O ( ϵ 2 K 3 + 2 K ) and T = O ~ ( 1 ϵ 2 + 3 2 K ) T=\widetilde{\mathcal{O}}\left(\frac{1}{\epsilon^{2+\frac{3}{2^K}}}\right) T = O ( ϵ 2 + 2 K 3 1 ) , we have
V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] . V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda,\tau}}(\rho)\le\mathcal{O}(\epsilon)\quad\text{and}\quad\max\left\{b_i-V_{c_i}^{\pi^*_{\lambda,\tau}}(\rho),0\right\}\le\mathcal{O}(\epsilon)\quad\forall i\in[m]. V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) ≤ O ( ϵ ) and max { b i − V c i π λ , τ ∗ ( ρ ) , 0 } ≤ O ( ϵ ) ∀ i ∈ [ m ] .
Moreover, β ≤ 2 G τ + 2 μ \beta\le\frac{2}{G_{\tau}+2\mu} β ≤ G τ + 2 μ 2 for ϵ \epsilon ϵ sufficiently small, as required by Lemma 7. Next, we verify that Equation (89) and Equation (88) hold. With the above choices,
2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 = O ( ϵ 3 / n + ϵ 3 ) \frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}=\mathcal{O}\left(\epsilon^{3/n}+\epsilon^3\right) τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C = O ( ϵ 3/ n + ϵ 3 )
Assuming ϵ \epsilon ϵ sufficiently small, such that
x : = γ 1 − γ ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) ≤ 1 10 . x:=\frac{\gamma}{1-\gamma}\left(\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)\le\frac{1}{10}. x := 1 − γ γ ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) ≤ 10 1 .
This implies Equation (89) , as
2 n ( γ 1 − γ ) n − 1 ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) n − 1 = 2 n x n − 1 ≤ 2 n 10 − ( n − 1 ) ≤ 1. 2^n\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)^{n-1}=2^n x^{n-1}\le2^n10^{-(n-1)}\le1. 2 n ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) n − 1 = 2 n x n − 1 ≤ 2 n 1 0 − ( n − 1 ) ≤ 1.
(since n = 2 K ≥ 2 n=2^K\ge2 n = 2 K ≥ 2 )
Finally, B ≤ R B\le R B ≤ R in Equation (88) is equivalent to
γ 1 − γ ( B + 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) ) + 2 γ ϵ C τ ( 1 − γ ) 3 ≤ 1 4 . \frac{\gamma}{1-\gamma}\left(B+\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)\right)+\frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}\le\frac{1}{4}. 1 − γ γ ( B + τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) ) + τ ( 1 − γ ) 3 2 γ ϵ C ≤ 4 1 .
By Equation (92) , multiplying by γ 1 − γ > 0 \frac{\gamma}{1-\gamma}>0 1 − γ γ > 0 gives
γ 1 − γ ( B + 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) ) ≤ 2 x . \frac{\gamma}{1-\gamma}\left(B+\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)\right)\leq2x. 1 − γ γ ( B + τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) ) ≤ 2 x .
Moreover,
2 γ ϵ C τ ( 1 − γ ) 3 = γ 1 − γ 2 ϵ C τ ( 1 − γ ) 2 ≤ 1 2 γ 1 − γ ( 2 m β τ ( 1 − γ ) ( m 1 − γ + μ ∣ Λ ∣ ) + 4 ϵ C τ ( 1 − γ ) 2 ) = x 2 . \frac{2\gamma\epsilon_C}{\tau(1-\gamma)^3}=\frac{\gamma}{1-\gamma}\frac{2\epsilon_C}{\tau(1-\gamma)^2}\leq\frac{1}{2}\frac{\gamma}{1-\gamma}\left(\frac{2\sqrt{m}\beta}{\tau(1-\gamma)}\left(\frac{\sqrt{m}}{1-\gamma}+\mu|\Lambda|\right)+\frac{4\epsilon_C}{\tau(1-\gamma)^2}\right)=\frac{x}{2}. τ ( 1 − γ ) 3 2 γ ϵ C = 1 − γ γ τ ( 1 − γ ) 2 2 ϵ C ≤ 2 1 1 − γ γ ( τ ( 1 − γ ) 2 m β ( 1 − γ m + μ ∣Λ∣ ) + τ ( 1 − γ ) 2 4 ϵ C ) = 2 x .
Hence the left-hand side is at most 2 x + x 2 = 5 x 2 ≤ 1 4 2x+\frac{x}{2}=\frac{5x}{2}\leq\frac{1}{4} 2 x + 2 x = 2 5 x ≤ 4 1 . Then by Proposition 3, applying Q-E-NPG update to the pseudo-reward R ( λ ˉ T ) R(\bar{\lambda}_T) R ( λ ˉ T ) recovers a policy π N \pi_N π N that is also O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. The total number of gradient evaluations follows the same argument as Theorem 4.
Proof of Additional Technical Tools
Proposition 3. For a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) and τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , suppose there exists an dual variable λ ∈ Λ \lambda\in\Lambda λ ∈ Λ such that π λ , τ ∗ = arg max π V R ( λ ) , τ π \pi^*_{\lambda,\tau}=\arg\max_\pi V^{\pi}_{R(\lambda),\tau} π λ , τ ∗ = arg max π V R ( λ ) , τ π is an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1. Then the policy recovered using the NPG update in Equation (113) with ⋄ = R ( λ ) \diamond=R(\lambda) ⋄ = R ( λ ) and η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ is an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations.
Proof. Let π N \pi_N π N denote the policy returned by NPG( π − 1 , R ( λ ) , τ , N ) (\pi_{-1},R(\lambda),\tau,N) ( π − 1 , R ( λ ) , τ , N ) after N N N iterations where π − 1 \pi_{-1} π − 1 is the initial policy. We first consider the sub-optimality gap:
V r π ∗ ( ρ ) − V r π N ( ρ ) = V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) + V r π λ , τ ∗ ( ρ ) − V r π N ( ρ ) (Add/Subtract V r π λ , τ ∗ ( ρ ) ) ≤ O ( ϵ ) + V r π λ , τ ∗ ( ρ ) − V r π N ( ρ ) (Since π λ , τ ∗ is an O ( ϵ ) -optimal policy to Problem 1) ≤ O ( ϵ ) + O ( L τ ( π λ , τ ∗ , λ ) − L τ ( π N , λ ) τ ) (Using Equation (36) from Lemma 14 with ⋄ = r , π ′ = π λ , τ ∗ , and π = π N ) = O ( ϵ ) + O ( V R ( λ ) , τ π λ , τ ∗ ( ρ ) − V R ( λ ) , τ π N ( ρ ) τ ) (Since L τ ( π , λ ) = V r π ( ρ ) + ∑ i = 1 m λ i [ V c i π ( ρ ) − b i ] ) ≤ O ( ϵ ) + O ( γ N − 1 τ ) (By Lemma 23 with ⋄ = R ( λ ) and η = 1 − γ τ ) \begin{aligned}
V_r^{\pi^*}(\rho)-V_r^{\pi_N}(\rho) \\
&=V_r^{\pi^*}(\rho)-V_r^{\pi^*_{\lambda,\tau}}(\rho)+V_r^{\pi^*_{\lambda,\tau}}(\rho)-V_r^{\pi_N}(\rho)\qquad\text{(Add/Subtract }V_r^{\pi^*_{\lambda,\tau}}(\rho)\text{)} \\
&\leq O(\epsilon)+V_r^{\pi^*_{\lambda,\tau}}(\rho)-V_r^{\pi_N}(\rho)\qquad\text{(Since }\pi^*_{\lambda,\tau}\text{ is an }O(\epsilon)\text{-optimal policy to Problem 1)} \\
&\leq O(\epsilon)+O\left(\frac{\sqrt{L_\tau(\pi^*_{\lambda,\tau},\lambda)-L_\tau(\pi_N,\lambda)}}{\sqrt{\tau}}\right)\qquad\text{(Using Equation (36) from Lemma 14 with }\diamond=r\text{, }\pi'=\pi^*_{\lambda,\tau}\text{, and }\pi=\pi_N\text{)} \\
&=O(\epsilon)+O\left(\frac{\sqrt{V^{\pi^*_{\lambda,\tau}}_{R(\lambda),\tau}(\rho)-V^{\pi_N}_{R(\lambda),\tau}(\rho)}}{\sqrt{\tau}}\right)\qquad\text{(Since }L_\tau(\pi,\lambda)=V_r^\pi(\rho)+\sum_{i=1}^{m}\lambda_i[V_{c_i}^\pi(\rho)-b_i]\text{)} \\
&\leq O(\epsilon)+O\left(\frac{\sqrt{\gamma^{N-1}}}{\sqrt{\tau}}\right)\qquad\text{(By Lemma 23 with }\diamond=R(\lambda)\text{ and }\eta=\frac{1-\gamma}{\tau}\text{)}
\end{aligned} V r π ∗ ( ρ ) − V r π N ( ρ ) = V r π ∗ ( ρ ) − V r π λ , τ ∗ ( ρ ) + V r π λ , τ ∗ ( ρ ) − V r π N ( ρ ) (Add/Subtract V r π λ , τ ∗ ( ρ ) ) ≤ O ( ϵ ) + V r π λ , τ ∗ ( ρ ) − V r π N ( ρ ) (Since π λ , τ ∗ is an O ( ϵ ) -optimal policy to Problem 1) ≤ O ( ϵ ) + O τ L τ ( π λ , τ ∗ , λ ) − L τ ( π N , λ ) (Using Equation (36) from Lemma 14 with ⋄ = r , π ′ = π λ , τ ∗ , and π = π N ) = O ( ϵ ) + O τ V R ( λ ) , τ π λ , τ ∗ ( ρ ) − V R ( λ ) , τ π N ( ρ ) (Since L τ ( π , λ ) = V r π ( ρ ) + i = 1 ∑ m λ i [ V c i π ( ρ ) − b i ] ) ≤ O ( ϵ ) + O ( τ γ N − 1 ) (By Lemma 23 with ⋄ = R ( λ ) and η = τ 1 − γ )
Hence setting N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) implies
V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) . V_r^{\pi^*}(\rho)-V_r^{\pi_N}(\rho)\leq O(\epsilon). V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) .
Following a similar argument for the constraint violation, we have
max { b i − V c i π N ( ρ ) , 0 } ≤ O ( ϵ ) \max\{b_i-V_{c_i}^{\pi_N}(\rho),0\}\leq O(\epsilon) max { b i − V c i π N ( ρ ) , 0 } ≤ O ( ϵ )
Proposition 4. Under Assumptions 2 and 3, for a given ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) , τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) , suppose that (i) ϵ b i a s ≤ O ( ϵ 3 ) \epsilon_{\mathrm{bias}}\leq O(\epsilon^3) ϵ bias ≤ O ( ϵ 3 ) , ϵ o p t ≤ O ( ϵ 6 ) \epsilon_{\mathrm{opt}}\leq O(\epsilon^6) ϵ opt ≤ O ( ϵ 6 ) (ii) there exists an dual variable λ ∈ R + m \lambda\in\mathbb{R}_+^m λ ∈ R + m such that π λ , τ ∗ = arg max π V R ( λ ) , τ π \pi^*_{\lambda,\tau}=\arg\max_\pi V^\pi_{R(\lambda),\tau} π λ , τ ∗ = arg max π V R ( λ ) , τ π is an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy to Problem 1. Then the policy recovered using the Q-E-NPG update in Equation (13) with ⋄ = R ( λ ) \diamond=R(\lambda) ⋄ = R ( λ ) and η = 1 − γ τ \eta=\frac{1-\gamma}{\tau} η = τ 1 − γ is an O ( ϵ ) O(\epsilon) O ( ϵ ) -optimal policy after N = O ( ln ( 1 / ϵ ) ) N=O(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) iterations. Proof. Let π N \pi_N π N denote the policy returned by Q-E-NPG( π − 1 , R ( λ ) , τ , N ) (\pi_{-1}, R(\lambda), \tau, N) ( π − 1 , R ( λ ) , τ , N ) after N N N iterations where π − 1 \pi_{-1} π − 1 is the initial policy. We first consider the sub-optimality gap. Following the initial proof of Proposition 3
V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) + O ( V R ( λ ) , τ π ∗ ( ρ ) − V R ( λ ) , τ π N ( ρ ) τ ) = O ( ϵ ) + O ( γ N − 1 τ ) + O ( ϵ C τ ) (By Corollary 2 with ⋄ = R ( λ ) and η = 1 − γ τ ) \begin{aligned}
V_r^{\pi^*}(\rho)-V_r^{\pi_N}(\rho) \le\mathcal{O}(\epsilon)+\mathcal{O}\left(\frac{\sqrt{V_{R(\lambda),\tau}^{\pi^*}(\rho)-V_{R(\lambda),\tau}^{\pi_N}(\rho)}}{\sqrt{\tau}}\right) \\
&= \mathcal{O}(\epsilon)+\mathcal{O}\left(\sqrt{\frac{\gamma^{N-1}}{\tau}}\right)+\mathcal{O}\left(\sqrt{\frac{\epsilon_C}{\tau}}\right)\qquad\text{(By Corollary 2 with }\diamond=R(\lambda)\text{ and }\eta=\frac{1-\gamma}{\tau}\text{)}
\end{aligned} V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) + O τ V R ( λ ) , τ π ∗ ( ρ ) − V R ( λ ) , τ π N ( ρ ) = O ( ϵ ) + O ( τ γ N − 1 ) + O ( τ ϵ C ) (By Corollary 2 with ⋄ = R ( λ ) and η = τ 1 − γ )
where ϵ C = O ( ϵ b i a s + ϵ o p t ) \epsilon_C=\mathcal{O}(\epsilon_{\mathrm{bias}}+\sqrt{\epsilon_{\mathrm{opt}}}) ϵ C = O ( ϵ bias + ϵ opt ) . Assuming that ϵ b i a s ≤ O ( ϵ 6 ) \epsilon_{\mathrm{bias}}\leq\mathcal{O}(\epsilon^6) ϵ bias ≤ O ( ϵ 6 ) and ϵ o p t ≤ O ( ϵ 6 ) \epsilon_{\mathrm{opt}}\leq\mathcal{O}(\epsilon^6) ϵ opt ≤ O ( ϵ 6 ) , setting τ = O ( ϵ ) \tau=\mathcal{O}(\epsilon) τ = O ( ϵ ) and N = O ( ln ( 1 / ϵ ) ) N=\mathcal{O}(\ln(1/\epsilon)) N = O ( ln ( 1/ ϵ )) implies
V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) . V_r^{\pi^*}(\rho)-V_r^{\pi_N}(\rho)\leq\mathcal{O}(\epsilon). V r π ∗ ( ρ ) − V r π N ( ρ ) ≤ O ( ϵ ) .
Following a similar argument for the constraint violation, we have
max { b i − V c i π N ( ρ ) , 0 } ≤ O ( ϵ ) \max\{b_i-V_{c_i}^{\pi_N}(\rho),0\}\leq\mathcal{O}(\epsilon) max { b i − V c i π N ( ρ ) , 0 } ≤ O ( ϵ )
Lemma 18. For a fixed policy π \pi π and pseudo-reward ⋄ , ⋄ ′ ∈ [ 0 , U ] \diamond,\diamond'\in[0,U] ⋄ , ⋄ ′ ∈ [ 0 , U ] , U > 0 U>0 U > 0
∥ Q ⋄ , τ π − Q ⋄ ′ , τ π ∥ ∞ ≤ 1 1 − γ ∥ ⋄ − ⋄ ′ ∥ ∞ . (93) \left\|Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}\right\|_{\infty}\leq\frac{1}{1-\gamma}\left\|\diamond-\diamond'\right\|_{\infty}. \tag*{(93)} Q ⋄ , τ π − Q ⋄ ′ , τ π ∞ ≤ 1 − γ 1 ∥ ⋄ − ⋄ ′ ∥ ∞ . (93)
Proof. Recall the definition of the soft bellman operator
Q ⋄ , τ π − Q ⋄ ′ , τ π = T ⋄ , τ π Q ⋄ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π = ( T ⋄ , τ π Q ⋄ , τ π − T ⋄ , τ π Q ⋄ ′ , τ π ) + ( T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ) (Add/Subtract T ⋄ , τ π Q ⋄ ′ , τ π ) ⇒ ∥ Q ⋄ , τ π − Q ⋄ ′ , τ π ∥ ∞ ≤ ∥ T ⋄ , τ π Q ⋄ , τ π − T ⋄ , τ π Q ⋄ ′ , τ π ∥ ∞ + ∥ T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ∥ ∞ ≤ γ ∥ Q ⋄ , τ π − Q ⋄ ′ , τ π ∥ ∞ + ∥ T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ∥ ∞ ( γ -contraction) = γ ∥ Q ⋄ , τ π − Q ⋄ ′ , τ π ∥ ∞ + ∥ ⋄ − ⋄ ′ ∥ ∞ (Definition of soft Bellman operator) ⇒ ∥ Q ⋄ , τ π − Q ⋄ ′ , τ π ∥ ∞ ≤ 1 1 − γ ∥ ⋄ − ⋄ ′ ∥ ∞ . \begin{aligned}
Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}=T_{\diamond,\tau}^{\pi}Q_{\diamond,\tau}^{\pi}-T_{\diamond',\tau}^{\pi}Q_{\diamond',\tau}^{\pi} \\
&=(T_{\diamond,\tau}^{\pi}Q_{\diamond,\tau}^{\pi}-T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi})+(T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi}-T_{\diamond',\tau}^{\pi}Q_{\diamond',\tau}^{\pi})\qquad\text{(Add/Subtract }T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi}\text{)} \\
&\Rightarrow\left\|Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}\right\|_{\infty}
\leq\left\|T_{\diamond,\tau}^{\pi}Q_{\diamond,\tau}^{\pi}-T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi}\right\|_{\infty}
+\left\|T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi}-T_{\diamond',\tau}^{\pi}Q_{\diamond',\tau}^{\pi}\right\|_{\infty} \\
&\leq\gamma\left\|Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}\right\|_{\infty}+\left\|T_{\diamond,\tau}^{\pi}Q_{\diamond',\tau}^{\pi}-T_{\diamond',\tau}^{\pi}Q_{\diamond',\tau}^{\pi}\right\|_{\infty}\qquad\text{(}\gamma\text{-contraction)} \\
&=\gamma\left\|Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}\right\|_{\infty}
+\left\|\diamond-\diamond'\right\|_{\infty}
\qquad\text{(Definition of soft Bellman operator)} \\
&\Rightarrow\left\|Q_{\diamond,\tau}^{\pi}-Q_{\diamond',\tau}^{\pi}\right\|_{\infty}
\leq\frac{1}{1-\gamma}\left\|\diamond-\diamond'\right\|_{\infty}.
\end{aligned} Q ⋄ , τ π − Q ⋄ ′ , τ π = T ⋄ , τ π Q ⋄ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π = ( T ⋄ , τ π Q ⋄ , τ π − T ⋄ , τ π Q ⋄ ′ , τ π ) + ( T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ) (Add/Subtract T ⋄ , τ π Q ⋄ ′ , τ π ) ⇒ Q ⋄ , τ π − Q ⋄ ′ , τ π ∞ ≤ T ⋄ , τ π Q ⋄ , τ π − T ⋄ , τ π Q ⋄ ′ , τ π ∞ + T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ∞ ≤ γ Q ⋄ , τ π − Q ⋄ ′ , τ π ∞ + T ⋄ , τ π Q ⋄ ′ , τ π − T ⋄ ′ , τ π Q ⋄ ′ , τ π ∞ ( γ -contraction) = γ Q ⋄ , τ π − Q ⋄ ′ , τ π ∞ + ∥ ⋄ − ⋄ ′ ∥ ∞ (Definition of soft Bellman operator) ⇒ Q ⋄ , τ π − Q ⋄ ′ , τ π ∞ ≤ 1 − γ 1 ∥ ⋄ − ⋄ ′ ∥ ∞ .
Proof of Technical Tools when K = 1 K=1 K = 1 Inner-Iterations
Lemma 19. Assuming that for all t ≥ 0 t\geq0 t ≥ 0 the sequence of policies π t , π t + 1 \pi_t,\pi_{t+1} π t , π t + 1 satisfies
∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ≤ γ K ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ + E , \left\|Q_{t+1}^{\pi^*_{t+1}}-Q_{t+1}^{\pi_{t+1}}\right\|_{\infty}
\leq\gamma^K\left\|Q_{t+1}^{\pi^*_{t+1}}-Q_{t+1}^{\pi_t}\right\|_{\infty}+E, Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ γ K Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ + E , ∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ 2 γ K − 1 τ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ + 2 E τ , \left\|\ln(\pi^*_{t+1})-\ln(\pi_{t+1})\right\|_{\infty}
\leq\frac{2\gamma^{K-1}}{\tau}\left\|Q_{t+1}^{\pi^*_{t+1}}-Q_{t+1}^{\pi_t}\right\|_{\infty}+\frac{2E}{\tau}, ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ τ 2 γ K − 1 Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ + τ 2 E , for an error E ≥ 0 E\geq0 E ≥ 0 , then
Φ t + 1 ≤ ( 1 + γ ) γ K − 1 2 Φ t + m ( 1 + γ ) γ K − 1 ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) E 2 ( 1 − γ ) \Phi_{t+1}\leq\frac{(1+\gamma)\gamma^{K-1}}{2}\Phi_t+\frac{m(1+\gamma)\gamma^{K-1}}{(1-\gamma)^2}\left\|\lambda_t-\lambda_{t+1}\right\|_{\infty}+\frac{(3-\gamma)E}{2(1-\gamma)} Φ t + 1 ≤ 2 ( 1 + γ ) γ K − 1 Φ t + ( 1 − γ ) 2 m ( 1 + γ ) γ K − 1 ∥ λ t − λ t + 1 ∥ ∞ + 2 ( 1 − γ ) ( 3 − γ ) E where Φ t : = 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ \Phi_t:=\frac{1}{1-\gamma}\left\|Q_t^{\pi^*_t}-Q_t^{\pi_t}\right\|_{\infty}+\frac{\tau}{4}\left\|\ln(\pi^*_t)-\ln(\pi_t)\right\|_{\infty} Φ t := 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ as in Lemma 8.
Proof. For a fixed iteration t ≥ 0 t \ge0 t ≥ 0 and entropy-regularization parameter τ > 0 \tau> 0 τ > 0 , assume that the sequence of policies π t \pi_t π t , π t + 1 \pi_{t+1} π t + 1 satisfies
∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ≤ γ K ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ + E (94) \left\|Q_{t+1}^{\pi_{t+1}^*} - Q_{t+1}^{\pi_{t+1}}\right\|_\infty\le\gamma^K \left\|Q_{t+1}^{\pi_{t+1}^*} - Q_{t+1}^{\pi_t}\right\|_\infty+ E \tag*{(94)} Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ γ K Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ + E (94)
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ 2 γ K − 1 τ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t ∥ ∞ + 2 E τ (95) \left\|\ln(\pi_{t+1}^*) - \ln(\pi_{t+1})\right\|_\infty\le\frac{2\gamma^{K-1}}{\tau}\left\|Q_{t+1}^{\pi_{t+1}^*} - Q_{t+1}^{\pi_t}\right\|_\infty+ \frac{2E}{\tau} \tag*{(95)} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ τ 2 γ K − 1 Q t + 1 π t + 1 ∗ − Q t + 1 π t ∞ + τ 2 E (95)
The goal is to derive a recursive bound on the optimization error, relating iteration t + 1 t + 1 t + 1 to iteration t t t with additional drift and error terms. By Lemma 13 with λ = λ t + 1 \lambda= \lambda_{t+1} λ = λ t + 1 and λ ′ = λ t \lambda^\prime= \lambda_t λ ′ = λ t
∥ Q t + 1 π t + 1 ∗ − Q t π t ∗ ∥ ∞ ≤ 1 1 − γ ∥ λ t − λ t + 1 ∥ 1 ≤ m 1 − γ ∥ λ t − λ t + 1 ∥ ∞ . (96) \left\|Q_{t+1}^{\pi_{t+1}^*} - Q_t^{\pi_t^*}\right\|_\infty\le\frac{1}{1-\gamma}\left\|\lambda_t - \lambda_{t+1}\right\|_1 \le\frac{m}{1-\gamma}\left\|\lambda_t - \lambda_{t+1}\right\|_\infty. \tag*{(96)} Q t + 1 π t + 1 ∗ − Q t π t ∗ ∞ ≤ 1 − γ 1 ∥ λ t − λ t + 1 ∥ 1 ≤ 1 − γ m ∥ λ t − λ t + 1 ∥ ∞ . (96)
Furthermore, by Lemma 18 with ⋄ = R t + 1 \diamond= R_{t+1} ⋄ = R t + 1 , ⋄ ′ = R t \diamond^\prime= R_t ⋄ ′ = R t and π = π t \pi= \pi_t π = π t ,
∥ Q t + 1 π t − Q t π t ∥ ∞ ≤ 1 1 − γ ∥ R t − R t + 1 ∥ ∞ . \left\|Q_{t+1}^{\pi_t} - Q_t^{\pi_t}\right\|_\infty\le\frac{1}{1-\gamma}\left\|R_t - R_{t+1}\right\|_\infty. Q t + 1 π t − Q t π t ∞ ≤ 1 − γ 1 ∥ R t − R t + 1 ∥ ∞ .
For a fixed ( s , a ) ∈ S × A (s,a) \in\mathcal{S} \times\mathcal{A} ( s , a ) ∈ S × A pair,
∣ [ R t − R t + 1 ] ( s , a ) ∣ = ∣ ∑ i = 1 m c i ( s , a ) ( λ t [ i ] − λ t + 1 [ i ] ) ∣ ≤ ∑ i = 1 m c i ( s , a ) ∣ λ t [ i ] − λ t + 1 [ i ] ∣ (Using triangle inequality) ≤ ∑ i = 1 m ∣ λ t [ i ] − λ t + 1 [ i ] ∣ (Since c i ∈ [ 0 , 1 ] S A ) = ∥ λ t − λ t + 1 ∥ 1 ≤ m ∥ λ t − λ t + 1 ∥ ∞ (Since for x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ ∞ ) \begin{aligned}
\left|[R_t-R_{t+1}](s,a)\right|
&= \left|\sum_{i=1}^{m}c_i(s,a)\left(\lambda_t[i]-\lambda_{t+1}[i]\right)\right| \le\sum_{i=1}^{m}c_i(s,a)\left|\lambda_t[i]-\lambda_{t+1}[i]\right| && \text{(Using triangle inequality)}\\
&\le\sum_{i=1}^{m}\left|\lambda_t[i]-\lambda_{t+1}[i]\right| && \text{(Since }c_i \in[0,1]^{\mathcal{S}\mathcal{A}}\text{)}\\
&= \left\|\lambda_t-\lambda_{t+1}\right\|_1 \le m\left\|\lambda_t-\lambda_{t+1}\right\|_\infty&& \text{(Since for }x \in\mathbb{R}^m\text{, }\|x\|_1 \le m\|x\|_\infty\text{)}
\end{aligned} ∣ [ R t − R t + 1 ] ( s , a ) ∣ = i = 1 ∑ m c i ( s , a ) ( λ t [ i ] − λ t + 1 [ i ] ) ≤ i = 1 ∑ m c i ( s , a ) ∣ λ t [ i ] − λ t + 1 [ i ] ∣ ≤ i = 1 ∑ m ∣ λ t [ i ] − λ t + 1 [ i ] ∣ = ∥ λ t − λ t + 1 ∥ 1 ≤ m ∥ λ t − λ t + 1 ∥ ∞ (Using triangle inequality) (Since c i ∈ [ 0 , 1 ] S A ) (Since for x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ ∞ )
⟹ ∥ Q t + 1 π t − Q t π t ∥ ∞ ≤ m 1 − γ ∥ λ t − λ t + 1 ∥ ∞ (97) \Longrightarrow\left\|Q_{t+1}^{\pi_t} - Q_t^{\pi_t}\right\|_\infty\le\frac{m}{1-\gamma}\left\|\lambda_t-\lambda_{t+1}\right\|_\infty \tag*{(97)} ⟹ Q t + 1 π t − Q t π t ∞ ≤ 1 − γ m ∥ λ t − λ t + 1 ∥ ∞ (97)
Hence, adding and subtracting Q t π t ∗ Q_t^{\pi_t^*} Q t π t ∗ and Q t π t Q_t^{\pi_t} Q t π t , and using the triangle inequality with Equations (96) and (97) ,
∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ≤ ∥ Q t + 1 π t + 1 ∗ − Q t π t ∗ ∥ ∞ + ∥ Q t π t ∗ − Q t π t ∥ ∞ + ∥ Q t π t − Q t + 1 π t + 1 ∥ ∞ ≤ ∥ Q t π t ∗ − Q t π t ∥ ∞ + 2 m 1 − γ ∥ λ t − λ t + 1 ∥ ∞ . (98) \begin{aligned}
\left\|Q_{t+1}^{\pi_{t+1}^*} - Q_{t+1}^{\pi_{t+1}}\right\|_\infty\le\left\|Q_{t+1}^{\pi_{t+1}^*} - Q_t^{\pi_t^*}\right\|_\infty+ \left\|Q_t^{\pi_t^*} - Q_t^{\pi_t}\right\|_\infty+ \left\|Q_t^{\pi_t} - Q_{t+1}^{\pi_{t+1}}\right\|_\infty\\
&\le\left\|Q_t^{\pi_t^*} - Q_t^{\pi_t}\right\|_\infty+ \frac{2m}{1-\gamma}\left\|\lambda_t-\lambda_{t+1}\right\|_\infty. \tag*{(98)}
\end{aligned} Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ Q t + 1 π t + 1 ∗ − Q t π t ∗ ∞ + Q t π t ∗ − Q t π t ∞ + Q t π t − Q t + 1 π t + 1 ∞ ≤ Q t π t ∗ − Q t π t ∞ + 1 − γ 2 m ∥ λ t − λ t + 1 ∥ ∞ . (98)
Using Equations (96) and (97) to bound the second last term of Equation (94) ,
⟹ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ ⏟ optimization error at iteration t + 1 ≤ γ K ∥ Q t π t ∗ − Q t π t ∥ ∞ ⏟ optimization error at iteration t + 2 m γ K 1 − γ ∥ λ t − λ t + 1 ∥ ∞ ⏟ drift from iteration t → t + 1 + E (99) \Longrightarrow\underbrace{\left\|Q_{t+1}^{\pi_{t+1}^*} - Q_{t+1}^{\pi_{t+1}}\right\|_\infty}_{\text{optimization error at iteration }t+1} \le\gamma^K \underbrace{\left\|Q_t^{\pi_t^*} - Q_t^{\pi_t}\right\|_\infty}_{\text{optimization error at iteration }t} + \underbrace{\frac{2m\gamma^K}{1-\gamma}\left\|\lambda_t-\lambda_{t+1}\right\|_\infty}_{\text{drift from iteration }t\to t+1} + E \tag*{(99)} ⟹ optimization error at iteration t + 1 Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ ≤ γ K optimization error at iteration t Q t π t ∗ − Q t π t ∞ + drift from iteration t → t + 1 1 − γ 2 m γ K ∥ λ t − λ t + 1 ∥ ∞ + E (99)
Moreover, combining Equation (99) with Equation (95) ,
⟹ ∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ 2 γ K − 1 τ ∥ Q t π t ∗ − Q t π t ∥ ∞ + 4 m γ K ( 1 − γ ) τ ∥ λ t − λ t + 1 ∥ ∞ + 2 E τ (100) \Longrightarrow\left\|\ln(\pi_{t+1}^*)-\ln(\pi_{t+1})\right\|_\infty\le\frac{2\gamma^{K-1}}{\tau}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_\infty+ \frac{4m\gamma^K}{(1-\gamma)\tau}\left\|\lambda_t-\lambda_{t+1}\right\|_\infty+ \frac{2E}{\tau} \tag*{(100)} ⟹ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ τ 2 γ K − 1 Q t π t ∗ − Q t π t ∞ + ( 1 − γ ) τ 4 m γ K ∥ λ t − λ t + 1 ∥ ∞ + τ 2 E (100)
We now combine the two inequalities. Multiplying Equation (99) by 1 1 − γ \frac{1}{1-\gamma} 1 − γ 1 and Equation (100) by τ 4 \frac{\tau}{4} 4 τ and summing,
Φ t + 1 : = 1 1 − γ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∥ ∞ + τ 4 ∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ γ K − 1 ( γ 1 − γ + 1 2 ) ∥ Q t π t ∗ − Q t π t ∥ ∞ + m γ K − 1 1 − γ ( 2 γ 1 − γ + 1 ) ∥ λ t − λ t + 1 ∥ ∞ + ( 1 1 − γ + 1 2 ) E = ( 1 + γ ) γ K − 1 2 ( 1 − γ ) ∥ Q t π t ∗ − Q t π t ∥ ∞ + m ( 1 + γ ) γ K − 1 ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) E 2 ( 1 − γ ) = ( 1 + γ ) γ K − 1 2 ( 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ ) + m ( 1 + γ ) γ K − 1 ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) E 2 ( 1 − γ ) ≤ ( 1 + γ ) γ K − 1 2 ( 1 1 − γ ∥ Q t π t ∗ − Q t π t ∥ ∞ + τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ) + m ( 1 + γ ) γ K − 1 ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) E 2 ( 1 − γ ) \begin{aligned}
\Phi_{t+1} &:= \frac{1}{1-\gamma}\left\|Q_{t+1}^{\pi_{t+1}^*}-Q_{t+1}^{\pi_{t+1}}\right\|_{\infty}+\frac{\tau}{4}\left\|\ln(\pi_{t+1}^*)-\ln(\pi_{t+1})\right\|_{\infty}\\
&\leq\gamma^{K-1}\left(\frac{\gamma}{1-\gamma}+\frac{1}{2}\right)\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_{\infty}+\frac{m\gamma^{K-1}}{1-\gamma}\left(\frac{2\gamma}{1-\gamma}+1\right)\|\lambda_t-\lambda_{t+1}\|_{\infty}+\left(\frac{1}{1-\gamma}+\frac{1}{2}\right)E\\
&=\frac{(1+\gamma)\gamma^{K-1}}{2(1-\gamma)}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_{\infty}+\frac{m(1+\gamma)\gamma^{K-1}}{(1-\gamma)^2}\|\lambda_t-\lambda_{t+1}\|_{\infty}+\frac{(3-\gamma)E}{2(1-\gamma)}\\
&=\frac{(1+\gamma)\gamma^{K-1}}{2}\left(\frac{1}{1-\gamma}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_{\infty}\right)+\frac{m(1+\gamma)\gamma^{K-1}}{(1-\gamma)^2}\|\lambda_t-\lambda_{t+1}\|_{\infty}+\frac{(3-\gamma)E}{2(1-\gamma)}\\
&\leq\frac{(1+\gamma)\gamma^{K-1}}{2}\left(\frac{1}{1-\gamma}\left\|Q_t^{\pi_t^*}-Q_t^{\pi_t}\right\|_{\infty}+\frac{\tau}{4}\|\ln(\pi_t^*)-\ln(\pi_t)\|_{\infty}\right)\\
&\qquad+\frac{m(1+\gamma)\gamma^{K-1}}{(1-\gamma)^2}\|\lambda_t-\lambda_{t+1}\|_{\infty}+\frac{(3-\gamma)E}{2(1-\gamma)}
\end{aligned} Φ t + 1 := 1 − γ 1 Q t + 1 π t + 1 ∗ − Q t + 1 π t + 1 ∞ + 4 τ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ γ K − 1 ( 1 − γ γ + 2 1 ) Q t π t ∗ − Q t π t ∞ + 1 − γ m γ K − 1 ( 1 − γ 2 γ + 1 ) ∥ λ t − λ t + 1 ∥ ∞ + ( 1 − γ 1 + 2 1 ) E = 2 ( 1 − γ ) ( 1 + γ ) γ K − 1 Q t π t ∗ − Q t π t ∞ + ( 1 − γ ) 2 m ( 1 + γ ) γ K − 1 ∥ λ t − λ t + 1 ∥ ∞ + 2 ( 1 − γ ) ( 3 − γ ) E = 2 ( 1 + γ ) γ K − 1 ( 1 − γ 1 Q t π t ∗ − Q t π t ∞ ) + ( 1 − γ ) 2 m ( 1 + γ ) γ K − 1 ∥ λ t − λ t + 1 ∥ ∞ + 2 ( 1 − γ ) ( 3 − γ ) E ≤ 2 ( 1 + γ ) γ K − 1 ( 1 − γ 1 Q t π t ∗ − Q t π t ∞ + 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ) + ( 1 − γ ) 2 m ( 1 + γ ) γ K − 1 ∥ λ t − λ t + 1 ∥ ∞ + 2 ( 1 − γ ) ( 3 − γ ) E
(Since τ 4 ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ≥ 0 \frac{\tau}{4}\|\ln(\pi_t^*)-\ln(\pi_t)\|_{\infty}\geq0 4 τ ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ≥ 0 )
⟹ Φ t + 1 ≤ ( 1 + γ ) γ K − 1 2 Φ t + m ( 1 + γ ) γ K − 1 ( 1 − γ ) 2 ∥ λ t − λ t + 1 ∥ ∞ + ( 3 − γ ) E 2 ( 1 − γ ) (101) \Longrightarrow\quad\Phi_{t+1}\leq\frac{(1+\gamma)\gamma^{K-1}}{2}\Phi_t+\frac{m(1+\gamma)\gamma^{K-1}}{(1-\gamma)^2}\|\lambda_t-\lambda_{t+1}\|_{\infty}+\frac{(3-\gamma)E}{2(1-\gamma)} \tag*{(101)} ⟹ Φ t + 1 ≤ 2 ( 1 + γ ) γ K − 1 Φ t + ( 1 − γ ) 2 m ( 1 + γ ) γ K − 1 ∥ λ t − λ t + 1 ∥ ∞ + 2 ( 1 − γ ) ( 3 − γ ) E (101)
which completes the proof.
Proposition 5. Let { Φ t } t ≥ 0 \{\Phi_t\}_{t\geq0} { Φ t } t ≥ 0 be a sequence satisfying, for all t ≥ 0 t\geq0 t ≥ 0 ,
Φ t + 1 ≤ κ Φ t + ν , (102) \Phi_{t+1}\leq\kappa\Phi_t+\nu, \tag*{(102)} Φ t + 1 ≤ κ Φ t + ν , (102) where κ ∈ [ 0 , 1 ) \kappa\in[0,1) κ ∈ [ 0 , 1 ) , ν ≥ 0 \nu\geq0 ν ≥ 0 . Then, for all T ≥ 1 T\geq1 T ≥ 1 ,
1 T ∑ t = 0 T − 1 Φ t ≤ Φ 0 ( 1 − κ ) T + ν 1 − κ . (103) \frac{1}{T}\sum_{t=0}^{T-1}\Phi_t\leq\frac{\Phi_0}{(1-\kappa)T}+\frac{\nu}{1-\kappa}. \tag*{(103)} T 1 t = 0 ∑ T − 1 Φ t ≤ ( 1 − κ ) T Φ 0 + 1 − κ ν . (103) and
∑ t = 0 T − 1 α T − 1 − t Φ t ≤ α T α − κ Φ 0 + ν ( 1 − κ ) ( 1 − α ) . (104) \sum_{t=0}^{T-1}\alpha^{T-1-t}\Phi_t\leq\frac{\alpha^T}{\alpha-\kappa}\Phi_0+\frac{\nu}{(1-\kappa)(1-\alpha)}. \tag*{(104)} t = 0 ∑ T − 1 α T − 1 − t Φ t ≤ α − κ α T Φ 0 + ( 1 − κ ) ( 1 − α ) ν . (104) where α ∈ ( κ , 1 ) \alpha\in(\kappa,1) α ∈ ( κ , 1 ) .
Proof. Recursing Equation (102) from t − 1 t-1 t − 1 to 0, we have
Φ t ≤ κ Φ t − 1 + ν ≤ κ ( κ Φ t − 2 + ν ) + ν = κ 2 Φ t − 2 + ν ( 1 + κ ) ≤ κ t Φ 0 + ν ∑ j = 0 t − 1 κ j ≤ κ t Φ 0 + ν ∑ j = 0 ∞ κ j ( κ ∈ [ 0 , 1 ) ) = κ t Φ 0 + ν 1 − κ (105) \begin{aligned}
\Phi_t&\leq\kappa\Phi_{t-1}+\nu\leq\kappa(\kappa\Phi_{t-2}+\nu)+\nu=\kappa^2\Phi_{t-2}+\nu(1+\kappa)\\
&\leq\kappa^t\Phi_0+\nu\sum_{j=0}^{t-1}\kappa^j\leq\kappa^t\Phi_0+\nu\sum_{j=0}^{\infty}\kappa^j\qquad(\kappa\in[0,1))\\
&=\kappa^t\Phi_0+\frac{\nu}{1-\kappa} \tag*{(105)}
\end{aligned} Φ t ≤ κ Φ t − 1 + ν ≤ κ ( κ Φ t − 2 + ν ) + ν = κ 2 Φ t − 2 + ν ( 1 + κ ) ≤ κ t Φ 0 + ν j = 0 ∑ t − 1 κ j ≤ κ t Φ 0 + ν j = 0 ∑ ∞ κ j ( κ ∈ [ 0 , 1 )) = κ t Φ 0 + 1 − κ ν (105)
Multiplying Equation (105) by weights w t ≥ 0 w_t\geq0 w t ≥ 0 and recursing from t = T − 1 t=T-1 t = T − 1 to 0,
∑ t = 0 T − 1 w t Φ t ≤ Φ 0 ∑ t = 0 T − 1 w t κ t + ν 1 − κ ∑ t = 0 T − 1 w t . (106) \sum_{t=0}^{T-1}w_t\Phi_t\leq\Phi_0\sum_{t=0}^{T-1}w_t\kappa^t+\frac{\nu}{1-\kappa}\sum_{t=0}^{T-1}w_t. \tag*{(106)} t = 0 ∑ T − 1 w t Φ t ≤ Φ 0 t = 0 ∑ T − 1 w t κ t + 1 − κ ν t = 0 ∑ T − 1 w t . (106)
Setting w t = 1 w_t=1 w t = 1 then dividing by T T T proves Equation (103) .
To prove the second equation, let w t = α T − 1 − t w_t=\alpha^{T-1-t} w t = α T − 1 − t . Since α ∈ ( κ , 1 ) \alpha\in(\kappa,1) α ∈ ( κ , 1 ) ,
∑ t = 0 T − 1 α T − 1 − t κ t = α T − κ T α − κ ≤ α T α − κ , ∑ t = 0 T − 1 α T − 1 − t ≤ ∑ t = 0 ∞ α t = 1 1 − α . \sum_{t=0}^{T-1}\alpha^{T-1-t}\kappa^t=\frac{\alpha^T-\kappa^T}{\alpha-\kappa}\leq\frac{\alpha^T}{\alpha-\kappa},\qquad\sum_{t=0}^{T-1}\alpha^{T-1-t}\leq\sum_{t=0}^{\infty}\alpha^t=\frac{1}{1-\alpha}. t = 0 ∑ T − 1 α T − 1 − t κ t = α − κ α T − κ T ≤ α − κ α T , t = 0 ∑ T − 1 α T − 1 − t ≤ t = 0 ∑ ∞ α t = 1 − α 1 .
Substituting the above relations into Equation (106) gives Equation (104) .
Proof of Technical Tools when Interpolating Between K = 1 K = 1 K = 1 and K > 1 K > 1 K > 1 Inner-Iterations
Proposition 6. Let p , q ∈ Δ A p,q \in\Delta_{\mathcal{A}} p , q ∈ Δ A such that p ( a ) > 0 p(a)>0 p ( a ) > 0 and q ( a ) > 0 q(a)>0 q ( a ) > 0 for all a ∈ A a \in\mathcal{A} a ∈ A . Assuming max a ∣ ln ( p ( a ) q ( a ) ) ∣ ≤ L \max_{a}\left|\ln\left(\frac{p(a)}{q(a)}\right)\right| \leq L max a ln ( q ( a ) p ( a ) ) ≤ L , then
KL ( p ∥ q ) ≤ L 2 2 . \operatorname{KL}(p\|q) \leq\frac{L^{2}}{2}. KL ( p ∥ q ) ≤ 2 L 2 .
Proof. Let p , q ∈ Δ A p,q \in\Delta_{\mathcal{A}} p , q ∈ Δ A such that p ( a ) > 0 p(a)>0 p ( a ) > 0 , q ( a ) > 0 q(a)>0 q ( a ) > 0 and define X ( a ) : = ln ( p ( a ) q ( a ) ) X(a) := \ln\left(\frac{p(a)}{q(a)}\right) X ( a ) := ln ( q ( a ) p ( a ) ) for all a ∈ A a \in\mathcal{A} a ∈ A . Observe that
E a ∼ p [ exp ( − X ( a ) ) ] = ∑ a p ( a ) q ( a ) p ( a ) = ∑ a q ( a ) = 1 ⟹ ln ( E a ∼ p [ exp ( − X ( a ) ) ] ) = 0. \mathbb{E}_{a\sim p}[\exp(-X(a))] = \sum_{a}p(a)\frac{q(a)}{p(a)} = \sum_{a}q(a) = 1 \implies\ln\left(\mathbb{E}_{a\sim p}[\exp(-X(a))]\right)=0. E a ∼ p [ exp ( − X ( a ))] = a ∑ p ( a ) p ( a ) q ( a ) = a ∑ q ( a ) = 1 ⟹ ln ( E a ∼ p [ exp ( − X ( a ))] ) = 0.
As a result, assuming that max a ∣ X ( a ) ∣ ≤ L \max_{a}|X(a)| \leq L max a ∣ X ( a ) ∣ ≤ L , then by Hoeffding’s Lemma (Lemma 27) with y = − 1 y=-1 y = − 1 , a = − L a=-L a = − L , b = L b=L b = L , we have,
E a ∼ p [ exp ( − X ( a ) + E a ′ ∼ p [ X ( a ′ ) ] ) ] ≤ exp ( ( 2 L ) 2 8 ) = exp ( L 2 2 ) ⟹ ln ( E a ∼ p [ exp ( − X ( a ) ) ] ) ⏟ = 0 + E a ′ ∼ p [ X ( a ′ ) ] ≤ L 2 2 (Taking the logarithms on both sides) ⟹ KL ( p ∥ q ) = E a ′ ∼ p [ X ( a ′ ) ] ≤ L 2 2 . \begin{aligned}
\mathbb{E}_{a\sim p}\left[\exp\left(-X(a)+\mathbb{E}_{a'\sim p}[X(a')]\right)\right] \leq\exp\left(\frac{(2L)^2}{8}\right)=\exp\left(\frac{L^2}{2}\right) \\
&\implies\underbrace{\ln\left(\mathbb{E}_{a\sim p}[\exp(-X(a))]\right)}_{=0}+\mathbb{E}_{a'\sim p}[X(a')] \leq\frac{L^2}{2}
\qquad\text{(Taking the logarithms on both sides)} \\
&\implies\operatorname{KL}(p\|q)=\mathbb{E}_{a'\sim p}[X(a')] \leq\frac{L^2}{2}.
\end{aligned} E a ∼ p [ exp ( − X ( a ) + E a ′ ∼ p [ X ( a ′ )] ) ] ≤ exp ( 8 ( 2 L ) 2 ) = exp ( 2 L 2 ) ⟹ = 0 ln ( E a ∼ p [ exp ( − X ( a ))] ) + E a ′ ∼ p [ X ( a ′ )] ≤ 2 L 2 (Taking the logarithms on both sides) ⟹ KL ( p ∥ q ) = E a ′ ∼ p [ X ( a ′ )] ≤ 2 L 2 .
:::
Lemma 20. Fix t ≥ 0 t \geq0 t ≥ 0 and τ > 0 \tau> 0 τ > 0 . Let π ^ 0 = π t \hat{\pi}_{0}=\pi_{t} π ^ 0 = π t and for k ∈ [ 0 , K − 1 ] k \in[0,K-1] k ∈ [ 0 , K − 1 ] , suppose that the policy π ^ k + 1 \hat{\pi}_{k+1} π ^ k + 1 satisfies
∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t + 1 π ^ t + 1 − Q t + 1 π ^ k ∥ ∞ + E ) \left\|\ln(\pi_{t+1}^{*})-\ln(\hat{\pi}_{k+1})\right\|_{\infty}
\leq\frac{2}{\tau}\left(\left\|Q_{t+1}^{\hat{\pi}_{t+1}}-Q_{t+1}^{\hat{\pi}_{k}}\right\|_{\infty}+E\right) ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ τ 2 ( Q t + 1 π ^ t + 1 − Q t + 1 π ^ k ∞ + E ) for an error E ≥ 0 E \geq0 E ≥ 0 . Then, for π t + 1 = π ^ K \pi_{t+1}=\hat{\pi}_{K} π t + 1 = π ^ K and n = 2 K n=2^{K} n = 2 K ,
(i) If E = 0 E=0 E = 0
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ ( γ 1 − γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ n \left\|\ln(\pi_{t+1}^{*})-\ln(\pi_{t+1})\right\|_{\infty}
\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}
\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_{t})\right\|_{\infty}^{n} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ ( 1 − γ γ ) n − 1 ln ( π t + 1 ∗ ) − ln ( π t ) ∞ n (ii) If E > 0 E>0 E > 0 and assuming
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ + 2 E γ τ ( 1 − γ ) ≤ 1 4 \frac{\gamma}{1-\gamma}\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_{t})\right\|_{\infty}
+\frac{2E\gamma}{\tau(1-\gamma)}\leq\frac{1}{4} 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π t ) ∞ + τ ( 1 − γ ) 2 E γ ≤ 4 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ ( γ 1 − γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ n + 4 E τ \left\|\ln(\pi_{t+1}^{*})-\ln(\pi_{t+1})\right\|_{\infty}
\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}
\left\|\ln(\pi_{t+1}^{*})-\ln(\pi_{t})\right\|_{\infty}^{n}
+\frac{4E}{\tau} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ ( 1 − γ γ ) n − 1 ln ( π t + 1 ∗ ) − ln ( π t ) ∞ n + τ 4 E Consequently, in either case,
L t + 1 ≤ ( γ 1 − γ ) n − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) n + 4 E τ (107) L_{t+1}\leq\left(\frac{\gamma}{1-\gamma}\right)^{n-1}
\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\|\lambda_{t+1}-\lambda_{t}\|+L_{t}\right)^{n}
+\frac{4E}{\tau} \tag*{(107)} L t + 1 ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) n + τ 4 E (107)
Proof. Fix t ≥ 0 t \geq0 t ≥ 0 , τ > 0 \tau>0 τ > 0 and let π ^ 0 = π t \hat{\pi}_{0}=\pi_{t} π ^ 0 = π t . Assuming that for each k ∈ [ K ] k \in[K] k ∈ [ K ] , the policy π ^ k + 1 \hat{\pi}_{k+1} π ^ k + 1 satisfies with error E ≥ 0 , E \ge0, E ≥ 0 ,
∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ 2 τ ( ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∥ ∞ + E ) = 2 τ ∥ Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∥ ∞ + 2 E τ ≤ 2 γ τ ∥ V R t + 1 , τ π t + 1 ∗ − V R t + 1 , τ π ^ k ∥ ∞ + 2 E τ (The pseudo-reward are identical) ≤ 2 γ 1 − γ max s KL ( π ^ k ( ⋅ ∣ s ) ∥ π t + 1 ∗ ( ⋅ ∣ s ) ) ∑ s ′ ∈ S π ^ k ( s ′ ∣ s ) ⏟ = 1 + 2 E τ \begin{aligned}
\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_{k+1})\right\rVert_\infty\le\frac{2}{\tau}\left(\left\lVert Q^{\pi^*_{t+1}}_{t+1}-Q^{\hat{\pi}_k}_{t+1}\right\rVert_\infty+E\right)=\frac{2}{\tau}\left\lVert Q^{\pi^*_{t+1}}_{t+1}-Q^{\hat{\pi}_k}_{t+1}\right\rVert_\infty+\frac{2E}{\tau} \\
&\le\frac{2\gamma}{\tau}\left\lVert V^{\pi^*_{t+1}}_{R_{t+1,\tau}}-V^{\hat{\pi}_k}_{R_{t+1,\tau}}\right\rVert_\infty+\frac{2E}{\tau}\qquad\text{(The pseudo-reward are identical)} \\
&\le\frac{2\gamma}{1-\gamma}\max_s\operatorname{KL}\left(\hat{\pi}_k(\cdot\mid s)\mathbin{\|}\pi^*_{t+1}(\cdot\mid s)\right)\underbrace{\sum_{s'\in\mathcal{S}}\hat{\pi}_k(s'\mid s)}_{=1}+\frac{2E}{\tau}
\end{aligned} ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ τ 2 ( Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∞ + E ) = τ 2 Q t + 1 π t + 1 ∗ − Q t + 1 π ^ k ∞ + τ 2 E ≤ τ 2 γ V R t + 1 , τ π t + 1 ∗ − V R t + 1 , τ π ^ k ∞ + τ 2 E (The pseudo-reward are identical) ≤ 1 − γ 2 γ s max KL ( π ^ k ( ⋅ ∣ s ) ∥ π t + 1 ∗ ( ⋅ ∣ s ) ) = 1 s ′ ∈ S ∑ π ^ k ( s ′ ∣ s ) + τ 2 E
(Using Lemma 26 with π ′ = π t + 1 ∗ \pi'=\pi^*_{t+1} π ′ = π t + 1 ∗ , π = π ^ k \pi=\hat{\pi}_k π = π ^ k and ⋄ = R t + 1 \diamond=R_{t+1} ⋄ = R t + 1 )
Since max a ∣ ln ( π ^ k ( a ∣ s ) / π t + 1 ∗ ( a ∣ s ) ) ∣ ≤ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∥ ∞ \max_a\left|\ln(\hat{\pi}_k(a\mid s)/\pi^*_{t+1}(a\mid s))\right|\le\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_k)\right\rVert_\infty max a ln ( π ^ k ( a ∣ s ) / π t + 1 ∗ ( a ∣ s )) ≤ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∞ for every s ∈ S s\in\mathcal{S} s ∈ S , by Proposition 6 with p = π ^ k ( ⋅ ∣ s ) p=\hat{\pi}_k(\cdot\mid s) p = π ^ k ( ⋅ ∣ s ) , q = π t + 1 ∗ ( ⋅ ∣ s ) q=\pi^*_{t+1}(\cdot\mid s) q = π t + 1 ∗ ( ⋅ ∣ s ) , and L = ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∥ ∞ L=\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_k)\right\rVert_\infty L = ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∞ ,
⟹ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∥ ∞ 2 + 2 E τ \Longrightarrow\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_{k+1})\right\rVert_\infty\le\frac{\gamma}{1-\gamma}\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_k)\right\rVert_\infty^2+\frac{2E}{\tau} ⟹ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∞ 2 + τ 2 E
⟹ γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∥ ∞ ≤ ( γ 1 − γ ) 2 ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∥ ∞ 2 + 2 E γ τ ( 1 − γ ) (108) \Longrightarrow\frac{\gamma}{1-\gamma}\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_{k+1})\right\rVert_\infty\le\left(\frac{\gamma}{1-\gamma}\right)^2\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_k)\right\rVert_\infty^2+\frac{2E\gamma}{\tau(1-\gamma)} \tag*{(108)} ⟹ 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π ^ k + 1 ) ∞ ≤ ( 1 − γ γ ) 2 ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∞ 2 + τ ( 1 − γ ) 2 E γ (108)
If E = 0 E=0 E = 0 , using Equation (108) and recursing from k = K − 1 k=K-1 k = K − 1 to 0 0 0 , we have
γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ K ) ∥ ∞ ≤ ( γ 1 − γ ) 2 K ∥ ln ( π t + 1 ∗ ) − ln ( π ^ 0 ) ∥ ∞ 2 K . \frac{\gamma}{1-\gamma}\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_K)\right\rVert_\infty\le\left(\frac{\gamma}{1-\gamma}\right)^{2^K}\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_0)\right\rVert_\infty^{2^K}. 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π ^ K ) ∞ ≤ ( 1 − γ γ ) 2 K ln ( π t + 1 ∗ ) − ln ( π ^ 0 ) ∞ 2 K .
Dividing by γ 1 − γ \frac{\gamma}{1-\gamma} 1 − γ γ and noting that π ^ K = π t + 1 \hat{\pi}_K=\pi_{t+1} π ^ K = π t + 1 and π ^ 0 = π t \hat{\pi}_0=\pi_t π ^ 0 = π t gives
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ ( γ 1 − γ ) 2 K − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ 2 K . \left\lVert\ln(\pi^*_{t+1})-\ln(\pi_{t+1})\right\rVert_\infty\le\left(\frac{\gamma}{1-\gamma}\right)^{2^K-1}\left\lVert\ln(\pi^*_{t+1})-\ln(\pi_t)\right\rVert_\infty^{2^K}. ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ ( 1 − γ γ ) 2 K − 1 ln ( π t + 1 ∗ ) − ln ( π t ) ∞ 2 K .
Otherwise, when E > 0 E>0 E > 0 we use induction. For this, let
a k : = γ 1 − γ ∥ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∥ ∞ ; e ~ : = 2 E γ τ ( 1 − γ ) . a_k:=\frac{\gamma}{1-\gamma}\left\lVert\ln(\pi^*_{t+1})-\ln(\hat{\pi}_k)\right\rVert_\infty\ ;\qquad\tilde{e}:=\frac{2E\gamma}{\tau(1-\gamma)}. a k := 1 − γ γ ln ( π t + 1 ∗ ) − ln ( π ^ k ) ∞ ; e ~ := τ ( 1 − γ ) 2 E γ .
We show by induction that a k ≤ a 0 2 k + 2 e ~ a_k\le a_0^{2^k}+2\tilde{e} a k ≤ a 0 2 k + 2 e ~ for all k ∈ [ K ] k\in[K] k ∈ [ K ] .
Base case: For k = 0 k=0 k = 0 , a 0 ≤ a 0 + 2 e ~ a_0\le a_0+2\tilde{e} a 0 ≤ a 0 + 2 e ~ .
Induction step: Suppose that a k ≤ a 0 2 k + 2 e ~ a_k\le a_0^{2^k}+2\tilde{e} a k ≤ a 0 2 k + 2 e ~ for some k ≥ 0 k\ge0 k ≥ 0 . Then, by Equation (108)
a k + 1 ≤ a k 2 + e ~ ≤ ( a 0 2 k + 2 e ~ ) 2 + e ~ (Induction hypothesis) = a 0 2 k + 1 + 4 e ~ a 0 2 k + 4 e ~ 2 + e ~ (Expanding the square) = a 0 2 k + 1 + e ~ ( 4 ( a 0 2 k + e ~ ) + 1 ) ≤ a 0 2 k + 1 + 2 e ~ . (Since a 0 < 1 implies a 0 2 k ≤ a 0 , and assuming a 0 + e ~ ≤ 1 / 4 ) \begin{aligned}
a_{k+1}\le a_k^2+\tilde{e} \\
&\le\left(a_0^{2^k}+2\tilde{e}\right)^2+\tilde{e}\qquad\text{(Induction hypothesis)} \\
&=a_0^{2^{k+1}}+4\tilde{e}a_0^{2^k}+4\tilde{e}^2+\tilde{e}\qquad\text{(Expanding the square)} \\
&=a_0^{2^{k+1}}+\tilde{e}\left(4\left(a_0^{2^k}+\tilde{e}\right)+1\right) \\
&\le a_0^{2^{k+1}}+2\tilde{e}.\qquad\text{(Since }a_0<1\text{ implies }a_0^{2^k}\le a_0\text{, and assuming }a_0+\tilde{e}\le1/4\text{)}
\end{aligned} a k + 1 ≤ a k 2 + e ~ ≤ ( a 0 2 k + 2 e ~ ) 2 + e ~ (Induction hypothesis) = a 0 2 k + 1 + 4 e ~ a 0 2 k + 4 e ~ 2 + e ~ (Expanding the square) = a 0 2 k + 1 + e ~ ( 4 ( a 0 2 k + e ~ ) + 1 ) ≤ a 0 2 k + 1 + 2 e ~ . (Since a 0 < 1 implies a 0 2 k ≤ a 0 , and assuming a 0 + e ~ ≤ 1/4 )
This completes the induction. Setting k = K k=K k = K and dividing by γ 1 − γ \frac{\gamma}{1-\gamma} 1 − γ γ , we have
∥ ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∥ ∞ ≤ ( γ 1 − γ ) 2 K − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ 2 K + 4 E τ \left\lVert\ln(\pi^*_{t+1})-\ln(\pi_{t+1})\right\rVert_\infty\le\left(\frac{\gamma}{1-\gamma}\right)^{2^K-1}\left\lVert\ln(\pi^*_{t+1})-\ln(\pi_t)\right\rVert_\infty^{2^K}+\frac{4E}{\tau} ln ( π t + 1 ∗ ) − ln ( π t + 1 ) ∞ ≤ ( 1 − γ γ ) 2 K − 1 ln ( π t + 1 ∗ ) − ln ( π t ) ∞ 2 K + τ 4 E
Combining both cases and defining L t : = ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ L_t := \lVert\ln(\pi_t^*)-\ln(\pi_t)\rVert_\infty L t := ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ and n = 2 K n=2^K n = 2 K ,
L t + 1 ≤ ( γ 1 − γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ 2 K + 4 E τ = ( γ 1 − γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) + ln ( π t ∗ ) − ln ( π t ) ∥ ∞ n + 4 E τ \begin{aligned}
L_{t+1}\le\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\lVert\ln(\pi_{t+1}^*)-\ln(\pi_t)\rVert_\infty^{2^K}+\frac{4E}{\tau} \\
&=\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\lVert\ln(\pi_{t+1}^*)-\ln(\pi_t^*)+\ln(\pi_t^*)-\ln(\pi_t)\rVert_\infty^n+\frac{4E}{\tau}
\end{aligned} L t + 1 ≤ ( 1 − γ γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ) ∥ ∞ 2 K + τ 4 E = ( 1 − γ γ ) n − 1 ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) + ln ( π t ∗ ) − ln ( π t ) ∥ ∞ n + τ 4 E
(Add/Subtract ln ( π t ∗ ) \ln(\pi_t^*) ln ( π t ∗ ) )
≤ ( γ 1 − γ ) n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ) n + 4 E τ \le\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\lVert\ln(\pi_{t+1}^*)-\ln(\pi_t^*)\rVert_\infty+\lVert\ln(\pi_t^*)-\ln(\pi_t)\rVert_\infty\right)^n+\frac{4E}{\tau} ≤ ( 1 − γ γ ) n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + ∥ ln ( π t ∗ ) − ln ( π t ) ∥ ∞ ) n + τ 4 E
(Using triangle inequality)
⇒ L t + 1 ≤ ( γ 1 − γ ) n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + L t ) n + 4 E τ \Rightarrow L_{t+1}\le\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\lVert\ln(\pi_{t+1}^*)-\ln(\pi_t^*)\rVert_\infty+L_t\right)^n+\frac{4E}{\tau} ⇒ L t + 1 ≤ ( 1 − γ γ ) n − 1 ( ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ + L t ) n + τ 4 E
We now bound ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ \lVert\ln(\pi_{t+1}^*)-\ln(\pi_t^*)\rVert_\infty ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ using the Lipschitz property of Q R ( λ ) , τ ∗ Q^*_{R(\lambda),\tau} Q R ( λ ) , τ ∗ in λ \lambda λ . For a fixed s ∈ S s\in\mathcal{S} s ∈ S , by Equation (20) of Proposition 2 with q = Q R t + 1 , τ ∗ ( s , ⋅ ) q=Q^*_{R_{t+1},\tau}(s,\cdot) q = Q R t + 1 , τ ∗ ( s , ⋅ ) and q ′ = Q R t , τ ∗ ( s , ⋅ ) q'=Q^*_{R_t,\tau}(s,\cdot) q ′ = Q R t , τ ∗ ( s , ⋅ ) , we have
∥ ln ( π t + 1 ∗ ( ⋅ ∣ s ) ) − ln ( π t ∗ ( ⋅ ∣ s ) ) ∥ ∞ ≤ 2 τ ∥ Q R t + 1 , τ ∗ ( s , ⋅ ) − Q R t , τ ∗ ( s , ⋅ ) ∥ ∞ ≤ 2 τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ 1 \begin{aligned}
\lVert\ln(\pi_{t+1}^*(\cdot\mid s))-\ln(\pi_t^*(\cdot\mid s))\rVert_\infty\le\frac{2}{\tau}\lVert Q^*_{R_{t+1},\tau}(s,\cdot)-Q^*_{R_t,\tau}(s,\cdot)\rVert_\infty\\
&\le\frac{2}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert_1
\end{aligned} ∥ ln ( π t + 1 ∗ ( ⋅ ∣ s )) − ln ( π t ∗ ( ⋅ ∣ s )) ∥ ∞ ≤ τ 2 ∥ Q R t + 1 , τ ∗ ( s , ⋅ ) − Q R t , τ ∗ ( s , ⋅ ) ∥ ∞ ≤ τ ( 1 − γ ) 2 ∥ λ t + 1 − λ t ∥ 1
(Using Lemma 13 with λ = λ t \lambda=\lambda_t λ = λ t and λ ′ = λ t + 1 \lambda'=\lambda_{t+1} λ ′ = λ t + 1 )
≤ 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ \le\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert ≤ τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥
(Since for any x ∈ R m x\in\mathbb{R}^m x ∈ R m , ∥ x ∥ 1 ≤ m ∥ x ∥ \lVert x\rVert_1\le\sqrt{m}\lVert x\rVert ∥ x ∥ 1 ≤ m ∥ x ∥ )
Taking the max over all s ∈ S s\in\mathcal{S} s ∈ S
⇒ ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ ≤ 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ ⇒ L t + 1 ≤ ( γ 1 − γ ) n − 1 ( 2 m τ ( 1 − γ ) ∥ λ t + 1 − λ t ∥ + L t ) n + 4 E τ (109) \begin{aligned}
\Rightarrow\lVert\ln(\pi_{t+1}^*)-\ln(\pi_t^*)\rVert_\infty\le\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert\\
&\Rightarrow L_{t+1}\le\left(\frac{\gamma}{1-\gamma}\right)^{n-1}\left(\frac{2\sqrt{m}}{\tau(1-\gamma)}\lVert\lambda_{t+1}-\lambda_t\rVert+L_t\right)^n+\frac{4E}{\tau} \tag*{(109)}
\end{aligned} ⇒ ∥ ln ( π t + 1 ∗ ) − ln ( π t ∗ ) ∥ ∞ ≤ τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ ⇒ L t + 1 ≤ ( 1 − γ γ ) n − 1 ( τ ( 1 − γ ) 2 m ∥ λ t + 1 − λ t ∥ + L t ) n + τ 4 E (109)
Lemma 21. Let K ≥ 1 K\ge1 K ≥ 1 and n = 2 K n=2^K n = 2 K . If the non-negative sequence { L t } t ≥ 0 \{L_t\}_{t\ge0} { L t } t ≥ 0 satisfies
L 0 ≤ 2 n κ ( ν + e ) n + e ; L t + 1 ≤ κ ( L t + ν ) n + e ∀ t ≥ 0. L_0\le2^n\kappa(\nu+e)^n+e \ ; \quad L_{t+1}\le\kappa(L_t+\nu)^n+e\quad\forall t\ge0. L 0 ≤ 2 n κ ( ν + e ) n + e ; L t + 1 ≤ κ ( L t + ν ) n + e ∀ t ≥ 0. where κ ≥ 0 \kappa\ge0 κ ≥ 0 , ν > 0 \nu>0 ν > 0 , e ≥ 0 e\ge0 e ≥ 0 and 2 n κ ( ν + e ) n − 1 ≤ 1 2^n\kappa(\nu+e)^{n-1}\le1 2 n κ ( ν + e ) n − 1 ≤ 1 . Then for all t ≥ 0 t\ge0 t ≥ 0 ,
L t ≤ 2 n κ ( ν + e ) n + e . L_t\le2^n\kappa(\nu+e)^n+e. L t ≤ 2 n κ ( ν + e ) n + e .
Proof. We use induction to prove this fact for a fixed K ≥ 1 K\ge1 K ≥ 1 .
Base case: For t = 0 t=0 t = 0 , by assumption L 0 ≤ 2 n κ ( ν + e ) n + e L_0\le2^n\kappa(\nu+e)^n+e L 0 ≤ 2 n κ ( ν + e ) n + e .
Induction Step: Suppose L t ≤ 2 n κ ( ν + e ) n + e L_t\le2^n\kappa(\nu+e)^n+e L t ≤ 2 n κ ( ν + e ) n + e for some t ≥ 0 t\ge0 t ≥ 0 . Then, since x → κ x n x\to\kappa x^n x → κ x n is non-decreasing for x ≥ 0 x\ge0 x ≥ 0 ,
L t + 1 ≤ κ ( L t + ν ) n + e ≤ κ ( 2 n κ ( ν + e ) n + e + ν ) n + e \begin{aligned}
L_{t+1}\le\kappa(L_t+\nu)^n+e \\
&\le\kappa\left(2^n\kappa(\nu+e)^n+e+\nu\right)^n+e
\end{aligned} L t + 1 ≤ κ ( L t + ν ) n + e ≤ κ ( 2 n κ ( ν + e ) n + e + ν ) n + e
(Induction hypothesis)
= κ ( ( ν + e ) ( 2 n κ ( ν + e ) n − 1 + 1 ) ) n + e = κ ( ν + e ) n ( 2 n κ ( ν + e ) n − 1 + 1 ) n + e \begin{aligned}
=\kappa\left((\nu+e)\left(2^n\kappa(\nu+e)^{n-1}+1\right)\right)^n+e \\
&=\kappa(\nu+e)^n\left(2^n\kappa(\nu+e)^{n-1}+1\right)^n+e
\end{aligned} = κ ( ( ν + e ) ( 2 n κ ( ν + e ) n − 1 + 1 ) ) n + e = κ ( ν + e ) n ( 2 n κ ( ν + e ) n − 1 + 1 ) n + e
≤ 2 n κ ( ν + e ) n + e , \le2^n\kappa(\nu+e)^n+e, ≤ 2 n κ ( ν + e ) n + e ,
(Since $2^n\kappa(\nu+e)^{n-1}\le1)
which completes the proof.
Lemma 22. Let { L t } t ≥ 0 \{L_t\}_{t\ge0} { L t } t ≥ 0 be a non-negative sequence. Suppose there exists a region B > 0 B > 0 B > 0 such that L t ≤ B L_t \le B L t ≤ B implies
L t + 1 ≤ κ ( L t + ν ) n + e (110) L_{t+1} \le\kappa(L_t+\nu)^n + e \tag*{(110)} L t + 1 ≤ κ ( L t + ν ) n + e (110) for constants κ ≥ 0 \kappa\ge0 κ ≥ 0 , ν ≥ 0 \nu\ge0 ν ≥ 0 , and e ≥ 0 e \ge0 e ≥ 0 . Then, if
L 0 ≤ B , (111) L_0 \le B, \tag*{(111)} L 0 ≤ B , (111) κ ( B + ν ) n + e ≤ B , (112) \kappa(B+\nu)^n + e \le B, \tag*{(112)} κ ( B + ν ) n + e ≤ B , (112) we have, for all t ≥ 0 t \ge0 t ≥ 0 , L t ≤ B L_t \le B L t ≤ B .
Proof. We prove the result by induction.
Base case: For t = 0 t = 0 t = 0 , by the initial condition in Equation (110) , L 0 ≤ B L_0 \le B L 0 ≤ B .
Induction Step: Suppose that L t ≤ B L_t \le B L t ≤ B for some t ≥ 0 t \ge0 t ≥ 0 . Then by Equation (110) and since x ↦ κ ( x + ν ) n x \mapsto\kappa(x+\nu)^n x ↦ κ ( x + ν ) n is non-decreasing on x ≥ 0 x \ge0 x ≥ 0 ,
L t + 1 ≤ κ ( L t + ν ) n + e ≤ κ ( B + ν ) n + e ≤ B L_{t+1} \le\kappa(L_t+\nu)^n + e \le\kappa(B+\nu)^n + e \le B L t + 1 ≤ κ ( L t + ν ) n + e ≤ κ ( B + ν ) n + e ≤ B (by Equation (112) ).
Tabular Experiments
All experiments were run on a local desktop on an AMD Ryzen 9 3900X CPU.
Constrained Bandit
In Figure 1 , we use the following constrained armed bandit problem with deterministic rewards and constrained rewards: r = [ 1.0 , 0.0 ] r = [1.0, 0.0] r = [ 1.0 , 0.0 ] , c = [ 0.0 , 1.0 ] c = [0.0, 1.0] c = [ 0.0 , 1.0 ] and b = 0.7 b = 0.7 b = 0.7 . The optimal policy is thus π ∗ = [ 0.3 , 0.7 ] \pi^* = [0.3, 0.7] π ∗ = [ 0.3 , 0.7 ] .
For NPG-PD Ding et al. [ [8 ] , we use the following parameters: η p r i m a l = 2 ln ( A ) \eta_{\mathrm{primal}} = 2\ln(A) η primal = 2 ln ( A ) , η d u a l = 2 / T \eta_{\mathrm{dual}} = 2/\sqrt{T} η dual = 2/ T and T = 1000 T = 1000 T = 1000 .
For our proposed primal-dual method (DD (K = 1 K=1 K = 1 )), we use the following parameters: β = 0.01 \beta= 0.01 β = 0.01 , τ = μ = 0.01 \tau= \mu= 0.01 τ = μ = 0.01 , K = 1 K = 1 K = 1 , T = 950 T = 950 T = 950 and J = 50 J = 50 J = 50 where we use E-NPG as the inner sub-problem solver with η = ( 1 − γ ) / τ \eta= (1-\gamma)/\tau η = ( 1 − γ ) / τ .
Constrained MDPs
Following the experimental set-up in Lu et al. [ [26 ] , we consider the following tabular environments. In each of the following environments, we set the initial state distribution to be uniform, i.e. for all s ∈ S s \in\mathcal{S} s ∈ S , ρ ( s ) = 1 / S \rho(s) = 1/S ρ ( s ) = 1/ S .
Constrained Cliff World: This environment modifies the original Cliff World Sutton and Barto, [39 ] and adds additional constrained rewards. The environment consists of 21 states and 4 actions. The objective is for an agent to reach the goal state while avoiding a chasm. If the agent falls into the chasm (indicated by the red region), the agent receives a reward of 0 and a constrained reward of 0. If the agent reaches the goal (the green region), the agent receives a reward of +1 and a constrained reward of 0. All other rewards are 0 and constrained rewards are +1. In this environment γ = 0.9 \gamma= 0.9 γ = 0.9 and b = 9.83 b = 9.83 b = 9.83 .
Constrained Deep Sea Treasure This environment modifies the original Deep sea treasure Osband et al., [36 ] and adds additional constrained rewards. The environment consists 25 states and 2 actions. The agent descends one row per each time it takes an action. The goal of the agent is to stay right in order to reach the treasure (indicated by the green region). If the agent transitions to the left, it receives a reward of 0. Otherwise if the agent reaches the treasure, it receives a reward of +1. Additionally, in the environment there are two landmines. If the agent reaches a landmine (indicated by the red region), the agent receives a constrained reward of 0. All other constrained rewards are +1. In this environment γ = 0.9 \gamma= 0.9 γ = 0.9 and b = 9.99 b = 9.99 b = 9.99 .
For all methods, hyperparameters were selected via grid search, and the full configurations are listed in Table 3 . We report results using the configuration that achieved the smallest optimality gap subject to the final policy satisfying the constraint violation b − V c π ( ρ ) ≤ 0.001 b - V_c^{\pi}(\rho) \le0.001 b − V c π ( ρ ) ≤ 0.001 .
Table 3. Grid search ranges for the tabular experiments
Figure 3. Visualization of the optimal policy for the cliff world environment. A longer arrows indicates a higher the probability of taking a particular action.
Figure 4. Visualization of the optimal policy for the deep sea treasure environment. A longer arrows indicates a higher the probability of taking a particular action.
Figure 5. Comparing our regularized inexact DD method DD (K = 1 K=1 K = 1 ) when K = 1 K=1 K = 1 , μ > 0 \mu>0 μ > 0 and warm-starting the initial policy with 50 iterations. We compare against the following practical last-iterate methods from prior work: RPG-PD Ding et al. [ [9 ] , PQA-ALM Lu et al. [ [26 ] , NPG-NRL Müller et al. [ [32 ] , ReLoad Moskovitz et al. [ [31 ] , and the related DD method of Ying et al. Ying et al. [ [42 ] (DD (Nesterov)). Our method converges steadily to zero optimality gap and constraint violations without any oscillations
Technical Tools for Natural Policy Gradient with Entropy Regularization
The following results correspond to [7 Theorem 1] and [7 Theorem 2] and is added for completeness.
Exact Setting
At iteration k ≥ 0 k \ge0 k ≥ 0 , the entropy-regularized NPG update Cen et al. [ [7 ] is given by:
π k + 1 ( a ∣ s ) ∝ π k ( a ∣ s ) 1 − η τ 1 − γ exp ( η Q ⋄ , τ π k ( s , a ) 1 − γ ) ∀ ( s , a ) ∈ S × A , (113) \pi_{k+1}(a|s) \propto\pi_k(a|s)^{1-\frac{\eta\tau}{1-\gamma}} \exp\left(\frac{\eta Q_{\diamond,\tau}^{\pi_k}(s,a)}{1-\gamma}\right) \quad\forall(s,a) \in\mathcal{S} \times\mathcal{A}, \tag*{(113)} π k + 1 ( a ∣ s ) ∝ π k ( a ∣ s ) 1 − 1 − γ η τ exp ( 1 − γ η Q ⋄ , τ π k ( s , a ) ) ∀ ( s , a ) ∈ S × A , (113)
where ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U > 0 U > 0 is a bounded pseudo-reward and Q ⋄ , τ π k ∈ R S A Q_{\diamond,\tau}^{\pi_k} \in\mathbb{R}^{SA} Q ⋄ , τ π k ∈ R S A is the soft Q-function of policy π k \pi_k π k .
Lemma 23. For any pseudo-reward ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U > 0 U > 0 the NPG update in Equation (113) with τ > 0 \tau> 0 τ > 0 , η ≤ 1 − γ τ \eta\le\frac{1-\gamma}{\tau} η ≤ τ 1 − γ converges as: for K ≥ 0 K \ge0 K ≥ 0 :
∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∥ ∞ ≤ γ C ( 1 − η τ ) K \left\|Q_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}-Q_{\diamond,\tau}^{\pi_{K+1}}\right\|_\infty\le\gamma C(1-\eta\tau)^K Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∞ ≤ γ C ( 1 − η τ ) K ∥ ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∥ ∞ ≤ 2 τ C ( 1 − η τ ) K \left\|\ln(\pi^*_{\diamond,\tau})-\ln(\pi_{K+1})\right\|_\infty\le\frac{2}{\tau}C(1-\eta\tau)^K ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∞ ≤ τ 2 C ( 1 − η τ ) K ∥ V ⋄ , τ π ⋄ , τ ∗ − V ⋄ , τ π K + 1 ∥ ∞ ≤ ( 2 + γ ) C ( 1 − η τ ) K \left\|V_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}-V_{\diamond,\tau}^{\pi_{K+1}}\right\|_\infty\le(2+\gamma)C(1-\eta\tau)^K V ⋄ , τ π ⋄ , τ ∗ − V ⋄ , τ π K + 1 ∞ ≤ ( 2 + γ ) C ( 1 − η τ ) K where π ⋄ , τ ∗ : = arg max π V ⋄ , τ π ( ρ ) \pi^*_{\diamond,\tau} := \arg\max_\pi V_{\diamond,\tau}^{\pi}(\rho) π ⋄ , τ ∗ := arg max π V ⋄ , τ π ( ρ ) , π 0 \pi_0 π 0 is the initial policy, and C = ∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π 0 ∥ ∞ + 2 τ ( 1 − η τ 1 − γ ) ∥ ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∥ ∞ C = \left\|Q_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}-Q_{\diamond,\tau}^{\pi_0}\right\|_\infty+ 2\tau\left(1-\frac{\eta\tau}{1-\gamma}\right)\left\|\ln(\pi^*_{\diamond,\tau})-\ln(\pi_0)\right\|_\infty C = Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π 0 ∞ + 2 τ ( 1 − 1 − γ η τ ) ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∞ .
Inexact Setting
At iteration k ≥ 0 k \ge0 k ≥ 0 , the inexact entropy-regularized NPG update Cen et al. [ [7 ] is given by:
π k + 1 ( ⋅ ∣ s ) ∝ ( π k ( ⋅ ∣ s ) ) 1 − η τ 1 − γ exp ( η Q ^ ⋄ , τ π k ( s , ⋅ ) 1 − γ ) (114) \pi_{k+1}(\cdot|s) \propto\left(\pi_k(\cdot|s)\right)^{1-\frac{\eta\tau}{1-\gamma}} \exp\left(\frac{\eta\widehat{Q}_{\diamond,\tau}^{\pi_k}(s,\cdot)}{1-\gamma}\right) \tag*{(114)} π k + 1 ( ⋅ ∣ s ) ∝ ( π k ( ⋅ ∣ s ) ) 1 − 1 − γ η τ exp ( 1 − γ η Q ⋄ , τ π k ( s , ⋅ ) ) (114)
where Q ^ ⋄ , τ π k ∈ R S A \widehat{Q}_{\diamond,\tau}^{\pi_k} \in\mathbb{R}^{SA} Q ⋄ , τ π k ∈ R S A is the estimated soft Q-function of policy π k \pi_k π k .
Lemma 5. For any pseudo-reward ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U > 0 U > 0 , assuming that sup k ≥ 0 ∥ Q ^ ⋄ , τ π k − Q ⋄ , τ π k ∥ ∞ ≤ E \sup_{k\ge0}\left\|\widehat{Q}_{\diamond,\tau}^{\pi_k}-Q_{\diamond,\tau}^{\pi_k}\right\|_\infty\le\mathcal{E} sup k ≥ 0 Q ⋄ , τ π k − Q ⋄ , τ π k ∞ ≤ E , the inexact E-NPG update in Equation (5) with τ > 0 \tau> 0 τ > 0 , η ≤ 1 − γ τ \eta\le\frac{1-\gamma}{\tau} η ≤ τ 1 − γ results in the following convergence: for K ≥ 0 K \ge0 K ≥ 0
∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∥ ∞ ≤ γ [ ( 1 − η τ ) K C + E ] \left\|Q_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}-Q_{\diamond,\tau}^{\pi_{K+1}}\right\|_\infty\le\gamma\left[(1-\eta\tau)^K C+\mathcal{E}\right] Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π K + 1 ∞ ≤ γ [ ( 1 − η τ ) K C + E ] ∥ ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∥ ∞ ≤ 2 τ [ ( 1 − η τ ) K C + E ] \left\|\ln(\pi^*_{\diamond,\tau})-\ln(\pi_{K+1})\right\|_\infty\le\frac{2}{\tau}\left[(1-\eta\tau)^K C+\mathcal{E}\right] ln ( π ⋄ , τ ∗ ) − ln ( π K + 1 ) ∞ ≤ τ 2 [ ( 1 − η τ ) K C + E ] V ⋄ , τ π ⋄ , τ ∗ ( ρ ) − V ⋄ , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ C ( 1 − η τ ) K + E ] V_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}(\rho)-V_{\diamond,\tau}^{\pi_{K+1}}(\rho) \le(2+\gamma)\left[C(1-\eta\tau)^K+\mathcal{E}\right] V ⋄ , τ π ⋄ , τ ∗ ( ρ ) − V ⋄ , τ π K + 1 ( ρ ) ≤ ( 2 + γ ) [ C ( 1 − η τ ) K + E ] where π ⋄ , τ ∗ : = arg max π V ⋄ , τ π ( ρ ) \pi^*_{\diamond,\tau} := \arg\max_\pi V_{\diamond,\tau}^{\pi}(\rho) π ⋄ , τ ∗ := arg max π V ⋄ , τ π ( ρ ) , C : = ∥ Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π 0 ∥ ∞ + 2 τ ( 1 − η τ 1 − γ ) ∥ ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∥ ∞ C := \left\|Q_{\diamond,\tau}^{\pi^*_{\diamond,\tau}}-Q_{\diamond,\tau}^{\pi_0}\right\|_\infty+ 2\tau\left(1-\frac{\eta\tau}{1-\gamma}\right)\left\|\ln(\pi^*_{\diamond,\tau})-\ln(\pi_0)\right\|_\infty C := Q ⋄ , τ π ⋄ , τ ∗ − Q ⋄ , τ π 0 ∞ + 2 τ ( 1 − 1 − γ η τ ) ln ( π ⋄ , τ ∗ ) − ln ( π 0 ) ∞ and E : = 2 E 1 − γ ( 1 + γ η τ ) \mathcal{E} := \frac{2\mathcal{E}}{1-\gamma}\left(1+\frac{\gamma}{\eta\tau}\right) E := 1 − γ 2 E ( 1 + η τ γ ) .
External Results
For completeness, we provide external results below.
Proposition 1. For any λ ∈ R + m \lambda\in\mathbb{R}^{m}_{+} λ ∈ R + m and entropy regularization parameter τ > 0 \tau> 0 τ > 0 , the dual function D τ ( λ ) D_\tau(\lambda) D τ ( λ ) in Equation (2) is differentiable such that ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] ,
[ ∇ D τ ( λ ) ] i : = V c i , τ π λ , τ ∗ ( ρ ) − b i ; π λ , τ ∗ : = arg max π L τ ( π , λ ) [\nabla D_\tau(\lambda)]_i := V_{c_i,\tau}^{\pi^*_{\lambda,\tau}}(\rho)-b_i \ ; \quad\pi^*_{\lambda,\tau}:=\arg\max_\pi L_\tau(\pi,\lambda) [ ∇ D τ ( λ ) ] i := V c i , τ π λ , τ ∗ ( ρ ) − b i ; π λ , τ ∗ := arg π max L τ ( π , λ )
Proof. A proof of this fact may be found in [42 Proposition 3.6] .
Lemma 24. [14 Lemma 3.1] The function H ( μ π ) = − ∑ s , a μ π ( s , a ) ln ( μ π ( s , a ) ∑ a ′ ∈ A μ π ( s , a ′ ) ) H(\mu^\pi)=-\sum_{s,a}\mu^\pi(s,a)\ln\left(\frac{\mu^\pi(s,a)}{\sum_{a'\in A}\mu^\pi(s,a')}\right) H ( μ π ) = − ∑ s , a μ π ( s , a ) ln ( ∑ a ′ ∈ A μ π ( s , a ′ ) μ π ( s , a ) ) is strictly concave. Moreover for all π \pi π and its corresponding unnormalized state-action occupancy measure μ π \mu^\pi μ π , we have H ( π , ρ ) = H ( μ π ) H(\pi,\rho)=H(\mu^\pi) H ( π , ρ ) = H ( μ π ) .
Lemma 25. Under Assumption 1, strong duality holds for Problem 2, i.e.,
max π min λ ∈ R m L τ ( π , λ ) = min λ ∈ R m max π L τ ( π , λ ) \max_{\pi}\min_{\lambda\in\mathbb{R}^m} L_\tau(\pi,\lambda)=\min_{\lambda\in\mathbb{R}^m}\max_{\pi}L_\tau(\pi,\lambda) π max λ ∈ R m min L τ ( π , λ ) = λ ∈ R m min π max L τ ( π , λ )
Proof. A proof is provided in [38 Theorem 1] . We provide an alternative proof using state-action occupancy measures.
For this, we define Pr π [ s h = s , a h = a ∣ s 0 ] \Pr^\pi[s_h=s,a_h=a\mid s_0] Pr π [ s h = s , a h = a ∣ s 0 ] as the probability of visiting state s s s and taking action a a a at step h h h when starting at the initial state s 0 s_0 s 0 and the unnormalized state-action occupancy measure μ π ( s , a ) : = ∑ s 0 ρ ( s 0 ) ∑ h = 0 ∞ γ h Pr π [ s h = s , a h = a ∣ s 0 ] \mu^\pi(s,a):=\sum_{s_0}\rho(s_0)\sum_{h=0}^{\infty}\gamma^h\Pr^\pi[s_h=s,a_h=a\mid s_0] μ π ( s , a ) := ∑ s 0 ρ ( s 0 ) ∑ h = 0 ∞ γ h Pr π [ s h = s , a h = a ∣ s 0 ] . Note for any μ π \mu^\pi μ π , there exists a unique one-to-one mapping between μ π \mu^\pi μ π and π \pi π :
π ( a ∣ s ) = μ π ( s , a ) ∑ a ′ ∈ A μ π ( s , a ′ ) ∀ ( s , a ) ∈ S × A . (115) \pi(a\mid s)=\frac{\mu^\pi(s,a)}{\sum_{a'\in A}\mu^\pi(s,a')}\quad\forall(s,a)\in S\times A. \tag*{(115)} π ( a ∣ s ) = ∑ a ′ ∈ A μ π ( s , a ′ ) μ π ( s , a ) ∀ ( s , a ) ∈ S × A . (115)
Consequently, the objective can be expressed directly in terms of the occupancy measure μ π \mu^\pi μ π , i.e., V r π ( ρ ) = ⟨ μ π , r ⟩ V_r^\pi(\rho)=\langle\mu^\pi,r\rangle V r π ( ρ ) = ⟨ μ π , r ⟩ , and V c i π ( ρ ) = ⟨ μ π , c i ⟩ V_{c_i}^\pi(\rho)=\langle\mu^\pi,c_i\rangle V c i π ( ρ ) = ⟨ μ π , c i ⟩ for each constraint i ∈ [ m ] i\in[m] i ∈ [ m ] . Additionally, by Lemma 24, the entropy regularizer admits the equivalent form:
H ( π , ρ ) = H ( μ π ) : = − ∑ s , a μ π ( s , a ) log μ π ( s , a ) ∑ a ′ ∈ A μ π ( s , a ′ ) . H(\pi,\rho)=H(\mu^\pi):=-\sum_{s,a}\mu^\pi(s,a)\log\frac{\mu^\pi(s,a)}{\sum_{a'\in A}\mu^\pi(s,a')}. H ( π , ρ ) = H ( μ π ) := − s , a ∑ μ π ( s , a ) log ∑ a ′ ∈ A μ π ( s , a ′ ) μ π ( s , a ) .
and that H ( μ π ) H(\mu^\pi) H ( μ π ) is concave w.r.t μ π \mu^\pi μ π . Hence, Problem 2 is equivalent to the following optimization problem over occupancy measures Altman [ [2 ] :
max μ π ∈ K ⟨ μ π , r ⟩ + τ H ( μ π ) s.t. ⟨ μ π , c i ⟩ ≥ b i ∀ i ∈ [ m ] , (116) \max_{\mu^\pi\in\mathcal{K}}\ \langle\mu^\pi,r\rangle+\tau H(\mu^\pi)\quad\text{s.t.}\quad\langle\mu^\pi,c_i\rangle\ge b_i\quad\forall i\in[m], \tag*{(116)} μ π ∈ K max ⟨ μ π , r ⟩ + τ H ( μ π ) s.t. ⟨ μ π , c i ⟩ ≥ b i ∀ i ∈ [ m ] , (116)
where
K : = { μ π ∈ R + S A ∣ ∀ s ′ ∈ S , ∑ a ′ ∈ A μ π ( s ′ , a ′ ) = ρ ( s ′ ) + γ ∑ s ∈ S ∑ a ∈ A P ( s ′ ∣ s , a ) μ π ( s , a ) } \mathcal{K}:=\left\{\mu^\pi\in\mathbb{R}^{SA}_+\mid\forall s'\in S,\ \sum_{a'\in A}\mu^\pi(s',a')=\rho(s')+\gamma\sum_{s\in S}\sum_{a\in A}\mathcal{P}(s'\mid s,a)\mu^\pi(s,a)\right\} K := { μ π ∈ R + S A ∣ ∀ s ′ ∈ S , a ′ ∈ A ∑ μ π ( s ′ , a ′ ) = ρ ( s ′ ) + γ s ∈ S ∑ a ∈ A ∑ P ( s ′ ∣ s , a ) μ π ( s , a ) }
represents the set of all feasible state-action occupancy measures μ π \mu^\pi μ π satisfying the Bellman flow constraints. As a result (116) is a concave maximization problem over a convex set with linear constraints.
By Assumption 1, there exists a policy π ˉ \bar{\pi} π ˉ such that
V c i π ˉ ( ρ ) > b i , ∀ i ∈ [ m ] , V_{c_i}^{\bar{\pi}}(\rho)>b_i,\quad\forall i\in[m], V c i π ˉ ( ρ ) > b i , ∀ i ∈ [ m ] ,
Using the one-to-one mapping between π \pi π and μ π \mu^\pi μ π in (115) , the state-action occupancy measure μ π ˉ \mu^{\bar{\pi}} μ π ˉ satisfies
⟨ μ π ˉ , c i ⟩ > b i , ∀ i ∈ [ m ] . \langle\mu^{\bar{\pi}},c_i\rangle>b_i,\quad\forall i\in[m]. ⟨ μ π ˉ , c i ⟩ > b i , ∀ i ∈ [ m ] .
which implies that Slater’s condition holds for (116) Hence, strong duality holds [4 Section 5.2.3] , i.e.,
max μ π min λ ∈ R m F τ ( μ π , λ ) = min λ ∈ R m max μ π F τ ( μ π , λ ) \max_{\mu^\pi}\min_{\lambda\in\mathbb{R}^m}F_\tau(\mu^\pi,\lambda)=\min_{\lambda\in\mathbb{R}^m}\max_{\mu^\pi}F_\tau(\mu^\pi,\lambda) μ π max λ ∈ R m min F τ ( μ π , λ ) = λ ∈ R m min μ π max F τ ( μ π , λ )
where F τ ( μ π , λ ) : = ⟨ μ π , r ⟩ + τ H ( μ π ) + ∑ i = 1 m λ i [ ⟨ μ π , c i ⟩ − b i ] F_\tau(\mu^\pi,\lambda):=\langle\mu^\pi,r\rangle+\tau H(\mu^\pi)+\sum_{i=1}^{m}\lambda_i[\langle\mu^\pi,c_i\rangle-b_i] F τ ( μ π , λ ) := ⟨ μ π , r ⟩ + τ H ( μ π ) + ∑ i = 1 m λ i [⟨ μ π , c i ⟩ − b i ] is the Lagrangian of (116) . Finally, using the one-to-one correspondence between μ π \mu^\pi μ π and π \pi π in (115) , we have for any μ π \mu^\pi μ π and λ \lambda λ that
F τ ( μ π , λ ) = L τ ( π , λ ) , F_\tau(\mu^\pi,\lambda)=L_\tau(\pi,\lambda), F τ ( μ π , λ ) = L τ ( π , λ ) ,
yielding
max π min λ ∈ R + m L τ ( π , λ ) = min λ ∈ R + m max π L τ ( π , λ ) , \max_{\pi}\min_{\lambda\in\mathbb{R}_{+}^{m}} \mathcal{L}_{\tau}(\pi,\lambda)=\min_{\lambda\in\mathbb{R}_{+}^{m}}\max_{\pi}\mathcal{L}_{\tau}(\pi,\lambda), π max λ ∈ R + m min L τ ( π , λ ) = λ ∈ R + m min π max L τ ( π , λ ) ,
which completes the proof.
Lemma 26. [[27 Lemma 26] For any bounded pseudo-reward function ⋄ ∈ [ 0 , U ] S A \diamond\in[0,U]^{SA} ⋄ ∈ [ 0 , U ] S A , U > 0 U > 0 U > 0 and τ > 0 \tau> 0 τ > 0 , let π ′ : = arg max π V ⋄ , τ π ( ρ ) \pi^{\prime}:=\arg\max_{\pi}V_{\diamond,\tau}^{\pi}(\rho) π ′ := arg max π V ⋄ , τ π ( ρ ) . Then for any policy π \pi π ,
V ⋄ , τ π ′ ( ρ ) − V ⋄ , τ π ( ρ ) = τ 1 − γ ∑ s ∈ S d π ( ρ ) KL ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s ) ) . V_{\diamond,\tau}^{\pi^{\prime}}(\rho)-V_{\diamond,\tau}^{\pi}(\rho)=\frac{\tau}{1-\gamma}\sum_{s\in\mathcal{S}}d^{\pi}(\rho)\operatorname{KL}(\pi(\cdot|s)\Vert\pi^{\prime}(\cdot|s)). V ⋄ , τ π ′ ( ρ ) − V ⋄ , τ π ( ρ ) = 1 − γ τ s ∈ S ∑ d π ( ρ ) KL ( π ( ⋅ ∣ s ) ∥ π ′ ( ⋅ ∣ s )) .
Lemma 27 (Hoeffding’s Lemma). Let X X X be any real-valued random variable, almost surely, such that a ≤ X ≤ b a \le X \le b a ≤ X ≤ b , then for any y ∈ R y \in\mathbb{R} y ∈ R ,
E [ exp ( y ( X − E [ X ] ) ) ] ≤ exp ( y 2 ( b − a ) 2 8 ) . \mathbb{E}[\exp(y(X-\mathbb{E}[X]))]\le\exp\left(\frac{y^{2}(b-a)^{2}}{8}\right). E [ exp ( y ( X − E [ X ]))] ≤ exp ( 8 y 2 ( b − a ) 2 ) .