Abstract
Recently, progress has been made in the application of neural networks to the numerical analysis of partial differential equations (PDEs). In the latter the variational formulation of the Poisson problem is used in order to obtain an objective function - a regularised Dirichlet energy - that was used for the optimisation of some neural networks. In this notes we use the notion of $\Gamma$-convergence to show that ReLU networks of growing architecture that are trained with respect to suitably regularised Dirichlet energies converge to the true solution of the Poisson problem. We discuss how this approach generalises to arbitrary variational problems under certain universality assumptions of neural networks and see that this covers some nonlinear stationary PDEs like the $p$-Laplace.
Introduction
In recent years, the intersection of deep learning and numerical analysis has birthed a new paradigm for solving partial differential equations (PDEs). While traditional methods like Finite Element Analysis (FEM) rely on subdividing domains into rigid grids, the Deep Ritz method—pioneered by Weinan E and Yu in 2018—proposes using neural networks as universal function approximators to minimize the energy functionals associated with physical systems.
Despite its empirical success, particularly in high-dimensional problems where traditional methods suffer from the "curse of dimensionality," the Deep Ritz method initially lacked a rigorous theoretical framework. This paper, "Deep Ritz Revisited," addresses this gap by providing a formal proof of convergence, establishing that neural networks trained via this method are mathematically guaranteed to approximate the true physical solution as the model complexity increases.
The Variational Framework and the Poisson Problem
The authors focus their analysis on the Poisson problem, a cornerstone of mathematical physics used to describe phenomena such as heat conduction, electrostatics, and gravitational potential. Traditionally, solving this PDE involves finding a function $u$ that satisfies specific differential constraints. The Deep Ritz method, however, transforms this into an optimization problem using the variational formulation.
Instead of solving the PDE directly, the method seeks to minimize the Dirichlet energy—a functional that reaches its global minimum at the exact solution of the PDE. However, enforcing boundary conditions (e.g., ensuring the solution is zero at the edges of a domain) is non-trivial for neural networks. To resolve this, the authors employ a boundary penalization strategy, adding a "soft" penalty term to the loss function that punishes the network for deviating from required boundary values.
Proving Convergence via $\Gamma$-convergence
The core mathematical contribution of this work is the application of $\Gamma$-convergence. This framework is essential for understanding how the minimizers of a sequence of approximate functionals (our neural network loss functions) relate to the minimizer of the original, continuous physical problem.
By treating the neural network architecture as a sequence of growing spaces, the authors prove that as the network depth and width increase and the boundary penalty becomes stricter, the resulting "quasi-minimizers" converge to the unique solution of the PDE. Specifically, they demonstrate:
- Weak convergence in the Sobolev space $H^1$.
- Strong convergence in the $L^2$ space.
This ensures that the "best" neural network found during training is indeed an accurate representation of the "best" physical solution.
The Role of ReLU Networks
A significant insight in the paper is the specific utility of Rectified Linear Unit (ReLU) activation functions. The authors highlight that ReLU networks are mathematically equivalent to continuous piecewise linear functions. This realization allows them to bridge the gap between modern deep learning and classical numerical analysis, treating the neural network as a highly flexible and adaptive version of the "basis functions" used in traditional FEM.
Furthermore, the paper confirms that ReLU networks of a specific depth (proportional to the input dimension) are sufficient to satisfy the universal approximation requirements needed for these variational problems.
Generalization to Nonlinear Physics
The theoretical framework provided is not limited to linear problems like the Poisson equation. The authors demonstrate that their proof of $\Gamma$-convergence generalizes to a broad class of energy functionals. This includes non-linear stationary PDEs such as the $p$-Laplace operator, which is critical in the study of glaciology and the flow of non-Newtonian fluids. This generalization suggests that the Deep Ritz method is a robust tool for a wide variety of complex physical simulations.
Limitations and Future Directions
While this work provides a vital "theoretical safety net," the authors identify several areas where the gap between theory and practice remains:
- Numerical Integration: The proof assumes perfect integration, whereas practical applications use Monte Carlo sampling, which introduces statistical sampling error.
- Optimization Dynamics: The paper proves that the global minimum is the correct solution, but it does not guarantee that stochastic gradient descent (SGD) will successfully reach that minimum.
- Convergence Rates: While the method is proven to converge, the speed of convergence (the relationship between the number of neurons and the error reduction) remains an open question.
- Smoothness Constraints: Because ReLU networks are piecewise linear and not "smooth," they may struggle with higher-order PDEs (such as those describing the bending of plates) that require higher-order derivatives. Future research into smoother activations like Tanh or Swish is suggested for these cases.
Conclusion
"Deep Ritz Revisited" transforms the Deep Ritz method from an empirical heuristic into a mathematically sound numerical tool. By proving that neural networks are consistent approximators for variational problems, the authors provide the foundation necessary for the next generation of AI-driven physics simulations.
Summary updated