TL;DR
The paper introduces Semantically UNified (SUN) Programs, a novel framework that bridges the gap between model-based control and reinforcement learning by preserving task semantics across the entire robot learning pipeline. Using a system called Kuafu, the method automatically synthesizes these programs from natural language, verifies them via Model Predictive Control (MPC), and trains robust, stage-conditioned policies that achieve impressive zero-shot sim-to-real transfer without requiring human demonstrations or manual reward engineering.
What Problem Does This Paper Address?
In long-horizon robotic manipulation, there is a fundamental disconnect between model-based control and reinforcement learning (RL). Model-based controllers (like MPC) excel at executing precise geometric objectives but are highly sensitive to real-world modeling errors and noise. RL can handle complex, contact-rich interactions, but it requires meticulously hand-crafted dense reward functions to make progress on long tasks.
When researchers try to bridge these two worlds—usually by using MPC to generate demonstration data for an RL policy—the underlying task semantics (the why behind an action, the constraints, and the stage transitions) are typically discarded. This leads to semantic drift, where the learned policy's behavior gradually deviates from what the controller originally verified, causing failures during deployment.
Methods
The authors solve this with SUN Programs: typed, executable representations of a task where geometric and contact relations are defined exactly once.
The architecture is implemented in a system called Kuafu, which operates in five distinct phases:
- Formation: A Large Language Model (LLM) agent takes a natural language instruction and translates it into a structured SUN Program by selecting operators from a predefined library and binding them to perceived scene frames.
- MPC Screening: The program is compiled into MPC cost functions and evaluated in a physics simulator. If the controller fails, a diagnostic-guided repair loop uses the failure analysis to fix the program.
- Behavioral Cloning (Stage-BC): Successful MPC rollouts are used to train a stage-conditioned prior policy, which acts as a behavioral anchor.
- Residual Reinforcement Learning: To handle complex physical interactions that MPC might struggle with, Kuafu trains a residual policy on top of the BC prior. Crucially, the RL rewards are automatically compiled directly from the same SUN Program.
- Data Production & Deployment: The final whole-task policy is used to generate large-scale visual observation-action datasets to train downstream visual policies (like DP3) for zero-shot deployment on real robots.
Datasets
The system was evaluated on a custom suite of nine multi-stage manipulation tasks designed in Isaac Lab.
The tasks test a variety of capabilities:
- T0 & T3: E-stop button interactions (pushing and twisting).
- T1 & T6: Precision block stacking (2 cubes vs. 3 cubes).
- T2 & T7: Drawer manipulation (pulling open vs. opening and placing an object inside).
- T4: Object reorientation (righting a bottle).
- T5: High-precision insertion (marker into a cup).
- T8: Dexterous hanging (hanging a cup by its handle).
Key Insights and Ideas
- Semantic Persistence Prevents Drift: By forcing the MPC controller, the stage monitor, and the RL reward function to share the exact same underlying program definitions, the policy cannot drift away from the validated task logic.
- Optimization as a Knowledge Screener: Instead of using LLMs to guess reward functions over multiple slow RL training cycles (like prior methods), Kuafu uses fast MPC rollouts to immediately screen and repair the LLM's task understanding before any RL training begins.
- Horizon Robustness: The value of a persistent program scales with the complexity of the task. Kuafu maintains high success rates even as tasks grow from short horizons (e.g., opening a drawer) to long, heterogeneous sequences (e.g., opening a drawer and placing an object inside).
Key Results
- High Success Rates: Kuafu achieved an average 82.03% macro-success rate across all nine simulation tasks, drastically outperforming sparse-reward RL (35.67%) and pure behavioral cloning (24.75%).
- Compute and Data Efficiency: Kuafu achieved a 3.91× compute efficiency gain over Eureka (an iterative LLM reward-search baseline). Furthermore, as an automated data generator, it produced successful trajectory data 10.57× faster per hour than human teleoperation.
- High-Quality Trajectories: Downstream visual policies trained on Kuafu's data achieved a 46.02% success rate, whereas data from alternative automated generators completely failed (0% success) on the harder tasks (T5–T7).
- Real-World Zero-Shot Transfer: Visual policies trained purely on Kuafu's simulated data were deployed directly onto physical Franka and Kinova robots, achieving a 34.72% overall success rate across 106 physical trials without any real-world fine-tuning.
Limitations and Future Work
- Object Registration Dependency: SUN Programs rely on a registered scene interface that provides explicit object frames and axes. It cannot currently handle arbitrary, unmodeled environments out of the box.
- Rigid Body Constraints: The operator library is currently limited to rigid objects, meaning Kuafu cannot handle deformable objects (like cloth) or fluids without developing new typed operators.
- Monotonic Stage Progress: The current stage monitor only moves forward; it cannot "roll back" to a previous stage if a physical regression occurs (e.g., if a robot accidentally drops a cube it already picked up). The authors note that incorporating loop-recovery logic is a promising direction for future work.
Summary updated