All Projects → felix-laumann → Bayesian_cnn

felix-laumann / Bayesian_cnn

Bayes by Backprop implemented in a CNN in PyTorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bayesian cnn

Pytorch Bayesiancnn
Bayesian Convolutional Neural Network with Variational Inference based on Bayes by Backprop in PyTorch.
Stars: ✭ 779 (+694.9%)
Mutual labels:  convolutional-neural-networks, bayesian-inference
Master Thesis Bayesiancnn
Master Thesis on Bayesian Convolutional Neural Network using Variational Inference
Stars: ✭ 222 (+126.53%)
Mutual labels:  convolutional-neural-networks, bayesian-inference
Label Reg
(This repo is no longer up-to-date. Any updates will be at https://github.com/DeepRegNet/DeepReg/) A demo of the re-factored label-driven registration code, based on "Weakly-supervised convolutional neural networks for multimodal image registration"
Stars: ✭ 91 (-7.14%)
Mutual labels:  convolutional-neural-networks
Cnniqa
CVPR2014-Convolutional neural networks for no-reference image quality assessment
Stars: ✭ 96 (-2.04%)
Mutual labels:  convolutional-neural-networks
Probflow
A Python package for building Bayesian models with TensorFlow or PyTorch
Stars: ✭ 95 (-3.06%)
Mutual labels:  bayesian-inference
Core50
CORe50: a new Dataset and Benchmark for Continual Learning
Stars: ✭ 91 (-7.14%)
Mutual labels:  convolutional-neural-networks
Cardiac Segmentation
Convolutional Neural Networks for Cardiac Segmentation
Stars: ✭ 94 (-4.08%)
Mutual labels:  convolutional-neural-networks
Fast Autoaugment
Official Implementation of 'Fast AutoAugment' in PyTorch.
Stars: ✭ 1,297 (+1223.47%)
Mutual labels:  convolutional-neural-networks
Mongolian Speech Recognition
Mongolian speech recognition with PyTorch
Stars: ✭ 97 (-1.02%)
Mutual labels:  convolutional-neural-networks
Bayesian Cognitive Modeling In Pymc3
PyMC3 codes of Lee and Wagenmakers' Bayesian Cognitive Modeling - A Pratical Course
Stars: ✭ 93 (-5.1%)
Mutual labels:  bayesian-inference
Infer
Infer.NET is a framework for running Bayesian inference in graphical models
Stars: ✭ 1,340 (+1267.35%)
Mutual labels:  bayesian-inference
Fakeimagedetector
Image Tampering Detection using ELA and CNN
Stars: ✭ 93 (-5.1%)
Mutual labels:  convolutional-neural-networks
Incremental Learning
Pytorch implementation of ACCV18 paper "Revisiting Distillation and Incremental Classifier Learning."
Stars: ✭ 92 (-6.12%)
Mutual labels:  convolutional-neural-networks
Nimble
The base NIMBLE package for R
Stars: ✭ 95 (-3.06%)
Mutual labels:  bayesian-inference
3dunet abdomen cascade
Stars: ✭ 91 (-7.14%)
Mutual labels:  convolutional-neural-networks
Dynare
This project has moved to https://git.dynare.org/Dynare/dynare
Stars: ✭ 96 (-2.04%)
Mutual labels:  bayesian-inference
Image Quality Assessment
Convolutional Neural Networks to predict the aesthetic and technical quality of images.
Stars: ✭ 1,300 (+1226.53%)
Mutual labels:  convolutional-neural-networks
Dped
Software and pre-trained models for automatic photo quality enhancement using Deep Convolutional Networks
Stars: ✭ 1,315 (+1241.84%)
Mutual labels:  convolutional-neural-networks
Mxfusion
Modular Probabilistic Programming on MXNet
Stars: ✭ 95 (-3.06%)
Mutual labels:  bayesian-inference
Har Keras Cnn
Human Activity Recognition (HAR) with 1D Convolutional Neural Network in Python and Keras
Stars: ✭ 97 (-1.02%)
Mutual labels:  convolutional-neural-networks

Bayesian CNN with Variational Inference

We introduce Bayesian convolutional neural networks with variational inference, a variant of convolutional neural networks (CNNs), in which the intractable posterior probability distributions over weights are inferred by Bayes by Backprop. We demonstrate how our proposed variational inference method achieves performances equivalent to frequentist inference in identical architectures on several datasets (MNIST, CIFAR10, CIFAR100), while the two desiderata, a measure for uncertainty and regularization are incorporated naturally. We examine in detail how this measure for uncertainty, namely the predictive variance, can be decomposed into aleatoric and epistemic uncertainties.

One convolutional layer with distributions over weights in each filter

Distribution over weights in a CNN's filter.

Fully Bayesian perspective of an entire CNN

Distributions must be over weights in convolutional layers and weights in fully-connected layers.

Results

Results on MNIST and CIFAR-10 datasets with AlexNet and LeNet architectures:

Results MNIST, CIFAR-10, and CIFAR-100 with LeNet and AlexNet

Change of variational posterior probability distribution of random weight from epoch 1 to 100:

Random weight

If you use this work, please cite:

@article{shridhar2018bayesian,
  title={Bayesian Convolutional Neural Networks with Variational Inference},
  author={Shridhar, Kumar and Laumann, Felix and Llopart Maurin, Adrian and Olsen, Martin and Liwicki, Marcus},
  journal={arXiv preprint arXiv:1806.05978},
  year={2018}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].