{"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/ropinn-region-optimized-physics-informed","title":"RoPINN: Region Optimized Physics-Informed Neural Networks","arxiv_id":"2405.14369","date":"2024-05-23","proceeding":null,"authors":["Haixu Wu","Huakun Luo","Yuezhou Ma","Jianmin Wang","Mingsheng Long"],"abstract":"Physics-informed neural networks (PINNs) have been widely applied to solve partial differential equations (PDEs) by enforcing outputs and gradients of deep models to satisfy target equations. Due to the limitation of numerical computation, PINNs are conventionally optimized on finite selected points. However, since PDEs are usually defined on continuous domains, solely optimizing models on scattered points may be insufficient to obtain an accurate solution for the whole domain. To mitigate this inherent deficiency of the default scatter-point optimization, this paper proposes and theoretically studies a new training paradigm as region optimization. Concretely, we propose to extend the optimization process of PINNs from isolated points to their continuous neighborhood regions, which can theoretically decrease the generalization error, especially for hidden high-order constraints of PDEs. A practical training algorithm, Region Optimized PINN (RoPINN), is seamlessly derived from this new paradigm, which is implemented by a straightforward but effective Monte Carlo sampling method. By calibrating the sampling process into trust regions, RoPINN finely balances optimization and generalization error. Experimentally, RoPINN consistently boosts the performance of diverse PINNs on a wide range of PDEs without extra backpropagation or gradient calculation. Code is available at this repository: https://github.com/thuml/RoPINN.","url_abs":"https://arxiv.org/abs/2405.14369v3","url_pdf":"https://arxiv.org/pdf/2405.14369v3.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":"ropinn-region-optimized-physics-informed","repo_url":"https://github.com/thuml/ropinn","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=2405.14369","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.14369"}},"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/thuml/ropinn","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":4},"by_repo_kind":{"official":{"samples":4,"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":"1d94d4c45235539f","entry":"h","repo":"thuml/ropinn","repo_kind":"official","path":"1d_reaction_point_optimization.py","file_url":"https://github.com/thuml/ropinn/blob/HEAD/1d_reaction_point_optimization.py","link_basis":"plan_row","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":"1d94d4c45235539f"}},{"code_sha256_prefix":"ff28b6f1b4308bf4","entry":"u_ana","repo":"thuml/ropinn","repo_kind":"official","path":"1d_reaction_point_optimization.py","file_url":"https://github.com/thuml/ropinn/blob/HEAD/1d_reaction_point_optimization.py","link_basis":"plan_row","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":"ff28b6f1b4308bf4"}},{"code_sha256_prefix":"f85efe880ead956a","entry":"u_ana","repo":"thuml/ropinn","repo_kind":"official","path":"1d_wave_point_optimization.py","file_url":"https://github.com/thuml/ropinn/blob/HEAD/1d_wave_point_optimization.py","link_basis":"plan_row","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":"f85efe880ead956a"}},{"code_sha256_prefix":"915d2c8e6362ea8c","entry":"u_res","repo":"thuml/ropinn","repo_kind":"official","path":"convection_point_optimization.py","file_url":"https://github.com/thuml/ropinn/blob/HEAD/convection_point_optimization.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":"915d2c8e6362ea8c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}