Deep Q-Learning with Gradient Target Tracking

Donghwan Lee, Bum Geun Park, Taeho LeearXiv 2025 · DOI

Abstract

Standard Deep Q-Networks (DQN) rely on periodic "hard updates" or slow "soft updates" to stabilize the target network, a process highly sensitive to hyperparameter tuning. This paper introduces a novel framework that replaces these heuristics with a continuous, gradient-based tracking mechanism. By treating the target network as a learnable component that follows the online network via gradient descent, the proposed AGT2-DQN and SGT2-DQN algorithms maintain stable performance while reducing the need for manual tuning of update frequencies.

Introduction

In reinforcement learning, the "moving target" problem is a significant hurdle for stability. Because the Q-learning target depends on the current network's predictions, updating weights at every step can lead to divergence. Traditionally, researchers use a separate target network updated either through hard copies every $C$ iterations or Polyak averaging with a parameter $\tau$. However, both $C$ and $\tau$ are sensitive hyperparameters that can significantly impact learning speed and stability.

This work proposes Gradient Target Tracking, a framework where the target network is updated via gradient descent to minimize the error between its predictions and those of the online network. This transforms target maintenance from a heuristic update into a structured optimization process.

Methods: AGT2-DQN and SGT2-DQN

The authors introduce two primary algorithms under this framework:

  1. Asymmetric Gradient Target Tracking (AGT2-DQN): The online network follows the standard Bellman error. Simultaneously, the target network is updated to minimize the mean squared error between its predictions and the online network's current predictions, effectively "learning" to track the online network.
  2. Symmetric Gradient Target Tracking (SGT2-DQN): This version creates a symmetric coupling where both networks are updated with loss terms driving them toward each other, supplemented by a regularization term penalizing their difference. This co-evolutionary approach is conceptually similar to Double Q-learning but implemented through continuous gradient steps.

Theoretical convergence to the optimal Q-function ($Q^*$) is established for the tabular versions (AGT2-QL and SGT2-QL) using Ordinary Differential Equation (ODE) analysis and the Borkar-Meyn theorem.

Experimental Evaluation

The algorithms were evaluated on standard OpenAI Gym benchmarks, including Cartpole, Acrobot, and Pendulum.

Comparison of DQN, AGT2-DQN, and SGT2-DQN on the Cartpole environment.

As shown in the Cartpole results, the gradient-based tracking methods achieve performance comparable to a well-tuned DQN. A key advantage identified is the reduced sensitivity to the tracking parameter $\beta$ compared to DQN's sensitivity to the update period $C$.

Performance of the proposed methods on Acrobot and Pendulum tasks.

In the Pendulum environment, the proposed methods demonstrated superior learning efficiency, particularly when the standard DQN's update period was not perfectly optimized. The symmetric version (SGT2-DQN) generally showed faster convergence and greater robustness across different environments.

Discussion and Future Work

While the Gradient Target Tracking framework offers a more principled approach to target updates, the authors noted occasional "performance collapse" after initial learning, likely due to overshooting in the gradient updates. Future research could explore stabilization techniques such as loss function clipping or extending theoretical convergence proofs to non-linear function approximators. Testing these mechanisms in high-dimensional visual environments like Atari remains a critical next step for scaling these benefits.

Summary updated

BibTeX
@misc{lee2025deep,
  author = {Donghwan Lee and Bum Geun Park and Taeho Lee},
  title = {{Deep Q-Learning with Gradient Target Tracking}},
  year = {2025},
  eprint = {2503.16700},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.16700},
}
Figure