Robust Action Gap Increasing with Clipped Advantage Learning

Zhe Zhang, Yaozhong Gan, Xiaoyang Tan

Abstract

Advantage Learning (AL) seeks to increase the action gap between the optimal action and its competitors, so as to improve the robustness to estimation errors. However, the method becomes problematic when the optimal action induced by the approximated value function does not agree with the true optimal action. In this paper, we present a novel method, named clipped Advantage Learning (clipped AL), to address this issue. The method is inspired by our observation that increasing the action gap blindly for all given samples while not taking their necessities into account could accumulate more errors in the performance loss bound, leading to a slow value convergence, and to avoid that, we should adjust the advantage value adaptively. We show that our simple clipped AL operator not only enjoys fast convergence guarantee but also retains proper action gaps, hence achieving a good balance between the large action gap and the fast convergence. The feasibility and effectiveness of the proposed method are verified empirically on several RL benchmarks with promising performance.

Introduction

In Reinforcement Learning (RL), agents learn to estimate the value of actions in various states. A key metric for robustness is the action gap: the difference in value between the optimal action and the next best alternative. A large action gap is desirable because it makes the policy less sensitive to small estimation errors in the Q-values.

While Advantage Learning (AL) was specifically designed to widen this gap, it has a critical flaw. AL increases the gap for whichever action currently appears best. Early in the learning process, the agent's estimates are often inaccurate. If AL "blindly" widens the gap for a suboptimal action, it becomes "confidently wrong," making it significantly harder to correct the policy later and slowing down convergence.

Clipped Advantage Learning (clipped AL)

We propose Clipped Advantage Learning (clipped AL) to mitigate the convergence issues of standard AL. The core idea is based on the principle that advantage terms should only be applied when necessary.

Standard AL subtracts a penalty from all suboptimal actions to push their values down relative to the maximum. Clipped AL introduces a clipping mechanism that only applies this penalty if a suboptimal action's value is "close enough" to the estimated optimal value (within a clipping ratio $c$). If the gap is already large, the standard Bellman operator is used. This adaptive approach prevents the algorithm from over-penalizing potentially good actions that are temporarily ranked lower due to initial estimation noise or poor exploration.

Figure 1: The 11-state chain-walk environment used to demonstrate the theoretical and empirical properties of clipped AL.

Experimental Results

The effectiveness of clipped AL was evaluated on several benchmarks, including the 11-state Chain-Walk environment, MinAtar, and the PyGame Learning Environment (PLE).

Convergence and Action Gaps

In the Chain-Walk experiment, clipped AL demonstrated a superior balance between learning speed and robustness. As shown in Figure 2a, clipped AL reached the optimal policy in 113 iterations, significantly faster than standard AL (138 iterations), though slower than the standard Bellman operator which lacks the robustness of a large action gap. Figures 2b and 2c illustrate that clipped AL successfully maintains a substantial action gap without the extreme value distortions seen in standard AL.

Figure 2: Performance analysis on the chain-walk task: (a) convergence of the value error, (b) and (c) Q-value distributions for standard Bellman, Advantage Learning, and Clipped Advantage Learning.

Benchmark Performance

On more complex tasks like MinAtar and PLE, clipped AL outperformed standard AL in 5 out of 6 environments. Quantitatively, clipped AL achieved a 45.73% improvement over vanilla DQN (normalized score), more than doubling the improvement of original AL (20.25%) and slightly exceeding other state-of-the-art methods like Munchausen DQN (44.42%).

Conclusion

Clipped Advantage Learning addresses the fundamental trade-off between action gap robustness and convergence speed. By adaptively clipping the advantage term, it provides the benefits of a large action gap where it matters most—near the decision boundary—without the global convergence penalties of standard AL. Future research will investigate adaptive clipping ratios that evolve with the agent's confidence during training.

Summary updated

BibTeX
@inproceedings{zhang2022robust,
  author = {Zhe Zhang and Yaozhong Gan and Xiaoyang Tan},
  title = {{Robust Action Gap Increasing with Clipped Advantage Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=1GDjRLuZPA},
}
Figure