Gibbs Sampling the Posterior of Neural Networks

06/05/2023
by   Giovanni Piccioli, et al.
0

In this paper, we study sampling from a posterior derived from a neural network. We propose a new probabilistic model consisting of adding noise at every pre- and post-activation in the network, arguing that the resulting posterior can be sampled using an efficient Gibbs sampler. The Gibbs sampler attains similar performances as the state-of-the-art Monte Carlo Markov chain methods, such as the Hamiltonian Monte Carlo or the Metropolis adjusted Langevin algorithm, both on real and synthetic data. By framing our analysis in the teacher-student setting, we introduce a thermalization criterion that allows us to detect when an algorithm, when run on data with synthetic labels, fails to sample from the posterior. The criterion is based on the fact that in the teacher-student setting we can initialize an algorithm directly at equilibrium.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/05/2021

The Ball Pit Algorithm: A Markov Chain Monte Carlo Method Based on Path Integrals

The Ball Pit Algorithm (BPA) is a novel Markov chain Monte Carlo (MCMC) ...
research
06/13/2020

Faster MCMC for Gaussian Latent Position Network Models

Latent position network models are a versatile tool in network science; ...
research
06/04/2019

Assessing the Robustness of Bayesian Dark Knowledge to Posterior Uncertainty

Bayesian Dark Knowledge is a method for compressing the posterior predic...
research
05/28/2019

Selecting the Metric in Hamiltonian Monte Carlo

We present a selection criterion for the Euclidean metric adapted during...
research
01/16/2013

Minimum Message Length Clustering Using Gibbs Sampling

The K-Mean and EM algorithms are popular in clustering and mixture model...
research
07/18/2023

Nested stochastic block model for simultaneously clustering networks and nodes

We introduce the nested stochastic block model (NSBM) to cluster a colle...
research
08/09/2020

A New Spatial Count Data Model with Time-varying Parameters

Recent crash frequency studies incorporate spatiotemporal correlations, ...

Please sign up or login with your details

Forgot password? Click here to reset