TL;DR
This paper tackles the challenge of estimating value functions in reinforcement learning using complex, non-linear function approximators like neural networks. They propose a novel, single-timescale primal-dual gradient algorithm with variance reduction that achieves faster convergence to a stable solution than previous methods, with a theoretical guarantee of $O(m/\epsilon)$ calls to a gradient oracle.
What Problem Does This Paper Address?
In reinforcement learning (RL), a core task is "policy evaluation," which means estimating how good a particular strategy (policy) is. This is crucial for improving the policy itself. While linear function approximations have been well-studied for this, real-world applications often benefit from more powerful, non-linear function approximators like neural networks. However, existing methods for non-linear policy evaluation, often based on two-timescale stochastic approximation, suffer from slow convergence rates and lack non-asymptotic guarantees. This paper aims to bridge this gap by developing a theoretically sound and efficient algorithm for policy evaluation with smooth, non-linear function approximation in an offline setting (where we have a fixed dataset of past experiences).
Methods
The authors reframe the policy evaluation problem as a primal-dual optimization problem. Specifically, they formulate it as a "one-sided non-convex primal-dual optimization problem," where the primal part (related to the policy parameters) is non-convex, and the dual part (related to Lagrange multipliers) is strongly concave.
To solve this, they introduce a Nonconvex Primal-Dual Gradient with Variance Reduction (nPD-VR) algorithm. This algorithm is a single-timescale approach, meaning it updates both primal and dual variables simultaneously in a single loop, which simplifies tuning and implementation compared to multi-timescale methods. The key innovation is the incorporation of variance reduction techniques, inspired by methods like SAGA, to reduce the noise inherent in using sampled data. This allows the algorithm to make more reliable progress towards the optimal solution with each update. They also leverage the structure of the problem (one-sided non-convexity) to achieve their convergence guarantees.
Datasets
The paper uses the MountainCar dataset for preliminary numerical experiments. They generate a trajectory of state-action pairs from a policy learned using Sarsa to train their value function approximator (a 2-layer neural network).
Key Insights and Ideas
- Primal-Dual Formulation for Policy Evaluation: Reformulating policy evaluation as a primal-dual optimization problem provides a powerful framework for analyzing and developing new algorithms, especially when dealing with non-linear function approximation.
- Single-Timescale Advantage: A single-timescale algorithm simplifies implementation and tuning, making it more practical for real-world use compared to existing two-timescale methods that can be sensitive to step-size choices.
- Variance Reduction is Key: For large datasets (many state-action pairs), reducing the variance of gradient estimates is crucial for achieving fast and stable convergence. The nPD-VR algorithm effectively leverages this.
- Bridging Theory and Practice: The paper makes a significant contribution by providing the first non-asymptotic convergence rate analysis for variance-reduced policy evaluation with smooth and non-linear function approximation, addressing a known gap in the literature.
Key Results
The paper's main theoretical result is the convergence guarantee for the nPD-VR algorithm. They show that the algorithm converges to an $\epsilon$-stationary point of the objective function using $O(m/\epsilon)$ calls to a gradient oracle in expectation, where $m$ is the number of state-action pairs in the dataset. This is a significant improvement over methods that might require more calls or have slower convergence rates.
Preliminary numerical experiments on the MountainCar dataset demonstrate that the nPD-VR algorithm converges much faster and more reliably than a standard single-timescale SGD approach on the same objective function.
Limitations and Future Work
- Assumption on Smoothness and Strong Concavity: The theoretical analysis relies on assumptions about the smoothness of the objective function and the strong concavity of the dual sub-problem. While these are often reasonable in practice, they might not hold for all possible non-linear function approximators or MDPs.
- Projection Step for Dual Variable: While the primal variable is constrained to a compact set $\Theta$ via projection, the dual variable update is unconstrained. The authors note that in their numerical experiments, incorporating an additional projection step for the dual variable improved numerical performance, suggesting this could be a practical consideration.
- Future Work: The authors suggest exploring extensions using other variance reduction techniques like SVRG or mini-batching to potentially accelerate convergence further. They also mention that the proposed algorithm is more flexible and numerically stable than existing approaches.
Summary updated