Single-Reset Divide & Conquer Imitation Learning

Alexandre Chenu, Olivier Serris, Olivier Sigaud, Nicolas Perrin-GilbertarXiv 2024 · DOI

Abstract

Imitation Learning (IL) often relies on the ability to reset an agent to arbitrary states from a demonstration, a requirement that is frequently impractical in real-world robotics. We present Single-Reset Divide & Conquer Imitation Learning (SR-DCIL), an approach that maintains the efficiency of goal-conditioned reinforcement learning while operating under the realistic constraint of a single initial reset. By integrating Demo-Buffers, Value Cloning, and Approximate Goal Switching, SR-DCIL enables agents to learn complex multi-step tasks from a single demonstration.

Introduction

Deep Reinforcement Learning (DRL) typically suffers from low sample efficiency. The Divide & Conquer Imitation Learning (DCIL) framework addressed this by decomposing a single demonstration into a sequence of intermediate goals. However, previous iterations like DCIL-II assumed the environment could be reset to any state along the demonstration—a "reset-anywhere" capability that is often impossible on physical hardware. SR-DCIL removes this assumption, focusing on the Single-Reset challenge: learning complex trajectories when the robot can only start from its initial configuration.

Methods: Overcoming the Reset Gap

SR-DCIL introduces three primary mechanisms to bridge the performance gap caused by the lack of mid-trajectory resets. These mechanisms guide the agent through the state space without requiring artificial resets.

Visualization of the learned value function $V(s, i=1, g=g_1)$ in the Dubins Maze. Demo-Buffer (DB) and Value Cloning (VC) significantly improve the guidance toward the first goal compared to the vanilla baseline.
  1. Demo-Buffer (DB): When expert actions are available, transitions from the demonstration are interleaved with the agent's own experiences in the replay buffer. This directly shapes the Q-function to favor paths known to be successful.
  2. Value Cloning (VC): In scenarios where only expert states are available, SR-DCIL uses a regression loss to align the agent's learned value function with the theoretical values of demonstration states. This acts as a "value-based compass," guiding the agent toward the goal by making the correct path look more attractive to the optimizer.
  3. Approximate Goal Switching (AGS): To prevent a single "narrow miss" from terminating a long training episode, AGS employs a dynamic Q-value threshold. If the agent is sufficiently close to a goal (as determined by the Q-function), it switches to the next goal in the sequence, preventing the waste of long trajectories due to minor errors.

Experimental Evaluation

The framework was tested on two environments: Dubins Maze, a 2D navigation task with 17 sequential goals, and Fetch, an 8-DOF robotic arm task requiring grasping and shelf placement across 7 goals.

Success rates across training steps for DubinsMaze and Fetch environments. The ablation study highlights the critical role of DB, VC, and AGS in achieving high performance under single-reset constraints.

Key Results

  • Ablation Performance: In the Dubins Maze, the combination of DB/VC and AGS significantly outperformed the vanilla baseline. AGS, in particular, provided a substantial boost by allowing the agent to progress despite minor errors.
  • High-Dimensional Challenges: In the Fetch environment, the Demo-Buffer variant achieved high success rates. However, Value Cloning was less effective (approx. 65% success), often failing at the initial grasping stage because the agent did not explore states sufficiently close to the demonstration for the cloned values to provide useful guidance.

Discussion and Conclusion

SR-DCIL demonstrates that "Divide & Conquer" strategies can be adapted to realistic single-reset settings. While the "reset-anywhere" assumption provided a significant shortcut for previous methods, SR-DCIL's value-guiding mechanisms offer a viable path forward for real-world deployment. Future work will focus on scaling these methods to even higher-dimensional spaces, potentially by combining Demo-Buffers with learned inverse models to infer expert actions from state-only demonstrations.

Summary updated

BibTeX
@misc{chenu2024single,
  author = {Alexandre Chenu and Olivier Serris and Olivier Sigaud and Nicolas Perrin-Gilbert},
  title = {{Single-Reset Divide \& Conquer Imitation Learning}},
  year = {2024},
  eprint = {2402.09355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.09355},
}
Figure