English

On-Policy Policy Gradient Reinforcement Learning Without On-Policy Sampling

Machine Learning 2026-02-11 v3

Abstract

On-policy reinforcement learning (RL) algorithms are typically characterized as algorithms that perform policy updates using i.i.d. trajectories collected by the agent's current policy. However, after observing only a finite number of trajectories, such on-policy sampling may produce data that fails to match the expected on-policy data distribution. This sampling error leads to high-variance gradient estimates that yield data-inefficient on-policy learning. Recent work in the policy evaluation setting has shown that non-i.i.d., off-policy sampling can produce data with lower sampling error w.r.t. the expected on-policy distribution than on-policy sampling can produce (Zhong et. al, 2022). Motivated by this observation, we introduce an adaptive, off-policy sampling method to reduce sampling error during on-policy policy gradient RL training. Our method, Proximal Robust On-Policy Sampling (PROPS), reduces sampling error by collecting data with a behavior policy that increases the probability of sampling actions that are under-sampled w.r.t. the current policy. We empirically evaluate PROPS on continuous-action MuJoCo benchmark tasks as well as discrete-action tasks and demonstrate that (1) PROPS decreases sampling error throughout training and (2) increases the data efficiency of on-policy policy gradient algorithms.

Keywords

Cite

@article{arxiv.2311.08290,
  title  = {On-Policy Policy Gradient Reinforcement Learning Without On-Policy Sampling},
  author = {Nicholas E. Corrado and Josiah P. Hanna},
  journal= {arXiv preprint arXiv:2311.08290},
  year   = {2026}
}

Comments

TMLR 2026

R2 v1 2026-06-28T13:20:55.621Z