HANN: Homotopy auxiliary neural network for solving nonlinear algebraic equations
Ling-Zhe Zai, Lei-Lei Guo, Zhi-Yong Zhang
TL;DR
The paper tackles the challenge of solving nonlinear algebraic equations by integrating the homotopy continuation method with physics-informed neural networks to create the Homotopy Auxiliary Neural Network (HANN). It introduces HANN-1, which treats the homotopy parameter $t$ as the neural network input to trace solutions from an easy starting system to the target system, and HANN-2, which iteratively refines these solutions for higher accuracy. Through extensive benchmarks—including a single equation, transcendental systems, high-dimensional ill-conditioned problems, and time-varying equations—HANN demonstrates strong capability to locate multiple isolated solutions and achieve high precision, often outperforming Python’s Fsolve and certain evolutionary methods. The results indicate that HANN offers a flexible, low-cost approach for challenging nonlinear algebraic problems, with a recommended workflow of using HANN-1 to identify candidate solutions followed by HANN-2 or Fsolve for refinement.
Abstract
Solving nonlinear algebraic equations is a fundamental but challenging problem in scientific computations and also has many applications in system engineering. Though traditional iterative methods and modern optimization algorithms have exerted effective roles in addressing certain specific problems, there still exist certain weaknesses such as the initial value sensitivity, limited accuracy and slow convergence rate, particulary without flexible input for the neural network methods. In this paper, we propose a homotopy auxiliary neural network (HANN) for solving nonlinear algebraic equations which integrates the classical homotopy continuation method and popular physics-informed neural network. Consequently, the HANN-1 has strong learning ability and can rapidly give an acceptable solution for the problem which outperforms some known methods, while the HANN-2 can further improve its accuracy. Numerical results on the benchmark problems confirm that the HANN method can effectively solve the problems of determining the total number of solutions of a single equation, finding solutions of transcendental systems involving the absolute value function or trigonometric function, ill-conditioned and normal high-dimensional nonlinear systems and time-varying nonlinear problems, for which the Python's built-in Fsolve function exhibits significant limitations, even fails to work.
