Abstract
This paper introduces t-LSTD, an algorithm that bridges the gap between the computational speed of Temporal Difference (TD) learning and the sample efficiency of Least-Squares Temporal Difference (LSTD). By using an incremental, low-rank approximation of the system matrix, t-LSTD achieves near-optimal performance in high-dimensional spaces with significantly reduced memory and processing requirements.
Introduction
In reinforcement learning, agents estimate a value function to determine the long-term utility of actions. Traditionally, this is approached via two primary methods:
- Temporal Difference (TD) Learning: Computationally efficient ($O(d)$ complexity for $d$ features) but sample-inefficient, often requiring extensive data to converge.
- Least-Squares TD (LSTD): Highly sample-efficient but computationally prohibitive ($O(d^2)$ storage and up to $O(d^3)$ computation), limiting its use in high-dimensional problems.
The authors propose t-LSTD to address this "efficiency gap." Recognizing that large matrices in LSTD are often low-rank, t-LSTD exploits this structure to provide a scalable yet sample-efficient alternative.
Methodology: Incremental Truncated SVD
The core innovation of t-LSTD is the use of Incremental Truncated Singular Value Decomposition (SVD). Instead of maintaining a full $d \times d$ matrix, the algorithm maintains a truncated SVD consisting of smaller $d \times r$ matrices, where $r$ is the chosen rank.
Key Features
- Incremental Updates: Matrices are updated step-by-step as new data arrives, maintaining a per-step complexity of $O(dr + r^3)$, or $O(dr)$ with mini-batches.
- Regularization: Truncating singular values acts as regularization, ignoring noise in small singular values and producing more stable solutions than standard LSTD in ill-conditioned systems.
- Theoretical Bound: A derived simulation bound quantifies the bias-variance trade-off: a lower rank $r$ increases bias but decreases the variance of the estimate.
Experimental Evaluation
The algorithm was evaluated on two primary domains:
- Mountain Car: A benchmark task using Tile Coding (1,000 features) and Radial Basis Functions (1,024 features).
- Energy Allocation Domain: A real-world inspired task with 40,000 features, testing the algorithm's scalability in high-dimensional environments.
Results and Discussion
Experimental results confirm that the rank parameter $r$ serves as an effective "toggle" to balance computation and accuracy. In the Mountain Car task, performance leveled off at $r=50$, despite a feature space exceeding 1,000, confirming the redundancy in LSTD systems.
Efficiency and Scalability
In the 40,000-feature energy domain, t-LSTD ($r=40$) outperformed both TD and incremental LSTD (iLSTD). It converged more quickly than TD and remained computationally feasible where full LSTD was not.
When constrained by a fixed CPU budget, t-LSTD achieved lower error than TD by making better use of available data, and lower error than LSTD by processing more samples in the same timeframe.
Conclusion
t-LSTD offers a robust framework for high-dimensional reinforcement learning. While choosing the optimal rank $r$ remains a hyperparameter challenge, its intuitive nature and performance benefits make it a superior choice for many applications. Future work includes automating rank adaptation and extending the method from policy evaluation to control tasks.
Summary updated