Evaluating Robustness of Visual Representations for Object Assembly Task Requiring Spatio-Geometrical Reasoning

Chahyon Ku, Carl Winge, Ryan Diaz, Wentao Yuan, Karthik Desingh

TL;DR

This paper introduces a novel dual-arm "geometric peg-in-hole" benchmark to evaluate how well visual representations handle complex spatio-geometric reasoning. The authors discover that while general-purpose pretrained vision models (like CLIP or R3M) are popular in robotics, they are significantly outperformed by simple encoders trained from scratch when precise 3D alignment of complex shapes is required.

What Problem Does This Paper Address?

Traditional robotic assembly research often focuses on "peg-in-hole" tasks using a single arm, a fixed fixture for the hole, and a top-down approach. While effective for industrial settings, this doesn't translate well to unstructured environments—like a home—where a robot might need to pick up two separate parts (e.g., a container and its lid) and assemble them in mid-air using two arms.

The core challenge is spatio-geometric reasoning: the robot must understand the 3D relationship between the parts and how their specific geometries (like a pentagonal extrusion vs. a minus-sign) dictate the assembly. Current visuomotor policies often struggle with the precision required for these tasks, especially when faced with "grasp noise"—variations in how the robot initially picks up the objects.

Methods

The authors employ an imitation learning framework where a policy maps RGB images and robot proprioception to absolute gripper poses in SE(3) space.

Network architecture showing image encoders and an MLP head for action prediction.

Key components of their approach include:

  • Vision Encoders: They compared eight different encoders, including randomly initialized ResNets and several state-of-the-art pretrained models (ImageNet-ResNet50, R3M, CLIP, and MAE).
  • Rotation Representation: They investigated different ways to represent 3D rotations, comparing standard quaternions against a 6D representation (regressing the first two columns of a rotation matrix and using Gram-Schmidt orthonormalization).
  • Dual-Arm Setup: The task is performed using two UR5e arms in both a PyBullet simulation and a real-world environment equipped with an Intel RealSense LiDAR camera.

Datasets

The study utilizes a custom dataset of 9 peg-and-hole pairs created in Blender, categorized by their rotational symmetries (Order-1, Order-2, and Order-4).

The 9 peg and hole pairs used in the study, ranging from simple circles to complex keys.

For training and evaluation, they generated:

  • Scripted Expert Demonstrations: 100 to 10,000 episodes per task variation.
  • Grasp Variations: The dataset includes four types of noise introduced during the picking phase: X-axis translation (XT), Z-axis translation (ZT), Y-axis rotation (YR), and Z-axis rotation (ZR).
Visualizing the different types of grasp perturbations applied to the objects.

Key Insights and Ideas

  • Pretraining Isn't a Silver Bullet: Surprisingly, frozen pretrained models (like CLIP and R3M) failed to capture the essential visual features for geometric reasoning. Encoders trained from scratch consistently achieved higher success rates, suggesting that current large-scale pretraining might prioritize semantic recognition over the fine-grained spatial features needed for precision assembly.
  • 6D Rotations Matter: The choice of rotation representation was critical. The 6D representation significantly outperformed quaternions, likely because it avoids the mathematical discontinuities that can make learning difficult for neural networks.
  • Symmetry Simplifies, Complexity Challenges: Objects with higher rotational symmetry (like the circle or plus-sign) were easier for the models to handle than asymmetric shapes (like the arrow or key), which require more precise orientation.
  • Data Efficiency: Non-pretrained models showed a consistent performance boost as more data was added, whereas frozen models tended to saturate early due to the limited capacity of the policy head.

Key Results

In simulation, the Non-pretrained ResNet-18 was the top performer. On the challenging ZR (Z-axis rotation) task variation, it achieved a 0.775 success rate, compared to just 0.575 for CLIP ViT-base and 0.275 for R3M ResNet-50.

The impact of rotation representation was even more stark. Using the 6D representation with Mean Squared Error (MSE) loss yielded a success rate of 0.825 on the XTZR variation, while the standard Quaternion-MSE approach managed only 0.275.

Real-world experiments confirmed these trends, though success rates were generally lower due to the lack of wrist cameras and a smaller number of training demonstrations.

Limitations and Future Work

The authors note that their current system relies purely on vision and proprioception. In the real world, assembly often requires force feedback to handle the final stages of insertion where parts make contact.

Future directions include:

  • Integrating tactile/force sensing into the policy.
  • Exploring more advanced imitation learning methods like Diffusion Policy, which may better handle the multi-modal nature of these tasks.
  • Testing on more realistic, non-prismatic household objects.

Summary updated

BibTeX
@inproceedings{ku2024evaluating,
  author = {Chahyon Ku and Carl Winge and Ryan Diaz and Wentao Yuan and Karthik Desingh},
  title = {{Evaluating Robustness of Visual Representations for Object Assembly Task Requiring Spatio-Geometrical Reasoning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10610774},
}
Figure