Proto Successor Measure: Representing the Behavior Space of an RL Agent
Siddhant Agarwal, Harshit Sikchi, Peter Stone, Amy Zhang
TL;DR
Proto Successor Measure (PSM) addresses zero-shot RL by pretraining a reward-free, policy-agnostic basis for the entire behavior space of an MDP. The method learns basis functions $\Phi$ and a bias $b$ such that any policy's successor measure $M^\pi$ can be written as $M^\pi = \sum_i \phi_i w_i^\pi + b$, enabling test-time optimization by solving a constrained linear program over weights $w^\pi$. A discrete codebook of deterministic policies allows turning the bilevel optimization into a single-player objective, while fast inference uses a Lagrangian dual to enforce $\Phi w + b \ge 0$ and recover $Q^*$ and $\pi^*$. Empirically, PSM achieves accurate zero-shot value predictions and near-optimal policies in gridworld, manipulation, and continuous-control benchmarks, often outperforming Laplacian, FB, and HILP baselines. This work provides a principled, scalable representation for transferring knowledge across downstream tasks without additional environment interactions.
Abstract
Having explored an environment, intelligent agents should be able to transfer their knowledge to most downstream tasks within that environment without additional interactions. Referred to as "zero-shot learning", this ability remains elusive for general-purpose reinforcement learning algorithms. While recent works have attempted to produce zero-shot RL agents, they make assumptions about the nature of the tasks or the structure of the MDP. We present Proto Successor Measure: the basis set for all possible behaviors of a Reinforcement Learning Agent in a dynamical system. We prove that any possible behavior (represented using visitation distributions) can be represented using an affine combination of these policy-independent basis functions. Given a reward function at test time, we simply need to find the right set of linear weights to combine these bases corresponding to the optimal policy. We derive a practical algorithm to learn these basis functions using reward-free interaction data from the environment and show that our approach can produce the optimal policy at test time for any given reward function without additional environmental interactions. Project page: https://agarwalsiddhant10.github.io/projects/psm.html.
