Joint Learning of Hierarchical Neural Options and Abstract World Model

Wasu Top Piriyakulkij, Wolfgang Lehrach, Kevin Ellis, Kevin Murphy

TL;DR

AgentOWL is a novel reinforcement learning agent that jointly learns an abstract, temporally extended world model and a deep hierarchy of neural options (skills). By combining LLM-generated symbolic code with non-parametric distributions, it achieves exceptional sample efficiency and enables zero-shot generalization to novel situations in complex, object-centric environments.

What Problem Does This Paper Address?

A long-standing goal in AI is building agents that can cumulatively acquire new skills and compose them to solve increasingly complex tasks. While the options framework formalizes this compositional skill learning, standard model-free hierarchical reinforcement learning (HRL) suffers from a severe data-efficiency problem. As an agent acquires more options, its effective action space expands, making policy learning less tractable and requiring exponentially more environment samples.

Model-based RL can mitigate this by allowing the agent to plan in imagination. However, low-level world models often fall into the "one-step trap," where compounding errors over long horizons make planning useless. To overcome this, agents need temporally abstract world models that predict the outcomes of multi-step options rather than single actions. Yet, learning these abstract models typically requires massive amounts of data. This paper tackles the challenge of jointly learning both the option hierarchies and a data-efficient, abstract world model.

Methods

The authors introduce AgentOWL (Option and World model Learning Agent), which alternates between updating its abstract world model and training its hierarchical options.

Overview of AgentOWL's dual learning processes for abstract world models and hierarchical options.

Key components include:

  • Abstract World Modeling via PoE-World: The world model abstracts across both states and time, predicting only the future abstract state (defined by goal predicates) at the moment an option terminates. It uses a Product-of-Experts (PoE) framework where each expert is a short Python program synthesized by an LLM (Gemini 2.0 Flash-Lite) to capture independent causal mechanisms.
  • Frame Axiom Prior: To keep learning data-efficient, the authors introduce a maximum a posteriori (MAP) optimization bias. This "frame prior" assumes that an option targeting a specific sub-goal is unlikely to change unrelated features of the environment.
  • LLM-Based Sub-Option Hypothesizing: When faced with a difficult target goal, AgentOWL uses an LLM (Gemini 2.5 Flash) to propose useful intermediate sub-goals (preconditions) based on previously mastered skills, effectively shortening the abstract planning horizon.
  • Model-Based Exploration: The agent trains an exploration policy ($\pi^{wm}$) entirely in its abstract world model using Deep Q-Learning (DQN). This policy guides real-world data collection ($\pi^{real}$), protecting the agent from getting stuck in low-level random exploration.
  • Stable Hierarchical DQN: Training hierarchies can be unstable because changing lower-level options alters the transition dynamics for higher-level options. AgentOWL stabilizes this by filtering out training data from sub-options that have not yet met a specific sample size and success rate threshold.

Datasets

The method is evaluated on three notoriously difficult, exploration-heavy games from the Object-Centric Atari (OCAtari) benchmark:

  • Montezuma’s Revenge
  • Pitfall
  • Private Eye

Instead of raw pixels, OCAtari provides symbolic state representations (object types, bounding boxes, and coordinates), allowing the research to focus purely on the challenges of hierarchical skill acquisition and planning.

Key Insights and Ideas

  • Neurosymbolic Synergy: Combining LLM-generated symbolic code with non-parametric distributions allows the world model to generalize strongly from very few real-world transitions. AgentOWL needs only a few minutes of gameplay to assemble a functional world model.
  • Planning "In the Now": Rather than forcing the agent to figure out long sequences of low-level actions, the LLM acts as a high-level advisor that hypothesizes missing stepping-stone skills.
  • Implicit Sub-Option Training: A fascinating byproduct of the architecture is that when AgentOWL trains a high-level option, the underlying sub-options are implicitly refined and improved, even if the agent is only receiving rewards for the top-level goal.

Key Results

AgentOWL significantly outperforms standard DQN, Goal-conditioned DQN, and Hierarchical DQN baselines across all three Atari games within a budget of 5 million environment steps.

Main results showing the fraction of options mastered versus environment steps.

While model-free baselines quickly plateau because they fail to discover the long, complex action sequences required for distant goals, AgentOWL successfully masters deep hierarchies of skills. For instance, in Pitfall, it was the only method capable of navigating across multiple rooms to reach difficult, red-bordered goal objects.

Additionally, the authors demonstrated zero-shot generalization. After learning an option to navigate from a novel starting position back to the game's original starting area, AgentOWL could immediately plan and execute sequences to achieve previously mastered goals from the new location without any additional training.

Limitations and Future Work

  • Manual Goal Ordering: The current framework assumes that the sequence of target goals is pre-ordered by difficulty. If a hard goal is presented without its prerequisites, the agent can fail. Integrating automated curriculum learning is a key next step.
  • Compute vs. Data Tradeoff: While AgentOWL drastically reduces the number of environment samples needed, it shifts the burden to training compute (running multiple DQNs and LLM calls). This tradeoff is only favorable when compute is cheaper than data collection.
  • Dependence on Symbolic Input: The abstract world model relies on the object-centric text/vector inputs from OCAtari. Extending this framework to build explicit symbolic abstractions directly from raw pixel inputs remains an open and vital challenge.

Summary updated

BibTeX
@inproceedings{piriyakulkij2026joint,
  author = {Wasu Top Piriyakulkij and Wolfgang Lehrach and Kevin Ellis and Kevin Murphy},
  title = {{Joint Learning of Hierarchical Neural Options and Abstract World Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lrgtf2HT4J},
}
Figure