Abstract
In computer science, reinforcement learning is a powerful framework with which artificial agents can learn to maximize their performance for any given Markov decision process (MDP). Advances over the last decade, in combination with deep neural networks, have enjoyed performance advantages over humans in many difficult task settings. However, such frameworks perform far less favorably when evaluated in their ability to generalize or transfer representations across different tasks. Existing algorithms that facilitate transfer typically are limited to cases in which the transition function or the optimal policy is portable to new contexts, but achieving “deep transfer” characteristic of human behavior has been elusive. Such transfer typically requires discovery of abstractions that permit analogical reuse of previously learned representations to superficially distinct tasks. Here, we demonstrate that abstractions that minimize error in predictions of reward outcomes generalize across tasks with different transition and reward functions. Such reward-predictive representations compress the state space of a task into a lower dimensional representation by combining states that are equivalent in terms of both the transition and reward functions. Because only state equivalences are considered, the resulting state representation is not tied to the transition and reward functions themselves and thus generalizes across tasks with different reward and transition functions. These results contrast with those using abstractions that myopically maximize reward in any given MDP and motivate further experiments in humans and animals to investigate if neural and cognitive systems involved in state representation perform abstractions that facilitate such equivalence relations.
Introduction
Standard Reinforcement Learning (RL) excels at mastering specific, complex tasks like Go or Atari games, but it is notoriously "brittle." If goal locations or environment rules are slightly altered, a standard agent often fails to generalize and must restart learning from scratch. This paper addresses the challenge of "deep transfer"—the human-like ability to apply abstract knowledge (such as shifting gears in a car) to superficially different scenarios—by proposing reward-predictive representations.
Methods
The authors contrast two types of state abstractions:
- Reward-Maximizing Abstractions: These group states together if they share the same optimal actions or values. While efficient for a single task, these representations are often "proprietary" to that specific goal and fail when the task changes.
- Reward-Predictive Abstractions: These group states together if they lead to the same expected sequences of future rewards.
To implement the latter, the researchers utilize Linear Successor Feature Models (LSFMs) to discover a latent space that minimizes the error in predicting future reward outcomes. Additionally, a non-parametric Bayesian model (using a Chinese Restaurant Process prior) allows the agent to maintain a "library" of learned abstractions, deciding whether to reuse a known abstraction or create a new one when faced with a novel task.
Experimental Setup
The approach was benchmarked across several simulated environments designed to test abstraction and transfer:
- Column World: A grid-world where rewards are tied to specific columns, testing basic columnar abstraction.
- Grid-World Navigation: A set of 144 variations of reward placements and wall configurations.
- Maze Curriculum: 10x10 mazes augmented with "irrelevant" variables (like background color) to see if the agent can ignore noise and focus on navigational structure.
- Guitar Scale Task: A zero-shot transfer test where an agent learns the abstract concept of a musical "scale" and must apply it across different fretboard positions and keys.
Key Insights
- Equivalence over Optimization: Reward-predictive representations find "equivalence relations." If two different sensory inputs consistently lead to the same future reward patterns, they are functionally the same. This logic holds even if specific transition probabilities or final goals change.
- Policy Independence: Unlike standard Successor Representations, these abstractions are robust because they focus on state equivalences that exist regardless of the agent's current strategy.
- Analogical Reuse: Much like shifting gears in a right-hand-drive vs. a left-hand-drive car requires different motor skills but follows the same abstract progression, these representations capture the underlying logic of the world.
Key Results
In the 144-task grid-world set, reward-predictive abstractions consistently outperformed reward-maximizing ones when transferred to new, unseen tasks. In the Maze Curriculum, the agent successfully identified that it only needed two core abstractions (one for "light/dark" mazes and one for "colored" mazes), allowing it to learn new mazes significantly faster than standard Q-learning baselines. Most notably, in the guitar task, once the agent learned the abstract structure of a scale in one key, it could transfer that knowledge to play different scales in different keys almost instantly.
Discussion
While powerful, the authors acknowledge that "over-compressing" states can lead to approximation errors that prevent an agent from finding an optimal policy. Future work aims to integrate these predictive principles with deep neural networks to handle high-dimensional inputs like raw pixels. Furthermore, the paper suggests that the hippocampus and orbitofrontal cortex might be the biological seats of these reward-predictive maps, calling for new experiments to see if animal neural signals correlate more with reward prediction than simple reward maximization.
Summary updated