Automatic Differentiation is Essential in Training Neural Networks for Solving Differential Equations

Neural network-based approaches have recently shown significant promise in solving partial differential equations (PDEs) in science and engineering, especially in scenarios featuring complex domains or incorporation of empirical data. One advantage of the neural network methods for PDEs lies in its automatic differentiation (AD), which necessitates only the sample points themselves, unlike traditional finite difference (FD) approximations that require nearby local points to compute derivatives. In this paper, we quantitatively demonstrate the advantage of AD in training neural networks. The concept of truncated entropy is introduced to characterize the training property. Specifically, through comprehensive experimental and theoretical analyses conducted on random feature models and two-layer neural networks, we discover that the defined truncated entropy serves as a reliable metric for quantifying the residual loss of random feature models and the training speed of neural networks for both AD and FD methods. Our experimental and theoretical analyses demonstrate that, from a training perspective, AD outperforms FD in solving PDEs.

Authors

Institutions

Publication Details

Journal
Journal of Scientific Computing
Published
2025-06-24
DOI
https://doi.org/10.1007/s10915-025-02965-3
Citations
8
Primary Topic
Model Reduction and Neural Networks
Type
article
Field-Weighted Citation Impact
10.59

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Differentiation is Essential in Training Neural Networks for Solving Differential Equations

Chuqi Chen, Yang Xiang, Wenrui Hao, Yahong Yang
8 citations
Journal of Scientific Computing
Model Reduction and Neural Networks
10.59
article

Automatic Differentiation is Essential in Training Neural Networks for Solving Differential Equations

Chuqi Chen, Yang Xiang, Wenrui Hao, Yahong Yang
article en
8 citations

Abstract

Neural network-based approaches have recently shown significant promise in solving partial differential equations (PDEs) in science and engineering, especially in scenarios featuring complex domains or incorporation of empirical data. One advantage of the neural network methods for PDEs lies in its automatic differentiation (AD), which necessitates only the sample points themselves, unlike traditional finite difference (FD) approximations that require nearby local points to compute derivatives. In this paper, we quantitatively demonstrate the advantage of AD in training neural networks. The concept of truncated entropy is introduced to characterize the training property. Specifically, through comprehensive experimental and theoretical analyses conducted on random feature models and two-layer neural networks, we discover that the defined truncated entropy serves as a reliable metric for quantifying the residual loss of random feature models and the training speed of neural networks for both AD and FD methods. Our experimental and theoretical analyses demonstrate that, from a training perspective, AD outperforms FD in solving PDEs.

Journal of Scientific ComputingVol. 104(2)
Pennsylvania State University (US), Hong Kong University of Science and Technology (HK)
National Institute of General Medical Sciences
Openalex Percentile: Top 2%
Model Reduction and Neural Networks
10.59
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.

Automatic Differentiation is Essential in Training Neural Networks for Solving Differential Equations — Chuqi Chen, Yang Xiang, et al. · Journal of Scientific Computing (2025) | TGRS Research Map | TGRS