A hybrid physics-informed neural network and homotopy analysis method framework for solving foam drainage and Fokker–Planck equations
We present a hybrid methodology for solving nonlinear partial differential equations (PDEs) that combines the homotopy analysis method (HAM) with physics-informed neural networks (PINNs). A low-order HAM approximation provides an analytically transparent initialization, and a shallow neural network learns only the residual correction against the governing PDE. Higher-order HAM deformation terms are computed via a generalized homotopy-polynomial decomposition valid for arbitrary nonlinearities, and all derivations are verified by symbolic differentiation, by finite-difference substitution, and by confirming that at \(\hbar =-1\) the truncated series reproduces the Taylor expansion of the exact solution order by order. We also state and prove the precise conditions under which the \(\hbar =-1\) specialization of this framework coincides term by term with a subclass of homotopy perturbation method (HPM), namely those whose auxiliary linear operator is fixed in advance and contains no free internal constant. The equivalence is not a statement about HPM in general: it does not extend to the parameter-augmented HPM constructions, widely used in the literature, in which a free constant embedded in the auxiliary operator is determined a posteriori by a non-secularity condition, and which generate a different series altogether. The framework is evaluated on four benchmarks: a foam drainage-type equation, a variable-coefficient Fokker–Planck equation, the Korteweg–de Vries (KdV) equation, and the Allen–Cahn equation. At the residual-optimal convergence-control parameter, the order-2 HAM series alone attains relative \(L^2\) errors of \(0.028\%\) , \(0.177\%\) , \(71.60\%\) and \(1.157\%\) , respectively, giving analytic priors that range from very accurate to very poor. Against a matched-capacity standard PINN trained under an identical equal-epoch budget over multiple random seeds (mean ± standard deviation), the hybrid model attains equal or lower relative \(L^2\) error in three of four cases and equal or lower run-to-run variance in all four, while improving on the truncated HAM series by more than two orders of magnitude where that series is a poor prior. Rather than claiming a uniform advantage, we characterize two regimes: an accurate analytic backbone that leaves the network little to contribute, and a poor one that the network must first unlearn. This work serves as a transparent, fully reproducible reference implementation for combining semi-analytical and data-driven PDE solvers.
Authors
- Azzh Saad Alshehry (ORCID: https://orcid.org/0000-0002-2893-576X)
- Rasool Shah (ORCID: https://orcid.org/0000-0002-9798-9868)
- Humaira Yasmin (ORCID: https://orcid.org/0000-0003-0199-6850)
- Saima Noor (ORCID: https://orcid.org/0000-0002-9038-1921)
Institutions
- Princess Nourah bint Abdulrahman University (SA)
- King Faisal University (SA)
- Lebanese American University (LB)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-28
- DOI
- https://doi.org/10.1038/s41598-026-81879-y
- Primary Topic
- Model Reduction and Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00