Successor Feature Sets: Generalizing Successor Representations Across Policies

Kianté Brantley, Soroush Mehri, Geoffrey J. Gordon

Abstract

Successor-style representations have many advantages for reinforcement learning: for example, they can help an agent generalize from past experience to new goals, and they have been proposed as explanations of behavioral and neural data from human and animal learners. They also form a natural bridge between model-based and model-free RL methods: like the former they make predictions about future experiences, and like the latter they allow efficient prediction of total discounted rewards. However, successor-style representations are not optimized to generalize across policies: typically, we maintain a limited-length list of policies, and share information among them by representation learning or GPI. Successor-style representations also typically make no provision for gathering information or reasoning about latent variables. To address these limitations, we bring together ideas from predictive state representations, belief space value iteration, successor features, and convex analysis: we develop a new, general successor-style representation, together with a Bellman equation that connects multiple sources of information within this representation, including different latent states, policies, and reward functions. The new representation is highly expressive: for example, it lets us efficiently read off an optimal policy for a new reward function, or a policy that imitates a new demonstration. For this paper, we focus on exact computation of the new representation in small, known environments, since even this restricted setting offers plenty of interesting questions. Our implementation does not scale to large, unknown environments -- nor would we expect it to, since it generalizes POMDP value iteration, which is difficult to scale. However, we believe that future work will allow us to extend our ideas to approximate reasoning in large, unknown environments.

Introduction

Reinforcement Learning (RL) agents often struggle to generalize knowledge across varying reward functions and policies. Successor Representations (SR) offer a partial solution by decoupling environment dynamics from rewards, enabling rapid re-planning when goals change. However, standard SRs are typically policy-dependent and lack robust mechanisms for handling partial observability. This paper introduces Successor Feature Sets ($\Phi$), a novel representation that captures the expected future features for all possible policies simultaneously, bridging the gap between model-free successor features and model-based POMDP value iteration.

The Successor Feature Set

The core contribution is the Successor Feature Set ($\Phi$), a convex set of matrices where each matrix $A^\pi$ represents a specific policy $\pi$. For any belief state $q$, the product $A^\pi q$ provides the successor features (expected discounted future features) for that policy. This representation captures the "geometry of behavior," defining the boundary of what is achievable in the environment.

Convex hull of achievable outcomes across policies.

The authors derive a new Bellman-style operator for these sets, which merges existing policies combinatorially at each time step. This operator is a contraction mapping, ensuring that iterative updates converge to a unique, optimal set.

Point-Based Approximation and Results

To address the computational complexity of maintaining the exact set, the authors employ a Point-Based Value Iteration (PBVI) approach. By maintaining a finite number of "boundary points" (extreme policies) in specific directions, the agent can approximate the convex hull of the set $\Phi$.

Bellman error convergence in Grid POMDP.

Experiments on Gridworld and Mountain Car benchmarks demonstrate that the Bellman error consistently decreases, confirming the stability of the contraction mapping. Results indicate that while partial observability (POMDPs) requires a higher density of directions to accurately sample the boundary of $\Phi$, the convergence rate remains robust. This framework allows the agent to efficiently "read off" optimal policies for new reward functions and perform imitation learning via feature matching.

Conclusion

Successor Feature Sets provide a unified framework for reasoning about future outcomes across all possible policies. While the current model-based implementation is limited to small-scale environments, it provides a rigorous theoretical foundation. Future work will focus on scaling these ideas to large, unknown environments using deep reinforcement learning and function approximation.

Summary updated

BibTeX
@inproceedings{brantley2021successor,
  author = {Kianté Brantley and Soroush Mehri and Geoffrey J. Gordon},
  title = {{Successor Feature Sets: Generalizing Successor Representations Across Policies}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=t5yJLWGGIY},
}
Figure