altosaar / hierarchical-variational-models-physics

Hierarchical variational models for physics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hierarchical-variational-models-physics

Hierarchical variational models for physics.

Citing this work

Please use the following:

@phdthesis{altosaar2020probabilistic,
    Author = {Jaan Altosaar},
    School = {Princeton University},
    Title = {Probabilistic Modeling of Structure in Science: Statistical Physics to Recommender Systems},
    Year = {2020}
}

Link to PDF at https://github.com/altosaar/thesis

Running an experiment

To fit an Ising model with 1M+ spins using 5400 parameters:

python main.py --seed=58283 --model=ising --boundary=periodic --max_iteration=1000000000 --use_gpu=True --num_samples_grad=8 --flow_depth=6 --activation=relu --num_samples_print=256 --variational_posterior=RealNVPPosterior --prior_std=1.0 --posterior_std=1.0 --control_variate=False --rao_blackwellize=True --marginalize=False --learning_rate=1e-05 --momentum=0.9 --log_interval=10 --beta=0.4 --flow_type=realnvp --hidden_size=8 --print_batch_size=128 --num_spins=1048576 --log_dir=/tmp

About

Hierarchical variational models for physics.

License:MIT License


Languages

Language:Jupyter Notebook 67.2%Language:Python 28.1%Language:Mathematica 4.7%