{"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/neural-laplace-learning-diverse-classes-of","title":"Neural Laplace: Learning diverse classes of differential equations in the Laplace domain","arxiv_id":"2206.04843","date":"2022-06-10","proceeding":null,"authors":["Samuel Holt","Zhaozhi Qian","Mihaela van der Schaar"],"abstract":"Neural Ordinary Differential Equations model dynamical systems with ODEs learned by neural networks. However, ODEs are fundamentally inadequate to model systems with long-range dependencies or discontinuities, which are common in engineering and biological systems. Broader classes of differential equations (DE) have been proposed as remedies, including delay differential equations and integro-differential equations. Furthermore, Neural ODE suffers from numerical instability when modelling stiff ODEs and ODEs with piecewise forcing functions. In this work, we propose Neural Laplace, a unified framework for learning diverse classes of DEs including all the aforementioned ones. Instead of modelling the dynamics in the time domain, we model it in the Laplace domain, where the history-dependencies and discontinuities in time can be represented as summations of complex exponentials. To make learning more efficient, we use the geometrical stereographic map of a Riemann sphere to induce more smoothness in the Laplace domain. In the experiments, Neural Laplace shows superior performance in modelling and extrapolating the trajectories of diverse classes of DEs, including the ones with complex history dependency and abrupt changes.","url_abs":"https://arxiv.org/abs/2206.04843v3","url_pdf":"https://arxiv.org/pdf/2206.04843v3.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":"neural-laplace-learning-diverse-classes-of","repo_url":"https://github.com/samholt/neurallaplace","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"neural-laplace-learning-diverse-classes-of","repo_url":"https://github.com/vanderschaarlab/neurallaplace","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2206.04843","atlas_url":"https://app.syntology.ai/?focus=2206.04843","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.04843"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/vanderschaarlab/neurallaplace","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/samholt/neurallaplace","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"ran_draft_wrong":2,"unverified":3},"by_repo_kind":{"official":{"samples":13,"ran":10,"repositories":2}},"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":"3d1063240b41f7e7","entry":"basic_collate_fn","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/data_utils.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/data_utils.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":"3d1063240b41f7e7"}},{"code_sha256_prefix":"fc9a64735be0911c","entry":"create_classifier","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/ode_models.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/ode_models.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fc9a64735be0911c"}},{"code_sha256_prefix":"55f4cfe6a29a744b","entry":"dde_ramp_loading_time_sol","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/datasets.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/datasets.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":"55f4cfe6a29a744b"}},{"code_sha256_prefix":"b633769ffe59821d","entry":"dde_ramp_loading_time_sol","repo":"vanderschaarlab/neurallaplace","repo_kind":"official","path":"experiments/datasets.py","file_url":"https://github.com/vanderschaarlab/neurallaplace/blob/HEAD/experiments/datasets.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":"b633769ffe59821d"}},{"code_sha256_prefix":"012fddf9316ca0e7","entry":"get_device","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/data_utils.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/data_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"012fddf9316ca0e7"}},{"code_sha256_prefix":"ce33d657a3e3f286","entry":"integro_de","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/datasets.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/datasets.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":"ce33d657a3e3f286"}},{"code_sha256_prefix":"132869b5387d420e","entry":"split_last_dim","repo":"vanderschaarlab/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/data_utils.py","file_url":"https://github.com/vanderschaarlab/neurallaplace/blob/HEAD/experiments/baseline_models/data_utils.py","link_basis":"harvester_set","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":"132869b5387d420e"}},{"code_sha256_prefix":"20591e4d72a66e22","entry":"split_last_dim","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/data_utils.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/data_utils.py","link_basis":"harvester_set","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":"20591e4d72a66e22"}},{"code_sha256_prefix":"4a27044555a5bac2","entry":"stiffvdp","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/datasets.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/datasets.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":"4a27044555a5bac2"}},{"code_sha256_prefix":"0bedd0e434f01ebf","entry":"stiffvdp","repo":"vanderschaarlab/neurallaplace","repo_kind":"official","path":"experiments/datasets.py","file_url":"https://github.com/vanderschaarlab/neurallaplace/blob/HEAD/experiments/datasets.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":"0bedd0e434f01ebf"}},{"code_sha256_prefix":"08c0cfca21c35cc8","entry":"create_LatentODE_model","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/ode_models.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/ode_models.py","link_basis":"harvester_set","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":"08c0cfca21c35cc8"}},{"code_sha256_prefix":"3641153c7a8fad48","entry":"create_LatentODE_model","repo":"vanderschaarlab/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/ode_models.py","file_url":"https://github.com/vanderschaarlab/neurallaplace/blob/HEAD/experiments/baseline_models/ode_models.py","link_basis":"harvester_set","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":"3641153c7a8fad48"}},{"code_sha256_prefix":"b97f87bade2026b7","entry":"get_mask","repo":"samholt/neurallaplace","repo_kind":"official","path":"experiments/baseline_models/ode_models.py","file_url":"https://github.com/samholt/neurallaplace/blob/HEAD/experiments/baseline_models/ode_models.py","link_basis":"harvester_set","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":"b97f87bade2026b7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}