Uncertainty Quantification via Stable Distribution Propagation

Felix Petersen, Aashwin Ananda Mishra, Hilde Kuehne, Christian Borgelt, Oliver Deussen, Mikhail Yurochkin

Abstract

Neural networks often exhibit overconfidence, making them unreliable in safety-critical applications. This paper introduces Stable Distribution Propagation (SDP), a method for analytically propagating input uncertainty—modeled as Gaussian or Cauchy distributions—through non-linear neural layers. By utilizing local linearization, which is theoretically optimal for ReLU activations in terms of Total Variation distance, SDP provides fast and calibrated uncertainty estimates. Experimental results across regression and classification tasks demonstrate that SDP outperforms traditional moment-matching techniques and enhances robustness to out-of-distribution data.

Introduction

Standard neural networks provide point estimates that lack a measure of predictive uncertainty. In domains like autonomous driving or medical diagnostics, distinguishing between certain and uncertain predictions is vital. Uncertainty typically arises from model weights (epistemic) or input noise (aleatoric). SDP focuses on the latter, addressing the challenge of how input noise propagates through complex non-linear transformations.

Existing methods like Monte Carlo sampling are computationally prohibitive, while analytical moment-matching often suffers from "mean shift" in deep architectures and cannot handle heavy-tailed distributions like Cauchy noise. SDP addresses these limitations by providing a stable, efficient, and theoretically grounded propagation mechanism.

Methodology: Stable Distribution Propagation

The core of SDP is the treatment of input as a distribution $x + \epsilon$, where $\epsilon$ follows a stable distribution.

Local Linearization and ReLU Optimality

Instead of complex integral approximations for non-linearities, SDP employs local linearization. The authors prove that for ReLU activations, local linearization at the mean is the optimal approximation for minimizing the Total Variation (TV) distance between the true and approximated probability densities.

Comparison of Moment Matching and SDP (ours) for propagating a distribution through a ReLU.

As shown in Figure 2, traditional moment matching (a, b) often shifts the mean of the distribution to account for the non-linearity. In deep networks, these shifts accumulate, leading to significant drift. SDP (c, d) maintains the location fixed to the standard forward pass, resulting in a more robust approximation.

Scale Propagation and Loss Functions

SDP propagates the distribution's "scale" (e.g., covariance for Gaussians) using the network's Jacobian: $\Sigma_y = J(f) \Sigma J(f)^\top$. This accounts for inter-neuron correlations efficiently. For classification, the authors introduce a Pairwise Distribution Loss, which optimizes the exact probability that the correct class score exceeds all others under the propagated distribution, rather than relying on the overconfident softmax surrogate.

Experimental Results

The authors evaluated SDP on various benchmarks, including Iris, UCI regression datasets, and MNIST/CIFAR-10 for selective prediction and robustness.

Selective Prediction and OOD Detection

A key test for uncertainty quantification is selective prediction: the ability of a model to "abstain" from predicting when uncertainty is high. On MNIST vs. EMNIST (out-of-distribution) tasks, SDP variants showed superior performance.

Risk-coverage curves for selective prediction, comparing SDP variants against baselines.

Figure 4 illustrates the risk-coverage trade-off. SDP combined with Cauchy distributions achieved the best Risk-Coverage Area Under the Curve (18.3%), significantly outperforming standard Softmax Entropy (21.4%). This indicates that SDP-trained models are better at identifying data they have not seen before.

Calibration and Robustness

In UCI regression tasks, SDP produced the narrowest 95% confidence intervals while maintaining coverage. Furthermore, models trained with SDP demonstrated increased resilience to both random Gaussian noise and adversarial PGD attacks.

Conclusion and Future Work

SDP offers a principled and efficient approach to input uncertainty propagation. By proving the optimality of local linearization for ReLU units and enabling Cauchy distribution support, it bridges the gap between theoretical rigor and practical scalability. While computing Jacobians adds some overhead, the gains in calibration and out-of-distribution detection make it a compelling choice for safety-critical AI. Future work includes extending SDP to larger datasets like ImageNet and integrating it with Bayesian frameworks for comprehensive uncertainty modeling.

Summary updated

BibTeX
@inproceedings{petersen2024uncertainty,
  author = {Felix Petersen and Aashwin Ananda Mishra and Hilde Kuehne and Christian Borgelt and Oliver Deussen and Mikhail Yurochkin},
  title = {{Uncertainty Quantification via Stable Distribution Propagation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=cZttUMTiPL},
}
Figure