Skip to main content
QUICK REVIEW

[Paper Review] Convergent and Efficient Deep Q Network Algorithm

Zhikang T. Wang, Masahito Ueda|arXiv (Cornell University)|Jun 29, 2021
Reinforcement Learning in RoboticsComputer Science51 references5 citations
TL;DR

This paper proposes C-DQN, a convergent and efficient deep Q-network algorithm that guarantees monotonic loss decrease by eliminating loss increase during target network updates, ensuring convergence even with high discount factors (up to ~0.9998). It successfully learns several Atari 2600 games where standard DQN fails, demonstrating robustness and scalability in complex environments.

ABSTRACT

Despite the empirical success of the deep Q network (DQN) reinforcement learning algorithm and its variants, DQN is still not well understood and it does not guarantee convergence. In this work, we show that DQN can indeed diverge and cease to operate in realistic settings. Although there exist gradient-based convergent methods, we show that they actually have inherent problems in learning dynamics which cause them to fail even in simple tasks. To overcome these problems, we propose a convergent DQN algorithm (C-DQN) that is guaranteed to converge and can work with large discount factors (0.9998). It learns robustly in difficult settings and can learn several difficult games in the Atari 2600 benchmark that DQN fails to solve. Our codes have been publicly released and can be used to reproduce our results.

Motivation & Objective

  • Address the lack of theoretical convergence guarantees in deep Q-network (DQN) algorithms despite their empirical success.
  • Identify that existing gradient-based convergent methods suffer from poor learning dynamics and fail on simple tasks.
  • Develop a new DQN variant that guarantees convergence while maintaining efficiency and scalability for large-scale RL tasks.
  • Enable stable training with high discount factors (γ ≈ 0.9998) and robust performance on challenging Atari 2600 environments.

Proposed method

  • Propose a modified loss function that ensures the loss does not increase when the target network is updated, thereby guaranteeing monotonic decrease and convergence.
  • Use a normalized Q-function  \hat{Q} = (Q - μ)/σ to stabilize training, where μ and σ are computed from initial experience transitions.
  • Apply a modified learning rule for Q-updates to prevent unintended changes in greedy policy behavior when Q-values are equal.
  • Introduce a time-scale-aware normalization strategy using γ₀ to align reward dynamics between random and learned policies.
  • Implement a target network update mechanism that avoids loss increase by construction, using a modified update rule based on the Bellman equation.
  • Use a learning rate of 4×10⁻⁵ and γ₀ = 0.9998 in experiments, with normalization computed over the first 50,000 transitions excluding zero-return episodes.

Experimental results

Research questions

  • RQ1Can a deep Q-network algorithm be designed to guarantee convergence while maintaining efficiency and scalability?
  • RQ2Why do existing gradient-based convergent methods fail in practice despite theoretical convergence guarantees?
  • RQ3What causes DQN to diverge in realistic environments, and how can this be formally addressed?
  • RQ4Can a loss function be constructed such that it monotonically decreases during training, even with function approximation?
  • RQ5How does normalization of Q-values affect learning stability and convergence in high-discount-factor settings?

Key findings

  • C-DQN guarantees monotonic decrease of the loss function during training, ensuring theoretical convergence.
  • The algorithm successfully learns several Atari 2600 games—including Hero and Montezuma’s Revenge—where standard DQN fails.
  • C-DQN achieves stable training with high discount factors (γ ≈ 0.9998), enabling effective long-horizon planning.
  • Normalization of Q-values using μ and σ computed from initial experience improves training stability and convergence.
  • The method outperforms double DQN and human baseline on several games, as shown in Figure 15, under the same experimental setup.
  • Despite improvements, the normalization strategy still struggles in highly stochastic environments like Breakout, where reward dynamics differ significantly between random and learned policies.

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.