Posterior Concentration for Sparse Deep Learning

Veronika Rocková, Nicholas PolsonNeurIPS 2018

Introduction

While deep neural networks have achieved unprecedented empirical success, the process of selecting the "right" architecture—determining the optimal number of layers, nodes, and regularization—remains largely heuristic. From a theoretical standpoint, an optimal network size exists for any function with a specific degree of smoothness (e.g., an $\alpha$-Hölder smooth map). However, in real-world applications, the underlying smoothness of the data-generating process is rarely known in advance.

This paper bridges the gap between empirical practice and statistical theory by introducing a rigorous Bayesian foundation for deep learning. By focusing on sparsity and varying levels of data smoothness, the authors demonstrate how a Bayesian approach can automatically discover optimal network complexity while providing provable guarantees on learning rates.

Spike-and-Slab Deep Learning (SS-DL)

To address the challenge of architecture selection, the authors propose Spike-and-Slab Deep Learning (SS-DL), a fully Bayesian alternative to standard regularization techniques like dropout. The SS-DL framework is built on three core pillars:

  • The Spike-and-Slab Prior: Instead of standard weight decay, the model assigns a unique prior to every weight and bias in the network. This prior is a mixture of a "spike" (a Dirac delta mass exactly at zero) and a "slab" (a uniform distribution, typically bounded between -1 and 1). This mechanism effectively performs $L_0$ regularization, forcing many parameters to be exactly zero and naturally inducing a sparse network.
  • Hierarchical Complexity Priors: Rather than fixing the network width ($N$) and sparsity level ($s$) as hyperparameters, the authors place "complexity priors" on them. This allows the model to treat the architecture itself as a random variable that is inferred directly from the data.
  • Posterior Concentration: The mathematical crux of the paper is a proof demonstrating that as the sample size ($n$) increases, the "posterior distribution" (the model's updated belief after observing data) shrinks around the true underlying function at an optimal, mathematically precise speed.

Key Insights and Theoretical Guarantees

The SS-DL framework yields several profound insights into why deep networks generalize so well:

1. Tuning-Free Adaptivity

The most significant advantage of SS-DL is its adaptivity. Thanks to the hierarchical prior, the network effectively "learns" the smoothness of the input-output map. It dynamically adjusts its own effective depth and sparsity to match the data, removing the need for exhaustive hyperparameter tuning.

2. Near-Minimax Convergence

The authors mathematically prove that the posterior concentrates at the rate $\epsilon_n = n^{-\alpha/(2\alpha+p)}$ (up to logarithmic factors). In statistical learning theory, this represents the fastest possible convergence rate that any estimator can achieve for an $\alpha$-smooth function in $p$ dimensions. This finding provides strong theoretical justification for the use of ReLU activations, showing they are rate-optimal for reconstructing smooth functions.

3. Principled Sparsity and Overfitting Resistance

Unlike dropout—which acts as a heuristic by averaging over thinned networks with equal weights—the SS-DL approach weights different sparse architectures by their exact posterior probabilities. The data inherently decides which sub-networks are most likely. Furthermore, a key corollary in the paper proves that the model naturally resists overfitting: the posterior probability of utilizing more nodes or links than the optimal architecture strictly goes to zero as the sample size grows.

Empirical Validation

While the paper is primarily a theoretical contribution, the authors provide a simulated dataset to ground their claims. They generated 40,401 observations from a complex bivariate polynomial function: $f(x_1, x_2) = (x_1^2 x_2^2 - x_1^2 x_2 + 1)^2$.

In this benchmark, an 11-layer deep ReLU network was evaluated against a shallow network (1 hidden layer with 2048 units) and Random Forests. The deep SS-DL network achieved a validation Mean Squared Error (MSE) of 0.0112, dramatically outperforming the shallow network (MSE 0.09) and validating the theoretical claim that deep networks are exponentially more efficient for compositional functions.

Limitations and Future Directions

Despite its strong theoretical guarantees, the SS-DL framework has practical limitations:

  • Computational Burden: Calculating the exact Bayesian posterior for spike-and-slab models is notoriously expensive. The authors suggest using Expectation-Maximization (EM) or weighted Bayesian bootstraps as practical approximations, though the theoretical guarantees strictly apply to the exact posterior.
  • Bounded Parameters: The current proofs assume that network weights are strictly bounded (e.g., within $[-1, 1]$). This assumption diverges from standard unconstrained Stochastic Gradient Descent (SGD) practices.
  • Activation Specificity: The optimal rate proofs rely heavily on the specific mathematical properties of the ReLU activation function. Future research is needed to extend these guarantees to other modern activations like SELU or Swish.

Conclusion

By introducing Spike-and-Slab Deep Learning, this paper provides a compelling theoretical framework that explains the success of deep, sparse networks. It proves that Bayesian deep learning can automatically adapt to unknown data smoothness, achieve optimal convergence rates, and naturally resist overfitting, offering a rigorous foundation for the future of neural network design.

Summary updated

BibTeX
@inproceedings{rockova2018posterior,
  author = {Veronika Rocková and Nicholas Polson},
  title = {{Posterior Concentration for Sparse Deep Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure