{"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/multi-fidelity-residual-neural-processes-for","title":"Multi-Fidelity Residual Neural Processes for Scalable Surrogate Modeling","arxiv_id":"2402.18846","date":"2024-02-29","proceeding":null,"authors":["Ruijia Niu","Dongxia Wu","Kai Kim","Yi-An Ma","Duncan Watson-Parris","Rose Yu"],"abstract":"Multi-fidelity surrogate modeling aims to learn an accurate surrogate at the highest fidelity level by combining data from multiple sources. Traditional methods relying on Gaussian processes can hardly scale to high-dimensional data. Deep learning approaches utilize neural network based encoders and decoders to improve scalability. These approaches share encoded representations across fidelities without including corresponding decoder parameters. This hinders inference performance, especially in out-of-distribution scenarios when the highest fidelity data has limited domain coverage. To address these limitations, we propose Multi-fidelity Residual Neural Processes (MFRNP), a novel multi-fidelity surrogate modeling framework. MFRNP explicitly models the residual between the aggregated output from lower fidelities and ground truth at the highest fidelity. The aggregation introduces decoders into the information sharing step and optimizes lower fidelity decoders to accurately capture both in-fidelity and cross-fidelity information. We show that MFRNP significantly outperforms state-of-the-art in learning partial differential equations and a real-world climate modeling task. Our code is published at: https://github.com/Rose-STL-Lab/MFRNP","url_abs":"https://arxiv.org/abs/2402.18846v2","url_pdf":"https://arxiv.org/pdf/2402.18846v2.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":"multi-fidelity-residual-neural-processes-for","repo_url":"https://github.com/rose-stl-lab/mfrnp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"gaussian-processes","task_name":"Gaussian Processes"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.18846","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.18846"}},"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/rose-stl-lab/mfrnp","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6},"by_repo_kind":{"official":{"samples":6,"ran":6,"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":"fac4b8f5a66f6148","entry":"get_dataset","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"lib/utils.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/lib/utils.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":"fac4b8f5a66f6148"}},{"code_sha256_prefix":"ceea3ddbe3c45948","entry":"kld_gaussian_loss","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/model/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ceea3ddbe3c45948"}},{"code_sha256_prefix":"20a8bff1ec7334ef","entry":"load_data_from_files","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"lib/utils.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/lib/utils.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":"20a8bff1ec7334ef"}},{"code_sha256_prefix":"1876fb7ce633ef5f","entry":"nll_loss","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/model/loss.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":"1876fb7ce633ef5f"}},{"code_sha256_prefix":"2ee1f30cb19433c5","entry":"rmse_metric","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/model/loss.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2ee1f30cb19433c5"}},{"code_sha256_prefix":"cfeb7bf253ab15eb","entry":"split_data","repo":"rose-stl-lab/mfrnp","repo_kind":"official","path":"lib/utils.py","file_url":"https://github.com/rose-stl-lab/mfrnp/blob/HEAD/lib/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cfeb7bf253ab15eb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}