{"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/unbiased-monte-carlo-cluster-updates-with","title":"Unbiased Monte Carlo Cluster Updates with Autoregressive Neural Networks","arxiv_id":"2105.05650","date":"2021-05-12","proceeding":null,"authors":["Dian Wu","Riccardo Rossi","Giuseppe Carleo"],"abstract":"Efficient sampling of complex high-dimensional probability distributions is a central task in computational science. Machine learning methods like autoregressive neural networks, used with Markov chain Monte Carlo sampling, provide good approximations to such distributions, but suffer from either intrinsic bias or high variance. In this Letter, we propose a way to make this approximation unbiased and with low variance. Our method uses physical symmetries and variable-size cluster updates which utilize the structure of autoregressive factorization. We test our method for first- and second-order phase transitions of classical spin systems, showing its viability for critical systems and in the presence of metastable states.","url_abs":"https://arxiv.org/abs/2105.05650v3","url_pdf":"https://arxiv.org/pdf/2105.05650v3.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":"unbiased-monte-carlo-cluster-updates-with","repo_url":"https://github.com/wdphy16/neural-cluster-update","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"variational-monte-carlo","task_name":"Variational Monte Carlo"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2105.05650","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2105.05650"}},"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/wdphy16/neural-cluster-update","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":7},"by_repo_kind":{"official":{"samples":7,"ran":0,"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":"24a001e0b6b5fa2b","entry":"MaskedConv2d","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"net.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/net.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"24a001e0b6b5fa2b"}},{"code_sha256_prefix":"f3159a740a151f69","entry":"expect","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"expect.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/expect.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f3159a740a151f69"}},{"code_sha256_prefix":"265f428eead62f98","entry":"expect_bwd","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"expect.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/expect.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"265f428eead62f98"}},{"code_sha256_prefix":"1a09472bd1a15643","entry":"expect_fwd","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"expect.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/expect.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1a09472bd1a15643"}},{"code_sha256_prefix":"beb69ab9184116cf","entry":"parse_ckpt_name","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"utils.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"beb69ab9184116cf"}},{"code_sha256_prefix":"41b4e4f2e415cc8e","entry":"prev_index_2d","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"net.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/net.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"41b4e4f2e415cc8e"}},{"code_sha256_prefix":"d243b64694b10075","entry":"welford_update","repo":"wdphy16/neural-cluster-update","repo_kind":"official","path":"sample_raw.py","file_url":"https://github.com/wdphy16/neural-cluster-update/blob/HEAD/sample_raw.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d243b64694b10075"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}