• Home
  • Search
  • Bayesian Neural Networks via MCMC: A Python-Based Tutorial
  • Cite Icon32
  • https://doi.org/10.1109/access.2024.3401234Copy DOI Icon

Bayesian Neural Networks via MCMC: A Python-Based Tutorial

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Bayesian inference provides a methodology for parameter estimation and uncertainty quantification in machine learning and deep learning methods. Variational inference and Markov Chain Monte-Carlo (MCMC) sampling methods are used to implement Bayesian inference. In the past three decades, MCMC sampling methods have faced some challenges in being adapted to larger models (such as in deep learning) and big data problems. Advanced proposal distributions that incorporate gradients, such as a Langevin proposal distribution, provide a means to address some of the limitations of MCMC sampling for Bayesian neural networks. Furthermore, MCMC methods have typically been constrained to statisticians and currently not well-known among deep learning researchers. We present a tutorial for MCMC methods that covers simple Bayesian linear and logistic models, and Bayesian neural networks. The aim of this tutorial is to bridge the gap between theory and implementation via coding, given a general sparsity of libraries and tutorials to this end. This tutorial provides code in Python with data and instructions that enable their use and extension. We provide results for some benchmark problems showing the strengths and weaknesses of implementing the respective Bayesian models via MCMC. We highlight the challenges in sampling multi-modal posterior distributions for the case of Bayesian neural networks and the need for further improvement of convergence diagnosis methods.

Similar Papers
  • Conference Article

Variational level set segmentation for forest based on MCMC sampling

  • Nov 08, 2014
  • Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE
  • Tie-Jun Yang +3
  • Conference Article
  • Citations1

Partial Logistic Artificial Neural Network with automatic relevance determination and Markov Chain Monte Carlo methods applied in medical survival studies

  • Oct 01, 2016
  • Corneliu Arsene
  • PDF
  • Research Article
  • Citations25

Neural Langevin Dynamical Sampling

  • Jan 01, 2020
  • IEEE Access
  • Minghao Gu +1
  • PDF
  • Research Article
  • Citations15

Inference of regulatory networks with a convergence improved MCMC sampler

  • Sep 24, 2015
  • BMC Bioinformatics
  • Nilzair B Agostinho +2
  • Research Article
  • Citations8

Markov Chain Monte Carlo versus Importance Sampling in Bayesian Inference of the GARCH Model

  • Jan 01, 2013
  • Procedia Computer Science
  • Tetsuya Takaishi
  • PDF
  • Research Article
  • Citations2

Research on an Optimized Evaluation Method of the Bearing Capacity of Reinforced Concrete Beam Based on the Bayesian Theory

  • Mar 21, 2023
  • Materials
  • Lifeng Wang +4
  • Research Article
  • Citations1

Bayesian Analysis of Multivariate Longitudinal Ordinal Data Using Multiple Multivariate Probit Models

  • Mar 28, 2023
  • American Journal of Theoretical and Applied Statistics
  • Xiao Zhang
  • Research Article
  • Citations12

Bayesian neuroevolution using distributed swarm optimization and tempered MCMC

  • Aug 20, 2022
  • Applied Soft Computing
  • Arpit Kapoor +2
  • Research Article
  • Citations6

A data-driven optimization method for coarse-graining gene regulatory networks

  • Jan 04, 2023
  • iScience
  • Cristian Caranica +1
  • Research Article
  • Citations32

Bayesian Network Reconstruction Using Systems Genetics Data: Comparison of MCMC Methods

  • Jan 28, 2015
  • Genetics
  • Shinya Tasaki +5
  • Research Article
  • Citations4

Sequential reversible jump MCMC for dynamic Bayesian neural networks

  • Oct 29, 2023
  • Neurocomputing
  • Nhat Minh Nguyen +2
  • PDF
  • Research Article
  • Citations60

Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic.

  • Jul 01, 2021
  • PloS one
  • Rohitash Chandra +1
  • Components
  • Citations4

Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic

  • Jul 01, 2021
  • Yixuan He +2
  • Conference Article
  • Citations1

Target Detection on Hyperspectral Images Using MCMC and VI Trained Bayesian Neural Networks

  • Mar 05, 2022
  • Daniel Ries +2
  • Conference Article
  • Citations4

Bayesian estimation of chirplet signals by MCMC sampling

  • May 07, 2001
  • Chung-Chieh Lin +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.