Abstract
Deep Reinforcement Learning (DRL) often struggles with sparse rewards and high data requirements. This paper introduces DCIL-II (Divide & Conquer Imitation Learning II), an algorithm that enables robots to learn complex tasks, such as humanoid locomotion, from a single state-only demonstration. By partitioning a demonstration into a sequence of intermediate goals and employing a value propagation mechanism, DCIL-II ensures that an agent reaches each sub-goal in a "valid" state suitable for the next phase of the task. The approach demonstrates significant sample efficiency and success in high-dimensional simulated environments.
Introduction
While DRL has shown promise in robotics, its reliance on dense reward signals or massive datasets of expert demonstrations limits its real-world applicability. Imitation Learning (IL) mitigates this by using expert data, but most IL methods require numerous demonstrations or full action trajectories.
A core challenge in learning from a single demonstration is the "compatibility" or "dead-end" problem. Even if a task is broken into sub-goals, an agent might reach a goal in a configuration that makes the subsequent goal impossible to achieve—for instance, a car reaching a waypoint but facing a wall. DCIL-II addresses this by leveraging the sequential nature of the demonstration to guide the agent toward states that facilitate long-term success.
Methodology
DCIL-II builds upon the Goal-Conditioned Reinforcement Learning (GCRL) framework with several key innovations:
- Goal Extraction and Indexing: A single demonstration is decomposed into a sequence of low-dimensional goals (e.g., torso coordinates). The agent's state is augmented with the current goal index $i$, preventing ambiguity when the agent encounters similar spatial coordinates at different stages of the task.
- Value Propagation and Valid States: Unlike standard GCRL where reaching a goal might terminate an episode, DCIL-II links the reward for goal $i$ to the expected future reward of goal $i+1$. This encourages the agent to reach "valid success states"—configurations that are not just spatially correct but also dynamically poised for the next objective.
- Sequential Hindsight Experience Replay (HER): The algorithm adapts HER to relabel transitions based on the sequential order of the demonstration. This allows the agent to learn from off-track movements while maintaining the intended progression of the task.
Experimental Setup
The effectiveness of DCIL-II was evaluated across five MuJoCo-based simulated environments of increasing complexity:
- Dubins Maze: Navigation for a non-holonomic car.
- Fetch: A robotic arm shelf-placement task.
- Humanoid Locomotion & Stand-up: High-dimensional tasks involving walking and rising from the ground.
- Cassie Run: Bipedal running with a complex robot model.
Key Results and Insights
DCIL-II demonstrated unprecedented sample efficiency in complex tasks:
- Humanoid Locomotion: The agent learned to walk 10 meters in 2 million steps from one demo, a task where standard sparse-reward DRL often fails.
- Cassie Running: Successful running was achieved in approximately 700,000 steps.
- Performance: DCIL-II consistently outperformed baselines like PWIL and Behavioral Cloning, particularly in high-dimensional humanoid environments where maintaining a "valid" state is critical for balance and progression.
The inclusion of the goal index proved essential for stability, as it disambiguates states that appear identical in the goal space but occur at different times in the sequence.
Limitations and Future Work
A primary limitation of DCIL-II is the "reset-to-demo" assumption, which requires the ability to restart the agent from any state in the expert demonstration—a feat easily achieved in simulation but difficult on physical hardware. Future research will explore "reset-free" learning and automated goal-space discovery to further bridge the gap between simulation and real-world deployment.
Summary updated