All models

Taylor-Net (Symplectic Taylor NN)

A symplectic network for Hamiltonian systems: two Taylor-series sub-networks and a fourth-order integrator.

Physics and weather · 310 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (69 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
4.1K
Operations
310
Framework
PyTorch
Recurrent
Yes
Published
Journal of Computational Physics (arXiv 2020)
Cited by
48 (as of 29 October 2026)
Authors
Yunjin Tong, Shiying Xiong, Xingzhe He and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m20909
Graph hash
e641756baacc5ab005a322c9a34d31797a697164199866e351d30b296d8b1904
Skeleton hash
8c8bc06ae9a8a9ce33c6b3c0611bd8a0d89cfb27910c73311af456b34291b036
Architecture hash
1ae62bd7402705c719b81985c65c2b93fa81d7674c222280020ba07014591daf
Diagram SHA-256
9af34914e5b6f51875c4e1fee68f7ee3186caaf60994bf552a0bf631518ea0e5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Taylor-net (Symplectic Taylor Neural Network) is a light-weight model for continuous, long-term prediction of a Hamiltonian system from sparse, short-term observations. The authors set two criteria for a network that preserves symplectic structure: the gradients of the Hamiltonian with respect to the generalized coordinates should be symmetric, and the temporal integration should be symplectic.

The model consists of two sub-networks whose outputs are combined by a fourth-order symplectic integrator. Both sub-networks take the form of a Taylor series expansion, and they learn the gradients of the position and of the momentum respectively. Each term is a three-layer network of the form linear, activation, linear, in which the weights of the two linear layers are the transpose of each other. Several such three-layer networks are combined linearly to keep the expressive power that one shallow network lacks. The symplectic integrator is implemented within a neural ODE architecture.

The paper tests the model on the pendulum, Lotka–Volterra, Kepler and Hénon–Heiles systems. It reports training on a period 6000 times shorter than the period it predicts.

Key idea. The paper built a network of symmetric Taylor-series terms, combined by a fourth-order symplectic integrator, that preserves the symplectic structure of a Hamiltonian system by construction.

  • taylor-net
  • taylor-nets
  • symplectic taylor neural networks
  • symplectic neural network
  • hamiltonian systems
  • hamiltonian dynamics
  • neural ode
  • symplectic integrator
  • pendulum

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tong2022symplecticneuralnetworkstaylor,
      title={Symplectic Neural Networks in Taylor Series Form for Hamiltonian Systems}, 
      author={Yunjin Tong and Shiying Xiong and Xingzhe He and Guanghan Pan and Bo Zhu},
      year={2022},
      eprint={2005.04986},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi={https://doi.org/10.1016/j.jcp.2021.110325},
      url={https://arxiv.org/abs/2005.04986}, 
}