Lune

CVPR2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Cited by top-tier papers5

  1. CLEAR: Calibrated Learning for Epistemic and Aleatoric RiskIlia Azizi, Juraj Bodik, Jakob Heiss, Bin YuICLR 2026 · 9 citations
  2. Abstraction Alignment: Comparing Model-Learned and Human-Encoded Conceptual RelationshipsAngie W. Boggust, Hyemin Bang, Hendrik Strobelt, Arvind SatyanarayanCHI 2025 · 4 citations
  3. CUPID: A Plug-in Framework for Joint Aleatoric and Epistemic Uncertainty Estimation with a Single ModelXinran Xu, Xiuyi FanICLR 2026
  4. 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
  5. SPUR: Scale-Partitioned Uncertainty Rectification for Robust UAV-on-UAV InterceptionChenqi Yan, Zhaoyu Zeng, Yifeng Yang, Jundong Zhou et al.ICML 2026

Builds on8

  1. On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
  2. Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU NetworksAgustinus Kristiadi, Matthias Hein, Philipp HennigICML 2020 · 344 citations
  3. Cyclical Stochastic Gradient MCMC for Bayesian Deep LearningRuqi Zhang, Chunyuan Li, Jianyi Zhang, Changyou Chen et al.ICLR 2020 · 292 citations
  4. Bayesian Deep Learning via Subnetwork InferenceErik A. Daxberger, Eric T. Nalisnick, James Urquhart Allingham, Javier Antorán et al.ICML 2021 · 108 citations
  5. On the Practicality of Deterministic Epistemic UncertaintyJanis Postels, Mattia Segù, Tao Sun, Luca Daniel Sieber et al.ICML 2022 · 76 citations

Related papers

  1. 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
  2. Uncertainty-Aware Deep Classifiers Using Generative ModelsMurat Sensoy, Lance M. Kaplan, Federico Cerutti, Maryam SalekiAAAI 2020 · 88 citations
  3. UQGAN: A Unified Model for Uncertainty Quantification of Deep Classifiers trained via Conditional GANsPhilipp Oberdiek, Gernot A. Fink, Matthias RottmannNeurIPS 2022 · 30 citations
  4. Evidential Turing ProcessesMelih Kandemir, Abdullah Akgül, Manuel Haußmann, Gozde UnalICLR 2022 · 10 citations
  5. Neural BootstrapperMinsuk Shin, Hyungjoo Cho, Hyun-seok Min, Sungbin LimNeurIPS 2021 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines