Epistemic Uncertainty Quantification for Pretrained Neural Networks
Hanjing Wang, Qiang Ji
Abstract
Epistemic uncertainty quantification (UQ) identifies where models lack knowledge. Traditional UQ methods, often based on Bayesian neural networks, are not suitable for pretrained non-Bayesian models. Our study addresses quantifying epistemic uncertainty for any pretrained model, which does not need the original training data or model modifications and can ensure broad ap-plicability regardless of network architectures or training techniques. Specifically, we propose a gradient-based approach to assess epistemic uncertainty, analyzing the gradients of outputs relative to model parameters, and thereby indicating necessary model adjustments to accurately represent the inputs. We first explore theoretical guarantees of gradient-based methods for epistemic UQ, questioning the view that this uncertainty is only calculable through differences between multiple models. We further improve gradient-driven UQ by using class-specific weights for integrating gradients and emphasizing distinct contributions from neural network layers. Additionally, we enhance UQ accuracy by combining gradient and perturbation methods to refine the gradients. We evaluate our approach on out-of-distribution detection, uncertainty calibration, and active learning, demonstrating its superiority over current state-of-the-art UQ methods for pretrained models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 22ab9344-6d43-472e-adb2-ab420c40de70Cited by top-tier papers5
- CLEAR: Calibrated Learning for Epistemic and Aleatoric RiskIlia Azizi, Juraj Bodik, Jakob Heiss, Bin YuICLR 2026 · 9 citations
- Abstraction Alignment: Comparing Model-Learned and Human-Encoded Conceptual RelationshipsAngie W. Boggust, Hyemin Bang, Hendrik Strobelt, Arvind SatyanarayanCHI 2025 · 4 citations
- CUPID: A Plug-in Framework for Joint Aleatoric and Epistemic Uncertainty Estimation with a Single ModelXinran Xu, Xiuyi FanICLR 2026
- Gradients with Respect to Semantics Preserving Embeddings Tell the Uncertainty of Large Language ModelMingda Li, Rundong Lv, Xinyu Li, Weinan Zhang et al.ICML 2026
- SPUR: Scale-Partitioned Uncertainty Rectification for Robust UAV-on-UAV InterceptionChenqi Yan, Zhaoyu Zeng, Yifeng Yang, Jundong Zhou et al.ICML 2026
Builds on8
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
- Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU NetworksAgustinus Kristiadi, Matthias Hein, Philipp HennigICML 2020 · 344 citations
- Cyclical Stochastic Gradient MCMC for Bayesian Deep LearningRuqi Zhang, Chunyuan Li, Jianyi Zhang, Changyou Chen et al.ICLR 2020 · 292 citations
- Bayesian Deep Learning via Subnetwork InferenceErik A. Daxberger, Eric T. Nalisnick, James Urquhart Allingham, Javier Antorán et al.ICML 2021 · 108 citations
- On the Practicality of Deterministic Epistemic UncertaintyJanis Postels, Mattia Segù, Tao Sun, Luca Daniel Sieber et al.ICML 2022 · 76 citations
Related papers
- Are Uncertainty Quantification Capabilities of Evidential Deep Learning a Mirage?Maohao Shen, Jongha Jon Ryu, Soumya Ghosh, Yuheng Bu et al.NeurIPS 2024 · 29 citations
- Uncertainty-Aware Deep Classifiers Using Generative ModelsMurat Sensoy, Lance M. Kaplan, Federico Cerutti, Maryam SalekiAAAI 2020 · 88 citations
- UQGAN: A Unified Model for Uncertainty Quantification of Deep Classifiers trained via Conditional GANsPhilipp Oberdiek, Gernot A. Fink, Matthias RottmannNeurIPS 2022 · 30 citations
- Evidential Turing ProcessesMelih Kandemir, Abdullah Akgül, Manuel Haußmann, Gozde UnalICLR 2022 · 10 citations
- Neural BootstrapperMinsuk Shin, Hyungjoo Cho, Hyun-seok Min, Sungbin LimNeurIPS 2021 · 10 citations
