Growing Action Spaces

Gregory Farquhar, Laura Gustafson, Zeming Lin, Shimon Whiteson, Nicolas Usunier, Gabriel Synnaeve

The Challenge of Massive Action Spaces

In reinforcement learning (RL), exploration is often a "needle in a haystack" problem. When an agent faces a massive number of possible actions—especially in multi-agent systems where the joint action space grows exponentially—the probability of randomly stumbling upon a rewarding sequence is near zero.

Traditional curriculum learning techniques typically simplify the environment (e.g., starting with an easier level). However, researchers often lack control over environment dynamics. Growing Action Spaces (GAS) proposes an alternative: an internal curriculum. Instead of changing the world, GAS changes how the agent interacts with it by starting with a severely restricted action space and progressively expanding it.

How Growing Action Spaces Work

The core of the GAS framework is a hierarchy of action spaces $A_0 \subset A_1 \subset \dots \subset A_n$, where each level is a superset of the previous one. The framework relies on three key mechanisms:

  1. Off-Action-Space Learning: Because GAS uses off-policy Q-learning, data collected while exploring a restricted action space ($A_{low}$) remains valid for training the value functions of less restricted spaces ($A_{high}$). Value functions for all levels of the hierarchy are trained simultaneously.
  2. Value Function Decomposition: To ensure smooth transfer of knowledge, the value function for a higher level is initialized as the value of its "parent" action in the lower level, plus a learned "delta" (residual): $$\hat{Q}^*_{\ell+1}(s, a) = \hat{Q}^*_{\ell}(s, \text{parent}_{\ell}(a)) + \Delta_{\ell}(s, a)$$
  3. Multi-Agent Hierarchical Clustering: For complex multi-agent tasks like StarCraft, GAS uses $k$-means clustering based on unit positions. At the most restricted level ($A_0$), the entire army acts as a single group. As the action space grows, the army splits into more independent groups, enabling finer control and complex tactics.

Experimental Results

The authors evaluated GAS on two distinct types of problems:

  • Discretized Continuous Control: Modified, harder versions of classic Acrobot and Mountain Car environments featuring sparse rewards and time-limit penalties.
  • Large-Scale StarCraft Micromanagement: Challenging StarCraft II scenarios involving 50 to 100 units per side, significantly larger than typical RL benchmarks.

In both simple control and complex StarCraft battles, GAS significantly outperformed agents trained on the full action space from scratch.

Evaluation returns for Acrobot and Mountain Car, showing GAS(2) outperforming fixed action space baselines.

In Mountain Car, agents trained on the full resolution ($A_2$) from scratch almost never found the goal. In contrast, GAS found the goal early and smoothly transitioned to a high-performing policy. In StarCraft, GAS consistently achieved higher win rates than baselines and developed sophisticated, human-like tactics, such as forming a "concave" around the enemy to maximize simultaneous attacks.

Key Insights and Limitations

  • The Monotonicity Property: Because a larger action space is a superset, the agent can always "fall back" to the best policy of the restricted space ($V^*_i(s) \le V^*_j(s)$ if $i < j$). This theoretical grounding justifies the additive value decomposition.
  • Exploration Guidance: Restricted action spaces act as a prior. In multi-agent settings, clustering agents early in training enforces coordination, preventing the noise of 100 agents acting randomly.
  • Simultaneous Training: Unlike traditional curricula that discard old tasks, GAS keeps all levels active, allowing the agent to constantly bootstrap complex actions from coarse ones.

Limitations: The hierarchy currently requires manual definition (e.g., choosing $k$ for clustering). Future work could involve learning action embeddings to automate this process. Additionally, the authors noted that spatial resolution limits in their CNN architecture caused slight performance degradation at very high hierarchy levels, and the modified Bellman equation could theoretically increase maximization bias.

Summary updated

BibTeX
@inproceedings{farquhar2020growing,
  author = {Gregory Farquhar and Laura Gustafson and Zeming Lin and Shimon Whiteson and Nicolas Usunier and Gabriel Synnaeve},
  title = {{Growing Action Spaces}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=LLaBFUB-N4N},
}
Figure