Learning Representation and Control in Continuous Markov Decision Processes

Sridhar Mahadevan, Mauro Maggioni, Kimberly Ferguson, Sarah OsentoskiAAAI 2006

Abstract

This paper presents a novel framework for simultaneously learning representation and control in continuous Markov decision processes. Our approach builds on the framework of proto-value functions, in which the underlying representation or basis functions are automatically derived from a spectral analysis of the state space manifold. The proto-value functions correspond to the eigenfunctions of the graph Laplacian. We describe an approach to extend the eigenfunctions to novel states using the Nystrom extension. A least-squares policy iteration method is used to learn the control policy, where the underlying subspace for approximating the value function is spanned by the learned proto-value functions. A detailed set of experiments is presented using classic benchmark tasks, including the inverted pendulum and the mountain car, showing the sensitivity in performance to various parameters, and including comparisons with a parametric radial basis function method.

Introduction

In reinforcement learning (RL), continuous state spaces present a significant challenge for value function estimation. Since agents cannot store values for an infinite number of states, they rely on function approximation using a set of basis functions. Traditionally, these features—such as Radial Basis Functions (RBFs) or polynomials—are manually engineered. This process is often labor-intensive and fails to account for the intrinsic geometry of the state space, such as obstacles or non-Euclidean topologies.

This research introduces a framework for Representation Policy Iteration (RPI), which automates the discovery of geometrically-aware basis functions. By leveraging spectral graph theory, the agent learns a compact representation of the environment while simultaneously optimizing its control policy.

Methodology

The proposed framework bridges discrete graph analysis and continuous control through a five-step pipeline:

  1. State Sampling: The agent explores the environment via random walks to collect a representative dataset of states.
  2. Graph Construction: Collected states are treated as nodes in a graph, with edges established between neighbors based on distance thresholds or $k$-nearest neighbors.
  3. Spectral Analysis: The eigenfunctions of the Graph Laplacian are computed. These "Proto-Value Functions" (PVFs) serve as basis functions that capture the topological invariants of the state space.
  4. Nyström Extension: To generalize to continuous space, the Nyström method interpolates the PVF values for any state not present in the initial sample.
  5. Control Learning: Least-Squares Policy Iteration (LSPI) uses the learned PVFs to approximate the action-value function ($Q$-function) and derive an optimal policy.

Experimental Evaluation

The framework was tested on two standard RL benchmarks:

  • Mountain Car: An underpowered car must gain momentum to climb a steep hill. Success is measured by minimizing the number of steps to the goal.
  • Inverted Pendulum: An agent must apply force to keep a pole balanced vertically. Success is measured by maximizing the number of steps the pole remains upright.

Results and Discussion

Impact of Local Distance Metrics

The choice of metric used to construct the state-space graph significantly influences performance. In the Mountain Car task, simpler $k$-nearest neighbor metrics generally outperformed more complex Gaussian distance kernels. As shown in Figure 1, configurations like 15-NN achieved the goal in significantly fewer steps compared to the Gaussian approach.

Performance comparison across different local distance metrics for Mountain Car and Pendulum tasks.

Sensitivity to Sample Size

A key finding was that increasing the number of samples does not monotonically improve performance in all environments. For the Inverted Pendulum, performance peaked at a subset size of 500 samples. Larger sample sizes (e.g., 1000) led to performance degradation, likely due to increased noise or overfitting in the graph-based representation.

Performance sensitivity to the number of training episodes and sample subset sizes.

Comparative Performance

The automatically learned PVFs demonstrated superior performance over manually tuned RBFs. In Mountain Car, PVF-based agents reached the goal more efficiently. In the Inverted Pendulum task, they maintained balance for longer durations, proving that task-independent bases derived from the environment's geometry can be more effective than traditional hand-designed features.

Conclusion

This work demonstrates that spectral analysis of the state-space manifold provides a powerful, automated way to learn representations for continuous MDPs. While the approach currently faces challenges in computational scaling ($O(N^3)$ for eigendecomposition) and reliance on initial exploration quality, it marks a significant step toward agents that can autonomously understand and navigate complex environments. Future work will focus on scaling these methods to higher-dimensional control tasks.

Summary updated

BibTeX
@inproceedings{mahadevan2006learning,
  author = {Sridhar Mahadevan and Mauro Maggioni and Kimberly Ferguson and Sarah Osentoski},
  title = {{Learning Representation and Control in Continuous Markov Decision Processes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2006},
  url = {https://openreview.net/forum?id=HJNSZ0l_-S},
}
Figure