Abstract
This paper introduces a new family of Temporal Difference (TD) learning algorithms based on Mirror Descent (MD) to address high-dimensional reinforcement learning problems. By utilizing first-order gradient updates in a dual space, the proposed methods achieve sparse solutions with linear computational complexity, $O(d)$, significantly outperforming existing $l_1$-regularized methods like LARS-TD which scale cubically. Experimental results across various benchmarks, including Mountain Car and complex inverted pendulum systems, demonstrate superior speed, stability, and noise immunity.
Introduction
In reinforcement learning (RL), agents often operate in environments with a massive number of potential features. To make learning tractable, linear function approximation is used, representing the value of a state as a weighted sum of features. To prevent overfitting and identify the most important features, $l_1$ regularization is often employed to encourage sparse weights. However, existing sparse RL methods, such as LARS-TD, are computationally expensive, typically involving second-order matrix methods or inversions that scale cubically with the number of features. This paper addresses the challenge of finding sparse, high-quality solutions for RL problems without the massive computational overhead.
Methodology
The authors bridge the gap between RL and Online Convex Optimization by introducing Mirror Descent into the TD learning framework. Unlike standard gradient descent, which assumes a Euclidean geometry, Mirror Descent generalizes to non-Euclidean geometries by performing gradient updates in a dual space and mapping them back to the primal space (the actual weights) using a Legendre transform.
Key techniques include:
- Bregman Divergences: Used instead of standard squared distance to keep updates small, allowing for different geometries like $p$-norm functions.
- Sparse Mirror Descent TD: Incorporates a soft-thresholding step to the dual weights to enforce an $l_1$ penalty, performing feature selection on the fly.
- Composite Mirror Descent TD: Utilizes a Mahalanobis distance based on the covariance of sample gradients to adapt to the specific geometry of the data.
Experimental Evaluation
The algorithms were evaluated on several classic RL benchmarks:
- Two-Room Grid World: A discrete navigation task.
- Noisy Grid World: A $10 \times 10$ grid with 450 random Gaussian noise features added to 50 real features to test noise immunity.
- Mountain Car: A standard continuous control task.
- Acrobot and Triple-Link Inverted Pendulum: Highly nonlinear systems used to test stability and variance.
Results and Discussion
Computational Efficiency and Convergence
The most significant advantage of the Mirror Descent approach is its linear complexity. While LARS-TD requires $O(Nd m^3)$ operations, Mirror Descent TD operates at $O(Nd)$, where $d$ is the number of features. In the "two-room" MDP, Mirror Descent TD converged significantly faster and with much lower Bellman error than LARS-TD. Furthermore, LARS-TD exhibited instability at high discount factors (e.g., $\gamma = 0.9$), whereas Mirror Descent remained stable.
Performance on Standard Benchmarks
On the Mountain Car task, Mirror Descent Q-learning demonstrated superior performance compared to standard Q-learning. The MD-based approach not only converged to a policy requiring fewer steps to completion but also showed significantly lower variance across runs, indicating greater robustness.
Noise Immunity
In the noisy grid world experiment, the sparse MD-TD algorithm successfully ignored 450 irrelevant noisy features, identifying the optimal value function using only the 50 relevant features. This demonstrates the algorithm's effectiveness in high-dimensional spaces where the signal-to-noise ratio may be low.
Conclusion
Sparse Q-learning with Mirror Descent provides a scalable and robust framework for high-dimensional reinforcement learning. By achieving linear computational complexity while maintaining the benefits of $l_1$ regularization, it opens the door for practical RL applications in domains with millions of features. Future work will explore extensions to off-policy learning and hierarchical reinforcement learning.
Summary updated