Learning from Demonstrations via Capability-Aware Goal Sampling
Yuanlin Duan, Yuning Wang, Wenjie Qiu, He Zhu
TL;DR
Cago introduces a capability-aware goal sampling framework for learning from demonstrations in sparse-reward, long-horizon tasks. By continuously tracking the agent’s capability along demonstration trajectories and sampling intermediate goals just beyond current reach, it creates an adaptive curriculum that guides exploration via a Go-Explore style framework and a Dreamer-inspired world model. A goal predictor enables test-time planning without access to final demonstration states. Empirical results across MetaWorld, Adroit, and ManiSkill show improved sample efficiency and final performance over diverse imitation and curriculum baselines, with ablations confirming the importance of capability-aware sampling and the BC Explorer component.
Abstract
Despite its promise, imitation learning often fails in long-horizon environments where perfect replication of demonstrations is unrealistic and small errors can accumulate catastrophically. We introduce Cago (Capability-Aware Goal Sampling), a novel learning-from-demonstrations method that mitigates the brittle dependence on expert trajectories for direct imitation. Unlike prior methods that rely on demonstrations only for policy initialization or reward shaping, Cago dynamically tracks the agent's competence along expert trajectories and uses this signal to select intermediate steps--goals that are just beyond the agent's current reach--to guide learning. This results in an adaptive curriculum that enables steady progress toward solving the full task. Empirical results demonstrate that Cago significantly improves sample efficiency and final performance across a range of sparse-reward, goal-conditioned tasks, consistently outperforming existing learning from-demonstrations baselines.
