MI2G / sampling-tutorials

Imaging Inverse Problems and Bayesian Computation - Python tutorials to learn about (accelerated) sampling for uncertainty quantification and other advanced inferences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sampling-tutorials : The Bayesian Approach to Inverse Problems in Imaging Science

In these tutorials, you will learn about Bayesian computation for inverse problems in imaging science. We set up an image deconvolution problem and solve the inverse problem by using different sampling algorithms. Because we obtain samples from the posterior distribution we are able to do uncertainty quantification and other advance inferences. There is a Python notebook using a vanilla Langevin sampling algorithm (MYULA_pytorch.ipynb) and an accelerated algorithm SK-ROCK (using an explicit stabilized method, SKROCK_pytorch.ipynb). We showcase a deblurring problem using a Total Variation (TV) prior. Another tutorial features a plug-and-play ULA algorithm PnP-ULA using a neural network by Ryu et al. The latest tutorial on Empirical Bayes Estimation enables you to understand how regularization parameters can be estimated in a Bayesian way without requiring ground truth. It's an implementation of the SAPG algorithm originally proposed by Vidal et al.

Authors

Funding

We acknowledge funding from projects BOLT, BLOOM and LEXCI: This work was supported by the UK Research and Innovation (UKRI) Engineering and Physical Sciences Research Council (EPSRC) grants EP/V006134/1 , EP/V006177/1 and EP/T007346/1, EP/W007673/1 and EP/W007681/1.

Optional: Install sampling_tools as a package

We provide code so that you can install the sampling_tools module as a package, and use it in your own code. sampling_tools can be easily installed with pip. After cloning the repository, run the following commands:

$ cd sampling-tutorials
$ pip install .

This is optional, you can run the tutorial notebooks without installing sampling_tools. The package can then be imported in Python as import sampling_tools as st.

About

Imaging Inverse Problems and Bayesian Computation - Python tutorials to learn about (accelerated) sampling for uncertainty quantification and other advanced inferences

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 74.0%Language:Python 26.0%