Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Make Me a BNN: A Simple Strategy for Estimating Bayesian Uncertainty from Pre-trained Models

About

Deep Neural Networks (DNNs) are powerful tools for various computer vision tasks, yet they often struggle with reliable uncertainty quantification - a critical requirement for real-world applications. Bayesian Neural Networks (BNN) are equipped for uncertainty estimation but cannot scale to large DNNs that are highly unstable to train. To address this challenge, we introduce the Adaptable Bayesian Neural Network (ABNN), a simple and scalable strategy to seamlessly transform DNNs into BNNs in a post-hoc manner with minimal computational and training overheads. ABNN preserves the main predictive properties of DNNs while enhancing their uncertainty quantification abilities through simple BNN adaptation layers (attached to normalization layers) and a few fine-tuning steps on pre-trained models. We conduct extensive experiments across multiple datasets for image classification and semantic segmentation tasks, and our results demonstrate that ABNN achieves state-of-the-art performance without the computational budget typically associated with ensemble methods.

Gianni Franchi, Olivier Laurent, Maxence Legu\'ery, Andrei Bursuc, Andrea Pilzer, Angela Yao• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)
Accuracy95.4
3381
Image ClassificationCIFAR-100 (test)
Accuracy80.4
14
Semantic segmentationStreetHazards (test)
mIoU55.82
14
Semantic segmentationBDD-Anomaly (test)
mIoU48.76
14
Image ClassificationImageNet
Accuracy0.806
10
Adversarial Attack DetectionMNIST L2PGD attack
Adversarial Coverage24.35
9
Out-of-Distribution DetectionMNIST to FashionMNIST
OOD Coverage18.23
9
Image ClassificationMNIST
ID Accuracy99.78
9
Binary SegmentationBinary Segmentation
AAC15.53
7
Multiclass SegmentationMulticlass Segmentation
AAC27.74
7
Showing 10 of 11 rows

Other info

Follow for update