Probabilistic Skip Connections for Deterministic Uncertainty Quantification in Deep Neural Networks

Felix Jimenez, Matthias KatzfussarXiv 2025 · DOI

Introduction

Deep neural networks (DNNs) have achieved remarkable success across various domains, yet they remain prone to overconfidence, often assigning high probability to incorrect predictions, especially when encountering out-of-distribution (OOD) data. This lack of reliable uncertainty quantification (UQ) poses significant risks in safety-critical applications. Traditional UQ methods, such as Bayesian Neural Networks or deep ensembles, provide high-quality estimates but are computationally prohibitive for many real-time applications.

Deterministic UQ aims to provide "single-pass" uncertainty estimates. However, standard architectures suffer from feature collapse: as information progresses through the network, the mapping becomes increasingly non-injective to satisfy the training objective. This process collapses distinct inputs into identical feature vectors, destroying the distance-awareness necessary for effective OOD detection.

The Probabilistic Skip Connection (PSC) Framework

To address these challenges without the need for expensive retraining or specialized constraints like Spectral Normalization (SN), this paper introduces Probabilistic Skip Connections (PSCs). The fundamental observation is that while the final layers of a pre-trained network may have collapsed, intermediate layers often retain the geometric properties—sensitivity and smoothness—required for robust UQ.

Overview of the PSC pipeline: from layer identification to probabilistic modeling.

The PSC method follows a three-step "retrofit" process:

  1. Layer Identification: The framework utilizes metrics from the study of "Neural Collapse," specifically $NC1$ (measuring within-class variance) and $NC4$ (measuring classifier convergence). These metrics help identify the "sweet spot"—an intermediate layer that maintains high classification accuracy while avoiding the feature collapse seen in later stages.
  2. Dimensionality Reduction: Intermediate features are typically high-dimensional. To manage computational complexity while preserving structural information, the authors employ Tucker Decomposition, a multi-way generalization of Principal Component Analysis (PCA).
  3. Probabilistic Modeling: A distance-aware probabilistic head, such as a Gaussian Mixture Model (GMM) or a Linear Model with a Laplace approximation, is attached to the selected intermediate layer. This head operates in parallel with the original network's final layers, providing real-time uncertainty estimates alongside standard predictions.

Insights on Neural Collapse and Spectral Normalization

A key contribution of this work is the re-evaluation of Spectral Normalization (SN), a common technique used to enforce bi-Lipschitz continuity and prevent feature collapse. The authors demonstrate that SN does not "cure" collapse but merely "delays" it, pushing the point of collapse further down the network.

Neural Collapse metrics (NC1 and NC4) comparing models with and without Spectral Normalization (SN).

As shown in the analysis of $NC1$ and $NC4$ metrics, standard networks already possess "well-behaved" layers suitable for UQ; they are simply located in the middle of the architecture rather than at the output. This insight justifies the "drop-in" nature of PSCs, allowing for the enhancement of existing, high-performing models like VGG or ResNet without altering their original weights.

Experimental Evaluation

The researchers validated PSCs across several benchmarks, including MNIST, CIFAR-10, and Dirty-MNIST.

  • OOD Detection: On the VGG-16 architecture, PSCs improved the OOD detection AUROC from 0.93 to a perfect 1.0, surpassing models specifically trained for UQ.
  • Calibration: The method significantly improved in-distribution calibration. For Wide-ResNet-28-10, the PSC approach achieved an Expected Calibration Error (ECE) of 0.005, a fourfold improvement over models retrained with Spectral Normalization (0.022).
  • Uncertainty Disentanglement: Using the Dirty-MNIST benchmark, PSCs successfully separated aleatoric uncertainty (inherent data noise) from epistemic uncertainty (model ignorance), matching the performance of far more complex specialized architectures.

Conclusion

Probabilistic Skip Connections offer a principled, architecture-agnostic, and computationally efficient way to add uncertainty quantification to pre-trained deep learning models. By leveraging the latent geometric properties of intermediate layers, PSCs bypass the need for specialized training regimes, making high-quality deterministic UQ accessible for a wide range of production-ready models. Future work will explore extending this framework to regression tasks and more complex architectures like Vision Transformers.

Summary updated

BibTeX
@misc{jimenez2025probabilistic,
  author = {Felix Jimenez and Matthias Katzfuss},
  title = {{Probabilistic Skip Connections for Deterministic Uncertainty Quantification in Deep Neural Networks}},
  year = {2025},
  eprint = {2501.04816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.04816},
}
Figure