Siamese Convolutional Neural Network for Sub-millimeter-accurate Camera Pose Estimation and Visual Servoing

Cunjun Yu, Zhongang Cai, Hung Pham, Quang-Cuong Pham

Introduction

In industrial automation, high-precision assembly tasks—such as inserting a VGA connector with razor-thin tolerances—traditionally require expensive force-torque sensors or rigid, pre-programmed paths. Visual Servoing (VS) offers a more flexible alternative by using camera feedback to guide robotic movement. However, conventional deep learning approaches to VS often suffer from a "precision gap," where pose estimation errors remain in the centimeter range, and a "generalization gap," requiring new models for every unique object.

Researchers from Nanyang Technological University have addressed these challenges by developing a Siamese Convolutional Neural Network (CNN) capable of sub-millimeter pose estimation. This system enables standard industrial robots to perform delicate insertion tasks with high reliability without specialized force-sensing hardware.

Siamese Architecture for Pose Estimation

The core innovation is a Siamese network architecture designed to estimate the relative transformation between two images: the robot's current view and a target reference image. Unlike standard CNNs that process a single input, the Siamese approach utilizes two identical "arms" to extract features independently.

The Siamese CNN architecture featuring dual feature extraction streams and fully-connected layers for pose regression.

As shown in the architecture diagram, the model employs a feature extractor based on CaffeNet, followed by a $1 \times 1$ convolutional layer for channel reduction to maintain computational efficiency. The extracted features are flattened, concatenated, and passed through five fully connected layers. The network outputs the relative transformation as seven parameters: three for translation ($x, y, z$) and four for rotation using quaternions to avoid gimbal lock issues. By applying this network iteratively, the robot can progressively refine its position, turning a large-scale offset into a series of increasingly precise, small-scale adjustments.

Experimental Evaluation and Results

The system was evaluated using a custom dataset of nine different VGA connector types. The model was tested for both absolute precision and its ability to generalize to novel objects not seen during training. In real-world physical trials involving 200 insertion attempts, the robot achieved a 97.5% success rate.

Cumulative distribution of pose estimation errors, demonstrating sub-millimeter and sub-degree accuracy.

Quantitative analysis of the network's performance reveals exceptional accuracy. In single-shot estimations, the model reduced initial errors of 10mm and 5° to less than 0.6mm in translation and 0.4° in rotation. The error distribution plots confirm that the vast majority of test cases fall well within the sub-millimeter threshold required for successful connector mating. Furthermore, the system demonstrated significant robustness, maintaining accuracy even under 70% occlusion or varying lighting conditions that introduced heavy shadows.

Conclusion

By leveraging a Siamese architecture and iterative refinement, this research demonstrates that sub-millimeter precision in robotic assembly is achievable using standard vision sensors. The ability of the network to generalize to unseen connectors suggests a scalable path forward for flexible industrial automation. Future work will focus on improving performance in cluttered environments and integrating the model into high-speed, continuous visual servoing loops.

Summary updated

BibTeX
@inproceedings{yu2019siamese,
  author = {Cunjun Yu and Zhongang Cai and Hung Pham and Quang-Cuong Pham},
  title = {{Siamese Convolutional Neural Network for Sub-millimeter-accurate Camera Pose Estimation and Visual Servoing}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2019},
  doi = {10.1109/iros40897.2019.8967925},
}
Figure