Incremental Truncated LSTD

Clement Gehring, Yangchen Pan, Martha White

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:

  1. Temporal Difference (TD) Learning: Computationally efficient ($O(d)$ complexity for $d$ features) but sample-inefficient, often requiring extensive data to converge.
  2. 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.
RMSE vs Rank: Performance plateaus as rank increases, demonstrating that full-rank representation is often unnecessary.

Experimental Evaluation

The algorithm was evaluated on two primary domains:

  1. Mountain Car: A benchmark task using Tile Coding (1,000 features) and Radial Basis Functions (1,024 features).
  2. 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.

Performance comparison: (a) t-LSTD matches LSTD sample efficiency with higher rank; (b) t-LSTD achieves lower error than both TD and LSTD within a fixed computation budget.

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

BibTeX
@inproceedings{gehring2016incremental,
  author = {Clement Gehring and Yangchen Pan and Martha White},
  title = {{Incremental Truncated LSTD}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2016},
}
Figure