[Paper Review] Marginal Policy Gradients: A Unified Family of Estimators for Bounded Action Spaces with Applications
This paper introduces the angular policy gradient (APG), a variance-reduced policy gradient estimator for directional control in bounded action spaces—particularly relevant in real-time strategy games where actions are unit vectors. APG, part of the unified marginal policy gradient (MPG) family, reduces gradient variance by modeling policies over the unit sphere and applying a transformation T(a) = a/||a||, outperforming standard policy gradients in both navigation and King of Glory 1v1 gameplay.
Many complex domains, such as robotics control and real-time strategy (RTS) games, require an agent to learn a continuous control. In the former, an agent learns a policy over $\mathbb{R}^d$ and in the latter, over a discrete set of actions each of which is parametrized by a continuous parameter. Such problems are naturally solved using policy based reinforcement learning (RL) methods, but unfortunately these often suffer from high variance leading to instability and slow convergence. Unnecessary variance is introduced whenever policies over bounded action spaces are modeled using distributions with unbounded support by applying a transformation $T$ to the sampled action before execution in the environment. Recently, the variance reduced clipped action policy gradient (CAPG) was introduced for actions in bounded intervals, but to date no variance reduced methods exist when the action is a direction, something often seen in RTS games. To this end we introduce the angular policy gradient (APG), a stochastic policy gradient method for directional control. With the marginal policy gradients family of estimators we present a unified analysis of the variance reduction properties of APG and CAPG; our results provide a stronger guarantee than existing analyses for CAPG. Experimental results on a popular RTS game and a navigation task show that the APG estimator offers a substantial improvement over the standard policy gradient.
Motivation & Objective
- Address high variance in policy gradient methods when actions are constrained to bounded spaces, such as the unit sphere in real-time strategy (RTS) games.
- Develop a unified framework for variance-reduced policy gradient estimation applicable to both interval-bounded and directional actions.
- Provide theoretical guarantees on variance reduction for the marginal policy gradient (MPG) family, extending prior work on clipped action policy gradients (CAPG).
- Demonstrate the effectiveness of APG in complex environments with directional action spaces, including a MOBA game and a navigation task.
- Enable stable, sample-efficient training in parametrized action spaces where actions are defined by continuous parameters on a sphere
Proposed method
- Propose the marginal policy gradient (MPG) family, a unified class of estimators that generalize both CAPG and APG by modeling policies over transformed action spaces via a deterministic transformation T.
- Design the angular policy gradient (APG) estimator for directional control, where actions are unit vectors (e.g., movement or attack directions), using a von Mises distribution to model policy over the unit sphere.
- Apply the transformation T(a) = a/||a|| to map unconstrained actions to the unit sphere, ensuring effective actions remain bounded and aligned with the environment’s requirements.
- Derive an unbiased, variance-reduced policy gradient estimator by leveraging the marginal distribution of actions under T, enabling stable learning in high-variance settings.
- Integrate APG with standard deep RL frameworks such as A3C, TRPO, and PPO, allowing compatibility with value function approximation and generalized advantage estimation.
- Use a linear potential function for reward shaping, with features derived from game state (e.g., hero health, crystal health) to improve credit assignment and training stability.
Experimental results
Research questions
- RQ1Can a unified family of variance-reduced policy gradient estimators be constructed to handle both bounded interval actions and directional (spherical) actions?
- RQ2How does the angular policy gradient (APG) compare to standard policy gradients in terms of convergence speed and final performance on directional control tasks?
- RQ3To what extent does the marginal policy gradient framework reduce gradient variance compared to standard policy gradient methods in environments with action transformations?
- RQ4Does the MPG framework provide stronger theoretical variance reduction guarantees than existing methods like CAPG?
- RQ5Can APG achieve superior sample efficiency and stability in complex, high-dimensional environments such as MOBA games and continuous control tasks?
Key findings
- The angular policy gradient (APG) estimator achieves significantly faster convergence and higher final cumulative discounted reward than standard policy gradients in the Platform2D-v1 navigation task.
- On the King of Glory 1v1 MOBA game, the APG agent won with a substantially higher win rate and cumulative reward compared to the standard policy gradient baseline.
- The variance of the marginal policy gradient estimator is approximately half that of the standard policy gradient estimator at both initialization and convergence, validating the theoretical variance reduction claims.
- Even when the value function estimate is inaccurate (early training), the APG estimator maintains lower variance than the standard method, demonstrating robustness to critic errors.
- The APG method successfully handles periodic action spaces, such as directional movement, where standard Gaussian policies with normalization introduce high variance and bias.
- Theoretical analysis confirms that both APG and CAPG are special cases of the marginal policy gradient family, with stronger variance reduction guarantees than prior analyses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.