Learning State Abstractions for Transfer in Continuous Control

Kavosh Asadi, David Abel, Michael L. LittmanarXiv 2020

Introduction

Reinforcement Learning (RL) has traditionally been bifurcated into two domains: mathematically rigorous tabular algorithms suitable for discrete state spaces, and complex function approximators required for continuous control tasks like robotics. While tabular methods like Q-Learning offer stability and convergence guarantees, they struggle with the infinite state spaces of the real world. Conversely, deep neural networks can handle continuous inputs but often suffer from data inefficiency and instability. This paper proposes a bridge between these worlds by learning a state abstraction—a mapping that compresses a continuous state space into a small set of discrete clusters—allowing simple tabular RL to solve complex continuous control problems.

Methodology: Policy-Based Clustering

The core contribution is a learned stochastic abstraction function, $\phi: S \to C$, which maps the infinite continuous state space $S$ to a finite set of abstract states $C$. Unlike traditional clustering methods that group states based on geometric proximity, this approach utilizes Policy-Based Clustering.

Visualization of learned state abstractions in the Puddle World environment, where continuous states are mapped to discrete clusters (G1-G4) based on policy similarity.

States are clustered based on the optimal actions required to reach a goal. If two distinct continuous states necessitate the same optimal policy, they are mapped to the same abstract state. This ensures the abstraction captures the underlying task logic rather than superficial features. The authors optimize this mapping using stochastic gradient ascent to maximize the likelihood of expert trajectories. Furthermore, the paper provides theoretical guarantees using Rademacher complexity, proving that the performance loss incurred by the abstraction is bounded, ensuring reliable generalization.

Experimental Evaluation

The researchers evaluated the abstraction-based Q-learning approach on three benchmark environments:

  • Puddle World: A 2D navigation task requiring the agent to reach a goal while avoiding high-cost "puddles."
  • Lunar Lander: A complex 8-variable state space task involving landing a craft using thrusters.
  • Cart Pole: A classic control problem of balancing a pole on a moving cart.

A primary focus was transfer learning. Abstractions were trained on a set of source tasks (e.g., specific goal locations or gravity constants) and then tested on novel target tasks to evaluate their robustness and generalizability.

Key Results and Discussion

The empirical results demonstrate that learned abstractions significantly enhance the performance of tabular RL in continuous domains. In the Lunar Lander environment, the abstraction-based agent achieved an 80% success rate in transfer tasks where standard linear Q-learning failed entirely.

Cumulative reward comparison in the Cart Pendulum task, showing the performance of Q-learning with learned abstractions versus standard Linear-Q approximation.

In the Cart Pole domain, abstractions trained on a single gravity setting transferred seamlessly to five different settings, enabling the agent to master the task almost instantaneously. These results suggest that the "hardness" of RL is often a function of representation. By capturing the "logic" of a domain (e.g., when to fire a thruster), policy-based abstractions allow agents to ignore irrelevant state variations, leading to superior data efficiency and transfer capabilities.

Conclusion and Future Directions

This work demonstrates that simple tabular algorithms can be remarkably effective in continuous control when paired with the right state abstraction. While currently limited to discrete action spaces and requiring initial expert trajectories, the approach offers a promising path toward more stable and interpretable RL. Future research will explore refining abstractions online during the learning process and scaling the method to high-dimensional inputs like raw pixels.

Summary updated

BibTeX
@misc{asadi2020learning,
  author = {Kavosh Asadi and David Abel and Michael L. Littman},
  title = {{Learning State Abstractions for Transfer in Continuous Control}},
  year = {2020},
  eprint = {2002.05518},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.05518},
}
Figure