{"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/beno-boundary-embedded-neural-operators-for","title":"BENO: Boundary-embedded Neural Operators for Elliptic PDEs","arxiv_id":"2401.09323","date":"2024-01-17","proceeding":null,"authors":["Haixin Wang","Jiaxin Li","Anubhav Dwivedi","Kentaro Hara","Tailin Wu"],"abstract":"Elliptic partial differential equations (PDEs) are a major class of time-independent PDEs that play a key role in many scientific and engineering domains such as fluid dynamics, plasma physics, and solid mechanics. Recently, neural operators have emerged as a promising technique to solve elliptic PDEs more efficiently by directly mapping the input to solutions. However, existing networks typically cannot handle complex geometries and inhomogeneous boundary values present in the real world. Here we introduce Boundary-Embedded Neural Operators (BENO), a novel neural operator architecture that embeds the complex geometries and inhomogeneous boundary values into the solving of elliptic PDEs. Inspired by classical Green's function, BENO consists of two branches of Graph Neural Networks (GNNs) for interior source term and boundary values, respectively. Furthermore, a Transformer encoder maps the global boundary geometry into a latent vector which influences each message passing layer of the GNNs. We test our model extensively in elliptic PDEs with various boundary conditions. We show that all existing baseline methods fail to learn the solution operator. In contrast, our model, endowed with boundary-embedded architecture, outperforms state-of-the-art neural operators and strong baselines by an average of 60.96\\%. Our source code can be found https://github.com/AI4Science-WestlakeU/beno.git.","url_abs":"https://arxiv.org/abs/2401.09323v1","url_pdf":"https://arxiv.org/pdf/2401.09323v1.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":"beno-boundary-embedded-neural-operators-for","repo_url":"https://github.com/ai4science-westlakeu/beno","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2401.09323","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.09323"}},"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/AI4Science-WestlakeU/beno","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ai4science-westlakeu/beno","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"ran_fixture":1,"unverified":4},"by_repo_kind":{"official":{"samples":9,"ran":5,"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":"bdd576900f6376a0","entry":"Decoder","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bdd576900f6376a0"}},{"code_sha256_prefix":"2af5dbe8b3fb3afc","entry":"Encoder","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2af5dbe8b3fb3afc"}},{"code_sha256_prefix":"75242456aca1ec7b","entry":"build_mlp","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"75242456aca1ec7b"}},{"code_sha256_prefix":"9e275404aa5e3c6a","entry":"recursive_index","repo":"AI4Science-WestlakeU/beno","repo_kind":"official","path":"util.py","file_url":"https://github.com/AI4Science-WestlakeU/beno/blob/HEAD/util.py","link_basis":"harvester_set","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":"9e275404aa5e3c6a"}},{"code_sha256_prefix":"398aeb54fbc373f8","entry":"transform_dict","repo":"AI4Science-WestlakeU/beno","repo_kind":"official","path":"util.py","file_url":"https://github.com/AI4Science-WestlakeU/beno/blob/HEAD/util.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":"398aeb54fbc373f8"}},{"code_sha256_prefix":"164fcc0810edef06","entry":"HeteroGNS","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.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":"164fcc0810edef06"}},{"code_sha256_prefix":"c12241529df7714d","entry":"InteractionNetwork","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.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":"c12241529df7714d"}},{"code_sha256_prefix":"fc9804a83b0f802c","entry":"Processor","repo":"ai4science-westlakeu/beno","repo_kind":"official","path":"BE_MPNN.py","file_url":"https://github.com/ai4science-westlakeu/beno/blob/HEAD/BE_MPNN.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":"fc9804a83b0f802c"}},{"code_sha256_prefix":"c67b9864a21d4148","entry":"plot_vectors","repo":"AI4Science-WestlakeU/beno","repo_kind":"official","path":"util.py","file_url":"https://github.com/AI4Science-WestlakeU/beno/blob/HEAD/util.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":"c67b9864a21d4148"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}