{"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/pinnacle-pinn-adaptive-collocation-and","title":"PINNACLE: PINN Adaptive ColLocation and Experimental points selection","arxiv_id":"2404.07662","date":"2024-04-11","proceeding":null,"authors":["Gregory Kang Ruey Lau","Apivich Hemachandra","See-Kiong Ng","Bryan Kian Hsiang Low"],"abstract":"Physics-Informed Neural Networks (PINNs), which incorporate PDEs as soft constraints, train with a composite loss function that contains multiple training point types: different types of collocation points chosen during training to enforce each PDE and initial/boundary conditions, and experimental points which are usually costly to obtain via experiments or simulations. Training PINNs using this loss function is challenging as it typically requires selecting large numbers of points of different types, each with different training dynamics. Unlike past works that focused on the selection of either collocation or experimental points, this work introduces PINN Adaptive ColLocation and Experimental points selection (PINNACLE), the first algorithm that jointly optimizes the selection of all training point types, while automatically adjusting the proportion of collocation point types as training progresses. PINNACLE uses information on the interaction among training point types, which had not been considered before, based on an analysis of PINN training dynamics via the Neural Tangent Kernel (NTK). We theoretically show that the criterion used by PINNACLE is related to the PINN generalization error, and empirically demonstrate that PINNACLE is able to outperform existing point selection methods for forward, inverse, and transfer learning problems.","url_abs":"https://arxiv.org/abs/2404.07662v1","url_pdf":"https://arxiv.org/pdf/2404.07662v1.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":"pinnacle-pinn-adaptive-collocation-and","repo_url":"https://github.com/apivich-h/pinnacle","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"jax","reach":{"status":"ok"}},{"paper_slug":"pinnacle-pinn-adaptive-collocation-and","repo_url":"https://github.com/code-implementation1/Code9/tree/main/pinns","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"transfer-learning","task_name":"Transfer Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.07662","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.07662"}},"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/apivich-h/pinnacle","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/code-implementation1/Code9/tree/main/pinns","reach":null}],"summary":{"ran":1,"unverified":7},"by_repo_kind":{"official":{"samples":8,"ran":1,"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":8,"samples":[{"code_sha256_prefix":"72276292fb0da5c1","entry":"value_clip","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/icbc_patch.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/icbc_patch.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":"72276292fb0da5c1"}},{"code_sha256_prefix":"672318dd6fafb58b","entry":"construct_model","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/model_loader.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/model_loader.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":"672318dd6fafb58b"}},{"code_sha256_prefix":"28ede58e2025cd9c","entry":"construct_net","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/model_loader.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/model_loader.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":"28ede58e2025cd9c"}},{"code_sha256_prefix":"a507bfbacd582a5c","entry":"generate_fourier_fnn","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/models/fourier_fnn.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/models/fourier_fnn.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":"a507bfbacd582a5c"}},{"code_sha256_prefix":"4dc4fc5c93586778","entry":"get_corresponding_y","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/icbc_patch.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/icbc_patch.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":"4dc4fc5c93586778"}},{"code_sha256_prefix":"b43df4ef25c604d7","entry":"mean_absolute_error","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/deepxde/losses.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/deepxde/losses.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":"b43df4ef25c604d7"}},{"code_sha256_prefix":"642a817822586843","entry":"mean_absolute_percentage_error","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/deepxde/losses.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/deepxde/losses.py","link_basis":"plan_row","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":"642a817822586843"}},{"code_sha256_prefix":"e2fd023945751163","entry":"mean_squared_error","repo":"apivich-h/pinnacle","repo_kind":"official","path":"pinnacle_code/deepxde_al_patch/deepxde/losses.py","file_url":"https://github.com/apivich-h/pinnacle/blob/HEAD/pinnacle_code/deepxde_al_patch/deepxde/losses.py","link_basis":"plan_row","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":"e2fd023945751163"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}