{"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/multilevel-generative-samplers-for","title":"Multilevel Generative Samplers for Investigating Critical Phenomena","arxiv_id":"2503.08918","date":"2025-03-11","proceeding":null,"authors":["Ankur Singha","Elia Cellini","Kim A. Nicoli","Karl Jansen","Stefan Kühn","Shinichi Nakajima"],"abstract":"Investigating critical phenomena or phase transitions is of high interest in physics and chemistry, for which Monte Carlo (MC) simulations, a crucial tool for numerically analyzing macroscopic properties of given systems, are often hindered by an emerging divergence of correlation length -- known as scale invariance at criticality (SIC) in the renormalization group theory. SIC causes the system to behave the same at any length scale, from which many existing sampling methods suffer: long-range correlations cause critical slowing down in Markov chain Monte Carlo (MCMC), and require intractably large receptive fields for generative samplers. In this paper, we propose a Renormalization-informed Generative Critical Sampler (RiGCS) -- a novel sampler specialized for near-critical systems, where SIC is leveraged as an advantage rather than a nuisance. Specifically, RiGCS builds on MultiLevel Monte Carlo (MLMC) with Heat Bath (HB) algorithms, which perform ancestral sampling from low-resolution to high-resolution lattice configurations with site-wise-independent conditional HB sampling. Although MLMC-HB is highly efficient under exact SIC, it suffers from a low acceptance rate under slight SIC violation. Notably, SIC violation always occurs in finite-size systems, and may induce long-range and higher-order interactions in the renormalized distributions, which are not considered by independent HB samplers. RiGCS enhances MLMC-HB by replacing a part of the conditional HB sampler with generative models that capture those residual interactions and improve the sampling efficiency. Our experiments show that the effective sample size of RiGCS is a few orders of magnitude higher than state-of-the-art generative model baselines in sampling configurations for 128x128 two-dimensional Ising systems.","url_abs":"https://arxiv.org/abs/2503.08918v2","url_pdf":"https://arxiv.org/pdf/2503.08918v2.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":"multilevel-generative-samplers-for","repo_url":"https://github.com/mlneuralsampler/multilevel","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2503.08918","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2503.08918"}},"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":"deterministic:regex_extraction","url":"https://github.com/mlneuralsampler/multilevel","reach":null}],"summary":{"ran":7,"ran_draft_wrong":2,"ran_honours":1,"unverified":6},"by_repo_kind":{"official":{"samples":16,"ran":10,"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":"c9de1facdf8d3dfb","entry":"EmbeddingC_F","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"c9de1facdf8d3dfb"}},{"code_sha256_prefix":"7613bdb209ef8606","entry":"HB_level","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"7613bdb209ef8606"}},{"code_sha256_prefix":"d81b67e6163414d2","entry":"MaskedConv2d","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"d81b67e6163414d2"}},{"code_sha256_prefix":"eb3ef5fae39c1587","entry":"MultilevelBlock","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"eb3ef5fae39c1587"}},{"code_sha256_prefix":"5ce222bcc64a795e","entry":"PixelCNN","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"5ce222bcc64a795e"}},{"code_sha256_prefix":"cf4928b4a14beac3","entry":"ResBlock","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"cf4928b4a14beac3"}},{"code_sha256_prefix":"309928389973c07d","entry":"VANUpsampling","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.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":"309928389973c07d"}},{"code_sha256_prefix":"c58bd2dcaff29593","entry":"compute_metrics","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c58bd2dcaff29593"}},{"code_sha256_prefix":"a0c6ec7446882eb7","entry":"grab","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a0c6ec7446882eb7"}},{"code_sha256_prefix":"e18e546fda12e839","entry":"make_checker_mask","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e18e546fda12e839"}},{"code_sha256_prefix":"8dab55722dae1b3d","entry":"Multilevel","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8dab55722dae1b3d"}},{"code_sha256_prefix":"3b8f2d179f76c02e","entry":"NeuralVANMultilevel","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3b8f2d179f76c02e"}},{"code_sha256_prefix":"0dc52519ea492528","entry":"VAN_CNN","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0dc52519ea492528"}},{"code_sha256_prefix":"fac4692f10805d63","entry":"make_conv_net","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac4692f10805d63"}},{"code_sha256_prefix":"1e2601d2d0b3fda4","entry":"print_metrics","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e2601d2d0b3fda4"}},{"code_sha256_prefix":"eaac88066f686727","entry":"save","repo":"mlneuralsampler/multilevel","repo_kind":"official","path":"van_code/nn.py","file_url":"https://github.com/mlneuralsampler/multilevel/blob/HEAD/van_code/nn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eaac88066f686727"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}