Discrete State-Action Abstraction via the Successor Representation

Amnon Attali, Pedro Cisneros-Velarde, Marco Morales, Nancy AmatoICLR 2022 · DOI

Abstract

Reinforcement Learning (RL) in complex, sparse-reward environments often suffers from inefficient exploration due to a lack of high-level environmental structure. We present Discrete State-Action Abstraction (DSAA), a framework that automatically constructs a discrete abstract representation of an environment. By clustering states based on their Successor Representation (SR)—a measure of future state occupancy—DSAA identifies meaningful bottlenecks and partitions. This abstraction enables the learning of temporally extended "options" that simplify navigation into a graph-search problem. Empirical results on FourRooms and continuous control tasks demonstrate that DSAA significantly improves exploration efficiency and consistency compared to state-of-the-art baselines.

Introduction

Standard RL agents often struggle with "sacrificing the basics" of efficient search. In large or continuous state spaces, agents may visit the same locations repeatedly without building a functional map. While humans naturally abstract environments into discrete concepts (e.g., "the kitchen"), automating this process for machines is challenging. Previous methods often rely on continuous latent spaces that are difficult to plan with or require manual definition of abstract states. DSAA addresses this by learning a sparse, discrete abstraction that captures the underlying transition dynamics of the environment.

Methodology: The DSAA Framework

The DSAA model utilizes an encoder-decoder architecture designed to partition the environment into $N$ discrete abstract states.

DSAA Architecture: The encoder $\phi$ maps observations to discrete states using Gumbel-Softmax, while the decoder $\psi$ predicts the Successor Representation (SR).

1. Discrete Encoding ($\phi$)

The encoder maps high-dimensional observations (e.g., images or joint angles) into one of $N$ discrete abstract states. To maintain differentiability for backpropagation, the model employs the Gumbel-Softmax reparameterization trick.

2. SR-Based Decoding ($\psi$)

Instead of traditional image reconstruction, the decoder learns to predict the Successor Representation (SR). The SR represents the expected future discounted occupancy of states. By grouping states with similar SRs, the model identifies regions that are "functionally" similar—meaning they lead to similar future outcomes.

3. Max-Entropy Regularization

To avoid trivial solutions where all states are mapped to a single cluster, a maximum entropy constraint is enforced on the abstract state distribution. This encourages the model to utilize the full capacity of the discrete state space, partitioning the environment into roughly equal-sized, meaningful segments.

4. Action Abstraction via Options

Once the abstract states are defined, the agent learns "Options"—temporally extended actions specifically designed to transition the agent between these abstract states. This transforms a complex, low-level control problem into a high-level graph-search problem.

Experimental Evaluation

The model was evaluated across several benchmarks, including discrete gridworlds and continuous control tasks.

Successor Representations in a partitioned environment. The heatmaps illustrate how states are grouped based on future occupancy, highlighting bottlenecks.

Benchmarks

  • FourRooms: A discrete gridworld requiring navigation through bottleneck openings.
  • Arm2D: A continuous control task involving a three-joint robot arm with sparse rewards.
  • Visual Inputs: Tests included raw pixel inputs (19x19 for FourRooms, 62x62 for Arm2D) to evaluate scalability to high-dimensional data.

Key Insights

  • SR as a Similarity Metric: States are considered equivalent if they share similar future trajectories. This naturally highlights bottlenecks like doorways, as all points in a room eventually converge on the exit.
  • Discrete Planning: Discrete abstractions allow for the application of classical planning algorithms (e.g., Dijkstra’s) on the high-level graph, providing stronger guarantees than continuous latent planning.
  • Robustness to Noise: By focusing on long-term dynamics (SR) rather than pixel-level details, the model ignores irrelevant visual noise.

Results and Discussion

DSAA demonstrated superior exploration performance. In the FourRooms environment, it reached the goal in an average of 1.48 episodes, significantly outperforming random exploration (30.30 episodes) and "Eigenoptions" (8.66 episodes). Furthermore, DSAA exhibited lower variance, indicating more reliable convergence. In the Arm2D task, DSAA successfully navigated sparse rewards where standard Soft Q-Learning baselines failed.

Limitations

Current exploration is still biased toward known regions. Future work may involve training high-level policies to actively explore the frontiers of the abstract graph. Additionally, scaling to massive environments may require hybrid representations combining discrete landmarks with continuous features.

Conclusion

DSAA provides a robust method for discovering discrete environmental structure. By leveraging the Successor Representation, it creates a functional map that simplifies complex tasks into manageable sub-goals, paving the way for more efficient and interpretable hierarchical reinforcement learning.

Summary updated

BibTeX
@misc{attali2022discrete,
  author = {Amnon Attali and Pedro Cisneros-Velarde and Marco Morales and Nancy Amato},
  title = {{Discrete State-Action Abstraction via the Successor Representation}},
  year = {2022},
  eprint = {2206.03467},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.03467},
}
Figure