Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 493 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 493 Bytes

pytorch-binary

Distributions and estimators for binary latent variables in Pytorch.

The estimators only use the torch.distributions package, and can be used in any codebase without additional libraries. A simple experiment with a VAE on MNIST is included.

Available estimators:

  • Pathwise estimator
  • Score function estimator
  • ARM estimator
  • DisARM estimator

Future additions:

  • More binary relaxations
  • Control variates for SFE
  • Multi-sample estimates
  • Straight-through estimator