Not Just How Much, But Where: Decomposing Epistemic Uncertainty into Per-Class Contributions

Mame Diarra Toure, David A. Stephens
Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence, PMLR 337:6767-6806, 2026.

Abstract

In safety-critical classification, the cost of failure is often asymmetric. Yet {Bayesian} deep learning summarises epistemic uncertainty with a single scalar, mutual information (MI), which cannot distinguish whether a model’s ignorance involves a benign or safety-critical class. We decompose MI into a per-class vector $\mathcal{C}_k(x)=\sigma_k^{2}/(2\mu_k)$, with $\mu_k = \mathbb{E}[p_k]$ and $\sigma_k^2 = \mathrm{Var}[p_k]$ across posterior samples. The decomposition follows from a second-order {Taylor} expansion of the entropy; the $1/\mu_k$ weighting corrects boundary suppression and makes $\mathcal{C}_k$ comparable across rare and common classes. By construction $\sum_k \mathcal{C}_k \approx \mathrm{MI}$, and a companion skewness diagnostic flags inputs where the approximation degrades. After characterising the axiomatic properties of $\mathcal{C}_k$, we validate it on three tasks: (i) selective prediction for diabetic retinopathy, where critical-class $\mathcal{C}_k$ reduces selective risk by 34.7% over MI and 56.2% over variance baselines; (ii) out-of-distribution detection on clinical and image benchmarks, where $\sum_k \mathcal{C}_k$ achieves the highest AUROC and the per-class view exposes asymmetric shifts invisible to MI; and (iii) a controlled label-noise study in which $\sum_k \mathcal{C}_k$ shows less sensitivity to injected aleatoric noise than MI under end-to-end {Bayesian} training, while both metrics degrade under transfer learning. Across all tasks, the quality of the posterior approximation shapes uncertainty at least as strongly as the choice of metric, suggesting that how uncertainty is propagated through the network matters as much as how it is measured.

Cite this Paper


BibTeX
@InProceedings{pmlr-v337-toure26a, title = {Not Just How Much, But Where: Decomposing Epistemic Uncertainty into Per-Class Contributions}, author = {Toure, Mame Diarra and Stephens, David A.}, booktitle = {Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence}, pages = {6767--6806}, year = {2026}, editor = {Perković, Emilija and Malinsky, Daniel}, volume = {337}, series = {Proceedings of Machine Learning Research}, month = {17--21 Aug}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v337/main/assets/toure26a/toure26a.pdf}, url = {https://proceedings.mlr.press/v337/toure26a.html}, abstract = {In safety-critical classification, the cost of failure is often asymmetric. Yet {Bayesian} deep learning summarises epistemic uncertainty with a single scalar, mutual information (MI), which cannot distinguish whether a model’s ignorance involves a benign or safety-critical class. We decompose MI into a per-class vector $\mathcal{C}_k(x)=\sigma_k^{2}/(2\mu_k)$, with $\mu_k = \mathbb{E}[p_k]$ and $\sigma_k^2 = \mathrm{Var}[p_k]$ across posterior samples. The decomposition follows from a second-order {Taylor} expansion of the entropy; the $1/\mu_k$ weighting corrects boundary suppression and makes $\mathcal{C}_k$ comparable across rare and common classes. By construction $\sum_k \mathcal{C}_k \approx \mathrm{MI}$, and a companion skewness diagnostic flags inputs where the approximation degrades. After characterising the axiomatic properties of $\mathcal{C}_k$, we validate it on three tasks: (i) selective prediction for diabetic retinopathy, where critical-class $\mathcal{C}_k$ reduces selective risk by 34.7% over MI and 56.2% over variance baselines; (ii) out-of-distribution detection on clinical and image benchmarks, where $\sum_k \mathcal{C}_k$ achieves the highest AUROC and the per-class view exposes asymmetric shifts invisible to MI; and (iii) a controlled label-noise study in which $\sum_k \mathcal{C}_k$ shows less sensitivity to injected aleatoric noise than MI under end-to-end {Bayesian} training, while both metrics degrade under transfer learning. Across all tasks, the quality of the posterior approximation shapes uncertainty at least as strongly as the choice of metric, suggesting that how uncertainty is propagated through the network matters as much as how it is measured.} }
Endnote
%0 Conference Paper %T Not Just How Much, But Where: Decomposing Epistemic Uncertainty into Per-Class Contributions %A Mame Diarra Toure %A David A. Stephens %B Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence %C Proceedings of Machine Learning Research %D 2026 %E Emilija Perković %E Daniel Malinsky %F pmlr-v337-toure26a %I PMLR %P 6767--6806 %U https://proceedings.mlr.press/v337/toure26a.html %V 337 %X In safety-critical classification, the cost of failure is often asymmetric. Yet {Bayesian} deep learning summarises epistemic uncertainty with a single scalar, mutual information (MI), which cannot distinguish whether a model’s ignorance involves a benign or safety-critical class. We decompose MI into a per-class vector $\mathcal{C}_k(x)=\sigma_k^{2}/(2\mu_k)$, with $\mu_k = \mathbb{E}[p_k]$ and $\sigma_k^2 = \mathrm{Var}[p_k]$ across posterior samples. The decomposition follows from a second-order {Taylor} expansion of the entropy; the $1/\mu_k$ weighting corrects boundary suppression and makes $\mathcal{C}_k$ comparable across rare and common classes. By construction $\sum_k \mathcal{C}_k \approx \mathrm{MI}$, and a companion skewness diagnostic flags inputs where the approximation degrades. After characterising the axiomatic properties of $\mathcal{C}_k$, we validate it on three tasks: (i) selective prediction for diabetic retinopathy, where critical-class $\mathcal{C}_k$ reduces selective risk by 34.7% over MI and 56.2% over variance baselines; (ii) out-of-distribution detection on clinical and image benchmarks, where $\sum_k \mathcal{C}_k$ achieves the highest AUROC and the per-class view exposes asymmetric shifts invisible to MI; and (iii) a controlled label-noise study in which $\sum_k \mathcal{C}_k$ shows less sensitivity to injected aleatoric noise than MI under end-to-end {Bayesian} training, while both metrics degrade under transfer learning. Across all tasks, the quality of the posterior approximation shapes uncertainty at least as strongly as the choice of metric, suggesting that how uncertainty is propagated through the network matters as much as how it is measured.
APA
Toure, M.D. & Stephens, D.A.. (2026). Not Just How Much, But Where: Decomposing Epistemic Uncertainty into Per-Class Contributions. Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence, in Proceedings of Machine Learning Research 337:6767-6806 Available from https://proceedings.mlr.press/v337/toure26a.html.

Related Material