A Distributional Analogue to the Successor Representation
Abstract
This paper contributes a new approach for distributional reinforcement learning which elucidates a clean separation of transition structure and reward in the learning process. Analogous to how the successor representation (SR) describes the expected consequences of behaving according to a given policy, our distributional successor measure (SM) describes the distributional consequences of this behaviour. We formulate the distributional SM as a distribution over distributions and provide theory connecting it with distributional and model-based reinforcement learning. Moreover, we propose an algorithm that learns the distributional SM from data by minimizing a two-level maximum mean discrepancy. Key to our method are a number of algorithmic techniques that are independently valuable for learning generative models of state. As an illustration of the usefulness of the distributional SM, we show that it enables zero-shot risk-sensitive policy evaluation in a way that was not previously possible.
Equal contribution
Equal contribution
Motivation
Standard distributional reinforcement learning learns the full probability distribution of an agent’s discounted return rather than only its mean, improving performance and enabling risk-aware decision-making. However, existing distributional RL methods tightly couple learning to a fixed reward function: evaluating a policy’s return distribution under a new task or safety constraint requires retraining from scratch.
For expected returns, the successor representation (SR) and its continuous-space generalization—the normalized successor measure (SM) —resolve this limitation by factorizing the value function into reward-agnostic dynamics and immediate rewards:
While unlocks zero-shot evaluation of unseen reward functions, it discards higher-order distributional information needed for risk estimation. Conversely, estimating return distributions by rolling out a learned one-step transition model suffers from compounding model error and expensive trajectory sampling. The DSM bridges this gap by bringing successor-style factorization directly to distributional RL.
Distributional Successor Measure
The normalized successor measure can be written as the expectation of a policy’s discounted state visitation distribution along a random trajectory . Removing this expectation defines the random discounted state-occupancy measure:
Each realization of is itself a probability distribution over the state space . The Distributional Successor Measure (DSM) is defined as its law—a distribution over probability distributions, :

Figure 1. T-Maze comparison of DSM vs. SM. For a policy that moves to the fork and branches backward, right, or left with probabilities 1/6, 1/2, and 1/3, the Distributional SM captures the three distinct occupancy measures (top right), whereas the standard SM averages them into a single occupancy distribution (bottom right).
This formulation yields two central theoretical properties.
Reward-agnostic distributional factorization. For any bounded, measurable deterministic reward function , the random return satisfies
Because is random, evaluating this expectation across realizations from recovers the full return distribution zero-shot—making risk functionals such as CVaR immediately available without further learning.
Reward-agnostic distributional Bellman equation. satisfies the recursion
The corresponding distributional Bellman operator is a -contraction under the supremal two-level Wasserstein metric on , guaranteeing convergent dynamic programming on compact Polish state spaces.
Learning & Applications
Two-Level MMD Training
Because is a distribution over infinite-dimensional state distributions, we approximate it with a -model: an equally-weighted particle representation , where each model atom is a neural generative model (in the spirit of -models) that outputs state samples given input noise.
To train -models from transitions via temporal-difference learning, we minimize a two-level Maximum Mean Discrepancy (MMD) loss between and its distributional Bellman target:
- State-level MMD: A state kernel defines between any two generative model atoms, estimated directly from state samples.
- Model-level MMD: Composing with an inverse multiquadric radial basis function yields a characteristic model kernel over , defining a differentiable sample-based TD loss over model distributions.

Figure 2. Components of a δ-model and two-level MMD training. State samples drawn from generative model atoms are compared via the state kernel κ to estimate state-level MMD, which is lifted via the model kernel to compute the model-level MMD loss against the distributional Bellman bootstrap target.
Two practical ingredients prove critical for stable learning at long horizons:
- -step distributional bootstrapping: Replacing one-step targets with -step targets—sampled via a mixture over trajectory states and the bootstrapped -step model atom—substantially improves the target signal-to-noise ratio (best around for , where bootstrap samples account for roughly of target mass).
- Adaptive kernels: Because bootstrapped targets evolve throughout training, we learn an adversarial state kernel using an invertible residual network (iResNet) to strictly enforce injectivity (preserving kernel characteristicness) and adapt the model kernel bandwidth online using the median heuristic.
Empirical Results
Experiments on continuous Windy Gridworld and Pendulum demonstrate the capabilities of -models:
- Multimodal future occupancies: In Windy Gridworld, where stochastic wind pushes the agent toward quadrant corners, -model atoms capture the distinct future trajectories a policy may experience. In contrast, an independently trained ensemble of -models collapses onto similar approximations of the mean SM, reflecting epistemic rather than aleatoric uncertainty.
- Accurate zero-shot return distributions: On Pendulum across four held-out reward and constraint functions (Default, Above Horizon, Stay Left, and Counterclockwise Penalty), -models capture distribution modes and supports and substantially outperform learned transition-model rollouts (which degrade from compounding error), -model ensembles, and ground-truth mean baselines in Cramér distance.
- Zero-shot risk-sensitive policy selection: Given two policies evaluated on unseen Windy Gridworld rewards (Hopscotch and Lopsided Checkerboard), the DSM accurately estimates both expected return and , correctly identifying when one policy is preferable in expectation while the other is preferable under risk-averse CVaR.

Figure 3. Zero-shot return distribution error on Pendulum. Measured by Cramér distance to Monte Carlo return distributions across held-out reward functions, the DSM substantially outperforms forward-model rollouts, γ-model ensembles, and a ground-truth mean Dirac baseline.

Figure 4. Zero-shot risk-sensitive policy selection in Windy Gridworld. On held-out Hopscotch and Lopsided Checkerboard rewards, DSM estimates of both mean return and 0.4-CVaR closely match Monte Carlo ground truth—correctly identifying when π₁ is preferred by mean return while π₂ is preferred under risk-averse CVaR.
Citing
To cite this paper, please use the following reference:
@inproceedings{wiltzer24dsm,
title = {A Distributional Analogue to the Successor Representation},
author = {
Wiltzer, Harley and Farebrother, Jesse and Gretton, Arthur and Tang, Yunhao
and Barreto, André and Dabney, Will and Bellemare, Marc G. and Rowland, Mark
},
year = 2024,
booktitle = {International Conference on Machine Learning (ICML)},
}