Parameter-free Gradient Temporal Difference Learning

Andrew Jacobsen, Alan ChanarXiv 2021

Abstract

Reinforcement learning lies at the intersection of several challenges. Many applications of interest involve extremely large state spaces, requiring function approximation to enable tractable computation. In addition, the learner has only a single stream of experience with which to evaluate a large number of possible courses of action, necessitating algorithms which can learn off-policy. However, the combination of off-policy learning with function approximation leads to divergence of temporal difference methods. Recent work into gradient-based temporal difference methods has promised a path to stability, but at the cost of expensive hyperparameter tuning. In parallel, progress in online learning has provided parameter-free methods that achieve minimax optimal guarantees up to logarithmic terms, but their application in reinforcement learning has yet to be explored. In this work, we combine these two lines of attack, deriving parameter-free, gradient-based temporal difference algorithms. Our algorithms run in linear time and achieve high-probability convergence guarantees matching those of GTD2 up to $\log$ factors. Our experiments demonstrate that our methods maintain high prediction performance relative to fully-tuned baselines, with no tuning whatsoever.

Introduction

In reinforcement learning (RL), policy evaluation—predicting the long-term outcome of a specific course of action—is a fundamental task. When handling large state spaces, researchers often employ function approximation and off-policy learning. However, this combination often triggers the "Deadly Triad," where standard temporal difference (TD) algorithms diverge.

Gradient-based TD (GTD) methods were developed to ensure stability under these conditions. Despite their theoretical stability, GTD methods are notoriously sensitive to the learning rate (step-size). Finding an optimal step-size typically requires exhaustive grid searches, which are computationally expensive and impractical for real-world deployment. This work introduces a new class of GTD algorithms that require zero hyperparameter tuning by leveraging "coin-betting" strategies from online linear optimization (OLO).

Methods: From Saddle-Points to Coin-Betting

The proposed approach reformulates policy evaluation as a minimax (saddle-point) problem. In this framework, one variable minimizes prediction error while a dual variable maximizes it. To eliminate manual tuning, the authors reduce this optimization to a coin-betting game.

Instead of a fixed step-size, the algorithm acts as a gambler, deciding what fraction of its current "wealth" to bet on a gradient direction. Successful bets increase wealth, allowing for larger updates, while poor bets shrink wealth, naturally slowing the learning rate to maintain stability.

Architectural comparison of the PF, CW-PF, and PF+ algorithms.

As shown in the figure above, the authors developed three variants:

  1. PF (Dimension-free): Robust in high dimensions but can be slow with sparse features.
  2. CW-PF (Coordinate-wise): Learns a separate betting scale for every feature, which is essential for sparse data.
  3. PFGTD+: A hybrid algorithm that sums the iterates of PF and CW-PF to provide both robustness and efficiency across different data geometries.

Experimental Evaluation

The algorithms were tested on two distinct benchmarks:

  • Classic RL MDPs: Stress tests for stability including Baird’s counterexample, Boyan’s Chain, and a 5-state Random Walk.
  • Large-scale Robot Prediction: A real-world dataset from a mobile robot with 53 sensors and approximately 6,000 sparse features, representing a high-dimensional, noisy environment.

Results and Discussion

In classic benchmarks, the parameter-free PFGTD+ algorithm demonstrated performance competitive with exhaustively tuned GTD2 and TDRC baselines. While the tuned baselines often converged faster in simple environments, PFGTD+ exhibited superior reliability.

Performance comparison on classic RL benchmarks. Top: RMSPBE over time. Bottom: Cumulative distribution of final error.

The bottom row of the figure above displays Cumulative Distribution Function (CDF) plots of the final error. The steepness of the PFGTD+ (blue) curve indicates that it consistently reaches low error across various runs, whereas the tuned baselines show a wider spread of performance.

On the high-dimensional robot task, PFGTD+ actually outperformed the tuned baselines. This is attributed to the coordinate-wise betting strategy, which effectively tunes thousands of individual learning rates simultaneously—a task impossible for manual grid searches. While standard dimension-free methods struggled with feature sparsity, the CW-PF component of PFGTD+ allowed it to adapt to the specific geometry of the robot's sensor data.

Conclusion

This work demonstrates that high-probability convergence guarantees for RL can be achieved without manual step-size tuning. By bridging the gap between saddle-point GTD methods and parameter-free OLO, the authors provide a robust framework for off-policy learning. Future work includes extending these betting strategies to two-timescale architectures and moving from policy evaluation to the more complex task of optimal control.

Summary updated

BibTeX
@misc{jacobsen2021parameter,
  author = {Andrew Jacobsen and Alan Chan},
  title = {{Parameter-free Gradient Temporal Difference Learning}},
  year = {2021},
  eprint = {2105.04129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.04129},
}
Figure