Skip to main content
QUICK REVIEW

[Paper Review] Implicit bias with Ritz-Galerkin method in understanding deep learning for solving PDEs

Jihong Wang, Zhi‐Qin John Xu|arXiv (Cornell University)|Feb 19, 2020
Model Reduction and Neural NetworksPhysics and Astronomy22 references4 citations
TL;DR

This paper investigates the implicit bias of deep neural networks (DNNs) versus the Ritz-Galerkin (R-G) method when solving Poisson equations with only finite sample points of the source term $f$. While R-G methods produce solutions with low regularity (e.g., piecewise linear or singular functions), DNNs implicitly favor smooth, low-frequency solutions due to the Frequency Principle, even under overparameterization. This contrast reveals a key inductive bias in DNNs that contributes to stable, generalizable solutions in data-scarce settings.

ABSTRACT

This paper aims at studying the difference between Ritz-Galerkin (R-G) method and deep neural network (DNN) method in solving partial differential equations (PDEs) to better understand deep learning. To this end, we consider solving a particular Poisson problem, where the information of the right-hand side of the equation f is only available at n sample points, that is, f is known at finite sample points. Through both theoretical and numerical studies, we show that solution of the R-G method converges to a piecewise linear function for the one dimensional (1D) problem or functions of lower regularity for high dimensional problems. With the same setting, DNNs however learn a relative smooth solution regardless of the dimension, this is, DNNs implicitly bias towards functions with more low-frequency components among all functions that can fit the equation at available data points. This bias is explained by the recent study of frequency principle (Xu et al., (2019) [17] and Zhang et al., (2019) [11, 19]). In addition to the similarity between the traditional numerical methods and DNNs in the approximation perspective, our work shows that the implicit bias in the learning process, which is different from traditional numerical methods, could help better understand the characteristics of DNNs.

Motivation & Objective

  • To understand the fundamental differences in solution behavior between DNNs and traditional Ritz-Galerkin (R-G) methods when solving PDEs with only finite samples of the source term $f$.
  • To investigate how the implicit inductive bias of DNNs—specifically, preference for low-frequency components—shapes their solutions compared to R-G methods.
  • To analyze the regularity and stability of solutions from both methods as the number of basis functions or neurons increases.
  • To link the observed DNN behavior to the Frequency Principle (F-Principle), explaining why DNNs favor smooth interpolations despite sparse data.
  • To demonstrate that DNNs produce well-behaved, stable solutions even in high-dimensional or overparameterized settings, unlike R-G methods which exhibit singularities.

Proposed method

  • Formulates a 1D and 2D Poisson problem with Dirichlet boundary conditions, where the source function $f$ is only known at $n$ discrete sample points.
  • Applies the Ritz-Galerkin method by treating the sampled $f$ as a linear combination of Dirac delta functions, leading to a variational formulation minimizing energy with respect to basis functions.
  • Uses deep neural networks with ReLU or sinusoidal activation to minimize a loss function equivalent to the weak form of the PDE, trained via gradient descent.
  • Analyzes the frequency content of solutions using Fourier analysis, particularly the behavior of the coefficient function $\Gamma(\bm{\xi})$ in the minimization of $\int \|\bm{\xi}\|^{-2}|\mathcal{F}[h](\bm{\xi})|^{2} d\bm{\xi}$.
  • Employs theoretical analysis and numerical experiments to compare solution regularity and stability across increasing numbers of basis functions or neurons.
  • Relies on the Frequency Principle (F-Principle) to explain why DNNs prioritize fitting low-frequency components first, leading to smoother solutions.

Experimental results

Research questions

  • RQ1How do Ritz-Galerkin and DNN methods differ in their solution regularity when solving PDEs with only finite samples of the source term?
  • RQ2Why does the DNN method produce smoother solutions than the R-G method under the same data constraints?
  • RQ3What role does the Frequency Principle play in shaping the inductive bias of DNNs toward low-frequency components in PDE solving?
  • RQ4How does increasing the number of basis functions or neurons affect the stability and regularity of solutions in R-G and DNN methods?
  • RQ5Can the implicit bias of DNNs be theoretically linked to the structure of the optimization landscape in PDE solving?

Key findings

  • For 1D problems, the R-G method converges to a piecewise linear function as the number of basis functions increases, regardless of the basis type.
  • In 2D problems, the R-G method produces solutions with strong singularities at sampling points, especially as the number of basis functions increases.
  • DNN solutions remain smooth and stable across all tested settings, even with large numbers of neurons, and show no sign of singularities.
  • The DNN method implicitly biases toward functions with more low-frequency components, as explained by the Frequency Principle, leading to smoother interpolations of sparse data.
  • Theoretical analysis shows that the DNN's optimization objective favors smoother functions than the R-G method, due to the combined effect of its adaptive basis and gradient descent dynamics.
  • Numerical results confirm that DNNs outperform R-G methods in solution stability and regularity under data scarcity, especially in high-dimensional or overparameterized regimes.

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.