Learning Abstract World Model for Value-preserving Planning with Options

Rafael Rodríguez-Sánchez, George KonidarisarXiv 2024 · DOI

Introduction

Reinforcement Learning (RL) agents operating in complex environments frequently encounter the "curse of dimensionality." A robot navigating a physical space may receive thousands of sensory inputs—ranging from high-resolution pixel data to granular joint sensor readings—every millisecond. While planning a path using these primitive inputs is computationally prohibitive, researchers often employ options: temporally-extended actions such as "walk to the door" rather than "move left leg motor 0.1 units."

However, a significant mismatch often persists: agents frequently plan using high-level options while still tethered to the original, high-dimensional state space. This paper addresses this inefficiency by introducing a framework for learning state abstractions specifically tailored to an agent's high-level skills. By compressing the state space into an abstraction that retains only task-relevant information, the authors demonstrate that planning can remain "value-preserving" while becoming significantly more efficient.

Dynamics-Preserving Abstractions

The core contribution of this work is the Dynamics Preserving Abstraction. The authors posit that an abstract state is sufficient if it contains enough information to predict the outcomes of high-level skills without needing to reconstruct the entire ground-level observation.

Conceptual diagram of an agent utilizing an internal abstract world model for planning.

To achieve this, they define an Abstract MDP composed of four critical models:

  1. Abstract Transitions: Predicting the subsequent abstract state after a skill is executed.
  2. Reward Model: Estimating the cumulative reward gained during the execution of a skill.
  3. Duration Model: Predicting the number of ground-level steps a skill will encompass.
  4. Initiation Model: A classifier determining the states in which specific skills can be triggered.

By preserving these dynamics, the authors provide a theoretical "Value Loss Bound," proving that planning in this simplified latent space does not sacrifice the quality of the final policy compared to planning in the complex ground space.

Methodology: Information Maximization

To learn the mapping ($\phi$) from raw observations to abstract states, the framework utilizes an Information Maximization (Infomax) approach. Unlike traditional autoencoders that waste capacity reconstructing irrelevant sensory details (like background textures or lighting), this method employs Contrastive Learning—specifically InfoNCE and Temporal Predictive Coding (TPC).

This approach allows the agent to learn a latent space where the current state and the resulting state of a skill are "close" in a predictive sense. By ditching the decoder, the model avoids the "pixel-reconstruction trap," focusing exclusively on how the environment changes in response to its skills. Furthermore, the use of continuous latent spaces ensures compatibility with modern deep RL algorithms like Double DQN (DDQN).

Experimental Evaluation

The proposed method was evaluated on two distinct environments designed to test abstraction from different input types:

  • Pinball Domain: A continuous task where the agent navigates a ball through obstacles. The model was required to learn abstractions directly from pixel observations.
  • MuJoCo Antmaze: A benchmark from the D4RL suite where a 29-dimensional "Ant" robot must navigate a maze. While the state includes complex joint angles and velocities, the high-level navigation task primarily requires positional data.

Results and Discussion

The "Abstract World Model" was compared against ground-space learning (DDQN) and state-of-the-art model-based agents, including DreamerV2 and DreamerV3.

In the Pinball task, the abstract model demonstrated superior sample efficiency, reaching peak performance significantly faster than ground-level baselines. In the Antmaze environment, the method achieved a higher success rate than DreamerV3. The primary reason for this success is that while Dreamer attempts to model the entire world to facilitate reconstruction, the proposed method only models features relevant to the navigation skills.

Heatmaps of mutual information between ground features and learned abstract features in Pinball and Antmaze.

Analysis of the learned latent spaces via mutual information matrices confirmed that the model successfully ignored irrelevant "noise," such as joint velocities in the Antmaze task, focusing almost entirely on the $(x, y)$ coordinates necessary for navigation. This confirms that the abstraction is truly action-driven.

Conclusion

This research highlights that state abstraction should be a function of the action space. By aligning the complexity of the world model with the temporal scale of the agent's skills, the authors provide a path toward more efficient planning in high-dimensional environments.

One current limitation is that the skills (options) must be provided upfront. Future work will focus on "closing the loop" by enabling agents to discover new skills and their corresponding abstractions autonomously. Additionally, extending the value-preserving guarantees to more stochastic or adversarial initiation conditions remains a key area for further exploration.

Summary updated

BibTeX
@misc{rodriguezsanchez2024learning,
  author = {Rafael Rodríguez-Sánchez and George Konidaris},
  title = {{Learning Abstract World Model for Value-preserving Planning with Options}},
  year = {2024},
  eprint = {2406.15850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.15850},
}
Figure