Giter Club home page Giter Club logo

score_based_generative_models_exercises's Introduction

Diffusion Models for 2D Examples

This Repo contains the notebooks for the Challenge 1: Score-based generative models: Implementation, optimisation, generalisation of the Accelerating generative models and nonconvex optimisation workshop, which can be found here https://akyildiz.me/tmcf/challenges.html

Setting Up the Environment

conda create --name sgm
conda activate sgm
conda install -c anaconda ipykernel
python -m ipykernel install --user --name=sgm
pip install --upgrade "jax[cpu]"
pip install matplotlib
pip install seaborn

Research Goals

Generalization vs. Sample Density

Sphere

Given a sphere in d dimensions. Given a covering density epsilon. Use a uniform covering of the sphere as training examples and train a neural network. Optimally the final distribution would be the uniform distribution on the sphere. Find some good distance measure (just some heuristics are enough for first maybe) to measure the distance towards the training dataset + measure the distance towards the uniform distribution on the sphere. Compare how these behave w.r.t. d and epsilon. One can also plot the distances of the trained drift to the true drift and to the trained drift, at least in low dimensions.

Hyperplane

For a hyperplane and a Gaussian distribution one can explicitely calculate the right solution at every time t. Given n samples, plot the distance of the trained drifts to the true drifts and the empirical drifts. Also heuristically plot the distance between the learned distribution to the data distribution / true distribution. So very similar as above.

Also for both of the above, its interesting to just maybe plot how much mass actually lands on the manifold

Explicit Score Matching

Instead of using denoising Score matching for the NN training one could study the effects of using explicit score matching instead.

score_based_generative_models_exercises's People

Contributors

jakiw avatar tahaceritli avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

tahaceritli

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.