[Paper Review] Policy Gradient Methods for Off-policy Control
This paper introduces Policy Gradient Q-learning (PGQ), a novel gradient-based off-policy reinforcement learning algorithm that integrates policy gradients into the GQ framework to correct for distributional drift caused by adaptive behavior policies. By modeling the stationary distribution as dependent on the policy parameters, PGQ ensures convergence during control by simultaneously improving and evaluating the policy, outperforming Q-learning and GQ in off-policy settings like the Baird counterexample.
Off-policy learning refers to the problem of learning the value function of a way of behaving, or policy, while following a different policy. Gradient-based off-policy learning algorithms, such as GTD and TDC/GQ, converge even when using function approximation and incremental updates. However, they have been developed for the case of a fixed behavior policy. In control problems, one would like to adapt the behavior policy over time to become more greedy with respect to the existing value function. In this paper, we present the first gradient-based learning algorithms for this problem, which rely on the framework of policy gradient in order to modify the behavior policy. We present derivations of the algorithms, a convergence theorem, and empirical evidence showing that they compare favorably to existing approaches.
Motivation & Objective
- To address the lack of convergent gradient-based off-policy algorithms for control, where the behavior policy is non-stationary and causes distributional drift.
- To extend off-policy value function learning methods like GQ and TDC to the control setting by incorporating policy gradient corrections.
- To enable stable learning in off-policy control by modeling the stationary distribution as a function of the policy parameters.
- To provide a theoretical convergence guarantee for gradient-based off-policy control with function approximation.
- To empirically validate the method on challenging off-policy environments such as the Baird counterexample.
Proposed method
- Proposes a modified Mean Squared Projected Bellman Error (MSPBE) objective that explicitly models the stationary distribution $d_{s,a}$ as dependent on the policy parameter $\theta$ via $d_{s,a} = d_s \pi_\theta(a|s)$.
- Derives the gradient of the MSPBE objective by accounting for the parametric dependence of the Bellman operator and stationary distribution on $\theta$, introducing policy gradient terms.
- Introduces a novel update rule for the value function parameter $\theta$ that includes a correction term proportional to $\rho^\nabla \delta (\phi^\top w)$, where $\rho^\nabla$ captures the policy gradient influence on the distribution.
- Uses a two-time-scale update: $\theta$ is updated with learning rate $\alpha$, and the weight vector $w$ (for the projected Bellman error) with learning rate $\beta$, ensuring stability.
- Employs a Boltzmann policy for exploration, with action selection probabilities $\pi_\theta(a|s) = \exp(\theta^\top \phi(s,a)/\tau)/\sum_b \exp(\theta^\top \phi(s,b)/\tau)$.
- Performs on-policy and off-policy updates using sampled transitions or simulated trajectories, with MSPBE and MSTDE used as evaluation metrics.
Experimental results
Research questions
- RQ1Can gradient-based off-policy algorithms be extended to control problems with non-stationary behavior policies while maintaining convergence?
- RQ2How can policy gradient terms be integrated into the GQ/TDC framework to correct for distributional drift in off-policy learning?
- RQ3Does the proposed PGQ algorithm converge to zero MSPBE in challenging off-policy environments such as the Baird counterexample?
- RQ4How does PGQ compare to Q-learning and GQ in terms of stability and convergence speed under off-policy sampling?
- RQ5What is the impact of policy parameter dependence on the stationary distribution in off-policy value function learning?
Key findings
- PGQ converges to zero Mean Squared Projected Bellman Error (MSPBE) in the Baird counterexample, while Q-learning diverges monotonically under the same conditions.
- In both sampled and trajectory-based experiments, PGQ achieves stable convergence, outperforming Q-learning and matching GQ in convergence speed and accuracy.
- The algorithm successfully mitigates distributional drift caused by policy adaptation by incorporating policy gradient corrections into the value function update.
- Empirical results show that PGQ maintains low MSPBE and Mean Squared TD-error (MSTDE) across repeated runs, indicating robustness and stability.
- The method demonstrates convergence under off-policy settings with a Boltzmann exploration policy, even when the behavior policy differs from the target policy.
- The theoretical analysis confirms that the gradient derivation accounts for the parametric dependence of the stationary distribution on $\theta$, enabling stable learning in control.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.