Designing Poisson Integrators Through Machine Learning

Read original: arXiv:2403.20139 - Published 4/1/2024 by Miguel Vaquero, David Mart'in de Diego, Jorge Cort'es
Total Score

0

Designing Poisson Integrators Through Machine Learning

Sign in to get full access

or

If you already have an account, we'll log you in

Introduction

The paper discusses the importance of Hamiltonian systems in science and engineering, and the role of geometry in understanding their dynamical behavior. While symplectic geometry has been widely used for developing accurate numerical simulations (symplectic integrators) of Hamiltonian systems, the more general Poisson geometry poses challenges due to its irregular nature. The authors note a lack of general methods for obtaining Poisson integrators, although some attempts exist for linear and integrable Poisson structures.

The paper aims to combine differential geometry with machine learning techniques to develop Poisson integrators. It contributes a geometric setting for describing Poisson geometric integrators on integrable Poisson manifolds, a method for approximating the Hamilton-Jacobi equation using machine learning techniques, and an illustration using the rigid body example.

The authors highlight recent efforts in using symplectic groupoids and symplectic realizations to generate Poisson integrators for linear and integrable cases. Additionally, they mention the use of Poisson structure in learning methods and the design of Poisson neural networks for constant rank Poisson Hamiltonian systems based on the Darboux-Lie theorem.

A Quick Review of Geometry

The provided section introduces some basic concepts in symplectic and Poisson geometry that will be used throughout the paper. It defines symplectic manifolds, which consist of a manifold and a non-degenerate closed two-form on it. It gives the example of the cotangent bundle of a manifold equipped with the canonical symplectic form. Lagrangian submanifolds, which are submanifolds on which the symplectic form vanishes, are also defined.

The section then moves on to Poisson manifolds, which are manifolds endowed with a specific type of bivector field called the Poisson bivector. Casimir functions, which are functions that Poisson commute with all other functions, are introduced. Poisson mappings between Poisson manifolds, which preserve or reverse the Poisson structures, are defined.

Hamiltonian vector fields associated to functions (Hamiltonians) on Poisson manifolds are described. Their flows are Poisson diffeomorphisms.

The motivation for symplectic realizations of Poisson manifolds is given - they allow techniques from symplectic geometry to be used to study the singular Poisson structures. Symplectic groupoids, which are groupoids equipped with symplectic structures satisfying certain conditions, are defined as a way to obtain such symplectic realizations locally.

Finally, an example of a symplectic groupoid integrating a Poisson Lie algebra is provided.

Lagrangian Bisections and Poisson Diffeomorphisms: The Hamilton-Jacobi Equation

The paper discusses methods for approximating the Hamiltonian flow, which describes the time evolution of a dynamical system. The key ideas are:

The authors consider a Poisson manifold and assume there exists a symplectic groupoid associated with it. They observe that Poisson diffeomorphisms on the Poisson manifold can be described through Lagrangian submanifolds in the symplectic groupoid.

The paper cites a previous result showing that if a Lagrangian submanifold satisfies certain conditions, it induces a Poisson diffeomorphism on the original Poisson manifold. This motivates characterizing the Lagrangian submanifold corresponding to the Hamiltonian flow of interest.

The characterization leads to a geometric version of the Hamilton-Jacobi equation, a partial differential equation (PDE) whose solution describes the Hamiltonian flow.

Since solving the PDE analytically is challenging, the paper proposes an approximation approach using machine learning techniques. It involves parametrizing candidate solutions with a neural network, evaluating the PDE residual on a set of points, and minimizing the mean squared residual to find the neural network weights that best approximate the PDE solution.

The optimization leverages backpropagation to compute gradients and modern algorithms like stochastic gradient descent for efficiency. This machine learning-based strategy provides an alternative to classical approximation methods like Taylor expansions.

Numerical Simulations

The paper applies the described methodology to the rigid body system, a benchmark for studying Poisson dynamics. The system is defined on the Lie-Poisson structure of the special orthogonal group SO(3), with a specific Hamiltonian involving the squared coordinates.

To illustrate the methodology, the authors uniformly sampled 80,000 points around the origin, with coordinates ranging from -3 to 3. They used the ADAM optimization algorithm with a neural network architecture to approximately solve an equation related to the system.

The neural network had four layers with 500, 250, 250, and 250 neurons, respectively, and used the hyperbolic tangent activation function. The weights were initialized using Xavier initialization.

Two different initial conditions were chosen to showcase the outcomes of the obtained integrators. The simulated trajectories exhibited qualitative behavior similar to the original system, with good conservation of the Hamiltonian and Casimir functions, even for long simulations.

The evolution of the Hamiltonian, Casimir, and the difference from the original dynamics are plotted for a long trajectory spanning 10,000 iterations with a step size of 0.1.

Figure 1:  Comparison of the simulated dynamics (blue) and the real trajectory (red) when the initial condition are the points (1,1,2)112(1,1,2)( 1 , 1 , 2 ) (top plot) and (3,2,0)320(3,2,0)( 3 , 2 , 0 ) (bottom plot).

Figure 1: Comparison of the simulated dynamics (blue) and the real trajectory (red) when the initial condition are the points (1,1,2)112(1,1,2)( 1 , 1 , 2 ) (top plot) and (3,2,0)320(3,2,0)( 3 , 2 , 0 ) (bottom plot).

Figure 2: Top: Evolution of the norm of the difference between the simulated and the real trajectories for 10,0001000010,00010 , 000 iterations with stepsize 0.10.10.10.1. The difference stays bounded due to the conservation of the underlying geometry. Middle:  Evolution of the Hamiltonian when evaluated on the simulated trajectory. The Hamiltonian is almost conserved even for very long trajectories. Bottom:  Evolution of the Casimir. The Casimir function is conserved up to rounding error.

Figure 2: Top: Evolution of the norm of the difference between the simulated and the real trajectories for 10,0001000010,00010 , 000 iterations with stepsize 0.10.10.10.1. The difference stays bounded due to the conservation of the underlying geometry. Middle: Evolution of the Hamiltonian when evaluated on the simulated trajectory. The Hamiltonian is almost conserved even for very long trajectories. Bottom: Evolution of the Casimir. The Casimir function is conserved up to rounding error.

Conclusions and Future Work

The paper discusses two potential research directions for the geometric framework introduced in a previous work (Vaquero et al., 2023).

Firstly, the authors aim to extend the framework to any Poisson manifold by approximating the symplectic groupoid when it is not readily available. Two main constructions proposed by Cabrera (2022) will be explored to produce local symplectic groupoids that can integrate any Poisson manifold locally.

Secondly, the authors propose a blended approach that combines the Hamilton-Jacobi equation with available trajectory data. This approach is inspired by Physics-Informed Neural Networks (PINNs) described by Raissi et al. (2019). The objective is to find the Lagrangian submanifold that minimizes an objective function composed of two terms: one term ensures the Hamilton-Jacobi equation is satisfied, and the other term ensures the Lagrangian submanifold induces a Poisson transformation that matches the given data.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

Designing Poisson Integrators Through Machine Learning
Total Score

0

Designing Poisson Integrators Through Machine Learning

Miguel Vaquero, David Mart'in de Diego, Jorge Cort'es

This paper presents a general method to construct Poisson integrators, i.e., integrators that preserve the underlying Poisson geometry. We assume the Poisson manifold is integrable, meaning there is a known local symplectic groupoid for which the Poisson manifold serves as the set of units. Our constructions build upon the correspondence between Poisson diffeomorphisms and Lagrangian bisections, which allows us to reformulate the design of Poisson integrators as solutions to a certain PDE (Hamilton-Jacobi). The main novelty of this work is to understand the Hamilton-Jacobi PDE as an optimization problem, whose solution can be easily approximated using machine learning related techniques. This research direction aligns with the current trend in the PDE and machine learning communities, as initiated by Physics- Informed Neural Networks, advocating for designs that combine both physical modeling (the Hamilton-Jacobi PDE) and data.

Read more

4/1/2024

🌿

Total Score

0

Leveraging Hamilton-Jacobi PDEs with time-dependent Hamiltonians for continual scientific machine learning

Paula Chen, Tingwei Meng, Zongren Zou, J'er^ome Darbon, George Em Karniadakis

We address two major challenges in scientific machine learning (SciML): interpretability and computational efficiency. We increase the interpretability of certain learning processes by establishing a new theoretical connection between optimization problems arising from SciML and a generalized Hopf formula, which represents the viscosity solution to a Hamilton-Jacobi partial differential equation (HJ PDE) with time-dependent Hamiltonian. Namely, we show that when we solve certain regularized learning problems with integral-type losses, we actually solve an optimal control problem and its associated HJ PDE with time-dependent Hamiltonian. This connection allows us to reinterpret incremental updates to learned models as the evolution of an associated HJ PDE and optimal control problem in time, where all of the previous information is intrinsically encoded in the solution to the HJ PDE. As a result, existing HJ PDE solvers and optimal control algorithms can be reused to design new efficient training approaches for SciML that naturally coincide with the continual learning framework, while avoiding catastrophic forgetting. As a first exploration of this connection, we consider the special case of linear regression and leverage our connection to develop a new Riccati-based methodology for solving these learning problems that is amenable to continual learning applications. We also provide some corresponding numerical examples that demonstrate the potential computational and memory advantages our Riccati-based approach can provide.

Read more

5/8/2024

📊

Total Score

0

Energy-consistent integration of mechanical systems based on Livens principle

Philipp L. Kinon, Peter Betsch

In this work we make use of Livens principle (sometimes also referred to as Hamilton-Pontryagin principle) in order to obtain a novel structure-preserving integrator for mechanical systems. In contrast to the canonical Hamiltonian equations of motion, the Euler-Lagrange equations pertaining to Livens principle circumvent the need to invert the mass matrix. This is an essential advantage with respect to singular mass matrices, which can yield severe difficulties for the modelling and simulation of multibody systems. Moreover, Livens principle unifies both Lagrangian and Hamiltonian viewpoints on mechanics. Additionally, the present framework avoids the need to set up the system's Hamiltonian. The novel scheme algorithmically conserves a general energy function and aims at the preservation of momentum maps corresponding to symmetries of the system. We present an extension to mechanical systems subject to holonomic constraints. The performance of the newly devised method is studied in representative examples.

Read more

4/1/2024

🧠

Total Score

0

Learning from Integral Losses in Physics Informed Neural Networks

Ehsan Saleh, Saba Ghaffari, Timothy Bretl, Luke Olson, Matthew West

This work proposes a solution for the problem of training physics-informed networks under partial integro-differential equations. These equations require an infinite or a large number of neural evaluations to construct a single residual for training. As a result, accurate evaluation may be impractical, and we show that naive approximations at replacing these integrals with unbiased estimates lead to biased loss functions and solutions. To overcome this bias, we investigate three types of potential solutions: the deterministic sampling approaches, the double-sampling trick, and the delayed target method. We consider three classes of PDEs for benchmarking; one defining Poisson problems with singular charges and weak solutions of up to 10 dimensions, another involving weak solutions on electro-magnetic fields and a Maxwell equation, and a third one defining a Smoluchowski coagulation problem. Our numerical results confirm the existence of the aforementioned bias in practice and also show that our proposed delayed target approach can lead to accurate solutions with comparable quality to ones estimated with a large sample size integral. Our implementation is open-source and available at https://github.com/ehsansaleh/btspinn.

Read more

6/12/2024