Using Predictive Representations to Improve Generalization in Reinforcement Learning

Eddie J. Rafols, Mark B. Ring, Richard S. Sutton, Brian TannerIJCAI 2005

Abstract

The predictive representations hypothesis holds that particularly good generalization will result from representing the state of the world in terms of predictions about possible future experience. This hypothesis has been a central motivation behind recent research in, for example, PSRs and TD networks. In this paper we present the first explicit investigation of this hypothesis. We show in a reinforcement-learning example (a grid-world navigation task) that a predictive representation in tabular form can learn much faster than both the tabular explicit-state representation and a tabular history-based method.

Introduction

In Reinforcement Learning (RL), an agent's ability to make decisions depends heavily on its representation of the environment. Traditional approaches often rely on raw state information, which may be too specific to allow for generalization, or history-based methods, which can suffer from exponential complexity. This study investigates the predictive representations hypothesis: the idea that representing a state based on future outcomes (given specific actions) is inherently superior for generalization. While this concept has motivated architectures like Predictive State Representations (PSRs), this paper provides the first controlled, explicit test to isolate the representation's benefit from the learning algorithm itself.

Methods and Experimental Setup

To isolate the effect of the representation, the authors employed a strictly tabular approach using Sarsa(0). They compared three primary representation types:

  1. Identically Predictive Classes (IPC): States are grouped into classes if they yield identical outcomes for all possible action-observation sequences ("tests") up to a length $n$.
  2. Markov Representation: A baseline where the agent has full knowledge of its $(x, y)$ coordinates and orientation, allowing for no generalization.
  3. History-based Representation: The agent represents state as a window of the last $k$ action-observation pairs.

The Environment

The experiments were conducted in a custom "Office Layout" grid-world.

The "Office Layout" grid-world environment used for testing.

The environment consists of 1,696 distinct states across a complex, symmetrical layout. The agent's sensors are intentionally impoverished—a single bit indicating if a wall is directly ahead—creating significant perceptual ambiguity. The task is to navigate from one of six starting rooms to a goal square ("G"). This setup tests whether an agent can recognize functional equivalence between different but similar-looking rooms.

Key Results

The empirical results strongly support the predictive representations hypothesis. Predictive representations allowed the agent to aggregate states that are functionally identical, leading to significant state compression and faster learning.

Learning curves showing steps per episode for predictive ($n$), history-based ($k$), and Markov representations.

Performance Comparison

  • Learning Speed: The predictive representation with a look-ahead of $n=4$ reached near-optimal performance in approximately 100 episodes. By comparison, the full-knowledge Markov agent required nearly 1,000 episodes to achieve similar results.
  • State Compression: The $n=4$ predictive method utilized only ~18% of the state space compared to the Markov model, yet learned faster due to effective generalization.
  • Failure of History: History-based methods performed poorly. As $k$ increased, the number of unique histories exploded (e.g., over 10,000 for $k=6$), making learning prohibitively slow.

Discussion and Conclusion

The study demonstrates that "looking forward" is more efficient than "looking back." Predictive representations provide a many-to-one mapping that naturally groups states based on functional equivalence, avoiding the "catastrophic failure" seen in random state aggregation. While this work assumes the representation is pre-acquired, it validates the core intuition behind predictive state architectures. Future work should address the discovery of useful predictions and the application of these principles to continuous or stochastic environments using function approximation.

Summary updated

BibTeX
@inproceedings{rafols2005using,
  author = {Eddie J. Rafols and Mark B. Ring and Richard S. Sutton and Brian Tanner},
  title = {{Using Predictive Representations to Improve Generalization in Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
  url = {https://openreview.net/forum?id=ByZwsBGOWH},
}
Figure