Introduction
Manipulating deformable objects, such as ropes and cloth, remains a significant challenge in robotics due to their high degrees of freedom and complex, non-linear dynamics. Traditional model-based approaches struggle with generalization, while end-to-end CNN-based reinforcement learning often fails during sim-to-real transfer due to visual domain gaps. This work proposes a framework that decouples visual perception from manipulation planning by representing objects as sparse graphs of keypoints.
Methodology
The proposed framework utilizes a three-stage pipeline to map visual input to robotic actions. By reducing an image to a few dozen keypoints, the model ignores redundant background information, making the planning component more efficient and easier to train.
- Keypoint Detection: A CNN extracts feature maps from current and goal images, which are then converted into coordinates via spatial softmax. Instead of regressing coordinates directly, the model is trained to reconstruct Gaussian heatmaps, providing a higher-dimensional feature space.
- Local GNN Architecture: The detected keypoints form nodes in a graph. A "Local GNN" strategy is employed, consisting of:
- Self-Attention: Processing the current and goal images independently to understand local object structure.
- Cross-Attention: Performing attention between the current and goal graphs to determine necessary displacements.
- Reinforcement Learning (DQN): The GNN outputs a Q-value distribution for all possible pick-and-place pairs. The robot selects the action maximizing the expected reduction in distance between current and goal keypoints.
Experiments and Results
The model was trained using the Pybullet physics engine on tasks involving 1D (ropes) and 2D (cloth) objects. In simulation, the system achieved near-perfect success rates for rope straightening and square-forming, and high success for cloth flattening (90%) and folding (86%).
A key advantage of this decoupled approach is its robust sim-to-real transfer. By fine-tuning only the keypoint detector on 500 real-world images, the model was successfully deployed on a UR5 robot arm equipped with a suction cup. The robot effectively rearranged ropes into complex shapes despite differences in lighting and texture between simulation and reality.
Conclusion
By leveraging semantic sparsity through keypoints and an efficient Local GNN architecture, this framework provides a scalable solution for deformable object manipulation. Future work will explore handling variable keypoint counts and more complex 3D tasks like knot untying, as well as incorporating orientation for use with parallel grippers.
Summary updated