Abstract
Six Degrees of Freedom (6DoF) pose estimation is a critical task for robotics, augmented reality, and space navigation, yet high-performing models are often too computationally expensive for real-time deployment on edge devices. This paper introduces a novel Knowledge Distillation (KD) framework that bridges the gap between massive neural networks and efficient estimators. By quantifying teacher uncertainty through ensembling and aligning features at keypoint locations using Unbalanced Optimal Transport, the proposed method enables lightweight student models to achieve state-of-the-art accuracy with a fraction of the parameters and computational cost.
Introduction
Determining an object's exact position and orientation in 3D space—6DoF pose estimation—is foundational for autonomous systems. While deep learning has pushed the boundaries of accuracy, the resulting models are frequently unsuitable for hardware with limited power or memory. Knowledge Distillation (KD), where a compact "student" model is trained to mimic a high-capacity "teacher," offers a potential solution.
However, conventional KD approaches in 6DoF estimation suffer from two primary limitations. First, they often exhibit "blind trust," treating all teacher predictions as ground truth even when the teacher is uncertain or incorrect. Second, they suffer from "level inconsistency," where the distillation of internal features and final keypoint predictions are decoupled, leading to a student model that lacks internal alignment with its intended output. This work addresses these challenges through an uncertainty-aware distillation pipeline.
Methodology
The proposed framework introduces a two-pronged approach to refine the knowledge transfer process: Uncertainty-Aware Prediction-Level KD (UAKD) and Prediction-related Feature Knowledge Distillation (PFKD).
Teacher Ensembling and Epistemic Uncertainty
To combat the issue of blind trust, the framework utilizes an ensemble of 4–6 teacher models. By measuring the variance in keypoint predictions across the ensemble, the system quantifies epistemic uncertainty. If the teachers disagree significantly on a specific keypoint's location, that prediction is assigned a lower weight during distillation. This ensures the student focuses on high-confidence knowledge and avoids learning the teacher's errors.
Uncertainty-Aware Prediction-Level KD (UAKD)
For prediction alignment, the authors employ Unbalanced Optimal Transport (OT) via the Sinkhorn algorithm. Unlike standard alignment methods, this unbalanced version allows for a flexible mapping between student and teacher keypoints, even if their counts differ. Crucially, the uncertainty scores generated by the ensemble are integrated directly into the transport plan, weighting the importance of each keypoint pair based on the teacher's reliability.
Prediction-related Feature KD (PFKD)
To resolve level inconsistency, PFKD maps predicted keypoints back to their corresponding "receptive fields" within the feature maps. By using the optimal transport plan derived at the prediction level to guide feature distillation, the framework ensures the student learns the specific spatial features necessary for accurate keypoint detection. This focuses the distillation process on task-relevant regions rather than redundant background information.
Experimental Evaluation
The framework was rigorously tested on two benchmarks representing diverse operational environments:
- LINEMOD: A standard dataset for general object pose estimation featuring 13 objects in cluttered, real-world scenes.
- SPEED+: A spacecraft pose estimation dataset designed for cross-domain challenges, including "Lightbox" and "Sunlamp" test sets that simulate the extreme lighting conditions of space.
Results and Discussion
Accuracy and Robustness
On the LINEMOD dataset, using a DarkNet-Tiny-H backbone, the proposed method improved the Average Distance of Model Points (ADD) metric by 7.1 points compared to a standard student model. It also outperformed previous state-of-the-art distillation methods like ADLP. On the SPEED+ dataset, the UAKD+PFKD variant demonstrated exceptional robustness in high-contrast lighting. In the "Sunlamp" domain, the student model's pose error was reduced to a level nearly identical to the much larger teacher model.
Computational Efficiency
The efficiency gains were substantial. The SPNv2 student model achieved these high-accuracy results while utilizing 95.5% fewer parameters than the teacher. Furthermore, it reduced Floating Point Operations (FLOPs) by 96.6%, making it highly viable for real-time deployment on spacecraft or mobile robotic platforms.
Conclusion
This research demonstrates that uncertainty is not merely a byproduct of model inference but a vital signal for effective knowledge transfer. By selectively distilling high-confidence predictions and aligning features with their corresponding spatial outputs, the proposed framework allows lightweight models to punch far above their weight class. Future work will explore integrating uncertainty directly into the Perspective-n-Point (PnP) solvers and combining this KD approach with further compression techniques like pruning and quantization.
Summary updated