Option Transfer and SMDP Abstraction with Successor Features

Dongge Han, Sebastian Tschiatschek

TL;DR

This paper introduces a novel method for transferring learned "options" (temporally extended actions) between different reinforcement learning environments. By combining temporal and state abstraction using successor features, their approach enables agents to efficiently plan and adapt to new scenarios, even with unknown dynamics.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents often struggle to generalize their learned skills to new environments. A key challenge is that "options," which represent complex, multi-step actions, are typically tied to the specific state space and dynamics of the environment they were learned in. This means an option like "open the door" might require a completely different policy in a new environment with different states or transition rules. Existing methods often treat temporal and state abstraction separately, failing to leverage their interplay for robust transfer. This paper aims to bridge this gap by developing a unified framework for transferring and reusing options across diverse environments.

Methods

The core of the paper's contribution lies in two main components:

  • Abstract Successor Options: Instead of defining options by their policies, the authors represent them using successor features (SF). SFs capture the expected cumulative future features of an option's execution. By using shared features across environments, these "abstract successor options" become transferable.
  • Grounding Algorithms (IRL-NAIVE and IRL-BATCH): To make these abstract options usable in a new environment, the authors propose algorithms that "ground" them. This involves finding a specific policy in the new environment whose SF matches the abstract successor option. They leverage Inverse Reinforcement Learning (IRL) for this, proposing both a naive approach and a more efficient batched version (IRL-BATCH) that significantly reduces computation.
  • Successor Homomorphism: For efficient planning in the new environment, they introduce a state abstraction mechanism called successor homomorphism. This method aggregates states based on their similarity in option transition dynamics and successor features, creating an abstract MDP that retains temporal semantics and is reusable across tasks.

Datasets

The paper evaluates its methods on two main environments:

  • Object-Rooms: A grid-world environment with rooms, doors, keys, and stars, used for testing option transfer and planning with abstract MDPs.
  • Minecraft Bake-Rooms and Door-Rooms: More complex environments based on the Malmo platform, used to test option grounding in scenarios with unknown transition dynamics.

Key Insights and Ideas

  • Successor Features as a Transferable Representation: Representing options via their successor features, rather than explicit policies, is a powerful way to enable transfer across environments with different dynamics.
  • The Interplay of Temporal and State Abstraction: Combining temporal abstraction (options) with state abstraction (successor homomorphism) leads to more robust and reusable abstract models for planning.
  • IRL for Option Grounding: Using IRL to match successor features provides a principled way to adapt abstract options to new environments, even when their dynamics are unknown.
  • Successor Homomorphism Captures Temporal Semantics: Unlike some other state abstraction methods, successor homomorphism preserves the temporal structure of options, leading to more meaningful abstract models.

Key Results

  • Effective Option Transfer: The proposed IRL-NAIVE and IRL-BATCH algorithms successfully transfer learned options to new Object-Rooms environments, achieving high success rates. IRL-BATCH significantly improves efficiency by reducing the number of linear programs solved.
  • Efficient Exploration in Unknown Environments: In Minecraft environments with unknown dynamics, the proposed approach (IRL-BATCH) significantly outperforms random walk and eigenoption baselines in terms of states explored and task completion (e.g., baking a potato, opening doors).
  • Near-Optimal Planning with Abstract Models: The successor homomorphism approach enables planning with abstract MDPs that achieve near-optimal performance across various tasks and reward settings in the Object-Rooms domain, outperforming reward-based abstraction methods, especially in transfer scenarios.

Limitations and Future Work

  • Feature Engineering: The success of the approach relies on the assumption that shared features exist across environments. The paper notes that these features can often be obtained through standard methods like object detectors, but their quality and relevance are crucial.
  • Computational Cost of IRL: While IRL-BATCH improves efficiency, IRL can still be computationally intensive, especially in very large state spaces.
  • Future Work: The authors suggest extending their framework to handle more complex feature representations and exploring more sophisticated methods for learning shared features. They also highlight the potential for using their abstract models for more efficient exploration and learning in general.

Summary updated

Abstract

ion plays an important role in the generalisation of knowledge and skills and is key to sample efficient learning. In this work, we study joint temporal and state abstraction in reinforcement learning, where temporally-extended actions in the form of options induce temporal abstractions, while aggregation of similar states with respect to abstract options induces state abstractions. Many existing abstraction schemes ignore the interplay of state and temporal abstraction. Consequently, the considered option policies often cannot be directly transferred to new environments due to changes in the state space and transition dynamics. To address this issue, we propose a novel abstraction scheme building on successor features. This includes an algorithm for transferring abstract options across different environments and a state abstraction mechanism that allows us to perform efficient planning with the transferred options.
BibTeX
@inproceedings{han2022option,
  author = {Dongge Han and Sebastian Tschiatschek},
  title = {{Option Transfer and SMDP Abstraction with Successor Features}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/421},
}
Figure