arXiv Science⌕ Search

arXiv subjects

Shima Baharlouei

Publications and source records attributed to Shima Baharlouei.

3 recordsLinked to original sources

Exact Integration of ReLU-type Neural Networks for Solving PDEs

Developing robust training methodologies for solving partial differential equations (PDEs) with neural networks is crucial for reliable scientific computing. Piecewise-linear activations such as the Rectified Linear Unit (ReLU) are a convenient choice in this setting as their structure resembles classical piecewise-linear approximations. However, when the loss functional incorporates the spatial gradient of the network, as in the Deep Ritz method, numerical integration becomes problematic. Specifically, relying on standard integration techniques (e.g., Monte Carlo sampling) during training yields incorrect gradients, even as the number of integration points approaches infinity, leading to optimization failure. To overcome this limitation, we present an integration framework for single-hidden-layer ReLU networks that computes correct gradients when using Deep Ritz for PDEs or PINNs for first-order problems. Our approach employs the Sutherland-Hodgman algorithm to partition the physical domain into subdomains according to breaking hyperplanes underlying the ReLU network. By finding these hyperplanes exactly, our method can correctly integrate the gradients, ensuring the optimizer receives correct information. In this work, we further assemble the energy in matrix--vector form that allows all neuron interactions to be computed efficiently with vectorized operations, introduce an alternative approach termed Conforming Monte Carlo that is a stochastic version of the proposed method, and propose two stochastic training strategies to reduce complexity. Numerical results on two-dimensional domains demonstrate that our framework recovers optimal PDE solutions that standard stochastic sampling and other existing quadrature methods fail to capture.

math.NA↗

A Least-Squares-Based Regularity-Conforming Neural Networks (LS-ReCoNNs) for Solving Parametric Transmission Problems

This article focuses on solving parametric transmission problems in one and two spatial dimensions. These problems belong to a class of partial differential equations that arise in the modeling of physical systems with heterogeneous materials. They often exhibit discontinuities across interfaces and singularities at points where interfaces intersect. To address these problems, we propose a new deep learning approach named {\it{Least-Squares-Based Regularity-Conforming Neural Network (LS-ReCoNN)}}. This approach proposes a loss function that is shown to be a consistent upper bound for the energy-norm error. The method represents the solution as the sum of a principal component and a singular component. The principal component is decomposed into smooth and gradient-jump parts, which capture both the regular solution behavior and reduced regularity across interfaces in one- and two-dimensional problems. The singular component is introduced to model junction singularities and it is approximated using basis functions computed from a one-dimensional finite element eigenvalue problem. For the principal component, a separated representation is employed, consisting of parameter-dependent coefficients and space-dependent functions. A deep neural network approximates the space-dependent functions, while the parameter-dependent coefficients are determined by a least-squares solver, where the optimal coefficients for each parameter instance are obtained online by solving a low-dimensional least-squares problem. Numerical experiments in one and two dimensions demonstrate that LS-ReCoNN effectively captures singularities while maintaining solution accuracy across a wide range of parameter values.

math.NA↗

A Least-Squares-Based Neural Network (LS-Net) for Solving Linear Parametric PDEs

Developing efficient methods for solving parametric partial differential equations is crucial for addressing inverse problems. This work introduces a Least-Squares-based Neural Network (LS-Net) method for solving linear parametric PDEs. It utilizes a separated representation form for the parametric PDE solution via a deep neural network and a least-squares solver. In this approach, the output of the deep neural network consists of a vector-valued function, interpreted as basis functions for the parametric solution space, and the least-squares solver determines the optimal solution within the constructed solution space for each given parameter. The LS-Net method requires a quadratic loss function for the least-squares solver to find optimal solutions given the set of basis functions. In this study, we consider loss functions derived from the Deep Fourier Residual and Physics-Informed Neural Networks approaches. We also provide theoretical results similar to the Universal Approximation Theorem, stating that there exists a sufficiently large neural network that can theoretically approximate solutions of parametric PDEs with the desired accuracy. We illustrate the LS-net method by solving one- and two-dimensional problems. Numerical results clearly demonstrate the method's ability to approximate parametric solutions.

math.NA↗