Accelerating Visual Reinforcement Learning with Separate Primitive Policy for Peg-in-Hole Tasks
Zichun Xu, Zhaomin Wang, Yuntao Li, Lei Zhuang, Zhiyuan Zhao, Guocai Yang, Jingdong Zhao
TL;DR
The paper addresses data efficiency in visual reinforcement learning for peg-in-hole assembly by introducing Separate Primitive Policy (S2P), which learns and executes location and insertion actions as distinct primitives. Built on the DrQ-v2 backbone, S2P uses two parallel policies and an ensemble of Q-functions to evaluate prospective actions, enabling sequential locate-then-insert behavior. Empirical results across ten simulated peg-in-hole tasks and real-world experiments show that S2P substantially improves sample efficiency and insertion success, even under force constraints. Ablation studies reveal that while S2P enhances performance for DrQ-v2, it does not consistently improve SAC-based learners, highlighting its dependency on the underlying RL algorithm. The work demonstrates practical viability of vision-based, primitive-policy strategies for fast, robust assembly in robotic manipulation.
Abstract
For peg-in-hole tasks, humans rely on binocular visual perception to locate the peg above the hole surface and then proceed with insertion. This paper draws insights from this behavior to enable agents to learn efficient assembly strategies through visual reinforcement learning. Hence, we propose a Separate Primitive Policy (S2P) to simultaneously learn how to derive location and insertion actions. S2P is compatible with model-free reinforcement learning algorithms. Ten insertion tasks featuring different polygons are developed as benchmarks for evaluations. Simulation experiments show that S2P can boost the sample efficiency and success rate even with force constraints. Real-world experiments are also performed to verify the feasibility of S2P. Ablations are finally given to discuss the generalizability of S2P and some factors that affect its performance.
