Reinforcement Learning with Parameterized Actions

Warwick Masson, Pravesh Ranchod, George Konidaris · OpenReview

Abstract

Reinforcement learning typically handles either discrete or continuous action spaces. However, many real-world tasks require a hybrid approach where an agent selects a discrete action that is then executed with continuous parameters. This paper introduces Q-PAMDP, a model-free algorithm designed for Parameterized Action Markov Decision Processes (PAMDPs). By alternating between discrete action selection and continuous parameter optimization, Q-PAMDP achieves convergence to local optima and significantly outperforms standard policy search methods in complex simulated environments like robot soccer and platform games.

Introduction: The Hybrid Action Challenge

Most reinforcement learning (RL) research focuses on two extremes: discrete action spaces (e.g., choosing "left" or "right") and continuous action spaces (e.g., specifying "joint torque"). Real-world scenarios often fall in between. For instance, a soccer-playing robot must decide which action to take—kick, pass, or dribble—and then determine the parameters for that action, such as the force and angle of a kick.

Treating such problems as purely continuous ignores the fundamental "difference in kind" between actions, while a purely discrete approach lacks the precision needed for fine-tuned behavior. The authors formalize this hybrid structure as a Parameterized Action Markov Decision Process (PAMDP).

The structure of a Parameterized Action MDP, where each discrete action $a_i$ is associated with a unique continuous parameter space $X_i$.

Methodology: The Q-PAMDP Algorithm

To address the PAMDP challenge, the authors propose Q-PAMDP, which decomposes the learning process into a two-tiered hierarchy:

  1. Discrete Action Selection: A policy $\pi^d$ selects the high-level discrete action.
  2. Parameter Selection: For each discrete action $a_i$, a dedicated policy $\pi^a_i$ chooses the continuous parameters from the space $X_i$.

The algorithm operates by alternating between two phases:

  • The Q-Step: Using a Q-learning variant (such as SARSA), the agent learns the values of discrete actions while keeping the parameter-selection policies fixed.
  • The P-UPDATE Step: Using a policy search method (like the Natural Actor-Critic), the agent optimizes the continuous parameters for each action based on the current value function.

The paper investigates two variants: Q-PAMDP(1), which performs a single parameter update before re-evaluating discrete actions, and Q-PAMDP($\infty$), which fully optimizes one level before switching to the other. A key theoretical contribution is the proof that the gradient of overall performance with respect to parameters is equivalent to the gradient of the objective function when discrete weights are optimal ($\nabla_\theta H(\theta) = \nabla_\theta J(\theta, \omega^*)$), justifying the use of standard policy gradient methods.

Experimental Evaluation

The effectiveness of Q-PAMDP was tested on two simulated benchmarks:

  • Robot Soccer: A 14-dimensional state space where a striker must score against a keeper using actions like kick-to(x, y) or shoot-goal(h).
  • Platform Domain: A platformer game requiring the agent to reach a goal by choosing between run(dx), hop(dx), and leap(dx).

Key Results

  • Performance Gains: In the soccer domain, Q-PAMDP achieved a 35% goal-scoring rate, significantly higher than the 15% reached by direct policy search (eNAC). In the platform domain, it covered 50-65% of the distance, while direct policy search struggled at 10%.
  • Stability through Alternation: Alternating between discrete and continuous updates proved more stable than simultaneous optimization.
  • Handling Discontinuity: In domains like the platformer, where small parameter changes (e.g., jump distance) can lead to drastically different outcomes (e.g., falling into a pit), Q-PAMDP($\infty$) outperformed Q-PAMDP(1), suggesting that full re-learning of the value function is beneficial after parameter updates in sensitive environments.

Discussion and Future Work

Q-PAMDP demonstrates that explicitly modeling the "discrete + parameters" structure allows agents to learn discontinuous policies more effectively than purely continuous controllers. However, the approach has limitations: it assumes the set of parameterized actions is pre-defined and that optimal discrete weights change continuously with parameters (an assumption challenged in the platform domain).

Future research could explore scaling Q-PAMDP to high-dimensional inputs like raw pixels or integrating it with hierarchical RL frameworks (e.g., MAXQ) to handle multi-stage tasks with even greater complexity.

Summary updated

BibTeX
@inproceedings{masson2016reinforcement,
  author = {Warwick Masson and Pravesh Ranchod and George Konidaris},
  title = {{Reinforcement Learning with Parameterized Actions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10226},
}
Figure