Reinforcement Learning with Probabilistically Complete Exploration

Philippe Morere, Gilad Francis, Tom Blau, Fabio RamosarXiv 2020

Abstract

Balancing exploration and exploitation remains a key challenge in reinforcement learning (RL). State-of-the-art RL algorithms suffer from high sample complexity, particularly in the sparse reward case, where they can do no better than to explore in all directions until the first positive rewards are found. To mitigate this, we propose Rapidly Randomly-exploring Reinforcement Learning (R3L). We formulate exploration as a search problem and leverage widely-used planning algorithms such as Rapidly-exploring Random Tree (RRT) to find initial solutions. These solutions are used as demonstrations to initialize a policy, then refined by a generic RL algorithm, leading to faster and more stable convergence. We provide theoretical guarantees of R3L exploration finding successful solutions, as well as bounds for its sampling complexity. We experimentally demonstrate the method outperforms classic and intrinsic exploration techniques, requiring only a fraction of exploration samples and achieving better asymptotic performance.

The Challenge of Sparse Rewards

Reinforcement Learning (RL) has achieved remarkable success in complex tasks, but it remains notoriously difficult when rewards are "sparse." In these scenarios, an agent only receives feedback upon complete success (e.g., reaching a goal). Standard RL agents typically rely on random walks for exploration, which is akin to wandering aimlessly in a dark room until accidentally bumping into a reward.

The authors highlight a fundamental limitation: in high-dimensional spaces (3D and above), the probability of a random walk ever hitting a specific goal is less than 100%, even with infinite time. This leads to extreme sample complexity, where agents may require millions of trials just to find the first hint of successful behavior.

R3L: Bridging Planning and Learning

To address this, researchers from the University of Sydney and Nvidia introduced R3L (Rapidly Randomly-exploring Reinforcement Learning). R3L treats exploration as a structured search problem rather than a parameter-tuning problem in the policy space. It breaks the learning process into three distinct phases:

  1. Exploration via RRT: The algorithm adapts the Rapidly-exploring Random Tree (RRT) algorithm—a staple in robotics for path planning—to the RL setting. It builds a "tree" of valid state transitions by expanding toward randomly sampled points in the environment.
  2. Policy Initialization: Once the RRT finds a path to the goal, these successful trajectories are treated as "expert demonstrations." The agent uses imitation learning to initialize a neural network policy.
  3. Refinement: Finally, a standard RL algorithm (like TRPO or DDPG) optimizes the initial policy.
RRT exploration in the MountainCar environment showing the search tree and a successful path.

A key innovation in R3L is the use of a local policy ($\pi_l$) learned via Bayesian linear regression. This policy predicts which actions lead to neighboring states, allowing the RRT to expand effectively even without a predefined steering function.

Performance and Scalability

The researchers evaluated R3L on a range of benchmarks, from low-dimensional classic control tasks like MountainCar to high-dimensional robotic tasks like Hand Reach (78-dimensional state space).

Learning curves for R3L compared to standard RL and curiosity-based methods across multiple benchmarks.

The results demonstrate that R3L consistently outperforms vanilla RL and intrinsic motivation methods (like VIME). In the 78-dimensional Hand Reach task, standard RL methods often failed entirely, while R3L consistently found solutions. By "flattening the surface"—finding a successful path first—R3L places the agent in a region of the mathematical landscape with clear gradients to follow, significantly reducing variance between training runs and improving sample efficiency.

Conclusion and Future Directions

R3L provides a "probabilistically complete" exploration framework, meaning it is mathematically guaranteed to find a solution if one exists. This is a significant theoretical advantage over standard RL exploration. However, the algorithm currently requires the ability to "reset" the environment to previously visited states to expand the search tree. While this is straightforward in simulation, it presents challenges for real-world physical robots. Future research may focus on "sim-to-real" techniques to bridge this gap, bringing structured, search-based exploration to physical systems.

Summary updated

BibTeX
@misc{morere2020reinforcement,
  author = {Philippe Morere and Gilad Francis and Tom Blau and Fabio Ramos},
  title = {{Reinforcement Learning with Probabilistically Complete Exploration}},
  year = {2020},
  eprint = {2001.06940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.06940},
}
Figure