Inferensys

Glossary

Successor Representations

Successor representations are a value function decomposition that separates the expected future state occupancy from the immediate reward, facilitating transfer learning and flexible behavior when rewards change.
Finance professional using AI FP&A copilot on laptop, board presentation visible on screen, home office work session.
WORLD MODELS AND STATE REPRESENTATION

What is Successor Representations?

A successor representation is a decomposition of a value function that separates the expected future state occupancy from immediate reward, enabling flexible adaptation when goals change.

A successor representation (SR) is a value function decomposition in reinforcement learning that factors the expected cumulative future reward into a successor matrix and an immediate reward vector. Formally, it represents the expected discounted future occupancy of each state, decoupling the dynamics of the environment from the specific reward function. This separation is the core mechanism that facilitates transfer learning and rapid policy re-evaluation when rewards change, as the successor matrix can be reused with new reward signals.

The SR is computed as the expected sum of discounted future state visitations, serving as a predictive map of an agent's trajectory under a given policy. This contrasts with model-free methods that learn monolithic value functions and model-based approaches that learn full transition dynamics. By caching these expected future state occupancies, an agent can instantly recompute optimal values for new goals, enabling efficient generalization and flexible behavior. It bridges model-free efficiency with some model-based structural knowledge.

SUCCESSOR REPRESENTATIONS

Key Properties and Advantages

Successor representations decompose the traditional value function into two components: a successor map of expected future state occupancy and an immediate reward function. This separation unlocks distinct computational advantages for transfer and flexible behavior.

01

Decoupled Reward and Dynamics

The core innovation is factoring the value function V(s) = M(s, ·) · r(·), where:

  • M(s, s') is the successor map: the expected discounted future occupancy of state s' starting from s.
  • r(s') is the immediate reward function.

This allows an agent to recompute optimal behavior instantly when rewards change, by simply applying the new reward vector to the pre-computed successor map, without re-learning the environment's dynamics.

02

Efficient Transfer and Generalization

Because the successor map M is a function of the environment's transition dynamics and policy—but not the reward—it can be reused across tasks within the same environment.

Key implications:

  • Rapid Task Adaptation: Learn one map for a maze, then solve new reward configurations (e.g., changing goal locations) with simple linear algebra.
  • Generalization to Novel Rewards: The agent can evaluate the value of arbitrary, unseen reward functions, enabling zero-shot performance on new objectives.
  • Skill Composition: Different policies (skills) have different successor maps; combining them can solve complex, hierarchical tasks.
03

Connection to Temporal Difference Learning

Successor representations are learned via a modified Temporal Difference (TD) update. Instead of learning a scalar value V(s), the agent learns a vector of expected future occupancies for all states (or state features).

The TD target for the successor map M(s) is: M(s) ← φ(s) + γ * M(s'), where φ(s) is the state's feature vector. This converges to the expected discounted sum of future features, a more general form of the successor representation. This provides a solid theoretical bridge between model-free and model-based RL.

04

Bridging Model-Based and Model-Free RL

Successor representations occupy a unique middle ground in the RL spectrum:

  • Model-Free Aspect: They are learned directly from experience via TD, without explicitly modeling transition probabilities P(s'|s,a).
  • Model-Based Benefit: The successor map M implicitly encodes long-term transition dynamics under the current policy, enabling flexible prediction akin to a model.

This hybrid nature offers the sample efficiency of model-free methods with the flexibility and transfer capability typically associated with model-based planning.

05

Feature-Based Successor Features

In large or continuous state spaces, a successor feature ψ(s) is learned instead of a full state occupancy map. ψ(s) represents the expected discounted sum of a feature vector φ(s_t) observed in the future.

The value is then: V(s) = ψ(s) · w, where w is a weight vector mapping features to reward.

Advantages:

  • Enables generalization across similar states via shared features.
  • Transfer of w: If a new task's reward is a linear combination of the same features, only the weight vector w needs to be relearned, not ψ(s).
06

Applications in Neuroscience and Navigation

Successor representations are not just an algorithmic tool; they provide a compelling model for hippocampal place cell activity in the brain. Research suggests the firing patterns of certain neurons correspond not to a single location, but to a predictive map of future locations.

In robotics and AI:

  • Navigation: Learn a successor map for an office floorplan; instantly re-plan when a 'coffee' reward is added to a new room.
  • Continual Learning: The decoupling allows the dynamics model (M) to be updated slowly from general experience, while reward preferences can change rapidly.
VALUE FUNCTION DECOMPOSITION

Comparison with Other Value Function Methods

How the successor representation (SR) decomposes long-term value compared to other core reinforcement learning methods.

Core FeatureSuccessor Representation (SR)Model-Free (e.g., DQN, TD)Model-Based (e.g., Dyna, MBRL)

Value Decomposition

V(s) = M(s,·) · R(·)

V(s) = E[ΣγᵗRₜ₊₁]

V(s) = maxₐ E[R(s,a) + γV(s')]

Learned Components

Successor Matrix M, Reward Vector R

Monolithic V(s) or Q(s,a)

Dynamics Model T, Reward Model R

Transfer on Reward Change

Instant (re-weight M with new R)

Requires re-learning from scratch

Instant (re-plan with new R)

Transfer on Dynamics Change

Requires re-learning M

Requires re-learning

Requires re-learning T

Sample Efficiency

High (separates dynamics & reward)

Low

Very High (with accurate model)

Planning Capability

Limited (implicit in M)

None

Explicit (via model rollouts)

Primary Use Case

Fast adaptation, policy evaluation

Direct policy optimization

Simulation, data-efficient control

Representation of Future

Expected discounted state occupancy

Expected discounted sum of rewards

Explicit state transition trajectories

SUCCESSOR REPRESENTATIONS

Applications and Use Cases

Successor representations (SRs) decompose value functions into expected future state occupancy and immediate reward, enabling flexible behavior and efficient learning. Their primary applications are in reinforcement learning and cognitive science.

01

Transfer Learning & Fast Adaptation

The core strength of SRs is enabling rapid transfer when reward functions change. By separating the successor map (expected future state occupancy) from immediate rewards, an agent can recompute optimal values instantly for new reward configurations without re-learning dynamics.

  • Key Mechanism: The value function V(s) is computed as the dot product of the successor representation M(s, s') and the reward function R(s').
  • Use Case: An agent trained to navigate a maze for one goal location can immediately re-plan for a new goal by simply updating R(s'), leveraging its pre-computed successor map M.
  • Contrast with Model-Free RL: Standard Q-learning would require extensive new experience to adapt, while SRs offer one-shot adaptation.
02

Cognitive Maps & Hippocampal Function

SRs provide a computational model for hippocampal place cells and cognitive maps in neuroscience. Evidence suggests the mammalian hippocampus encodes successor representations, predicting an animal's future location.

  • Biological Analogy: Place cells that fire for an animal's current location also show firing for future states along common trajectories, matching the predictive nature of SRs.
  • Theoretical Link: This supports the theory that the hippocampus acts as a predictive map, not just a static spatial map, enabling flexible navigation and planning.
  • Implication: SRs bridge reinforcement learning theory with neuroscience, explaining how brains might perform efficient latent learning and revaluation.
03

Efficient Exploration & Intrinsic Motivation

SRs can drive exploration by quantifying state novelty or empowerment. The uncertainty or change in the successor map itself can be used as an intrinsic reward.

  • Count-Based Exploration: The learning progress of the SR matrix can signal rarely visited states.
  • Empowerment: SRs can measure an agent's potential to reach diverse future states (its options), which can be maximized to learn skills.
  • Algorithm Example: Successor Features (an extension for continuous features) combined with Generalized Policy Improvement allows an agent to rapidly compose behaviors to achieve novel goals.
04

Successor Features & Universal Value Functions

Successor Features (SFs) generalize SRs from discrete states to continuous feature spaces. This enables the learning of Universal Value Function Approximators (UVFAs).

  • Mechanism: Instead of a matrix M(s, s'), SFs ψ(s) represent expected accumulation of state features φ(s). The value is V(s) = ψ(s) · w, where w are reward weights.
  • Application: Allows a single policy to achieve multiple goals defined by linear reward functions in the feature space. Changing goals only requires updating the weight vector w.
  • Scale: This is foundational for multi-task reinforcement learning and goal-conditioned policies in complex environments.
05

Model-Based Planning with Reduced Complexity

While not a full dynamics model, the SR provides a one-step model of multi-step outcomes. This can be used for efficient, limited-horizon planning without full state-transition simulation.

  • Planning Shortcut: The SR M(s, s') encapsulates the long-term consequences of being in state s, under a given policy. Planning can involve evaluating outcomes over this compressed representation.
  • Hybrid Approach: Algorithms like Successor Representation Actor-Critic combine the fast value computation of SRs with model-free policy optimization.
  • Benefit: Offers some sample efficiency advantages of model-based RL without the complexity and potential instability of learning a full transition model T(s'|s,a).
06

Options & Skill Discovery

SRs are naturally linked to the Options Framework for temporal abstraction. The SR of an option captures the long-term state visitation distribution induced by executing that option.

  • Skill Representation: The SR for an option's policy serves as a portable representation of that skill's consequences.
  • Skill Composition: New options can be created by combining or sequencing existing options, with their composite SRs approximated from the components.
  • Use Case: In hierarchical RL, learning SRs for sub-policies (options) enables rapid planning and value estimation at a higher, more abstract level.
SUCCESSOR REPRESENTATIONS

Frequently Asked Questions

Successor representations are a fundamental concept in reinforcement learning that decomposes value functions, separating the dynamics of the environment from the reward function. This FAQ addresses common technical questions about their definition, mechanics, and applications.

A successor representation (SR) is a decomposition of a value function that separates the expected future state occupancy from the immediate reward function, defined mathematically as the expected discounted future occupancy of each state given a starting state and policy. Unlike standard temporal-difference (TD) learning, which learns a monolithic value for each state, the SR learns a successor matrix M^π(s, s') representing how often an agent following policy π will visit state s' in the future, starting from state s. The value function V(s) is then computed as the dot product of this matrix and a reward vector: V(s) = Σ_s' M^π(s, s') R(s'). This separation enables rapid transfer learning when rewards change, as only the reward vector needs to be relearned while the successor matrix, which encodes the environment's dynamics under the policy, remains stable.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.