[Paper Review] Trust Your Robots! Predictive Uncertainty Estimation of Neural Networks with Sparse Gaussian Processes
This paper proposes a scalable, efficient method for estimating predictive uncertainty in deep neural networks (DNNs) by modeling them as a mixture of Gaussian process experts (MoE-GP) using sparse Gaussian processes. It theoretically links DNNs to MoE-GPs with neural tangent kernel (NTK) and demonstrates real-time uncertainty estimation on a Jetson TX2, outperforming MC-dropout by 12× in speed while maintaining reliable uncertainty on robotic tasks including inverse dynamics and object detection.
This paper presents a probabilistic framework to obtain both reliable and fast uncertainty estimates for predictions with Deep Neural Networks (DNNs). Our main contribution is a practical and principled combination of DNNs with sparse Gaussian Processes (GPs). We prove theoretically that DNNs can be seen as a special case of sparse GPs, namely mixtures of GP experts (MoE-GP), and we devise a learning algorithm that brings the derived theory into practice. In experiments from two different robotic tasks -- inverse dynamics of a manipulator and object detection on a micro-aerial vehicle (MAV) -- we show the effectiveness of our approach in terms of predictive uncertainty, improved scalability, and run-time efficiency on a Jetson TX2. We thus argue that our approach can pave the way towards reliable and fast robot learning systems with uncertainty awareness.
Motivation & Objective
- To address the lack of reliable and efficient uncertainty estimation in deep neural networks for real-time robotic systems.
- To bridge the theoretical gap between deep neural networks and Gaussian processes by showing DNNs as a special case of MoE-GPs.
- To develop a practical learning algorithm that enables real-time uncertainty estimation without ensembling or sampling.
- To validate the method on real robotic hardware, including a micro-aerial vehicle (MAV), under real-world conditions with out-of-distribution data.
- To demonstrate scalability to large datasets (up to 2 million points) and support for distributed training.
Proposed method
- The method models DNNs as a mixture of Gaussian process experts (MoE-GP), where each expert is a local GP and the gating function partitions the input space into regions.
- It uses the neural tangent kernel (NTK) as the kernel function in the GP experts, enabling a theoretical connection between DNNs and GPs.
- A patchwork prior is introduced to reduce discontinuities at the boundaries between local GP experts, improving smoothness and generalization.
- The learning algorithm employs clustering in kernel space to assign inputs to experts, ensuring strict partitioning and computational efficiency.
- Active learning and model compression are applied to further enhance run-time efficiency and reduce memory usage.
- The framework supports distributed training due to its local, sparse structure, enabling scalability to large datasets.
Experimental results
Research questions
- RQ1Can deep neural networks be formally connected to sparse Gaussian processes, specifically as a mixture of GP experts?
- RQ2Can this theoretical connection be leveraged to create a practical, efficient, and reliable uncertainty estimation method for DNNs in robotics?
- RQ3How does the proposed method compare in speed and uncertainty quality to existing sampling-based and weight-space methods like MC-dropout and rLaplace?
- RQ4Can the method scale to large datasets (e.g., 2 million points) and support distributed training for real-world robotic applications?
- RQ5Can the method effectively detect out-of-distribution samples and maintain high performance on embedded hardware like the Jetson TX2?
Key findings
- The method achieves a 12× speedup over MC-dropout with 20 samples on a Jetson TX2, enabling real-time uncertainty estimation on a micro-aerial vehicle (MAV).
- The approach successfully scales to approximately 2 million data points (KUKA SIM dataset) and trains within 8 hours using 6 GPUs, demonstrating strong scalability.
- On the MAV, the method clearly separates out-of-distribution samples in object detection, showing improved novelty detection compared to deterministic DNNs.
- The uncertainty estimates are more reliable than those from MC-dropout and rLaplace, particularly in function space inference, validating the superiority of GP-based uncertainty.
- The patchwork prior effectively reduces boundary discontinuities between local GP experts, improving smoothness and predictive performance.
- The method maintains high predictive accuracy while providing calibrated uncertainty, making it suitable for safety-critical robotic introspection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.