{"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/papm-a-physics-aware-proxy-model-for-process","title":"PAPM: A Physics-aware Proxy Model for Process Systems","arxiv_id":"2407.05232","date":"2024-07-07","proceeding":null,"authors":["Pengwei Liu","Zhongkai Hao","Xingyu Ren","Hangjie Yuan","Jiayang Ren","Dong Ni"],"abstract":"In the context of proxy modeling for process systems, traditional data-driven deep learning approaches frequently encounter significant challenges, such as substantial training costs induced by large amounts of data, and limited generalization capabilities. As a promising alternative, physics-aware models incorporate partial physics knowledge to ameliorate these challenges. Although demonstrating efficacy, they fall short in terms of exploration depth and universality. To address these shortcomings, we introduce a physics-aware proxy model (PAPM) that fully incorporates partial prior physics of process systems, which includes multiple input conditions and the general form of conservation relations, resulting in better out-of-sample generalization. Additionally, PAPM contains a holistic temporal-spatial stepping module for flexible adaptation across various process systems. Through systematic comparisons with state-of-the-art pure data-driven and physics-aware models across five two-dimensional benchmarks in nine generalization tasks, PAPM notably achieves an average performance improvement of 6.7%, while requiring fewer FLOPs, and just 1% of the parameters compared to the prior leading method. The code is available at https://github.com/pengwei07/PAPM.","url_abs":"https://arxiv.org/abs/2407.05232v1","url_pdf":"https://arxiv.org/pdf/2407.05232v1.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":"papm-a-physics-aware-proxy-model-for-process","repo_url":"https://github.com/pengwei07/papm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2407.05232","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.05232"}},"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/pengwei07/PAPM","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pengwei07/papm","reach":{"status":"ok"}}],"summary":{"ran":12,"ran_draft_wrong":1,"unverified":12},"by_repo_kind":{"official":{"samples":25,"ran":13,"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":25,"samples":[{"code_sha256_prefix":"702691d64a49bfbc","entry":"DownBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"702691d64a49bfbc"}},{"code_sha256_prefix":"96a09a7a1458f6da","entry":"Downsample","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96a09a7a1458f6da"}},{"code_sha256_prefix":"1c2d8638f82b01cc","entry":"FourierResidualBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1c2d8638f82b01cc"}},{"code_sha256_prefix":"732514e7ea0e39f4","entry":"MiddleBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"732514e7ea0e39f4"}},{"code_sha256_prefix":"1fa6b26d9927bcc9","entry":"ResidualBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1fa6b26d9927bcc9"}},{"code_sha256_prefix":"a68ad1abdf8fd9d3","entry":"SpectralConv2d","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a68ad1abdf8fd9d3"}},{"code_sha256_prefix":"5f44095c7d71012a","entry":"UpBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5f44095c7d71012a"}},{"code_sha256_prefix":"a45f1705e9918a79","entry":"Upsample","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a45f1705e9918a79"}},{"code_sha256_prefix":"be31a0618c98c1b9","entry":"batchmul1d","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"be31a0618c98c1b9"}},{"code_sha256_prefix":"4c0fb383786dadb3","entry":"batchmul2d","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4c0fb383786dadb3"}},{"code_sha256_prefix":"6d32f9cf6f29b386","entry":"constant","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/misc.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6d32f9cf6f29b386"}},{"code_sha256_prefix":"690a92a8f300c1b6","entry":"conv_transpose2d","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/ops/conv2d_gradfix.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/ops/conv2d_gradfix.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"690a92a8f300c1b6"}},{"code_sha256_prefix":"232f62c66ddad232","entry":"data_load","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/utils/load_data.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/utils/load_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"232f62c66ddad232"}},{"code_sha256_prefix":"f2ddd32951c81dd1","entry":"AttentionBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f2ddd32951c81dd1"}},{"code_sha256_prefix":"685ebcf08eb9f219","entry":"FourierDownBlock","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"685ebcf08eb9f219"}},{"code_sha256_prefix":"85f4d479e3227c25","entry":"FourierUnet","repo":"pengwei07/papm","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/papm/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"85f4d479e3227c25"}},{"code_sha256_prefix":"9d31d2c4cd16bb2d","entry":"ask_yes_no","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/dnnlib/util.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/dnnlib/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9d31d2c4cd16bb2d"}},{"code_sha256_prefix":"f607d7f8e6a9f6ca","entry":"batchmul2d","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdeunet.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdeunet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f607d7f8e6a9f6ca"}},{"code_sha256_prefix":"1871e7e4800af577","entry":"conv2d","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/ops/conv2d_gradfix.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/ops/conv2d_gradfix.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1871e7e4800af577"}},{"code_sha256_prefix":"053fc534bc6bb989","entry":"format_time","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/dnnlib/util.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/dnnlib/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"053fc534bc6bb989"}},{"code_sha256_prefix":"77f4aa0649e7f404","entry":"format_time_brief","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/dnnlib/util.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/dnnlib/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"77f4aa0649e7f404"}},{"code_sha256_prefix":"32ff1a2d28ece3b2","entry":"get_plugin","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/custom_ops.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/custom_ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"32ff1a2d28ece3b2"}},{"code_sha256_prefix":"e8b31ffccfa05efc","entry":"is_persistent","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/persistence.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/persistence.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8b31ffccfa05efc"}},{"code_sha256_prefix":"b5ae713738eb4d27","entry":"params_and_buffers","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/misc.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b5ae713738eb4d27"}},{"code_sha256_prefix":"f4664bbb3c2df6e0","entry":"profiled_function","repo":"pengwei07/PAPM","repo_kind":"official","path":"papm/model/pdecno/torch_utils/misc.py","file_url":"https://github.com/pengwei07/PAPM/blob/HEAD/papm/model/pdecno/torch_utils/misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f4664bbb3c2df6e0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}