Fast Approximation of Polynomial Zeros and Matrix Eigenvalues

Victor Y. Pan, Soo Jung Go, Qi Luan, Liang Zhao · DOI

TL;DR

This paper presents new algorithms for finding the roots of polynomials and eigenvalues of matrices that are significantly faster and simpler to implement than previous state-of-the-art methods. These algorithms achieve near-optimal performance, work with "black box" polynomial evaluations (not just coefficients), and are robust enough for practical use, outperforming existing software in tests.

What Problem Does This Paper Address?

Finding the roots of a polynomial (i.e., solving $p(x) = 0$) is a fundamental problem in mathematics with a history spanning millennia. While exact solutions are only possible for low-degree polynomials, approximating these roots to a desired accuracy is crucial in many scientific and engineering applications. The challenge lies in developing algorithms that are both computationally efficient and practically implementable. Previous "optimal" algorithms, while theoretically groundbreaking, were too complex for real-world use. Furthermore, many real-world problems involve polynomials that are best evaluated via an oracle (a "black box") rather than by directly accessing their coefficients, a scenario not well-handled by prior methods. This paper aims to bridge this gap by providing efficient, implementable, and versatile root-finding algorithms.

Methods

The paper introduces novel algorithms for polynomial root-finding and matrix eigenvalue approximation. Key techniques include:

  • Subdivision Iterations with Novel e/i Tests: Building upon classical subdivision methods, the authors develop new "exclusion/inclusion" (e/i) tests. These tests are designed to efficiently determine whether a given region (like a disc) contains roots or not.
  • Black Box Oracle Integration: A significant advancement is the ability to handle polynomials provided as black boxes, meaning the algorithm only needs to query the polynomial's value at specific points, not its coefficients. This is crucial for polynomials that are expensive to evaluate or whose coefficients are not directly accessible.
  • Root-Lifting and Cauchy Integrals: Techniques involving lifting roots to higher powers and approximating Cauchy integrals are used to efficiently count and locate roots within specific regions.
  • Randomization (Las Vegas Type): The algorithms incorporate Las Vegas randomization, which guarantees a correct output with high probability, and any errors can be detected at a manageable computational cost. This simplifies implementation compared to deterministic methods.
  • Compression of Discs: A novel "e-compression" algorithm is introduced to efficiently shrink regions containing roots, leading to faster convergence.
  • Matrix Eigenvalue Approximation: The root-finding algorithms are extended to approximate matrix eigenvalues by treating the characteristic polynomial as a black box.

Datasets

Not discussed in the paper. The paper focuses on theoretical algorithm development and analysis, with mentions of extensive tests performed on "standard test polynomials" and comparisons with existing software like MPSolve.

Key Insights and Ideas

  • Near-Optimal Performance is Achievable and Implementable: The paper demonstrates that algorithms achieving near-optimal theoretical complexity for polynomial root-finding can be made practical and significantly simpler than previous optimal algorithms.
  • Black Box Polynomials are Key: Handling polynomials as black boxes opens up new possibilities for applications where coefficients are not readily available or are computationally expensive to derive.
  • Randomization Simplifies Implementation: The use of Las Vegas randomization, while maintaining correctness guarantees, makes the algorithms more amenable to implementation than purely deterministic approaches.
  • Subdivision Iterations Can Be Dramatically Accelerated: By combining novel e/i tests with compression techniques and efficient root-counting, the authors achieve significant speedups over traditional subdivision methods.
  • Matrix Eigenvalue Problems Can Leverage Polynomial Root-Finding: The algorithms for polynomial root-finding can be directly applied to approximate matrix eigenvalues, offering a unified approach.

Key Results

  • Near-Optimal Boolean Time Complexity: The new algorithms achieve Boolean time complexity that is optimal up to poly-logarithmic factors for polynomial root-finding and matrix eigenvalue approximation.
  • Practical Performance: Preliminary tests show that the new algorithms compete with and, for many inputs, significantly outperform the widely used MPSolve package.
  • Black Box Capability: The algorithms are designed to work with polynomial oracles, a significant advantage for many applications.
  • Simpler Implementation: Compared to previous optimal algorithms, the new methods are considerably simpler to implement.
  • Matrix Eigenvalue Approximation: The paper provides a record bound on the expected Boolean time for approximating matrix eigenvalues.

Limitations and Future Work

  • Randomization: While Las Vegas randomization is used, which allows for error detection, the algorithms are not fully deterministic.
  • Implementation: While simpler than previous optimal algorithms, full implementation and testing of all proposed techniques are ongoing.
  • Further Extensions: The authors suggest several directions for future work, including:
  • Implementing and simplifying the black box root-finders.
  • Further analysis and comparison of various techniques (Cauchy sums, root-squaring, compression, etc.).
  • Estimating precision guarantees and exploring "empirical precision guarantees."
    • Analyzing and implementing Ehrlich's, Newton's, Weierstrass's, and Schröder's iterations with their novelties.
  • Exploring links to matrix eigenvalue computation.
  • Developing efficient algorithms for polynomial factorization and multipoint evaluation.
  • Investigating heuristic sub-algorithms for polynomial root-finders.
  • Proving fast global convergence for certain iterations and extending divergence results.
  • Estimating Boolean complexity for black box, sparse, and shifted sparse polynomials.

Summary updated

Abstract

We approximate the d complex zeros of a univariate polynomial p(x) of a degree d or those zeros that lie in a fixed region of interest on the complex plane such as a disc or a square. Our divide and conquer algorithm of STOC 1995 supports solution of this problem in optimal Boolean time (up to a poly-logarithmic factor), that is, runs nearly as fast as one can access the coefficients of p with the precision necessary to support required accuracy of the output. That record complexity has not been matched by any other algorithm yet, but our root-finder of 1995 is quite involved and has never been implemented. We present alternative nearly optimal root-finders based on our novel variants of the classical subdivision iterations. Unlike our predecessor of 1995, we require randomization of Las Vegas type, allowing us to detect any output error at a dominated computational cost, but our new root-finders are much simpler to implement than their predecessor of 1995. According to the results of extensive test with standard test polynomials for their preliminary version, which incorporates only a part of our novel techniques, the new root-finders compete and for a large class of inputs significantly supersedes the package of root-finding subroutines MPSolve, which for decades has been user's choice package. Unlike our predecessor of 1995 and all known fast algorithms for the cited tasks of polynomial root-finding, our new algorithms can be also applied to a polynomial given by a black box oracle for its evaluation rather than by its coefficients. This makes our root-finders particularly efficient for polynomials p(x) that can be evaluated fast such as the Mandelbrot polynomials or those given by the sum of a small number of shifted monomials. Our algorithm can be readily extended to fast approximation of the eigenvalues of a matrix or a matrix polynomial.
BibTeX
@misc{pan2022fast,
  author = {Victor Y. Pan and Soo Jung Go and Qi Luan and Liang Zhao},
  title = {{Fast Approximation of Polynomial Zeros and Matrix Eigenvalues}},
  year = {2022},
  eprint = {2301.11268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.11268},
}
Figure