WayEx: Waypoint Exploration using a Single Demonstration

Mara Levy, Nirat Saini, Abhinav Shrivastava

Abstract

Reinforcement learning (RL) in sparse-reward environments often requires extensive expert demonstrations and precise action-space knowledge. We present WayEx (Waypoint Exploration), a framework that enables robots to learn complex tasks from a single, action-agnostic expert demonstration. By leveraging state-space waypoints and a novel proximal reward structure, WayEx accelerates training by approximately 50% and improves generalization through a knowledge expansion strategy.

Introduction

In robotics, Learning from Demonstration (LfD) is a powerful paradigm, yet it faces two significant bottlenecks: extreme data requirements and a dependency on action-space information. Traditional imitation learning often requires hundreds of demonstrations including exact control signals (e.g., joint torques). However, in many real-world scenarios, we only have access to state sequences—the "where" rather than the "how."

Furthermore, standard RL struggles with sparse rewards, where an agent only receives feedback upon total task completion. Without guidance, agents spend prohibitive amounts of time in unproductive exploration. WayEx addresses these challenges by treating a single expert trajectory as a sequence of waypoints to guide the exploration process.

The WayEx Framework

WayEx introduces a novel approach to RL that bridges the gap between imitation and autonomous exploration. Unlike traditional methods that require multiple demonstrations with defined action spaces, WayEx operates on a single sequence of states.

Comparison between traditional multi-demonstration methods and the WayEx single-demonstration approach with knowledge expansion.

Core Components

  1. Action-Agnostic Learning: The framework requires only the sequence of states (waypoints) from an expert. It does not need the specific actions used to reach those states, making it compatible with demonstrations where control signals are unavailable.
  2. Proximal Waypoint Reward: WayEx utilizes a Nearest Neighbor approach to identify the expert waypoint closest to the agent's current state. A pseudo-reward is then generated based on proximity and progress along the demonstrated path, providing a dense gradient in sparse environments.
  3. Knowledge Expansion: To avoid overfitting to a single path, WayEx gradually introduces noise to starting and goal positions as the agent's success rate improves. This forces the model to learn recovery behaviors and navigate back to the expert path from unseen states.
  4. Algorithmic Wrapper: Designed for flexibility, WayEx acts as a wrapper for existing RL algorithms, such as Soft Actor-Critic (SAC), to accelerate convergence.

Experimental Evaluation

The researchers evaluated WayEx using the MuJoCo physics engine across several challenging benchmarks, including Meta-World (Door Opening, Peg Insertion), OpenAI Fetch (Pick and Place), and Robosuite. These environments are characterized by clear success conditions but extremely difficult sparse-reward landscapes.

Key Results

  • Efficiency: WayEx reached success thresholds approximately 50% faster than traditional RL methods.
  • Data Parsimony: Even when limited to a single demonstration, WayEx outperformed state-of-the-art baselines like AWAC (Advantage Weighted Actor-Critic) and MCAC (Monte Carlo augmented Actor-Critic) that often utilize more data.
  • Stability: The waypoint-guided reward structure significantly reduced training variance compared to standard RL, which often relies on "lucky" exploration steps.
  • Complex Task Completion: In tasks like Peg Assembly, where standard SAC with sparse rewards failed entirely (0% success), WayEx achieved high success rates by effectively leveraging the waypoint-based guidance.

Discussion and Future Work

While WayEx demonstrates significant improvements in training efficiency and data requirements, it currently relies on low-level state information (e.g., joint coordinates). Future research will focus on extending the framework to image-based state spaces (pixels) to enable learning directly from raw video data. Additionally, exploring non-linear state expansion techniques could further enhance the agent's robustness in highly complex, non-convex environments. Currently, the method assumes the provided single demonstration is successful; future iterations may need to address potential suboptimality in expert data.

Summary updated

BibTeX
@inproceedings{levy2024wayex,
  author = {Mara Levy and Nirat Saini and Abhinav Shrivastava},
  title = {{WayEx: Waypoint Exploration using a Single Demonstration}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10611088},
}
Figure