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.

Authors

Publication Details

Journal
arXiv
Published
2026-11-25
DOI
https://doi.org/10.48550/arxiv.2611.34085
Primary Topic
Model Reduction and Neural Networks
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact Integration of ReLU-type Neural Networks for Solving PDEs

Kristoffer George Van Der Zee, Shima Baharlouei, Ignacio Brevis, David Pardo et al.
arXiv
Model Reduction and Neural Networks
preprint

Exact Integration of ReLU-type Neural Networks for Solving PDEs

Kristoffer George Van Der Zee, Shima Baharlouei, Ignacio Brevis, David Pardo, Reuben Menezes
preprint en

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.

arXiv
Model Reduction and Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon