Abstract
This paper introduces a method to shrink 6DoF (6 Degrees of Freedom) object detection models by nearly 99% in size while tripling inference speed. By using Knowledge Distillation, the authors "teach" a lightweight YOLO-LITE student network to mimic a complex YOLOv2-based teacher, making real-time 3D pose estimation more feasible for mobile devices and robotics.
Introduction
Detecting an object’s 6DoF pose—its 3D translation ($x, y, z$) and 3D rotation (roll, pitch, yaw)—is essential for augmented reality (AR) and robotic manipulation. However, state-of-the-art models for this task are computationally expensive. Most high-performing 6DoF models rely on heavy architectures (like YOLOv2 or ResNet) that require high-end GPUs, creating a bottleneck for mobile AR applications or small-scale robots that lack massive onboard compute. The authors aim to bridge this gap by creating a "squeezed" network that maintains functional performance with a fraction of the hardware requirements.
Methodology
The researchers employed a Teacher-Student Knowledge Distillation (KD) framework to transfer knowledge from a high-capacity model to a lightweight one.
The Distillation Process
- The Teacher: They used the architecture proposed by Tekin et al., which is a YOLOv2-based model capable of real-time 6DoF detection on high-end hardware.
- The Student: They selected YOLO-LITE (specifically "Trial 10"), a network designed for CPUs and low-power devices.
- Training: Instead of training the student network solely on raw dataset labels, they trained it using the teacher's predictions as the target labels. The logic is that the teacher has already learned a "smoother" decision boundary, making it easier for the smaller student network to converge on a useful solution.
Pose Estimation Pipeline
Like the original architecture, the squeezed network estimates the 2D projections of the object's 3D bounding box corners. These points are then fed into a Perspective-n-Point (PnP) algorithm to calculate the final 6DoF pose.
Datasets and Training
The authors evaluated their approach using the LINEMOD dataset, a standard benchmark for 6DoF object detection featuring 13 different objects in cluttered environments. To improve training, they used synthetic data augmentation: objects were segmented from LINEMOD, then rotated, translated, and overlaid onto random backgrounds from the VOC2012 dataset to prevent overfitting and simulate varying environments.
Key Results
The experimental results highlight a dramatic shift in efficiency:
- Memory Footprint: The model size was reduced from 202.3 MB (Baseline) to 2.2 MB (Squeezed)—a reduction of approximately 98.9%.
- Inference Speed: On a GeForce RTX 2080Ti, inference time dropped from 6.5ms to 2.0ms, making it over 3x faster.
- Accuracy (2D Projection): The distilled YOLO-LITE achieved an average score of 38.8% across objects, compared to the teacher's 90.3%.
- Accuracy (3D Transformation): This proved more challenging, with the student achieving 15.6% accuracy compared to the teacher's 55.9%.
Discussion and Future Work
The primary insight is the sheer scale of compression possible. Moving from 202.3 MB to 2.2 MB is a massive leap, even if it comes with an accuracy penalty. The results show that while the student network performs reasonably well at 2D projection, the precision required for 3D orientation is much harder for tiny networks to capture.
Future Directions: * Advanced KD Techniques: Exploring loss functions that account for the specific geometry of 3D rotations. * Teacher Upgrades: Using more modern, high-accuracy teachers (like DPOD) to provide better "lessons." * Refinement Loops: Integrating techniques like DeepIM to "clean up" the initial pose estimate provided by the squeezed network.
The code for this project is available on GitHub: https://github.com/heitorcfelix/singleshot6Dpose
Summary updated