Abstract
The options framework is a popular approach for building temporally extended actions in reinforcement learning. In particular, the option-critic architecture provides general purpose policy gradient theorems for learning actions from scratch that are extended in time. However, past work makes the key assumption that each of the components of option-critic has independent parameters. In this work we note that while this key assumption of the policy gradient theorems of option-critic holds in the tabular case, it is always violated in practice for the deep function approximation setting. We thus reconsider this assumption and consider more general extensions of option-critic and hierarchical option-critic training that optimize for the full architecture with each update. It turns out that not assuming parameter independence challenges a belief in prior work that training the policy over options can be disentangled from the dynamics of the underlying options. In fact, learning can be sped up by focusing the policy over options on states where options are actually likely to terminate. We put our new algorithms to the test in application to sample efficient learning of Atari games, and demonstrate significantly improved stability and faster convergence when learning long options.
Introduction
In Reinforcement Learning (RL), the options framework allows agents to learn "skills"—actions that take place over multiple time steps (like "exit the room") rather than just single primitive movements (like "move left"). The popular Option-Critic architecture provides the mathematical foundation for agents to learn these skills from scratch.
However, there is a theoretical mismatch in deep hierarchical reinforcement learning. The original mathematical proofs for Option-Critic assume that the three main parts of the agent—the intra-option policy (how to act within a skill), the policy over options (which skill to pick), and the termination function (when to stop a skill)—all have independent parameters. In Deep RL, this assumption is almost always violated: practitioners typically use a single neural network with a shared "backbone" to extract features for all three components. This means the standard gradients used to train these agents are technically incorrect. This paper provides the corrected mathematics for deep option learning.
Methods: Unified Policy Gradients
The authors derive two new theorems to account for shared parameters: the Option-Critic Policy Gradient (OCPG) for standard two-level hierarchies, and the Hierarchical Option-Critic Policy Gradient (HOCPG) for hierarchies of arbitrary depth. Instead of separate update rules, these theorems provide a single gradient with respect to the global shared parameters $\theta$.
A significant discovery in this derivation is a "coupling factor." In the OCPG rule, the gradient for the policy over options is multiplied by the termination probability ($\beta$). Intuitively, this means the agent focuses on learning which skill to pick primarily at the moments when a skill is actually ending. This "gates" the learning process, preventing the policy over options from being overwhelmed by noise during the middle of a long-running skill.
Experimental Results
The researchers evaluated OCPG and HOCPG on the Atari 2600 benchmark, focusing on games with diverse dynamics such as Alien, Amidar, Tutankham, and Jamesbond. They compared their methods against standard Option-Critic (OC) and Hierarchical Option-Critic (HOC) baselines.
Key Insights
- Stability with Long Options: As options become longer, learning often becomes unstable in standard hierarchical RL. The "corrected" gradient significantly mitigates this instability, allowing agents to maintain a diverse set of skills without "option collapse."
- Sample Efficiency: In games like Tutankham, OCPG reached significant scores while standard OC remained near zero. In Asterix and Jamesbond, OCPG achieved significantly higher scores within the same 10M–25M training steps.
- Robustness: To encourage long options, a penalty ($\eta$) is often used for terminating. While standard OC performance crashes as this penalty increases, OCPG remains stable and continues to improve.
Conclusion
By accounting for weight sharing, OCPG and HOCPG align the theory of option-critic with its practical implementation in deep learning. This alignment reveals a natural gating mechanism that improves stability and performance. While challenges remain in exploration for deeper hierarchies and hyperparameter sensitivity, this work provides a more robust foundation for learning temporally extended actions in complex environments. Future work may extend these shared-weight theorems to off-policy settings.
Summary updated