[Paper Review] Per-decision Multi-step Temporal Difference Learning with Control Variates
This paper introduces per-decision control variates for n-step temporal difference learning, reducing variance in both on-policy and off-policy settings by subtracting estimated action-value expectations from each reward in the return sequence. The method significantly improves learning accuracy and performance over baseline n-step TD algorithms, especially in off-policy scenarios with high variance.
Multi-step temporal difference (TD) learning is an important approach in reinforcement learning, as it unifies one-step TD learning with Monte Carlo methods in a way where intermediate algorithms can outperform either extreme. They address a bias-variance trade off between reliance on current estimates, which could be poor, and incorporating longer sampled reward sequences into the updates. Especially in the off-policy setting, where the agent aims to learn about a policy different from the one generating its behaviour, the variance in the updates can cause learning to diverge as the number of sampled rewards used in the estimates increases. In this paper, we introduce per-decision control variates for multi-step TD algorithms, and compare them to existing methods. Our results show that including the control variates can greatly improve performance on both on and off-policy multi-step temporal difference learning tasks.
Motivation & Objective
- To reduce variance in multi-step temporal difference learning, particularly in off-policy settings where high variance can cause divergence.
- To extend the concept of control variates beyond the bootstrapping step to all decisions in the n-step return sequence.
- To unify and improve existing n-step TD algorithms by incorporating per-decision control variates for both state- and action-value functions.
- To provide theoretical and empirical insight into how control variates relate to TD(λ) methods through the n-step framework.
- To evaluate the impact of control variate scaling on learning stability and performance across different environments and parameter settings.
Proposed method
- Proposes per-decision control variates by subtracting the expected action-value under the target policy from each reward in the n-step return sequence.
- Derives the control variate using the action-value function estimate, with the scaling parameter c chosen to minimize variance, based on the analytical optimal coefficient in Equation 18.
- Applies the control variate in both on-policy (e.g., n-step Sarsa) and off-policy (e.g., n-step Expected Sarsa) settings, improving stability and accuracy.
- Introduces a novel algorithm, n-step CV Sarsa, as a generalization of Expected Sarsa that applies control variates at every decision step, not just the bootstrapping step.
- Relates the per-decision control variate to TD(λ) by showing how minor adjustments in eligibility traces can implicitly induce similar variance reduction effects.
- Employs function approximation in continuous state spaces to evaluate generalization and scalability beyond tabular domains.
Experimental results
Research questions
- RQ1Can per-decision control variates reduce variance and improve learning performance in n-step TD methods, especially in off-policy settings?
- RQ2How does applying control variates at every decision step compare to applying them only at the bootstrapping step in terms of error and convergence?
- RQ3What is the impact of the control variate scaling parameter c on learning stability and performance?
- RQ4How do per-decision control variates relate to the broader TD(λ) framework and eligibility traces?
- RQ5Can the control variate approach improve performance in function approximation settings with continuous state spaces?
Key findings
- n-step CV Sarsa outperforms n-step Expected Sarsa in both on-policy and off-policy prediction and control tasks, achieving lower variance and error in value function estimates.
- On the 5×5 Grid World environment, n-step CV Sarsa achieved significantly lower mean return error compared to baseline methods, especially in off-policy settings with high variance.
- In the Mountain Car control task, n-step CV Sarsa showed better average return per episode than n-step Expected Sarsa, even though the effect was less pronounced due to greedy policies reducing the benefit of control variates.
- For large n and large step size α, the addition of per-decision control variates caused learning to diverge in some cases, suggesting sensitivity to parameter settings when estimates are inaccurate.
- The state-value per-decision control variate improved performance over baseline but was outperformed by the action-value control variate, indicating that action-value control variates are more effective in value-based control.
- The analytical optimal control variate coefficient (Equation 18) suggests potential for adaptive online scaling to further improve performance, though this was not explored in depth.
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.