arXiv · 2510.06367
Lagrangian neural ODEs: Measuring the existence of a Lagrangian with Helmholtz metrics
Abstract
Neural ODEs are a widely used, powerful machine learning technique in particular for physics. However, not every solution is physical in that it is an Euler-Lagrange equation. We present Helmholtz metrics to quantify this resemblance for a given ODE and demonstrate their capabilities on several fundamental systems with noise. We combine them with a second order neural ODE to form a Lagrangian neural ODE, which allows to learn Euler-Lagrange equations in a direct fashion and with zero additional inference cost. We demonstrate that, using only positional data, they can distinguish Lagrangian and non-Lagrangian systems and improve the neural ODE solutions.
Explore related subjects
Keep this discovery
Luca Wolf, Tobias Buck, Bjoern Malte Schaefer. 2025-10-07. Lagrangian neural ODEs: Measuring the existence of a Lagrangian with Helmholtz metrics. https://arxiv.org/abs/2510.06367
Cite the original work for its findings. Save a collection to share your selection of sources.