Successor Clusters: A Behavior Basis for Unsupervised Zero-Shot Reinforcement Learning

Louis Bagot, Lucas Nunes Alegre, Steven Latré, Kevin Mets, Bruno Castro da Silva

Introduction

Traditional Reinforcement Learning (RL) often results in agents that are specialized for a single reward function. When the goal changes, these agents typically require extensive retraining. Zero-shot RL addresses this by training generalist agents during a reward-free pre-training phase, allowing them to adapt instantly to new tasks during a subsequent transfer phase.

Current state-of-the-art approaches often rely on Successor Features (SFs), which decompose reward functions into linear combinations of features. However, the efficacy of SFs is limited by the quality and interpretability of these features. Many existing methods utilize abstract constructs like the graph Laplacian, which can be difficult to scale to high-dimensional spaces and lack human-readable intuition. This paper introduces Successor Clusters (SCs), a framework that partitions the state space into clusters based on temporal proximity to provide a theoretically grounded and interpretable basis for zero-shot RL.

Methodology

The Successor Clusters framework builds reward features by systematically partitioning the environment's state space. The process involves four primary stages:

  1. Learning a Temporal Distance Metric: Instead of raw Euclidean distance, the method defines distance as the minimum expected number of timesteps to travel between states, learned via goal-conditioned RL.
  2. Latent Space Mapping: States are projected into a latent space where Euclidean distances approximate the learned temporal distances.
  3. State Space Partitioning: K-Means clustering in the latent space divides the environment into $d$ distinct regions (clusters).
  4. Successor Cluster Training: A Universal Successor Feature Approximator (USFA) is trained to predict the expected discounted time an agent will spend in each cluster.
Overview of the Successor Clusters framework, illustrating the transition from pre-training to zero-shot transfer.

Upon encountering a new task, the agent calculates the average reward within each cluster to determine optimal weights and follows the policy that maximizes predicted occupancy in high-reward regions.

Key Insights and Interpretability

A significant advantage of SCs is their interpretability. Unlike abstract mathematical features, SCs represent time spent in specific, localized regions. This allows researchers to visualize an agent's "intent" by observing the sequence of clusters it expects to visit, making the system easier to debug and trust.

An agent trajectory through partitioned clusters, highlighting the human-readable nature of the learned behavior basis.

Key theoretical and practical insights include:

  • Lipschitz Guarantees: The authors prove that clustering-based features can approximate any Lipschitz reward function (rewards that change smoothly) with bounded error. Accuracy improves as the number of clusters increases.
  • Temporal vs. Euclidean Topology: By using temporal distance, SCs respect environmental obstacles. Two points separated by a thin wall may be close in Euclidean space but are correctly identified as distant in the temporal latent space.
  • Action-Free Behavioral Cloning: Agents can be induced to follow specific trajectories simply by specifying desired cluster occupancy, enabling a form of imitation learning without explicit action labels.

Experimental Results

The method was evaluated using the Unsupervised RL Benchmark (URLB) on complex continuous control tasks, including the Quadruped, Walker, and Cheetah environments from the ExORL repository.

  • Superior Performance: SCs consistently outperformed state-of-the-art Laplacian-based Successor Features in zero-shot transfer tasks across all tested benchmarks.
  • Lower Approximation Error: In a 2D Maze environment, SCs achieved significantly lower Mean Squared Error (MSE) when approximating various reward types (e.g., goal-reaching or smooth maps) compared to traditional features.
  • Robustness to Sparsity: The piecewise nature of SCs makes them particularly effective at handling sparse rewards—such as reaching a single tiny point—where Laplacian features often struggle.

Conclusion and Future Work

Successor Clusters provide a robust, interpretable, and theoretically sound foundation for zero-shot RL. While highly effective for global navigation between regions, future work may explore hierarchical structures to improve precision for fine-grained control within individual clusters. Additionally, addressing the "curse of dimensionality" in extremely high-dimensional spaces remains an open challenge for clustering-based approaches.

Summary updated

BibTeX
@article{bagot2025successor,
  author = {Louis Bagot and Lucas Nunes Alegre and Steven Latré and Kevin Mets and Bruno Castro da Silva},
  title = {{Successor Clusters: A Behavior Basis for Unsupervised Zero-Shot Reinforcement Learning}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
  url = {https://openreview.net/forum?id=eCAByr31rN},
}
Figure