Git Product home page Git Product logo

stein-variational-gradient-descent's Introduction

Stein-Variational-Gradient-Descent

Authors: Quentin Bourbon, Matthieu Carreau, Naël Farhan

Project for the MVA course Bayesian Machine Learning, study of the article: Anna Korba, Adil Salim, Michael Arbel, Giulia Luise, and Arthur Gretton. A non-asymptotic analysis for stein variational gradient descent, 2021

The src folder contains the code for our implementation and experiments. Three python files contain all the function used in our experiments, and "main.ipynb" contains the experiments. We reimplemented the algorithm from scratch to perform these experiments, except for two functions in the computation of the Stein Fischer information, that we reused from the code of Korba et al., available on their repository (https://github.com/akorba/SVGD_Non_Asymptotic).

To reproduce the experiments, one needs to clone this repository, install the following python libraries and run "main.ipynb":

  • numpy
  • matplotlib
  • scipy
  • seaborn

The article consists in a theoretical analysis of the Stein Variational Gradient Descent (SVGD) in non-asymptotic cases. This algorithm treats the problem of sampling according to an arbitrary distribution as an optimization problem, using a point cloud that is iteratively steered towards the target distribution, as in the illustration below (from one of our experiments).

evol_mu_2d_gaussian

stein-variational-gradient-descent's People

Contributors

matcarreau avatar matthieu-carreau avatar

Watchers

 avatar

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.