{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/bendem-a-boltzmann-sampler-based-on","title":"BNEM: A Boltzmann Sampler Based on Bootstrapped Noised Energy Matching","arxiv_id":"2409.09787","date":"2024-09-15","proceeding":null,"authors":["Ruikang Ouyang","Bo Qiang","José Miguel Hernández-Lobato"],"abstract":"Developing an efficient sampler capable of generating independent and identically distributed (IID) samples from a Boltzmann distribution is a crucial challenge in scientific research, e.g. molecular dynamics. In this work, we intend to learn neural samplers given energy functions instead of data sampled from the Boltzmann distribution. By learning the energies of the noised data, we propose a diffusion-based sampler, Noised Energy Matching, which theoretically has lower variance and more complexity compared to related works. Furthermore, a novel bootstrapping technique is applied to NEM to balance between bias and variance. We evaluate NEM and BNEM on a 2-dimensional 40 Gaussian Mixture Model (GMM) and a 4-particle double-well potential (DW-4). The experimental results demonstrate that BNEM can achieve state-of-the-art performance while being more robust.","url_abs":"https://arxiv.org/abs/2409.09787v4","url_pdf":"https://arxiv.org/pdf/2409.09787v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"bendem-a-boltzmann-sampler-based-on","repo_url":"https://github.com/tonyauyeung/BNEM","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.09787","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.09787"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tonyauyeung/BNEM","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":5},"by_repo_kind":{"official":{"samples":5,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4025a5a29b575433","entry":"filter_chirality","repo":"tonyauyeung/BNEM","repo_kind":"official","path":"dem/energies/aldp_utils.py","file_url":"https://github.com/tonyauyeung/BNEM/blob/HEAD/dem/energies/aldp_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4025a5a29b575433"}},{"code_sha256_prefix":"be9f3504a8dca916","entry":"get_wandb_logger","repo":"tonyauyeung/BNEM","repo_kind":"official","path":"dem/models/dds_module.py","file_url":"https://github.com/tonyauyeung/BNEM/blob/HEAD/dem/models/dds_module.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"be9f3504a8dca916"}},{"code_sha256_prefix":"cded7f5b04d3ed38","entry":"logmeanexp","repo":"tonyauyeung/BNEM","repo_kind":"official","path":"dem/models/dds_module.py","file_url":"https://github.com/tonyauyeung/BNEM/blob/HEAD/dem/models/dds_module.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cded7f5b04d3ed38"}},{"code_sha256_prefix":"5d548fabeacc057e","entry":"remove_diag","repo":"tonyauyeung/BNEM","repo_kind":"official","path":"dem/models/nem_module.py","file_url":"https://github.com/tonyauyeung/BNEM/blob/HEAD/dem/models/nem_module.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d548fabeacc057e"}},{"code_sha256_prefix":"1d1151ed8fc66da7","entry":"t_stratified_loss","repo":"tonyauyeung/BNEM","repo_kind":"official","path":"dem/models/dds_module.py","file_url":"https://github.com/tonyauyeung/BNEM/blob/HEAD/dem/models/dds_module.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1d1151ed8fc66da7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}