TL;DR
Training robots to perform precise assembly tasks like peg-in-hole insertion usually requires exhaustive, hardware-wearing trial and error. This paper introduces a framework that instead trains a robot on the much easier inverse task—disassembly—and reverses those trajectories to generate high-quality training data for assembly. By combining visual-tactile sensing with clever action randomization to bridge the physical differences between pushing and pulling, the method improves insertion success rates by 18.1% over learning from scratch.
What Problem Does This Paper Address?
The peg-in-hole (PiH) task is a classic benchmark in robotics, foundational to automated manufacturing, electronics assembly, and everyday maintenance. Despite its ubiquity, teaching a robot to insert a tight-fitting peg into a hole using Reinforcement Learning (RL) is notoriously difficult. The state space is contact-rich, meaning a millimeter of misalignment can cause jamming or excessive forces, leading to sparse success rewards and long training times.
While supervised learning from human demonstrations can speed things up, collecting high-quality expert data is time-consuming and often fails to generalize to new shapes. The authors address this bottleneck by leveraging an intuitive insight: it is much easier to pull a peg out of a hole (disassembly) than it is to guide one in (assembly). Disassembly requires overcoming friction rather than achieving perfect alignment, making it an ideal, low-risk source of data collection.
Methods
The authors propose a PooH-to-PiH (Peg-out-of-Hole to Peg-in-Hole) skill learning framework formulated across a unified Partially Observable Markov Decision Process (POMDP). The pipeline consists of three main stages:
- Peg-out-of-Hole (PooH) Policy Learning: A visual-tactile policy ($\pi^{out}$) is trained in simulation using the Soft Actor-Critic (SAC) algorithm. The robot learns to extract various pegs using a shared observation space: robot kinematics, global vision (96x96 camera images), and local tactile feedback (processed via Principal Component Analysis from vision-based tactile sensors).
- Demonstration Generation via Trajectory Reversal: The successful disassembly trajectories are temporally reversed. While kinematics and vision reverse cleanly, tactile data does not—pulling a peg out is largely contact-free, whereas pushing it in creates complex contact forces. To fix this tactile asymmetry, the authors introduce action randomization when the peg is close to the hole ($z < 0.01\text{ m}$) and regenerate realistic tactile data using a simulator.
- Peg-in-Hole (PiH) Policy Learning: The reversed, randomized trajectories are fed into an expert replay buffer. The final PiH policy ($\pi^{in}$) is trained using a hybrid approach: standard SAC exploration mixed with a Behavior Cloning (BC) loss that forces the robot to mimic the generated expert data during early training stages.
Datasets
The authors evaluated their framework using both simulated environments (built in MuJoCo and RoboSuite) and a physical setup.
- Hardware: An ABB YuMi dual-arm robot equipped with four GelSight-like vision-based tactile sensors and an Intel RealSense camera.
- Objects: Six 3D-printed peg-hole pairs with varying clearances (0.5 mm, 1.0 mm, and 2.0 mm).
- Seen shapes (used in training): Red cube, red D-shape.
- Unseen shapes (testing generalization): Red cylinder, red hexagon, white cube, red scalene triangle.
Key Insights and Ideas
- The Tactile Asymmetry Problem: You cannot simply rewind a video of a disassembly task to learn assembly. In kinematic space, the paths match; in tactile space, they don't. Pushing a peg in requires active jamming recovery and alignment adjustments that pulling a peg out simply never triggers.
- Bridging the Gap with Randomization: By intentionally injecting small positional perturbations ($\Delta x, \Delta y$) into the reversed trajectories and re-simulating the physics, the authors forced the simulator to generate the rich, messy contact patterns essential for robust insertion training.
- Multi-Modal Synergy: Vision and tactile sensing play distinct, complementary roles. Vision provides global context to guide the macro-movement of approaching the hole, while tactile feedback handles the micro-adjustments needed to overcome misalignment and prevent high-impact collisions.
Key Results
- Higher Success Rates: In simulation, the proposed framework achieved an average success rate of 87.5% on seen objects and 77.1% on unseen objects, outperforming direct RL from scratch by 18.1%.
- Lower Contact Forces: By combining vision and touch, the policy achieved 6.4% lower maximum contact forces compared to single-modality baselines, proving that multi-modal alignment prevents the robot from aggressively shoving components together.
- Sim-to-Real Transfer: When deployed directly onto the real ABB YuMi robot using domain randomization and tactile calibration, the policy maintained a 72.1% average success rate across diverse geometries and clearances.
Limitations and Future Work
While the framework successfully transfers to the real world, the authors note a residual sim-to-real gap regarding tactile feedback. The tactile simulator simplifies contact into three primitive motions (dilate, shear, twist) based on calibration with a single spherical indenter, which doesn't perfectly capture the complex edge-on-edge contacts of sharp geometries like hexagons or triangles.
Future work will focus on improving the fidelity of the tactile simulation, exploring richer visual adaptation techniques, and extending this inverse-trajectory learning concept to other complex, reversible manipulation tasks like cabling or threading.
Summary updated