NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stable polefinding and rational least-squares fitting via eigenvalues

Shinji Ito, Yuji NakatsukasaNumerische Mathematik 2018

TL;DR

This paper introduces ratfun, a novel algorithm for finding the poles of meromorphic functions. It achieves this in a single step by solving a generalized eigenvalue problem, automatically determines the appropriate rational function type, and guarantees numerical stability, a significant improvement over existing methods.

What Problem Does This Paper Address?

Finding the poles of a meromorphic function is crucial in many areas, like control systems and spectral analysis. When the function's explicit form is unknown, a common approach is to first approximate it with a rational function (a ratio of two polynomials, $p/q$) using sampled data points. Then, the poles of the original function are found by computing the roots of the denominator polynomial $q$. However, this two-step process can be numerically unstable, especially when sample points are close to poles. Furthermore, existing methods often require the user to specify the "type" (degrees of $p$ and $q$) of the rational approximant beforehand. This paper addresses these limitations by proposing a unified, stable, and automated method for polefinding and rational approximation.

Methods

The core of the proposed algorithm, ratfun, is a generalized eigenvalue problem. Instead of a two-step interpolation-then-rootfinding approach, ratfun directly computes the poles by constructing matrices from sampled function values. Key innovations include:

  • Automatic Type Determination: The algorithm uses oversampling (sampling more points than strictly necessary) and singular value decomposition to automatically determine the appropriate degrees ($m, n$) for the rational approximant $p/q$. This eliminates the need for user input regarding the function's type.
  • One-Step Polefinding: The poles are found by solving a generalized eigenvalue problem derived from a linearized interpolation equation. This formulation directly incorporates the unknown pole $\xi_k$ as an eigenvalue.
  • Numerical Stability: The algorithm employs diagonal scaling and QR factorization. Diagonal scaling helps to balance the magnitudes of matrix entries, mitigating issues caused by widely varying function values. QR factorization implicitly changes the polynomial basis, leading to better-conditioned matrices and improved numerical stability, particularly crucial for avoiding ill-conditioning associated with sample points near poles.
  • Least-Squares Fitting: For oversampled data, the algorithm naturally extends to a least-squares fitting approach, further enhancing robustness.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and numerical experiments using synthetic functions.

Key Insights and Ideas

  • Unified Approach: The most significant insight is that polefinding and rational approximation can be unified into a single generalized eigenvalue problem, bypassing the numerical pitfalls of the traditional two-step method.
  • Stability is Paramount: The paper strongly emphasizes the importance of numerical stability, demonstrating how standard methods can fail and how techniques like diagonal scaling and orthogonalization are essential for robust polefinding.
  • Oversampling for Type Determination: The idea of using oversampling not just for better approximation but also for automatically determining the "numerical type" of a rational function is a powerful concept, analogous to how Chebfun determines polynomial degrees.
  • Eigenvalue Conditioning: The analysis of eigenvalue condition numbers reveals why poles outside the unit disk become ill-conditioned with increasing sample points, explaining observed accuracy losses.

Key Results

  • Guaranteed Numerical Stability: ratfun is presented as the first rational interpolation algorithm with guaranteed numerical stability, meaning the computed approximant satisfies the original function equation with small backward errors.
  • Accurate Polefinding: Numerical experiments show that ratfun significantly outperforms existing methods (naive, Chebfun's ratinterp, RKFIT) in terms of accuracy, especially for challenging cases like functions with poles near sample points or far from the unit disk.
  • Automated Degree Selection: The algorithm successfully identifies the correct "numerical type" ($m, n$) of the rational approximant for various functions, including meromorphic and analytic ones.
  • Efficiency: The algorithm's complexity is comparable to state-of-the-art methods, scaling cubically with the type of the rational approximant.

Limitations and Future Work

  • Type Determination Sensitivity: While oversampling helps, the paper acknowledges that in cases of extreme symmetry or when sample points are not chosen carefully, the automatic type determination might still yield an incorrect type. They suggest using more random sample points or checking typefind for neighboring sample point counts as potential remedies, though these are not foolproof.
  • Poles Far from Sample Points: The accuracy for poles far outside the unit disk can still be a challenge, with accuracy decreasing exponentially as poles move further away. The paper suggests that locating sample points near the poles of interest can mitigate this.
  • Extension to Block Subspaces: The authors mention that their algorithm could potentially be extended to work with block subspaces, which might be beneficial for problems involving nearly multiple eigenvalues, and leave this for future work.
  • Non-meromorphic Functions: While the algorithm can be applied to functions with branch cuts or essential singularities, spurious poles and roots can appear near these singularities.

Summary updated

BibTeX
@inproceedings{ito2018stable,
  author = {Shinji Ito and Yuji Nakatsukasa},
  title = {{Stable polefinding and rational least-squares fitting via eigenvalues}},
  booktitle = {Numerische Mathematik},
  year = {2018},
  url = {https://openreview.net/forum?id=7XsJDMPL3Zz},
}
Figure