Simplifying Hamiltonian and Lagrangian Neural Networks via Explicit Constraints
Marc Finzi, Ke Alexander Wang, Andrew Gordon Wilson
摘要
Reasoning about the physical world requires models that are endowed with the right inductive biases to learn the underlying dynamics. Recent works improve generalization for predicting trajectories by learning the Hamiltonian or Lagrangian of a system rather than the differential equations directly. While these methods encode the constraints of the systems using generalized coordinates, we show that embedding the system into Cartesian coordinates and enforcing the constraints explicitly with Lagrange multipliers dramatically simplifies the learning problem. We introduce a series of challenging chaotic and extended-body systems, including systems with N -pendulums, spring coupling, magnetic fields, rigid rotors, and gyroscopes, to push the limits of current approaches. Our experiments show that Cartesian coordinates with explicit constraints lead to a 100x improvement in accuracy and data efficiency. Gyroscope system 260x 100x Gyroscope Hamiltonian Cartesian coordinates (easy to learn) Angular coordinates (hard to learn) Data-efficiency & accuracy H(X, P ) = 1 2 Tr(P M -1 P ) + gmX03 M -1 ii = (1 + 1/λi)/m for i = 1, 2, 3 M -1 00 = M -1 ij = 1/m for i = j H(q, p) = 1 2 p T M (q) -1 p + mg cos q2 M11 = sin 2 q2(I1 sin 2 q3 + I2 cos 2 q3) + cos 2 q2I3 M12 = M21 = (I1 -I2) sin q2 sin q3 cos q3 M33 = I3 M13 = M31 = I3 cos q2 M22 = I1 cos 2 q3 + I2 sin 2 q3,
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 33 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Lie Point Symmetry Data Augmentation for Neural PDE Solvers 引用了 Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Data
- Learning Articulated Rigid Body Dynamics with Lagrangian Graph Neural Network 引用了 Deconstructing the Inductive Biases of Hamiltonian Neural Networks
- Neural Symplectic Form: Learning Hamiltonian Equations on General Coordinate Systems 引用了 Symplectic Recurrent Neural Networks
- Deconstructing the Inductive Biases of Hamiltonian Neural Networks 引用了 Symplectic Recurrent Neural Networks
- Equivariant Graph Mechanics Networks with Constraints 引用了 Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Data
引用它的顶会 Paper33
- Equivariant Graph Mechanics Networks with ConstraintsWenbing Huang, Jiaqi Han, Yu Rong, Tingyang Xu 等ICLR 2022 · 107 次引用
- Lie Point Symmetry Data Augmentation for Neural PDE SolversJohannes Brandstetter, Max Welling, Daniel E. WorrallICML 2022 · 85 次引用
- Neural Symplectic Form: Learning Hamiltonian Equations on General Coordinate SystemsYuhan Chen, Takashi Matsubara, Takaharu YaguchiNeurIPS 2021 · 53 次引用
- Deconstructing the Inductive Biases of Hamiltonian Neural NetworksNate Gruver, Marc Anton Finzi, Samuel Don Stanton, Andrew Gordon WilsonICLR 2022 · 50 次引用
- Learning Articulated Rigid Body Dynamics with Lagrangian Graph Neural NetworkRavinder Bhattoo, Sayan Ranu, N. M. Anoop KrishnanNeurIPS 2022 · 39 次引用
它引用的 Paper2
相关 Paper
- Unsupervised Learning of Lagrangian Dynamics from Images for Prediction and ControlYaofeng Desmond Zhong, Naomi Ehrich LeonardNeurIPS 2020 · 49 次引用
- ModLaNets: Learning Generalisable Dynamics via Modularity and Physical Inductive BiasYupu Lu, Shijie Lin, Guanqi Chen, Jia PanICML 2022 · 10 次引用
- Scalable Graph Networks for Particle SimulationsKarolis Martinkus, Aurélien Lucchi, Nathanaël PerraudinAAAI 2021 · 11 次引用
- A Riemannian Framework for Learning Reduced-order Lagrangian DynamicsKatharina Friedl, Noémie Jaquier, Jens Lundell, Tamim Asfour 等ICLR 2025
- Geometric Contact Flows: Contactomorphisms for Dynamics and ControlAndrea Testa, Søren Hauberg, Tamim Asfour, Leonel RozoICML 2025
