Skip to main content
QUICK REVIEW

[Paper Review] Numerical Analysis on Neural Network Projected Schemes for Approximating One Dimensional Wasserstein Gradient Flows

Xinzhe Zuo, Jiaxi Zhao|arXiv (Cornell University)|Feb 26, 2024
Fluid Dynamics and Turbulent FlowsEngineering3 citations
TL;DR

This paper proposes a neural network projected scheme using two-layer ReLU networks to numerically approximate one-dimensional Wasserstein gradient flows. By formulating the dynamics as a preconditioned gradient descent with a metric tensor from the statistical manifold, the method achieves first- or second-order consistency and demonstrates high accuracy (e.g., $10^{-3}$ error with <100 neurons), while ensuring mesh stability and enabling efficient implementation via automatic differentiation.

ABSTRACT

We provide a numerical analysis and computation of neural network projected schemes for approximating one dimensional Wasserstein gradient flows. We approximate the Lagrangian mapping functions of gradient flows by the class of two-layer neural network functions with ReLU (rectified linear unit) activation functions. The numerical scheme is based on a projected gradient method, namely the Wasserstein natural gradient, where the projection is constructed from the $L^2$ mapping spaces onto the neural network parameterized mapping space. We establish theoretical guarantees for the performance of the neural projected dynamics. We derive a closed-form update for the scheme with well-posedness and explicit consistency guarantee for a particular choice of network structure. General truncation error analysis is also established on the basis of the projective nature of the dynamics. Numerical examples, including gradient drift Fokker-Planck equations, porous medium equations, and Keller-Segel models, verify the accuracy and effectiveness of the proposed neural projected algorithm.

Motivation & Objective

  • To provide a theoretical analysis of neural network projected schemes for approximating one-dimensional Wasserstein gradient flows.
  • To establish convergence and stability guarantees for neural projected dynamics in the context of Lagrangian mapping functions.
  • To develop a numerically efficient and implementable algorithm using automatic differentiation and moving-mesh-like dynamics.
  • To verify the accuracy and robustness of the scheme on benchmark PDEs such as Fokker-Planck, porous medium, and Keller-Segel equations.
  • To explore the potential of neural projected dynamics as a theoretically grounded computational framework for high-dimensional PDEs and sampling problems.

Proposed method

  • The method uses two-layer ReLU neural networks to parameterize the Lagrangian mapping functions of Wasserstein gradient flows.
  • It applies a projected gradient method—specifically, the Wasserstein natural gradient—by projecting onto the neural network parameterized mapping space from $L^2$ mapping space.
  • A closed-form update rule is derived for the neural projected dynamics, ensuring well-posedness and explicit consistency guarantees.
  • The scheme is interpreted as a moving-mesh method in Lagrangian coordinates, with theoretical proof that mesh degeneracy does not occur during simulation.
  • Numerical implementation leverages automatic differentiation in libraries like PyTorch, enabling efficient computation of gradients and expectations.
  • For expectation estimation, importance sampling with $M=10^6$ particles is used to approximate the required expectations in the gradient updates.

Experimental results

Research questions

  • RQ1How well do neural projected dynamics approximate one-dimensional Wasserstein gradient flows in terms of consistency and convergence?
  • RQ2What is the theoretical accuracy (e.g., order of consistency) of the proposed neural network-based scheme for general energy functionals?
  • RQ3Can the neural network parameterization prevent mesh degeneracy during the simulation of gradient flows?
  • RQ4How does the scheme perform numerically on benchmark equations like the Fokker-Planck and Keller-Segel PDEs?
  • RQ5To what extent can the method achieve high accuracy with a limited number of network parameters?

Key findings

  • The proposed neural projected dynamics achieve first- or second-order consistency for general Wasserstein gradient directions, including heat flow and Fokker-Planck equations.
  • With fewer than 100 neurons, the method achieves numerical accuracy on the order of $10^{-3}$ for the Fokker-Planck and porous medium equations.
  • The mesh stability is theoretically guaranteed, as shown in Proposition 7, which proves that the mapping does not degenerate during simulation.
  • For the Keller-Segel equation, the second moment of the solution matches the analytic form $\mathbb{E}[z^2] = 2(1 - \chi)t \mathbb{E}[z^2]_{t=0}$, validating the scheme’s accuracy.
  • The method achieves second-order spatial accuracy in numerical experiments, as confirmed by comparison with analytical solutions.
  • The implementation is highly practical, leveraging automatic differentiation in PyTorch, and supports joint optimization of both weights and biases in the ReLU network.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.