[Paper Review] Deterministic Neural Networks with Inductive Biases Capture Epistemic and Aleatoric Uncertainty
This paper proposes a deterministic neural network with inductive biases that captures both epistemic and aleatoric uncertainty by combining feature-space density from Gaussian Discriminant Analysis with softmax entropy. It achieves state-of-the-art 98% AUROC on CIFAR-10 vs SVHN OoD detection without fine-tuning, outperforming Deep Ensembles and other single-forward-pass methods by reliably modeling uncertainty through structured inductive biases rather than ensemble averaging.
We show that a single softmax neural net with minimal changes can beat the uncertainty predictions of Deep Ensembles and other more complex single-forward-pass uncertainty approaches. Standard softmax neural nets suffer from feature collapse and extrapolate arbitrarily for OoD points. This results in arbitrary softmax entropies for OoD points which can have high entropy, low, or anything in between, thus cannot capture epistemic uncertainty reliably. We prove that this failure lies at the core of why Deep Ensemble Uncertainty works well. Instead of using softmax entropy, we show that with appropriate inductive biases softmax neural nets trained with maximum likelihood reliably capture epistemic uncertainty through their feature-space density. This density is obtained using simple Gaussian Discriminant Analysis, but it cannot represent aleatoric uncertainty reliably. We show that it is necessary to combine feature-space density with softmax entropy to disentangle uncertainties well. We evaluate the epistemic uncertainty quality on active learning and OoD detection, achieving SOTA ~98 AUROC on CIFAR-10 vs SVHN without fine-tuning on OoD data.
Motivation & Objective
- Address the failure of standard softmax networks to reliably model epistemic uncertainty due to feature collapse and arbitrary extrapolation on out-of-distribution (OoD) inputs.
- Identify that the success of Deep Ensemble uncertainty stems from implicit modeling of feature-space density, not softmax entropy alone.
- Develop a method that explicitly models feature-space density using Gaussian Discriminant Analysis to capture epistemic uncertainty in a single forward pass.
- Disentangle epistemic and aleatoric uncertainty by combining feature-space density with softmax entropy for improved uncertainty calibration.
- Achieve state-of-the-art performance in uncertainty estimation on active learning and OoD detection benchmarks without requiring OoD fine-tuning.
Proposed method
- Train a standard softmax neural network with maximum likelihood to preserve inductive biases that prevent feature collapse and enable stable feature-space density estimation.
- Estimate epistemic uncertainty using feature-space density derived from Gaussian Discriminant Analysis (GDA), which models class-conditional densities in the final hidden layer.
- Compute aleatoric uncertainty as the softmax entropy of the network’s final layer predictions.
- Combine the two uncertainty components—feature-space density and softmax entropy—into a unified uncertainty score to disentangle epistemic and aleatoric sources.
- Use the combined uncertainty score for active learning and OoD detection, avoiding the need for ensemble averaging or OoD fine-tuning.
- Leverage the fact that GDA-based density is robust to OoD inputs, while softmax entropy captures data uncertainty, enabling reliable uncertainty quantification.
Experimental results
Research questions
- RQ1Why do standard softmax networks fail to model epistemic uncertainty reliably, especially for OoD inputs?
- RQ2Can a single forward pass method outperform Deep Ensembles in uncertainty estimation by explicitly modeling feature-space density?
- RQ3How can epistemic and aleatoric uncertainty be effectively disentangled in a deterministic neural network without ensemble averaging?
- RQ4To what extent can Gaussian Discriminant Analysis improve uncertainty calibration in a standard neural network architecture?
- RQ5Can a deterministic network achieve state-of-the-art OoD detection performance without fine-tuning on OoD data?
Key findings
- Standard softmax networks fail to capture epistemic uncertainty reliably due to feature collapse and arbitrary extrapolation, leading to inconsistent softmax entropies on OoD inputs.
- The success of Deep Ensemble uncertainty is rooted in its implicit modeling of feature-space density, not in softmax entropy alone.
- Explicitly modeling feature-space density via Gaussian Discriminant Analysis enables reliable epistemic uncertainty estimation in a single forward pass.
- Combining feature-space density with softmax entropy effectively disentangles epistemic and aleatoric uncertainty, improving uncertainty calibration.
- The proposed method achieves 98% AUROC on CIFAR-10 vs SVHN OoD detection, setting a new state-of-the-art without any OoD fine-tuning.
- The method outperforms both Deep Ensembles and other single-forward-pass uncertainty approaches in active learning and OoD detection benchmarks.
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.