[Paper Review] Bayesian Optimization Meets Laplace Approximation for Robotic Introspection
This paper proposes a scalable Laplace Approximation (LA) framework enhanced with Bayesian Optimization (BO) to improve uncertainty calibration in deep neural networks for robotic introspection. By using BO to optimize regularization hyperparameters, the method reduces underfitting in LA's posterior approximation, achieving better calibration and accuracy than random search, with demonstrated success on ImageNet using DenseNet121.
In robotics, deep learning (DL) methods are used more and more widely, but their general inability to provide reliable confidence estimates will ultimately lead to fragile and unreliable systems. This impedes the potential deployments of DL methods for long-term autonomy. Therefore, in this paper we introduce a scalable Laplace Approximation (LA) technique to make Deep Neural Networks (DNNs) more introspective, i.e. to enable them to provide accurate assessments of their failure probability for unseen test data. In particular, we propose a novel Bayesian Optimization (BO) algorithm to mitigate their tendency of under-fitting the true weight posterior, so that both the calibration and the accuracy of the predictions can be simultaneously optimized. We demonstrate empirically that the proposed BO approach requires fewer iterations for this when compared to random search, and we show that the proposed framework can be scaled up to large datasets and architectures.
Motivation & Objective
- To address the lack of reliable confidence estimates in deep neural networks (DNNs), which hinders long-term autonomous robotic systems.
- To overcome the inherent underfitting problem of Laplace Approximation (LA) in DNNs, where the Gaussian posterior fails to capture asymmetric true weight posteriors.
- To develop a scalable, practical method for estimating model uncertainty in large-scale DNNs without requiring architectural changes like dropout layers.
- To improve the calibration and predictive accuracy of DNNs through hyperparameter optimization of LA regularization using Bayesian Optimization (BO).
Proposed method
- Applies Laplace Approximation (LA) to approximate the posterior distribution over DNN weights using a multivariate Gaussian centered at the maximum a posteriori (MAP) estimate.
- Uses the inverse of the Hessian matrix (curvature of the loss landscape) to define the covariance matrix of the Gaussian posterior, enabling uncertainty estimation.
- Employs Kronecker factorization to scale the Hessian computation to large DNNs, enabling efficient computation on modern architectures.
- Introduces a novel Bayesian Optimization (BO) framework to tune regularization hyperparameters that control the LA posterior, mitigating underfitting.
- Uses a probabilistic surrogate model (GP) to guide the search for optimal hyperparameters, focusing on high-value regions and avoiding costly underfitting areas.
- Treats each layer’s curvature separately by introducing layer-specific regularization, improving expressiveness in high-dimensional hyperparameter spaces.
Experimental results
Research questions
- RQ1Can Bayesian Optimization (BO) outperform random search in optimizing hyperparameters for Laplace Approximation (LA) in deep neural networks?
- RQ2Does the proposed LA-BO framework improve both predictive accuracy and calibration (measured by Expected Calibration Error, ECE) compared to standard DNNs and MC-dropout?
- RQ3Can the LA-BO framework be scaled to large-scale datasets like ImageNet and complex architectures such as DenseNet121?
- RQ4How does the method perform in high-dimensional hyperparameter spaces, such as when regularizing individual layers separately?
- RQ5To what extent does the LA-BO framework reduce overconfidence in uncertainty estimates, particularly in confidence bins like 0.6–0.7?
Key findings
- The proposed BO-based hyperparameter optimization for LA converges faster than random search, requiring fewer evaluations to achieve better calibration and accuracy.
- On CIFAR-10 with ResNet18, LA + BO achieved an Expected Calibration Error (ECE) of 0.17, significantly lower than the baseline ECE of 4.57 and LA + RS at 0.70.
- On ImageNet using DenseNet121, BO achieved a lower ECE than random search within the same 10-evaluation budget, with improved calibration in the 0.6–0.7 confidence bin.
- The method improved accuracy slightly (from 74.42% to ~74.5% on ImageNet) while drastically reducing mis-calibration, demonstrating marginalization over weights enhances performance.
- Even with a diagonal curvature approximation (not state-of-the-art), LA with BO significantly improved calibration, indicating robustness and practicality.
- The framework successfully scales to large models and datasets, proving viability for real-world robotic applications requiring introspective AI.
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.