{"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/symplectic-neural-networks-in-taylor-series","title":"Symplectic Neural Networks in Taylor Series Form for Hamiltonian Systems","arxiv_id":"2005.04986","date":"2020-05-11","proceeding":null,"authors":["Yunjin Tong","Shiying Xiong","Xingzhe He","Guanghan Pan","Bo Zhu"],"abstract":"We propose an effective and lightweight learning algorithm, Symplectic Taylor Neural Networks (Taylor-nets), to conduct continuous, long-term predictions of a complex Hamiltonian dynamic system based on sparse, short-term observations. At the heart of our algorithm is a novel neural network architecture consisting of two sub-networks. Both are embedded with terms in the form of Taylor series expansion designed with symmetric structure. The key mechanism underpinning our infrastructure is the strong expressiveness and special symmetric property of the Taylor series expansion, which naturally accommodate the numerical fitting process of the gradients of the Hamiltonian with respect to the generalized coordinates as well as preserve its symplectic structure. We further incorporate a fourth-order symplectic integrator in conjunction with neural ODEs' framework into our Taylor-net architecture to learn the continuous-time evolution of the target systems while simultaneously preserving their symplectic structures. We demonstrated the efficacy of our Taylor-net in predicting a broad spectrum of Hamiltonian dynamic systems, including the pendulum, the Lotka--Volterra, the Kepler, and the H\\'enon--Heiles systems. Our model exhibits unique computational merits by outperforming previous methods to a great extent regarding the prediction accuracy, the convergence rate, and the robustness despite using extremely small training data with a short training period (6000 times shorter than the predicting period), small sample sizes, and no intermediate data to train the networks.","url_abs":"https://arxiv.org/abs/2005.04986v4","url_pdf":"https://arxiv.org/pdf/2005.04986v4.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":"symplectic-neural-networks-in-taylor-series","repo_url":"https://github.com/ytong6/Taylor-net","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"form","task_name":"Form"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2005.04986","atlas_url":"https://app.syntology.ai/?focus=2005.04986","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2005.04986"}},"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/ytong6/Taylor-net","reach":null}],"summary":{"ran_draft_wrong":2,"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":5,"ran":3,"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":5,"samples":[{"code_sha256_prefix":"f7d10ca16ed992d3","entry":"four_SymInt","repo":"ytong6/Taylor-net","repo_kind":"official","path":"Pendulum/Pendulum.py","file_url":"https://github.com/ytong6/Taylor-net/blob/HEAD/Pendulum/Pendulum.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f7d10ca16ed992d3"}},{"code_sha256_prefix":"c5a66edefeb2046f","entry":"four_SymInt","repo":"ytong6/Taylor-net","repo_kind":"official","path":"Lotka_Volterra/LV.py","file_url":"https://github.com/ytong6/Taylor-net/blob/HEAD/Lotka_Volterra/LV.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c5a66edefeb2046f"}},{"code_sha256_prefix":"d47dad9ee74d1b3d","entry":"to_np","repo":"ytong6/Taylor-net","repo_kind":"official","path":"Pendulum/Pendulum.py","file_url":"https://github.com/ytong6/Taylor-net/blob/HEAD/Pendulum/Pendulum.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d47dad9ee74d1b3d"}},{"code_sha256_prefix":"1731e3b9ba9429d0","entry":"Taylor_act","repo":"ytong6/Taylor-net","repo_kind":"official","path":"Pendulum/Pendulum.py","file_url":"https://github.com/ytong6/Taylor-net/blob/HEAD/Pendulum/Pendulum.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":"1731e3b9ba9429d0"}},{"code_sha256_prefix":"5b7013f129b90b47","entry":"four_SymInt","repo":"ytong6/Taylor-net","repo_kind":"official","path":"Henon_Heiles/Henon_Heiles.py","file_url":"https://github.com/ytong6/Taylor-net/blob/HEAD/Henon_Heiles/Henon_Heiles.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":"5b7013f129b90b47"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}