Option Transfer and SMDP Abstraction with Successor Features

Dongge Han, Sebastian Tschiatschek

TL;DR

This paper introduces a framework that combines temporal and state abstractions in reinforcement learning by representing skills ("options") as Abstract Successor Options using successor features. This approach enables agents to successfully transfer learned skills to entirely new environments with different dynamics and construct compact, reusable abstract environment models for near-optimal planning across multiple tasks.

What Problem Does This Paper Address?

In reinforcement learning (RL), agents often struggle to scale up to complex, long-horizon tasks. To combat this, researchers use two main types of abstractions:

  1. Temporal Abstraction (Options Framework): Grouping sequences of primitive actions into high-level skills (e.g., "find a key" or "open a door").
  2. State Abstraction: Aggregating similar environment states into a single abstract state to simplify the problem space.

However, these two concepts are rarely designed to work together. Standard options are defined by explicit policies tied to a specific environment's state space and transition dynamics. If the environment changes slightly, the option policy breaks and cannot be transferred. Furthermore, traditional state abstraction methods are usually reward-dependent, meaning an abstract model built for one task becomes useless if the agent's goals change.

The authors address this gap by asking: How can we transfer learned options to new environments and reuse them for efficient planning and exploration?

Methods

The authors propose a novel abstraction scheme built on Successor Features (SFs), which decouple the expected outcomes of an action sequence from the immediate rewards or environment dynamics.

  • Abstract Successor Options: Instead of defining an option by how it behaves (a policy), they define it by what it expects to encounter (a vector of cumulative feature expectations). If environments share a common feature space (e.g., recognizing a "door" or a "key"), these abstract options can be seamlessly transferred.
  • Option Grounding via Inverse Reinforcement Learning (IRL): When dropped into a new environment, the agent must "ground" the abstract option by finding a local policy that matches the target successor features. The authors propose two algorithms for this: IRL-NAIVE (which solves a feature-matching problem for every state) and IRL-BATCH (a much faster recursive algorithm that groups starting states and uses entropy regularization).
  • Successor Homomorphism: To enable efficient planning, the authors introduce a state abstraction mechanism that groups states together if they share similar multi-step option transition dynamics and successor features. This creates a compact abstract model called an abstract $\psi$-SMDP.
Figure 1: MDP abstraction in the Object-Rooms domain. (b) Abstract ψ-SMDP induced by our successor homomorphism from the ground MDP as shown in (c), the abstract states in (b) correspond to aggregated ground states of the same colour in (c). (d) Abstraction induced by approximate Q∗-irrelevance abstraction (cf. Sec. A.4) for find key; the abstraction does not carry temporal semantics, and is not reusable for other tasks e.g., find star.. Another example can be found in Figure 10 in Appendix A.6 and more details are in the experiments section.

Datasets

The methods were evaluated on two distinct procedural benchmarks:

  1. Object-Rooms: A gridworld environment consisting of multiple rooms connected by doors, containing keys and stars. The state space scales up from 2 rooms (157 states) to 4 rooms (1,463 states).
  2. Minecraft Bake-Rooms & Door-Rooms (via Malmo): A 3D environment with unknown transition dynamics where the agent must navigate rooms, open doors, collect ingredients (coal and potatoes) from droppers, and use a pressure plate to bake a potato.

Key Insights and Ideas

  • Options as "Abstract Sketches": Treating options as successor features acts like giving the agent a rough sketch of a goal rather than a rigid set of turn-by-turn directions. The agent figures out the exact mechanics locally.
  • Reward-Agnostic Abstractions: Because successor homomorphisms aggregate states based on feature expectations rather than immediate rewards, the resulting abstract models are highly robust and reusable across entirely different tasks.
  • Simultaneous Exploration and Grounding: Because options are inherently localized, an agent doesn't need a perfect map of a new environment to start grounding them. The agent can simultaneously explore using a random walk and refine its ground options, creating a virtuous cycle that accelerates discovery in unknown environments.

Key Results

  • Efficiency in Grounding: In the Object-Rooms benchmark, IRL-BATCH achieved a 100% success rate in grounding options across 2, 3, and 4-room configurations while drastically reducing computational overhead. For example, in the 4-room setup, IRL-BATCH required solving only 2 to 29 Linear Programs (LPs), compared to 1,463 LPs required by IRL-NAIVE.
  • Superior Exploration: In the Minecraft environment under unknown dynamics, the proposed simultaneous exploration and grounding method explored over 50% more states in 20 iterations than standard baselines like random walks or eigenoptions. It successfully learned to bake a potato 50% of the time within just 5 iterations.
  • Near-Optimal Planning Transfer: When transferring to tasks with different reward functions, planning with the abstract model generated by successor homomorphism yielded near-optimal performance, significantly outperforming traditional reward-based $Q$-abstractions which degrade when the task changes.

Limitations and Future Work

  • Shared Feature Space Dependency: The framework relies on the assumption that a meaningful, shared feature space exists across the source and target environments (e.g., provided by an object detector).
  • Linear Reward Assumption: The theoretical bounds for near-optimal planning performance assume that the environment's reward function is linear with respect to the underlying features.

Future Directions: A natural next step would be exploring how these shared feature representations can be learned end-to-end directly from raw sensory inputs (like pixels) alongside the options.

Summary updated

Abstract

Abstraction 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