Diffusion Generative Flow Samplers
October 20, 2023 ยท View on GitHub
Dinghuai Zhang, Ricky Tian Qi Chen, Cheng-Hao Liu, Aaron Courville, Yoshua Bengio.
We propose a novel DGFS sampler for continuous space sampling from given unnormalized densities based on stochastic optimal control ๐ค formulation and the probabilistic ๐ฒ GFlowNet framework.
target/ has the target distribution code.
gflownet/ contains the DGFS algorithm code.
Examples
python -m gflownet.main target=gm dt=0.05
python -m gflownet.main target=funnel
python -m gflownet.main target=wells
Dependency
Apart from commonly used torch, torchvision, numpy, scipy, matplotlib, we use the following packages:
pip install hydra-core omegaconf submitit hydra-submitit-launcher
pip install wandb tqdm einops seaborn ipdb
