GithubHelp home page GithubHelp logo

chunyuanli / psgld Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 12.0 28.04 MB

AAAI & CVPR 2016: Preconditioned Stochastic Gradient Langevin Dynamics (pSGLD)

MATLAB 100.00%
mcmc stochastic-gradient-descent preconditioner sampling-methods

psgld's Introduction

pSGLD

Preconditioned Stochastic Gradient Langevin Dynamics (pSGLD)

Links: Implementation on TensorFlow Website

Simulation (2D Gaussian Example in Figure 1 of the paper)

  • Simulation 1 provides Average Absolute Error of Sample Covariance vs AutoCorrelation Time (ACT)
  • Simulation 2 provides first 600 samples from SGLD and pSGLD

Experiments on Deep Neural Networks (Keep updating)

  • Start to run 'test_FNN_mnist.m' to test a 2-layer FNN with 400 hidden units each .
  • You may also modify line 'linSizes = [400 400 data.outSize]' to other configurations.

Citation

Please cite our AAAI paper if it helps your research:

@inproceedings{pSGLD_AAAI2016,
  title={Preconditioned stochastic gradient Langevin dynamics for deep neural networks},
  author={Li, Chunyuan and Chen, Changyou and Carlson, David and Carin, Lawrence},
  booktitle={AAAI},
  Year  = {2016}
}

psgld's People

Contributors

chunyuanli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

psgld's Issues

No learning rate annealing during training.

Hi Chunyuan,

Thanks for sharing. I found that in the 2-D simulation experiment the learning rate(injected Gaussian noise level) is kept constant, which doesn't satisfy the assumption 1 in your AAAI '16 paper. While in previous works e.g. Welling 2011, I found a polynomial decay scheme is applied. Will this be a problem?

Where the prior on the parameters is reflected in the code?

Thanks for sharing your code!

Your paper mentions about the prior on the parameters being , and that the variance () is set to 1 by default for DNN experiments and in some scenario it is set to 100. But I couldn't find it reflected anywhere in the code. Am I missing something obvious?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.