Skip to main content
QUICK REVIEW

[Paper Review] Investigating Recurrence and Eligibility Traces in Deep Q-Networks

Jean Harb, Doina Precup|arXiv (Cornell University)|Apr 18, 2017
Reinforcement Learning in RoboticsComputer Science13 references6 citations
TL;DR

This paper investigates the integration of eligibility traces and recurrent neural networks (RNNs) in Deep Q-Networks (DQN) for reinforcement learning in the Atari environment. It demonstrates that combining RNNs with eligibility traces significantly improves learning stability and sample efficiency, particularly in sparse-reward and partially observable games like Pong and Tennis, with Adam optimization accelerating convergence and outperforming RMSprop.

ABSTRACT

Eligibility traces in reinforcement learning are used as a bias-variance trade-off and can often speed up training time by propagating knowledge back over time-steps in a single update. We investigate the use of eligibility traces in combination with recurrent networks in the Atari domain. We illustrate the benefits of both recurrent nets and eligibility traces in some Atari games, and highlight also the importance of the optimization used in the training.

Motivation & Objective

  • To investigate the effectiveness of eligibility traces in combination with recurrent networks for deep reinforcement learning.
  • To evaluate how optimization algorithms like RMSprop and Adam affect learning performance in RNN-based DQNs.
  • To address challenges in partially observable and sparse-reward environments such as Atari games.
  • To determine whether eligibility traces can stabilize training and accelerate convergence in recurrent DQN architectures.
  • To compare the performance of RNN-based agents with and without eligibility traces across multiple Atari games.

Proposed method

  • Uses recurrent neural networks (RNNs) to provide memory and context for past observations, enabling better credit assignment in partially observable environments.
  • Applies eligibility traces (λ=0.8) to propagate TD errors over multiple time steps, improving temporal credit assignment.
  • Employs Q(λ) learning, a bootstrapping algorithm that combines n-step returns with exponential weighting via λ to balance bias and variance.
  • Trains agents using experience replay and stochastic gradient descent with RMSprop and Adam optimizers.
  • Uses the forward view of eligibility traces for theoretical grounding, though the backward view is used for practical implementation.
  • Evaluates performance on Atari 2600 games, particularly Pong and Tennis, measuring test scores and convergence speed.

Experimental results

Research questions

  • RQ1How do eligibility traces affect learning performance when combined with recurrent networks in DQN?
  • RQ2What is the impact of different optimization algorithms (RMSprop vs. Adam) on the training stability and convergence speed of RNN-based DQNs?
  • RQ3Can RNNs with eligibility traces overcome the limitations of standard DQN in sparse-reward environments like Tennis and Pong?
  • RQ4Why does the DQN agent fail to learn optimal policies in Tennis, and how do RNNs with eligibility traces address this?
  • RQ5How does the choice of learning rate and optimizer influence the effectiveness of eligibility traces in recurrent DQN models?

Key findings

  • The RNN with eligibility traces achieved near-optimal scores in Tennis in 13 epochs when trained with Adam, outperforming both standard DQN and RNNs without traces.
  • With RMSprop and a learning rate of 0.00025, the RNN without traces reached a score of 20 in 45 epochs, while the model with traces took 62 epochs, suggesting slower convergence under this optimizer.
  • When using a higher learning rate of 0.001 with RMSprop, the RNN with traces reached 20 points in 27 epochs, but the model without traces failed to surpass the 0 threshold.
  • Adam optimization enabled the RNN with traces to achieve optimal performance in just 13 epochs, demonstrating a strong acceleration effect.
  • The model without eligibility traces exhibited instability, occasionally reverting to a suboptimal 'delaying' policy after learning to win, while the model with traces remained stable.
  • Standard DQN failed to surpass a score of 0 in Tennis, getting stuck in a loop where it merely exchanged the ball without scoring, due to delayed and sparse rewards.

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.