TL;DR
This paper introduces a control variate technique to Expected Sarsa($\lambda$) to tackle the high variance inherent in off-policy reinforcement learning. By framing the linear function approximation setting as a convex-concave saddle-point problem, the authors propose Gradient Expected Sarsa ($\text{GES}(\lambda)$)—a stable algorithm that achieves an optimal $\mathcal{O}(1/T)$ convergence rate and consistently outperforms state-of-the-art gradient temporal difference methods.
What Problem Does This Paper Address?
Off-policy learning is a cornerstone of reinforcement learning (RL), allowing an agent to learn about a optimal target policy while executing a completely different behavior policy. This is crucial for safety and data efficiency. However, the distribution mismatch between what the agent does and what it wants to learn introduces massive variance during policy evaluation, frequently leading to instability or outright divergence.
While control variates—additional terms with zero expected value used to reduce variance without introducing bias—have been applied to RL before, naively combining them with linear function approximation in Expected Sarsa leads to extreme instability. This paper provides a rigorous theoretical analysis of this instability and introduces a reliable, convergent off-policy learning framework.
Methods
The authors tackle the variance and stability issues in two distinct steps:
- Tabular $\text{ES}(\lambda)\text{-CV}$: For tabular settings, they introduce a control variate term ($\bar{Q}_{t+1} - \rho_{t+1}Q_{t+1}$) into the recursive $\lambda$-return of Expected Sarsa. Because its expectation under the behavior policy is exactly zero, it reduces variance without introducing any bias.
- Saddle-point Formulation for Function Approximation: Directly extending the tabular approach to linear function approximation causes divergence. To fix this, the authors avoid direct gradient descent on the Mean Square Projected Bellman Equation (MSPBE), which suffers from a "double sampling" bottleneck. Instead, they reformulate the MSPBE as a convex-concave saddle-point problem.
- Gradient Expected Sarsa ($\text{GES}(\lambda)$): This formulation yields the $\text{GES}(\lambda)$ algorithm, which updates primal parameters ($\theta$) and dual parameters ($\omega$) simultaneously. Crucially, $\text{GES}(\lambda)$ eliminates the need for complex techniques like Polyak-averaging or projection steps while remaining stable under a constant step size.
Datasets
The algorithms were evaluated on four classic reinforcement learning benchmark environments:
- Windy Gridworld: Used to validate the tabular case.
- Mountain Car: Used to test linear function approximation performance.
- Baird’s Counterexample (Baird Star): A classic, notoriously unstable environment designed to expose off-policy divergence.
- Two-state MDP: Used both as a theoretical counterexample to demonstrate naive instability and as an empirical benchmark.
Key Insights and Ideas
- The Instability Proof: The authors mathematically prove why previous intuitive attempts to combine control variates with function approximation fail. In off-policy settings, the transition dynamics matrix is not guaranteed to be negative definite, causing naive gradient updates to explode to infinity.
- Saddle-Point Synergy: Converting the objective into a saddle-point problem elegantly bypasses the need to compute the expensive inverse of the feature covariance matrix ($M^{-1}$), turning a double-sampling bottleneck into a scalable online update.
- Constant Step-Size Advantage: Unlike many gradient TD methods that require decaying step sizes to guarantee convergence, $\text{GES}(\lambda)$ achieves stable convergence with a constant step size, accelerating learning speed significantly.
Key Results
- Tabular Variance Reduction: In the Windy Gridworld task, $\text{ES}(\lambda)\text{-CV}$ demonstrated significantly lower variance (narrower standard deviation bands) and faster convergence to the true value compared to standard Expected Sarsa.
- Superior Convergence Speed: $\text{GES}(\lambda)$ achieved an optimal convergence rate of $\mathcal{O}(1/T)$ with a constant step size, substantially outperforming the standard $\mathcal{O}(1/\sqrt{T})$ decay step-size baseline across Mountain Car, Two-state MDP, and Baird Star environments.
- Outperforming the State-of-the-Art: Empirical evaluations showed that $\text{GES}(\lambda)$ consistently outperformed state-of-the-art gradient-based algorithms—including $\text{GQ}(\lambda)$, $\text{GTB}(\lambda)$, and $\text{ABQ}(\zeta)$—achieving lower Mean Square Projected Bellman Error (MSPBE) and Mean Squared Error (MSE) across all tested domains.
Limitations and Future Work
The primary limitation of this work is that the theoretical guarantees and algorithmic design of $\text{GES}(\lambda)$ are strictly limited to linear function approximation. While linear models are mathematically tractable and widely studied, modern reinforcement learning relies heavily on non-linear architectures like deep neural networks. Extending this saddle-point control variate framework to deep reinforcement learning remains an open and vital direction for future research.
Summary updated