Hierarchical Reinforcement Learning (HRL) has long been proposed as a solution for complex, long-horizon tasks by decomposing them into manageable sub-tasks. However, while "flat" RL agents have successfully scaled to billions of frames in environments like Go and StarCraft, HRL has historically struggled to move beyond small-scale data regimes. Researchers from FAIR (Meta) and the University of Oxford have introduced Scalable Option Learning (SOL), a framework designed to bring massive scaling capabilities to hierarchical agents.
The Challenge: Fragmentation and Credit Assignment
The primary hurdle in Reinforcement Learning is credit assignment—linking current rewards to actions taken far in the past. While hierarchy addresses this by using a high-level controller to select multi-step "options," it introduces significant computational overhead. In modern high-throughput RL, data is collected from thousands of environments in parallel. In a hierarchical setting, different agents within a single batch may execute different options with varying reward functions, leading to "fragmentation." This makes standard parallelization techniques difficult to apply, often resulting in HRL implementations that are orders of magnitude slower than flat agents.
The SOL Framework
SOL overcomes these scaling bottlenecks through three primary architectural innovations:
- Unified Architecture: Rather than maintaining separate networks for each option, SOL employs a single neural network with multiple heads. An indexing vector is used as input to signal whether the network should function as the high-level controller or a specific low-level option.
- Adaptive Option Lengths: The controller outputs both an option choice and a duration (ranging from 1 to 128 steps), allowing the agent to dynamically adapt its temporal abstraction to the task at hand.
- Efficient Tensorized Returns: The system utilizes parallelized masking to compute advantages and value targets for all policies in a batch simultaneously. This ensures the learner can process massive amounts of experience without the CPU becoming a bottleneck.
Experimental Results
The researchers evaluated SOL on several challenging benchmarks, most notably NetHack (NLE), where agents were trained for an unprecedented 30 billion frames.
Throughput and Efficiency
A key finding of the study is that hierarchy does not have to be computationally expensive. SOL achieved approximately 43,000 steps per second on NetHack, reaching 86% of the speed of a non-hierarchical Asynchronous PPO (APPO) agent. In contrast, classic methods like Option-Critic and Multiple Option-Critic achieved only ~75 and ~1,200 steps per second, respectively.
Performance Benchmarks
- NetHack Mastery: SOL established a new State-of-the-Art (SOTA) on the NetHackScore benchmark, significantly outperforming both flat agents and previous hierarchical approaches.
- Local Optima: In the G-maze task, which features a layout designed to trap agents in local optima, flat agents failed 100% of the time. SOL was the only method capable of learning the counter-intuitive path required to reach the goal, achieving a 70% success rate.
Conclusion
SOL demonstrates that hierarchical RL can benefit from the same scaling laws observed in large language models and computer vision. By combining the structural advantages of hierarchy with high-throughput systems engineering and intrinsic rewards, SOL provides a path forward for mastering increasingly complex, long-horizon environments. Future work will likely focus on the automatic discovery of sub-tasks to remove the current requirement for pre-defined intrinsic reward functions.
Summary updated