{"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/deep-adaptive-sampling-for-surrogate-modeling","title":"Deep adaptive sampling for surrogate modeling without labeled data","arxiv_id":"2402.11283","date":"2024-02-17","proceeding":null,"authors":["Xili Wang","Kejun Tang","Jiayu Zhai","Xiaoliang Wan","Chao Yang"],"abstract":"Surrogate modeling is of great practical significance for parametric differential equation systems. In contrast to classical numerical methods, using physics-informed deep learning methods to construct simulators for such systems is a promising direction due to its potential to handle high dimensionality, which requires minimizing a loss over a training set of random samples. However, the random samples introduce statistical errors, which may become the dominant errors for the approximation of low-regularity and high-dimensional problems. In this work, we present a deep adaptive sampling method for surrogate modeling ($\\text{DAS}^2$), where we generalize the deep adaptive sampling (DAS) method [62] [Tang, Wan and Yang, 2023] to build surrogate models for low-regularity parametric differential equations. In the parametric setting, the residual loss function can be regarded as an unnormalized probability density function (PDF) of the spatial and parametric variables. This PDF is approximated by a deep generative model, from which new samples are generated and added to the training set. Since the new samples match the residual-induced distribution, the refined training set can further reduce the statistical error in the current approximate solution. We demonstrate the effectiveness of $\\text{DAS}^2$ with a series of numerical experiments, including the parametric lid-driven 2D cavity flow problem with a continuous range of Reynolds numbers from 100 to 1000.","url_abs":"https://arxiv.org/abs/2402.11283v1","url_pdf":"https://arxiv.org/pdf/2402.11283v1.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":"deep-adaptive-sampling-for-surrogate-modeling","repo_url":"https://github.com/MJfadeaway/DAS-2","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.11283","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.11283"}},"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/MJfadeaway/DAS-2","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":10,"unverified":6},"by_repo_kind":{"official":{"samples":16,"ran":10,"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":"9cac92f6484b1d10","entry":"entropy_loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_fixed.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_fixed.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9cac92f6484b1d10"}},{"code_sha256_prefix":"3b172cb085b5ae82","entry":"entropy_loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_train.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3b172cb085b5ae82"}},{"code_sha256_prefix":"d7b357b308f990f7","entry":"entropy_loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Operator_learning/das_oplearning.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Operator_learning/das_oplearning.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d7b357b308f990f7"}},{"code_sha256_prefix":"6d7f5b45c76f2dfa","entry":"entropy_loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Optimal_control/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Optimal_control/das_train.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6d7f5b45c76f2dfa"}},{"code_sha256_prefix":"b924ea760370518c","entry":"flatten_sum","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/BR_lib/BR_data.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/BR_lib/BR_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b924ea760370518c"}},{"code_sha256_prefix":"008dca1dbd361ccd","entry":"length_factor","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Optimal_control/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Optimal_control/das_train.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"008dca1dbd361ccd"}},{"code_sha256_prefix":"c8171b470687f787","entry":"loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_train.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c8171b470687f787"}},{"code_sha256_prefix":"feabd500549c048c","entry":"loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Operator_learning/das_oplearning.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Operator_learning/das_oplearning.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"feabd500549c048c"}},{"code_sha256_prefix":"87af8f0ef57cfc9e","entry":"uu","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/data.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"87af8f0ef57cfc9e"}},{"code_sha256_prefix":"640c69f3737dbb7a","entry":"yd","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Optimal_control/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Optimal_control/das_train.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"640c69f3737dbb7a"}},{"code_sha256_prefix":"d481fa3ca02b9f3a","entry":"absolute_error","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_fixed.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_fixed.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d481fa3ca02b9f3a"}},{"code_sha256_prefix":"fd0ebec955ca8a6d","entry":"line_search_wolfe1","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/linesearch.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/linesearch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fd0ebec955ca8a6d"}},{"code_sha256_prefix":"9762ab5f23f45a06","entry":"log_standard_Gaussian","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/BR_lib/BR_data.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/BR_lib/BR_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9762ab5f23f45a06"}},{"code_sha256_prefix":"2767233d06d2a32a","entry":"loss_func","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_fixed.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_fixed.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2767233d06d2a32a"}},{"code_sha256_prefix":"5c13cffdbbc3ac03","entry":"relative_error","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/das_train.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/das_train.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5c13cffdbbc3ac03"}},{"code_sha256_prefix":"64a3d2b824b7001e","entry":"scalar_search_wolfe1","repo":"MJfadeaway/DAS-2","repo_kind":"official","path":"Lid-driven_cavity_flow/linesearch.py","file_url":"https://github.com/MJfadeaway/DAS-2/blob/HEAD/Lid-driven_cavity_flow/linesearch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"64a3d2b824b7001e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}