Skip to main content
QUICK REVIEW

[Paper Review] Deep Reinforcement Learning via L-BFGS Optimization

Jacob Rafati, Roummel F. Marcia|arXiv (Cornell University)|Nov 6, 2018
Reinforcement Learning in RoboticsComputer Science33 references5 citations
TL;DR

This paper proposes a deep reinforcement learning framework using the L-BFGS quasi-Newton optimization method as an alternative to stochastic gradient descent (SGD). By leveraging low-rank Hessian approximations from gradient information, the method achieves robust convergence, faster training (under 3 hours for 2M steps), and eliminates the need for experience replay, outperforming several prior methods on Atari 2600 games in key metrics.

ABSTRACT

Reinforcement Learning (RL) algorithms allow artificial agents to improve their action selections so as to increase rewarding experiences in their environments. Deep Reinforcement Learning algorithms require solving a nonconvex and nonlinear unconstrained optimization problem. Methods for solving the optimization problems in deep RL are restricted to the class of first-order algorithms, such as stochastic gradient descent (SGD). The major drawback of the SGD methods is that they have the undesirable effect of not escaping saddle points and their performance can be seriously obstructed by ill-conditioning. Furthermore, SGD methods require exhaustive trial and error to fine-tune many learning parameters. Using second derivative information can result in improved convergence properties, but computing the Hessian matrix for large-scale problems is not practical. Quasi-Newton methods require only first-order gradient information, like SGD, but they can construct a low rank approximation of the Hessian matrix and result in superlinear convergence. The limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) approach is one of the most popular quasi-Newton methods that construct positive definite Hessian approximations. In this paper, we introduce an efficient optimization method, based on the limited memory BFGS quasi-Newton method using line search strategy -- as an alternative to SGD methods. Our method bridges the disparity between first order methods and second order methods by continuing to use gradient information to calculate a low-rank Hessian approximations. We provide formal convergence analysis as well as empirical results on a subset of the classic ATARI 2600 games. Our results show a robust convergence with preferred generalization characteristics, as well as fast training time and no need for the experience replaying mechanism.

Motivation & Objective

  • To address the limitations of SGD in deep reinforcement learning, including slow convergence, sensitivity to hyperparameters, and poor saddle-point escape.
  • To explore second-order optimization via quasi-Newton methods as a scalable alternative to full Hessian computation.
  • To eliminate the need for experience replay memory by enabling efficient, stable training with L-BFGS.
  • To evaluate the performance of L-BFGS-based deep Q-learning on standard Atari 2600 environments.
  • To demonstrate that curvature-aware optimization improves convergence and generalization in nonconvex deep RL problems.

Proposed method

  • Uses the limited-memory BFGS (L-BFGS) quasi-Newton method to approximate the Hessian matrix using only gradient information.
  • Employs a line search strategy to determine step size, ensuring sufficient decrease in the loss function at each iteration.
  • Constructs a low-rank, positive definite Hessian approximation that captures curvature information without explicit Hessian computation.
  • Applies the method to train a deep Q-network (DQN) with function approximation for state-action value estimation.
  • Implements the algorithm on GPU for efficient parallel computation, avoiding the memory overhead of experience replay.
  • Uses mini-batches of size b ∈ {512, 1024, 2048, 4096} and L-BFGS memory size m ∈ {20, 40, 80} in experiments.

Experimental results

Research questions

  • RQ1Can L-BFGS optimization achieve faster and more stable training than SGD in deep reinforcement learning?
  • RQ2Does using curvature information via L-BFGS improve generalization and test performance on Atari 2600 games?
  • RQ3Can L-BFGS eliminate the need for experience replay in deep Q-learning while maintaining or improving performance?
  • RQ4How does the L-BFGS method perform across different batch sizes and memory sizes in the L-BFGS algorithm?
  • RQ5Does L-BFGS-based deep RL converge robustly to high scores on diverse Atari environments without hyperparameter tuning?

Key findings

  • The L-BFGS method achieved robust learning across all six Atari 2600 games, with consistent performance across different batch sizes and memory settings.
  • Training time was under 3 hours for 2 million steps, significantly faster than TRPO (30 hours for 500 iterations) and other methods.
  • The method outperformed DQN and TRPO in the Space Invaders game, achieving a score of 955 compared to DQN’s 581 and TRPO’s 568.
  • The method achieved strong performance on Beam Rider (1380), Breakout (18), and Q*bert (1525), outperforming Sarsa and contingency-aware methods.
  • No correlation was found between training time and batch size or L-BFGS memory size, indicating stable and predictable performance.
  • The method achieved low squared temporal difference (STD) error and did not require experience replay, reducing memory usage and simplifying training.

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.