TL;DR
This paper tackles the challenging problem of dexterous in-hand manipulation, specifically spinning pen-like objects, which is crucial for many tool-use tasks. They propose a novel sim-to-real approach that leverages reinforcement learning in simulation to generate high-quality trajectories, which are then used to pre-train a sensorimotor policy and as open-loop controllers for real-world data collection, ultimately enabling robust pen spinning with minimal real-world fine-tuning.
What Problem Does This Paper Address?
In-hand manipulation, the ability to reorient objects within the hand, is fundamental for many everyday tasks, from using a screwdriver to playing a musical instrument. Pen-like objects, with their elongated and often cylindrical shape, present a particularly difficult challenge due to the dynamic balancing and precise finger coordination required. While learning-based methods have shown promise in robotics, they often struggle with such complex, dynamic manipulation tasks. This is primarily due to two issues: the difficulty in collecting high-quality demonstrations for these agile movements and the significant "sim-to-real gap" – the discrepancy between how a robot behaves in a simulated environment versus the real world. Existing methods often fail to generalize to new objects or achieve continuous, stable manipulation of pen-like objects.
Methods
The authors introduce a three-step approach to learn pen spinning:
- Oracle Policy Training in Simulation: They first train an "oracle policy" using reinforcement learning (specifically Proximal Policy Optimization - PPO) in a simulated environment. This policy is given "privileged information" (e.g., precise object pose, tactile sensor readings, point clouds) that is not available in the real world. The goal here is not to deploy this policy directly, but to generate highly realistic and dynamic trajectories for pen spinning. Key to this step is a carefully designed reward function that encourages continuous rotation and penalizes instability, along with a novel initial state distribution that mimics human pen-spinning grasps.
- Sensorimotor Policy Pre-training: The privileged information used by the oracle policy cannot be directly transferred to the real world. Therefore, the authors use the trajectories generated by the oracle policy to pre-train a "student" sensorimotor policy. This pre-training is done in simulation, using only proprioceptive feedback (joint positions and velocities), which is the most consistent sensing modality between simulation and reality. This step aims to imbue the policy with a general motion prior, making it more amenable to fine-tuning.
- Fine-tuning with Real-World Trajectories: The pre-trained sensorimotor policy is then fine-tuned using a small dataset of real-world trajectories. These real-world trajectories are collected by using the oracle policy's actions as an open-loop controller on the actual robot. When these open-loop actions result in successful pen spinning, the trajectory is saved and used for fine-tuning. This approach effectively bridges the sim-to-real gap by adapting the policy to the nuances of real-world physics with minimal real-world data.
Datasets
- Simulated Trajectory Dataset: Generated by the trained oracle policy in simulation. This dataset is used for pre-training the sensorimotor policy and as open-loop controllers for real-world data collection.
- Real-World Trajectory Dataset: Collected by replaying the oracle policy's actions on the real robot. A subset of these successful trajectories is used for fine-tuning the sensorimotor policy.
- Object Datasets:
- Simulation: Cylindrical objects with randomized physical properties.
- Real-World Training: Three specific pen-like objects used for collecting demonstrations.
- Real-World Testing: Seven different pen-like objects, including some unseen during training, to evaluate generalization.
Key Insights and Ideas
- The limitations of direct sim-to-real distillation: The paper highlights that directly distilling an oracle policy (even with visuotactile feedback) into a sensorimotor policy for pen spinning is challenging due to the significant sim-to-real gap.
- The power of simulated trajectories for pre-training: Generating high-fidelity trajectories with an oracle policy in simulation provides a valuable motion prior that significantly aids in subsequent real-world fine-tuning.
- Open-loop replay as a data collection strategy: Using the oracle policy's actions as an open-loop controller is an effective way to collect successful real-world demonstrations for dynamic tasks where human teleoperation is difficult.
- Importance of initial state design: Mimicking human-like initial grasps and introducing variability in initial states is crucial for successful exploration and learning of complex manipulation skills like pen spinning.
- Proprioception as a robust sensing modality: While vision and touch are explored, proprioceptive feedback proves to be the most reliable and consistent sensing modality for sim-to-real transfer in this dynamic task.
Key Results
- The proposed method successfully learns to spin over ten different pen-like objects with varying physical properties for multiple revolutions.
- The policy can adapt to real-world dynamics using fewer than 50 real-world trajectories for fine-tuning, demonstrating significant data efficiency.
- The oracle replay baseline, while reasonable, performs worse than the proposed method, achieving 15-30% lower success rates on training objects and showing limitations on unseen objects.
- Ablation studies confirm the critical role of simulation pre-training and the designed reward function (specifically the $r_z$ term for horizontal stability) in achieving robust pen spinning.
Limitations and Future Work
- Vision and Touch Bottlenecks: The authors acknowledge that vision and touch feedback, while explored, still present challenges for sim-to-real transfer in this dynamic task. They suggest future work could explore how to better leverage these modalities.
- Limited to Z-axis Rotation: The current system is primarily designed for rotation around the z-axis. Extending this to general multi-axis rotation is identified as a promising future direction.
- Stable Grasp Assumption: The current work assumes the object is initially placed in a stable grasp. Future work could incorporate more advanced grasping techniques or chaining of different skills to enhance generality.
Summary updated