Skip to main content
QUICK REVIEW

[Paper Review] Masked Bayesian Neural Networks : Theoretical Guarantee and its Posterior Inference

Insung Kong, Dong‐Yoon Yang|arXiv (Cornell University)|May 24, 2023
Fault Detection and Control SystemsEngineering4 citations
TL;DR

This paper proposes a masked Bayesian neural network (mBNN) that achieves near minimax optimal posterior concentration rates while adaptively selecting sparse architectures without prior knowledge of model smoothness. It introduces a novel MCMC algorithm with local informed proposals to enable efficient Bayesian inference, outperforming existing methods in generalization and uncertainty quantification on benchmark datasets.

ABSTRACT

Bayesian approaches for learning deep neural networks (BNN) have been received much attention and successfully applied to various applications. Particularly, BNNs have the merit of having better generalization ability as well as better uncertainty quantification. For the success of BNN, search an appropriate architecture of the neural networks is an important task, and various algorithms to find good sparse neural networks have been proposed. In this paper, we propose a new node-sparse BNN model which has good theoretical properties and is computationally feasible. We prove that the posterior concentration rate to the true model is near minimax optimal and adaptive to the smoothness of the true model. In particular the adaptiveness is the first of its kind for node-sparse BNNs. In addition, we develop a novel MCMC algorithm which makes the Bayesian inference of the node-sparse BNN model feasible in practice.

Motivation & Objective

  • To develop a node-sparse Bayesian neural network (BNN) model with strong theoretical properties for improved generalization and uncertainty quantification.
  • To establish near minimax optimal posterior concentration rates that adapt to the smoothness of the true model, a first for node-sparse BNNs.
  • To design a computationally feasible MCMC inference algorithm tailored for node-sparse BNNs, overcoming limitations of existing variational inference and MCMC methods.
  • To demonstrate the mBNN's effectiveness in compressing deep neural networks while preserving predictive uncertainty and performance.

Proposed method

  • Proposes a masked BNN (mBNN) model using a node-sparse prior with a spike-and-slab-like structure to induce sparsity at the hidden unit level.
  • Employs a novel Metropolis-Hastings MCMC algorithm with local informed proposal distributions for efficient exploration of sparse network architectures during posterior sampling.
  • Introduces a masked structure where each hidden unit is associated with a binary mask variable, enabling selective activation and pruning of entire nodes.
  • Uses a hierarchical prior with a global shrinkage parameter λ to control sparsity, allowing automatic architecture selection based on data complexity.
  • Applies the MCMC algorithm with a burn-in phase and thinning to generate posterior samples, ensuring convergence and reducing correlation.
  • Adapts the MH algorithm for mini-batch training using MHBT-style modifications to maintain correctness and convergence under stochastic gradients.

Experimental results

Research questions

  • RQ1Can a node-sparse BNN achieve near minimax optimal posterior concentration rates while being adaptive to the unknown smoothness of the true model?
  • RQ2Is it possible to design an efficient MCMC algorithm that enables practical Bayesian inference in node-sparse BNNs without relying on variational approximations?
  • RQ3How does the mBNN perform in terms of uncertainty quantification and generalization compared to standard BNNs and variational inference methods?
  • RQ4To what extent can the mBNN compress deep neural networks while maintaining predictive performance and uncertainty estimates?

Key findings

  • The mBNN achieves near minimax optimal posterior concentration rates that are adaptive to the smoothness of the true model, a first for node-sparse BNNs.
  • On UCI datasets, the mBNN with λ=0.1 achieves 93.3% coverage in 95% credible intervals (CI), RMSE of 2.902, and NLL of 2.472, outperforming NS-VI and standard BNNs.
  • On CIFAR-10, the mBNN achieves 93.3% test accuracy with only 3.82% of the original model’s FLOPs, demonstrating effective compression and high efficiency.
  • The mBNN maintains stable performance across different λ values, with sparsity levels proportional to λ, and shows robustness in both regression and classification tasks.
  • The proposed MCMC algorithm with MHBT compatibility enables accurate inference on mini-batches, preserving convergence and posterior quality.
  • The mBNN reduces the number of activated nodes significantly—e.g., from 1000 to 12 in Boston—without sacrificing predictive performance or uncertainty calibration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.