Provably Efficient Exploration for Reinforcement Learning Using Unsupervised Learning

Fei Feng, Ruosong Wang, Wotao Yin, Simon S. Du, Lin F. Yang

Abstract

Modern reinforcement learning (RL) often struggles with high-dimensional "rich observations" where standard exploration techniques fail. This paper presents a theoretically grounded framework for Unsupervised Reinforcement Learning (URL) within the Block Markov Decision Process (BMDP) model. By decoupling the complexity of representation learning from policy optimization, we prove that RL can be efficient if the underlying latent state space is small. Our method, which integrates an Unsupervised Learning Oracle with tabular RL, demonstrates near-optimal performance on complex "hard exploration" tasks, significantly outperforming previous state-of-the-art approaches.

Introduction

In environments with massive observation spaces, such as raw pixel inputs, agents rarely encounter the same state twice. This "curse of dimensionality" renders traditional exploration methods like $\epsilon$-greedy ineffective. While practitioners often use unsupervised learning (UL) to compress these observations into latent states, a theoretical foundation for the efficiency of this approach has been missing. The primary challenge lies in the circular dependency: effective UL requires diverse data, but obtaining such data requires an effective exploration policy, which in turn depends on a good representation.

Methods

The proposed framework addresses the exploration problem in Block Markov Decision Processes (BMDPs), where multiple observations map to a single latent state. The architecture consists of two main components:

  1. Unsupervised Learning Oracle (ULO): A black-box algorithm that clusters observations into latent states.
  2. No-regret Tabular RL Algorithm: A standard algorithm (e.g., UCB-based Q-learning) that operates on the discrete states provided by the ULO.

Trajectory Sampling Routine (TSR)

To break the chicken-and-egg cycle, the Trajectory Sampling Routine (TSR) iteratively refines the mapping. It collects data using the current mapping, retrains the ULO, and employs a FixLabel Routine to ensure label consistency across iterations. This consistency is vital for the tabular RL agent to learn effectively over time.

Experimental Results

The framework was evaluated on two "hard exploration" environments: LockBernoulli (discrete bitstring observations) and LockGaussian (continuous noisy observations).

Performance comparison of URL against baselines in the LockBernoulli environment across various horizons (H) and noise levels (alpha).

As shown in Figure 1, the URL method significantly outperforms PCID and standard Q-learning. Notably, its performance closely tracks that of an "Oracle" agent with direct access to latent states, indicating that the UL mapping is highly accurate.

Robustness of the URL method in the LockGaussian environment, which violates strict BMDP assumptions.

Figure 2 demonstrates the robustness of the approach. Even in the LockGaussian setting, which deviates from the strict BMDP model, the algorithm maintains high performance, suggesting its applicability to real-world noisy data.

Key Insights

  • Complexity Decoupling: The sample complexity of the system scales with the number of latent states ($|S|$), shifting the burden of high-dimensional observations entirely to the UL oracle.
  • Theoretical Guarantees: The authors prove that the algorithm finds a near-optimal policy with polynomial sample complexity relative to the latent state space, action space, and horizon.

Conclusion

This work provides the first theoretical guarantee for the efficiency of combining unsupervised learning with reinforcement learning for exploration. While the current theory assumes the existence of a polynomial-time UL Oracle, it paves the way for future research into more complex data types and optimal sample complexities. The success in noisy environments further highlights the practical potential of this framework for scaling RL to real-world challenges.

Summary updated

BibTeX
@inproceedings{feng2020provably,
  author = {Fei Feng and Ruosong Wang and Wotao Yin and Simon S. Du and Lin F. Yang},
  title = {{Provably Efficient Exploration for Reinforcement Learning Using Unsupervised Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure