Abstract
Solving systems of nonlinear equations is a foundational task in computational science, traditionally dominated by Newton's method due to its quadratic convergence. While higher-order methods like Halley’s offer faster cubic convergence, they have historically been dismissed for large-scale problems due to the prohibitive computational cost of full Hessian tensors. This paper demonstrates that higher-order solvers can be made practical and efficient through the use of Taylor-mode automatic differentiation (AD). By computing exact higher-order directional derivatives and reusing Jacobian factorizations, the authors achieve significant speedups over standard Newton-based solvers across dense, sparse, and stiff ODE benchmarks.
Introduction
In fields ranging from fluid dynamics to implicit differential equation modeling, Newton's method is the undisputed workhorse. It utilizes first-order derivatives (the Jacobian matrix) to iteratively find solutions. Mathematicians have long recognized that higher-order methods, such as Householder’s or Halley’s methods, can converge even faster. However, conventional wisdom suggests these methods are computationally infeasible for large systems because they require computing and storing higher-order derivative tensors (Hessians), which scale poorly with the number of variables $n$.
This research challenges that assumption, asking whether the fast convergence of higher-order methods can be harnessed without the massive computational overhead typically associated with them.
Methods: Efficient Higher-Order Derivatives
The core innovation lies in bypassing full derivative tensors using Taylor-mode Automatic Differentiation (AD). Instead of a dense Hessian, Taylor-mode AD allows for the computation of higher-order directional derivatives (e.g., Hessian-vector products). The cost of these directional derivatives is only $O(p)$ times the cost of a standard function evaluation, where $p$ is the derivative order.
The authors implemented two primary algorithms in Julia:
- Univariate Householder’s Method: Used to analyze the trade-off between derivative order and total solving speed.
- Multivariate Halley’s Method: A second-order variant of Householder's method.
The Factorization Reuse Trick
A critical algorithmic optimization in the multivariate Halley’s method is the reuse of the Jacobian factorization. While Halley's method requires solving two linear systems per iteration, the authors structured the mathematics so that the expensive $O(n^3)$ factorization of the Jacobian matrix occurs only once. The second solve reuses this factorization, making each Halley step asymptotically as cheap as a Newton step while providing superior convergence.
Key Results and Scaling
The effectiveness of these methods was tested on several benchmarks, including Chandrasekhar’s H-function (dense Jacobian) and the 2D Brusselator PDE (sparse Jacobian).
The "Sweet Spot" for Order $p$
As shown in Figure 2, there are diminishing returns for increasing the order $p$ beyond 2. Halley's method (order $p=2$) consistently provides the best balance, offering a substantial reduction in total iterations that outweighs the marginal increase in per-iteration cost.
Performance on Dense and Sparse Problems
On dense problems like Chandrasekhar’s H-function ($n=128$), the Taylor-mode Halley’s method outperformed Newton’s method by approximately 40%. Crucially, a "naive" implementation that computes the full Hessian becomes computationally impossible as $n$ increases, whereas the AD-based approach scales efficiently.
For sparse problems, such as the steady-state 2D Brusselator PDE ($n=2048$), Halley’s method achieved a 25% speedup. When integrated into standard stiff ODE solvers (like QNDF), it resulted in a 5-10% overall speedup for the entire solving process.
Discussion and Future Work
The research demonstrates that directional derivatives, enabled by Taylor-mode AD, allow higher-order optimization to bypass the curse of dimensionality. By focusing on what the solver actually needs rather than full tensors, cubic convergence becomes a practical reality for large-scale systems.
One current limitation is the reliance on exact matrix factorization (LU/QR). For extremely large systems requiring matrix-free iterative solvers (like Krylov methods), the factorization reuse trick cannot be applied. Future work will focus on extending these higher-order AD techniques to remain efficient in matrix-free contexts, where the cost of multiple iterative solves per step currently offsets the convergence benefits.
Summary updated