Manuscript Offprint
arXiv:2610.03165Sample complexity of variance-reduced policy gradient: weaker assumptions and lower bounds
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Several variance-reduced versions of REINFORCE based on importance sampling achieve an improved sample complexity to find an -stationary point, under an unrealistic assumption on the variance of the importance weights. In this paper, we propose the DEF-PG (Defensive Policy Gradient) algorithm, based on defensive importance sampling, which achieves the same rate without any assumption on the variance of ordinary importance weights. We also establish lower bounds in a generalized black-box policy-optimization model that hides states and actions and permits parameter-dependent rewards. In this model, the optimal rates are with bounded-variance one-policy feedback and 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 and upper bounds, respectively. Although the lower bounds do not apply directly to the classical MDP interaction model in which these algorithms operate, this correspondence provides oracle-level evidence that the faster rate of DEF-PG is optimal and genuinely separated from that of vanilla policy gradient.
1 Introduction
Policy gradient methods (PG) are a family of reinforcement learning algorithms (Sutton and Barto, 2018) that are particularly suited for large-scale decision and control problems. Recent applications of PG algorithms range from video games (Wurman et al, 2022), to robotics (Rudin et al, 2021), to large language models (OpenAI, 2023; Ahmadian et al, 2024), 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 (Agarwal et al, 2021) 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 -stationary point (Papini et al, 2018). More formally, if is a space of policy parameters and is an objective function measuring the performance of a policy, the goal is to find a such that
using as few samples as possible, or at least with a number of samples that is polynomial in and all relevant problem-dependent quantities. Alternatively, under stronger assumptions, one can study the number of samples necessary to find a globally optimal policy (Liu et al, 2020). However, since 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 -first-order-stationary points ( -FOSP). Furthermore, we will restrict our attention to policy gradient algorithms that use first-order information only, which are typically more computationally efficient (Fatkhullin et al, 2023).
The prototypical policy gradient algorithm is REINFORCE (Williams, 1992) and its sample complexity is . This simply follows from the sample complexity of stochastic gradient descent (Bertsekas and Tsitsiklis, 1996; Sutton et al, 1999), but the details were only worked out recently (see, e.g., Yuan et al, 2022). Variants of REINFORCE based on stochastic variance reduction, a technique originally developed for finite-sum optimization (Johnson and Zhang, 2013), can obtain a better sample complexity. The first algorithm to break the barrier was SVRPG (Papini et al, 2018), for which Xu et al (2019) proved sample complexity. A further improvement was achieved by SRVR-PG (Xu et al, 2020), with a sample complexity of . This is commonly believed to be optimal (e.g., Yuan et al, 2020) due to a lower bound for the related setting of nonconvex stochastic optimization (Arjevani et al, 2023), although the latter is not directly comparable with policy optimization. Several other algorithms followed: STORM-PG (Yuan et al, 2020), PAGE-PG (Gargiani et al, 2022), and others (Pham et al, 2020; Huang et al, 2020), all with 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 (Papini et al, 2018), 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 (Zhang et al, 2021). Notable exceptions are algorithms based on second-order information (Shen et al, 2019; Fatkhullin et al, 2023), and TSIVR-PG by Zhang et al (2021). The latter could remove the unrealistic assumption (while still using importance weights) by truncating the gradients. However, their upper bound only holds for softmax policy parametrizations, which are impractical for continuous action spaces. More recently Fatkhullin et al (2023) proposed an accelerated policy gradient algorithm that uses neither importance weighting nor second-order information. However, its sample complexity to find an -FOSP is . It is then only natural to ask the following question:
Can policy gradient algorithms achieve sample complexity to find an -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 (Owen and Zhou, 2000), a variant of importance weighting with naturally bounded variance. Although we build on existing variance-reduced policy gradient algorithms (Gargiani et al, 2022, 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 with bounded-variance one-policy feedback and 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 and 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.
Notation
For a measurable space , we denote by the set of probability measures over . We denote by the probability simplex over outcomes. We denote by the chi-square divergence between distributions and .
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 of an episode, the agent observes a state , performs an action , and receives a reward . We model this as a discounted Markov decision problem (Puterman, 2014), that is a 6-tuple . Here is a state space, which is either very large or continuous; is an action space, which may be discrete or continuous; is a transition probability kernel, such that (or the corresponding probability density); is a reward function, such that is a discount factor; and is the initial state distribution, such that (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 , with , or the corresponding probability density. The goal is to maximize the expected discounted return:
where the expectation is with respect to , , and .
In particular, we restrict our attention to parametric policies with parameter space . The corresponding policy space is , where each policy is parametrized by an element of . Throughout, we tacitly assume the standard regularity conditions for likelihood-ratio policy-gradient methods (Sutton et al, 1999), 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
In the following, will always denote the parametric objective function, that is, . We call it the performance function. Whenever , it satisfies for all .
In general, J is nonconvex, but it has the structure of an expectation under the trajectory distribution induced by the policy.
Remark 1 (Geometric stopping). For the estimators, we use an equivalent finite-trajectory representation of the discounted objective. Independently of the policy and the environment, terminate each episode after every transition with probability . If denotes the resulting trajectory length, then
We henceforth let denote the distribution of the stopped trajectory , and define its undiscounted stopped return by
Since the stopping rule is independent of the trajectory,
Thus, geometric stopping introduces no approximation or truncation bias. It also introduces no additional dependence on . If individual environment transitions are counted instead of trajectories, each oracle call has expected cost .
The performance function can therefore be written as
The stopped return is a fixed function of the trajectory and depends on only through the trajectory distribution . Both and the mapping are unknown to the agent.
We are interested in algorithms that run a sequence of policies , each for one or more independent episodes, collecting datasets of trajectories , where is a dataset of independent trajectories such that , with the aim of maximizing the unknown performance function from the collected data. Policy gradient algorithms (Williams, 1992) do this via stochastic gradient ascent:
where is a step size and is an estimate of the gradient of the performance function. In the following, we will omit the subscript since gradients are always with respect to the policy parameters. The simplest policy gradient algorithm is REINFORCE (Williams, 1992), which we present here in its refined version for Markov decision processes, known as GPOMDP (Baxter and Bartlett, 2001). Here is computed from the batch of trajectories collected with as follows
(1)
where the mapping is assumed to be differentiable with respect to . The GPOMDP gradient estimator is unbiased, that is, , and the same holds for 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 (Zhao et al, 2012; Papini et al, 2022), albeit infamously large. Common refinements of GPOMDP are variance-reducing baselines (Peters and Schaal, 2008) and actor-critic algorithms (Barto et al, 1983; Konda and Tsitsiklis, 1999; Sutton et al, 1999), 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, 2012). If is collected with a different policy , an unbiased estimator of is:
Note that is not an unbiased estimator for in this case since is collected with a different policy . However, it is easy to see that the ratio ensures . This is called importance weighting. The importance weight is usually easy to compute: since the reward and the next-state are independent of conditionally on the action , the importance weight for is simply:
Of course, when , for any 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 (Metelli et al, 2020; Zhang et al, 2021). It is still possible to characterize the variance of importance weights in terms of the chi-square divergence (Cortes et al, 2010):
where 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 (Schulman et al, 2015). For this reason, most works on the sample complexity of policy gradient (Papini et al, 2018; Xu et al, 2020; Yuan et al, 2020; Gargiani et al, 2022) resort to the following strong assumption, a uniform upper bound on the variance of the importance weights:
Assumption 0. There exists a finite constant such that
The geometric stopping probabilities also cancel from this ratio because they are independent of the policy parameters.
As discussed by Zhang et al (2021), 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 parametrizes the standard deviation as . For , using the relation between the chi-square divergence and the variance of the importance weights together with the closed-form expression for Gaussian distributions (Gil et al, 2013), we obtain
when ; otherwise, the variance is infinite. Thus, it suffices to select the target parameter such that:
to make the variance infinite. We remark that this result holds for every , 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-smooth, that is, for all ,
The one-policy oracle returns an unbiased gradient estimate at a single queried policy.
Assumption 2 (Bounded-variance one-policy oracle). When queried at , the oracle returns a random vector satisfying
and
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 .
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 . The oracle returns two coupled random vectors
such that
and
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 as one one-policy oracle call and one call to 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.
3 Algorithm
In this section, we present our modified policy gradient algorithm. Like SVRPG (Papini et al, 2018) and its successors (Xu et al, 2020; Yuan et al, 2020; Gargiani et al, 2022), our algorithm is based on the technique of stochastic variance reduction from finite-sum optimization (Roux et al, 2012; Johnson and Zhang, 2013). 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, 2017), 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, 2021):
(2) where the are i.i.d. samples from a fixed data distribution , the objective function is , is an unbiased gradient estimator, , , , and , using an independent initial batch. Since 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 (2018): distribution shift. Here, the trajectories are not sampled from a fixed distribution, but from , the induced trajectory distribution, which changes with time and is itself a function of the optimization variable . 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 (Zhang et al, 2021). For example, the modified policy gradient estimator for PAGE-PG (Gargiani et al, 2022) is:
where is the REINFORCE or the GPOMDP estimator and the trajectories are always sampled from by running the current policy . Note how the importance weight is needed because the correction term is an off-policy estimate of the policy gradient of using trajectories from a different policy . 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 (Levine et al, 2020), 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 is just an older policy we ran in the previous iteration. This allows us to use defensive importance sampling (Owen and Zhou, 2000), 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 for and , we draw samples from the mixture distribution , where is a set of distributions in , and is a vector of convex-combination coefficients. The mean is estimated as:
It is easy to see that this estimate is unbiased. Defensive importance sampling is a special case where the mixture distribution is simply:
for some scalar . Note that it recovers vanilla importance sampling for , and Monte Carlo estimation for . Most importantly, for every ,
We will refer to as the defensive parameter: the larger the , the smaller the variance of the importance weights , and call the estimator “ -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
1: Input: initial parameter , large batch size , small batch size , step size , refresh probability , number of iterations
2: for do
3: Query at and receive
4: end for
5:
6: for do
7:
8: if a Bernoulli( ) draw equals 1 then Large-batch refresh
9: for do
10: Query at and receive
11: end for
12:
13: else Coupled recursive update
14: for do
15: Query at and receive
16: end for
17:
18: end if
19: end for
20: Output: chosen uniformly from
COUPLED-PAGE (Algorithm 1): large-batch refreshes use the bounded-variance one-policy oracle , while recursive updates use the coupled two-policy oracle . We then instantiate these oracles using the GPOMDP estimator and defensive importance sampling, obtaining DEF-PG (Algorithm 2). A call to at samples a stopped trajectory and returns the GPOMDP estimate . For a coupled call at , define , and the defensive weights
Algorithm 2 DEF-PG
1: Input: initial parameter , large batch size , small batch size , step size , refresh probability , defensive parameter , number of iterations
2: for do
3: Sample
4: end for
5:
6: for do
7:
8: if a Bernoulli( ) draw equals 1 then
9: for do
10: Sample
11: end for
12:
13: else
14: for do
15: Draw
16: if then
17: Sample
18: else
19: Sample
20: end if
21:
22:
23: end for
24:
25: end if
26: end for
27: Output: chosen uniformly from
A trajectory from is generated by running with probability and with probability . 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 , while every trajectory sampled from the defensive mixture produces the coupled pair . 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.
4 Sample Complexity Upper Bounds
In this section, we first recall the sample-complexity upper bound under the smoothness and bounded-variance one-policy oracle assumptions, and then establish an 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 and , and assume that .
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 (2022, Corollary 4.7). We include a short proof in Appendix A.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 . Then mini-batch stochastic gradient ascent using independent calls to finds a parameter satisfying using
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 such that for all and .
Assumption 5 (Bounded score second moment). The policy class admits a finite constant such that, for every ,
At the oracle level, the 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, 2022, Lemma 29. Proof provided in Appendix A.1.). Under Assumptions 4 and 5, for every ,
Consequently, the GPOMDP estimator defines an instance of the one-policy oracle , with variance parameter 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 -FOSP in expectation, that is, :
where is the constant from Proposition 2.
Proof. Proposition 2 shows that the geometrically stopped GPOMDP estimator satisfies Assumption 2 with variance parameter . The result therefore follows directly from Proposition 1.
This recovers, for the geometrically stopped formulation, the standard dependence established for vanilla policy gradient by Yuan et al (2022, Corollary 4.7). If one additionally has , the preceding result yields trajectories. Using gives 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 such that, for every :
(i) the scores are uniformly bounded,
(ii) the scores are mean-square continuous,
Assumption 6 implies Assumption 5 with . 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, , 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 , let , where is the geometrically distributed trajectory length introduced in Remark 1. In particular, . For , also let .
Lemma 4 (Defensive coupling). Let and
For , define
Under Assumption 6, the defensive weights satisfy
Moreover, under Assumptions 4 and 6,
where
Finally,
Consequently, the defensive pair realizes the coupled oracle of Assumption 3 with .
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 . For a target accuracy , choose
and
If
then Algorithm 1 returns a parameter satisfying . Its expected total number of oracle calls is at most
In particular, setting B = 1 gives
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
and
Consequently, DEF-PG uses stopped trajectories to find an -FOSP.
Proof. Assumption 6 implies Assumption 5 with . 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 .
Remark 3. The choice agrees with intuition, by the symmetry of the gradient estimator in Algorithm 2: any smaller choice of the defensive parameter would inject extra variance in the first term; any larger choice, in the third.
Theorem 6 matches the best known first-order rate (e.g., Gargiani et al., 2022), without Assumption 0 or access to second-order information. Section 5 establishes, in a generalized black-box policy-optimization model, lower bounds with matching dependence on : bounded-variance one-policy feedback yields the regime, whereas mean-square-smooth coupled two-policy feedback yields the
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.
| Feedback | Oracle assumptions | Upper | Lower | Concrete Algorithm | Concrete assumptions |
|---|---|---|---|---|---|
| One-policy | GPOMDP | ||||
| Coupled | DEF-PG (Ours) |
regime. Table 1 summarizes these results and separately identifies their concrete policy-gradient realizations.
5 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 and , respectively. These lower bounds match the dependence on 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 (2023). All proofs are deferred to Appendix B.
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 and a known measurable first-order decoder D. A black-box policy-optimization instance specifies a parameter space , a differentiable stochastic policy class , and a possibly parameter-dependent reward mechanism. Its performance function is
We assume that is well defined and differentiable and that for every .
When queried at , the model internally generates hidden states and actions satisfying and returns only the reward-score record
The states, actions, policy densities, and internal random variables are not returned. The designated initial parameter is . The completed first-order sample associated with a record is .
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, the learner selects a single parameter , possibly as a randomized function of all previous feedback, and receives
The decoder only identifies the stochastic-gradient statistic used to formulate the oracle conditions. The learner observes the complete record Y and is not restricted to using this statistic.
an independent reward-score record . 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 . The model then uses common internal randomness to return two reward-score records and .
The marginal distribution of the first record is the same as that of a one-policy query at , and the marginal distribution of the second is the same as that of a one-policy query at . Their associated completed samples are denoted by and . 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 be independent of , let be differentiable in its first argument, and define . We assume that is differentiable and that, for every , .
The construction uses an active state with policy and reward , followed by a payment state with a parameter-independent dummy policy and reward , and then by a zero-reward absorbing state. Its expected discounted return is therefore .
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 . Its observable reward-score record is
The decoder
satisfies almost surely.
Proposition 7 embeds the stochastic-gradient oracle associated with 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 ,
Running two copies of Proposition 7 with the same Z and produces decoded samples satisfying Assumption 3 with .
The one-policy and coupled oracle properties of the construction follow directly from the corresponding moment conditions on . The following corollary shows the resulting oracle parameters.
Corollary 2 (Oracle parameters of the Gaussian realization). If, for every ,
then the one-policy samples satisfy Assumption 2 with . Under the condition of Proposition 8, the coupled samples satisfy Assumption 3 with .
The proofs and the complete state, transition, policy, and reward specification are given in Appendix B.2. In the following, we write and .
Sample complexity
We first consider the bounded-variance one-policy regime.
Theorem 9 (One-policy oracle lower bound). There exist numerical constants , independent of , such that, for every , there exist a dimension and a distribution over black-box policy-optimization instances on , each having the following properties:
-
The policy class is the Gaussian policy class described in Proposition 7;
-
The performance function satisfies Assumption 1 with and has initial gap ;
-
The completed one-policy samples satisfy Assumption 2 with .
For every possibly randomized adaptive algorithm operating under the one-policy feedback model of Definition 2, if , then
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 on which finding an -FOSP requires one-policy calls.
The constants in Theorem 9 do not depend on ; only the dimension of the hard instance may grow as 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 and .
Theorem 10 (Coupled two-policy oracle lower bound). There exist numerical constants , independent of , such that, for every , there exist a dimension and a distribution over black-box policy-optimization instances on , 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 and has initial gap ;
-
The completed one-policy samples satisfy Assumption 2 with ;
-
The coupled samples satisfy Assumption 3 with .
For every possibly randomized adaptive algorithm operating under the coupled feedback model of Definition 3, if the total number of black-box calls satisfies , then
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 on which finding an -FOSP requires black-box calls.
Together, Theorems 9 and 10 show that, within the black-box model of Definitions 1–3, the optimal rate is in the bounded-variance one-policy regime and in the mean-square-smooth coupled regime. These rates match the dependence on 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.
6 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 convergence of REINFORCE/GPOMDP to a stationary point was known for a long time as it follows from standard stochastic approximation results (Bertsekas and Tsitsiklis, 1996), but a detailed and refined analysis can be found in the recent work by Yuan et al (2022). For instance, Sutton et al (1999) studied asymptotic convergence under stronger regularity assumptions on the policy class. The first applications of stochastic variance reduction to RL were for policy evaluation (Du et al, 2017) and trust-region methods (Xu et al, 2017). Papini et al (2018) were the first to apply stochastic variance reduction to a REINFORCE-like algorithm with the aim of improving the sample complexity for finding an -FOSP, although they did not establish a better rate than for their SVRPG algorithm. SVRPG was based on SVRG (Johnson and Zhang, 2013), and its analysis on previous works on nonconvex finite-sum optimization (Reddi et al, 2016), while SCSG (Lei and Jordan, 2017), sharing with SVRPG the infinite sum nature of the objective function, was developed independently for supervised learning. To analyze SVRPG, Papini et al (2018) 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 (2019) later showed the sample complexity of SVRPG to be . The same authors (Xu et al, 2020) proposed a new first-order algorithm, SRVR-PG, based on SARAH (Nguyen et al, 2017) and SPIDER (Fang et al, 2018), with sample complexity, also considering constrained parameter spaces and parameter-based exploration. The result was matched several times: by Yuan et al (2020) with STORM-PG, based on STORM (Cutkosky and Orabona, 2019), which has the additional advantage of being single loop (so is our algorithm); by Pham et al (2020) with ProxHSPGA, also considering constrained and regularized problems; by Huang et al (2020) with IS-MBPG, based on STORM, considering adaptive learning rates; by Huang et al (2022), that in their VR-BGPO algorithm applied stochastic variance reduction to a mirror-descent scheme; and by Gargiani et al (2022) with PAGE-PG, based on PAGE, a more recent algorithm for nonconvex optimization (Li et al, 2021). The last four algorithms have the advantage of using an mini-batch size for the stochastic-gradient updates, compared to for SRVR-PG (so does our algorithm). All of these works establish 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 (2020). This issue was addressed by Zhang et al (2021). Their TSIVR-PG algorithm, based on SARAH/SPIDER, achieves 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 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 C 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. The first to do so were Shen et al (2019). Their HAPG algorithm enjoys sample complexity for -FOSP convergence and was developed independently from SRVR-PG. Efficient implementations allow to keep the per-iteration computational complexity linear in the dimension d and the horizon T. A similar solution was proposed by Salehkaleybar et al (2022). Their SHARP algorithm has the advantage of using batch sizes for the stochastic gradient updates, compared to for HAPG.
Curiously, Yang et al (2022) claim sample complexity for their VRMPO algorithm without using importance weights nor second-order information. We suspect that their proof may be affected by a subtle oversight where the distribution shift is ignored (see Equation 51 in the proof of their Theorem 4.1).
Lower bounds for local convergence.
The 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 (2023). 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, . 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 (2020). Under this assumption, the latter established sample complexity for GPOMDP, and for Natural Policy Gradient (NPG, Kakade, 2001), 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 -FOSP, since and 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 -global-optima does not necessarily imply fast convergence to -FOSP (e.g., Allen-Zhu, 2018). Indeed, Fatkhullin et al (2023) designed a first-order algorithm (N-PG-IGT) that, under Fisher non-degeneracy, converges to a globally optimal policy at a rate of without using importance sampling. However, its rate to -FOSP is , even worse than SVRPG. They also proposed a second-order algorithm (N-HARPG) with global convergence that matches the 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 (Fatkhullin et al, 2023) for recent coverage of the topic. The classic lower bound by Azar et al (2013) holds for this setting.
7 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 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 under bounded-variance one-policy feedback and 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 .
Further directions include studying more natural policy classes, extending the lower bounds to algorithms using second-order information following Arjevani et al (2020), and analyzing the global-convergence properties of DEF-PG under conditions such as Fisher non-degeneracy.
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.
References
Agarwal A, Kakade SM, Lee JD, et al (2021) On the theory of policy gradient methods: Optimality, approximation, and distribution shift. J Mach Learn Res 22:98:1–98:76
Ahmadian A, Cremer C, Gallé M, et al (2024) Back to basics: Revisiting reinforce style optimization for learning from human feedback in llms. 2402.14740
Allen-Zhu Z (2018) How to make the gradients small stochastically: Even faster convex and nonconvex SGD. In: NeurIPS, pp 1165–1175
Arjevani Y, Carmon Y, Duchi JC, et al (2020) Second-order information in non-convex stochastic optimization: Power and limitations. In: COLT, Proceedings of Machine
Learning Research, vol 125. PMLR, pp 242–299
Arjevani Y, Carmon Y, Duchi JC, et al (2023) Lower bounds for non-convex stochastic optimization. Math Program 199(1):165–214
Azar MG, Munos R, Kappen HJ (2013) Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model. Mach Learn 91(3):325–349
Barto AG, Sutton RS, Anderson CW (1983) Neuronlike adaptive elements that can solve difficult learning control problems. IEEE Trans Syst Man Cybern 13(5):834–846
Baxter J, Bartlett PL (2001) Infinite-horizon policy-gradient estimation. J Artif Intell Res 15:319–350
Bertsekas DP, Tsitsiklis JN (1996) Neuro-dynamic programming, Optimization and neural computation series, vol 3. Athena Scientific
Cortes C, Mansour Y, Mohri M (2010) Learning bounds for importance weighting. In: NIPS. Curran Associates, Inc., pp 442–450
Cutkosky A, Orabona F (2019) Momentum-based variance reduction in non-convex SGD. In: NeurIPS, pp 15210–15219
Degris T, White M, Sutton RS (2012) Linear off-policy actor-critic. In: ICML. icml.cc / Omnipress
Du SS, Chen J, Li L, et al (2017) Stochastic variance reduction methods for policy evaluation. In: ICML, Proceedings of Machine Learning Research, vol 70. PMLR, pp 1049–1058
Fang C, Li CJ, Lin Z, et al (2018) SPIDER: near-optimal non-convex optimization via stochastic path-integrated differential estimator. In: NeurIPS, pp 687–697
Fatkhullin I, Barakat A, Kireeva A, et al (2023) Stochastic policy gradient methods: Improved sample complexity for fisher-non-degenerate policies. In: ICML, Proceedings of Machine Learning Research, vol 202. PMLR, pp 9827–9869
Gargiani M, Zanelli A, Martinelli A, et al (2022) PAGE-PG: A simple and loopless variance-reduced policy gradient method with probabilistic gradient estimation. In: ICML, Proceedings of Machine Learning Research, vol 162. PMLR, pp 7223–7240
Gil M, Alajaji F, Linder T (2013) Rényi divergence measures for commonly used univariate continuous distributions. Information Sciences 249:124–131
Huang F, Gao S, Pei J, et al (2020) Momentum-based policy gradient methods. In: ICML, Proceedings of Machine Learning Research, vol 119. PMLR, pp 4422–4433
Huang F, Gao S, Huang H (2022) Bregman gradient policy optimization. In: ICLR. OpenReview.net
Johnson R, Zhang T (2013) Accelerating stochastic gradient descent using predictive variance reduction. In: NeurIPS, pp 315–323
Kakade SM (2001) A natural policy gradient. In: NIPS. MIT Press, pp 1531–1538
Konda VR, Tsitsiklis JN (1999) Actor-critic algorithms. In: NIPS. The MIT Press, pp 1008–1014
Lei L, Jordan MI (2017) Less than a single pass: Stochastically controlled stochastic gradient. In: AISTATS, Proceedings of Machine Learning Research, vol 54. PMLR, pp 148–156
Levine S, Kumar A, Tucker G, et al (2020) Offline reinforcement learning: Tutorial, review, and perspectives on open problems. CoRR abs/2005.01643
Li Z, Bao H, Zhang X, et al (2021) PAGE: A simple and optimal probabilistic gradient estimator for nonconvex optimization. In: ICML, Proceedings of Machine Learning Research, vol 139. PMLR, pp 6286–6295
Liu Y, Zhang K, Basar T, et al (2020) An improved analysis of (variance-reduced) policy gradient and natural policy gradient methods. In: NeurIPS
Metelli AM, Papini M, Montali N, et al (2020) Importance sampling techniques for policy optimization. J Mach Learn Res 21:141:1–141:75
Nguyen LM, Liu J, Scheinberg K, et al (2017) SARAH: A novel method for machine learning problems using stochastic recursive gradient. In: ICML, Proceedings of Machine Learning Research, vol 70. PMLR, pp 2613–2621
OpenAI (2023) Gpt-4 technical report. 2303.08774
Owen A, Zhou Y (2000) Safe and effective importance sampling. Journal of the American Statistical Association 95(449):135–143
Papini M, Binaghi D, Canonaco G, et al (2018) Stochastic variance-reduced policy gradient. In: ICML, Proceedings of Machine Learning Research, vol 80. PMLR, pp 4023–4032
Papini M, Pirotta M, Restelli M (2022) Smoothing policies and safe policy gradients. Mach Learn 111(11):4081–4137
Peters J, Schaal S (2008) Reinforcement learning of motor skills with policy gradients. Neural Networks 21(4):682–697
Pham NH, Nguyen LM, Phan DT, et al (2020) A hybrid stochastic policy gradient algorithm for reinforcement learning. In: AISTATS, Proceedings of Machine Learning Research, vol 108. PMLR, pp 374–385
Puterman ML (2014) Markov decision processes: discrete stochastic dynamic programming. John Wiley & Sons
Reddi SJ, Hefny A, Sra S, et al (2016) Stochastic variance reduction for nonconvex optimization. In: ICML, JMLR Workshop and Conference Proceedings, vol 48. JMLR.org, pp 314–323
Roux NL, Schmidt M, Bach FR (2012) A stochastic gradient method with an exponential convergence rate for finite training sets. In: NeurIPS, pp 2672–2680
Rudin N, Hoeller D, Reist P, et al (2021) Learning to walk in minutes using massively parallel deep reinforcement learning. In: CoRL, Proceedings of Machine Learning Research, vol 164. PMLR, pp 91–100
Salehkaleybar S, Khorasani S, Kiyavash N, et al (2022) Adaptive momentum-based policy gradient with second-order information. CoRR abs/2205.08253
Schulman J, Levine S, Abbeel P, et al (2015) Trust region policy optimization. In: ICML, JMLR Workshop and Conference Proceedings, vol 37. JMLR.org, pp 1889–1897
Shen Z, Ribeiro A, Hassani H, et al (2019) Hessian aided policy gradient. In: ICML, Proceedings of Machine Learning Research, vol 97. PMLR, pp 5729–5738
Sutton RS, Barto AG (2018) Reinforcement learning: An introduction. MIT press
Sutton RS, McAllester DA, Singh S, et al (1999) Policy gradient methods for reinforcement learning with function approximation. In: NIPS. The MIT Press, pp
1057-1063
Williams RJ (1992) Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach Learn 8:229–256
Wurman PR, Barrett S, Kawamoto K, et al (2022) Outracing champion gran turismo drivers with deep reinforcement learning. Nat 602(7896):223–228
Xu P, Gao F, Gu Q (2019) An improved convergence analysis of stochastic variance-reduced policy gradient. In: UAI, Proceedings of Machine Learning Research, vol 115. AUAI Press, pp 541–551
Xu P, Gao F, Gu Q (2020) Sample efficient policy gradient methods with recursive variance reduction. In: ICLR. OpenReview.net
Xu T, Liu Q, Peng J (2017) Stochastic variance reduction for policy gradient estimation. CoRR abs/1710.06034
Yang L, Zhang Y, Zheng G, et al (2022) Policy optimization with stochastic mirror descent. In: AAAI. AAAI Press, pp 8823–8831
Yuan H, Lian X, Liu J, et al (2020) Stochastic recursive momentum for policy gradient methods. CoRR abs/2003.04302
Yuan R, Gower RM, Lazaric A (2022) A general sample complexity analysis of vanilla policy gradient. In: AISTATS, Proceedings of Machine Learning Research, vol 151. PMLR, pp 3332–3380
Zhang J, Ni C, Yu Z, et al (2021) On the convergence and sample efficiency of variance-reduced policy gradient method. In: NeurIPS, pp 2228–2240
Zhao T, Hachiya H, Niu G, et al (2012) Analysis and improvement of policy gradient estimation. Neural Networks 26:118–129
Appendix A Proofs of Upper Bounds
A.1 Proofs of Propositions
The results proved here are rather standard, but proofs are given for the sake of completeness.
Proof of Proposition 1. By -smoothness, . Therefore, if , the initial parameter is already an -FOSP.
Otherwise, let and . At iteration , average independent calls to to obtain , and set . Writing , we have and . The smoothness inequality therefore gives
Summing over and using yields
Choosing uniformly from and applying Jensen's inequality gives the claimed expected-norm guarantee.
Finally, since the nontrivial case satisfies , the total number of oracle calls is
Proof of Proposition 2. For , define
The stopped GPOMDP estimator can be written as
Since the stopping rule is independent of the trajectory and ,
The score increments are martingale differences under the on-policy trajectory distribution. Therefore, Assumption 5 gives
Using Minkowski's inequality in , bounded rewards, and the independence of ,
Letting and applying Cauchy–Schwarz,
Since
we obtain
Finally,
which proves the result.
A.2 Proof of Lemma 5
We first prove two auxiliary lemmas.
Lemma 11 (Weighted Hellinger continuity). Suppose that Assumption 6(i) holds. For every integer and every ,
Proof. Let
Convexity of guarantees that . Because the stopping rule and the environment are independent of the policy parameters,
Consequently,
By the fundamental theorem of calculus and Cauchy–Schwarz,
Multiplying by and integrating over yields
The score increments are martingale differences. Conditionally on , Assumption 6(i) therefore gives
\mathbb{E}_{\tau\sim p(\cdot\mid\boldsymbol{\theta}_{t})}\left[\left\|\sum_{h=0}^{H_{\gamma}-1}\nabla\log\pi_{\boldsymbol{\theta}_{t}}(A_{h}\mid S_{h})\right\|^{2}\right|H_{\gamma}\right]\leq C_{1}^{2}H_{\gamma}.Since the distribution of is independent of ,
Substitution proves the claim.
Lemma 4 (Defensive coupling). Let and
For , define
Under Assumption 6, the defensive weights satisfy
Moreover, under Assumptions 4 and 6,
where
Finally,
Consequently, the defensive pair realizes the coupled oracle of Assumption 3 with .
Proof. For brevity, write
Since
we have
(A1)
Because and
Equation (A1) and Lemma 11 with r = 0 give
We now prove the coupled-estimator bound. Let . Bounded rewards and Assumption 6(i) imply the pathwise estimate
(A2)
Moreover,
Using Cauchy–Schwarz and Assumption 6(ii), for ,
The case follows by interchanging and in Assumption 6(ii).
Decompose the coupled difference as
For the first term, Equations (A1) and (A2), followed by Lemma 11 with r = 4, give
For the second term, since , Equation (A3) gives
Therefore,
Finally, change of measure gives
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 . For a target accuracy , choose
and
If
then Algorithm 1 returns a parameter satisfying . Its expected total number of oracle calls is at most
In particular, setting B = 1 gives
Proof. Let
Conditionally on the history up to iteration t, a large-batch refresh consists of N independent calls to the oracle of Assumption 2. Hence, on a refresh iteration,
On a recursive iteration, the two outputs of each coupled call are unbiased for and , respectively. Since the coupled calls are independent, Assumption 3 gives
Combining the two cases and using yields
Since is the average of N independent one-policy oracle calls,
Summing Equation (A4) for gives
By Assumption 1,
(A6)
Summing Equation (A6), using , and substituting Equation (A5), we obtain
For , let
The selected step size satisfies
so the coefficient of is non-positive. Therefore,
By the choices of , , and , each term on the right-hand side is at most . Since is selected uniformly,
Jensen's inequality gives the guarantee in expected norm.
Initialization costs N one-policy calls. Every subsequent iteration uses, in expectation,
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 .
Proof. The quantities , , , , and are independent of . Hence, the dependence of the bound in Lemma 4 on the defensive parameter is entirely through
This quantity is minimized when
that is, at .
Appendix B 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.
B.1 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 , it draws one random seed and returns
Thus, the stochastic-gradient evaluations within one round share the same seed. Their complexity measure counts the number of such rounds, with treated as fixed.
Proposition 12 (Consequence of Arjevani et al (2023)). There exist numerical constants , independent of , with the following properties. For every , there is a dimension and a distribution over stochastic-optimization instances. Each instance consists of a differentiable maximization objective , a seed distribution on , and a sample objective such that
Every instance in the support of satisfies:
-
and is -smooth;
-
-
For every randomized adaptive algorithm using the oracle with , if the source instance is drawn from and the algorithm uses fewer than rounds, then . 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 over stochastic-optimization instances satisfying the preceding properties and
For every randomized adaptive algorithm using the shared-seed oracle with , if the source instance is drawn from and the algorithm uses fewer than rounds, then .
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 and target accuracy , their construction provides an oracle and a distribution over objectives that are chosen independently of the algorithm.
Theorem 3 gives the lower bounds
in the bounded-variance regime and
in the mean-square-smooth regime, for every fixed number K of simultaneous queries. Fixing positive numerical values of , , , and gives the stated powers of , with constants independent of .
Proposition 1 of Arjevani et al (2023) shows that Theorem 3 remains valid when the oracle is restricted to statistical-learning instances satisfying
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.
B.2 Proofs of the Gaussian realization results
Proof of Proposition 7. Let and
The initial state is , where . Define
The transitions are deterministic: , with absorbing. Define
Writing with gives and . Hence,
At the active state, . The dummy policies are parameter-independent, so for every . Therefore, the observable record has the stated form. Since , the decoder returns almost surely.
Proof of Proposition 8. For a coupled query , use the same Z and in the two active states. The resulting records are
Their decoded samples are and almost surely. The result follows from the assumed mean-square-smoothness inequality.
Proof of Corollary 2. The decoded one-policy sample is almost surely. By assumption, its expectation is , and its mean-square error is at most . 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 exactly. In our simulation, this value appears as the payment-state reward .
B.3 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 and . Given a source response , draw independently and return
Given the shared-seed responses at and , use the same and return
These are exact simulations of the complete reward-score records in Propositions 7 and 8.
Proof. Introduce the active action . Its score is and its reward is . At the payment state, the policy score is zero and the reward is . At every subsequent step, both the reward and the policy score are zero.
Conversely, the source response is recovered almost surely as and . The coupled case is identical at each endpoint.
Under the decoder specified in Proposition 7, the one-policy sample associated with Lemma 13 is almost surely. Consequently, the instances in Proposition 12 satisfy Assumption 2 with and, in the mean-square-smooth regime, Assumption 3 with . These constants are independent of .
B.4 Proof of Theorem 9
Theorem 9 (One-policy oracle lower bound). There exist numerical constants , independent of , such that, for every , there exist a dimension and a distribution over black-box policy-optimization instances on , each having the following properties:
-
The policy class is the Gaussian policy class described in Proposition 7;
-
The performance function satisfies Assumption 1 with and has initial gap ;
-
The completed one-policy samples satisfy Assumption 2 with .
For every possibly randomized adaptive algorithm operating under the one-policy feedback model of Definition 2, if , then
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 on which finding an -FOSP requires one-policy calls.
Proof. Set and decrease , if necessary, so that for every . Fix and denote by 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 . Let 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 .
Suppose, toward a contradiction, that a randomized adaptive algorithm operating under Definition 2 uses fewer than calls and satisfies
Construct a stochastic-optimization algorithm as follows. Whenever queries , algorithm queries the source oracle at the same parameter and obtains . It independently draws , and returns to the record
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 have the correct joint law.
If necessary, makes one final query at 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 , an algorithm using black-box calls induces a stochastic-optimization algorithm using at most oracle rounds and having exactly the same expected gradient norm.
Since and ,
This contradicts the first distributional lower bound in Proposition 12.
B.5 Proof of Theorem 10
Theorem 10 (Coupled two-policy oracle lower bound). There exist numerical constants , independent of , such that, for every , there exist a dimension and a distribution over black-box policy-optimization instances on , 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 and has initial gap ;
-
The completed one-policy samples satisfy Assumption 2 with ;
-
The coupled samples satisfy Assumption 3 with .
For every possibly randomized adaptive algorithm operating under the coupled feedback model of Definition 3, if the total number of black-box calls satisfies , then
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 on which finding an -FOSP requires black-box calls.
Proof. Set and decrease , if necessary, so that for every . Fix and denote by 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 , and the resulting discounted performance function is by
Proposition 7. Let 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 .
Suppose, toward a contradiction, that a randomized adaptive algorithm operating under Definition 3 uses fewer than black-box calls and satisfies
Construct an algorithm for the shared-seed oracle of Arjevani et al (2023). If makes a coupled query , algorithm queries the batch . It receives
draws one independent , and returns
If makes a one-policy query at , algorithm queries the repeated batch and returns the first simulated record.
By Lemma 13, this procedure exactly simulates every complete reward-score record observed by . Moreover, one black-box call is simulated by one oracle round. As in the proof of Theorem 9, at most one additional round is needed to query the final output.
Since and ,
This contradicts the second distributional lower bound in Proposition 12.
Appendix C 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)
1: Input: initial parameter , number of epochs , epoch length , large batch size , small batch size , step size , defensive parameter
2:
3: for do
4:
5: for do
6: Sample
7: end for
8:
9:
10:
11: for do
12: for do
13: Sample as in Algorithm 2
14:
15:
16: end for
17:
18:
19: end for
20:
21: end for
22: Output: chosen uniformly from
Algorithm 4 DEF-PG (SRVR-PG variant)
1: Input: initial parameter , number of epochs , epoch length , large batch size , small batch size , step size , defensive parameter
2:
3: for do
4:
5: for do
6: Sample
7: end for
8:
9:
10: for do
11: for do
12: Sample as in Algorithm 2
13:
14:
15: end for
16:
17:
18: end for
19:
20: end for
21: Output: chosen uniformly from
Algorithm 5 DEF-PG (STORM-PG variant)
1: Input: initial parameter , initial batch size , mini-batch size , step size , defensive parameter , momentum parameter , number of iterations
2: for do
3: Sample
4: end for
5:
6: for do
7:
8: for do
9: Sample as in Algorithm 2
10:
11:
12: end for
13:
14: end for
15: Output: chosen uniformly from