Introduction
Policy gradient methods (PG) are a family of reinforcement learning algorithms ([42 ] ) that are particularly suited for large-scale decision and control problems. Recent applications of PG algorithms range from video games ([45 ] ), to robotics ([38 ] ), to large language models ([29 , 2 ] ), where fine-tuning of the LLM with these methods shows a concrete application within the current conversational artificial intelligence boom, and the potential impact of accelerated versions of these methods. In fact, the widespread adoption of these methods is still limited by their need for a huge amount of training data, meaning very long training times in the case of cyber-physical systems or massive computational resources in the case of virtual systems. This motivates the study of the sample complexity of PG from a theoretical perspective ([1 ] ) and the development of accelerated algorithms from a practical one.
The sample complexity of policy gradient algorithms can be measured in terms of the number of interaction episodes, or samples , required to find an ϵ \epsilon ϵ -stationary point ([31 ] ). More formally, if Θ ⊆ R d \Theta\subseteq\mathbb{R}^{d} Θ ⊆ R d is a space of policy parameters and J : Θ → R J : \Theta\to\mathbb{R} J : Θ → R is an objective function measuring the performance of a policy, the goal is to find a θ ∈ Θ \theta\in\Theta θ ∈ Θ such that
∥ ∇ θ J ( θ ) ∥ ≤ ϵ , \lVert\nabla_{\theta} J(\theta) \rVert\le\epsilon, ∥ ∇ θ J ( θ )∥ ≤ ϵ ,
using as few samples as possible, or at least with a number of samples that is polynomial in ϵ − 1 \epsilon^{-1} ϵ − 1 and all relevant problem-dependent quantities. Alternatively, under stronger assumptions, one can study the number of samples necessary to find a globally optimal policy ([26 ] ). However, since J J J can be nonconvex, convergence to a local optimum is the best one can hope for in full generality. In this paper, we will focus on convergence to ϵ \epsilon ϵ -first-order-stationary points (ϵ \epsilon ϵ -FOSP). Furthermore, we will restrict our attention to policy gradient algorithms that use first-order information only, which are typically more computationally efficient [15 ] .
The prototypical policy gradient algorithm is REINFORCE [44 ] and its sample complexity is O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) . This simply follows from the sample complexity of stochastic gradient descent [9 , 43 ] , but the details were only worked out recently (see, e.g., Yuan et al, [51 ] ). Variants of REINFORCE based on stochastic variance reduction, a technique originally developed for finite-sum optimization [20 ] , can obtain a better sample complexity. The first algorithm to break the ϵ − 4 \epsilon^{-4} ϵ − 4 barrier was SVRPG [31 ] , for which Xu et al [46 ] proved O ( ϵ − 10 / 3 ) O(\epsilon^{-10/3}) O ( ϵ − 10/3 ) sample complexity. A further improvement was achieved by SRVR-PG [47 ] , with a sample complexity of O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) . This is commonly believed to be optimal (e.g., Yuan et al, [50 ] ) due to a lower bound for the related setting of nonconvex stochastic optimization [5 ] , although the latter is not directly comparable with policy optimization. Several other algorithms followed: STORM-PG [50 ] , PAGE-PG [16 ] , and others [34 , 18 ] , all with O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity. Modest empirical improvements over REINFORCE were also observed in these works.
However, all these algorithms employ importance weights to keep the variance-reduced gradient unbiased, an issue specific to RL [31 ] , which is absent in stochastic optimization. Their sample complexity upper bounds rely on an unrealistic assumption on the variance of the importance weights, which can be infinite in practically relevant cases [52 ] . Notable exceptions are algorithms based on second-order information [41 , 15 ] , and TSIVR-PG by Zhang et al [52 ] . The latter could remove the unrealistic assumption (while still using importance weights) by truncating the gradients. However, their O ~ ( ϵ − 3 ) \widetilde{O}(\epsilon^{-3}) O ( ϵ − 3 ) upper bound only holds for softmax policy parametrizations, which are impractical for continuous action spaces. More recently Fatkhullin et al [15 ] proposed an accelerated policy gradient algorithm that uses neither importance weighting nor second-order information. However, its sample complexity to find an ϵ \epsilon ϵ -FOSP is O ( ϵ − 3.5 ) O(\epsilon^{-3.5}) O ( ϵ − 3.5 ) . It is then only natural to ask the following question:
Can policy gradient algorithms achieve O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity to find an ϵ \epsilon ϵ -FOSP, using first-order information only and without any assumption on the variance of importance weights?
In this paper, we answer positively by designing a variance-reduced policy gradient algorithm based on defensive importance sampling [30 ] , a variant of importance weighting with naturally bounded variance. Although we build on existing variance-reduced policy gradient algorithms [16 ] , in particular, we are the first to introduce to this line of work the defensive importance sampling technique, which overcomes in a very natural way a major limitation of existing algorithms. Fully exploiting this method poses two main challenges. The first is to design and analyze a defensive sampling scheme within the context of policy gradient learning. The second, more technical, is a characterization of the continuity of the variance of the defensive importance weights, as boundedness alone is not enough to prove the sample complexity upper bound (Lemma 4).
Moreover, we establish lower bounds in a generalized black-box policy-optimization model where the learner observes rewards and policy scores but not states or actions, and where the reward mechanism may depend explicitly on the queried policy parameter. In this model, the optimal rates are Θ ( ϵ − 4 ) \Theta(\epsilon^{-4}) Θ ( ϵ − 4 ) with bounded-variance one-policy feedback and Θ ( ϵ − 3 ) \Theta(\epsilon^{-3}) Θ ( ϵ − 3 ) with mean-square-smooth coupled two-policy feedback. Under standard policy-regularity conditions, REINFORCE and DEF-PG realize the corresponding oracle conditions and attain the O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) and O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) upper bounds, respectively. Although the lower bounds do not apply directly to the classical observed-trajectory MDP model, this correspondence provides oracle-level evidence that the faster rate of DEF-PG reflects a genuine improvement over that of REINFORCE.
Preliminaries
Notation.
For a measurable space X \mathcal{X} X , we denote by Δ X \Delta_{\mathcal{X}} Δ X the set of probability measures over X \mathcal{X} X . We denote by Δ m \Delta_m Δ m the probability simplex over m m m outcomes. We denote by χ 2 ( P ∥ Q ) \chi^2(P\Vert Q) χ 2 ( P ∥ Q ) the chi-square divergence between distributions P P P and Q Q Q .
In this section, we introduce the basics of policy optimization, off-policy gradient estimation, and the key assumptions that will be used in our study of sample complexity.
Policy optimization.
We consider independent episodes of interaction, of indefinite length, between an agent and an environment. In each timestep h = 0 , 1 , … h = 0, 1, \ldots h = 0 , 1 , … of an episode, the agent observes a state S h S_h S h , performs an action A h A_h A h , and receives a reward R h + 1 R_{h+1} R h + 1 . We model this as a discounted Markov decision problem [35 ] , that is a 6-tuple ( S , A , P , R , μ 0 , γ ) (\mathcal{S}, \mathcal{A}, P, R, \mu_0, \gamma) ( S , A , P , R , μ 0 , γ ) . Here S \mathcal{S} S is a state space, which is either very large or continuous; A \mathcal{A} A is an action space, which may be discrete or continuous; P : S × A → Δ S P : \mathcal{S} \times\mathcal{A} \to\Delta_{\mathcal{S}} P : S × A → Δ S is a transition probability kernel, such that p ( s ′ ∣ s , a ) = P ( S h + 1 = s ′ ∣ S h = s , A h = a ) p(s' \mid s, a) = \mathbb{P}(S_{h+1} = s' \mid S_h = s, A_h = a) p ( s ′ ∣ s , a ) = P ( S h + 1 = s ′ ∣ S h = s , A h = a ) (or the corresponding probability density); R : S × A → R R : \mathcal{S} \times\mathcal{A} \to\mathbb{R} R : S × A → R is a reward function, such that R h + 1 = R ( S h , A h ) R_{h+1} = R(S_h, A_h) R h + 1 = R ( S h , A h ) ; γ ∈ [ 0 , 1 ) \gamma\in[0, 1) γ ∈ [ 0 , 1 ) is a discount factor; and μ 0 ∈ Δ S \mu_0 \in\Delta_{\mathcal{S}} μ 0 ∈ Δ S is the initial state distribution, such that μ 0 ( s ) = P ( S 0 = s ) \mu_0(s) = \mathbb{P}(S_0 = s) μ 0 ( s ) = P ( S 0 = s ) (or the corresponding probability density).
We consider an episodic learning process in which the agent commits, at the beginning of each episode, to a Markovian stationary stochastic policy π : S → Δ A \pi: \mathcal{S} \to\Delta_{\mathcal{A}} π : S → Δ A , with π ( a ∣ s ) = P ( A h = a ∣ S h = s ) \pi(a \mid s) = \mathbb{P}(A_h = a \mid S_h = s) π ( a ∣ s ) = P ( A h = a ∣ S h = s ) , or the corresponding probability density. The goal is to maximize the expected discounted return:
max π J ( π ) : = E [ ∑ h ≥ 0 γ h R h + 1 ∣ π ] . \max_{\pi} J(\pi) := \mathbb{E}\left[\left.\sum_{h\geq0}\gamma^{h}R_{h+1}\right|\pi\right]. π max J ( π ) := E [ h ≥ 0 ∑ γ h R h + 1 π ] .
where the expectation is with respect to S 0 ∼ μ 0 S_0 \sim\mu_0 S 0 ∼ μ 0 , A h ∼ π ( ⋅ ∣ S h ) A_h \sim\pi(\cdot|S_h) A h ∼ π ( ⋅ ∣ S h ) , and S h + 1 ∼ P ( ⋅ ∣ S h , A h ) S_{h+1} \sim P(\cdot|S_h,A_h) S h + 1 ∼ P ( ⋅ ∣ S h , A h ) .
In particular, we restrict our attention to parametric policies with parameter space Θ = R d \Theta= \mathbb{R}^{d} Θ = R d . The corresponding policy space is Π Θ = { π θ ∣ θ ∈ Θ } \Pi_{\Theta} = \{\pi_{\theta}\mid\theta\in\Theta\} Π Θ = { π θ ∣ θ ∈ Θ } , where each policy is parametrized by an element of Θ \Theta Θ . Throughout, we tacitly assume the standard regularity conditions for likelihood-ratio policy-gradient methods [43 ] , including parameter-independent common support and conditions permitting differentiation under the relevant trajectory integrals and discounted sums. The policy-optimization problem can then be written, with slight abuse of notation, as
max θ ∈ Θ J ( θ ) : = J ( π θ ) . \max_{\theta\in\Theta}J(\theta):=J(\pi_{\theta}). θ ∈ Θ max J ( θ ) := J ( π θ ) .
In the following, J J J will always denote the parametric objective function, that is, J : Θ → R J:\Theta\to\mathbb{R} J : Θ → R . We call it the performance function . Whenever ∣ R ( s , a ) ∣ ≤ R max |R(s,a)|\leq R_{\max} ∣ R ( s , a ) ∣ ≤ R m a x , it satisfies ∣ J ( θ ) ∣ ≤ R max / ( 1 − γ ) |J(\theta)|\leq R_{\max}/(1-\gamma) ∣ J ( θ ) ∣ ≤ R m a x / ( 1 − γ ) for all θ ∈ Θ \theta\in\Theta θ ∈ Θ .
In general, J J J is nonconvex, but it has the structure of an expectation under the trajectory distribution induced by the policy.
We henceforth let p ( ⋅ ∣ θ ) p(\cdot\mid\theta) p ( ⋅ ∣ θ ) denote the distribution of the stopped trajectory τ = ( S 0 , A 0 , R 1 , … , S H γ − 1 , A H γ − 1 , R H γ , S H γ ) \tau= (S_0, A_0, R_1, \ldots, S_{H_\gamma-1}, A_{H_\gamma-1}, R_{H_\gamma}, S_{H_\gamma}) τ = ( S 0 , A 0 , R 1 , … , S H γ − 1 , A H γ − 1 , R H γ , S H γ ) , and define its undiscounted stopped return by
R ( τ ) = ∑ h = 0 H γ − 1 R h + 1 . R(\tau) = \sum_{h=0}^{H_\gamma-1} R_{h+1}. R ( τ ) = h = 0 ∑ H γ − 1 R h + 1 .
Since the stopping rule is independent of the trajectory,
E τ ∼ p ( ⋅ ∣ θ ) [ R ( τ ) ] = E [ ∑ h ≥ 0 γ h R h + 1 ∣ π θ ] = J ( θ ) . \mathbb{E}_{\tau\sim p(\cdot\mid\theta)}[R(\tau)] = \mathbb{E}\left[\left.\sum_{h \ge0} \gamma^h R_{h+1}\right| \pi_\theta\right] = J(\theta). E τ ∼ p ( ⋅ ∣ θ ) [ R ( τ )] = E [ h ≥ 0 ∑ γ h R h + 1 π θ ] = J ( θ ) .
Thus, geometric stopping introduces no approximation or truncation bias. It also introduces no additional dependence on ϵ \epsilon ϵ . If individual environment transitions are counted instead of trajectories, each oracle call has expected cost ( 1 − γ ) − 1 (1-\gamma)^{-1} ( 1 − γ ) − 1 .
The performance function can therefore be written as
J ( θ ) = E τ ∼ p ( ⋅ ∣ θ ) [ R ( τ ) ] . J(\theta) = \mathbb{E}_{\tau\sim p(\cdot\mid\theta)}[R(\tau)]. J ( θ ) = E τ ∼ p ( ⋅ ∣ θ ) [ R ( τ )] .
The stopped return is a fixed function of the trajectory and depends on θ \theta θ only through the trajectory distribution p ( ⋅ ∣ θ ) p(\cdot\mid\theta) p ( ⋅ ∣ θ ) . Both R R R and the mapping θ ↦ p ( ⋅ ∣ θ ) \theta\mapsto p(\cdot\mid\theta) θ ↦ p ( ⋅ ∣ θ ) are unknown to the agent.
We are interested in algorithms that run a sequence of policies π θ 1 , π θ 2 , … \pi_{\theta_1}, \pi_{\theta_2}, \ldots π θ 1 , π θ 2 , … , each for one or more independent episodes, collecting datasets of trajectories D 1 , D 2 , … D_1, D_2, \ldots D 1 , D 2 , … , where D k = { τ 1 k , … , τ n k k } D_k = \{\tau_1^k, \ldots, \tau_{n_k}^k\} D k = { τ 1 k , … , τ n k k } is a dataset of n k n_k n k independent trajectories such that τ i k ∼ p ( ⋅ ∣ θ k ) \tau_i^k \sim p(\cdot\mid\theta_k) τ i k ∼ p ( ⋅ ∣ θ k ) , with the aim of maximizing the unknown performance function J J J from the collected data. Policy gradient algorithms [44 ] do this via stochastic gradient ascent:
θ k + 1 = θ k + η ∇ ^ J ( θ k ) . \theta_{k+1} = \theta_k + \eta\widehat{\nabla} J(\theta_k). θ k + 1 = θ k + η ∇ J ( θ k ) .
where η > 0 \eta> 0 η > 0 is a step size and ∇ ^ J ( θ ) \widehat{\nabla}J(\theta) ∇ J ( θ ) is an estimate of the gradient ∇ θ J ( θ ) \nabla_{\theta}J(\theta) ∇ θ J ( θ ) of the performance function. In the following, we will omit the θ \theta θ subscript since gradients are always with respect to the policy parameters. The simplest policy gradient algorithm is REINFORCE (Williams, [44 ] ), which we present here in its refined version for Markov decision processes, known as GPOMDP (Baxter and Bartlett, [8 ] ). Here ∇ ^ J ( θ k ) \widehat{\nabla}J(\theta_k) ∇ J ( θ k ) is computed from the batch of trajectories D k \mathcal{D}_k D k collected with π θ k \pi_{\theta_k} π θ k as follows
∇ ^ J ( θ k ) = 1 n k ∑ i = 1 n k g ( θ k , τ i ) , g ( θ , τ ) = ∑ h = 0 H − 1 ( ∑ ℓ = 0 h ∇ log π θ ( A ℓ ∣ S ℓ ) ) R h + 1 , (1) \begin{aligned}
\widehat{\nabla}J(\theta_k) &= \frac{1}{n_k}\sum_{i=1}^{n_k}g(\theta_k,\tau_i),\\
g(\theta,\tau) &= \sum_{h=0}^{H-1}\left(\sum_{\ell=0}^{h}\nabla\log\pi_\theta(A_\ell\mid S_\ell)\right)R_{h+1}, \tag*{(1)}
\end{aligned} ∇ J ( θ k ) g ( θ , τ ) = n k 1 i = 1 ∑ n k g ( θ k , τ i ) , = h = 0 ∑ H − 1 ( ℓ = 0 ∑ h ∇ log π θ ( A ℓ ∣ S ℓ ) ) R h + 1 , (1)
where the mapping θ ↦ π θ \theta\mapsto\pi_\theta θ ↦ π θ is assumed to be differentiable with respect to θ \theta θ . The GPOMDP gradient estimator is unbiased, that is, E τ ∼ p ( ⋅ ∣ θ ) [ g ( θ , τ ) ] = ∇ J ( θ ) \mathbb{E}_{\tau\sim p(\cdot\mid\theta)}[g(\theta,\tau)]=\nabla J(\theta) E τ ∼ p ( ⋅ ∣ θ ) [ g ( θ , τ )] = ∇ J ( θ ) , and the same holds for ∇ ^ J ( θ ) \widehat{\nabla}J(\theta) ∇ J ( θ ) since the trajectories are independent. Note how, for this to be true, the sample trajectory must be collected with the same policy parameters of which we are estimating the gradient. This is on-policy gradient estimation. Moreover, under standard assumptions on the policy class, the variance of the GPOMDP estimator is bounded ([53 , 32 ] ), albeit infamously large. Common refinements of GPOMDP are variance-reducing baselines (Peters and Schaal, [33 ] ) and actor-critic algorithms ([7 , 22 , 43 ] ), but we will stick to the simple expression from Equation (1) in our theoretical treatment.
Off-policy policy gradient.
Off-policy gradient estimation is also possible (Degris et al, [12 ] ). If τ ∼ p ( ⋅ ∣ θ ′ ) \tau\sim p(\cdot\mid\theta') τ ∼ p ( ⋅ ∣ θ ′ ) is collected with a different policy π θ ′ \pi_{\theta'} π θ ′ , an unbiased estimator of ∇ J ( θ ) \nabla J(\theta) ∇ J ( θ ) is:
g ~ ( θ , τ ) = p ( τ ∣ θ ) p ( τ ∣ θ ′ ) g ( θ , τ ) . \widetilde{g}(\theta,\tau)=\frac{p(\tau\mid\theta)}{p(\tau\mid\theta')}g(\theta,\tau). g ( θ , τ ) = p ( τ ∣ θ ′ ) p ( τ ∣ θ ) g ( θ , τ ) .
Note that g ( θ , τ ) g(\theta,\tau) g ( θ , τ ) is not an unbiased estimator for ∇ J ( θ ) \nabla J(\theta) ∇ J ( θ ) in this case since τ \tau τ is collected with a different policy π θ ′ \pi_{\theta'} π θ ′ . However, it is easy to see that the ratio p ( τ ∣ θ ) / p ( τ ∣ θ ′ ) p(\tau\mid\theta)/p(\tau\mid\theta') p ( τ ∣ θ ) / p ( τ ∣ θ ′ ) ensures E τ ∼ p ( ⋅ ∣ θ ′ ) [ g ~ ( θ , τ ) ] = ∇ J ( θ ) \mathbb{E}_{\tau\sim p(\cdot\mid\theta')}[\tilde{g}(\theta,\tau)]=\nabla J(\theta) E τ ∼ p ( ⋅ ∣ θ ′ ) [ g ~ ( θ , τ )] = ∇ J ( θ ) . This is called importance weighting . The importance weight is usually easy to compute: since the reward R h + 1 R_{h+1} R h + 1 and the next-state S h + 1 S_{h+1} S h + 1 are independent of θ \theta θ conditionally on the action A h A_h A h , the importance weight for τ ∼ p ( ⋅ ∣ θ ′ ) \tau\sim p(\cdot\mid\theta') τ ∼ p ( ⋅ ∣ θ ′ ) is simply:1
p ( τ ∣ θ ) p ( τ ∣ θ ′ ) = ∏ h = 0 H γ − 1 π θ ( A h ∣ S h ) π θ ′ ( A h ∣ S h ) = : ω ( θ , τ ) . \frac{p(\tau\mid\theta)}{p(\tau\mid\theta')}=\prod_{h=0}^{H_\gamma-1}\frac{\pi_\theta(A_h\mid S_h)}{\pi_{\theta'}(A_h\mid S_h)}=:\omega(\theta,\tau). p ( τ ∣ θ ′ ) p ( τ ∣ θ ) = h = 0 ∏ H γ − 1 π θ ′ ( A h ∣ S h ) π θ ( A h ∣ S h ) =: ω ( θ , τ ) .
Of course, when θ = θ ′ \theta=\theta' θ = θ ′ , ω ( θ , τ ) = 1 \omega(\theta,\tau)=1 ω ( θ , τ ) = 1 for any τ ∼ p ( ⋅ ∣ θ ) \tau\sim p(\cdot\mid\theta) τ ∼ p ( ⋅ ∣ θ ) and we recover the on-policy case. Unfortunately, the variance of the off-policy estimator is not bounded in general since the variance of importance weights can be infinite even for simple policy classes ([27 , 52 ] ). It is still possible to characterize the variance of importance weights in terms of the chi-square divergence ([10 ] ):
Var τ ∼ p ( ⋅ ∣ θ ′ ) [ ω ( θ , τ ) ] = ∫ T p ( τ ∣ θ ) 2 p ( τ ∣ θ ′ ) d τ − 1 = χ 2 ( p ( ⋅ ∣ θ ) ∥ p ( ⋅ ∣ θ ′ ) ) , \operatorname{Var}_{\tau\sim p(\cdot\mid\theta')}[\omega(\theta,\tau)]=\int_{\mathcal{T}}\frac{p(\tau\mid\theta)^2}{p(\tau\mid\theta')}\,\mathrm{d}\tau-1=\chi^2(p(\cdot\mid\theta)\mathbin{\|}p(\cdot\mid\theta')), Var τ ∼ p ( ⋅ ∣ θ ′ ) [ ω ( θ , τ )] = ∫ T p ( τ ∣ θ ′ ) p ( τ ∣ θ ) 2 d τ − 1 = χ 2 ( p ( ⋅ ∣ θ ) ∥ p ( ⋅ ∣ θ ′ )) ,
where T \mathcal{T} T denotes the set of feasible trajectories. However, the chi-square divergence is unbounded in general, and it is even larger than the Kullback–Leibler divergence that appears more frequently in the policy optimization literature ([40 ] ). For this reason, most works on the sample complexity of policy gradient ([31 , 47 , 50 , 16 ] ) resort to the following strong assumption, a uniform upper bound on the variance of the importance weights:
Assumption 0. There exists a finite constant W > 0 W>0 W > 0 such that
sup θ 1 , θ 2 ∈ Θ Var τ ∼ p ( ⋅ ∣ θ 2 ) [ ω ( θ 1 , τ ) ] ≤ W . \sup_{\theta_1,\theta_2\in\Theta}\operatorname{Var}_{\tau\sim p(\cdot\mid\theta_2)}[\omega(\theta_1,\tau)]\le W. θ 1 , θ 2 ∈ Θ sup Var τ ∼ p ( ⋅ ∣ θ 2 ) [ ω ( θ 1 , τ )] ≤ W .
As discussed by Zhang et al [52 ] , this assumption can fail even for simple policy classes, as illustrated by Example 1 below.
Example 1. Consider a one-step MDP and a class of one-dimensional Gaussian policies with constant mean, where θ ∈ R \theta\in\mathbb{R} θ ∈ R parametrizes the standard deviation as σ θ = e θ \sigma_\theta= e^\theta σ θ = e θ . For θ 1 ≠ θ 2 \theta_1 \ne\theta_2 θ 1 = θ 2 , using the relation between the chi-square divergence and the variance of the importance weights together with the closed-form expression for Gaussian distributions [17 ] , we obtain
Var τ ∼ p ( ⋅ ∣ θ 2 ) [ ω ( θ 1 , τ ) ] = σ θ 2 2 σ θ 1 2 σ θ 2 2 − σ θ 1 2 − 1 , \operatorname{Var}_{\tau\sim p(\cdot\mid\theta_2)}[\omega(\theta_1,\tau)] = \frac{\sigma_{\theta_2}^2}{\sigma_{\theta_1}\sqrt{2\sigma_{\theta_2}^2-\sigma_{\theta_1}^2}} - 1, Var τ ∼ p ( ⋅ ∣ θ 2 ) [ ω ( θ 1 , τ )] = σ θ 1 2 σ θ 2 2 − σ θ 1 2 σ θ 2 2 − 1 , when 2 σ θ 2 2 − σ θ 1 2 > 0 2\sigma_{\theta_2}^2-\sigma_{\theta_1}^2 > 0 2 σ θ 2 2 − σ θ 1 2 > 0 ; otherwise, the variance is infinite. Thus, it suffices to select the target parameter θ 1 \theta_1 θ 1 such that:
2 e 2 θ 2 − e 2 θ 1 ≤ 0 ⟹ θ 1 ≥ θ 2 + log 2 , 2e^{2\theta_2}-e^{2\theta_1} \le0 \Longrightarrow\theta_1 \ge\theta_2 + \log\sqrt{2}, 2 e 2 θ 2 − e 2 θ 1 ≤ 0 ⟹ θ 1 ≥ θ 2 + log 2 , to make the variance infinite. We remark that this result holds for every θ 2 ∈ R \theta_2 \in\mathbb{R} θ 2 ∈ R , i.e., we do not need to send the Gaussian standard deviation to zero to make the variance of the importance weights diverge.
Policy-gradient oracle models.
We now abstract away from the particular construction of policy-gradient estimators and isolate the properties of stochastic first-order feedback that determine the attainable sample-complexity rate. We consider two forms of feedback for maximizing a smooth performance function: a bounded-variance one-policy oracle, which captures vanilla policy gradient, and a coupled two-policy oracle, which captures the correlation exploited by variance-reduced methods. Smoothness of the objective is characterized as follows.
Assumption 1 (Smooth performance). The performance function is L L L -smooth, that is, for all θ , θ ′ ∈ Θ \theta,\theta' \in\Theta θ , θ ′ ∈ Θ ,
∥ ∇ J ( θ ) − ∇ J ( θ ′ ) ∥ ≤ L ∥ θ − θ ′ ∥ . \lVert\nabla J(\theta) - \nabla J(\theta') \rVert\le L \lVert\theta- \theta' \rVert. ∥ ∇ J ( θ ) − ∇ J ( θ ′ )∥ ≤ L ∥ θ − θ ′ ∥ .
The one-policy oracle returns an unbiased gradient estimate at a single queried policy.
Assumption 2 (Bounded-variance one-policy oracle). When queried at θ \theta θ , the oracle O B V \mathcal{O}_{\mathrm{BV}} O BV returns a random vector g ^ ( θ ; ζ ) \hat{g}(\theta;\zeta) g ^ ( θ ; ζ ) satisfying
E [ g ^ ( θ ; ζ ) ∣ θ ] = ∇ J ( θ ) \mathbb{E}[\hat{g}(\theta;\zeta) \mid\theta] = \nabla J(\theta) E [ g ^ ( θ ; ζ ) ∣ θ ] = ∇ J ( θ ) and
E [ ∥ g ^ ( θ ; ζ ) − ∇ J ( θ ) ∥ 2 ∣ θ ] ≤ ν 2 . \mathbb{E}\left[\lVert\hat{g}(\theta;\zeta) - \nabla J(\theta) \rVert^2 \mid\theta\right] \le\nu^2. E [ ∥ g ^ ( θ ; ζ ) − ∇ J ( θ ) ∥ 2 ∣ θ ] ≤ ν 2 . Different oracle calls use independent internal randomness conditionally on the queried parameters.
Variance-reduced methods require stronger feedback: two unbiased estimates sharing randomness whose difference becomes small when the queried parameters are close. This property need not hold for two independent calls to O B V \mathcal{O}_{\mathrm{BV}} O BV .
Assumption 3 (Mean-square-smooth coupled two-policy oracle). In addition to the one-policy oracle of Assumption 2, the learner can query a pair ( θ , θ ′ ) (\theta,\theta') ( θ , θ ′ ) . The oracle O M S S \mathcal{O}_{\mathrm{MSS}} O MSS returns two coupled random vectors
( g ^ 1 ( θ , θ ′ ; ζ ) , g ^ 2 ( θ , θ ′ ; ζ ) ) , \left(\hat{g}_1(\theta,\theta';\zeta),\hat{g}_2(\theta,\theta';\zeta)\right), ( g ^ 1 ( θ , θ ′ ; ζ ) , g ^ 2 ( θ , θ ′ ; ζ ) ) , such that
E [ g ^ 1 ( θ , θ ′ ; ζ ) ∣ θ , θ ′ ] = ∇ J ( θ ) , E [ g ^ 2 ( θ , θ ′ ; ζ ) ∣ θ , θ ′ ] = ∇ J ( θ ′ ) , \mathbb{E}[\hat{g}_1(\theta,\theta';\zeta)\mid\theta,\theta'] = \nabla J(\theta), \qquad\mathbb{E}[\hat{g}_2(\theta,\theta';\zeta)\mid\theta,\theta'] = \nabla J(\theta'), E [ g ^ 1 ( θ , θ ′ ; ζ ) ∣ θ , θ ′ ] = ∇ J ( θ ) , E [ g ^ 2 ( θ , θ ′ ; ζ ) ∣ θ , θ ′ ] = ∇ J ( θ ′ ) ,
and
E [ ∥ g ^ 1 ( θ , θ ′ ; ζ ) − g ^ 2 ( θ , θ ′ ; ζ ) ∥ 2 | θ , θ ′ ] ≤ L p a i r 2 ∥ θ − θ ′ ∥ 2 . \mathbb{E}\left[\left\|\hat{g}_1(\theta,\theta';\zeta)-\hat{g}_2(\theta,\theta';\zeta)\right\|^2 \,\middle|\, \theta,\theta'\right] \leq L_{\mathrm{pair}}^2\left\|\theta-\theta'\right\|^2 . E [ ∥ g ^ 1 ( θ , θ ′ ; ζ ) − g ^ 2 ( θ , θ ′ ; ζ ) ∥ 2 θ , θ ′ ] ≤ L pair 2 ∥ θ − θ ′ ∥ 2 .
The two outputs within a coupled call need not be independent. Different coupled calls use independent internal randomness conditionally on the queried parameters.
We count one call to O B V \mathcal{O}_{\mathrm{BV}} O BV as one one-policy oracle call and one call to O M S S \mathcal{O}_{\mathrm{MSS}} O MSS as one coupled two-policy oracle call. In the defensive importance-sampling realization introduced below, a single trajectory produces both coupled outputs, so one call of either type costs one trajectory.
Algorithm
In this section, we present our modified policy gradient algorithm. Like SVRPG (Papini et al. [31 ] ) and its successors (Xu et al. [47 ] ; Yuan et al. [50 ] ; Gargiani et al. [16 ] ), our algorithm is based on the technique of stochastic variance reduction from finite-sum optimization (Roux et al. [37 ] ; Johnson and Zhang [20 ] ). The idea of stochastic variance-reduction is to alternate between “full gradient” and “stochastic gradient” updates. In the context of machine learning (Lei and Jordan [23 ] ), a full gradient is a gradient estimate computed from a large batch of data, and a stochastic gradient is computed from a smaller batch or a single sample. The full gradient estimate is more precise and allows more stable updates, but has a larger impact on the sample complexity. The key idea is to combine infrequent full gradient estimates with frequent stochastic gradients, using the former to stabilize the latter.
As a concrete example, consider the modified gradient estimator used by the PAGE algorithm (Li et al. [25 ] ):
v t = { 1 N ∑ i = 1 N g ( x t , z i ) with probability p , 1 B ∑ i = 1 B g ( x t , z i ) + v t − 1 − 1 B ∑ i = 1 B g ( x t − 1 , z i ) with probability 1 − p , (2) v_t =
\begin{cases}
\frac{1}{N}\sum_{i=1}^{N} g(x_t,z_i) & \text{with probability } p,\\
\frac{1}{B}\sum_{i=1}^{B} g(x_t,z_i)+v_{t-1}-\frac{1}{B}\sum_{i=1}^{B}g(x_{t-1},z_i) & \text{with probability } 1-p,
\end{cases} \tag*{(2)} v t = { N 1 ∑ i = 1 N g ( x t , z i ) B 1 ∑ i = 1 B g ( x t , z i ) + v t − 1 − B 1 ∑ i = 1 B g ( x t − 1 , z i ) with probability p , with probability 1 − p , (2)
where the z i z_i z i are i.i.d. samples from a fixed data distribution ρ \rho ρ , the objective function is F ( x ) = E z ∼ ρ [ f ( x , z ) ] F(x) = \mathbb{E}_{z\sim\rho}[f(x,z)] F ( x ) = E z ∼ ρ [ f ( x , z )] , g g g is an unbiased gradient estimator, E z ∼ ρ [ g ( x , z ) ] = ∇ x F ( x ) \mathbb{E}_{z\sim\rho}[g(x,z)] = \nabla_x F(x) E z ∼ ρ [ g ( x , z )] = ∇ x F ( x ) , B ≪ N B \ll N B ≪ N , 0 < p ≪ 1 0 < p \ll1 0 < p ≪ 1 , and v 0 = 1 N ∑ i = 1 N g ( x 0 , z i ) v_0 = \frac{1}{N}\sum_{i=1}^{N}g(x_0,z_i) v 0 = N 1 ∑ i = 1 N g ( x 0 , z i ) , using an independent initial batch.
Since p p p is small, the full gradient is computed infrequently. In most iterations, instead, it is combined, in a recursive fashion, with a stochastic gradient computed from a smaller number of samples. The negative term in Equation (2) is a correction term , which is fundamental to control the bias-variance tradeoff.
Applying this and similar techniques to policy optimization comes with an additional challenge that is peculiar to RL, as observed by Papini et al [31 ] : distribution shift . Here, the trajectories are not sampled from a fixed distribution, but from p ( ⋅ ∣ θ t ) p(\cdot\mid\theta_t) p ( ⋅ ∣ θ t ) , the induced trajectory distribution, which changes with time and is itself a function of the optimization variable θ \theta θ . So far, this issue has been bypassed by applying importance weighting to the correction term, at the cost of unrealistically assuming a uniform upper bound (Assumption 0) on the variance of the importance weights [52 ] . For example, the modified policy gradient estimator for PAGE-PG [16 ] is:
v t = { 1 N ∑ i = 1 N g ( θ t , τ i ) prob. p 1 B ∑ i = 1 B g ( θ t , τ i ) + v t − 1 − 1 B ∑ i = 1 B ω ( θ t − 1 , τ i ) g ( θ t − 1 , τ i ) prob. 1 − p , v_t =
\begin{cases}
\frac{1}{N}\sum_{i=1}^{N}g(\theta_t,\tau_i) & \text{prob. }p \\
\frac{1}{B}\sum_{i=1}^{B}g(\theta_t,\tau_i) + v_{t-1} - \frac{1}{B}\sum_{i=1}^{B}\omega(\theta_{t-1},\tau_i)g(\theta_{t-1},\tau_i) & \text{prob. }1-p,
\end{cases} v t = { N 1 ∑ i = 1 N g ( θ t , τ i ) B 1 ∑ i = 1 B g ( θ t , τ i ) + v t − 1 − B 1 ∑ i = 1 B ω ( θ t − 1 , τ i ) g ( θ t − 1 , τ i ) prob. p prob. 1 − p ,
where g g g is the REINFORCE or the GPOMDP estimator and the trajectories τ i \tau_i τ i are always sampled from p ( ⋅ ∣ θ t ) p(\cdot\mid\theta_t) p ( ⋅ ∣ θ t ) by running the current policy π θ t \pi_{\theta_t} π θ t . Note how the importance weight is needed because the correction term is an off-policy estimate of the policy gradient of θ t − 1 \theta_{t-1} θ t − 1 using trajectories from a different policy θ t \theta_t θ t . We refer to the former as the target policy and to the latter as the behavior policy .
Our key observation to avoid Assumption 0 is the following: although this use of importance weighting is common in offline RL [24 ] , where data from the target policy is not accessible, we find ourselves in a situation where obtaining data from the target policy is actually very easy. Indeed, the target policy with parameters θ t − 1 \theta_{t-1} θ t − 1 is just an older policy we ran in the previous iteration. This allows us to use defensive importance sampling [30 ] , a special kind of mixture importance sampling that guarantees that the variance of the importance weights is always bounded.
In mixture importance sampling, to estimate f ˉ = E z ∼ p [ f ( z ) ] \bar{f} = \mathbb{E}_{z \sim p}[f(z)] f ˉ = E z ∼ p [ f ( z )] for p ∈ Δ Z p \in\Delta_{\mathcal{Z}} p ∈ Δ Z and f : Z → R f : \mathcal{Z} \to\mathbb{R} f : Z → R , we draw n n n samples Z 1 , … , Z n Z_1, \ldots, Z_n Z 1 , … , Z n from the mixture distribution q α = ∑ j = 1 m α j q j q_\alpha= \sum_{j=1}^{m} \alpha_j q_j q α = ∑ j = 1 m α j q j , where { q 1 , … , q m } \{q_1, \ldots, q_m\} { q 1 , … , q m } is a set of m m m distributions in Δ Z \Delta_{\mathcal{Z}} Δ Z , and α ∈ Δ m \alpha\in\Delta_m α ∈ Δ m is a vector of convex-combination coefficients. The mean f ˉ \bar{f} f ˉ is estimated as:
f ^ = 1 n ∑ i = 1 n p ( Z i ) ∑ j = 1 m α j q j ( Z i ) f ( Z i ) . \hat{f} = \frac{1}{n} \sum_{i=1}^{n} \frac{p(Z_i)}{\sum_{j=1}^{m} \alpha_j q_j(Z_i)} f(Z_i). f ^ = n 1 i = 1 ∑ n ∑ j = 1 m α j q j ( Z i ) p ( Z i ) f ( Z i ) .
It is easy to see that this estimate is unbiased. Defensive importance sampling is a special case where the mixture distribution is simply:
q α ( x ) = α p ( x ) + ( 1 − α ) q ( x ) , q_\alpha(x) = \alpha p(x) + (1-\alpha)q(x), q α ( x ) = α p ( x ) + ( 1 − α ) q ( x ) ,
for some scalar α ∈ [ 0 , 1 ] \alpha\in[0,1] α ∈ [ 0 , 1 ] . Note that it recovers vanilla importance sampling for α = 0 \alpha= 0 α = 0 , and Monte Carlo estimation for α = 1 \alpha= 1 α = 1 . Most importantly, for every α ∈ ( 0 , 1 ] \alpha\in(0,1] α ∈ ( 0 , 1 ] ,
Var z ∼ q α [ p ( z ) q α ( z ) ] ≤ 1 − α α . \operatorname{Var}_{z \sim q_\alpha}\left[\frac{p(z)}{q_\alpha(z)}\right] \le\frac{1-\alpha}{\alpha}. Var z ∼ q α [ q α ( z ) p ( z ) ] ≤ α 1 − α .
We will refer to α \alpha α as the defensive parameter: the larger the α \alpha α , the smaller the variance of the importance weights p ( z ) / q α ( z ) p(z)/q_\alpha(z) p ( z ) / q α ( z ) , and call the estimator “α \alpha α -defensive”.
To separate the PAGE recursion from the construction of its policy-gradient estimates, we proceed in two steps. First, we formulate an oracle-level algorithm,
Algorithm 1 COUPLED-PAGE
Input: initial parameter θ 0 \theta_0 θ 0 , large batch size N N N , small batch size B B B , step size η > 0 \eta> 0 η > 0 , refresh probability p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) , number of iterations T T T
for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do
Query O B V \mathcal{O}_{\mathrm{BV}} O BV at θ 0 \theta_0 θ 0 and receive g ^ 0 i \hat{g}_0^i g ^ 0 i
end for
v 0 ← 1 N ∑ i = 1 N g ^ 0 i v_0 \leftarrow\frac{1}{N}\sum_{i=1}^{N}\hat{g}_0^i v 0 ← N 1 ∑ i = 1 N g ^ 0 i
for t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 do
θ t + 1 ← θ t + η v t \theta_{t+1} \leftarrow\theta_t + \eta v_t θ t + 1 ← θ t + η v t
if a Bernoulli(p p p ) draw equals 1 then ▷ Large-batch refresh
for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do
Query O B V \mathcal{O}_{\mathrm{BV}} O BV at θ t + 1 \theta_{t+1} θ t + 1 and receive g ^ t + 1 i \hat{g}_{t+1}^i g ^ t + 1 i
end for
v t + 1 ← 1 N ∑ i = 1 N g ^ t + 1 i v_{t+1} \leftarrow\frac{1}{N}\sum_{i=1}^{N}\hat{g}_{t+1}^i v t + 1 ← N 1 ∑ i = 1 N g ^ t + 1 i
else ▷ Coupled recursive update
for i = 1 , … , B i = 1,\ldots,B i = 1 , … , B do
Query O M S S \mathcal{O}_{\mathrm{MSS}} O MSS at ( θ t + 1 , θ t ) (\theta_{t+1},\theta_t) ( θ t + 1 , θ t ) and receive ( g ^ t + 1 i , g ^ t i ) (\hat{g}_{t+1}^i,\hat{g}_t^i) ( g ^ t + 1 i , g ^ t i )
end for
v t + 1 ← v t + 1 B ∑ i = 1 B ( g ^ t + 1 i − g ^ t i ) v_{t+1} \leftarrow v_t + \frac{1}{B}\sum_{i=1}^{B}(\hat{g}_{t+1}^i-\hat{g}_t^i) v t + 1 ← v t + B 1 ∑ i = 1 B ( g ^ t + 1 i − g ^ t i )
end if
end for
Output: θ O U T \theta_{\mathrm{OUT}} θ OUT chosen uniformly from { θ t } t = 0 T − 1 \{\theta_t\}_{t=0}^{T-1} { θ t } t = 0 T − 1
COUPLED-PAGE (Algorithm 1): large-batch refreshes use the bounded-variance one-policy oracle O B V \mathcal{O}_{\mathrm{BV}} O BV , while recursive updates use the coupled two-policy oracle O M S S \mathcal{O}_{\mathrm{MSS}} O MSS . We then instantiate these oracles using the GPOMDP estimator and defensive importance sampling, obtaining DEF-PG (Algorithm 2). A call to O B V \mathcal{O}_{\mathrm{BV}} O BV at θ \theta θ samples a stopped trajectory τ ∼ p ( ⋅ ∣ θ ) \tau\sim p(\cdot\mid\theta) τ ∼ p ( ⋅ ∣ θ ) and returns the GPOMDP estimate g ( θ , τ ) g(\theta,\tau) g ( θ , τ ) . For a coupled call at ( θ , θ ′ ) (\theta,\theta') ( θ , θ ′ ) , define q α , θ , θ ′ ( τ ) : = α p ( τ ∣ θ ) + ( 1 − α ) p ( τ ∣ θ ′ ) q_{\alpha,\theta,\theta'}(\tau) := \alpha p(\tau\mid\theta) + (1-\alpha)p(\tau\mid\theta') q α , θ , θ ′ ( τ ) := α p ( τ ∣ θ ) + ( 1 − α ) p ( τ ∣ θ ′ ) , and the defensive weights
ω α ( θ , θ ′ ; τ ) : = p ( τ ∣ θ ) q α , θ , θ ′ ( τ ) = 1 α + ( 1 − α ) p ( τ ∣ θ ′ ) p ( τ ∣ θ ) . (3) \omega_{\alpha}(\theta,\theta';\tau) := \frac{p(\tau\mid\theta)}{q_{\alpha,\theta,\theta'}(\tau)} = \frac{1}{\alpha+ (1-\alpha)\frac{p(\tau\mid\theta')}{p(\tau\mid\theta)}} . \tag*{(3)} ω α ( θ , θ ′ ; τ ) := q α , θ , θ ′ ( τ ) p ( τ ∣ θ ) = α + ( 1 − α ) p ( τ ∣ θ ) p ( τ ∣ θ ′ ) 1 . (3)
ω α ′ ( θ , θ ′ ; τ ) : = p ( τ ∣ θ ′ ) q α , θ , θ ′ ( τ ) = 1 α p ( τ ∣ θ ) p ( τ ∣ θ ′ ) + 1 − α . (4) \omega'_{\alpha}(\theta,\theta';\tau) := \frac{p(\tau\mid\theta')}{q_{\alpha,\theta,\theta'}(\tau)} = \frac{1}{\alpha\frac{p(\tau\mid\theta)}{p(\tau\mid\theta')} + 1-\alpha}. \tag*{(4)} ω α ′ ( θ , θ ′ ; τ ) := q α , θ , θ ′ ( τ ) p ( τ ∣ θ ′ ) = α p ( τ ∣ θ ′ ) p ( τ ∣ θ ) + 1 − α 1 . (4)
Algorithm 2 DEF-PG
1: Input: initial parameter θ 0 \theta_0 θ 0 , large batch size N N N , small batch size B B B , step size η > 0 \eta> 0 η > 0 , refresh probability p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) , defensive parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , number of iterations T T T 2: for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do 3: Sample τ ˉ i ∼ p ( ⋅ ∣ θ 0 ) \bar{\tau}_i \sim p(\cdot\mid\theta_0) τ ˉ i ∼ p ( ⋅ ∣ θ 0 ) 4: end for 5: v 0 ← 1 N ∑ i = 1 N g ( θ 0 , τ ˉ i ) v_0 \leftarrow\frac{1}{N}\sum_{i=1}^{N}g(\theta_0,\bar{\tau}_i) v 0 ← N 1 ∑ i = 1 N g ( θ 0 , τ ˉ i ) 6: for t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 do 7: θ t + 1 ← θ t + η v t \theta_{t+1} \leftarrow\theta_t + \eta v_t θ t + 1 ← θ t + η v t 8: if a Bernoulli(p p p ) draw equals 1 then ▷ Large-batch refresh 9: for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do 10: Sample τ ˉ i ∼ p ( ⋅ ∣ θ t + 1 ) \bar{\tau}_i \sim p(\cdot\mid\theta_{t+1}) τ ˉ i ∼ p ( ⋅ ∣ θ t + 1 ) 11: end for 12: v t + 1 ← 1 N ∑ i = 1 N g ( θ t + 1 , τ ˉ i ) v_{t+1} \leftarrow\frac{1}{N}\sum_{i=1}^{N}g(\theta_{t+1},\bar{\tau}_i) v t + 1 ← N 1 ∑ i = 1 N g ( θ t + 1 , τ ˉ i ) 13: else ▷ Defensive recursive update 14: for i = 1 , … , B i = 1,\ldots,B i = 1 , … , B do 15: Draw C i ∼ Bernoulli ( α ) C_i \sim\operatorname{Bernoulli}(\alpha) C i ∼ Bernoulli ( α ) 16: if C i = 1 C_i = 1 C i = 1 then 17: Sample τ i ∼ p ( ⋅ ∣ θ t + 1 ) \tau_i \sim p(\cdot\mid\theta_{t+1}) τ i ∼ p ( ⋅ ∣ θ t + 1 ) 18: else 19: Sample τ i ∼ p ( ⋅ ∣ θ t ) \tau_i \sim p(\cdot\mid\theta_t) τ i ∼ p ( ⋅ ∣ θ t ) 20: end if 21: ω t + 1 , i ← ω α ( θ t + 1 , θ t ; τ i ) \omega_{t+1,i} \leftarrow\omega_{\alpha}(\theta_{t+1},\theta_t;\tau_i) ω t + 1 , i ← ω α ( θ t + 1 , θ t ; τ i ) ▷ Equation (3) 22: ω t , i ← ω α ′ ( θ t + 1 , θ t ; τ i ) \omega_{t,i} \leftarrow\omega'_{\alpha}(\theta_{t+1},\theta_t;\tau_i) ω t , i ← ω α ′ ( θ t + 1 , θ t ; τ i ) ▷ Equation (4) 23: end for 24: v t + 1 ← v t + 1 B ∑ i = 1 B [ ω t + 1 , i g ( θ t + 1 , τ i ) − ω t , i g ( θ t , τ i ) ] v_{t+1} \leftarrow v_t + \frac{1}{B}\sum_{i=1}^{B}\left[\omega_{t+1,i}g(\theta_{t+1},\tau_i)-\omega_{t,i}g(\theta_t,\tau_i)\right] v t + 1 ← v t + B 1 ∑ i = 1 B [ ω t + 1 , i g ( θ t + 1 , τ i ) − ω t , i g ( θ t , τ i ) ] 25: end if 26: end for 27: Output: θ O U T \theta_{\mathrm{OUT}} θ OUT chosen uniformly from { θ t } t = 0 T − 1 \{\theta_t\}_{t=0}^{T-1} { θ t } t = 0 T − 1
A trajectory from q α , θ , θ ′ q_{\alpha,\theta,\theta'} q α , θ , θ ′ is generated by running π θ \pi_{\theta} π θ with probability α \alpha α and π θ ′ \pi_{\theta'} π θ ′ with probability 1 − α 1-\alpha 1 − α . The likelihood ratios in Equations (3) –(4) are finite products of policy ratios by Remark 1.
Algorithms 1 and 2 have the same recursion. In DEF-PG, every on-policy GPOMDP sample realizes one call to O B V \mathcal{O}_{\mathrm{BV}} O BV , while every trajectory sampled from the defensive mixture produces the coupled pair ( ω t + 1 , i g ( θ t + 1 , τ i ) , ω t , i g ( θ t , τ i ) ) (\omega_{t+1,i}g(\theta_{t+1},\tau_i),\omega_{t,i}g(\theta_t,\tau_i)) ( ω t + 1 , i g ( θ t + 1 , τ i ) , ω t , i g ( θ t , τ i )) . Proposition 2 verifies Assumption 2 for the first type of call, and Lemma 4 verifies Assumption 3 for the second. Consequently, DEF-PG is a concrete implementation of Coupled-PAGE, with one stopped trajectory per oracle call.
Sample Complexity Upper Bounds
In this section, we first recall the O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) sample-complexity upper bound under the smoothness and bounded-variance one-policy oracle assumptions, and then establish an O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) upper bound for Coupled-PAGE under the coupled oracle assumptions. We subsequently give concrete conditions under which the GPOMDP estimator realizes the one-policy oracle and defensive importance sampling realizes the coupled oracle, yielding the corresponding guarantees for GPOMDP and DEF-PG. Throughout this section, let J ⋆ : = sup θ ∈ Θ J ( θ ) J^\star:= \sup_{\theta\in\Theta} J(\theta) J ⋆ := sup θ ∈ Θ J ( θ ) and Δ : = J ⋆ − J ( θ 0 ) \Delta:= J^\star- J(\theta_0) Δ := J ⋆ − J ( θ 0 ) , and assume that Δ < + ∞ \Delta< +\infty Δ < + ∞ .
Vanilla policy gradient.
We begin with a standard oracle-level upper bound for stochastic gradient ascent. The result closely parallels the policy-gradient analysis of Yuan et al [51 ] . We include a short proof in Appendix § 8 .§ 1 since our formulation uses the bounded-variance oracle directly and does not involve a finite-horizon approximation.
Proposition 1 (One-policy oracle upper bound). *Suppose that Assumptions 1 and 2 hold, and let Δ : = J ⋆ − J ( θ 0 ) < + ∞ \Delta:= J^\star- J(\theta_0) < +\infty Δ := J ⋆ − J ( θ 0 ) < + ∞ . Then mini-batch stochastic gradient ascent using independent calls to O B V \mathcal{O}_{\mathrm{BV}} O BV finds a parameter θ O U T \theta_{\mathrm{OUT}} θ OUT satisfying E [ ∥ ∇ J ( θ O U T ) ∥ ] ≤ ϵ \mathbb{E}[\lVert\nabla J(\theta_{\mathrm{OUT}})\rVert] \le\epsilon E [∥ ∇ J ( θ OUT )∥] ≤ ϵ using
O ( Δ L ϵ 2 + Δ L ν 2 ϵ 4 ) O\left(\frac{\Delta L}{\epsilon^2}+\frac{\Delta L\nu^2}{\epsilon^4}\right) O ( ϵ 2 Δ L + ϵ 4 Δ L ν 2 ) one-policy oracle calls.*
We then provide two standard conditions that allow us to realize the bounded-variance one-policy oracle using the GPOMDP estimator.
Assumption 4 (Bounded rewards). The per-step rewards are uniformly bounded: there exists R max < + ∞ R_{\max} < +\infty R m a x < + ∞ such that ∣ R ( s , a ) ∣ ≤ R max \lvert R(s,a)\rvert\le R_{\max} ∣ R ( s , a )∣ ≤ R m a x for all s ∈ S s \in\mathcal{S} s ∈ S and a ∈ A a \in\mathcal{A} a ∈ A .
Assumption 5 (Bounded score second moment). The policy class admits a finite constant c 1 > 0 c_1 > 0 c 1 > 0 such that, for every θ ∈ Θ \theta\in\Theta θ ∈ Θ ,
sup s ∈ S E a ∼ π θ ( ⋅ ∣ s ) [ ∥ ∇ log π θ ( a ∣ s ) ∥ 2 ] ≤ c 1 2 . \sup_{s \in\mathcal{S}} \mathbb{E}_{a \sim\pi_\theta(\cdot\mid s)}\left[\left\lVert\nabla\log\pi_\theta(a \mid s) \right\rVert^2\right] \le c_1^2. s ∈ S sup E a ∼ π θ ( ⋅ ∣ s ) [ ∥ ∇ log π θ ( a ∣ s ) ∥ 2 ] ≤ c 1 2 .
At the oracle level, the O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) upper bound only requires Assumptions 1 and 2, together with a finite initial gap. Under Assumptions 4 and 5, the GPOMDP estimator satisfies this oracle condition.
Proposition 2 (Variance of the geometrically stopped GPOMDP estimator, cf. Papini et al, [32 ] , Lemma 29. Proof provided in Appendix § 8 .§ 1 ). Under Assumptions 4 and 5, for every θ ∈ Θ \theta\in\Theta θ ∈ Θ ,
E τ ∼ p ( ⋅ ∣ θ ) [ ∥ g ( θ , τ ) − ∇ J ( θ ) ∥ 2 ] ≤ 8 c 1 2 R max 2 ( 1 − γ ) 3 = : ν 2 . \mathbb{E}_{\tau\sim p(\cdot\mid\theta)}\left[\left\lVert g(\theta,\tau) - \nabla J(\theta) \right\rVert^2\right] \le\frac{8c_1^2 R_{\max}^2}{(1-\gamma)^3} =: \nu^2. E τ ∼ p ( ⋅ ∣ θ ) [ ∥ g ( θ , τ ) − ∇ J ( θ ) ∥ 2 ] ≤ ( 1 − γ ) 3 8 c 1 2 R m a x 2 =: ν 2 .
Consequently, the GPOMDP estimator defines an instance of the one-policy oracle O B V \mathcal{O}_{\mathrm{BV}} O BV , with variance parameter ν 2 \nu^2 ν 2 as given above. Then, the sample complexity of GPOMDP can be bounded as follows.
Proposition 3 (Sample complexity of GPOMDP). Under Assumptions 1, 4, and 5, the following total number of trajectories is sufficient for GPOMDP to output an ϵ \epsilon ϵ -FOSP in expectation, that is, E [ ∥ ∇ J ( θ O U T ) ∥ ] ≤ ϵ \mathbb{E}[\lVert\nabla J(\theta_{\mathrm{OUT}})\rVert] \le\epsilon E [∥ ∇ J ( θ OUT )∥] ≤ ϵ :
N T O T = O ( Δ L ϵ 2 + Δ L ν 2 ϵ 4 ) = O ( ϵ − 4 ) , N_{\mathrm{TOT}} = O\left(\frac{\Delta_L}{\epsilon^2} + \frac{\Delta_L \nu^2}{\epsilon^4}\right) = O(\epsilon^{-4}), N TOT = O ( ϵ 2 Δ L + ϵ 4 Δ L ν 2 ) = O ( ϵ − 4 ) , where ν 2 \nu^2 ν 2 is the constant from Proposition 2.
Proof. Proposition 2 shows that the geometrically stopped GPOMDP estimator satisfies Assumption 2 with variance parameter ν 2 \nu^2 ν 2 . The result therefore follows directly from Proposition 1.
This recovers, for the geometrically stopped formulation, the standard O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) dependence established for vanilla policy gradient by Yuan et al. [51 ] . If one additionally has L = O ( ( 1 − γ ) − 2 ) L = O((1-\gamma)^{-2}) L = O (( 1 − γ ) − 2 ) , the preceding result yields O ( Δ ( 1 − γ ) − 2 ϵ − 2 + Δ ( 1 − γ ) − 5 ϵ − 4 ) O(\Delta(1-\gamma)^{-2}\epsilon^{-2}+\Delta(1-\gamma)^{-5}\epsilon^{-4}) O ( Δ ( 1 − γ ) − 2 ϵ − 2 + Δ ( 1 − γ ) − 5 ϵ − 4 ) trajectories. Using Δ ≤ 2 R max / ( 1 − γ ) \Delta\le2R_{\max}/(1-\gamma) Δ ≤ 2 R m a x / ( 1 − γ ) gives O ( ( 1 − γ ) − 6 ϵ − 4 ) O((1-\gamma)^{-6}\epsilon^{-4}) O (( 1 − γ ) − 6 ϵ − 4 ) trajectories.
Variance-reduced policy gradient.
Existing analyses of variance-reduced policy-gradient methods generally require uniformly bounded scores together with sufficient regularity of the scores as functions of the policy parameters. Uniform score Lipschitzness, often established through a bound on the Hessian of the log policy, is a common sufficient condition. To realize the oracle conditions required by DEF-PG, we impose the following boundedness and mean-square continuity assumption on the policy scores.
Assumption 6 (Bounded and mean-square-continuous scores). The policy class admits finite constants C 1 , L S > 0 C_1, L_S > 0 C 1 , L S > 0 such that, for every θ , θ ′ ∈ Θ \theta,\theta' \in\Theta θ , θ ′ ∈ Θ :
(i) the scores are uniformly bounded,
sup s ∈ S , a ∈ A ∥ ∇ log π θ ( a ∣ s ) ∥ ≤ C 1 ; \sup_{s\in\mathcal{S},\,a\in\mathcal{A}} \lVert\nabla\log\pi_\theta(a\mid s)\rVert\le C_1; s ∈ S , a ∈ A sup ∥ ∇ log π θ ( a ∣ s )∥ ≤ C 1 ; (ii) the scores are mean-square continuous,
sup s ∈ S E a ∼ π θ ( ⋅ ∣ s ) [ ∥ ∇ log π θ ( a ∣ s ) − ∇ log π θ ′ ( a ∣ s ) ∥ 2 ] ≤ L S 2 ∥ θ − θ ′ ∥ 2 . \sup_{s\in\mathcal{S}} \mathbb{E}_{a\sim\pi_\theta(\cdot\mid s)}\left[\left\lVert\nabla\log\pi_\theta(a\mid s)-\nabla\log\pi_{\theta'}(a\mid s)\right\rVert^2\right]\le L_S^2\lVert\theta-\theta'\rVert^2. s ∈ S sup E a ∼ π θ ( ⋅ ∣ s ) [ ∥ ∇ log π θ ( a ∣ s ) − ∇ log π θ ′ ( a ∣ s ) ∥ 2 ] ≤ L S 2 ∥ θ − θ ′ ∥ 2 .
Assumption 6 implies Assumption 5 with c 1 = C 1 c_1 = C_1 c 1 = C 1 . Hence, under bounded rewards, it also guarantees the bounded-variance one-policy oracle required for the large-batch updates of DEF-PG.
Remark 2. Assumption 6(ii) is weaker than requiring the scores to be uniformly Lipschitz for every state-action pair. In particular, a uniform bound on the spectral norm, ∥ ∇ 2 log π θ ( a ∣ s ) ∥ 2 \lVert\nabla^2 \log\pi_\theta(a \mid s)\rVert_2 ∥ ∇ 2 log π θ ( a ∣ s ) ∥ 2 , is sufficient but is not assumed. Assumption 6(i) is satisfied, for example, by softmax policies with suitably bounded logit gradients. It generally fails for Gaussian policies.
We now verify that defensive importance sampling realizes the coupled oracle of Assumption 3. For k ≥ 1 k \ge1 k ≥ 1 , let M k : = E [ H γ k ] M_k := \mathbb{E}[H_\gamma^k] M k := E [ H γ k ] , where H γ H_\gamma H γ is the geometrically distributed trajectory length introduced in Remark 1. In particular, M k = O ( ( 1 − γ ) − k ) M_k = O((1-\gamma)^{-k}) M k = O (( 1 − γ ) − k ) . For α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , also let m α : = min { α , 1 − α } m_\alpha:= \min\{\alpha,1-\alpha\} m α := min { α , 1 − α } .
Lemma 4 (Defensive coupling). Let θ 1 , θ 2 ∈ Θ \theta_1,\theta_2 \in\Theta θ 1 , θ 2 ∈ Θ and
q α ( τ ) = α p ( τ ∣ θ 1 ) + ( 1 − α ) p ( τ ∣ θ 2 ) . q_\alpha(\tau) = \alpha p(\tau\mid\theta_1) + (1-\alpha)p(\tau\mid\theta_2). q α ( τ ) = α p ( τ ∣ θ 1 ) + ( 1 − α ) p ( τ ∣ θ 2 ) . For τ ∼ q α \tau\sim q_\alpha τ ∼ q α , define
ω i ( τ ) = p ( τ ∣ θ i ) q α ( τ ) , g ^ i ( τ ) = ω i ( τ ) g ( θ i , τ ) , i ∈ { 1 , 2 } . \omega_i(\tau) = \frac{p(\tau\mid\theta_i)}{q_\alpha(\tau)}, \qquad\widehat{g}_i(\tau) = \omega_i(\tau)g(\theta_i,\tau), \qquad i \in\{1,2\}. ω i ( τ ) = q α ( τ ) p ( τ ∣ θ i ) , g i ( τ ) = ω i ( τ ) g ( θ i , τ ) , i ∈ { 1 , 2 } . Under Assumption 6, the defensive weights satisfy
V τ ∼ q α [ ω 1 ( τ ) ] ≤ ( 1 − α ) 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 , \mathbb{V}_{\tau\sim q_\alpha}[\omega_1(\tau)] \le\frac{(1-\alpha)^2 C_1^2 M_1}{2m_\alpha}\lVert\theta_1-\theta_2\rVert^2, V τ ∼ q α [ ω 1 ( τ )] ≤ 2 m α ( 1 − α ) 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 , V τ ∼ q α [ ω 2 ( τ ) ] ≤ α 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 . \mathbb{V}_{\tau\sim q_\alpha}[\omega_2(\tau)] \le\frac{\alpha^2 C_1^2 M_1}{2m_\alpha}\lVert\theta_1-\theta_2\rVert^2. V τ ∼ q α [ ω 2 ( τ )] ≤ 2 m α α 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 .
Moreover, under Assumptions 4 and 6,
E τ ∼ q α [ ∥ g ^ 1 ( τ ) − g ^ 2 ( τ ) ∥ 2 ] ≤ C α ∥ θ 1 − θ 2 ∥ 2 . \mathbb{E}_{\tau\sim q_\alpha}\left[\left\|\widehat{g}_1(\tau)-\widehat{g}_2(\tau)\right\|^2\right]\le C_\alpha\left\|\theta_1-\theta_2\right\|^2. E τ ∼ q α [ ∥ g 1 ( τ ) − g 2 ( τ ) ∥ 2 ] ≤ C α ∥ θ 1 − θ 2 ∥ 2 .
where
C α : = R max 2 m α ( C 1 4 M 5 + 2 L S 2 M 4 ) . C_\alpha:= \frac{R_{\max}^2}{m_\alpha}\left(C_1^4M_5+2L_S^2M_4\right). C α := m α R m a x 2 ( C 1 4 M 5 + 2 L S 2 M 4 ) .
Finally,
E τ ∼ q α [ g ^ i ( τ ) ] = ∇ J ( θ i ) , i ∈ { 1 , 2 } . \mathbb{E}_{\tau\sim q_\alpha}\left[\widehat{g}_i(\tau)\right]=\nabla J(\theta_i),\qquad i\in\{1,2\}. E τ ∼ q α [ g i ( τ ) ] = ∇ J ( θ i ) , i ∈ { 1 , 2 } .
Consequently, the defensive pair ( g ^ 1 , g ^ 2 ) (\widehat{g}_1,\widehat{g}_2) ( g 1 , g 2 ) realizes the coupled oracle of Assumption 3 with L p a i r 2 = C α L_{\mathrm{pair}}^2=C_\alpha L pair 2 = C α .
Lemma 4 establishes the oracle property needed by the variance-reduced update.
Its proof uses neither Assumption 0 nor bounds on second derivatives of the policy scores. Armed with this powerful technical tool, we can prove the following.
Lemma 5 (Sample complexity of Coupled-PAGE). Suppose that Assumptions 1, 2, and 3 hold, and let Δ : = J ⋆ − J ( θ 0 ) < + ∞ \Delta:= J^\star-J(\theta_0)<+\infty Δ := J ⋆ − J ( θ 0 ) < + ∞ . For a target accuracy ϵ > 0 \epsilon>0 ϵ > 0 , choose
N ≥ max { 2 , ⌈ 3 ν 2 ϵ 2 ⌉ } , 1 ≤ B ≤ N , p = 1 N , N\ge\max\left\{2,\left\lceil\frac{3\nu^2}{\epsilon^2}\right\rceil\right\},\qquad1\le B\le N,\qquad p=\frac{1}{N}, N ≥ max { 2 , ⌈ ϵ 2 3 ν 2 ⌉ } , 1 ≤ B ≤ N , p = N 1 , and
η = 1 2 ( L + L p a i r N − 1 B ) . \eta=\frac{1}{2\left(L+L_{\mathrm{pair}}\sqrt{\frac{N-1}{B}}\right)}. η = 2 ( L + L pair B N − 1 ) 1 . If
T ≥ max { N , ⌈ 6 Δ η ϵ 2 ⌉ } , T\ge\max\left\{N,\left\lceil\frac{6\Delta}{\eta\epsilon^2}\right\rceil\right\}, T ≥ max { N , ⌈ η ϵ 2 6Δ ⌉ } , then Algorithm 1 returns a parameter satisfying E [ ∥ ∇ J ( θ O U T ) ∥ ] ≤ ϵ \mathbb{E}[\|\nabla J(\theta_{\mathrm{OUT}})\|]\le\epsilon E [ ∥∇ J ( θ OUT ) ∥ ] ≤ ϵ . Its expected total number of oracle calls is at most
N + T ( p N + ( 1 − p ) B ) = N + T ( 1 + B − B N ) . N+T\left(pN+(1-p)B\right)=N+T\left(1+B-\frac{B}{N}\right). N + T ( pN + ( 1 − p ) B ) = N + T ( 1 + B − N B ) .
In particular, setting B = 1 B = 1 B = 1 gives
N T O T = O ( ν 2 ϵ 2 + Δ L ϵ 2 + Δ L p a i r ϵ 2 + Δ L p a i r ν ϵ 3 ) = O ( ϵ − 3 ) . N_{\mathrm{TOT}} = O\left(\frac{\nu^2}{\epsilon^2} + \frac{\Delta L}{\epsilon^2} + \frac{\Delta L_{\mathrm{pair}}}{\epsilon^2} + \frac{\Delta L_{\mathrm{pair}}\nu}{\epsilon^3}\right) = O(\epsilon^{-3}). N TOT = O ( ϵ 2 ν 2 + ϵ 2 Δ L + ϵ 2 Δ L pair + ϵ 3 Δ L pair ν ) = O ( ϵ − 3 ) .
Theorem 6 (Sample complexity of DEF-PG). Suppose that Assumptions 1, 4, and 6 hold. Then DEF-PG (Algorithm 2) satisfies the conclusions of Lemma 5 with
ν 2 = 8 C 1 2 R max 2 ( 1 − γ ) 3 , \nu^2 = \frac{8C_1^2R_{\max}^2}{(1-\gamma)^3}, ν 2 = ( 1 − γ ) 3 8 C 1 2 R m a x 2 , and
L p a i r 2 = C α = R max 2 min { α , 1 − α } ( C 1 4 M 5 + 2 L S 2 M 4 ) . L_{\mathrm{pair}}^2 = C_\alpha= \frac{R_{\max}^2}{\min\{\alpha,1-\alpha\}}\left(C_1^4M_5 + 2L_S^2M_4\right). L pair 2 = C α = min { α , 1 − α } R m a x 2 ( C 1 4 M 5 + 2 L S 2 M 4 ) . Consequently, DEF-PG uses O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) stopped trajectories to find an ϵ \epsilon ϵ -FOSP.
Proof. Assumption 6 implies Assumption 5 with c 1 = C 1 c_1 = C_1 c 1 = C 1 . Proposition 2 therefore verifies Assumption 2, and Lemma 4 verifies Assumption 3 for the defensive coupled samples. Applying Lemma 5 proves the result.
The above result also provides a natural choice for the defensive parameter.
Corollary 1 (Choice of the defensive parameter). Among the defensive realizations in Theorem 6, the stated upper bound is minimized by α = 1 / 2 \alpha= 1/2 α = 1/2 .
Theorem 6 matches the best known O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) first-order rate (e.g., [16 ] ), without Assumption 0 or access to second-order information. § 5 establishes, in a generalized black-box policy-optimization model, lower bounds with matching dependence on ϵ \epsilon ϵ : bounded-variance one-policy feedback yields the ϵ − 4 \epsilon^{-4} ϵ − 4 regime, whereas mean-square-smooth coupled two-policy feedback yields the ϵ − 3 \epsilon^{-3} ϵ − 3 regime. Table 1 summarizes these results and separately identifies their concrete policy-gradient realizations.
Table 1. First-order sample complexity in the two oracle regimes. The upper bounds are Proposition 1 and Lemma 5; the lower bounds are Theorems 9 and 10. Concrete assumptions are only employed in upper bounds. Assumption 0 is never needed.
Sample Complexity Lower Bounds
In this section, we prove lower bounds on the sample complexity of first-order policy optimization in a black-box model where the learner selects policy parameters and receives only reward and policy-score feedback. We distinguish between bounded-variance one-policy feedback satisfying Assumption 2 and mean-square-smooth coupled two-policy feedback satisfying Assumptions 2 and 3, obtaining lower bounds of Ω ( ϵ − 4 ) \Omega(\epsilon^{-4}) Ω ( ϵ − 4 ) and Ω ( ϵ − 3 ) \Omega(\epsilon^{-3}) Ω ( ϵ − 3 ) , respectively. These lower bounds match the dependence on ϵ \epsilon ϵ of the corresponding upper bounds under the same oracle-level assumptions. This matching is specific to the black-box feedback model and does not by itself establish lower bounds for the classical observed-trajectory MDP protocol. Nevertheless, the model captures the one-policy and coupled first-order feedback structures underlying REINFORCE and DEF-PG, so the matching rates provide evidence that their different complexities reflect a genuine distinction between these two forms of policy-gradient feedback. Our lower bounds build on the stochastic nonconvex optimization results of Arjevani et al. [5 ] . All proofs are deferred to Appendix § 9 .
Feedback models.
We first formalize the interaction model in which our lower bounds are stated and then distinguish its one-policy and coupled feedback regimes.
Definition 1 (Black-box policy-optimization model). Fix γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and a known measurable first-order decoder D \mathrm{D} D . A black-box policy-optimization instance specifies a parameter space Θ \Theta Θ , a differentiable stochastic policy class Π Θ = { π θ : θ ∈ Θ } \Pi_{\Theta} = \{\pi_{\theta} : \theta\in\Theta\} Π Θ = { π θ : θ ∈ Θ } , and a possibly parameter-dependent reward mechanism. Its performance function is
J ( θ ) : = E θ [ ∑ h = 0 ∞ γ h R h + 1 ] . J(\theta) := \mathbb{E}_{\theta}\left[\sum_{h=0}^{\infty}\gamma^{h}R_{h+1}\right]. J ( θ ) := E θ [ h = 0 ∑ ∞ γ h R h + 1 ] . We assume that J J J is well defined and differentiable and that E θ [ ∑ h ≥ 0 γ h ∣ R h + 1 ∣ ] < + ∞ \mathbb{E}_{\theta}\left[\sum_{h\geq0}\gamma^{h}|R_{h+1}|\right] < +\infty E θ [ ∑ h ≥ 0 γ h ∣ R h + 1 ∣ ] < + ∞ for every θ ∈ Θ \theta\in\Theta θ ∈ Θ .
When queried at θ \theta θ , the model internally generates hidden states and actions satisfying A h ∼ π θ ( ⋅ ∣ S h ) A_h \sim\pi_{\theta}(\cdot\mid S_h) A h ∼ π θ ( ⋅ ∣ S h ) and returns only the reward-score record
Y ( θ ; ζ ) = ( R h + 1 , S θ , h ) h ≥ 0 , S θ , h : = ∇ log π θ ( A h ∣ S h ) . \mathcal{Y}(\theta;\zeta) = (R_{h+1},S_{\theta,h})_{h\geq0}, \qquad S_{\theta,h} := \nabla\log\pi_{\theta}(A_h \mid S_h). Y ( θ ; ζ ) = ( R h + 1 , S θ , h ) h ≥ 0 , S θ , h := ∇ log π θ ( A h ∣ S h ) . The states, actions, policy densities, and internal random variables are not returned. The designated initial parameter is θ 0 = 0 \theta_0 = 0 θ 0 = 0 . The completed first-order sample associated with a record is g ^ ( θ ; ζ ) : = D ( Y ( θ ; ζ ) ) \widehat{g}(\theta;\zeta) := \mathrm{D}(\mathcal{Y}(\theta;\zeta)) g ( θ ; ζ ) := D ( Y ( θ ; ζ )) .2
The policy class in Definition 1 is genuine: the returned scores are the likelihood-ratio scores of the hidden actions actually sampled by the policy. However, the policy is available to the learner only through the black-box experiment. In particular, the learner cannot inspect the sampled actions, evaluate policy densities, or compute additional likelihood ratios.
Definition 2 (One-policy feedback). At round t t t , the learner selects a single parameter θ t \theta_t θ t , possibly as a randomized function of all previous feedback, and receives
an independent reward-score record Y ( θ t ; ζ t ) \mathcal{Y}(\theta_t; \zeta_t) Y ( θ t ; ζ t ) . The instance belongs to the bounded-variance one-policy regime if the corresponding completed first-order samples satisfy Assumption 2.
The one-policy model captures methods that obtain feedback from a single policy in each oracle call. Variance-reduced recursions additionally compare feedback at two policies using shared randomness, which motivates the following stronger interaction model.
Definition 3 (Coupled two-policy feedback). In addition to one-policy queries, the learner may select a pair ( θ t , θ t ′ ) (\theta_t, \theta'_t) ( θ t , θ t ′ ) . The model then uses common internal randomness ζ t \zeta_t ζ t to return two reward-score records Y 1 ( θ t , θ t ′ ; ζ t ) \mathcal{Y}_1(\theta_t,\theta'_t;\zeta_t) Y 1 ( θ t , θ t ′ ; ζ t ) and Y 2 ( θ t , θ t ′ ; ζ t ) \mathcal{Y}_2(\theta_t,\theta'_t;\zeta_t) Y 2 ( θ t , θ t ′ ; ζ t ) .
The marginal distribution of the first record is the same as that of a one-policy query at θ t \theta_t θ t , and the marginal distribution of the second is the same as that of a one-policy query at θ t ′ \theta'_t θ t ′ . Their associated completed samples are denoted by g ^ 1 ( θ t , θ t ′ ; ζ t ) \widehat{g}_1(\theta_t,\theta'_t;\zeta_t) g 1 ( θ t , θ t ′ ; ζ t ) and g ^ 2 ( θ t , θ t ′ ; ζ t ) \widehat{g}_2(\theta_t,\theta'_t;\zeta_t) g 2 ( θ t , θ t ′ ; ζ t ) . The instance belongs to the coupled regime if these samples satisfy Assumption 3. Different oracle calls use independent internal randomness.
One one-policy experiment counts as one one-policy oracle call, and one jointly generated pair counts as one coupled oracle call.
Remark 4. The black-box model differs from the standard observed-trajectory protocol because states and actions are hidden and the reward mechanism may depend explicitly on the queried parameter. Nevertheless, its performance function is the expected discounted return generated by that reward mechanism.
Gaussian policy realization.
Let Z ∼ P Z \sim\mathsf{P} Z ∼ P be independent of θ \theta θ , let f : Θ × Z → R f:\Theta\times\mathcal{Z} \to\mathbb{R} f : Θ × Z → R be differentiable in its first argument, and define F ( θ ) : = E [ f ( θ , Z ) ] F(\theta) := \mathbb{E}[f(\theta,Z)] F ( θ ) := E [ f ( θ , Z )] . We assume that F F F is differentiable and that, for every θ ∈ Θ \theta\in\Theta θ ∈ Θ , E Z [ ∇ f ( θ , Z ) ] = ∇ F ( θ ) \mathbb{E}_Z[\nabla f(\theta,Z)] = \nabla F(\theta) E Z [ ∇ f ( θ , Z )] = ∇ F ( θ ) .
The construction uses an active state with policy N ( f ( θ , Z ) , 1 ) \mathcal{N}(f(\theta,Z),1) N ( f ( θ , Z ) , 1 ) and reward A 0 − f ( θ , Z ) A_0 - f(\theta,Z) A 0 − f ( θ , Z ) , followed by a payment state with a parameter-independent dummy policy and reward F ( θ ) / γ F(\theta)/\gamma F ( θ ) / γ , and then by a zero-reward absorbing state. Its expected discounted return is therefore F ( θ ) F(\theta) F ( θ ) .
Proposition 7 (Gaussian reward-score realization). There exists an infinite-horizon state-dependent Gaussian policy class and a possibly parameter-dependent reward mechanism whose performance function is J ( θ ) = F ( θ ) J(\theta)=F(\theta) J ( θ ) = F ( θ ) . Its observable reward-score record is
Y ( θ ; Z , ξ ) = ( ( ξ , ξ ∇ f ( θ , Z ) ) , ( F ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , ξ ∼ N ( 0 , 1 ) . \mathcal{Y}(\theta;Z,\xi)=((\xi,\xi\nabla f(\theta,Z)),(F(\theta)/\gamma,0),(0,0),(0,0),\ldots), \qquad\xi\sim\mathcal{N}(0,1). Y ( θ ; Z , ξ ) = (( ξ , ξ ∇ f ( θ , Z )) , ( F ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , ξ ∼ N ( 0 , 1 ) . The decoder
D ( Y ) = { S θ , 0 / R 1 if R 1 ≠ 0 , 0 otherwise \mathrm{D}(\mathcal{Y})=
\begin{cases}
S_{\theta,0}/R_1 & \text{if }R_1\ne0,\\
0 & \text{otherwise}
\end{cases} D ( Y ) = { S θ , 0 / R 1 0 if R 1 = 0 , otherwise satisfies g ^ ( θ ; Z , ξ ) = ∇ f ( θ , Z ) \widehat{g}(\theta;Z,\xi)=\nabla f(\theta,Z) g ( θ ; Z , ξ ) = ∇ f ( θ , Z ) almost surely.
Proposition 7 embeds the stochastic-gradient oracle associated with f f f into the black-box policy-optimization model. We next show that this embedding also preserves the shared-seed coupling needed for variance reduction.
Proposition 8 (Coupled Gaussian reward-score realization). Suppose that the one-policy samples satisfy Assumption 2, and that, for every θ , θ ′ ∈ Θ \theta,\theta'\in\Theta θ , θ ′ ∈ Θ ,
E Z [ ∥ ∇ f ( θ , Z ) − ∇ f ( θ ′ , Z ) ∥ 2 ] ≤ ℓ 2 ∥ θ − θ ′ ∥ 2 . \mathbb{E}_{Z}\left[\left\|\nabla f(\theta,Z)-\nabla f(\theta',Z)\right\|^2\right]\le\ell^2\left\|\theta-\theta'\right\|^2. E Z [ ∥ ∇ f ( θ , Z ) − ∇ f ( θ ′ , Z ) ∥ 2 ] ≤ ℓ 2 ∥ θ − θ ′ ∥ 2 . Running two copies of Proposition 7 with the same Z Z Z and ξ \xi ξ produces decoded samples satisfying Assumption 3 with L p a i r = ℓ L_{\mathrm{pair}}=\ell L pair = ℓ .
The one-policy and coupled oracle properties of the construction follow directly from the corresponding moment conditions on ∇ f ( θ , Z ) \nabla f(\theta,Z) ∇ f ( θ , Z ) . The following corollary shows the resulting oracle parameters.
Corollary 2 (Oracle parameters of the Gaussian realization). If, for every θ ∈ Θ \theta\in\Theta θ ∈ Θ ,
E Z [ ∥ ∇ f ( θ , Z ) − ∇ F ( θ ) ∥ 2 ] ≤ σ 2 , \mathbb{E}_{Z}\left[\left\|\nabla f(\theta,Z)-\nabla F(\theta)\right\|^{2}\right] \le\sigma^{2}, E Z [ ∥ ∇ f ( θ , Z ) − ∇ F ( θ ) ∥ 2 ] ≤ σ 2 ,
then the one-policy samples satisfy Assumption 2 with ν 2 = σ 2 \nu^{2}=\sigma^{2} ν 2 = σ 2 . Under the condition of Proposition 8 , the coupled samples satisfy Assumption 3 with L p a i r 2 = ℓ 2 L_{\mathrm{pair}}^{2}=\ell^{2} L pair 2 = ℓ 2 .
The proofs and the complete state, transition, policy, and reward specification are given in Appendix § 9 .§ 2 . In the following, we write J ⋆ : = sup θ ∈ Θ J ( θ ) J^{\star}:=\sup_{\theta\in\Theta}J(\theta) J ⋆ := sup θ ∈ Θ J ( θ ) and Δ : = J ⋆ − J ( θ 0 ) \Delta:=J^{\star}-J(\theta_{0}) Δ := J ⋆ − J ( θ 0 ) .
Sample complexity.
We first consider the bounded-variance one-policy regime.
Theorem 9 (One-policy oracle lower bound). There exist numerical constants L 0 , ν 0 , Δ 0 , ϵ 0 , c B V > 0 L_{0},\nu_{0},\Delta_{0},\epsilon_{0},c_{\mathrm{BV}}>0 L 0 , ν 0 , Δ 0 , ϵ 0 , c BV > 0 , independent of ϵ \epsilon ϵ , such that, for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_{0}) ϵ ∈ ( 0 , ϵ 0 ) , there exist a dimension d d d and a distribution Q ϵ B V Q_{\epsilon}^{\mathrm{BV}} Q ϵ BV over black-box policy-optimization instances on Θ = R d \Theta=\mathbb{R}^{d} Θ = R d , each having the following properties:
The policy class is the Gaussian policy class described in Proposition 7;
The performance function satisfies Assumption 1 with L = L 0 L=L_{0} L = L 0 and has initial gap Δ ≤ Δ 0 \Delta\le\Delta_{0} Δ ≤ Δ 0 ;
The completed one-policy samples satisfy Assumption 2 with ν = ν 0 \nu=\nu_{0} ν = ν 0 .
For every possibly randomized adaptive algorithm operating under the one-policy feedback model of Definition 2, if T < c B V ϵ − 4 T<c_{\mathrm{BV}}\epsilon^{-4} T < c BV ϵ − 4 , then
E I ∼ Q ϵ B V [ ∥ ∇ J I ( θ O U T ) ∥ ] > ϵ , \mathbb{E}_{I\sim Q_{\epsilon}^{\mathrm{BV}}}\left[\left\|\nabla J_{I}(\theta_{\mathrm{OUT}})\right\|\right]>\epsilon, E I ∼ Q ϵ BV [ ∥ ∇ J I ( θ OUT ) ∥ ] > ϵ ,
where the expectation also includes the black-box feedback and the internal randomness of the algorithm. Consequently, for every such algorithm there exists an instance in the support of Q ϵ B V Q_{\epsilon}^{\mathrm{BV}} Q ϵ BV on which finding an ϵ \epsilon ϵ -FOSP requires Ω ( ϵ − 4 ) \Omega(\epsilon^{-4}) Ω ( ϵ − 4 ) one-policy calls.
The constants in Theorem 9 do not depend on ϵ \epsilon ϵ ; only the dimension of the hard instance may grow as ϵ \epsilon ϵ decreases. The lower bound therefore matches the one-policy upper bound in Proposition 1 under the same oracle-level assumptions. Under additional concrete assumptions, GPOMDP and REINFORCE realize this bounded-variance oracle, although those primitive assumptions are not imposed on the lower-bound construction.
We next consider the stronger feedback model of Definition 3, in which two policy experiments can share the same internal randomness. This coupling is the policy-optimization analogue of the shared-seed two-point stochastic oracle studied by Arjevani et al. (2023). In the coupled experiment of Proposition 8 , the two hidden policy experiments share both Z Z Z and ξ \xi ξ .
Theorem 10 (Coupled two-policy oracle lower bound). There exist numerical constants L 0 L_0 L 0 , ν 0 \nu_0 ν 0 , L p a i r , 0 L_{\mathrm{pair},0} L pair , 0 , Δ 0 \Delta_0 Δ 0 , ϵ 0 \epsilon_0 ϵ 0 , c M S S > 0 c_{\mathrm{MSS}} > 0 c MSS > 0 , independent of ϵ \epsilon ϵ , such that, for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) , there exist a dimension d d d and a distribution Q ϵ M S S Q_{\epsilon}^{\mathrm{MSS}} Q ϵ MSS over black-box policy-optimization instances on Θ = R d \Theta= \mathbb{R}^{d} Θ = R d , each having the following properties:
The policy class is the Gaussian policy class described in Propositions 7 and 8 ;
The performance function satisfies Assumption 1 with L = L 0 L = L_0 L = L 0 and has initial gap Δ ≤ Δ 0 \Delta\le\Delta_0 Δ ≤ Δ 0 ;
The completed one-policy samples satisfy Assumption 2 with ν = ν 0 \nu= \nu_0 ν = ν 0 ;
The coupled samples satisfy Assumption 3 with L p a i r = L p a i r , 0 L_{\mathrm{pair}} = L_{\mathrm{pair},0} L pair = L pair , 0 .
For every possibly randomized adaptive algorithm operating under the coupled feedback model of Definition 3, if the total number of black-box calls satisfies T < c M S S ϵ − 3 T < c_{\mathrm{MSS}}\epsilon^{-3} T < c MSS ϵ − 3 , then
E I ∼ Q ϵ M S S [ ∥ ∇ J I ( θ O U T ) ∥ ] > ϵ , \mathbb{E}_{I\sim Q_{\epsilon}^{\mathrm{MSS}}}\left[\left\lVert\nabla J_I(\theta_{\mathrm{OUT}})\right\rVert\right] > \epsilon, E I ∼ Q ϵ MSS [ ∥ ∇ J I ( θ OUT ) ∥ ] > ϵ ,
where the expectation also includes the black-box feedback and the internal randomness of the algorithm. Here, either a one-policy experiment or a coupled two-policy experiment counts as one black-box call. Consequently, for every such algorithm there exists an instance in the support of Q ϵ M S S Q^{\mathrm{MSS}}_{\epsilon} Q ϵ MSS on which finding an ϵ \epsilon ϵ -FOSP requires Ω ( ϵ − 3 ) \Omega(\epsilon^{-3}) Ω ( ϵ − 3 ) black-box calls.
Together, Theorems 9 and 10 show that, within the black-box model of Definitions 1–3, the optimal rate is Θ ( ϵ − 4 ) \Theta(\epsilon^{-4}) Θ ( ϵ − 4 ) in the bounded-variance one-policy regime and Θ ( ϵ − 3 ) \Theta(\epsilon^{-3}) Θ ( ϵ − 3 ) in the mean-square-smooth coupled regime. These rates match the dependence on ϵ \epsilon ϵ of the upper bounds in Proposition 1 and Lemma 5. Moreover, under standard policy-regularity conditions, REINFORCE and DEF-PG realize the respective oracle conditions and attain these upper bounds.
This correspondence is at the oracle level and does not establish a minimax separation under the classical MDP interaction model, which reveals states and actions and permits the direct computation of importance weights. Nevertheless, the black-box model captures the one-policy and coupled first-order feedback structures underlying REINFORCE and DEF-PG. The matching rates therefore support the view that the faster rate of DEF-PG reflects a genuine benefit of off-policy feedback.
Related Works
In this section, we discuss and compare the most closely related results from the reinforcement learning literature.
Local convergence of first-order algorithms.
The O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) convergence of REINFORCE/GPOMDP to a stationary point was known for a long time as it follows from standard stochastic approximation results [9 ] , but a detailed and refined analysis can be found in the recent work by Yuan et al [51 ] . For instance, Sutton et al [43 ] studied asymptotic convergence under stronger regularity assumptions on the policy class. The first applications of stochastic variance reduction to RL were for policy evaluation [13 ] and trust-region methods [48 ] . Papini et al. [31 ] were the first to apply stochastic variance reduction to a REINFORCE-like algorithm with the aim of improving the sample complexity for finding an ϵ \epsilon ϵ -FOSP, although they did not establish a better rate than O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) for their SVRPG algorithm. SVRPG was based on SVRG [20 ] , and its analysis on previous works on nonconvex finite-sum optimization [36 ] , while SCSG [23 ] , sharing with SVRPG the infinite sum nature of the objective function, was developed independently for supervised learning. To analyze SVRPG, Papini et al. [31 ] introduced a uniform bound on the variance of ordinary importance weights, together with boundedness and smoothness conditions on the policy scores. These conditions later became standard in work adapting stochastic variance reduction to policy-gradient methods. They also assumed bounded variance of the on-policy gradient estimator; under bounded rewards and a bounded score second moment, this property follows from Proposition 2. Xu et al. [46 ] later showed the sample complexity of SVRPG to be O ( ϵ − 10 / 3 ) O(\epsilon^{-10/3}) O ( ϵ − 10/3 ) . The same authors [47 ] proposed a new first-order algorithm, SRVR-PG, based on SARAH [28 ] and SPIDER [14 ] , with O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity, also considering constrained parameter spaces and parameter-based exploration. The O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) result was matched several times: by Yuan et al. [50 ] with STORM-PG, based on STORM [11 ] , which has the additional advantage of being single loop (so is our algorithm); by Pham et al. [34 ] with ProxHSPGA, also considering constrained and regularized problems; by Huang et al. [18 ] with IS-MBPG, based on STORM, considering adaptive learning rates; by Huang et al. [19 ] , that in their VR-BGPO algorithm applied stochastic variance reduction to a mirror-descent scheme; and by Gargiani et al. [16 ] with PAGE-PG, based on PAGE, a more recent algorithm for nonconvex optimization [25 ] . The last four algorithms have the advantage of using an O ( 1 ) O(1) O ( 1 ) mini-batch size for the stochastic-gradient updates, compared to O ( ϵ − 1 / 2 ) O(\epsilon^{-1/2}) O ( ϵ − 1/2 ) for SRVR-PG (so does our algorithm). All of these works establish O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity under Assumption 0. To see why this assumption is unrealistic, consider the detailed discussion on the variance of importance weights for policy optimization by Metelli et al. [27 ] . This issue was addressed by Zhang et al. [52 ] . Their TSIVR-PG algorithm, based on SARAH/SPIDER, achieves O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity without any assumption on the variance of importance weights, by truncating the gradients. They also consider general utility functions that cannot be written as a sum of rewards. However, their analysis is tailored to softmax policies, which are not suitable for continuous control. Like TSIVR-PG, DEF-PG achieves O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity without any assumption on the variance of ordinary importance weights. Its concrete guarantee applies to policy classes satisfying the boundedness and mean-square-continuity conditions in Assumption 6, without gradient truncation. The version presented in this paper is most closely related to PAGE-PG. The same defensive-mixture construction can also be inserted into the importance-weighted recursions of SVRPG, SRVR-PG, and STORM-PG. Appendix § 10 gives the resulting pseudocode.
Local convergence of second order algorithms.
Another way to get rid of Assumption 0 is to use second-order information, which avoids the use of importance weights entirely.3 The first to do so were Shen et al. [41 ] . Their HAPG algorithm enjoys O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity for ϵ \epsilon ϵ -FOSP convergence and was developed independently from SRVR-PG. Efficient implementations allow to keep the per-iteration computational complexity linear in the dimension d d d and the horizon T T T . A similar solution was proposed by Salehkaleybar et al. [39 ] . Their SHARP algorithm has the advantage of using O ( 1 ) O(1) O ( 1 ) batch sizes for the stochastic gradient updates, compared to O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) for HAPG.
Lower bounds for local convergence.
The O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) rate of SRVR-PG and its successors is believed to be optimal because of the matching lower bound for first-order nonconvex stochastic optimization established by Arjevani et al [5 ] . That result does not directly imply a policy-gradient lower bound: the feedback and sampling protocols differ, and a standard reinforcement-learning objective is generated by a policy interacting with a parameter-independent environment.
Our lower bounds provide an exact reduction in the black-box model of Definition 1. The construction uses genuine likelihood-ratio scores from the state-dependent Gaussian policy class of Proposition 7, and its objective is the expected discounted infinite-horizon return. The reward mechanism may, however, depend explicitly on the queried policy parameter. Establishing analogous lower bounds with parameter-independent rewards under the standard observed-trajectory protocol remains open.
Global convergence.
Several recent works study the convergence of policy gradient algorithms to a globally optimal policy, that is, J ⋆ − J ( θ ) ≤ ε J^{\star} - J(\theta) \le\varepsilon J ⋆ − J ( θ ) ≤ ε . Additional assumptions are needed since the performance function is, in general, nonconvex. A common such assumption is Fisher non-degeneracy, introduced by Liu et al [26 ] . Under this assumption, the latter established O ( ε − 4 ) O(\varepsilon^{-4}) O ( ε − 4 ) sample complexity for GPOMDP, and O ( ε − 3 ) O(\varepsilon^{-3}) O ( ε − 3 ) for Natural Policy Gradient (NPG, [21 ] ), SRVR-PG, and their own algorithm SRVR-NPG, that achieves a better dependence on variance upper bounds by combining NPG with SARAH-style variance reduction. Notably, Assumption 0 is still required by their analysis. Note that these sample complexity results are not comparable with the ones for ϵ \epsilon ϵ -FOSP, since ϵ \epsilon ϵ and ε \varepsilon ε measure two different things (gradient norms and performance gaps, respectively). Moreover, it is a counter-intuitive but well-known fact of optimization that fast convergence to ε \varepsilon ε -global-optima does not necessarily imply fast convergence to ϵ \epsilon ϵ -FOSP (e.g., [3 ] ). Indeed, Fatkhullin et al [15 ] designed a first-order algorithm (N-PG-IGT) that, under Fisher non-degeneracy, converges to a globally optimal policy at a rate of O ( ϵ − 2.5 ) O(\epsilon^{-2.5}) O ( ϵ − 2.5 ) without using importance sampling . However, its rate to ϵ \epsilon ϵ -FOSP is O ( ϵ − 3.5 ) O(\epsilon^{-3.5}) O ( ϵ − 3.5 ) , even worse than SVRPG. They also proposed a second-order algorithm (N-HARPG) with O ( ϵ − 2 ) O(\epsilon^{-2}) O ( ϵ − 2 ) global convergence that matches the O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) FOSP convergence of HAPG and SHARP. Several other works consider global convergence, but a further discussion would be out of scope for this paper. Refer to [15 ] for recent coverage of the topic. The classic Ω ( ϵ − 2 ) \Omega(\epsilon^{-2}) Ω ( ϵ − 2 ) lower bound by [6 ] holds for this setting.
Conclusion
We introduced DEF-PG, a first-order variance-reduced policy-gradient algorithm based on defensive importance sampling. At the oracle level, its recursion is an instance of Coupled-PAGE and achieves an O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) sample complexity under smoothness of the performance function, bounded-variance one-policy feedback, and mean-square-smooth coupled two-policy feedback. For the concrete discounted policy-gradient problem, we showed that bounded rewards and the boundedness and mean-square continuity of the policy scores are sufficient to realize these oracle conditions. In particular, DEF-PG does not require Assumption 0 on the variance of ordinary importance weights.
We also established lower bounds in the black-box policy-optimization model. Within this model, the optimal dependence on the stationarity tolerance is Θ ( ϵ − 4 ) \Theta(\epsilon^{-4}) Θ ( ϵ − 4 ) under bounded-variance one-policy feedback and Θ ( ϵ − 3 ) \Theta(\epsilon^{-3}) Θ ( ϵ − 3 ) under mean-square-smooth coupled two-policy feedback. Under standard policy-regularity conditions, REINFORCE and DEF-PG realize the respective oracle conditions and attain the corresponding upper bounds. The matching exponents therefore provide oracle-level evidence that the faster rate of variance-reduced policy gradient is optimal and separated from that of REINFORCE. These lower bounds do not, however, establish minimax optimality under the primitive MDP assumptions used by the concrete policy-gradient upper bounds. It remains open whether the same rates can be proved necessary under the standard observed-trajectory protocol with parameter-independent transition and reward mechanisms, where the learner observes states and actions and may exploit information not captured by our black-box formulation. It would also be interesting to obtain lower-bound constructions satisfying the concrete reward and score assumptions of Theorem 6, and to determine the optimal dependence on the effective horizon ( 1 − γ ) − 1 (1-\gamma)^{-1} ( 1 − γ ) − 1 .
Further directions include studying more natural policy classes, extending the lower bounds to algorithms using second-order information following Arjevani et al. [4 ] , and analyzing the global-convergence properties of DEF-PG under conditions such as Fisher non-degeneracy.
Acknowledgments
Acknowledgments. Funded by the European Union – Next Generation EU within the project NRPP M4C2, Investment 1.,3 DD. 341 - 15 march 2022 – FAIR – Future Artificial Intelligence Research – Spoke 4 - PE00000013 - D53C22002380006.
Proofs of Upper Bounds
Proofs of Propositions
The results proved here are rather standard, but proofs are given for the sake of completeness.
Proof of Proposition 1. By L L L -smoothness, ∥ ∇ J ( θ 0 ) ∥ 2 ≤ 2 L Δ \lVert\nabla J(\theta_0) \rVert^2 \le2L\Delta ∥ ∇ J ( θ 0 ) ∥ 2 ≤ 2 L Δ . Therefore, if 2 L Δ ≤ ϵ 2 2L\Delta\le\epsilon^2 2 L Δ ≤ ϵ 2 , the initial parameter is already an ϵ \epsilon ϵ -FOSP.
Otherwise, let m = max { 1 , ⌈ 2 ν 2 / ϵ 2 ⌉ } m = \max\{1, \lceil2\nu^2/\epsilon^2 \rceil\} m = max { 1 , ⌈ 2 ν 2 / ϵ 2 ⌉} and T = ⌈ 4 L Δ / ϵ 2 ⌉ T = \lceil4L\Delta/\epsilon^2 \rceil T = ⌈ 4 L Δ/ ϵ 2 ⌉ . At iteration t t t , average m m m independent calls to O B V \mathcal{O}_{\mathrm{BV}} O BV to obtain g ˉ t \bar{g}_t g ˉ t , and set θ t + 1 = θ t + L − 1 g ˉ t \theta_{t+1} = \theta_t + L^{-1}\bar{g}_t θ t + 1 = θ t + L − 1 g ˉ t . Writing e t = g ˉ t − ∇ J ( θ t ) e_t = \bar{g}_t - \nabla J(\theta_t) e t = g ˉ t − ∇ J ( θ t ) , we have E [ e t ∣ θ t ] = 0 \mathbb{E}[e_t \mid\theta_t] = 0 E [ e t ∣ θ t ] = 0 and E [ ∥ e t ∥ 2 ∣ θ t ] ≤ ν 2 / m \mathbb{E}[\lVert e_t \rVert^2 \mid\theta_t] \le\nu^2/m E [∥ e t ∥ 2 ∣ θ t ] ≤ ν 2 / m . The smoothness inequality therefore gives
E [ J ( θ t + 1 ) ∣ θ t ] ≥ J ( θ t ) + 1 2 L ∥ ∇ J ( θ t ) ∥ 2 − ν 2 2 L m . \mathbb{E}[J(\theta_{t+1}) \mid\theta_t] \ge J(\theta_t) + \frac{1}{2L}\lVert\nabla J(\theta_t) \rVert^2 - \frac{\nu^2}{2Lm}. E [ J ( θ t + 1 ) ∣ θ t ] ≥ J ( θ t ) + 2 L 1 ∥ ∇ J ( θ t ) ∥ 2 − 2 L m ν 2 .
Summing over t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 and using J ( θ T ) − J ( θ 0 ) ≤ Δ J(\theta_T) - J(\theta_0) \le\Delta J ( θ T ) − J ( θ 0 ) ≤ Δ yields
1 T ∑ t = 0 T − 1 E [ ∥ ∇ J ( θ t ) ∥ 2 ] ≤ 2 L Δ T + ν 2 m ≤ ϵ 2 . \frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}[\lVert\nabla J(\theta_t) \rVert^2] \le\frac{2L\Delta}{T} + \frac{\nu^2}{m} \le\epsilon^2. T 1 t = 0 ∑ T − 1 E [∥ ∇ J ( θ t ) ∥ 2 ] ≤ T 2 L Δ + m ν 2 ≤ ϵ 2 .
Choosing θ O U T \theta_{\mathrm{OUT}} θ OUT uniformly from { θ t } t = 0 T − 1 \{\theta_t\}_{t=0}^{T-1} { θ t } t = 0 T − 1 and applying Jensen’s inequality gives the claimed expected-norm guarantee.
Finally, since the nontrivial case satisfies ϵ 2 < 2 L Δ \epsilon^2 < 2L\Delta ϵ 2 < 2 L Δ , the total number of oracle calls is
T m = O ( Δ L ϵ 2 + Δ L ν 2 ϵ 4 ) . Tm = O\left(\frac{\Delta L}{\epsilon^2} + \frac{\Delta L\nu^2}{\epsilon^4}\right). T m = O ( ϵ 2 Δ L + ϵ 4 Δ L ν 2 ) .
Proof of Proposition 2. For h ≥ 0 h \ge0 h ≥ 0 , define
Z h ( θ ) : = ∑ ℓ = 0 h ∇ log π θ ( A ℓ ∣ S ℓ ) , I h : = 1 { H γ > h } . Z_h(\theta) := \sum_{\ell=0}^{h} \nabla\log\pi_\theta(A_\ell\mid S_\ell), \qquad I_h := \mathbb{1}\{H_\gamma> h\}. Z h ( θ ) := ℓ = 0 ∑ h ∇ log π θ ( A ℓ ∣ S ℓ ) , I h := 1 { H γ > h } .
The stopped GPOMDP estimator can be written as
g ( θ , τ ) = ∑ h ≥ 0 I h R h + 1 Z h ( θ ) . g(\theta,\tau) = \sum_{h \ge0} I_h R_{h+1} Z_h(\theta). g ( θ , τ ) = h ≥ 0 ∑ I h R h + 1 Z h ( θ ) .
Since the stopping rule is independent of the trajectory and E [ I h ] = γ h \mathbb{E}[I_h] = \gamma^h E [ I h ] = γ h ,
E [ g ( θ , τ ) ] = ∑ h ≥ 0 γ h E [ R h + 1 Z h ( θ ) ] = ∇ J ( θ ) . \mathbb{E}[g(\theta,\tau)] = \sum_{h \ge0} \gamma^h \mathbb{E}\left[R_{h+1} Z_h(\theta)\right] = \nabla J(\theta). E [ g ( θ , τ )] = h ≥ 0 ∑ γ h E [ R h + 1 Z h ( θ ) ] = ∇ J ( θ ) .
The score increments are martingale differences under the on-policy trajectory distribution. Therefore, Assumption 5 gives
E [ ∥ Z h ( θ ) ∥ 2 ] ≤ ( h + 1 ) c 1 2 . \mathbb{E}\left[\lVert Z_h(\theta)\rVert^2\right] \le(h+1)c_1^2. E [ ∥ Z h ( θ ) ∥ 2 ] ≤ ( h + 1 ) c 1 2 .
Using Minkowski’s inequality in L 2 L^2 L 2 , bounded rewards, and the independence of I h I_h I h ,
( E [ ∥ g ( θ , τ ) ∥ 2 ] ) 1 / 2 ≤ ∑ h ≥ 0 ( E [ I h R h + 1 2 ∥ Z h ( θ ) ∥ 2 ] ) 1 / 2 ≤ R max c 1 ∑ h ≥ 0 γ h / 2 h + 1 . \left(\mathbb{E}\left[\lVert g(\theta,\tau)\rVert^2\right]\right)^{1/2}
\le\sum_{h \ge0} \left(\mathbb{E}\left[I_h R_{h+1}^2 \lVert Z_h(\theta)\rVert^2\right]\right)^{1/2}
\le R_{\max}c_1 \sum_{h \ge0} \gamma^{h/2}\sqrt{h+1}. ( E [ ∥ g ( θ , τ ) ∥ 2 ] ) 1/2 ≤ h ≥ 0 ∑ ( E [ I h R h + 1 2 ∥ Z h ( θ ) ∥ 2 ] ) 1/2 ≤ R m a x c 1 h ≥ 0 ∑ γ h /2 h + 1 .
Letting q = γ q = \sqrt{\gamma} q = γ and applying Cauchy–Schwarz,
( ∑ h ≥ 0 q h h + 1 ) 2 ≤ ( ∑ h ≥ 0 q h ) ( ∑ h ≥ 0 ( h + 1 ) q h ) = 1 ( 1 − q ) 3 . \left(\sum_{h \ge0} q^h \sqrt{h+1}\right)^2
\le\left(\sum_{h \ge0} q^h\right)\left(\sum_{h \ge0} (h+1)q^h\right)
= \frac{1}{(1-q)^3}. ( h ≥ 0 ∑ q h h + 1 ) 2 ≤ ( h ≥ 0 ∑ q h ) ( h ≥ 0 ∑ ( h + 1 ) q h ) = ( 1 − q ) 3 1 .
Since
1 − γ = 1 − γ 1 + γ ≥ 1 − γ 2 . 1-\sqrt{\gamma}=\frac{1-\gamma}{1+\sqrt{\gamma}}\ge\frac{1-\gamma}{2}. 1 − γ = 1 + γ 1 − γ ≥ 2 1 − γ .
we obtain
E [ ∥ g ( θ , τ ) ∥ 2 ] ≤ 8 c 1 2 R max 2 ( 1 − γ ) 3 . \mathbb{E}\left[\lVert g(\theta,\tau)\rVert^2\right]\le\frac{8c_1^2R_{\max}^2}{(1-\gamma)^3}. E [ ∥ g ( θ , τ ) ∥ 2 ] ≤ ( 1 − γ ) 3 8 c 1 2 R m a x 2 .
Finally,
E [ ∥ g ( θ , τ ) − ∇ J ( θ ) ∥ 2 ] ≤ E [ ∥ g ( θ , τ ) ∥ 2 ] , \mathbb{E}\left[\lVert g(\theta,\tau)-\nabla J(\theta)\rVert^2\right]\le\mathbb{E}\left[\lVert g(\theta,\tau)\rVert^2\right], E [ ∥ g ( θ , τ ) − ∇ J ( θ ) ∥ 2 ] ≤ E [ ∥ g ( θ , τ ) ∥ 2 ] ,
which proves the result.
Proof of Lemma 5
We first prove two auxiliary lemmas.
Lemma 11 (Weighted Hellinger continuity). Suppose that Assumption 6(i) holds. For every integer r ≥ 0 r\ge0 r ≥ 0 and every θ 1 , θ 2 ∈ Θ \theta_1,\theta_2\in\Theta θ 1 , θ 2 ∈ Θ ,
∫ T H γ ( τ ) r ( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 d τ ≤ c 1 2 M r + 1 4 ∥ θ 1 − θ 2 ∥ 2 . \int_{\mathcal{T}}H_\gamma(\tau)^r\left(\sqrt{p(\tau\mid\theta_1)}-\sqrt{p(\tau\mid\theta_2)}\right)^2\mathrm{d}\tau\le\frac{c_1^2M_{r+1}}{4}\lVert\theta_1-\theta_2\rVert^2. ∫ T H γ ( τ ) r ( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 d τ ≤ 4 c 1 2 M r + 1 ∥ θ 1 − θ 2 ∥ 2 .
Proof. Let
θ t = ( 1 − t ) θ 2 + t θ 1 , δ = θ 1 − θ 2 , t ∈ [ 0 , 1 ] . \theta_t=(1-t)\theta_2+t\theta_1,\qquad\delta=\theta_1-\theta_2,\qquad t\in[0,1]. θ t = ( 1 − t ) θ 2 + t θ 1 , δ = θ 1 − θ 2 , t ∈ [ 0 , 1 ] .
Convexity of Θ \Theta Θ guarantees that θ t ∈ Θ \theta_t\in\Theta θ t ∈ Θ . Because the stopping rule and the environment are independent of the policy parameters,
∇ log p ( τ ∣ θ t ) = ∑ h = 0 H γ ( τ ) − 1 ∇ log π θ t ( A h ∣ S h ) . \nabla\log p(\tau\mid\theta_t)=\sum_{h=0}^{H_\gamma(\tau)-1}\nabla\log\pi_{\theta_t}(A_h\mid S_h). ∇ log p ( τ ∣ θ t ) = h = 0 ∑ H γ ( τ ) − 1 ∇ log π θ t ( A h ∣ S h ) .
Consequently,
d d t p ( τ ∣ θ t ) = 1 2 p ( τ ∣ θ t ) ⟨ δ , ∇ log p ( τ ∣ θ t ) ⟩ . \frac{\mathrm{d}}{\mathrm{d}t}\sqrt{p(\tau\mid\theta_t)}=\frac{1}{2}\sqrt{p(\tau\mid\theta_t)}\langle\delta,\nabla\log p(\tau\mid\theta_t)\rangle. d t d p ( τ ∣ θ t ) = 2 1 p ( τ ∣ θ t ) ⟨ δ , ∇ log p ( τ ∣ θ t )⟩ .
By the fundamental theorem of calculus and Cauchy–Schwarz,
( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 ≤ ∥ δ ∥ 2 4 ∫ 0 1 p ( τ ∣ θ t ) ∥ ∇ log p ( τ ∣ θ t ) ∥ 2 d t . \left(\sqrt{p(\tau\mid\theta_1)}-\sqrt{p(\tau\mid\theta_2)}\right)^2
\le\frac{\lVert\delta\rVert^2}{4}\int_0^1 p(\tau\mid\theta_t)\lVert\nabla\log p(\tau\mid\theta_t)\rVert^2\,\mathrm{d}t. ( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 ≤ 4 ∥ δ ∥ 2 ∫ 0 1 p ( τ ∣ θ t ) ∥ ∇ log p ( τ ∣ θ t ) ∥ 2 d t .
Multiplying by H γ ( τ ) r H_\gamma(\tau)^r H γ ( τ ) r and integrating over τ \tau τ yields
∫ T H γ ( τ ) r ( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 d τ ≤ ∥ δ ∥ 2 4 ∫ 0 1 E τ ∼ p ⋅ ( ⋅ ∣ θ t ) [ H γ r ∥ ∑ h = 0 H γ − 1 ∇ log π θ t ( A h ∣ S h ) ∥ 2 ] d t . \int_{\mathcal{T}} H_\gamma(\tau)^r\left(\sqrt{p(\tau\mid\theta_1)}-\sqrt{p(\tau\mid\theta_2)}\right)^2\,\mathrm{d}\tau
\le\frac{\lVert\delta\rVert^2}{4}\int_0^1 \mathbb{E}_{\tau\sim p_{\cdot}(\cdot\mid\theta_t)}\left[H_\gamma^r\left\lVert\sum_{h=0}^{H_\gamma-1}\nabla\log\pi_{\theta_t}(A_h\mid S_h)\right\rVert^2\right]\,\mathrm{d}t. ∫ T H γ ( τ ) r ( p ( τ ∣ θ 1 ) − p ( τ ∣ θ 2 ) ) 2 d τ ≤ 4 ∥ δ ∥ 2 ∫ 0 1 E τ ∼ p ⋅ ( ⋅ ∣ θ t ) H γ r h = 0 ∑ H γ − 1 ∇ log π θ t ( A h ∣ S h ) 2 d t .
The score increments are martingale differences. Conditionally on H γ H_\gamma H γ , Assumption 6(i) therefore gives
E τ ∼ p ⋅ ( ⋅ ∣ θ t ) [ ∥ ∑ h = 0 H γ − 1 ∇ log π θ t ( A h ∣ S h ) ∥ 2 | H γ ] ≤ C 1 2 H γ . \mathbb{E}_{\tau\sim p_{\cdot}(\cdot\mid\theta_t)}\left[\left\lVert\sum_{h=0}^{H_\gamma-1}\nabla\log\pi_{\theta_t}(A_h\mid S_h)\right\rVert^2\middle|H_\gamma\right]\le C_1^2H_\gamma. E τ ∼ p ⋅ ( ⋅ ∣ θ t ) h = 0 ∑ H γ − 1 ∇ log π θ t ( A h ∣ S h ) 2 H γ ≤ C 1 2 H γ .
Since the distribution of H γ H_\gamma H γ is independent of θ t \theta_t θ t ,
E [ H γ r ∥ ∇ log p ( τ ∣ θ t ) ∥ 2 ] ≤ C 1 2 M r + 1 . \mathbb{E}\left[H_\gamma^r\left\lVert\nabla\log p(\tau\mid\theta_t)\right\rVert^2\right]\le C_1^2M_{r+1}. E [ H γ r ∥ ∇ log p ( τ ∣ θ t ) ∥ 2 ] ≤ C 1 2 M r + 1 .
Substitution proves the claim. □ \square □
Lemma 4 (Defensive coupling). Let θ 1 , θ 2 ∈ Θ \theta_1,\theta_2\in\Theta θ 1 , θ 2 ∈ Θ and
q α ( τ ) = α p ( τ ∣ θ 1 ) + ( 1 − α ) p ( τ ∣ θ 2 ) . q_\alpha(\tau)=\alpha p(\tau\mid\theta_1)+(1-\alpha)p(\tau\mid\theta_2). q α ( τ ) = α p ( τ ∣ θ 1 ) + ( 1 − α ) p ( τ ∣ θ 2 ) .
For τ ∼ q α \tau\sim q_{\alpha} τ ∼ q α , define
ω i ( τ ) = p ( τ ∣ θ i ) q α ( τ ) , g ^ i ( τ ) = ω i ( τ ) g ( θ i , τ ) , i ∈ { 1 , 2 } . \omega_i(\tau) = \frac{p(\tau\mid\theta_i)}{q_{\alpha}(\tau)}, \qquad\hat{g}_i(\tau) = \omega_i(\tau)g(\theta_i,\tau), \qquad i \in\{1,2\}. ω i ( τ ) = q α ( τ ) p ( τ ∣ θ i ) , g ^ i ( τ ) = ω i ( τ ) g ( θ i , τ ) , i ∈ { 1 , 2 } .
Under Assumption 6, the defensive weights satisfy
V τ ∼ q α [ ω 1 ( τ ) ] ≤ ( 1 − α ) 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 , \mathbb{V}_{\tau\sim q_{\alpha}}[\omega_1(\tau)] \le\frac{(1-\alpha)^2 C_1^2 M_1}{2m_{\alpha}}\lVert\theta_1-\theta_2\rVert^2, V τ ∼ q α [ ω 1 ( τ )] ≤ 2 m α ( 1 − α ) 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 ,
V τ ∼ q α [ ω 2 ( τ ) ] ≤ α 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 . \mathbb{V}_{\tau\sim q_{\alpha}}[\omega_2(\tau)] \le\frac{\alpha^2 C_1^2 M_1}{2m_{\alpha}}\lVert\theta_1-\theta_2\rVert^2. V τ ∼ q α [ ω 2 ( τ )] ≤ 2 m α α 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 .
Moreover, under Assumptions 4 and 6,
E τ ∼ q α [ ∥ g ^ 1 ( τ ) − g ^ 2 ( τ ) ∥ 2 ] ≤ C α ∥ θ 1 − θ 2 ∥ 2 , \mathbb{E}_{\tau\sim q_{\alpha}}\left[\lVert\hat{g}_1(\tau)-\hat{g}_2(\tau)\rVert^2\right] \le C_{\alpha}\lVert\theta_1-\theta_2\rVert^2, E τ ∼ q α [ ∥ g ^ 1 ( τ ) − g ^ 2 ( τ ) ∥ 2 ] ≤ C α ∥ θ 1 − θ 2 ∥ 2 ,
where
C α : = R max 2 m α ( C 1 4 M 5 + 2 L S 2 M 4 ) . C_{\alpha} := \frac{R_{\max}^2}{m_{\alpha}}\left(C_1^4M_5+2L_S^2M_4\right). C α := m α R m a x 2 ( C 1 4 M 5 + 2 L S 2 M 4 ) .
Finally,
E τ ∼ q α [ g ^ i ( τ ) ] = ∇ J ( θ i ) , i ∈ { 1 , 2 } . \mathbb{E}_{\tau\sim q_{\alpha}}[\hat{g}_i(\tau)] = \nabla J(\theta_i), \qquad i \in\{1,2\}. E τ ∼ q α [ g ^ i ( τ )] = ∇ J ( θ i ) , i ∈ { 1 , 2 } .
Consequently, the defensive pair ( g ^ 1 , g ^ 2 ) (\hat{g}_1,\hat{g}_2) ( g ^ 1 , g ^ 2 ) realizes the coupled oracle of Assumption 3 with L p a i r 2 = C α L_{\mathrm{pair}}^2=C_{\alpha} L pair 2 = C α .
Proof. For brevity, write
p i ( τ ) = p ( τ ∣ θ i ) , q α ( τ ) = α p 1 ( τ ) + ( 1 − α ) p 2 ( τ ) , m α = min { α , 1 − α } . p_i(\tau)=p(\tau\mid\theta_i), \qquad q_{\alpha}(\tau)=\alpha p_1(\tau)+(1-\alpha)p_2(\tau), \qquad m_{\alpha}=\min\{\alpha,1-\alpha\}. p i ( τ ) = p ( τ ∣ θ i ) , q α ( τ ) = α p 1 ( τ ) + ( 1 − α ) p 2 ( τ ) , m α = min { α , 1 − α } .
Since
q α ( τ ) ≥ m α ( p 1 ( τ ) + p 2 ( τ ) ) , (5) q_{\alpha}(\tau)\ge m_{\alpha}\left(p_1(\tau)+p_2(\tau)\right), \tag*{(5)} q α ( τ ) ≥ m α ( p 1 ( τ ) + p 2 ( τ ) ) , (5)
we have
( p 1 − p 2 ) 2 q α ≤ 1 m α ( p 1 − p 2 ) 2 p 1 + p 2 = 1 m α ( p 1 − p 2 ) 2 ( p 1 + p 2 ) 2 p 1 + p 2 ≤ 2 m α ( p 1 − p 2 ) 2 . (6) \begin{aligned}
\frac{(p_1-p_2)^2}{q_\alpha} &\le\frac{1}{m_\alpha}\frac{(p_1-p_2)^2}{p_1+p_2}\\
&= \frac{1}{m_\alpha}(\sqrt{p_1}-\sqrt{p_2})^2\frac{(\sqrt{p_1}+\sqrt{p_2})^2}{p_1+p_2}\\
&\le\frac{2}{m_\alpha}(\sqrt{p_1}-\sqrt{p_2})^2. \tag*{(6)}
\end{aligned} q α ( p 1 − p 2 ) 2 ≤ m α 1 p 1 + p 2 ( p 1 − p 2 ) 2 = m α 1 ( p 1 − p 2 ) 2 p 1 + p 2 ( p 1 + p 2 ) 2 ≤ m α 2 ( p 1 − p 2 ) 2 . (6)
Because E q α [ ω i ] = 1 \mathbb{E}_{q_\alpha}[\omega_i]=1 E q α [ ω i ] = 1 and
p 1 − q α = ( 1 − α ) ( p 1 − p 2 ) , p 2 − q α = − α ( p 1 − p 2 ) , p_1-q_\alpha=(1-\alpha)(p_1-p_2),\qquad p_2-q_\alpha=-\alpha(p_1-p_2), p 1 − q α = ( 1 − α ) ( p 1 − p 2 ) , p 2 − q α = − α ( p 1 − p 2 ) ,
Equation (6) and Lemma 11 with r = 0 r=0 r = 0 give
V q α [ ω 1 ] = ( 1 − α ) 2 ∫ τ ( p 1 − p 2 ) 2 q α d τ ≤ ( 1 − α ) 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 , V q α [ ω 2 ] ≤ α 2 C 1 2 M 1 2 m α ∥ θ 1 − θ 2 ∥ 2 . \begin{aligned}
V_{q_\alpha}[\omega_1] &= (1-\alpha)^2\int_\tau\frac{(p_1-p_2)^2}{q_\alpha}\,\mathrm{d}\tau\\
&\le\frac{(1-\alpha)^2 C_1^2 M_1}{2m_\alpha}\lVert\theta_1-\theta_2\rVert^2,\\
V_{q_\alpha}[\omega_2] &\le\frac{\alpha^2 C_1^2 M_1}{2m_\alpha}\lVert\theta_1-\theta_2\rVert^2.
\end{aligned} V q α [ ω 1 ] V q α [ ω 2 ] = ( 1 − α ) 2 ∫ τ q α ( p 1 − p 2 ) 2 d τ ≤ 2 m α ( 1 − α ) 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 , ≤ 2 m α α 2 C 1 2 M 1 ∥ θ 1 − θ 2 ∥ 2 .
We now prove the coupled-estimator bound. Let g i ( τ ) = g ( θ i , τ ) g_i(\tau)=g(\theta_i,\tau) g i ( τ ) = g ( θ i , τ ) . Bounded rewards and Assumption 6(i) imply the pathwise estimate
∥ g i ( τ ) ∥ ≤ R max C 1 ∑ h = 0 H γ − 1 ( h + 1 ) ≤ R max C 1 H γ 2 . (7) \begin{aligned}
\lVert g_i(\tau)\rVert&\le R_{\max}C_1\sum_{h=0}^{H_{\gamma}-1}(h+1)\\
&\le R_{\max}C_1H_\gamma^2. \tag*{(7)}
\end{aligned} ∥ g i ( τ )∥ ≤ R m a x C 1 h = 0 ∑ H γ − 1 ( h + 1 ) ≤ R m a x C 1 H γ 2 . (7)
Moreover,
g 1 ( τ ) − g 2 ( τ ) = ∑ ℓ = 0 H γ − 1 ( ∑ h = ℓ H γ − 1 R h + 1 ) ( ∇ log π θ 1 ( A ℓ ∣ S ℓ ) − ∇ log π θ 2 ( A ℓ ∣ S ℓ ) ) . g_1(\tau) - g_2(\tau) = \sum_{\ell=0}^{H_\gamma-1} \left(\sum_{h=\ell}^{H_\gamma-1} R_{h+1}\right) \left(\nabla\log\pi_{\theta_1}(A_\ell\mid S_\ell) - \nabla\log\pi_{\theta_2}(A_\ell\mid S_\ell)\right). g 1 ( τ ) − g 2 ( τ ) = ℓ = 0 ∑ H γ − 1 h = ℓ ∑ H γ − 1 R h + 1 ( ∇ log π θ 1 ( A ℓ ∣ S ℓ ) − ∇ log π θ 2 ( A ℓ ∣ S ℓ ) ) .
Using Cauchy–Schwarz and Assumption 6(ii), for i ∈ { 1 , 2 } i \in\{1, 2\} i ∈ { 1 , 2 } ,
E τ ∼ p i [ ∥ g 1 ( τ ) − g 2 ( τ ) ∥ 2 ∣ H γ ] ≤ R max 2 L S 2 H γ 4 ∥ θ 1 − θ 2 ∥ 2 . (8) \mathbb{E}_{\tau\sim p_i}\left[\left\|g_1(\tau)-g_2(\tau)\right\|^2 \mid H_\gamma\right] \le R_{\max}^2 L_S^2 H_\gamma^4 \left\|\theta_1-\theta_2\right\|^2. \tag*{(8)} E τ ∼ p i [ ∥ g 1 ( τ ) − g 2 ( τ ) ∥ 2 ∣ H γ ] ≤ R m a x 2 L S 2 H γ 4 ∥ θ 1 − θ 2 ∥ 2 . (8)
The case i = 2 i=2 i = 2 follows by interchanging θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 in Assumption 6(ii).
Decompose the coupled difference as
g ^ 1 − g ^ 2 = ( ω 1 − ω 2 ) g 1 + ω 2 ( g 1 − g 2 ) . \widehat{g}_1-\widehat{g}_2=(\omega_1-\omega_2)g_1+\omega_2(g_1-g_2). g 1 − g 2 = ( ω 1 − ω 2 ) g 1 + ω 2 ( g 1 − g 2 ) .
For the first term, Equations (6) and (7) , followed by Lemma 11 with r = 4 r=4 r = 4 , give
E q α [ ∥ ( ω 1 − ω 2 ) g 1 ∥ 2 ] = ∫ T ( p 1 − p 2 ) 2 q α ∥ g 1 ∥ 2 d τ ≤ 2 R max 2 C 1 2 m α ∫ T H γ 4 ( p 1 − p 2 ) 2 d τ ≤ R max 2 C 1 4 M 5 2 m α ∥ θ 1 − θ 2 ∥ 2 . \begin{aligned}
\mathbb{E}_{q_\alpha}\left[\left\|(\omega_1-\omega_2)g_1\right\|^2\right]=\int_{\mathcal{T}}\frac{(p_1-p_2)^2}{q_\alpha}\left\|g_1\right\|^2\mathrm{d}\tau\\
&\le\frac{2R_{\max}^2C_1^2}{m_\alpha}\int_{\mathcal{T}}H_\gamma^4\left(\sqrt{p_1}-\sqrt{p_2}\right)^2\mathrm{d}\tau\\
&\le\frac{R_{\max}^2C_1^4M_5}{2m_\alpha}\left\|\theta_1-\theta_2\right\|^2.
\end{aligned} E q α [ ∥ ( ω 1 − ω 2 ) g 1 ∥ 2 ] = ∫ T q α ( p 1 − p 2 ) 2 ∥ g 1 ∥ 2 d τ ≤ m α 2 R m a x 2 C 1 2 ∫ T H γ 4 ( p 1 − p 2 ) 2 d τ ≤ 2 m α R m a x 2 C 1 4 M 5 ∥ θ 1 − θ 2 ∥ 2 .
For the second term, since q α ≥ ( 1 − α ) p 2 q_\alpha\ge(1-\alpha)p_2 q α ≥ ( 1 − α ) p 2 , Equation (8) gives
E q α [ ∥ ω 2 ( g 1 − g 2 ) ∥ 2 ] = ∫ T p 2 2 q α ∥ g 1 − g 2 ∥ 2 d τ ≤ 1 1 − α E p 2 [ ∥ g 1 − g 2 ∥ 2 ] ≤ R max 2 L S 2 M 4 m α ∥ θ 1 − θ 2 ∥ 2 . \begin{aligned}
\mathbb{E}_{q_\alpha}\left[\left\|\omega_2(g_1-g_2)\right\|^2\right]=\int_{\mathcal{T}}\frac{p_2^2}{q_\alpha}\left\|g_1-g_2\right\|^2\mathrm{d}\tau\\
&\le\frac{1}{1-\alpha}\mathbb{E}_{p_2}\left[\left\|g_1-g_2\right\|^2\right] \\
&\le\frac{R_{\max}^2L_S^2M_4}{m_\alpha}\left\|\theta_1-\theta_2\right\|^2.
\end{aligned} E q α [ ∥ ω 2 ( g 1 − g 2 ) ∥ 2 ] = ∫ T q α p 2 2 ∥ g 1 − g 2 ∥ 2 d τ ≤ 1 − α 1 E p 2 [ ∥ g 1 − g 2 ∥ 2 ] ≤ m α R m a x 2 L S 2 M 4 ∥ θ 1 − θ 2 ∥ 2 .
Therefore,
E q α [ ∥ g ^ 1 − g ^ 2 ∥ 2 ] ≤ 2 E q α [ ∥ ( ω 1 − ω 2 ) g 1 ∥ 2 ] + 2 E q α [ ∥ ω 2 ( g 1 − g 2 ) ∥ 2 ] ≤ R max 2 m α ( C 1 4 M 5 + 2 L S 2 M 4 ) ∥ θ 1 − θ 2 ∥ 2 . \begin{aligned}
\mathbb{E}_{q_\alpha}\left[\lVert\hat{g}_1-\hat{g}_2\rVert^2\right]\leq2\mathbb{E}_{q_\alpha}\left[\lVert(\omega_1-\omega_2)g_1\rVert^2\right]+2\mathbb{E}_{q_\alpha}\left[\lVert\omega_2(g_1-g_2)\rVert^2\right] \\
&\leq\frac{R_{\max}^2}{m_\alpha}\left(C_1^4M_5+2L_S^2M_4\right)\lVert\theta_1-\theta_2\rVert^2.
\end{aligned} E q α [ ∥ g ^ 1 − g ^ 2 ∥ 2 ] ≤ 2 E q α [ ∥( ω 1 − ω 2 ) g 1 ∥ 2 ] + 2 E q α [ ∥ ω 2 ( g 1 − g 2 ) ∥ 2 ] ≤ m α R m a x 2 ( C 1 4 M 5 + 2 L S 2 M 4 ) ∥ θ 1 − θ 2 ∥ 2 .
Finally, change of measure gives
E q α [ g ^ i ] = E p i [ g i ] = ∇ J ( θ i ) , i ∈ { 1 , 2 } . \mathbb{E}_{q_\alpha}[\hat{g}_i]=\mathbb{E}_{p_i}[g_i]=\nabla J(\theta_i),\qquad i\in\{1,2\}. E q α [ g ^ i ] = E p i [ g i ] = ∇ J ( θ i ) , i ∈ { 1 , 2 } .
This proves all the claims.
The proof follows the standard PAGE error-recursion argument, using Assumptions 2 and 3 to control the refresh and recursive updates, respectively.
Lemma 5 (Sample complexity of Coupled-PAGE). Suppose that Assumptions 1, 2, and 3 hold, and let Δ : = J ⋆ − J ( θ 0 ) < + ∞ \Delta:=J^\star-J(\theta_0)<+\infty Δ := J ⋆ − J ( θ 0 ) < + ∞ . For a target accuracy ϵ > 0 \epsilon>0 ϵ > 0 , choose
N ≥ max { 2 , ⌈ 3 ν 2 ϵ 2 ⌉ } , 1 ≤ B ≤ N , p = 1 N , N\geq\max\left\{2,\left\lceil\frac{3\nu^2}{\epsilon^2}\right\rceil\right\},\qquad1\leq B\leq N,\qquad p=\frac{1}{N}, N ≥ max { 2 , ⌈ ϵ 2 3 ν 2 ⌉ } , 1 ≤ B ≤ N , p = N 1 , and
η = 1 2 ( L + L p a i r N − 1 B ) . \eta=\frac{1}{2\left(L+L_{\mathrm{pair}}\sqrt{\frac{N-1}{B}}\right)}. η = 2 ( L + L pair B N − 1 ) 1 . If
T ≥ max { N , ⌈ 6 Δ η ϵ 2 ⌉ } , T\geq\max\left\{N,\left\lceil\frac{6\Delta}{\eta\epsilon^2}\right\rceil\right\}, T ≥ max { N , ⌈ η ϵ 2 6Δ ⌉ } , then Algorithm 1 returns a parameter satisfying E [ ∥ ∇ J ( θ O U T ) ∥ ] ≤ ϵ \mathbb{E}[\lVert\nabla J(\theta_{\mathrm{OUT}})\rVert]\leq\epsilon E [∥ ∇ J ( θ OUT )∥] ≤ ϵ . Its expected total number of oracle calls is at most
N + T ( p N + ( 1 − p ) B ) = N + T ( 1 + B − B N ) . N+T\left(pN+(1-p)B\right)=N+T\left(1+B-\frac{B}{N}\right). N + T ( pN + ( 1 − p ) B ) = N + T ( 1 + B − N B ) .
In particular, setting B = 1 B = 1 B = 1 gives
N T O T = O ( ν 2 ϵ 2 + Δ L ϵ 2 + Δ L p a i r ϵ 2 + Δ L p a i r ν ϵ 3 ) = O ( ϵ − 3 ) . N_{\mathrm{TOT}} = O\left(\frac{\nu^2}{\epsilon^2} + \frac{\Delta L}{\epsilon^2} + \frac{\Delta L_{\mathrm{pair}}}{\epsilon^2} + \frac{\Delta L_{\mathrm{pair}}\nu}{\epsilon^3}\right) = O(\epsilon^{-3}). N TOT = O ( ϵ 2 ν 2 + ϵ 2 Δ L + ϵ 2 Δ L pair + ϵ 3 Δ L pair ν ) = O ( ϵ − 3 ) .
Proof. Let
e t : = v t − ∇ J ( θ t ) . e_t := v_t - \nabla J(\theta_t). e t := v t − ∇ J ( θ t ) .
Conditionally on the history up to iteration t t t , a large-batch refresh consists of N N N independent calls to the oracle of Assumption 2. Hence, on a refresh iteration,
E [ ∥ e t + 1 ∥ 2 ∣ θ t + 1 ] ≤ ν 2 N . \mathbb{E}\left[\lVert e_{t+1}\rVert^2 \mid\theta_{t+1}\right] \le\frac{\nu^2}{N}. E [ ∥ e t + 1 ∥ 2 ∣ θ t + 1 ] ≤ N ν 2 .
On a recursive iteration, the two outputs of each coupled call are unbiased for ∇ J ( θ t + 1 ) \nabla J(\theta_{t+1}) ∇ J ( θ t + 1 ) and ∇ J ( θ t ) \nabla J(\theta_t) ∇ J ( θ t ) , respectively. Since the B B B coupled calls are independent, Assumption 3 gives
E [ ∥ e t + 1 ∥ 2 ] ≤ E [ ∥ e t ∥ 2 ] + L p a i r 2 B E [ ∥ θ t + 1 − θ t ∥ 2 ] . \mathbb{E}\left[\lVert e_{t+1}\rVert^2\right] \le\mathbb{E}\left[\lVert e_t\rVert^2\right] + \frac{L_{\mathrm{pair}}^2}{B}\mathbb{E}\left[\lVert\theta_{t+1}-\theta_t\rVert^2\right]. E [ ∥ e t + 1 ∥ 2 ] ≤ E [ ∥ e t ∥ 2 ] + B L pair 2 E [ ∥ θ t + 1 − θ t ∥ 2 ] .
Combining the two cases and using θ t + 1 − θ t = η v t \theta_{t+1}-\theta_t = \eta v_t θ t + 1 − θ t = η v t yields
E [ ∥ e t + 1 ∥ 2 ] ≤ ( 1 − p ) E [ ∥ e t ∥ 2 ] + ( 1 − p ) L p a i r 2 η 2 B E [ ∥ v t ∥ 2 ] + p ν 2 N . (9) \mathbb{E}\left[\lVert e_{t+1}\rVert^2\right] \le(1-p)\mathbb{E}\left[\lVert e_t\rVert^2\right] + \frac{(1-p)L_{\mathrm{pair}}^2\eta^2}{B}\mathbb{E}\left[\lVert v_t\rVert^2\right] + \frac{p\nu^2}{N}. \tag*{(9)} E [ ∥ e t + 1 ∥ 2 ] ≤ ( 1 − p ) E [ ∥ e t ∥ 2 ] + B ( 1 − p ) L pair 2 η 2 E [ ∥ v t ∥ 2 ] + N p ν 2 . (9)
Since v 0 v_0 v 0 is the average of N N N independent one-policy oracle calls,
E [ ∥ e 0 ∥ 2 ] ≤ ν 2 N . \mathbb{E}\left[\lVert e_0\rVert^2\right] \le\frac{\nu^2}{N}. E [ ∥ e 0 ∥ 2 ] ≤ N ν 2 .
Summing Equation (9) for t = 0 , … , T − 1 t = 0, \ldots, T - 1 t = 0 , … , T − 1 gives
∑ t = 0 T − 1 E [ ∥ e t ∥ 2 ] ≤ ν 2 p N + ( 1 − p ) L p a i r 2 η 2 p B ∑ t = 0 T − 1 E [ ∥ v t ∥ 2 ] + T ν 2 N . (10) \sum_{t=0}^{T-1} \mathbb{E}\left[\lVert e_t\rVert^2\right] \le\frac{\nu^2}{pN} + \frac{(1-p)L_{\mathrm{pair}}^2\eta^2}{pB}\sum_{t=0}^{T-1}\mathbb{E}\left[\lVert v_t\rVert^2\right] + \frac{T\nu^2}{N}. \tag*{(10)} t = 0 ∑ T − 1 E [ ∥ e t ∥ 2 ] ≤ pN ν 2 + pB ( 1 − p ) L pair 2 η 2 t = 0 ∑ T − 1 E [ ∥ v t ∥ 2 ] + N T ν 2 . (10)
By Assumption 1,
J ( θ t + 1 ) ≥ J ( θ t ) + η ⟨ ∇ J ( θ t ) , v t ⟩ − L η 2 2 ∥ v t ∥ 2 = J ( θ t ) + η 2 ∥ ∇ J ( θ t ) ∥ 2 − η 2 ∥ e t ∥ 2 + η 2 ( 1 − L η ) ∥ v t ∥ 2 . (11) \begin{aligned}
J(\theta_{t+1}) \ge J(\theta_t) + \eta\langle\nabla J(\theta_t),v_t\rangle- \frac{L\eta^2}{2}\lVert v_t\rVert^2 \\
&= J(\theta_t) + \frac{\eta}{2}\lVert\nabla J(\theta_t)\rVert^2 - \frac{\eta}{2}\lVert e_t\rVert^2 + \frac{\eta}{2}(1-L\eta)\lVert v_t\rVert^2. \tag*{(11)}
\end{aligned} J ( θ t + 1 ) ≥ J ( θ t ) + η ⟨ ∇ J ( θ t ) , v t ⟩ − 2 L η 2 ∥ v t ∥ 2 = J ( θ t ) + 2 η ∥ ∇ J ( θ t ) ∥ 2 − 2 η ∥ e t ∥ 2 + 2 η ( 1 − L η ) ∥ v t ∥ 2 . (11)
Summing Equation (11) , using J ( θ T ) − J ( θ 0 ) ≤ Δ J(\theta_T)-J(\theta_0)\le\Delta J ( θ T ) − J ( θ 0 ) ≤ Δ , and substituting Equation (10) , we obtain
η 2 ∑ t = 0 T − 1 E [ ∥ ∇ J ( θ t ) ∥ 2 ] ≤ Δ + η ν 2 2 p N + η T ν 2 2 N + η 2 ( ( 1 − p ) L p a i r 2 η 2 p B − ( 1 − L η ) ) ∑ t = 0 T − 1 E [ ∥ v t ∥ 2 ] . \frac{\eta}{2}\sum_{t=0}^{T-1}\mathbb{E}\left[\lVert\nabla J(\theta_t)\rVert^2\right] \le\Delta+ \frac{\eta\nu^2}{2pN} + \frac{\eta T\nu^2}{2N}
+ \frac{\eta}{2}\left(\frac{(1-p)L_{\mathrm{pair}}^2\eta^2}{pB}-(1-L\eta)\right)\sum_{t=0}^{T-1}\mathbb{E}\left[\lVert v_t\rVert^2\right]. 2 η t = 0 ∑ T − 1 E [ ∥ ∇ J ( θ t ) ∥ 2 ] ≤ Δ + 2 pN η ν 2 + 2 N η T ν 2 + 2 η ( pB ( 1 − p ) L pair 2 η 2 − ( 1 − L η ) ) t = 0 ∑ T − 1 E [ ∥ v t ∥ 2 ] .
For p = 1 / N p = 1/N p = 1/ N , let
a : = L p a i r N − 1 B . a := L_{\mathrm{pair}}\sqrt{\frac{N-1}{B}}. a := L pair B N − 1 .
The selected step size satisfies
L η + a 2 η 2 ≤ 1 2 , L\eta+ a^2\eta^2 \le\frac{1}{2}, L η + a 2 η 2 ≤ 2 1 ,
so the coefficient of ∑ t E [ ∥ v t ∥ 2 ] \sum_t\mathbb{E}[\lVert v_t\rVert^2] ∑ t E [∥ v t ∥ 2 ] is non-positive. Therefore,
1 T ∑ t = 0 T − 1 E [ ∥ ∇ J ( θ t ) ∥ 2 ] ≤ 2 Δ η T + ν 2 p N T + ν 2 N . \frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}\left[\lVert\nabla J(\theta_t)\rVert^2\right] \le\frac{2\Delta}{\eta T}+\frac{\nu^2}{pNT}+\frac{\nu^2}{N}. T 1 t = 0 ∑ T − 1 E [ ∥ ∇ J ( θ t ) ∥ 2 ] ≤ η T 2Δ + pN T ν 2 + N ν 2 .
By the choices of N N N , p p p , and T T T , each term on the right-hand side is at most ϵ 2 / 3 \epsilon^2/3 ϵ 2 /3 . Since θ O U T \theta_{\mathrm{OUT}} θ OUT is selected uniformly,
E [ ∥ ∇ J ( θ O U T ) ∥ 2 ] ≤ ϵ 2 . \mathbb{E}\left[\left\|\nabla J(\theta_{\mathrm{OUT}})\right\|^2\right] \le\epsilon^2. E [ ∥ ∇ J ( θ OUT ) ∥ 2 ] ≤ ϵ 2 .
Jensen’s inequality gives the guarantee in expected norm.
Initialization costs N N N one-policy calls. Every subsequent iteration uses, in expectation,
p N + ( 1 − p ) B = 1 + B − B N pN + (1-p)B = 1 + B - \frac{B}{N} pN + ( 1 − p ) B = 1 + B − N B
oracle calls, proving the stated complexity.
Corollary 1 (Choice of the defensive parameter). Among the defensive realizations in Theorem 6 , the stated upper bound is minimized by α = 1 / 2 \alpha= 1/2 α = 1/2 .
Proof. The quantities M 4 M_4 M 4 , M 5 M_5 M 5 , R max R_{\max} R m a x , C 1 C_1 C 1 , and L S L_S L S are independent of α \alpha α . Hence, the dependence of the bound in Lemma 4 on the defensive parameter is entirely through
1 m α = 1 min { α , 1 − α } . \frac{1}{m_\alpha} = \frac{1}{\min\{\alpha,1-\alpha\}}. m α 1 = min { α , 1 − α } 1 .
This quantity is minimized when
α = 1 − α , \alpha= 1-\alpha, α = 1 − α ,
that is, at α = 1 / 2 \alpha= 1/2 α = 1/2 .
Proofs of the Lower Bounds
We first record the consequences of the stochastic-optimization lower bounds of Arjevani et al (2023) needed here. We then show that their oracle feedback can be represented exactly by the reward-score experiments of Propositions 7 and 8 .
Source stochastic-optimization lower bounds
The oracle model of Arjevani et al (2023, Section 2) returns the exact objective value together with a stochastic gradient. For a batch ( θ 1 , … , θ K ) (\theta_1,\ldots,\theta_K) ( θ 1 , … , θ K ) , it draws one random seed Z Z Z and returns
( J ( θ k ) , g ( θ k , Z ) ) k = 1 K . \left(J(\theta_k),g(\theta_k,Z)\right)_{k=1}^{K}. ( J ( θ k ) , g ( θ k , Z ) ) k = 1 K .
Thus, the K K K stochastic-gradient evaluations within one round share the same seed. Their complexity measure counts the number of such rounds, with K K K treated as fixed.
Proposition 12 (Consequence of Arjevani et al (2023)). There exist numerical constants Δ 0 \Delta_0 Δ 0 , L 0 L_0 L 0 , σ 0 \sigma_0 σ 0 , L ‾ 0 \overline{L}_0 L 0 , ϵ 0 \epsilon_0 ϵ 0 , c ‾ B V \overline{c}_{\mathrm{BV}} c BV , c ‾ M S S > 0 \overline{c}_{\mathrm{MSS}} > 0 c MSS > 0 , independent of ϵ \epsilon ϵ , with the following properties. For every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) , there is a dimension d d d and a distribution P ϵ B V \mathbb{P}^{\mathrm{BV}}_\epsilon P ϵ BV over stochastic-optimization instances. Each instance consists of a differentiable maximization objective J : R d → R J:\mathbb{R}^d \to\mathbb{R} J : R d → R , a seed distribution P \mathbb{P} P on Z \mathcal{Z} Z , and a sample objective f : R d × Z → R f:\mathbb{R}^d \times\mathcal{Z} \to\mathbb{R} f : R d × Z → R such that
J ( θ ) = E Z ∼ P [ f ( θ , Z ) ] , g ( θ , Z ) = ∇ f ( θ , Z ) . J(\theta) = \mathbb{E}_{Z\sim\mathbb{P}}[f(\theta,Z)], \qquad g(\theta,Z) = \nabla f(\theta,Z). J ( θ ) = E Z ∼ P [ f ( θ , Z )] , g ( θ , Z ) = ∇ f ( θ , Z ) . Every instance in the support of P ϵ B V \mathbb{P}^{\mathrm{BV}}_\epsilon P ϵ BV satisfies:
J ⋆ − J ( 0 ) ≤ Δ 0 J^\star- J(0) \le\Delta_0 J ⋆ − J ( 0 ) ≤ Δ 0 and J J J is L 0 L_0 L 0 -smooth;
E Z [ g ( θ , Z ) ] = ∇ J ( θ ) \mathbb{E}_Z[g(\theta,Z)] = \nabla J(\theta) E Z [ g ( θ , Z )] = ∇ J ( θ ) ;
E Z [ ∥ g ( θ , Z ) − ∇ J ( θ ) ∥ 2 ] ≤ σ 0 2 \mathbb{E}_Z[\lVert g(\theta,Z) - \nabla J(\theta)\rVert^2] \le\sigma_0^2 E Z [∥ g ( θ , Z ) − ∇ J ( θ ) ∥ 2 ] ≤ σ 0 2 .
For every randomized adaptive algorithm using the oracle with K = 1 K = 1 K = 1 , if the source instance is drawn from P ϵ B V \mathrm{P}_{\epsilon}^{\mathrm{BV}} P ϵ BV and the algorithm uses fewer than c ˉ B V ϵ − 4 \bar{c}_{\mathrm{BV}}\epsilon^{-4} c ˉ BV ϵ − 4 rounds, then E [ ∥ ∇ J ( θ O U T ) ∥ ] > ϵ \mathbb{E}[\lVert\nabla J(\theta_{\mathrm{OUT}})\rVert] > \epsilon E [∥ ∇ J ( θ OUT )∥] > ϵ . Here and below, the expectation includes the random draw of the source instance, the oracle randomness, and the internal randomness of the algorithm.
There is also a distribution P ϵ M S S \mathrm{P}_{\epsilon}^{\mathrm{MSS}} P ϵ MSS over stochastic-optimization instances satisfying the preceding properties and
E Z [ ∥ g ( θ , Z ) − g ( θ ′ , Z ) ∥ 2 ] ≤ L 0 2 ∥ θ − θ ′ ∥ 2 . \mathbb{E}_{Z}\left[\lVert g(\theta,Z)-g(\theta',Z)\rVert^{2}\right] \leq L_{0}^{2}\lVert\theta-\theta'\rVert^{2}. E Z [ ∥ g ( θ , Z ) − g ( θ ′ , Z ) ∥ 2 ] ≤ L 0 2 ∥ θ − θ ′ ∥ 2 .
For every randomized adaptive algorithm using the shared-seed oracle with K = 2 K = 2 K = 2 , if the source instance is drawn from P ϵ M S S \mathrm{P}_{\epsilon}^{\mathrm{MSS}} P ϵ MSS and the algorithm uses fewer than c ˉ M S S ϵ − 3 \bar{c}_{\mathrm{MSS}}\epsilon^{-3} c ˉ MSS ϵ − 3 rounds, then E [ ∥ ∇ J ( θ O U T ) ∥ ] > ϵ \mathbb{E}[\lVert\nabla J(\theta_{\mathrm{OUT}})\rVert] > \epsilon E [∥ ∇ J ( θ OUT )∥] > ϵ .
Proof. Theorem 3 of Arjevani et al. (2023) lower-bounds the distributional complexities defined in their Equations (7)–(8). In these definitions, the suprema over the oracle and the distribution over objectives precede the infimum over randomized algorithms. Consequently, for every fixed K K K and target accuracy ϵ \epsilon ϵ , their construction provides an oracle and a distribution over objectives that are chosen independently of the algorithm.
Theorem 3 gives the lower bounds
Ω ( Δ L σ 2 ϵ − 4 ) \Omega(\Delta L\sigma^{2}\epsilon^{-4}) Ω ( Δ L σ 2 ϵ − 4 )
in the bounded-variance regime and
Ω ( Δ L ˉ σ ϵ − 3 + σ 2 ϵ − 2 ) \Omega(\Delta\bar{L}\sigma\epsilon^{-3}+\sigma^{2}\epsilon^{-2}) Ω ( Δ L ˉ σ ϵ − 3 + σ 2 ϵ − 2 )
in the mean-square-smooth regime, for every fixed number K K K of simultaneous queries.
Fixing positive numerical values of Δ \Delta Δ , L L L , σ \sigma σ , and L ‾ \overline{L} L gives the stated powers of ϵ \epsilon ϵ , with constants independent of ϵ \epsilon ϵ .
Proposition 1 of Arjevani et al. (2023) shows that Theorem 3 remains valid when the oracle is restricted to statistical-learning instances satisfying
g ( θ , Z ) = ∇ f ( θ , Z ) , J ( θ ) ≡ E Z [ f ( θ , Z ) ] . g(\theta,Z)=\nabla f(\theta,Z), \qquad J(\theta)\equiv\mathbb{E}_{Z}[f(\theta,Z)]. g ( θ , Z ) = ∇ f ( θ , Z ) , J ( θ ) ≡ E Z [ f ( θ , Z )] .
Their results are stated for minimization; replacing both the population and sample objectives by their negatives gives the maximization formulation above without changing any gradient norm, variance, or mean-square-smoothness constant. □ \square □
Proofs of the Gaussian realization results
Proof of Proposition 7. Let A = R \mathcal{A}=\mathbb{R} A = R and
S = ( { a c t } × Z ) ∪ { s p a y , s a b s } . \mathcal{S}=(\{\mathrm{act}\}\times\mathcal{Z})\cup\{s_{\mathrm{pay}},s_{\mathrm{abs}}\}. S = ({ act } × Z ) ∪ { s pay , s abs } .
The initial state is S 0 = ( a c t , Z ) S_0=(\mathrm{act},Z) S 0 = ( act , Z ) , where Z ∼ P Z\sim\mathbb{P} Z ∼ P . Define
π θ ( ⋅ ∣ s ) = { N ( f ( θ , z ) , 1 ) , s = ( a c t , z ) , N ( 0 , 1 ) , s ∈ { s p a y , s a b s } . \pi_\theta(\cdot\mid s)=
\begin{cases}
\mathcal{N}(f(\theta,z),1), & s=(\mathrm{act},z),\\
\mathcal{N}(0,1), & s\in\{s_{\mathrm{pay}},s_{\mathrm{abs}}\}.
\end{cases} π θ ( ⋅ ∣ s ) = { N ( f ( θ , z ) , 1 ) , N ( 0 , 1 ) , s = ( act , z ) , s ∈ { s pay , s abs } .
The transitions are deterministic: ( a c t , z ) → s p a y → s a b s (\mathrm{act},z)\to s_{\mathrm{pay}}\to s_{\mathrm{abs}} ( act , z ) → s pay → s abs , with s a b s s_{\mathrm{abs}} s abs absorbing. Define
r θ ( s , a ) = { a − f ( θ , z ) , s = ( a c t , z ) , F ( θ ) / γ , s = s p a y , 0 , s = s a b s . r_\theta(s,a)=
\begin{cases}
a-f(\theta,z), & s=(\mathrm{act},z),\\
F(\theta)/\gamma, & s=s_{\mathrm{pay}},\\
0, & s=s_{\mathrm{abs}}.
\end{cases} r θ ( s , a ) = ⎩ ⎨ ⎧ a − f ( θ , z ) , F ( θ ) / γ , 0 , s = ( act , z ) , s = s pay , s = s abs .
Writing A 0 = f ( θ , Z ) + ξ A_0=f(\theta,Z)+\xi A 0 = f ( θ , Z ) + ξ with ξ ∼ N ( 0 , 1 ) \xi\sim\mathcal{N}(0,1) ξ ∼ N ( 0 , 1 ) gives R 1 = ξ R_1=\xi R 1 = ξ and R 2 = F ( θ ) / γ R_2=F(\theta)/\gamma R 2 = F ( θ ) / γ . Hence,
E θ [ ∑ h = 0 ∞ γ h R h + 1 ] = E [ ξ + γ F ( θ ) γ ] = F ( θ ) . \mathbb{E}_{\theta}\left[\sum_{h=0}^{\infty}\gamma^h R_{h+1}\right]=\mathbb{E}\left[\xi+\gamma\frac{F(\theta)}{\gamma}\right]=F(\theta). E θ [ h = 0 ∑ ∞ γ h R h + 1 ] = E [ ξ + γ γ F ( θ ) ] = F ( θ ) .
At the active state, S θ , 0 = ξ ∇ f ( θ , Z ) S_{\theta,0}=\xi\nabla f(\theta,Z) S θ , 0 = ξ ∇ f ( θ , Z ) . The dummy policies are parameter-independent, so S θ , h = 0 S_{\theta,h}=0 S θ , h = 0 for every h ≥ 1 h\ge1 h ≥ 1 . Therefore, the observable record has the stated form. Since P ( ξ = 0 ) = 0 \mathbb{P}(\xi=0)=0 P ( ξ = 0 ) = 0 , the decoder returns ∇ f ( θ , Z ) \nabla f(\theta,Z) ∇ f ( θ , Z ) almost surely.
Proof of Proposition 8 . For a coupled query ( θ , θ ′ ) (\theta,\theta') ( θ , θ ′ ) , use the same Z Z Z and ξ \xi ξ in the two active states. The resulting records are
Y 1 = ( ( ξ , ξ ∇ f ( θ , Z ) ) , ( F ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , \mathcal{Y}_1=((\xi,\xi\nabla f(\theta,Z)),(F(\theta)/\gamma,0),(0,0),(0,0),\ldots), Y 1 = (( ξ , ξ ∇ f ( θ , Z )) , ( F ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) ,
Y 2 = ( ( ξ , ξ ∇ f ( θ ′ , Z ) ) , ( F ( θ ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . \mathcal{Y}_2=((\xi,\xi\nabla f(\theta',Z)),(F(\theta')/\gamma,0),(0,0),(0,0),\ldots). Y 2 = (( ξ , ξ ∇ f ( θ ′ , Z )) , ( F ( θ ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) .
Their decoded samples are ∇ f ( θ , Z ) \nabla f(\theta,Z) ∇ f ( θ , Z ) and ∇ f ( θ ′ , Z ) \nabla f(\theta',Z) ∇ f ( θ ′ , Z ) almost surely. The result follows from the assumed mean-square-smoothness inequality.
Proof of Corollary 2. The decoded one-policy sample is ∇ f ( θ , Z ) \nabla f(\theta,Z) ∇ f ( θ , Z ) almost surely. By assumption, its expectation is ∇ F ( θ ) \nabla F(\theta) ∇ F ( θ ) , and its mean-square error is at most σ 2 \sigma^2 σ 2 . Hence it satisfies Assumption 2. The coupled samples are unbiased by the same assumption, while their mean-square difference is controlled by Proposition 8 .
The source lower bound in Proposition 12 already allows the algorithm to observe J ( θ ) J(\theta) J ( θ ) exactly. In our simulation, this value appears as the payment-state reward J ( θ ) / γ J(\theta)/\gamma J ( θ ) / γ .
Simulation of complete reward-score feedback
The next lemma makes the reduction explicit at the level of the complete reward-score record, including the information contained separately in the rewards and policy scores.
Lemma 13 (Reward-score simulation). Let J ( θ ) = E Z [ f ( θ , Z ) ] J(\theta) = \mathbb{E}_{Z}[f(\theta, Z)] J ( θ ) = E Z [ f ( θ , Z )] and g ( θ , Z ) = ∇ f ( θ , Z ) g(\theta, Z) = \nabla f(\theta, Z) g ( θ , Z ) = ∇ f ( θ , Z ) . Given a source response ( J ( θ ) , g ( θ , Z ) ) (J(\theta), g(\theta, Z)) ( J ( θ ) , g ( θ , Z )) , draw ξ ∼ N ( 0 , 1 ) \xi\sim\mathcal{N}(0,1) ξ ∼ N ( 0 , 1 ) independently and return
Y ( θ ; Z , ξ ) = ( ( ξ , ξ g ( θ , Z ) ) , ( J ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . \mathcal{Y}(\theta; Z,\xi) = ((\xi,\xi g(\theta,Z)),(J(\theta)/\gamma,0),(0,0),(0,0),\ldots). Y ( θ ; Z , ξ ) = (( ξ , ξ g ( θ , Z )) , ( J ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . Given the shared-seed responses at θ \theta θ and θ ′ \theta' θ ′ , use the same ξ \xi ξ and return
Y 1 = ( ( ξ , ξ g ( θ , Z ) ) , ( J ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , \mathcal{Y}_1 = ((\xi,\xi g(\theta,Z)),(J(\theta)/\gamma,0),(0,0),(0,0),\ldots), Y 1 = (( ξ , ξ g ( θ , Z )) , ( J ( θ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , Y 2 = ( ( ξ , ξ g ( θ ′ , Z ) ) , ( J ( θ ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . \mathcal{Y}_2 = ((\xi,\xi g(\theta',Z)),(J(\theta')/\gamma,0),(0,0),(0,0),\ldots). Y 2 = (( ξ , ξ g ( θ ′ , Z )) , ( J ( θ ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . These are exact simulations of the complete reward-score records in Propositions 7 and 8.
Proof. Introduce the active action A 0 = f ( θ , Z ) + ξ A_0 = f(\theta,Z) + \xi A 0 = f ( θ , Z ) + ξ . Its score is ξ g ( θ , Z ) \xi g(\theta,Z) ξ g ( θ , Z ) and its reward is R 1 = ξ R_1 = \xi R 1 = ξ . At the payment state, the policy score is zero and the reward is R 2 = J ( θ ) / γ R_2 = J(\theta)/\gamma R 2 = J ( θ ) / γ . At every subsequent step, both the reward and the policy score are zero. Conversely, the source response is recovered almost surely as J ( θ ) = γ R 2 J(\theta) = \gamma R_2 J ( θ ) = γ R 2 and g ( θ , Z ) = S θ , 0 / R 1 g(\theta,Z) = S_{\theta,0}/R_1 g ( θ , Z ) = S θ , 0 / R 1 . The coupled case is identical at each endpoint. □ \square □
Under the decoder specified in Proposition 7, the one-policy sample associated with Lemma 13 is g ^ ( θ ; Z , ξ ) = g ( θ , Z ) \widehat{g}(\theta;Z,\xi) = g(\theta,Z) g ( θ ; Z , ξ ) = g ( θ , Z ) almost surely. Consequently, the instances in Proposition 12 satisfy Assumption 2 with ν 0 2 = σ 0 2 \nu_0^2 = \sigma_0^2 ν 0 2 = σ 0 2 and, in the mean-square-smooth regime, Assumption 3 with L p a i r , 0 2 = L ‾ 0 2 L_{\mathrm{pair},0}^2 = \overline{L}_0^2 L pair , 0 2 = L 0 2 . These constants are independent of ϵ \epsilon ϵ .
Proof of Theorem 9
Theorem 9 (One-policy oracle lower bound). There exist numerical constants L 0 , ν 0 , Δ 0 , ϵ 0 , c B V > 0 L_0,\nu_0,\Delta_0,\epsilon_0,c_{\mathrm{BV}}>0 L 0 , ν 0 , Δ 0 , ϵ 0 , c BV > 0 , independent of ϵ \epsilon ϵ , such that, for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) , there exist a dimension d d d and a distribution Q ϵ B V Q^{\mathrm{BV}}_\epsilon Q ϵ BV over black-box policy-optimization instances on Θ = R d \Theta= \mathbb{R}^d Θ = R d , each having the following properties:
The policy class is the Gaussian policy class described in Proposition 7;
The performance function satisfies Assumption 1 with L = L 0 L=L_0 L = L 0 and has initial gap Δ ≤ Δ 0 \Delta\le\Delta_0 Δ ≤ Δ 0 ;
The completed one-policy samples satisfy Assumption 2 with ν = ν 0 \nu=\nu_0 ν = ν 0 .
For every possibly randomized adaptive algorithm operating under the one-policy feedback model of Definition 2, if T < c B V ϵ − 4 T<c_{\mathrm{BV}}\epsilon^{-4} T < c BV ϵ − 4 , then
E I ∼ Q ϵ B V [ ∥ ∇ J I ( θ O U T ) ∥ ] > ϵ , \mathbb{E}_{I\sim Q^{\mathrm{BV}}_\epsilon}\left[\lVert\nabla J_I(\theta_{\mathrm{OUT}})\rVert\right]>\epsilon, E I ∼ Q ϵ BV [ ∥ ∇ J I ( θ OUT )∥ ] > ϵ , where the expectation also includes the black-box feedback and the internal randomness of the algorithm. Consequently, for every such algorithm there exists an instance in the support of Q ϵ B V Q^{\mathrm{BV}}_\epsilon Q ϵ BV on which finding an ϵ \epsilon ϵ -FOSP requires Ω ( ϵ − 4 ) \Omega(\epsilon^{-4}) Ω ( ϵ − 4 ) one-policy calls.
Proof. Set c B V : = c ˉ B V / 2 c_{\mathrm{BV}}:=\bar{c}_{\mathrm{BV}}/2 c BV := c ˉ BV /2 and decrease ϵ 0 \epsilon_0 ϵ 0 , if necessary, so that 1 ≤ c B V ϵ − 4 1\le c_{\mathrm{BV}}\epsilon^{-4} 1 ≤ c BV ϵ − 4 for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) . Fix ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) and denote by P ϵ B V P^{\mathrm{BV}}_\epsilon P ϵ BV the distribution over bounded-variance stochastic-optimization instances in the first part of Proposition 12 . For every instance in its support, apply Proposition 7 with the corresponding sample function f f f . Let Q ϵ B V Q^{\mathrm{BV}}_\epsilon Q ϵ BV be the resulting pushforward distribution over black-box policy-optimization instances.
The smoothness and initial-gap claims hold for every instance in the support by Proposition 12 . The bounded-variance oracle claim follows from Corollary 2, with ν 0 2 = σ 0 2 \nu_0^2=\sigma_0^2 ν 0 2 = σ 0 2 . Suppose, toward a contradiction, that a randomized adaptive algorithm A \mathcal{A} A operating under Definition 2 uses fewer than c B V ϵ − 4 c_{\mathrm{BV}}\epsilon^{-4} c BV ϵ − 4 calls and satisfies
E I ∼ Q ϵ B V [ ∥ ∇ J I ( θ O U T ) ∥ ] ≤ ϵ . \mathbb{E}_{I\sim Q_{\epsilon}^{\mathrm{BV}}}\left[\left\|\nabla\mathcal{J}_{I}(\theta_{\mathrm{OUT}})\right\|\right]\leq\epsilon. E I ∼ Q ϵ BV [ ∥ ∇ J I ( θ OUT ) ∥ ] ≤ ϵ .
Construct a stochastic-optimization algorithm B \mathcal{B} B as follows. Whenever A \mathcal{A} A queries θ t \theta_t θ t , algorithm B \mathcal{B} B queries the source oracle at the same parameter and obtains ( J ( θ t ) , g ( θ t , Z t ) ) (J(\theta_t),g(\theta_t,Z_t)) ( J ( θ t ) , g ( θ t , Z t )) . It independently draws ξ t ∼ N ( 0 , 1 ) \xi_t\sim\mathcal{N}(0,1) ξ t ∼ N ( 0 , 1 ) , and returns to A \mathcal{A} A the record
( ( ξ t , ξ t g ( θ t , Z t ) ) , ( J ( θ t ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . \left((\xi_t,\xi_tg(\theta_t,Z_t)),(J(\theta_t)/\gamma,0),(0,0),(0,0),\ldots\right). ( ( ξ t , ξ t g ( θ t , Z t )) , ( J ( θ t ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) .
By Lemma 13 , the conditional distribution of every response is exactly the one prescribed by Definition 2. Hence the complete interaction history and the output of A \mathcal{A} A have the correct joint law.
If necessary, B \mathcal{B} B makes one final query at θ O U T \theta_{\mathrm{OUT}} θ OUT so that the output is one of its queried points, as required by the oracle protocol of Arjevani et al. (2023). Therefore, when the source instance is drawn from P ϵ B V P_{\epsilon}^{\mathrm{BV}} P ϵ BV , an algorithm using T T T black-box calls induces a stochastic-optimization algorithm using at most T + 1 T+1 T + 1 oracle rounds and having exactly the same expected gradient norm.
Since T < c B V ϵ − 4 T<c_{\mathrm{BV}}\epsilon^{-4} T < c BV ϵ − 4 and 1 ≤ c B V ϵ − 4 1\leq c_{\mathrm{BV}}\epsilon^{-4} 1 ≤ c BV ϵ − 4 ,
T + 1 < 2 c B V ϵ − 4 = c ‾ B V ϵ − 4 . T+1<2c_{\mathrm{BV}}\epsilon^{-4}=\overline{c}_{\mathrm{BV}}\epsilon^{-4}. T + 1 < 2 c BV ϵ − 4 = c BV ϵ − 4 .
This contradicts the first distributional lower bound in Proposition 12 . □ \square □
Proof of Theorem 10
Theorem 10 (Coupled two-policy oracle lower bound). There exist numerical constants L 0 , ν 0 , L p a i r , 0 , Δ 0 , ϵ 0 , c M S S > 0 L_0,\nu_0,L_{\mathrm{pair},0},\Delta_0,\epsilon_0,c_{\mathrm{MSS}}>0 L 0 , ν 0 , L pair , 0 , Δ 0 , ϵ 0 , c MSS > 0 , independent of ϵ \epsilon ϵ , such that, for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) , there exist a dimension d d d and a distribution Q ϵ M S S Q^{\mathrm{MSS}}_\epsilon Q ϵ MSS over black-box policy-optimization instances on Θ = R d \Theta=\mathbb{R}^d Θ = R d , each having the following properties:
The policy class is the Gaussian policy class described in Propositions 7 and 8 ;
The performance function satisfies Assumption 1 with L = L 0 L=L_0 L = L 0 and has initial gap Δ ≤ Δ 0 \Delta\le\Delta_0 Δ ≤ Δ 0 ;
The completed one-policy samples satisfy Assumption 2 with ν = ν 0 \nu=\nu_0 ν = ν 0 ;
The coupled samples satisfy Assumption 3 with L p a i r = L p a i r , 0 L_{\mathrm{pair}}=L_{\mathrm{pair},0} L pair = L pair , 0 .
For every possibly randomized adaptive algorithm operating under the coupled feedback model of Definition 3, if the total number of black-box calls satisfies T < c M S S ϵ − 3 T<c_{\mathrm{MSS}}\epsilon^{-3} T < c MSS ϵ − 3 , then
E I ∼ Q ϵ M S S [ ∥ ∇ J I ( θ O U T ) ∥ ] > ϵ , \mathbb{E}_{I\sim Q^{\mathrm{MSS}}_\epsilon}\left[\left\lVert\nabla J_I(\theta_{\mathrm{OUT}})\right\rVert\right]>\epsilon, E I ∼ Q ϵ MSS [ ∥ ∇ J I ( θ OUT ) ∥ ] > ϵ , where the expectation also includes the black-box feedback and the internal randomness of the algorithm. Here, either a one-policy experiment or a coupled two-policy experiment counts as one black-box call. Consequently, for every such algorithm there exists an instance in the support of Q ϵ M S S Q^{\mathrm{MSS}}_\epsilon Q ϵ MSS on which finding an ϵ \epsilon ϵ -FOSP requires Ω ( ϵ − 3 ) \Omega(\epsilon^{-3}) Ω ( ϵ − 3 ) black-box calls.
Proof. Set c M S S : = c ˉ M S S / 2 c_{\mathrm{MSS}}:=\bar{c}_{\mathrm{MSS}}/2 c MSS := c ˉ MSS /2 and decrease ϵ 0 \epsilon_0 ϵ 0 , if necessary, so that 1 ≤ c M S S ϵ − 3 1\le c_{\mathrm{MSS}}\epsilon^{-3} 1 ≤ c MSS ϵ − 3 for every ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) . Fix ϵ ∈ ( 0 , ϵ 0 ) \epsilon\in(0,\epsilon_0) ϵ ∈ ( 0 , ϵ 0 ) and denote by P ϵ M S S P^{\mathrm{MSS}}_\epsilon P ϵ MSS the distribution over mean-square-smooth stochastic-optimization instances in the second part of Proposition 12 . For every instance in its support, apply Propositions 7 and 8 with the corresponding sample function f f f , and the resulting discounted performance function is J J J by
Proposition 7. Let Q ϵ M S S Q_{\epsilon}^{\mathrm{MSS}} Q ϵ MSS be the resulting pushforward distribution over black-box policy-optimization instances.
Proposition 12 and Corollary 2 verify Assumptions 1 and 2 for every instance in the support. Proposition 8 verifies Assumption 3, with L p a i r , 0 2 = L ‾ 0 2 L_{\mathrm{pair},0}^{2}=\overline{L}_{0}^{2} L pair , 0 2 = L 0 2 .
Suppose, toward a contradiction, that a randomized adaptive algorithm A \mathcal{A} A operating under Definition 3 uses fewer than c M S S ϵ − 3 c_{\mathrm{MSS}}\epsilon^{-3} c MSS ϵ − 3 black-box calls and satisfies
E I ∼ Q ϵ M S S [ ∥ ∇ J I ( θ O U T ) ∥ ] ≤ ϵ . \mathbb{E}_{I\sim Q_{\epsilon}^{\mathrm{MSS}}}\left[\left\lVert\nabla J_I(\theta_{\mathrm{OUT}})\right\rVert\right]\leq\epsilon. E I ∼ Q ϵ MSS [ ∥ ∇ J I ( θ OUT ) ∥ ] ≤ ϵ .
Construct an algorithm B \mathcal{B} B for the K = 2 K=2 K = 2 shared-seed oracle of Arjevani et al. (2023).
If A \mathcal{A} A makes a coupled query ( θ t , θ t ′ ) (\theta_t,\theta'_t) ( θ t , θ t ′ ) , algorithm B \mathcal{B} B queries the batch ( θ t , θ t ′ ) (\theta_t,\theta'_t) ( θ t , θ t ′ ) . It receives
( J ( θ t ) , g ( θ t , Z t ) ) , ( J ( θ t ′ ) , g ( θ t ′ , Z t ) ) , \left(J(\theta_t),g(\theta_t,Z_t)\right),\qquad\left(J(\theta'_t),g(\theta'_t,Z_t)\right), ( J ( θ t ) , g ( θ t , Z t ) ) , ( J ( θ t ′ ) , g ( θ t ′ , Z t ) ) ,
draws one independent ξ t ∼ N ( 0 , 1 ) \xi_t\sim\mathcal{N}(0,1) ξ t ∼ N ( 0 , 1 ) , and returns
( ( ξ t , ξ t g ( θ t , Z t ) ) , ( J ( θ t ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) , \left(\left(\xi_t,\xi_tg(\theta_t,Z_t)\right),\left(J(\theta_t)/\gamma,0\right),(0,0),(0,0),\ldots\right), ( ( ξ t , ξ t g ( θ t , Z t ) ) , ( J ( θ t ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) ,
( ( ξ t , ξ t g ( θ t ′ , Z t ) ) , ( J ( θ t ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) . \left(\left(\xi_t,\xi_tg(\theta'_t,Z_t)\right),\left(J(\theta'_t)/\gamma,0\right),(0,0),(0,0),\ldots\right). ( ( ξ t , ξ t g ( θ t ′ , Z t ) ) , ( J ( θ t ′ ) / γ , 0 ) , ( 0 , 0 ) , ( 0 , 0 ) , … ) .
If A \mathcal{A} A makes a one-policy query at θ t \theta_t θ t , algorithm B \mathcal{B} B queries the repeated batch ( θ t , θ t ) (\theta_t,\theta_t) ( θ t , θ t ) and returns the first simulated record.
By Lemma 13 , this procedure exactly simulates every complete reward-score record observed by A \mathcal{A} A . Moreover, one black-box call is simulated by one K = 2 K=2 K = 2 oracle round.
As in the proof of Theorem 9, at most one additional round is needed to query the final output.
Since T < c M S S ϵ − 3 T < c_{\mathrm{MSS}}\epsilon^{-3} T < c MSS ϵ − 3 and 1 ≤ c M S S ϵ − 3 1 \le c_{\mathrm{MSS}}\epsilon^{-3} 1 ≤ c MSS ϵ − 3 ,
T + 1 < 2 c M S S ϵ − 3 = c ‾ M S S ϵ − 3 . T + 1 < 2c_{\mathrm{MSS}}\epsilon^{-3} = \overline{c}_{\mathrm{MSS}}\epsilon^{-3}. T + 1 < 2 c MSS ϵ − 3 = c MSS ϵ − 3 .
This contradicts the second distributional lower bound in Proposition 12 .
Additional Defensive Policy-Gradient Variants
In this section, we provide pseudocode for the variants of DEF-PG based on SVRPG, SRVR-PG, and STORM-PG.
Algorithm 3 DEF-PG (SVRPG variant)
Input: initial parameter θ 0 \theta_0 θ 0 , number of epochs S S S , epoch length m m m , large batch size N N N , small batch size B B B , step size η > 0 \eta> 0 η > 0 , defensive parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 )
θ ~ 0 ← θ 0 \widetilde{\theta}^{0} \leftarrow\theta_0 θ 0 ← θ 0
for s = 0 , … , S − 1 s = 0,\ldots,S-1 s = 0 , … , S − 1 do
θ 0 s ← θ ~ s \theta_0^s \leftarrow\widetilde{\theta}^s θ 0 s ← θ s
for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do
Sample τ ~ i ∼ p ( ⋅ ∣ θ ~ s ) \widetilde{\tau}_i \sim p(\cdot\mid\widetilde{\theta}^s) τ i ∼ p ( ⋅ ∣ θ s )
end for
μ s ← 1 N ∑ i = 1 N g ( θ ~ s , τ ~ i ) \mu_s \leftarrow\frac{1}{N}\sum_{i=1}^{N} g(\widetilde{\theta}^s,\widetilde{\tau}_i) μ s ← N 1 ∑ i = 1 N g ( θ s , τ i )
v 0 s ← μ s v_0^s \leftarrow\mu_s v 0 s ← μ s
θ 1 s ← θ 0 s + η v 0 s \theta_1^s \leftarrow\theta_0^s + \eta v_0^s θ 1 s ← θ 0 s + η v 0 s
for t = 1 , … , m − 1 t = 1,\ldots,m-1 t = 1 , … , m − 1 do
for i = 1 , … , B i = 1,\ldots,B i = 1 , … , B do
Sample τ i ∼ q α , θ t s , θ ~ s \tau_i \sim q_{\alpha,\theta_t^s,\widetilde{\theta}^s} τ i ∼ q α , θ t s , θ s as in Algorithm 2
ω t , i s , + ← ω α ( θ t s , θ ~ s ; τ i ) \omega_{t,i}^{s,+} \leftarrow\omega_{\alpha}(\theta_t^s,\widetilde{\theta}^s;\tau_i) ω t , i s , + ← ω α ( θ t s , θ s ; τ i )
ω t , i s , − ← ω α ( θ ~ s , θ ~ s ; τ i ) \omega_{t,i}^{s,-} \leftarrow\omega_{\alpha}(\widetilde{\theta}^s,\widetilde{\theta}^s;\tau_i) ω t , i s , − ← ω α ( θ s , θ s ; τ i )
end for
v t s ← μ s + 1 B ∑ i = 1 B [ ω t , i s , + g ( θ t s , τ i ) − ω t , i s , − g ( θ ~ s , τ i ) ] v_t^s \leftarrow\mu_s + \frac{1}{B}\sum_{i=1}^{B}\left[\omega_{t,i}^{s,+}g(\theta_t^s,\tau_i)-\omega_{t,i}^{s,-}g(\widetilde{\theta}^s,\tau_i)\right] v t s ← μ s + B 1 ∑ i = 1 B [ ω t , i s , + g ( θ t s , τ i ) − ω t , i s , − g ( θ s , τ i ) ]
θ t + 1 s ← θ t s + η v t s \theta_{t+1}^s \leftarrow\theta_t^s + \eta v_t^s θ t + 1 s ← θ t s + η v t s
end for
θ ~ s + 1 ← θ m s \widetilde{\theta}^{s+1} \leftarrow\theta_m^s θ s + 1 ← θ m s
end for
Output: θ O U T \theta_{\mathrm{OUT}} θ OUT chosen uniformly from { θ t s : s = 0 , … , S − 1 , t = 0 , … , m − 1 } \{\theta_t^s : s = 0,\ldots,S-1,\ t = 0,\ldots,m-1\} { θ t s : s = 0 , … , S − 1 , t = 0 , … , m − 1 }
Algorithm 4 DEF-PG (SRVR-PG variant)
Input: initial parameter θ 0 \theta_0 θ 0 , number of epochs S S S , epoch length m m m , large batch size N N N , small batch size B B B , step size η > 0 \eta> 0 η > 0 , defensive parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 )
θ ~ 0 ← θ 0 \tilde{\theta}^{0} \leftarrow\theta_0 θ ~ 0 ← θ 0
for s = 0 , … , S − 1 s = 0,\ldots,S-1 s = 0 , … , S − 1 do
θ 0 s ← θ ~ s \theta_0^s \leftarrow\tilde{\theta}^s θ 0 s ← θ ~ s
for i = 1 , … , N i = 1,\ldots,N i = 1 , … , N do
Sample τ ˉ i ∼ p ( ⋅ ∣ θ ~ s ) \bar{\tau}_i \sim p(\cdot\mid\tilde{\theta}^s) τ ˉ i ∼ p ( ⋅ ∣ θ ~ s )
end for
v 0 s ← 1 N ∑ i = 1 N g ( θ ~ s , τ ˉ i ) v_0^s \leftarrow\frac{1}{N}\sum_{i=1}^{N} g(\tilde{\theta}^s,\bar{\tau}_i) v 0 s ← N 1 ∑ i = 1 N g ( θ ~ s , τ ˉ i )
θ 1 s ← θ 0 s + η v 0 s \theta_1^s \leftarrow\theta_0^s + \eta v_0^s θ 1 s ← θ 0 s + η v 0 s
for t = 1 , … , m − 1 t = 1,\ldots,m-1 t = 1 , … , m − 1 do
for i = 1 , … , B i = 1,\ldots,B i = 1 , … , B do
Sample τ i ∼ q α , θ t s , θ t − 1 s \tau_i \sim q_{\alpha,\theta_t^s,\theta_{t-1}^s} τ i ∼ q α , θ t s , θ t − 1 s as in Algorithm 2
ω t , i s , + ← ω α ( θ t s , θ t − 1 s ; τ i ) \omega_{t,i}^{s,+} \leftarrow\omega_\alpha(\theta_t^s,\theta_{t-1}^s;\tau_i) ω t , i s , + ← ω α ( θ t s , θ t − 1 s ; τ i )
ω t , i s , − ← ω α ′ ( θ t s , θ t − 1 s ; τ i ) \omega_{t,i}^{s,-} \leftarrow\omega'_\alpha(\theta_t^s,\theta_{t-1}^s;\tau_i) ω t , i s , − ← ω α ′ ( θ t s , θ t − 1 s ; τ i )
end for
v t s ← v t − 1 s + 1 B ∑ i = 1 B [ ω t , i s , + g ( θ t s , τ i ) − ω t , i s , − g ( θ t − 1 s , τ i ) ] v_t^s \leftarrow v_{t-1}^s + \frac{1}{B}\sum_{i=1}^{B}\left[\omega_{t,i}^{s,+}g(\theta_t^s,\tau_i)-\omega_{t,i}^{s,-}g(\theta_{t-1}^s,\tau_i)\right] v t s ← v t − 1 s + B 1 ∑ i = 1 B [ ω t , i s , + g ( θ t s , τ i ) − ω t , i s , − g ( θ t − 1 s , τ i ) ]
θ t + 1 s ← θ t s + η v t s \theta_{t+1}^s \leftarrow\theta_t^s + \eta v_t^s θ t + 1 s ← θ t s + η v t s
end for
θ ~ s + 1 ← θ m s \tilde{\theta}^{s+1} \leftarrow\theta_m^s θ ~ s + 1 ← θ m s
end for
Output: θ O U T \theta_{\mathrm{OUT}} θ OUT chosen uniformly from { θ t s : s = 0 , … , S − 1 , t = 0 , … , m − 1 } \{\theta_t^s : s = 0,\ldots,S-1,\ t = 0,\ldots,m-1\} { θ t s : s = 0 , … , S − 1 , t = 0 , … , m − 1 }
Algorithm 5 DEF-PG (STORM-PG variant)
Input: initial parameter θ 0 \theta_0 θ 0 , initial batch size N 0 N_0 N 0 , mini-batch size B B B , step size η > 0 \eta> 0 η > 0 , defensive parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , momentum parameter β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , number of iterations T T T
for i = 1 , … , N 0 i = 1,\ldots,N_0 i = 1 , … , N 0 do
Sample τ ˉ i ∼ p ( ⋅ ∣ θ 0 ) \bar{\tau}_i \sim p(\cdot\mid\theta_0) τ ˉ i ∼ p ( ⋅ ∣ θ 0 )
end for
v 0 ← 1 N 0 ∑ i = 1 N 0 g ( θ 0 , τ ˉ i ) v_0 \leftarrow\frac{1}{N_0}\sum_{i=1}^{N_0}g(\theta_0,\bar{\tau}_i) v 0 ← N 0 1 ∑ i = 1 N 0 g ( θ 0 , τ ˉ i )
for t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 do
θ t + 1 ← θ t + η v t \theta_{t+1} \leftarrow\theta_t + \eta v_t θ t + 1 ← θ t + η v t
for i = 1 , … , B i = 1,\ldots,B i = 1 , … , B do
Sample τ i ∼ q α , θ t + 1 , θ t \tau_i \sim q_{\alpha,\theta_{t+1},\theta_t} τ i ∼ q α , θ t + 1 , θ t as in Algorithm 2
ω t + 1 , i + ← ω α ( θ t + 1 , θ t ; τ i ) \omega_{t+1,i}^{+} \leftarrow\omega_\alpha(\theta_{t+1},\theta_t;\tau_i) ω t + 1 , i + ← ω α ( θ t + 1 , θ t ; τ i )
ω t , i − ← ω α ′ ( θ t + 1 , θ t ; τ i ) \omega_{t,i}^{-} \leftarrow\omega'_\alpha(\theta_{t+1},\theta_t;\tau_i) ω t , i − ← ω α ′ ( θ t + 1 , θ t ; τ i )
end for
v t + 1 ← ( 1 − β ) v t + 1 B ∑ i = 1 B [ ω t + 1 , i + g ( θ t + 1 , τ i ) − ( 1 − β ) ω t , i − g ( θ t , τ i ) ] v_{t+1} \leftarrow(1-\beta)v_t + \frac{1}{B}\sum_{i=1}^{B}\left[\omega_{t+1,i}^{+}g(\theta_{t+1},\tau_i)-(1-\beta)\omega_{t,i}^{-}g(\theta_t,\tau_i)\right] v t + 1 ← ( 1 − β ) v t + B 1 ∑ i = 1 B [ ω t + 1 , i + g ( θ t + 1 , τ i ) − ( 1 − β ) ω t , i − g ( θ t , τ i ) ]
end for
Output: θ O U T \theta_{\mathrm{OUT}} θ OUT chosen uniformly from { θ t } t = 0 T − 1 \{\theta_t\}_{t=0}^{T-1} { θ t } t = 0 T − 1