{"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/unravelling-the-performance-of-physics","title":"Unravelling the Performance of Physics-informed Graph Neural Networks for Dynamical Systems","arxiv_id":"2211.05520","date":"2022-11-10","proceeding":null,"authors":["Abishek Thangamuthu","Gunjan Kumar","Suresh Bishnoi","Ravinder Bhattoo","N M Anoop Krishnan","Sayan Ranu"],"abstract":"Recently, graph neural networks have been gaining a lot of attention to simulate dynamical systems due to their inductive nature leading to zero-shot generalizability. Similarly, physics-informed inductive biases in deep-learning frameworks have been shown to give superior performance in learning the dynamics of physical systems. There is a growing volume of literature that attempts to combine these two approaches. Here, we evaluate the performance of thirteen different graph neural networks, namely, Hamiltonian and Lagrangian graph neural networks, graph neural ODE, and their variants with explicit constraints and different architectures. We briefly explain the theoretical formulation highlighting the similarities and differences in the inductive biases and graph architecture of these systems. We evaluate these models on spring, pendulum, gravitational, and 3D deformable solid systems to compare the performance in terms of rollout error, conserved quantities such as energy and momentum, and generalizability to unseen system sizes. Our study demonstrates that GNNs with additional inductive biases, such as explicit constraints and decoupling of kinetic and potential energies, exhibit significantly enhanced performance. Further, all the physics-informed GNNs exhibit zero-shot generalizability to system sizes an order of magnitude larger than the training system, thus providing a promising route to simulate large-scale realistic systems.","url_abs":"https://arxiv.org/abs/2211.05520v2","url_pdf":"https://arxiv.org/pdf/2211.05520v2.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":"unravelling-the-performance-of-physics","repo_url":"https://github.com/m3rg-iitd/benchmarking_graph","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2211.05520","atlas_url":"https://app.syntology.ai/?focus=2211.05520","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.05520"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/M3RG-IITD/benchmarking_graph","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/m3rg-iitd/benchmarking_graph","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_honours":1,"ran_violates":1,"ran_draft_wrong":1,"ran_fixture":1},"by_repo_kind":{"official":{"samples":4,"ran":4,"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":4,"samples":[{"code_sha256_prefix":"b3c8460a326d3611","entry":"ReLU","repo":"M3RG-IITD/benchmarking_graph","repo_kind":"official","path":"src/models.py","file_url":"https://github.com/M3RG-IITD/benchmarking_graph/blob/HEAD/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b3c8460a326d3611"}},{"code_sha256_prefix":"5549bd0c9f053842","entry":"SquarePlus","repo":"M3RG-IITD/benchmarking_graph","repo_kind":"official","path":"src/models.py","file_url":"https://github.com/M3RG-IITD/benchmarking_graph/blob/HEAD/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"5549bd0c9f053842"}},{"code_sha256_prefix":"7d46a9b37044cfd7","entry":"initialize_mlp","repo":"M3RG-IITD/benchmarking_graph","repo_kind":"official","path":"src/models.py","file_url":"https://github.com/M3RG-IITD/benchmarking_graph/blob/HEAD/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7d46a9b37044cfd7"}},{"code_sha256_prefix":"aa24a8e8d36093a0","entry":"namestr","repo":"M3RG-IITD/benchmarking_graph","repo_kind":"official","path":"scripts/Pendulum-CFGNODE-post.py","file_url":"https://github.com/M3RG-IITD/benchmarking_graph/blob/HEAD/scripts/Pendulum-CFGNODE-post.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"aa24a8e8d36093a0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}