Skip to main content
QUICK REVIEW

[Paper Review] The first five years of the AAA algorithm

Yuji Nakatsukasa, Olivier Sète|arXiv (Cornell University)|Dec 6, 2023
Advanced Numerical Analysis TechniquesEngineering5 citations
TL;DR

The paper presents the AAA algorithm, a fast and robust method for rational approximation of functions on real or complex domains, using adaptive selection of interpolation points and barycentric rational representation. It enables high-accuracy solutions to Laplace and related PDEs via the AAA-LS method, achieving accuracy of ~7×10⁻⁷ in under 1 second with rational functions far more efficient than polynomials.

ABSTRACT

The AAA algorithm, introduced in 2018, computes best or near-best rational approximations to functions or data on subsets of the real line or the complex plane. It is much faster and more robust than previous algorithms for such problems and has been used in many applications since its appearance, including the numerical solution of Laplace, Poisson, and biharmonic PDE problems in irregular domains. AAA has also been extended in new directions and seems likely to be a tool of lasting importance in the future.

Motivation & Objective

  • To introduce the AAA algorithm as a fast and numerically stable method for computing near-best rational approximations to functions on real or complex domains.
  • To demonstrate the algorithm's superiority over prior methods in speed, robustness, and applicability to complex and irregular domains.
  • To extend AAA to minimax approximation via the AAA-Lawson method, enabling best rational approximations in complex settings.
  • To develop the AAA-LS method for solving Laplace and biharmonic problems by separating poles inside and outside the domain of interest.
  • To establish rational approximation as a foundational tool for solving PDEs, Riemann–Hilbert problems, and other problems involving singularities.

Proposed method

  • The AAA algorithm uses a barycentric rational representation of the form $ r(z) = \sum_{j=1}^{m} \frac{w_j f(s_j)}{z - s_j} \Big/ \sum_{j=1}^{m} \frac{w_j}{z - s_j} $, which enables stable computation even with clustered poles and zeros.
  • It alternates between a nonlinear greedy step—selecting the next support point at the location of maximum error—and a linear SVD-based step to compute optimal barycentric weights.
  • The AAA-Lawson method applies iteratively reweighted least-squares (IRLS) to refine near-best approximations into minimax (best) approximations.
  • The AAA-LS method separates poles of the AAA approximant into those inside and outside the domain $ \Omega $, retaining only exterior poles to form a basis for solving Laplace problems via least-squares.
  • Each exterior pole contributes two columns (real and imaginary parts) to the least-squares matrix, enabling efficient solution of Dirichlet problems.
  • The method leverages the fact that $ 1/(z - s_j) $ for $ s_j \notin \Omega $ forms a good basis for harmonic functions in $ \Omega $, enabling high-accuracy, low-degree rational solutions.
Figure 1: Phase portrait of the Riemann zeta function (right) compared with that of a rational approximation based on $100$ sample points in the right half-plane (left). The AAA algorithm computes this approximation in $0.1$ s on a laptop.
Figure 1: Phase portrait of the Riemann zeta function (right) compared with that of a rational approximation based on $100$ sample points in the right half-plane (left). The AAA algorithm computes this approximation in $0.1$ s on a laptop.

Experimental results

Research questions

  • RQ1How can rational approximation be made both fast and robust for functions on complex or irregular domains, especially when poles are clustered near singularities?
  • RQ2Can the AAA algorithm be extended to compute minimax (best) rational approximations in complex domains, where traditional methods fail?
  • RQ3How can rational approximations be used to solve Laplace and related PDEs efficiently, despite the presence of poles inside the domain?
  • RQ4What is the theoretical and practical role of separating poles inside and outside a domain in constructing accurate solutions to boundary value problems?
  • RQ5Are there broader implications for other nonlinear approximation problems, such as Gaussian fitting, inspired by the success of AAA in rational approximation?

Key findings

  • The AAA algorithm computes a degree-7 rational approximation to $ \exp(z) $ on the unit circle with a maximum error of $ 2.81 \times 10^{-15} $ in just 0.002 seconds.
  • For the Riemann zeta function, AAA computes a degree-37 rational approximation from 100 samples in 0.1 seconds, matching the first two nontrivial zeros to 8 digits of accuracy.
  • The AAA-LS method solves a Laplace problem on a five-lobed domain with accuracy ~$ 7 \times 10^{-7} $ in about 1 second, using a rational function with 125 poles and evaluating in ~1 μs per point.
  • The AAA-Lawson method achieves minimax rational approximation in complex domains, with error curves exhibiting nearly constant modulus and winding number $ 2n+1 $, as expected in best approximation theory.
  • The method enables analytic continuation, conformal mapping, and solution of nonlinear eigenvalue problems, with applications in signal processing, magnetics, and turbulence simulation.
  • The AAA-LS approach provides a new, effective framework for solving Wiener–Hopf and Riemann–Hilbert problems by exploiting pole separation across a contour.
Figure 2: The image on the left shows the error curve $(f-r)(Z)$ for best degree $n=4$ approximation of $e^{z}$ on the unit square by the AAA-Lawson algorithm [ 12 , 30 ] . The image on the right shows $|(f-r)(z)|$ as a function of $\hbox{\rm arg}(z)$ . The error curve is a curve of winding number $
Figure 2: The image on the left shows the error curve $(f-r)(Z)$ for best degree $n=4$ approximation of $e^{z}$ on the unit square by the AAA-Lawson algorithm [ 12 , 30 ] . The image on the right shows $|(f-r)(z)|$ as a function of $\hbox{\rm arg}(z)$ . The error curve is a curve of winding number $

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.