[Paper Review] Accelerating Polynomial Homotopy Continuation on a Graphics Processing Unit with Double Double and Quad Double Arithmetic
This paper presents a GPU-accelerated path tracker for polynomial homotopy continuation using double double and quad double arithmetic to handle ill-conditioned systems beyond the reach of standard double precision. By leveraging fine-grained parallelism on the GPU and optimizing evaluation, differentiation, and linear solvers, the method achieves significant speedups—over 30x in some cases—enabling higher-precision solutions that are faster than lower-precision CPU-only approaches.
Numerical continuation methods track a solution path defined by a homotopy. The systems we consider are defined by polynomials in several variables with complex coefficients. For larger dimensions and degrees, the numerical conditioning worsens and hardware double precision becomes often insufficient to reach the end of the solution path. With double double and quad double arithmetic, we can solve larger problems that we could not solve with hardware double arithmetic, but at a higher computational cost. This cost overhead can be compensated by acceleration on a Graphics Processing Unit (GPU). We describe our implementation and report on computational results on benchmark polynomial systems.
Motivation & Objective
- Address the numerical instability of hardware double precision in solving large, ill-conditioned polynomial systems arising from path tracking.
- Overcome the computational cost of higher-precision arithmetic (double double and quad double) through GPU acceleration.
- Develop a scalable, massively parallel path tracker tailored for high-dimensional polynomial systems with complex coefficients.
- Demonstrate that GPU acceleration can offset the overhead of higher-precision arithmetic, making it feasible to solve larger problems.
- Integrate optimized GPU kernels for polynomial evaluation, derivative computation, and linear system solving into a production-ready path tracker.
Proposed method
- Employ reverse mode algorithmic differentiation for efficient evaluation of polynomials and their Jacobians on the GPU.
- Implement a tiled, hybrid left- and right-looking modified Gram-Schmidt algorithm to reduce memory access and improve thread-level parallelism.
- Use the QD library and its GPU port for arbitrary-precision complex arithmetic (double double and quad double precision).
- Apply predictor-corrector continuation with Newton steps, where each step is computed in parallel on the GPU.
- Optimize thread block occupancy by exploiting data-parallelism in polynomial evaluation and differentiation for fully expanded systems.
- Integrate all components into a unified GPU-accelerated path tracker, tested on real-world benchmark systems like cyclic n-roots and Pieri homotopies.
Experimental results
Research questions
- RQ1Can GPU acceleration sufficiently offset the computational cost of double double and quad double arithmetic in polynomial homotopy continuation?
- RQ2At what system dimensions and degrees does the use of higher-precision arithmetic become necessary, and when does GPU acceleration make it practical?
- RQ3How does the performance of the GPU-accelerated path tracker compare to single-core CPU performance in double precision, especially when higher precision is required?
- RQ4What is the impact of problem sparsity on the effectiveness of GPU acceleration in path tracking?
- RQ5To what extent do speedups scale with increasing system dimension, and can they compensate for the cost of higher-precision arithmetic?
Key findings
- For the cyclic 160-roots problem, double double precision on GPU achieved a 29.31x speedup over single-core CPU in double precision, despite the higher precision.
- In double double precision, speedups exceeded 30x for systems with dimension n ≥ 128, rising steadily with dimension.
- For the cyclic 256-roots problem, the method failed in double double precision due to extreme conditioning, highlighting the limits of current approaches.
- The GPU-accelerated double double precision tracker completed one path in 28.75 seconds, compared to 93.89 seconds on a single CPU core in double precision—achieving a 3.3x speedup while doubling the precision.
- Speedups in double double precision rise faster with dimension than in double precision, indicating that higher precision becomes practical at larger scales when accelerated.
- For systems with dimension n ≥ 100, GPU acceleration with double double arithmetic already compensates for the precision cost, enabling reliable solution of previously intractable problems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.