24
339

Equivalence Between Policy Gradients and Soft Q-Learning

Abstract

Two of the leading approaches for model-free reinforcement learning are policy gradient methods and QQ-learning methods. QQ-learning methods can be effective and sample-efficient when they work, however, it is not well-understood why they work, since empirically, the QQ-values they estimate are very inaccurate. A partial explanation may be that QQ-learning methods are secretly implementing policy gradient updates: we show that there is a precise equivalence between QQ-learning and policy gradient methods in the setting of entropy-regularized reinforcement learning, that "soft" (entropy-regularized) QQ-learning is exactly equivalent to a policy gradient method. We also point out a connection between QQ-learning methods and natural policy gradient methods. Experimentally, we explore the entropy-regularized versions of QQ-learning and policy gradients, and we find them to perform as well as (or slightly better than) the standard variants on the Atari benchmark. We also show that the equivalence holds in practical settings by constructing a QQ-learning method that closely matches the learning dynamics of A3C without using a target network or ϵ\epsilon-greedy exploration schedule.

View on arXiv
Comments on this paper