Skip to content

[WIP] PyTorch implementations of the various models/architectures in the "Generative Modeling Zoo" for educational purposes

License

Notifications You must be signed in to change notification settings

elliothha/generative-modeling-zoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Generative Modeling Zoo

GitHub last commit

[3/16/24 Update] Updated Gaussian-Bernoulli RBM to Bernoulli-Bernoulli RBM for MNIST generation. Uploaded old DCGAN notebook to GAN repo. Uploaded Normalizing Flow models (currently doesn't converge)

[3/15/24 Update] Updated MCMC Sampling Algos repo to have random-walk MH and MALA. Uploaded VAE model for MNIST generation


This repo contains links to all of my Pytorch implementations for the various architectures and models in the generative modeling zoo. All implementations are intended purely for educational/academic purposes with sources cited.

Descriptions for the two main model categories paraphrased from Yang Song's blogpost on generative modeling.

by Elliot H Ha. Duke University

elliothha.tech | elliot.ha@duke.edu


Architectures / Models

Implicit generative models

Implicit generative models have the probability distribution implicitly represented by a model of its sampling process.

  • Adversarial models
  • Score-based models
    • Noise-Conditional Score Networks (NCSNs)
    • Score Networks w/ Stochastic Differential Equations (SDEs)

Likelihood-based models

Likelihood-based models directly learn the distribution’s probability density (or mass) function via (approximate) maximum likelihood estimation.

Sampling Algorithms

  • MCMC Sampling Algorithms
    • Random-walk Metropolis-Hastings Algorithm (+ Metropolis Algo)
    • Metropolis Adjusted Langevin Algorithm (MALA)
    • An example of Gibbs Sampling can be found in the RBM repo
  • (Annealed) Langevin Dynamics Sampling will be found in the NCSN repo if I ever finish it

TODO

  • [3/15/24] MCMC Sampling Algos for MH, MALA
  • [3/15/24] VAE implementation for MNIST
  • [3/16/24] Bernoulli-Bernoulli RBMs w/ Persistent Contrastive Divergence & Gibbs Sampling
  • [3/16/24] Found my old notebook for DCGANs thank GOD
  • Consolidate current notebook for the mess that is Norm Flows
  • Adapt current Transformer architecture for autoregressive generation (NLP type stuff)

Unfinished Implementations

  • NCSNs w/ Annealed Langevin Dynamics Sampling, idk if I'll finish this honestly I strongly dislike score models
  • "Attention Is All You Need" Transformer for NLP
  • Chow-Liu Algo for decision trees, this one's super cool I'm probably going to finish this next
  • Would be really cool to finish implementations for WaveNet/Parallel WaveNet for audio gen

About

[WIP] PyTorch implementations of the various models/architectures in the "Generative Modeling Zoo" for educational purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published