Locally Persistent Exploration in Continuous Control Tasks with Sparse Rewards

Susan Amin, Maziar Gomrokchi, Hossein Aboutalebi, Harsh Satija, Doina Precup

Abstract

Exploration in high-dimensional continuous state spaces remains a significant challenge for Reinforcement Learning (RL), particularly when rewards are sparse. This paper presents PolyRL, an exploration strategy inspired by the statistical physics of polymers. By modeling agent trajectories as "persistent" molecular chains, PolyRL facilitates rapid state-space expansion compared to traditional random walks. The method introduces Locally Persistent Trajectories and utilizes the "radius of gyration" metric to maintain exploratory momentum. Evaluated on 2D navigation and sparse MuJoCo benchmarks, PolyRL demonstrates superior performance and robustness to reward sparsity compared to state-of-the-art exploration techniques.

Introduction

In Reinforcement Learning, effective exploration is critical for discovering optimal policies. While simple random movement suffices in discrete or low-dimensional environments, it is highly inefficient in high-dimensional continuous spaces, such as those encountered in robotics. This inefficiency is exacerbated by sparse rewards, where an agent receives no feedback until a distant goal is reached.

Standard exploration methods often rely on adding Gaussian noise to actions, resulting in trajectories that resemble "random walks." These walks tend to double back on themselves, leading to poor coverage of the environment. To explore efficiently, an agent requires a mechanism to ensure it continues moving into unvisited territory without the computational overhead of building a global map.

Standard random walks (b) result in localized exploration, failing to cover significant distance (a).

Methods: The PolyRL Framework

PolyRL addresses the limitations of random walks by drawing on two core concepts from polymer physics:

1. Locally Persistent Trajectories

Instead of treating each action as independent, PolyRL ensures that successive actions are correlated. This is inspired by Freely-Rotating Chains (FRCs), where molecular segments possess a "stiffness" that maintains their general direction over short intervals. This creates a Locally Self-Avoiding Random Walk (LSA-RW), pushing the agent away from its immediate past.

2. Radius of Gyration ($U_g^2$)

To monitor expansion, PolyRL tracks the "radius of gyration"—a physical measure of how spread out a chain is relative to its center of mass. The algorithm calculates the change in this radius ($\Delta U_g^2$) at each step. Theoretical upper and lower bounds for this change are derived to ensure the trajectory remains "stiff" and expansive. If the change falls outside these bounds (e.g., due to environmental obstacles), the agent resets its exploratory path.

PolyRL uses a correlation angle $\theta$ (c) to create persistent trajectories that achieve superior environment coverage (d).

Experimental Evaluation

The researchers evaluated PolyRL across several challenging benchmarks:

  • 2D Navigation: Agents navigated environments with obstacles and "puddles" (negative rewards). PolyRL achieved full environment coverage in just 11 episodes, whereas $\epsilon$-greedy methods failed to reach the goal.
  • Sparse MuJoCo Tasks: Standard environments like Hopper-V2, HalfCheetah-V2, and Ant-V2 were modified to be "sparse," providing rewards only after crossing a distance threshold $\lambda$.

Key Results

  • Expansion Rate: PolyRL's persistent walks expand significantly faster than the $\sqrt{T}$ rate characteristic of standard random walks.
  • Robustness to Sparsity: PolyRL's performance remained stable even as the reward threshold $\lambda$ increased, whereas competing methods like DDPG-OU and DDPG-PARAM saw performance collapse in "Very Sparse" settings.
  • State-of-the-Art Integration: When paired with Soft Actor-Critic (SAC) or Deep Deterministic Policy Gradient (DDPG), PolyRL consistently outperformed other exploration strategies such as OAC and FiGAR.

Conclusion

PolyRL provides a novel, physics-inspired approach to exploration that utilizes implicit short-term memory through trajectory stiffness. While current theoretical proofs assume environment smoothness, empirical results demonstrate its effectiveness in complex, constrained spaces. Future research may explore adaptive "stiffness" mechanisms to further optimize exploration in diverse terrains.

Summary updated

BibTeX
@inproceedings{amin2021locally,
  author = {Susan Amin and Maziar Gomrokchi and Hossein Aboutalebi and Harsh Satija and Doina Precup},
  title = {{Locally Persistent Exploration in Continuous Control Tasks with Sparse Rewards}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure