{"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/discovering-message-passing-hierarchies-for","title":"EvoMesh: Adaptive Physical Simulation with Hierarchical Graph Evolutions","arxiv_id":"2410.03779","date":"2024-10-03","proceeding":null,"authors":["Huayu Deng","Xiangming Zhu","Yunbo Wang","Xiaokang Yang"],"abstract":"Graph neural networks have been a powerful tool for mesh-based physical simulation. To efficiently model large-scale systems, existing methods mainly employ hierarchical graph structures to capture multi-scale node relations. However, these graph hierarchies are typically manually designed and fixed, limiting their ability to adapt to the evolving dynamics of complex physical systems. We propose EvoMesh, a fully differentiable framework that jointly learns graph hierarchies and physical dynamics, adaptively guided by physical inputs. EvoMesh introduces anisotropic message passing, which enables direction-specific aggregation of dynamic features between nodes within each hierarchy, while simultaneously learning node selection probabilities for the next hierarchical level based on physical context. This design creates more flexible message shortcuts and enhances the model's capacity to capture long-range dependencies. Extensive experiments on five benchmark physical simulation datasets show that EvoMesh outperforms recent fixed-hierarchy message passing networks by large margins. The project page is available at https://hbell99.github.io/evo-mesh/.","url_abs":"https://arxiv.org/abs/2410.03779v3","url_pdf":"https://arxiv.org/pdf/2410.03779v3.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":"discovering-message-passing-hierarchies-for","repo_url":"https://github.com/hbell99/evomesh","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.03779","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.03779"}},"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/hbell99/evomesh","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"unverified":1},"by_repo_kind":{"official":{"samples":9,"ran":8,"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":"9edcd2f740c1f6be","entry":"gumbel_softmax","repo":"hbell99/evomesh","repo_kind":"official","path":"src/core_model.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/core_model.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":"9edcd2f740c1f6be"}},{"code_sha256_prefix":"cde5a020525dc9c4","entry":"gumbel_softmax_sample","repo":"hbell99/evomesh","repo_kind":"official","path":"src/core_model.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/core_model.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":"cde5a020525dc9c4"}},{"code_sha256_prefix":"ff40899eacd18339","entry":"merge_mgs","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_merge.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_merge.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":"ff40899eacd18339"}},{"code_sha256_prefix":"f69ca1dac90eb72c","entry":"merge_mids","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_merge.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_merge.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":"f69ca1dac90eb72c"}},{"code_sha256_prefix":"4866c1ad13224d2f","entry":"multi_layered_offset","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_merge.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_merge.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":"4866c1ad13224d2f"}},{"code_sha256_prefix":"fc0acd0afe80af8c","entry":"quads_to_edges","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_mesh.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_mesh.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":"fc0acd0afe80af8c"}},{"code_sha256_prefix":"cd60da4b26d0f682","entry":"tetras_to_edges","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_mesh.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_mesh.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":"cd60da4b26d0f682"}},{"code_sha256_prefix":"d908a2378aad860c","entry":"triangles_to_edges","repo":"hbell99/evomesh","repo_kind":"official","path":"src/helpers_mesh.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/src/helpers_mesh.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":"d908a2378aad860c"}},{"code_sha256_prefix":"ba53580ad154ceec","entry":"load_dataset","repo":"hbell99/evomesh","repo_kind":"official","path":"misc/parse_tfrecord.py","file_url":"https://github.com/hbell99/evomesh/blob/HEAD/misc/parse_tfrecord.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":"ba53580ad154ceec"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}