Asymptotic Properties for Bayesian Neural Network in Besov Space

Kyeongwon Lee, Jaeyong Lee

Executive Summary

This paper demonstrates that Bayesian Neural Networks (BNNs) are not merely effective tools for estimating uncertainty—they are theoretically optimal engines for learning complex, non-smooth functions. By analyzing BNNs within the framework of Besov spaces, the authors prove that both sparse (spike-and-slab) and continuous (shrinkage) priors allow these models to achieve near minimax optimal convergence rates. Crucially, this optimality holds even when the underlying smoothness of the data is unknown.

The Challenge: Moving Beyond Smooth Data

In deep learning theory, a fundamental question is determining a model's "convergence rate"—how rapidly its performance improves as it is exposed to more data. Historically, most proofs of optimality for BNNs have assumed that data originates from a Hölder space, which essentially presumes the underlying functions are relatively "smooth."

However, real-world data modalities, such as images and natural language, are rarely perfectly smooth. They feature sharp edges, sudden transitions, and varying levels of spatial complexity. Besov spaces offer a much broader mathematical category capable of describing these "jagged" or spatially inhomogeneous features.

While frequentist researchers have previously shown that standard neural networks can optimally handle Besov spaces, the Bayesian equivalent of this proof has been notably absent. This paper bridges that gap, providing a rigorous asymptotic justification for using BNNs on complex, real-world tasks.

Methodology: Priors and Posterior Consistency

The authors evaluate the model's posterior consistency—the mathematical guarantee that as the sample size grows, the model's "belief" concentrates accurately on the true function. They investigate two primary types of prior distributions:

  1. Spike-and-Slab Priors: A discrete mixture where weights are either exactly zero (the "spike") or drawn from a broad distribution (the "slab"). This enforces strict sparsity, which is theoretically powerful but computationally demanding due to the need to jump between different model dimensions during inference.
  2. Shrinkage Priors: A continuous alternative (such as Gaussian mixtures) that "shrinks" less important weights toward zero without forcing them to be exactly zero. These are significantly easier to implement using standard Markov Chain Monte Carlo (MCMC) or Variational Inference techniques.

The core mathematical proofs demonstrate that if the network's depth, width, and sparsity are scaled correctly relative to the number of samples ($n$), the BNN achieves the minimax optimal convergence rate.

Datasets and Synthetic Evaluation

As a foundational theoretical work, the paper bypasses standard empirical benchmarks like ImageNet in favor of four specific synthetic functions ($f_1$ through $f_4$). These serve as "torture tests" for Besov space performance:

  • $f_1$ (Cantor function): A "staircase" function that is continuous but has a derivative of zero almost everywhere.
  • $f_2$: A function featuring a logarithmic singularity.
  • $f_3$ (Blocks): A spatially variable function characterized by numerous sharp jumps.
  • $f_4$ (HeaviSine): A standard sine wave disrupted by added discontinuities.
Synthetic functions used as "torture tests" for Besov space performance.

These functions perfectly encapsulate the types of "non-smoothness" that Besov spaces model and that standard smooth-function theories fail to adequately address.

Key Insights and Results

Built-In Adaptivity

One of the most compelling findings is the inherent "adaptivity" of BNNs. Practitioners do not need to know the exact smoothness parameter ($s$) of their data beforehand. By placing a prior on the network architecture itself, the BNN naturally converges on the optimal complexity.

Shrinkage Equivalency

For applied practitioners, a major takeaway is that shrinkage priors achieve the exact same optimal convergence rates as spike-and-slab priors. This proves that theoretical optimality does not have to be sacrificed for computational feasibility.

Beating Linear Estimators

The authors highlight that for certain jagged functions (specifically where $p < 2$ in the Besov space), any linear estimator is mathematically doomed to be sub-optimal. Because neural networks are inherently non-linear, they are fundamentally better suited for these complex spaces.

Convergence Rate

The authors rigorously prove that the posterior distribution concentrates at a rate of: $$\epsilon_n = n^{-s/(2s+d)} (\log n)^{3/2}$$ where $s$ represents smoothness and $d$ represents dimension. This matches the near-minimax optimal rate.

Numerical simulations back this up, providing specific hyperparameter configurations that dictate how a BNN's width and weight scales must evolve as the sample size $n$ grows. For instance, to estimate the Cantor function optimally at $n=10,000$, the theory dictates a network with 45 layers and nearly 3,000 neurons.

Limitations and Future Work

  • Stringent Conditions: The theoretical conditions required to guarantee this optimality are strict. Replicating them perfectly in a standard "out-of-the-box" PyTorch model requires highly careful hyperparameter tuning.
  • Architectural Scope: The current proofs are limited to fully connected ReLU networks. Extending this theoretical framework to modern architectures like Transformers or Convolutional Neural Networks (CNNs) remains an open challenge for the field.
  • Computational Overhead: While shrinkage priors are more feasible than spike-and-slab approaches, performing full Bayesian inference on massive models still carries a significant computational overhead compared to simple point-estimation methods like Stochastic Gradient Descent (SGD).

Summary updated

BibTeX
@inproceedings{lee2022asymptotic,
  author = {Kyeongwon Lee and Jaeyong Lee},
  title = {{Asymptotic Properties for Bayesian Neural Network in Besov Space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=y5ziOXtKybL},
}
Figure