DeepMellow: Removing the Need for a Target Network in Deep Q-Learning

Seungchan Kim, Kavosh Asadi, Michael L. Littman, George Dimitri Konidaris

Abstract

Deep Q-Networks (DQN) typically rely on target networks to stabilize learning by mitigating the "moving target" problem. However, target networks introduce significant delays in learning, increase memory overhead, and move the algorithm away from true online learning. We present DeepMellow, an algorithm that replaces the standard max operator in the Bellman equation with the smoother Mellowmax operator. This substitution provides inherent stability, allowing for effective learning without a separate target network. Our evaluations across classic control tasks and Atari 2600 games demonstrate that DeepMellow achieves faster convergence and higher final returns than standard DQN.

Introduction

In standard Q-learning, an agent updates its current value estimate based on the estimated value of the subsequent state. This bootstrapping process often leads to instability or divergence in deep reinforcement learning because the "target" values change with every parameter update. To address this, the original DQN implementation introduced a target network—a frozen copy of the main network used to calculate targets, updated only periodically (e.g., every 10,000 steps).

While effective for stabilization, target networks have notable drawbacks: they delay the incorporation of new information, require double the memory to store weights, and complicate the transition to fully online learning systems. DeepMellow aims to eliminate this requirement by addressing the root cause of instability: the overestimation bias and non-smoothness of the max operator.

Methodology: The Mellowmax Operator

DeepMellow replaces the standard maximum in the Bellman update with the Mellowmax operator, defined as:

$$mm_\omega(x) := \frac{\log(\frac{1}{n} \sum_{i=1}^{n} \exp(\omega x_i))}{\omega}$$

Mellowmax serves as a differentiable, smooth version of the maximum. The temperature parameter $\omega$ allows the operator to interpolate between a simple average (as $\omega \to 0$) and a true maximum (as $\omega \to \infty$). The authors prove that Mellowmax is both convex for $\omega \geq 0$ and monotonic with respect to $\omega$. By smoothing the value landscape, DeepMellow reduces the overestimation bias that typically necessitates a target network.

Performance of DeepMellow across various environments compared to DQN without a target network (C=1).

Experimental Results

The algorithm was evaluated on classic control tasks (Acrobot, Lunar Lander) and high-dimensional Atari games (Breakout, Seaquest).

Stability and Convergence

As shown in Figure 1, standard DQN without a target network ($C=1$) often fails to maintain stable performance or diverges entirely. In contrast, DeepMellow remains stable across all tested environments. Notably, DeepMellow often learns faster than even a fully optimized DQN with a target network. For instance, in Lunar Lander, DeepMellow reached a benchmark score of 0 approximately 8% faster than standard DQN.

Performance in Atari Benchmarks

In more complex visual tasks, the benefits of removing the target network delay become even more apparent. In Breakout, DeepMellow achieved a score 42.6% higher than DQN at the 10-million-step mark. Similar gains were observed in Seaquest, where DeepMellow outperformed DQN by 25.2%.

Comparison in Breakout between DeepMellow and a standard stabilized DQN with a target network update interval of 10,000 steps (C=10000).

As illustrated in Figure 2, DeepMellow (with appropriate $\omega$ tuning) significantly outperforms the standard DQN setup ($C=10000$). This suggests that the immediate reactivity of DeepMellow's single-network approach provides a tangible advantage over the delayed updates of the target network method.

Discussion and Future Work

While DeepMellow successfully removes the need for target networks, it introduces a new hyperparameter, $\omega$. The optimal value for $\omega$ varies by domain; simpler control tasks favor lower values ($\omega \approx 1-2$), while complex Atari games require much higher values (up to $\omega=5000$ for Breakout).

Future research will focus on developing adaptive methods to tune $\omega$ automatically during training. Additionally, while this work eliminates target networks, the agents still utilize an Experience Replay buffer. Moving toward a truly online, buffer-free reinforcement learning algorithm remains an open challenge for future iterations of the DeepMellow framework.

Summary updated

BibTeX
@inproceedings{kim2019deepmellow,
  author = {Seungchan Kim and Kavosh Asadi and Michael L. Littman and George Dimitri Konidaris},
  title = {{DeepMellow: Removing the Need for a Target Network in Deep Q-Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/379},
}
Figure