Solving Newell-Whitehead-Segel and Allen-Cahn Equations Employing Physics-Informed Neural Networks: A Comparative Analysis with Spline Methods
Ali Haider Shah, Naveed R. Butt, Asif Ahmad, Muhammad Omer Bin Saeed · 2025
Read Solving Newell-Whitehead-Segel and Allen-Cahn Equations Employing Physics-Informed Neural Networks: A Comparative Analysis with Spline Methods by Ali Haider Shah, Naveed R. Butt, Asif Ahmad, Muhammad Omer Bin Saeed (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-15231.txt.
Introduction
Ali Haider Shah, Naveed R. Butt, and two co-authors compare neural solvers against classic spline methods on two benchmark equations of pattern formation. The Newell-Whitehead-Segel and Allen-Cahn equations describe how patterns and phase boundaries evolve, and they appear across physics, chemistry, and materials science. Physics-informed neural networks solve such equations by training a network to respect the equation itself.
The study builds the network solver and races it against a state-of-the-art spline solution on both equations, timing the trained models as well. The authors report the network approach performs significantly better on both problems. Head-to-head tests of this kind help practitioners decide when learning-based solvers are worth their training cost.
Catalog record
| CREATOR | Ali Haider Shah, Naveed R. Butt, Asif Ahmad, Muhammad Omer Bin Saeed |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 28 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2511-15231
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Solving Newell-Whitehead-Segel and Allen-Cahn Equations Employing Physics-Informed Neural Networks: A Comparative Analysis with Spline Methods Ali Haider Shah, Naveed R. Butt, Asif Ahmad, Muhammad Omer Bin Saeed Abstract This study focuses on the solution of partial differential equations (PDEs) by using physics-informed neural networks (PINNs). The Newell-Whitehead-Segel (NWS) equation and the Allen-Cahn equation belong to fundamental PDEs used mostly in various scientific disciplines. Different methods, including analytical and numerical approaches, have been proposed for solving these equations alongside the recently introduced PINN method. This study provides a detailed and comprehensive comparison between the developed PINN method and the state-of-the-art spline numerical solution for the NWS and Allen-Cahn equation. Furthermore, the computational time of the trained PINN models is evaluated to determine their computational efficiency. The findings show that PINN is significantly better than spline methods in solving both problems. 1 School of Computing and Mathematical Sciences, University of Leicester, UK 2, 3, 4 Faculty of Engineering Sciences, Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi, Pakistan. 1 Introduction PDEs have the potential to explain more complicated processes arising in physics, chemistry, and biology. Therefore the evaluation of solutions to PDEs is a valuable and effective way of studying the dynamic behavior or the functions involved in such equations. The NWS equations describe the behavior of Rayleigh-Bénard convection close to the bifurcation point of binary fluid mixtures. rosu2005supersymmetric . Rayleigh–Bénard convection is a specific type of natural convection present in a flat layer of fluid being heated from below, which causes the fluid to form a set of closed circulation cells named the cells of Bénard. There is always the creation of convective motion when the heating is enough high: hot fluid is located at the top and cold one is at the bottom. As Rayleigh-Bénard convection is relatively easy to study analytically and experimentally, it is investigated. One prominent illustration of self-organizing nonlinear systems is provided by convection patterns getling1998rayleigh . Two similar structures observed in Rayleigh-Bénard convection are the roll pattern or we can say stripe pattern and the hexagonal pattern golovinb2007general . The Allen-Cahn equation emerges in numerous scientific disciplines, including biomathematics, quantum mechanics, and plasma physics haq2024approximate . The Allen–Cahn initially introduced the Allan Cahn model in 1979. It is famous that plasma medium and fluid dynamics phenomena are successfully modeled by kink-shaped tanh solutions or bell-shaped sech solutions inan2020analytical . Since it is conventional to use approaches linked to the intrinsic properties of PDEs for constructing exact solutions,Therefore Sophisticated numerical techniques are used to find the numerical solution of PDEs, such as legendre wavelet-based approximation method hariharan2014efficient , convergent finite difference method bates2009numerical , Haar wavelet method hariharan2009haar , invariant energy quadratization (IEQ) method yang2020convergence , non polynomial b-spline collocation method haq2024approximate and Reproducing kernel function xie2008numerical . Specifically Allen Cahn equation of different orders and degrees has been successfully addressed by using aforementioned numerical methods. In the recent years, Physics Informed Neural Networks (PINN) has earned significant attention through the ground break work of Raissi. In his work he utilized neural networks to find the solution of PDE’s. This novel approach, which falls under the deep learning domain, has attracted a lot of interest due to its capacity to facilitate data-driven PDE solution finding raissi2017physics . So far, PINN has found extensive application in scientific computing, specifically in addressing both forward and inverse problem in non linear PDEs pu2021solving ; zhang2023enforcing ; blechschmidt2021three ; wang2021data ; kumar2024approximate . Recently, PINN has been compared with other numerical methods in terms of accuracy and computational efficiency savovic2023comparative . The approximate solution by PINN might not always be feasible and can show significant departures from the desired result. Observation suggests that a variety of reasons might be behind these differences. Neural networks incorporate many factors, and in order to obtain the best results, each parameter must be well-optimized. For this reason, we continuously modify and enhance our neural networks to get optimized solutions. This path of development has led to the modified versions of PINN. For instance, to address both forward and inverse PDE problems, for example, a gradient-enhanced PINN has been created, which incorporates gradient information from the PDEs residual into the loss function yu2022gradient . Lin and Chen proposed a two-stage PINN where the first stage is standard PINN and the second stage integrates the conserved quantities into mean squared error loss to train neural networks lin2022two . Zhu et al. built group equivariant neural networks that effectively simulated various periodic solutions of nonlinear dynamical lattices while adhering to spatiotemporal parity symmetries zhu2022neural . To speed up training and convergence, Jagtag et al. presented local adaptive activation functions by adding a scaling parameter to each layer and neuron independently jagtap2020locally . Some of useful techniques such as properly designed non-uniform training weighing technique is very useful for improving accuracy of PINN wang2021understanding . To remove obstacles in more complex and realistic applications, more focused neural networks were developed, including the Bayesian PINN yang2021b , the discrete PINN framework based on graph convolutional network and variational structure of PDE gao2022physics , extended physics-informed neural networks (XPINNs) jagtap2020extended , peripheral physics-informed neural network (PPINN) meng2020ppinn , auxiliary physics-informed neural networks (A-PINN) yuan2022pinn , fractional physics-informed neural networks (fPINNs) pang2019fpinns , and variational PINN kharazmi2021hp . To solve PDEs, neural networks require independent information. Leveraging some of the intrinsic properties of PDEs through Lie symmetry in PINN can be advantageous for enhancing the solution. Embedding symmetry loss information in total neural network loss has produced good results. li2023utilizing ; zhang2023enforcing . The main idea of this study is to compare PINNs with state of the art numerical methods (specifically Spline methods) and enhance their performance. To achieve this goal two problems, NWS equation and Allen Cahn equation are examined. In this study, numerous parameters of PINN are tuned to achieve best results. The findings show that PINN performs remarkably better than other numerical techniques in terms of accuracy. Furthermore, computational efficiency is evaluated after training the model on 1,000 to 10,000 domain points, with intervals of 1,000. The computation time shows a very nice approximate linear behavior, indicating that the order of complexity is linear, i.e, O(n). 2 Methodology The general form of a nonlinear parabolic PDE is u_{t}=mu_{xx}+nu+ou^{p}+\eta(x,t,u,u_{x}),\quad\quad(x,t)\in X\times[0,T] (1) u(x,0)=f(x),\quad\quad x\in X\subset(a,b) (2) u(a,t)=g(t)\quad\text{and}\quad u(b,t)=h(t),\quad t\in[0,T]. (3) These equations show the behavior of the solution u with respect to time t and the spatial coordinate x , where m , n , and o are coefficients, and a , b , and T are constants. The term \eta(x,t,u,u_{x}) represents a general source term or nonlinear function that can depend on the spatial coordinate x , the time t , the solution u , and its spatial derivative u_{x} . This term can account for various effects such as external forces, reaction terms, or additional complex interactions. The function f(x) represents the initial value of u , while g(t) and h(t) are functions of t at the boundary points. We examine a feed-forward Neural Network shown in Figure 1 . in order to comprehend the behaviour of a neural network. Consider a NN of L layers. This structure consists of one input layer, L-1 hidden layers