TL;DR
Learning from Guided Play (LfGP) is a new framework that solves the exploration bottleneck in Adversarial Imitation Learning (AIL) for complex robotic tasks. By training an agent to "play" with simple auxiliary tasks (like reaching or lifting) alongside a difficult main task (like stacking), LfGP prevents agents from getting stuck in suboptimal local maxima and significantly improves both performance and expert sample efficiency.
What Problem Does This Paper Address?
Adversarial Imitation Learning (AIL) is a powerful tool for teaching robots from demonstrations. Unlike simple Behavioral Cloning, which can fail due to "compounding errors" when the robot drifts off-course, AIL uses a discriminator to provide a learned reward signal, allowing the robot to improve through trial and error.
However, AIL has a major "exploration" problem. In complex manipulation tasks, the difference between a successful action (grasping a block) and a failure (hovering just above it) is subtle. Standard exploration often leads the agent to a suboptimal local maximum: the agent learns to match some of the expert's behavior (like reaching for the block) but never discovers the crucial next steps (grasping and lifting). Because the agent's behavior looks "expert-like" enough to the discriminator, it stops exploring, effectively getting trapped by its own learned reward.
Methods
The authors introduce Learning from Guided Play (LfGP), which combines AIL with a scheduled hierarchical reinforcement learning approach.
- Auxiliary Tasks: Instead of just giving demonstrations for the main task (e.g., "Stack"), the expert provides demonstrations for simpler, reusable sub-tasks like "Reach," "Lift," and "Move-Object."
- Scheduled Hierarchical Agent: The system uses a high-level "scheduler" that decides which task the robot should practice at any given moment. By forcing the robot to "play" at these auxiliary tasks, the scheduler ensures the robot explores the states and actions necessary to eventually solve the main task.
- Multitask AIL Update: All tasks share a common experience buffer. This means the robot can learn about the "Stack" task even while it is technically practicing "Lift."
- Data Reusability: Crucially, expert data for auxiliary tasks can be reused across different main tasks, making the system much more efficient than training separate models for every new skill.
Datasets
The researchers evaluated LfGP in a simulated environment using a Franka Emika Panda manipulator in PyBullet.
- Main Tasks: Stack, Unstack-Stack, Bring, and Insert.
- Auxiliary Tasks: Open-Gripper, Close-Gripper, Reach, Lift, Move-Object, and Bring.
- Expert Data: Approximately 1,000 state-action pairs per task were used, with a total of 6,000 to 7,000 pairs per experiment.
Key Insights and Ideas
- The Deceptive Reward Trap: Standard AIL is prone to "deceptive rewards." If an agent matches a subset of expert data, the discriminator might stop penalizing it, even if the task isn't finished. This creates a local maximum that standard random exploration cannot easily escape.
- Exploration via Competence: Instead of exploring randomly, LfGP explores by trying to become competent at simpler sub-tasks. Practicing "Lift" naturally puts the robot in the perfect state to start learning "Stack."
- Multitask Synergy: Learning related tasks together isn't just a convenience; it's a functional requirement for complex exploration. The shared physics and state-space mean that progress in one task accelerates learning in others.
Key Results
LfGP demonstrated a clear advantage over state-of-the-art baselines like Discriminator Actor-Critic (DAC) and Behavioral Cloning (BC):
- Superior Success Rates: On the "Stack" and "Insert" tasks, LfGP achieved near-perfect success rates (~1.0), while standard AIL (DAC) often failed completely, staying near 0.0 success.
- Sample Efficiency: LfGP is significantly more efficient with expert data. By reusing auxiliary demonstrations, it outperformed multitask BC even when BC was given the same total amount of data.
- Robustness: Ablation studies showed that LfGP remains effective even when the expert dataset is halved or heavily subsampled.
Limitations and Future Work
- Task Definition: LfGP requires a human to pre-define the auxiliary tasks. Future work could look into discovering these sub-tasks automatically.
- Segmented Data: The expert demonstrations must be labeled (e.g., "this is a Reach demo"). While reasonable for many setups, it adds a layer of complexity to data collection.
- Online Interaction: While expert-sample efficient, LfGP still requires millions of steps of online interaction in the simulator. The authors suggest that "multitask reset-free RL" could be a promising way to make this more practical for real-world robots.
Summary updated