Abstract
Offline imitation learning (IL) faces significant challenges in long-horizon robotic tasks, including compounding errors and poor generalization to novel goals. We introduce GO-DICE (Goal-conditioned Option-aware DICE), a hierarchical framework that leverages stationary distribution correction to learn complex behaviors from fixed datasets. By combining the "options" framework for sub-task decomposition with goal-conditioning, GO-DICE effectively manages long-horizon dependencies and generalizes to new task specifications without retraining. Our results on multi-object manipulation tasks demonstrate that GO-DICE outperforms existing state-of-the-art offline IL methods.
Introduction
Imitation Learning (IL) enables agents to acquire complex skills by observing expert demonstrations. However, offline IL—learning exclusively from a static dataset without environment interaction—presents three primary hurdles:
- Long Horizons: In multi-step tasks, such as sequential object manipulation, minor errors in the learned policy accumulate over time, leading to catastrophic failure.
- Goal Generalization: Standard IL agents are often tied to specific task instances. Changing target locations typically necessitates expensive retraining.
- Data Quality: Real-world datasets frequently contain suboptimal or noisy demonstrations that can mislead traditional learning algorithms like Behavioral Cloning (BC).
Methodology
GO-DICE addresses these challenges by building upon the Distribution Correction Estimation (DICE) family of algorithms. The framework incorporates several key components:
- Hierarchical Options Framework: Instead of a monolithic policy, GO-DICE decomposes tasks into "options" (sub-tasks). A high-level policy ($\pi_H$) selects the appropriate sub-task, while a low-level policy ($\pi_L$) executes the specific actions required.
- Stationary Distribution Matching: To mitigate compounding errors, GO-DICE matches the stationary distribution (the frequency of state-action pairs) of the expert rather than mimicking exact trajectories. This approach provides greater mathematical stability in offline settings.
- Goal-Conditioning: The entire hierarchy is conditioned on the final goal ($g$), allowing the agent to dynamically adapt its behavior if the target object or destination changes.
- Latent Sub-task Inference: The model employs a Viterbi-style decoding algorithm to automatically segment unlabelled demonstrations into sub-tasks. It can also utilize semi-supervised data where partial labels are provided.
Experimental Setup
The framework was evaluated using the Mujoco physics engine on a series of robotic manipulation tasks involving a Fetch robot arm.
- Fetch Pick-and-Place (PnP): Benchmarks included PnP x1, x2, and x3, where the robot must manipulate one, two, or three objects in sequence. The PnP x3 task represents a significantly longer horizon than standard IL benchmarks.
- Mixed Data Robustness: Training sets included a combination of expert demonstrations and "imperfect" (noisy or random) data to evaluate the algorithm's resilience to suboptimal demonstrations.
Results and Discussion
GO-DICE demonstrated significant improvements over state-of-the-art baselines such as GoFAR and g-DemoDICE, particularly in high-complexity scenarios.
Key Insights
- Hierarchy as a Precision Tool: Segmenting long tasks into discrete windows (e.g., reach, grasp, move) prevents error accumulation, making long-horizon tasks manageable.
- Stability via DICE: By framing learning as a convex optimization of distribution ratios, GO-DICE avoids the instabilities common in adversarial (GAN-based) IL methods.
- Zero-Shot Transfer: Low-level policies trained on simple 1-object tasks proved robust enough to be integrated into 3-object task hierarchies without additional training.
- Human-in-the-Loop Benefits: Semi-supervised training, where humans provide minimal sub-task boundary annotations, significantly boosted performance in the most challenging multi-object tasks.
Conclusion
GO-DICE represents a robust approach to offline imitation learning for complex, long-horizon tasks. While the current model shows promise, future work will focus on scaling to even larger numbers of objects, automating the discovery of the optimal number of sub-tasks ($K$), and transitioning from simulation to real-world hardware.
Summary updated