TL;DR
This paper introduces a generative Learning from Demonstration (LfD) framework that achieves high data efficiency by linking perception and action through shared, object-centric representations. By combining spatial object decomposition via neural fields with a temporal mixture-of-experts trajectory generator, robots can successfully learn complex, long-horizon manipulation tasks from as few as 10 to 30 demonstrations and generalize to entirely new scene configurations.
What Problem Does This Paper Address?
Teaching robots complex manipulation skills through Learning from Demonstration (LfD) typically forces a difficult trade-off. On one hand, traditional movement primitives (MPs) are highly data-efficient but rely on hand-crafted, low-dimensional features (like exact object coordinates), making them brittle in real-world visual environments. On the other hand, modern end-to-end deep learning approaches (such as Diffusion Policy or large Vision-Language-Action models) handle raw visual inputs beautifully but require massive datasets and struggle to generalize from only a handful of examples.
The root of the problem lies in treating tasks monolithically. Real-world manipulation is inherently compositional—built out of sequential, object-level interactions (e.g., reaching for a ball, picking it up, moving it to a bowl). This paper addresses the challenge of building a framework that inherently understands both scene-level and motion-level compositionality, enabling data-efficient learning directly from visual inputs.
Methods
The authors propose a framework divided into two main components: Spatial Composition (for scene understanding) and Temporal Composition (for motion generation), tied together by a shared latent space.
- Spatial Mixture-of-Experts (MoE): The scene is modeled using coordinate-based multilayer perceptrons (neural fields). Each object in the scene, as well as the background, is assigned its own "expert" network. Variations in an object's position or shape are captured via latent-conditioned deformation fields ($\Delta_i$), modulated using Feature-wise Linear Modulation (FiLM). Coarse, easily annotated bounding boxes guide the initial training, which the model automatically refines into precise segmentations.
- Latent Relabeling & Search: To ensure stable generalization, the model identifies a "corner set" of latent vectors that bound the variations seen during training. At inference time, given a new image, the framework performs a fast optimization search within this bounded space to find the latent codes that best reconstruct the new scene.
- Temporal Mixture-of-Experts: Instead of a single monolithic trajectory planner, a motion generator uses time-varying gating weights (computed via a softmax mechanism) to smoothly blend the influence of different object latents over time.
Datasets
The method was validated across both simulated benchmarks and real-world robotic platforms:
- Simulation Tasks: Four tasks of increasing complexity: Wall Avoidance (easy), Incline Pick-and-Place (medium), Cup Stacking (medium), and Cube Stacking (hard).
- Real-Robot Tasks: Four physical setups including tabletop pick-and-place, language-guided sorting of unseen objects, and a complex 3D task requiring the robot to open a drawer and insert a carton box.
Key Insights and Ideas
- Perception-Action Coupling via Shared Latents: The exact same low-dimensional latent vectors used by the spatial MoE to visually reconstruct an object are fed into the temporal MoE to condition the robot's physical movement. This ensures that the motion primitives are directly grounded in the visual structure of the scene.
- Soft Gating over Hard Splits: Rather than hard-coding sequential sub-tasks (e.g., "execute pick primitive, then execute place primitive"), the temporal MoE uses continuous gating weights. This allows the robot to smoothly transition between phases and naturally handle relational movements that depend on multiple objects simultaneously.
- Robustness to Coarse Inputs: The spatial MoE does not require pixel-perfect masks for training; simple rectangular bounding boxes are sufficient. The neural fields naturally learn to separate foreground objects from the static background through importance sampling.
Key Results
- High Data Efficiency: In low-data regimes (10–30 demonstrations), the proposed method consistently outperformed strong baselines like Conditional Neural Movement Primitives (CNMP) and Diffusion Policy. For instance, on the hard Cube Stacking task with only 30 demonstrations, the proposed method achieved a 97% success rate, whereas baselines failed completely (0% success).
- Category-Level Generalization: By integrating language-guided segmentation models (like Lang-SAM), the framework successfully transferred skills to completely unseen objects within the same semantic category (e.g., transferring a cup-stacking skill to novel mugs and a watering can).
- 3D Compatibility: The framework seamlessly scales from 2D images to 3D scene representations, achieving a 100% success rate on the real-world drawer task by operating directly on occupancy fields derived from Euclidean Signed Distance Fields (ESDF).
Limitations and Future Work
- Temporal Alignment Dependency: The framework assumes that demonstration trajectories are approximately time-aligned across trials (e.g., the "grasp" happens at a similar normalized time index). While it tolerates moderate timing variations, highly unaligned demonstrations degrade performance.
- Static Scene Assumptions: The current implementation assumes a static background and a fixed camera viewpoint during training to ensure that visual variations correspond strictly to object changes.
- Extrapolation Boundedness: Generalization is constrained to the convex hull of the demonstrated latent support; extrapolation far outside the training distribution is not guaranteed.
The authors note that future work will focus on extending the framework to incorporate more flexible scene-level representations, such as Neural Radiance Fields (NeRFs) or 3D Gaussian Splatting.
Summary updated