Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 16 min ago
PreprintarXiv licencearXiv

Exact Integration of ReLU-type Neural Networks for Solving PDEs

Abstract

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.

Related

  1. Hyperlyve: Parallelized Enumeration and Exact Lyapunov Stability Certification for Deep ReLU Networks
    Brian Yarbrough, Jesse Wayment, Jingbo Wang +2
    arXivPreprintarXiv licenceFull textDynamical systemsarXiv
  2. Distributional Regression for Arbitrary Response Variables Using ReLU Neural Networks
    Junpeng Ren, Carlos Misael Madrid Padilla, Oscar Hernan Madrid Padilla
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  3. Optimal approximation of smooth functions by ReLU neural networks
    Thomas Nagler
    arXivPreprintarXiv licenceFull textNumerical analysis & scientific computingStatisticsarXiv
  4. Error bounds in Sobolev norms for approximations with norm constrained ReLU neural networks
    Xianjun Li, Yunfei Yang
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  5. Minimax rates for learning spectral Barron functions by deep ReLU neural networks
    Songqiu Ma, Yunfei Yang
    arXivPreprintarXiv licenceFull textNumerical analysis & scientific computingStatisticsarXiv
BibTeX
@misc{baharlouei2026exact,
  title = {{Exact Integration of ReLU-type Neural Networks for Solving PDEs}},
  author = {Shima Baharlouei and Ignacio Brevis and Reuben Menezes and David Pardo and Kristoffer G. van der Zee},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.34085},
  eprint = {2611.34085},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34085},
}
RIS
TY  - UNPB
TI  - Exact Integration of ReLU-type Neural Networks for Solving PDEs
AU  - Shima Baharlouei
AU  - Ignacio Brevis
AU  - Reuben Menezes
AU  - David Pardo
AU  - Kristoffer G. van der Zee
PY  - 2026
DA  - 2026/11/25
PB  - arXiv
DO  - 10.48550/arxiv.2611.34085
UR  - https://arxiv.org/abs/2611.34085
AB  - 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.
ER  -