Introduction
This paper challenges the common intuition that using linear function approximation to represent value functions necessarily helps Policy Gradient Reinforcement Learning (PGRL). The authors prove that linear function approximation can actually slow down convergence by a factor of $O(ML)$, while a simple state-dependent bias term (a baseline) significantly improves the rate of convergence.
What Problem Does This Paper Address?
Policy Gradient Reinforcement Learning (PGRL) is a powerful framework for solving complex, high-dimensional tasks because it optimizes the policy parameters directly. However, these algorithms often suffer from high variance in their gradient estimates, leading to slow convergence.
To combat this, researchers often use function approximation (FA) to represent the state-action value function ($Q$) or introduce a bias term (often called a baseline) to the gradient estimate. While these techniques are widely used, their theoretical impact on the rate of convergence was not well-understood. This paper specifically asks:
- Does linear function approximation for $Q$ actually improve the convergence of the gradient estimate?
- Can a non-zero bias term mathematically guarantee faster convergence?
Methods
The authors provide a rigorous theoretical analysis of the variance of performance gradient estimates. They compare two main approaches:
- PIFA (Policy Improvement with Function Approximation): Algorithms that use a linear combination of $L$ basis functions to represent the $Q$-function.
- Direct Sampling: Algorithms that estimate the gradient using direct observations of rewards (Monte Carlo samples) without an intermediate function approximation step.
The core of the paper consists of two theorems. Theorem 1 establishes the variance bounds for PIFA, while Theorem 2 establishes bounds for direct sampling, both with and without a bias term $b(s)$. The authors then validate these theoretical bounds using a simulated 2D continuous environment where an agent must navigate to a goal.
Key Insights and Ideas
- The Function Approximation Penalty: Surprisingly, the authors show that linear function approximation can degrade the convergence rate by a factor of $O(ML)$, where $M$ is the number of actions and $L$ is the number of basis functions. This suggests that unless the basis functions are exceptionally well-chosen, they might introduce more noise than they remove.
- The Power of the Baseline: The paper proves that using a bias term $b(s)$ equal to the average $Q$-value across all actions in a state—$b(s) = \frac{1}{M} \sum_j Q^\pi(s, a_j)$—improves the convergence rate by a factor of $O(1 - 1/M)$.
- Direct Sampling is Often Superior: For the linear case, the theory suggests that directly using observed $Q$ values is more efficient than trying to "smooth" them through a linear model before estimating the gradient.
Key Results
- Variance Comparison: Theoretical results show that the variance of the gradient estimate in PIFA is proportional to $ML/N$, whereas direct sampling is proportional to $1/N$ (where $N$ is the number of samples).
- Experimental Validation: In simulations, the "Biased Q" approach (direct sampling with the average-value baseline) converged to the highest reward the fastest. The "No Bias" approach was slower, and the "Linear FA Q" approach was the slowest and most unstable.
- Scaling with Actions: As the number of possible actions ($M$) increased, the performance gap between direct sampling and function approximation widened, confirming the $O(ML)$ theoretical penalty.
Limitations and Future Work
- Linearity Constraint: The theoretical proofs are strictly for linear function approximation. The authors acknowledge that it remains an open question whether non-linear function approximation (like deep neural networks) could overcome these convergence penalties.
- Basis Function Selection: The results assume a general set of basis functions. The authors note that if basis functions are perfectly aligned with the true value function, results might differ, but in practice, such functions are rarely known.
- Discrete Actions: The analysis of the bias term assumes a finite set of $M$ actions. Extending this theory to purely continuous action spaces would be a logical next step.
Summary updated