Skip to main content
QUICK REVIEW

[Paper Review] Using PCA to Efficiently Represent State Spaces

William J. Curran, Tim Brys|arXiv (Cornell University)|May 2, 2015
Reinforcement Learning in RoboticsComputer Science10 references14 citations
TL;DR

This paper proposes using Principal Component Analysis (PCA) to project high-dimensional state spaces in reinforcement learning into low-dimensional manifolds, enabling faster policy convergence. By learning in as few as 4 dimensions—instead of the full 9—agents achieve better performance more quickly, demonstrating a favorable trade-off between convergence speed and policy quality in the Mario Benchmarking Domain.

ABSTRACT

Reinforcement learning algorithms need to deal with the exponential growth of states and actions when exploring optimal control in high-dimensional spaces. This is known as the curse of dimensionality. By projecting the agent's state onto a low-dimensional manifold, we can represent the state space in a smaller and more efficient representation. By using this representation during learning, the agent can converge to a good policy much faster. We test this approach in the Mario Benchmarking Domain. When using dimensionality reduction in Mario, learning converges much faster to a good policy. But, there is a critical convergence-performance trade-off. By projecting onto a low-dimensional manifold, we are ignoring important data. In this paper, we explore this trade-off of convergence and performance. We find that learning in as few as 4 dimensions (instead of 9), we can improve performance past learning in the full dimensional space at a faster convergence rate.

Motivation & Objective

  • Address the curse of dimensionality in high-dimensional reinforcement learning by reducing state space complexity.
  • Explore the trade-off between learning speed and final policy performance when using dimensionality reduction.
  • Demonstrate that low-dimensional manifolds derived via PCA can yield faster convergence and improved performance compared to full-dimensional learning.
  • Investigate whether suboptimal policies in low-dimensional spaces can be refined through iterative learning in higher dimensions.

Proposed method

  • Collect state trajectories from expert demonstrations to form a representative dataset of the state space.
  • Apply Principal Component Analysis (PCA) to compute a linear transformation that projects the high-dimensional state space into a lower-dimensional manifold with maximal variance retention.
  • Use the top-k principal components (k ≤ 9) to project states during each learning iteration, reducing the state representation to k dimensions.
  • Perform reinforcement learning exclusively in the reduced-dimensional space to accelerate convergence.
  • Utilize the PCA transform as a fixed, precomputed matrix, enabling efficient real-time state projection via matrix multiplication.
  • Propose an iterative learning strategy: first learn in a low-dimensional space (e.g., 4D), then transfer knowledge to a higher-dimensional space (e.g., 5D) to improve final policy quality.

Experimental results

Research questions

  • RQ1Can PCA-based dimensionality reduction in state space lead to faster convergence in reinforcement learning?
  • RQ2What is the trade-off between learning speed and final policy performance when using low-dimensional manifolds?
  • RQ3Does learning in a 4-dimensional manifold outperform learning in the full 9-dimensional state space in terms of policy quality and convergence speed?
  • RQ4Can iterative learning—starting in low-dimensional space and transferring to higher dimensions—improve final policy performance compared to full-dimensional learning from the start?

Key findings

  • Learning in 4-dimensional manifolds achieved faster convergence and better policy performance than learning in the full 9-dimensional state space.
  • The first few principal components strongly emphasized fundamental game mechanics such as jump, ground, current direction, shoot, and obstacle proximity.
  • Features related to nearby enemies were largely captured in the lower-variance, higher-indexed principal components, indicating their situational importance.
  • Manifolds with 5 or more dimensions performed similarly to the full state space, suggesting diminishing returns beyond a certain dimensionality.
  • Learning in 2 or 3 dimensions led to poor policies, indicating insufficient representational capacity for effective learning.
  • The approach enables fast convergence with minimal computational overhead, as PCA projection is a lightweight matrix operation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.