Skip to main content
QUICK REVIEW

[Paper Review] Shallow Updates for Deep Reinforcement Learning

Nir Levine, Tom Zahavy|arXiv (Cornell University)|May 21, 2017
Reinforcement Learning in RoboticsComputer Science30 references10 citations
TL;DR

This paper proposes LS-DQN, a hybrid deep reinforcement learning method that periodically retrains the final layer of a deep Q-network using batch least squares updates with Bayesian regularization. The approach significantly improves performance over standard DQN and Double-DQN on Atari games by leveraging large-batch LS optimization, with the key improvement attributed to the stability and data efficiency of large-batch updates in the last layer.

ABSTRACT

Deep reinforcement learning (DRL) methods such as the Deep Q-Network (DQN) have achieved state-of-the-art results in a variety of challenging, high-dimensional domains. This success is mainly attributed to the power of deep neural networks to learn rich domain representations for approximating the value function or policy. Batch reinforcement learning methods with linear representations, on the other hand, are more stable and require less hyper parameter tuning. Yet, substantial feature engineering is necessary to achieve good results. In this work we propose a hybrid approach -- the Least Squares Deep Q-Network (LS-DQN), which combines rich feature representations learned by a DRL algorithm with the stability of a linear least squares method. We do this by periodically re-training the last hidden layer of a DRL network with a batch least squares update. Key to our approach is a Bayesian regularization term for the least squares update, which prevents over-fitting to the more recent data. We tested LS-DQN on five Atari games and demonstrate significant improvement over vanilla DQN and Double-DQN. We also investigated the reasons for the superior performance of our method. Interestingly, we found that the performance improvement can be attributed to the large batch size used by the LS method when optimizing the last layer.

Motivation & Objective

  • Address the instability and hyperparameter sensitivity of online deep Q-learning by integrating stable batch methods.
  • Overcome the limitation of shallow RL methods that require extensive feature engineering by leveraging deep networks for feature representation.
  • Develop a hybrid framework that combines the expressive feature learning of deep networks with the data efficiency and stability of least-squares temporal difference methods.
  • Investigate whether large-batch least-squares updates in the final layer can improve deep RL performance despite common beliefs that large batches degrade generalization.

Proposed method

  • Use a deep Q-network with convolutional and fully connected layers to extract rich state representations.
  • Periodically re-train only the final fully connected layer using a batch least squares (LS) update on experience replay data collected during online DRL training.
  • Apply a Bayesian regularization term to the LS update, using the current DRL policy weights as a prior to prevent overfitting to recent data.
  • Maintain the pre-trained lower layers of the network unchanged, preserving learned features while optimizing only the final layer with LS.
  • Alternate between online DQN updates and periodic LS updates of the last layer, effectively combining small-batch online learning with large-batch batch learning.
  • Use a large experience replay buffer to enable large-batch LS optimization, which improves stability and convergence.

Experimental results

Research questions

  • RQ1Can combining deep representation learning with batch least-squares RL improve performance on Atari games compared to standard DQN?
  • RQ2Does the use of large-batch LS updates in the final layer of a deep network lead to better generalization and stability than small-batch online updates?
  • RQ3What is the role of Bayesian regularization in preventing overfitting during LS updates of the final layer in a deep RL setting?
  • RQ4Why does the hybrid LS-DQN method outperform standard DQN and Double-DQN, and what specific component drives this improvement?
  • RQ5Can the performance gains from LS updates be attributed to the large batch size, rather than the choice of function approximator or regularization?

Key findings

  • LS-DQN achieves significant performance improvements over vanilla DQN and Double-DQN across five Atari games, with consistent gains in human-normalized scores.
  • The primary driver of performance improvement is the large-batch least-squares update in the final layer, not the Bayesian regularization or the hybrid architecture per se.
  • The large batch size used in LS updates leads to more stable and generalizable weight updates compared to small-batch SGD in standard DQN.
  • The method maintains the expressive feature representations of deep networks while benefiting from the data efficiency and convergence guarantees of LS-based batch methods.
  • The Bayesian regularization term effectively prevents overfitting to recent experience during LS updates, improving robustness.
  • The results are consistent across different combinations of DRL and SRL methods, indicating the generalizability of the hybrid approach.

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.