# Learned Lagrangian Models of PDEs via Euler–Lagrange Residual Minimization

*Lyra Zhornyak, Eric Forgoston, M. Ani Hsieh*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151132) · [OpenReview](https://openreview.net/forum?id=clkBSNjrrR) · [alphaXiv](https://www.alphaxiv.org/abs/2605.07157) · [Open on the map](../papers.html#p151132)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Physics-Guided Neural Operators](../pgroup/169.md) · Type: new method · Keywords: learned Lagrangian, PDE forecasting, Euler-Lagrange residual, mesh-free integrator, physics-informed ML

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Scientific and Medical Architectures › Neural Operators; [AI for Science](../areas/ai-for-science.md) › Physics-Informed Neural Modeling › Structure-Preserving Neural Operators

## Summary
Learned Lagrangian Models of PDEs via Euler-Lagrange Residual Minimization introduces an optimization-based integrator that minimizes the Euler-Lagrange residual on local space-time patches to forecast PDE dynamics with stable long-range predictions.

## Explained to a 5-year-old
The paper makes a computer model that can guess how things move when they follow certain rules, like waves or swinging pendulums. Instead of stepping through time step by step, it solves a big math problem that keeps the model’s predictions stable for a long time. It works on any shape of space and can handle different boundaries without having to retrain. The method can be used with many existing machine learning models that already know the physics. This helps scientists get more reliable predictions for complex physical systems.

## Explained to a 5-year-old, longer
The paper creates a new way for computers to learn how certain physical things move, like water waves or swinging pendulums. It uses a special kind of math that keeps track of energy, so the predictions stay stable for a long time. Instead of moving step by step, the computer solves a big optimization problem on small patches of space and time. This approach can handle different shapes of space without needing a fixed grid. It also works with any boundary conditions, meaning it can predict what happens at the edges of the domain. The method does not require the learned model to follow any particular structure, so it can be combined with many other models. Researchers tested it on a double pendulum, a one-dimensional wave, and a two-dimensional wave. The results show that the predictions are as good as the best traditional time-step methods. Importantly, the model can generalize to new situations without being retrained. This makes it useful for scientists who need reliable long-range forecasts of complex physical systems. The approach scales linearly with the size of the problem, so it can handle larger domains efficiently. Overall, it provides a stable and flexible tool for learning and forecasting PDE dynamics.

## For a technical reader
The paper introduces an integrator that learns a continuous Lagrangian for PDE systems and uses an optimization routine to minimize the Euler-Lagrange residual on local space-time patches. This design separates the error from the learned model (phase error) from the error introduced by time integration (conservation error), leading to stable long-range forecasts. The approach scales linearly with problem size via a Jacobi iteration and imposes no structural constraints on the underlying neural network, allowing it to be combined with existing physics-guided ML models. Experiments on a double pendulum, a 1D wave equation, and a 2D wave equation demonstrate that the method matches the accuracy of classical symplectic integrators and generalizes to new dynamics without retraining. The result is a flexible, scalable tool for accurate, long-range prediction of PDE-governed systems that can be integrated into scientific computing pipelines.

## Problem
Accurately forecasting the dynamics of systems governed by partial differential equations using learned continuous Lagrangians while ensuring stable long-range predictions and separating model error from integration error.

## Method
The approach formulates an optimization-based integrator that minimizes the squared Euler-Lagrange residual on local space-time patches using a mesh-free near-symplectic construction. It decouples model error from integration error by treating learning and integration separately, and scales linearly with domain size via Jacobi iteration. The learned network has no structural constraints, allowing integration with existing physics-guided ML models.

## Results
The approach attains error comparable to classical symplectic integrators and generalizes to spatially varying dynamics and arbitrary boundary conditions without retraining.

## Contributions
A new optimization-based integrator that directly uses a learned continuous Lagrangian, decouples model and integration errors, scales linearly with domain size, and works with arbitrary boundary conditions without retraining.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151132)
