Abstract
In this paper, we address the problem of 3D object instance recognition and pose estimation of localized objects in cluttered environments using convolutional neural networks. Inspired by the descriptor learning approach of Wohlhart et al., we propose a method that introduces the dynamic margin in the manifold learning triplet loss function. Such a loss function is designed to map images of different objects under different poses to a lower-dimensional, similarity-preserving descriptor space on which efficient nearest neighbor search algorithms can be applied. Introducing the dynamic margin allows for faster training times and better accuracy of the resulting low-dimensional manifolds. Furthermore, we contribute the following: adding in-plane rotations to the training, proposing new background noise types that help to better mimic realistic scenarios and improve accuracy with respect to clutter, adding surface normals as another powerful image modality representing an object surface, and finally implementing an efficient online batch generation that allows for better variability during the training phase. We perform an exhaustive evaluation on the LineMOD and large BigBIRD datasets to demonstrate the effects of our contributions and the scalability of the pipeline.
Introduction
Estimating the 3D pose and identity of objects is a cornerstone of robotics and augmented reality. However, traditional methods often struggle with two main issues: scalability and robustness. Computational costs often grow linearly with the number of items, and real-world clutter frequently confuses models trained on clean, synthetic data.
The authors build upon "manifold learning," where a Convolutional Neural Network (CNN) maps images into a low-dimensional space. In this space, similar objects with similar poses are close together, while different objects are far apart. The specific challenge addressed here is that standard "triplet losses" use a fixed margin, forcing the network to treat all "different" samples with the same level of strictness, regardless of their actual pose similarity.
Methodology: Triplet Loss with Dynamic Margin
The core innovation is the Triplet Loss with Dynamic Margin. In a standard triplet loss, the network looks at three samples: an anchor, a puller (similar sample), and a pusher (dissimilar sample). It ensures the distance to the pusher is greater than the distance to the puller by at least a fixed margin $m$.
The authors argue that a fixed margin is suboptimal. Instead, they propose:
- Intra-class margin: If the "negative" sample is the same object but in a different pose, the margin is set as a function of the angular difference between their poses (using quaternions).
- Inter-class margin: If the "negative" sample is a completely different object, the margin is set to a constant value larger than any possible angular difference.
Additional Contributions
- In-plane Rotations: Explicit training to handle rotations around the camera's viewing axis, which were ignored by previous baseline methods.
- Surface Normals: Surface normals calculated from depth maps are used as an extra input modality, representing object geometry more effectively than raw depth alone.
- Background Noise Generator: To bridge the "sim-to-real" gap, an online batch generator adds white noise, random shapes, fractal noise, and real-world background patches to synthetic training images.
Key Insights and Results
By making the margin pose-aware, the network avoids wasting effort trying to push "slightly different" poses as far away as "completely different" objects. This leads to better-defined manifolds where Euclidean distance correlates with physical rotation.
Performance Highlights
- Pose Accuracy: On the LineMOD dataset, adding in-plane rotations improved accuracy at a 10° error threshold from 34.6% to 60%.
- Classification: The dynamic margin (DM) reached near 100% classification accuracy much faster than the static margin (SM) approach.
- Scalability: On the 50-object BigBIRD dataset, the DM approach achieved a classification rate of 98.7% and significantly better pose estimation (91.2% at 20° error) compared to the static margin (79.6% at 20° error).
- Noise Robustness: Fractal noise and real-background augmentation were found to be the most effective synthetic noise types for real-world testing.
Conclusion
This research demonstrates that introducing a dynamic margin into triplet loss functions significantly improves 3D object recognition and pose estimation. By incorporating in-plane rotations, surface normals, and sophisticated background noise, the model becomes more robust to the complexities of real-world environments. While the system currently assumes localized objects, its scalability and accuracy make it a promising approach for large-scale robotic perception.
Summary updated