Embed to Control Partially Observed Systems: Representation Learning with Provable Sample Efficiency

Lingxiao Wang, Qi Cai, Zhuoran Yang, Zhaoran WangarXiv 2022

Abstract

Reinforcement learning (RL) in partially observed Markov decision processes (POMDPs) is notoriously difficult due to the "curse of history" and the "curse of dimensionality." Standard approaches often suffer from sample complexities that scale exponentially with the horizon or the observation space dimension. This paper introduces Embed to Control (ETC), a novel RL algorithm that achieves provable sample efficiency in POMDPs with infinite state and observation spaces. By exploiting a low-rank structure in the transition kernel, ETC learns a two-level representation: a per-step feature factorization and a multi-step history embedding. We prove that ETC attains an $O(1/\epsilon^2)$ sample complexity that scales polynomially with the horizon and the intrinsic rank, bridging the gap between representation learning and policy optimization.

Introduction: The Challenge of Partial Observability

In traditional Reinforcement Learning, the Markov property assumes that the current state $s_h$ provides a complete summary of the past, sufficient for predicting the future. However, real-world applications—ranging from robotics to healthcare—are better modeled as Partially Observed Markov Decision Processes (POMDPs). In these systems, the agent does not have direct access to the underlying state $s_h$ and must instead rely on high-dimensional observations $o_h$, such as camera images or sensor logs.

This partial observability introduces two fundamental hurdles:

  1. The Curse of History: To make optimal decisions, an agent may need to consider the entire sequence of past observations and actions. Without structural assumptions, the space of histories grows exponentially with the time horizon $H$, leading to intractable sample requirements.
  2. The Curse of Dimensionality: Modern RL often deals with continuous or high-dimensional observation spaces. Traditional tabular methods fail because the number of required parameters scales exponentially with the extrinsic dimension of the observations.

The Embed to Control (ETC) algorithm addresses these challenges by learning to compress complex histories into low-dimensional, sufficient representations.

The ETC Framework: Two-Level Representation Learning

The core innovation of ETC is its ability to exploit the latent structure of the environment. Rather than attempting to model the entire observation space, ETC focuses on the intrinsic rank of the transition kernel.

Two-Level Embedding

ETC operates on two distinct levels of representation:

  • Level 1 (Per-step Factorization): It assumes the transition kernel—the probability of moving from state $s_h$ to $s_{h+1}$—can be factorized into a small number of latent "bottleneck" factors. This is represented by a low-rank structure where the transition is mediated by a feature mapping.
  • Level 2 (Multi-step History Embedding): ETC uses a specialized Bellman operator to assemble these per-step features into a low-dimensional embedding of the full history. This embedding serves as a "sufficient statistic" for the future, allowing the agent to bypass the need to store the raw history.
Graphical model of the POMDP structure. The latent variable $q_h$ represents the low-rank factorization of the transition kernel, bridging the current state $s_h$ and action $a_h$ to the next state $s_{h+1}$.

The ETC Workflow

The algorithm follows an iterative process of exploration and refinement:

  1. Data Collection: The agent interacts with the POMDP using a mixture of previously learned policies to gather diverse trajectory data.
  2. Density Estimation: Using a "Density Estimation Oracle" (which can be implemented via Maximum Likelihood Estimation or Generative Adversarial Networks), the agent estimates the likelihood of the observed trajectories.
  3. Confidence Sets and Optimism: The agent maintains a "confidence set" of models that are statistically consistent with the data. To drive exploration, it employs the principle of "Optimism in the Face of Uncertainty," selecting the policy that yields the highest expected reward under the most favorable model in the confidence set.

Theoretical Results: Provable Sample Efficiency

The primary contribution of this work is the mathematical proof of ETC's efficiency. Unlike previous methods that might require an exponential number of samples, ETC is shown to be sample-efficient.

  • Sample Complexity: The paper proves that ETC achieves a sample complexity of $O(1/\epsilon^2)$, where $\epsilon$ is the optimality gap. This rate is information-theoretically optimal, matching the best known bounds for fully observable MDPs.
  • Polynomial Scaling: Crucially, the sample requirement scales polynomially with the horizon $H$, the number of actions $A$, and the intrinsic rank $d$ of the transition kernel. It does not depend on the size of the observation or state spaces, making it applicable to infinite-dimensional systems.
  • Future and Past Sufficiency: The guarantees hold under a "sufficiency" condition, which quantifies how much information about the latent state is contained within a window of observations. This provides a rigorous way to measure the "learnability" of a POMDP.

Discussion and Future Work

While ETC provides a breakthrough in sample efficiency, it leaves open questions regarding computational efficiency. The optimistic planning step involves solving a complex optimization problem over the parameter space, which may be computationally demanding in practice.

Furthermore, the algorithm relies on the existence of a density estimation oracle and a low-rank transition structure. Future research could explore how to relax these assumptions or develop practical approximations using deep neural networks. By bridging the gap between representation learning and policy optimization, ETC provides a theoretical foundation for building more robust and efficient RL agents for complex, partially observed environments.

Summary updated

BibTeX
@misc{wang2022embed,
  author = {Lingxiao Wang and Qi Cai and Zhuoran Yang and Zhaoran Wang},
  title = {{Embed to Control Partially Observed Systems: Representation Learning with Provable Sample Efficiency}},
  year = {2022},
  eprint = {2205.13476},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.13476},
}
Figure