Solving the functional Eigen-Problem using Neural Networks

Ido Ben-Shaul, Leah Bar, Nir A. SochenarXiv 2020

Abstract

In this work, we explore the ability of Neural Networks (NN) to serve as a tool for finding eigen-pairs of ordinary differential equations. The primary objective is to determine whether, given a self-adjoint operator, a network can learn the corresponding eigenfunctions and eigenvalues. This approach offers a mesh-free alternative to traditional numerical methods like Finite Element Methods (FEM), potentially providing greater robustness for complex problems. By focusing on simple problems with known analytical solutions, we establish the fundamental capabilities and limitations of Deep Neural Networks (DNN) in this domain.

Introduction

The identification of eigen-pairs (eigenvalues and eigenfunctions) for differential operators is a cornerstone of various scientific and engineering disciplines. In image processing, these pairs characterize the fundamental modes of an operator, while in structural engineering, they describe natural resonances. Traditional numerical approaches, such as Finite Element Methods (FEM) or Finite Difference Methods (FDM), are inherently grid-bound, limiting their resolution and scalability. This research investigates DNNs as a continuous, parametric alternative that avoids the constraints of a rigid mesh.

Methodology

The problem is formulated as an unsupervised optimization task where the network learns to approximate eigenfunctions without labeled data. The training process utilizes a specialized loss function with several critical components:

  • Operator Loss: Ensures the network output $u$ satisfies the eigen-equation $Tu = \lambda u$.
  • Energy Constraint: Prevents the trivial zero solution by fixing the $L_2$ norm of the function to a constant value.
  • Rayleigh Quotient: Dynamically estimates the eigenvalue $\lambda$ during training, allowing the network to discover both components of the eigen-pair simultaneously.
  • Orthogonality Penalty: Enables the discovery of multiple distinct eigen-pairs by forcing different network outputs to be orthogonal to one another.

The architecture consists of five hidden layers with Tanh activation functions, chosen for their ability to produce the smooth, differentiable curves required for physical eigenfunctions. Weight initialization was found to be a critical factor for convergence, with Gaussian initialization performing best.

Key Results

The proposed method was evaluated on the 1D Laplacian operator. The network successfully converged to the primary eigen-pair, matching the analytical solution $u = \frac{2}{\pi}\sin(x)$ with $\lambda = 1$.

Comparison of the neural network's model output against the ground truth (GT) analytical solution for the first eigenfunction.

Furthermore, the approach demonstrated scalability by identifying the first five eigen-pairs simultaneously. The learned eigenvalues $[1, 4, 9, 16, 25]$ and their corresponding sinusoidal eigenfunctions aligned precisely with theoretical expectations. Training stability was confirmed by the rapid convergence of the Rayleigh Quotient estimates, with the standard deviation of the estimate per batch dropping toward zero as training progressed.

Conclusion and Future Work

Neural networks offer a promising, mesh-free framework for solving functional eigen-problems, providing continuous and differentiable solutions that are not restricted by grid resolution. While this study focused on 1D self-adjoint operators, the results suggest significant potential for scaling to higher dimensions and more complex operators. Future research will explore the application of this method to non-linear or non-self-adjoint operators, as well as high-dimensional manifolds where traditional grid-based solvers become computationally prohibitive.

Summary updated

BibTeX
@misc{benshaul2020solving,
  author = {Ido Ben-Shaul and Leah Bar and Nir A. Sochen},
  title = {{Solving the functional Eigen-Problem using Neural Networks}},
  year = {2020},
  eprint = {2007.10205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.10205},
}
Figure