Papers › Flow Annealed Importance Sampling Bootstrap

Flow Annealed Importance Sampling Bootstrap

3 Aug 2022arXiv:2208.01893archive 2025-07-28

Laurence Illing Midgley, Vincent Stimper, Gregor N. C. Simm, Bernhard Schölkopf, José Miguel Hernández-Lobato

Normalizing flows are tractable density models that can approximate complicated target distributions, e.g. Boltzmann distributions of physical systems. However, current methods for training flows either suffer from mode-seeking behavior, use samples from the target generated beforehand by expensive MCMC methods, or use stochastic losses that have high variance. To avoid these problems, we augment flows with annealed importance sampling (AIS) and minimize the mass-covering α-divergence with α=2, which minimizes importance weight variance. Our method, Flow AIS Bootstrap (FAB), uses AIS to generate samples in regions where the flow is a poor approximation of the target, facilitating the discovery of new modes. We apply FAB to multimodal targets and show that we can approximate them very accurately where previous methods fail. To the best of our knowledge, we are the first to learn the Boltzmann distribution of the alanine dipeptide molecule using only the unnormalized target density, without access to samples generated via Molecular Dynamics (MD) simulations: FAB produces better results than training via maximum likelihood on MD samples while using 100 times fewer target evaluations. After reweighting the samples, we obtain unbiased histograms of dihedral angles that are almost identical to the ground truth.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2208.01893")

Code

Syntology Ran 0 of 27 code samples harvested from 3 repositories linked to this paper; 27 have no recorded run.

By repository: official repository: 5 samples from 1 repository, 0 ran; community (archive-listed): 22 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lollcat/fab-jax officialmentioned on GitHubjaxMIT report
lollcat/fab-torch mentioned in papermentioned on GitHubpytorchMIT report
aimat-lab/coarse-graining-al mentioned on GitHubpytorchMIT report
vincentstimper/normalizing-flows mentioned on GitHubpytorch report
vislearn/trade mentioned on GitHubpytorchBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 0 ran; 0 honoured the contract we drafted; 27 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

27unverified

Licence: 0 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

broadcasted_where lollcat/fab-jax/fabjax/utils/jax_util.py official repository unverified MIT (permissive) · 31d10b58f9eba56f · report
fab_loss_smc_samples lollcat/fab-jax/fabjax/train/fab_without_buffer.py official repository unverified MIT (permissive) · 5e4df7287719cf48 · report
get_leading_axis_tree lollcat/fab-jax/fabjax/utils/jax_util.py official repository unverified MIT (permissive) · 06e166b4bd44c5ce · report
reverse_kl_loss lollcat/fab-jax/fabjax/train/fab_without_buffer.py official repository unverified MIT (permissive) · e2da966a3225548a · report
sample_without_replacement lollcat/fab-jax/fabjax/buffer/prioritised_buffer.py official repository unverified MIT (permissive) · 147034b3e56c8828 · report
ActionScalarTheory vislearn/trade/trade/datasets.py community (archive-listed) unverified BSD-3-Clause (permissive) · da01152e23f9257f · report
build_resnet vislearn/trade/trade/flow.py community (archive-listed) unverified BSD-3-Clause (permissive) · cfb7a6f3f78317c8 · report
build_subnet vislearn/trade/trade/flow.py community (archive-listed) unverified BSD-3-Clause (permissive) · 19a851e76c47a32b · report
call_model_batched aimat-lab/coarse-graining-al/main/utils/call_model_batched.py community (archive-listed) unverified MIT (permissive) · 39b9d6445fc9d49f · report
circular_mean vislearn/trade/trade/coordinate_transform.py community (archive-listed) unverified BSD-3-Clause (permissive) · ac688680eef129e1 · report
compute_KL vislearn/trade/trade/losses.py community (archive-listed) unverified BSD-3-Clause (permissive) · a4982e7e1d9e5669 · report
consistency_check_KL vislearn/trade/trade/losses.py community (archive-listed) unverified BSD-3-Clause (permissive) · b8eaabf1c9db7b92 · report
constructor_subnet_2Dconv_plain vislearn/trade/trade/models.py community (archive-listed) unverified BSD-3-Clause (permissive) · 226d82cc38425813 · report
constructor_subnet_fc_configured vislearn/trade/trade/models.py community (archive-listed) unverified BSD-3-Clause (permissive) · a16486276f5c5f09 · report
constructor_subnet_fc_plain vislearn/trade/trade/models.py community (archive-listed) unverified BSD-3-Clause (permissive) · cadccdbc4e5b12fb · report
ct_shift_angle vislearn/trade/trade/coordinate_transform.py community (archive-listed) unverified BSD-3-Clause (permissive) · 8b55b599f66645b6 · report
dActionScalarTheory_dkappa vislearn/trade/trade/datasets.py community (archive-listed) unverified BSD-3-Clause (permissive) · 3e92b55934524c65 · report
generate_grid aimat-lab/coarse-graining-al/main/active_learning/active_learning_managers.py community (archive-listed) unverified MIT (permissive) · 2327b3b50e622283 · report
get_correction_function vislearn/trade/trade/losses.py community (archive-listed) unverified BSD-3-Clause (permissive) · 01444979755c6722 · report
is_json_serializable vislearn/trade/trade/trainables.py community (archive-listed) unverified BSD-3-Clause (permissive) · 9bc73838eb0f1444 · report
log_p_scalar_theory vislearn/trade/trade/datasets.py community (archive-listed) unverified BSD-3-Clause (permissive) · 44b1de121fc4f5c1 · report
plot_double_well_2d vislearn/trade/trade/plots.py community (archive-listed) unverified BSD-3-Clause (permissive) · f222aa8da4211121 · report
plot_nd_histogram vislearn/trade/trade/plots.py community (archive-listed) unverified BSD-3-Clause (permissive) · 21e05c489f7ca319 · report
read_config vislearn/trade/trade/config.py community (archive-listed) unverified BSD-3-Clause (permissive) · 4b3e1d756ced6adf · report
remove_non_serializable vislearn/trade/trade/trainables.py community (archive-listed) unverified BSD-3-Clause (permissive) · 05e36a7f85d97e27 · report
select_diverse_points aimat-lab/coarse-graining-al/main/active_learning/active_learning_managers.py community (archive-listed) unverified MIT (permissive) · a7e6a591642b921e · report
shift_angles vislearn/trade/trade/coordinate_transform.py community (archive-listed) unverified BSD-3-Clause (permissive) · c12e51ebb2df519b · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections