Introduction
Standard deep learning models are essentially "point estimate" machines. They output a single value—such as a class label or a pixel coordinate—without any measure of confidence. This deterministic nature leads to two critical vulnerabilities: overconfidence in incorrect predictions and susceptibility to adversarial attacks. While Bayesian Neural Networks (BNNs) address these issues by treating weights as distributions, their high computational cost due to sampling makes them impractical for many real-time applications. This paper introduces two "lightweight" methods to bring uncertainty estimation to deep learning with minimal overhead.
Methods: ProbOut and ADF
The authors propose two levels of probabilistic integration that allow networks to estimate uncertainty in a single forward pass, avoiding the need for expensive sampling.
- ProbOut (Probabilistic Output Layers): This minimal-change approach modifies only the final layer of a standard network to output the parameters of a distribution (e.g., mean and variance for regression, or Dirichlet parameters for classification).
- ADF (Assumed Density Filtering): This deeper integration treats every activation in the network as a distribution (typically Gaussian). The authors derive closed-form expressions to propagate mean and variance through common layers like ReLU and Convolutions, allowing uncertainty to flow through the entire architecture.
Training these models utilizes Maximum Conditional Likelihood Estimation (MCLE). This objective forces the network to minimize prediction error while ensuring that its predicted uncertainty correlates with actual empirical error.
Key Insights and Results
Uncertainty as a Feature
The predicted uncertainty maps, particularly in regression tasks like optical flow, show a high correlation with actual errors. As seen in the experimental results, the network effectively "knows" it is struggling at object boundaries or in occluded regions.
The Dirichlet Advantage and Robustness
For classification, replacing the standard Softmax with a Dirichlet layer allows the model to represent total ignorance ("I've never seen this before") rather than just relative class probabilities. This architectural shift significantly improves adversarial robustness. On CIFAR10, under an FGSM attack ($\epsilon=0.01$), the probabilistic model maintained ~66% accuracy, while the deterministic baseline dropped to ~46%.
Performance and Speed
Probabilistic versions maintained or slightly exceeded the accuracy of their deterministic counterparts. For example, FlowNetADF showed a 4% improvement on the Sintel clean dataset. While ADF is roughly 3x slower than a standard network due to tracking variances, it remains orders of magnitude faster than sampling-based Bayesian methods.
Limitations and Future Work
Despite being "lightweight," ADF still triples computation time and doubles memory requirements for activations. Furthermore, it relies on a Gaussian assumption for activations which may not capture complex, multi-modal distributions in very deep networks. Future work may explore combining this approach with weight uncertainty to capture both aleatoric and epistemic uncertainty efficiently.
Summary updated