A Closer Look at Invalid Action Masking in Policy Gradient Algorithms

Drexel University

Indexed inarxivcrossrefdoaj

Abstract

In recent years, Deep Reinforcement Learning (DRL) algorithms have achieved state-of-the-art performance in many challenging strategy games. Because these games have complicated rules, an action sampled from the full discrete action distribution predicted by the learned policy is likely to be invalid according to the game rules (e.g., walking into a wall). The usual approach to deal with this problem in policy gradient algorithms is to “mask out” invalid actions and just sample from the set of valid actions. The implications of this process, however, remain under-investigated. In this paper, we 1) show theoretical justification for such a practice, 2) empirically demonstrate its importance as the space of…

Citation impact

343
total citations
FWCI
33.44
Percentile
100%
References
28
Citations per year

Authors

2

Topics & keywords

Keywords
  • Masking (illustration)
  • Action (physics)
  • Reinforcement learning
  • Computer science
  • Set (abstract data type)
  • Process (computing)
  • Artificial intelligence
  • Algorithm
UN Sustainable Development Goals
  • Peace, Justice and strong institutions
No related works found for this paper.