Skip to main content
QUICK REVIEW

[Paper Review] Temporal Difference Updating without a Learning Rate

Marcus Hütter, Shane Legg|ArXiv.org|Oct 31, 2008
Reinforcement Learning in RoboticsComputer Science9 references16 citations
TL;DR

This paper proposes HL(λ), a temporal difference learning algorithm that eliminates the need for a manually tuned learning rate α by deriving the learning rate from statistical principles via a variational approach. The method uses state-specific learning rates based on eligibility traces and empirical reward statistics, outperforming standard TD(λ), Sarsa(λ), and Q(λ) across multiple environments without hyperparameter tuning.

ABSTRACT

We derive an equation for temporal difference learning from statistical principles. Specifically, we start with the variational principle and then bootstrap to produce an updating rule for discounted state value estimates. The resulting equation is similar to the standard equation for temporal difference learning with eligibility traces, so called TD(lambda), however it lacks the parameter alpha that specifies the learning rate. In the place of this free parameter there is now an equation for the learning rate that is specific to each state transition. We experimentally test this new learning rule against TD(lambda) and find that it offers superior performance in various settings. Finally, we make some preliminary investigations into how to extend our new temporal difference algorithm to reinforcement learning. To do this we combine our update equation with both Watkins' Q(lambda) and Sarsa(lambda) and find that it again offers superior performance without a learning rate parameter.

Motivation & Objective

  • To eliminate the need for manual learning rate tuning in temporal difference learning.
  • To derive a principled, data-driven learning rate from statistical inference rather than heuristic design.
  • To improve learning stability and performance in both value estimation and policy learning tasks.
  • To extend the new learning rule to full reinforcement learning algorithms like Sarsa(λ) and Q(λ).
  • To validate the method across stationary, non-stationary, and episodic environments.

Proposed method

  • Derives the learning rate from a variational principle minimizing a weighted sum of squared errors between estimated and empirical future discounted rewards.
  • Uses a time-weighted loss function with parameter λ to discount older state transitions, enabling adaptation in non-stationary environments.
  • Replaces the fixed learning rate α in TD(λ) with a state-transition-specific learning rate β derived from the inverse of a normalized trace-weighted count and eligibility trace.
  • Applies the derived learning rate in an incremental update rule: V(s) ← V(s) + β × E(s) × δ, where δ is the temporal difference error.
  • Extends the method to Q-learning by integrating the β-based update into Sarsa(λ) and Watkins’ Q(λ), creating HLS(λ) and HLQ(λ).
  • Employs a running count N(s,a) and eligibility trace E(s,a) to track visitation frequency and temporal credit assignment, with λ used to decay both.

Experimental results

Research questions

  • RQ1Can a principled, data-driven learning rate be derived from statistical inference that replaces the heuristic learning rate α in TD(λ)?
  • RQ2Does the resulting HL(λ) algorithm outperform standard TD(λ) in value function estimation across different Markov chain environments?
  • RQ3Can the learning rate adaptation in HL(λ) improve performance in non-stationary environments compared to fixed-α methods?
  • RQ4Does the elimination of the learning rate hyperparameter lead to superior performance in full reinforcement learning algorithms like Sarsa(λ) and Q(λ)?
  • RQ5Can the HL(λ) framework be generalized to other temporal difference algorithms without loss of performance or increased complexity?

Key findings

  • HL(λ) outperformed standard TD(λ) in both stationary and non-stationary Markov chains, achieving lower error in value function estimation.
  • In the windy gridworld environment, HLS(λ) achieved a final empirical future discounted reward of over 5.0, surpassing the best-tuned Sarsa(λ) performance, which plateaued below 5.0.
  • Even with λ=0.99, Sarsa(λ) could not match the final performance of HLS(λ), demonstrating the advantage of the data-driven learning rate.
  • HLQ(λ), the extension of HL(λ) to Q-learning, achieved better performance than Q(λ) without tuning the learning rate, despite extensive hyperparameter search.
  • The method showed consistent superiority across multiple runs and environments, with performance gains attributed to adaptive learning rates per state transition.
  • The algorithm maintained competitive training speed while eliminating the need for manual α tuning, suggesting practical advantages in real-world RL applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.