Stochastic Gradient MCMC (coming soon)
Stochastic gradient Markov chain Monte Carlo (SG-MCMC) is a Bayesian uncertainty quantification method. This form of gradient descent is useful in calculating quantiles according to subsets of the training data, which are selected based on the posterior distribution over the parameter space. This implementation also follows the stochastic gradient thermostat method (SGNHT), whose purpose is to control gradient noise, which keeps the distribution Gaussian. We generate samples of model parameters as a function of the loss function , diffusion coefficients , and learning rate , in addition to auxiliary variables and . The values of , , and are randomly initialized and updated according to the rule:
where after the th iteration, follows the distribution of the posterior. We quantify the uncertainty of our prediction by running for multiple with different samples according to the posterior.