{"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/codes-benchmarking-coupled-ode-surrogates","title":"CODES: Benchmarking Coupled ODE Surrogates","arxiv_id":"2410.20886","date":"2024-10-28","proceeding":null,"authors":["Robin Janssen","Immanuel Sulzer","Tobias Buck"],"abstract":"We introduce CODES, a benchmark for comprehensive evaluation of surrogate architectures for coupled ODE systems. Besides standard metrics like mean squared error (MSE) and inference time, CODES provides insights into surrogate behaviour across multiple dimensions like interpolation, extrapolation, sparse data, uncertainty quantification and gradient correlation. The benchmark emphasizes usability through features such as integrated parallel training, a web-based configuration generator, and pre-implemented baseline models and datasets. Extensive documentation ensures sustainability and provides the foundation for collaborative improvement. By offering a fair and multi-faceted comparison, CODES helps researchers select the most suitable surrogate for their specific dataset and application while deepening our understanding of surrogate learning behaviour.","url_abs":"https://arxiv.org/abs/2410.20886v2","url_pdf":"https://arxiv.org/pdf/2410.20886v2.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":"codes-benchmarking-coupled-ode-surrogates","repo_url":"https://github.com/robin-janssen/codes-benchmark","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"uncertainty-quantification","task_name":"Uncertainty Quantification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2410.20886","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.20886"}},"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/robin-janssen/codes-benchmark","reach":{"status":"ok","spdx":"GPL-3.0"}}],"summary":{"unverified":19},"by_repo_kind":{"official":{"samples":19,"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":19,"samples":[{"code_sha256_prefix":"591e9527a852cced","entry":"count_trainable_parameters","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"591e9527a852cced"}},{"code_sha256_prefix":"a34fcbdfece17d8a","entry":"create_date_based_directory","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/surrogates/DeepONet/don_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/surrogates/DeepONet/don_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"a34fcbdfece17d8a"}},{"code_sha256_prefix":"83a585d179e6daaa","entry":"custom_collate_fn","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/surrogates/DeepONet/don_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/surrogates/DeepONet/don_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"83a585d179e6daaa"}},{"code_sha256_prefix":"51fd95db84bf43ef","entry":"evaluate_accuracy","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_fcts.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_fcts.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"51fd95db84bf43ef"}},{"code_sha256_prefix":"c459e7c78826be69","entry":"evaluate_iterative_predictions","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_fcts.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_fcts.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c459e7c78826be69"}},{"code_sha256_prefix":"2031566e580954ac","entry":"format_surrogate_title","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_tuning.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"2031566e580954ac"}},{"code_sha256_prefix":"f7c8766576b5495b","entry":"get_required_models_list","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f7c8766576b5495b"}},{"code_sha256_prefix":"d7822d4415369a7a","entry":"load_model","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"d7822d4415369a7a"}},{"code_sha256_prefix":"f9aad6ad4aa22c0e","entry":"load_model_test_losses","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_study.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_study.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f9aad6ad4aa22c0e"}},{"code_sha256_prefix":"925863542fe26017","entry":"load_study_config","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_study.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_study.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"925863542fe26017"}},{"code_sha256_prefix":"0ac6a39f5df77fc9","entry":"load_yaml_config","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/optuna_fcts.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/optuna_fcts.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"0ac6a39f5df77fc9"}},{"code_sha256_prefix":"6bc60080cebd79b0","entry":"make_optuna_params","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/optuna_fcts.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/optuna_fcts.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"6bc60080cebd79b0"}},{"code_sha256_prefix":"54c10723342c2d45","entry":"mass_conservation_loss","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/surrogates/DeepONet/train_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/surrogates/DeepONet/train_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"54c10723342c2d45"}},{"code_sha256_prefix":"264301fb71e3aa32","entry":"moving_average","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_study.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_study.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"264301fb71e3aa32"}},{"code_sha256_prefix":"7e5cdee9c479cfc4","entry":"pareto_front","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_tuning.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7e5cdee9c479cfc4"}},{"code_sha256_prefix":"f3a3e2b73a897220","entry":"pareto_front_mask","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/tune/evaluate_tuning.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/tune/evaluate_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f3a3e2b73a897220"}},{"code_sha256_prefix":"c5228e11ce7bb0e2","entry":"plot_uncertainty_confidence","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_plots.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_plots.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c5228e11ce7bb0e2"}},{"code_sha256_prefix":"8905b8c7d4a32557","entry":"read_yaml_config","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/surrogates/DeepONet/don_utils.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/surrogates/DeepONet/don_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"8905b8c7d4a32557"}},{"code_sha256_prefix":"c278168ce500d833","entry":"save_plot_counter","repo":"robin-janssen/codes-benchmark","repo_kind":"official","path":"codes/benchmark/bench_plots.py","file_url":"https://github.com/robin-janssen/codes-benchmark/blob/HEAD/codes/benchmark/bench_plots.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c278168ce500d833"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}