Uncertainty Quantification for Sparse Deep Learning

Yuexi Wang, Veronika RockováAISTATS 2020

Abstract

Deep learning models are often criticized for being "black boxes" with unreliable uncertainty estimates. This paper establishes a rigorous theoretical foundation for Uncertainty Quantification (UQ) in sparse deep ReLU networks within a Bayesian framework. By proving the Bernstein-von Mises (BvM) theorem for specific functionals of the model, the authors demonstrate that Bayesian credible sets can serve as valid frequentist confidence intervals. This work bridges the gap between Bayesian deep learning and classical statistical guarantees, providing near-minimax optimal convergence rates and adaptivity to unknown function smoothness.

Introduction

Deep learning has achieved remarkable success in predictive tasks, yet its application in safety-critical domains—such as medicine or autonomous driving—is limited by a lack of reliable uncertainty measures. In these fields, knowing the confidence level of a prediction is as vital as the prediction itself.

While Bayesian Deep Learning (BDL) provides a framework for uncertainty by placing probability distributions over network parameters, it has historically lacked the theoretical guarantees provided by the Bernstein-von Mises (BvM) theorem. In classical statistics, the BvM theorem ensures that as the sample size increases, the posterior distribution becomes Gaussian and centers on the true parameter value. Without this proof for deep networks, researchers could not be certain that a "95% credible interval" actually covered the true value with 95% frequency. This paper addresses this gap for sparse, non-parametric regression.

Methods

The authors focus on Sparse Deep ReLU Networks within a non-parametric regression framework, employing several key components to ensure theoretical consistency:

  • Spike-and-Slab Priors (SS-DL): A hierarchical Bayesian prior is used to encourage sparsity. This approach effectively selects necessary neurons and connections, preventing overfitting while maintaining the network's high representational power.
  • Semi-parametric Functionals: Rather than attempting to prove the BvM limit for the entire infinite-dimensional function space, the authors examine low-dimensional summaries, or "functionals." These include linear functionals (for average regression surfaces) and quadratic functionals (for constructing confidence balls and hypothesis testing).
  • The "Top Layer" Trick: The authors utilize a change-of-measure technique where the deep layers of the ReLU network are viewed as creating a complex, data-driven partition of the input space. Statistical inference is then primarily performed on the final linear layer.
A deep ReLU network partitions the input space into a complex set of convex regions ($Ω_i$), allowing for flexible non-parametric regression.

As a theoretical study, the evaluation relies on mathematical derivations (Theorems 3.1, 3.2, and 4.1) and conceptual visualizations. These visualizations illustrate how ReLU networks partition a 2D predictor space into many convex regions (shards), offering significantly more geometric flexibility than traditional tree-based models.

The local linear structure of the ReLU network within each partitioned region, defined by coefficients β̃_i and α̃_i.

Key Insights and Results

Bridging Bayesian and Frequentist UQ

The core contribution of this work is the proof that the Bayesian posterior for these networks is "frequentist calibrated." This means the subjective uncertainty reported by the model aligns with the objective variability of the data. The authors formally prove Asymptotic Normality: for both linear and quadratic functionals, the posterior distribution converges to a Gaussian distribution centered at an efficient estimator.

Adaptivity and Optimality

The model demonstrates remarkable adaptivity to smoothness. The hierarchical prior allows the network to discover the optimal complexity of the underlying true function without prior knowledge of its smoothness (α). Furthermore, the authors show that sparse deep ReLU networks achieve near-minimax optimal rates of posterior contraction, meaning the model learns the truth as efficiently as theoretically possible.

Conclusion and Future Work

This research provides a theoretical "green light" for using deep ReLU architectures in formal statistical inference. However, several challenges remain. The current results apply to specific functionals rather than the entire function $f_0$ (global UQ). Additionally, while the spike-and-slab prior is theoretically robust, its computational complexity makes it difficult to scale to massive networks. Future work may bridge the gap between these exact theoretical Bayesian methods and the approximate methods (like Variational Bayes) used in practice, as well as expanding results to handle functions with lower smoothness constraints.

Summary updated

BibTeX
@inproceedings{wang2020uncertainty,
  author = {Yuexi Wang and Veronika Rocková},
  title = {{Uncertainty Quantification for Sparse Deep Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure