Skip to content

intsystems/discrete-variables-relaxation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Just Relax It

Discrete variables relaxation

💡 Motivation

For lots of mathematical problems we need an ability to sample discrete random variables. The problem is that due to continuos nature of deep learning optimization, the usage of truely discrete random variables is infeasible. Thus we use different relaxation method. One of them, Concrete distribution or Gumbel-softmax (this is one distribution proposed in parallel by two research groups) is implemented in different DL packages. In this project we implement different alternatives to it.

🗃 Algorithms to implement (from simplest to hardest)

📚 Recommended stack

Some of the alternatives for GS were implemented in pyro, so it might be useful to play with them also.

🧩 Problem details

To make to library constistent, we integrate imports of distributions from pyro and pytorch into the library, so that all the categorical distributions can be imported from one entrypoint.

👥 Contributors

🔗 Useful links