Efficient Shallow Ritz Method For 1D Diffusion Problems
Zhiqiang Cai, Anastassia Doktorova, Robert D. Falgout, César Herrera
TL;DR
This work develops an efficient shallow Ritz framework for 1D diffusion with non-smooth interfaces, leveraging a shallow ReLU NN that is equivalent to free-knot splines to move mesh points. It introduces a damped block Newton (dBN) method that updates linear parameters by exact inversion and nonlinear knot positions by a damped Newton step, achieving $O(n)$ per-iteration cost, and further enhances efficiency with Adaptive dBN (AdBN) by coupling with Adaptive Neuron Enhancement (ANE) to refine the mesh. Theoretical results include a bound on the stiffness matrix conditioning and a structure that yields a differentiable reduced nonlinear system, enabling reliable optimization of knots toward near-optimal convergence. Numerical experiments across exponential, non-smooth, and interface problems show that dBN and especially AdBN outperform classical solvers (e.g., BFGS) in both speed and accuracy, demonstrating the practical potential of moving-mesh Ritz-NN discretizations for elliptic problems with interfaces.
Abstract
This paper studies the shallow Ritz method for solving the one-dimensional diffusion problem. It is shown that the shallow Ritz method improves the order of approximation dramatically for non-smooth problems. To realize this optimal or nearly optimal order of the shallow Ritz approximation, we develop a damped block Newton (dBN) method that alternates between updates of the linear and non-linear parameters. Per each iteration, the linear and the non-linear parameters are updated by exact inversion and one step of a modified, damped Newton method applied to a reduced non-linear system, respectively. The computational cost of each dBN iteration is $O(n)$. Starting with the non-linear parameters as a uniform partition of the interval, numerical experiments show that the dBN is capable of efficiently moving mesh points to nearly optimal locations. To improve efficiency of the dBN further, we propose an adaptive damped block Newton (AdBN) method by combining the dBN with the adaptive neuron enhancement (ANE) method [26].
