Energetic Variational Neural Network Discretizations of Gradient Flows
Ziqing Hu, Chun Liu, Yiwei Wang, Zhiliang Xu
TL;DR
The paper tackles structure-preserving computation of gradient flows by embedding neural-network spatial discretization within the energetic variational framework. EVNN discretizes the energy-dissipation law directly and employs a temporal-then-spatial strategy to achieve memory efficiency, enabling mesh-free simulations in high dimensions for both $L^2$-gradient flows and generalized diffusions. Key contributions include a semi-discrete energy law with an optimization-based time step (minimizing movement) for Eulerian problems and a diffeomorphism-based, Lagrangian EVNN for diffeomorphic transport, along with practical NN architectures (shallow/ResNet for Eulerian, planar/ICNN-based for Lagrangian) to preserve positivity, mass conservation, and energy decay. Numerical experiments across Poisson, heat, Allen–Cahn, Fokker–Planck, and porous medium equations demonstrate energy stability, accuracy, and the mesh-free advantage, including high-dimensional tests up to four dimensions. The work offers a scalable, physics-informed NN framework with potential impact on high-dimensional gradient flows, density estimation, and related multiscale PDEs in science and machine learning.
Abstract
We present a structure-preserving Eulerian algorithm for solving $L^2$-gradient flows and a structure-preserving Lagrangian algorithm for solving generalized diffusions. Both algorithms employ neural networks as tools for spatial discretization. Unlike most existing methods that construct numerical discretizations based on the strong or weak form of the underlying PDE, the proposed schemes are constructed based on the energy-dissipation law directly. This guarantees the monotonic decay of the system's free energy, which avoids unphysical states of solutions and is crucial for the long-term stability of numerical computations. To address challenges arising from nonlinear neural network discretization, we perform temporal discretizations on these variational systems before spatial discretizations. This approach is computationally memory-efficient when implementing neural network-based algorithms. The proposed neural network-based schemes are mesh-free, allowing us to solve gradient flows in high dimensions. Various numerical experiments are presented to demonstrate the accuracy and energy stability of the proposed numerical schemes.
