Manuscript Offprint
arXiv:2608.11462Linear-cost Polyharmonic Spline Interpolation of Arbitrary Degree
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We introduce a simple and performant approach for rapidly and accurately performing polyharmonic spline (PHS) interpolation using a combination of the fast multipole method (FMM) from computational electrostatics and the Vecchia approximation from the Gaussian process and sparse approximate inverse literatures. Using basic properties about Hadamard products and low-rank matrices, we demonstrate that an FMM with two kernels, the logarithmic and distance kernels, results in fast PHS interpolation for all orders. Furthermore, we demonstrate the exceptional performance of sparse inverse approximation methods with the Matérn covariance model for preconditioning. Combined with careful management of disallowed subspaces, we describe a procedure for obtaining prediction weights using preconditioned conjugate gradient that converges in less than iterations, even for problem sizes with over one million points. As a result, thin-plate spline interpolation—a particularly popular method that does not require parameter tuning—that matches the fully dense computation in accuracy can be done at the cost of approximately FMMs. A high-performance software library for odd-order PHS interpolation in two dimensions is made available as a companion to this work.
Keywords: radial basis function, thin-plate spline, fast multipole method, iterative solver, Krylov subspace
1 Introduction
Polyharmonic spline (PHS) interpolation is an extremely successful and popular variety of kernel interpolation methods Wahba (1990). Given data PHS interpolation involves decomposing the estimation of at un-measured locations into a polynomial trend term and a dense kernel interpolation-based remainder, so that
where is the PHS interpolant, are tensor products of low-degree monic polynomials in each variable, is the polyharmonic spline radial basis function defined as
and are interpolating weights. The weights and the coefficients are given as the solution to the augmented linear system
where is the kernel matrix generated by the PHS function , is the matrix of polynomial functions up to (joint) order , and is the collection of given measurements. This specific formulation for PHS interpolation is necessary because the kernel function is only conditionally positive-definite: if is the thin QR decomposition of chosen to contain exactly polynomials up to degree , then the eigenvalues of are negative and for such that is an orthogonal matrix Wahba (1990); Wendland (2005), ensuring that weights for an interpolating solution exist. Furthermore, unlike many other kernel interpolation methods, PHS interpolation is scale-invariant, meaning that lengthscale parameters do not need to be tuned to produce performant interpolation schemes.
The challenge with many kernel interpolation methods (including PHS approaches) is that is a dense matrix that is prohibitively expensive to factorize, and potentially even to form, for large data sizes . Direct methods to solve (1.3) will scale with complexity, as they require a factorization of the augmented matrix (with the Bunch-Kaufman or “LBLt” factorization Bunch and Kaufman (1977) being the standard choice). A popular approach to addressing this is to use iterative methods Saad (2003), which if one uses exact matrix-vector products can reduce this cost to , presuming that a sufficiently accurate preconditioner can be designed to control the number of iterations required for convergence. Several existing works in the literature offer approaches of this category. In Beatson et al. (1999), for example, variants of the fast multipole method (FMM) Greengard and Rokhlin (1987) are given for specific degrees, and a preconditioned GMRES approach is given that ostensibly brings the cost of solving (1.3) down to if one uses a careful and non-standard stopping criterion. As we will demonstrate below, however, it does not control iteration counts under standard convergence metrics. Similarly, in Powell (1994), a clever management of the column space of allows for preconditioned conjugate gradient to be used, although the reported iteration counts again clearly grow with using the specific preconditioning strategy proposed there.
The main contribution of this work is to simplify and improve the fast matrix-vector products and preconditioning approaches. First, we describe a simple modification to the matrix-vector computation that exploits a standard identity for Hadamard products with low-rank matrices. As a result of this modification, the application is computable for any spline order using a single FMM routine for a “core” kernel of or . Second, we describe a simpler preconditioner than those proposed in prior work that only requires floating point operations to apply, is easily assembled in parallel with no required communication between workers, and is substantially more effective than its predecessors. Put together, these modifications provide truly end-to-end linear-cost PHS interpolation that are easy and convenient to implement using existing well-tested and popular software. Using the library fmm2d Askham et al. (2026a) for core matrix-vector products, for example, we provide demonstrations of points being interpolated at new locations in under on a modest laptop.
Indeed, this function is the polyharmonic spline from the introduction with . Where appropriate (and when not obvious), we will comment on how methods and observations can be extended to higher polynomial orders .
For demonstration, consider the matrix . Clearly, if each location is shifted as , the matrix is unchanged. But more importantly, if each location is scaled as , we note that
Letting denote the matrix of scaled locations, we note from above that
where
denotes the matrix whose entry is given by . However, observing that
we see that the second term in (2.1) is exactly comprised of quadratic polynomials of the first, second, and mixed components of . These terms, and thus polynomial updates to the interpolation points , do not impact due to the constraint introduced in the second row of (1.3). Let
be the thin truncated QR of the polynomial span to be removed, and let be a matrix with orthogonal columns such that is an orthogonal matrix. By construction, then, . And since (1.3) can practically be solved by sequentially solving the systems
we see that rescaling the locations does not impact the dense linear system at all. As such, we are free to rescale points to a domain that is convenient for our method without impacting the bottleneck of obtaining interpolation weights . This formulation using was first used in Powell (1994), who observed that can be applied to a matrix at a cost of by exploiting the fact that
where is precisely the matrix that is formed from the thin Householder QR factorization of , since there are only reflectors and each can be applied in time. This simple trick transforms the dense and indefinite linear sub-system of (1.3) into an system that is strictly positive-definite. Thus, PCG can be used to solve for (and thus obtain weights ). A key difference between this proposed method and that of Powell (1994), however, is how structure in this formulation will be used to build an effective preconditioner for , as it need only be accurate for the positive definite part of that is not annihilated by .
The second powerful and related observation pertains to the application of the matrix . As mentioned above, we note that the matrix generated by powers for even is rank deficient because norms raised to even powers are separable in their arguments. Specifically, in two dimensions, we see that
where . In the case of in two dimensions, for example, we see that these matrices are given by
as expected, given the decomposition (2.3). As a result, we observe that , where for and on the diagonal is what we refer to as a “core” kernel matrix. Using standard properties for Hadamard products with low rank matrices, we see that
where and . Due to this structure, we see that for any order , the problem of rapidly computing the matrix-vector product effectively reduces to a fast matrix-vector product with . Fortunately, the kernel is the Green’s function for the Poisson equation in two dimensions, and extremely high-performance computational algorithms for the associated -body sums have been developed over the past several decades. We now briefly describe the idea behind these algorithms that sit at the core of this simplified approach.
2.1 The Fast Multipole Method
As discussed above, variants of the classical version of the fast multipole method (FMM) have been constructed to accelerate the PHS interpolation problem in two dimensions in Beatson et al. (1999). The previous discussion makes the new observation that all that is necessary, in fact, for computing the matrix-vector product for any order PHS are matrix-vector products with “core” kernels and . (For convenience in the following section, will we generally use the notation , where denotes the usual Euclidean distance in two dimensions.) In this section, we will give a high-level description of the linear-cost FMM algorithm for the kernel. The FMM literature is deep and vast, so we will not give an exhaustive list of references, but merely point the reader to a couple specific works that are of particular relevance for our application Beatson et al. (1997); Greengard and Rokhlin (1987).
Application of the matrix in the previous section can be boiled down to the evaluation of an -body sum
for , where we have changed notation slightly to clearly mark what we will refer to as targets and sources . In many cases, the set of targets is the same as the set of sources (as in the previous discussion) and therefore we must eliminate the term in the sum. At its core, the FMM makes use of the fact that the kernel function can be approximated, to an arbitrarily high precision, via an expansion which is separable in the variables and (assuming some distance of separation between the points). This means we can write
for some known functions , . Systematically grouping the sum in (2.7) depending on the locations of the sources and targets, and using a separable expansion of the kernel, allows for the design of an algorithm which can compute the above sum in time, accurate to any user-specified precision.
To this end, let us briefly examine the exact separable expansion for the kernel. Temporarily, let and be complex numbers such that . We begin with the standard Taylor series expansion for :
Also note that if we associate the point with and with , then we have that
Given the above relationship between the complex-valued logarithm and the real-valued one, it suffices to describe the relevant expansions and algorithm in the context of the complex-valued potential and then take the real-part (this simplifies both the algebra and numerical implementations as well – the software library fmm2d is based on such an approach Askham et al. (2026a)).
The above expression for can be truncated after terms and bounded by an error ,
where
In particular, if , then . This gives a rigorous bound for the above expansion of the kernel. Indeed, if the source and target are separated by more than a factor of 2, relative to the origin, can be chosen using this error bound to ensure any specified accuracy . In this regime, the expansion is accurate to about with and with .
Next, consider a collection of sources all contained within a ball of radius , i.e. , each with strength . Defining a potential at a collection of targets , with , by the sum
we can invoke the above approximation to yield a “fast” algorithm for evaluating the -body sum (i.e. the matrix-vector problem with the kernel). We have
Of course the above sum could be truncated after terms, with determined similarly as before, making the finite expansion accurate to an arbitrary precision. The above expansion, given in terms of the powers will be referred to as an outgoing expansion. By simple counting, the above potential can be evaluated at all of the targets using operations.
Conversely, if the role of targets and sources were switched, we could write down a similar expansion in terms of powers :
Expansions of this form will be referred to as incoming expansions, and can also be rapidly evaluated at all the points at a cost of . The main difficulty lies when the sources and targets are interlaced (i.e. not geometrically separated) and therefore a single outgoing (or incoming) expansion cannot be used. In this regime, a hierarchical data structure must be used to systematically sort sources and targets into regions which are well-separated and whose potential interactions then admit outgoing and incoming expansions which are accurate to high precision using -term expansions with a modestly sized fixed value of .
To precisely describe the full algorithm would be beyond the scope of this work, as both fundamentals and implementation specifics of fast multipole methods is well-established at this point in time. However, we will provide a graphical overview of the algorithm to give the reader an idea of how it works. Consider the point configurations and groupings in Figure 1.

(a) Source-target configuration.

(b) Direct evaluations.

(c) Top-level field translations.

(d) Leaf-level field translations.
Figure 1: Geometric depiction of a fast multipole method. Reproduced with permission from the authors from the documentation of FMM3D Askham et al. (2026b).
The general fast multipole method proceeds via the following steps:
- Tree creation. All sources and targets are sorted into a quadtree data structure, with leaf boxes containing at most some fixed number of points, see Figure 1(a).
- Direct evaluation. For leaf boxes which are adjacent to each other, i.e. share a corner (including itself), the potential due to the sources within is directly evaluated at each of the targets in the self box. See Figure 1(b).
- Upward pass. For each leaf box, an outgoing expansion of the form (2.14) is created which represents the potential due to all sources in this box, valid at all targets in well-separated boxes, i.e. those separated from the source box by at least another box. Similar outgoing expansions for subsequent parent boxes can be constructed from the outgoing expansions for children boxes via a linear operator known as the outgoing-to-outgoing translation operator. See blue arrows in blue box on the right in Figure 1(c). This proceeds to the coarse level shown in Figure 1(c).
- Outgoing-to-incoming translations At this point, all boxes on all levels in the quadtree hierarchy have associated with them an outgoing expansion of the form (2.14) representing the potential due to all sources contained within, and valid at all targets contained in well-separated boxes. Each of these outgoing expansions is now transformed to an incoming expansion of the form (2.15) via a linear outgoing-to-incoming translation operator. Each box receives a translation from every box which is a child of its parent’s neighbors, and which is not adjacent (this list is known as the interaction list for a box). See Figures 1(c) and 1(d) for depictions of interaction lists for a red box; the blue arrow connecting a red box and a blue box represents application of the outgoing-to-incoming translation operator.
- Downward pass. All that remains now is to push each box’s incoming expansion—which represents the potential due to all well-separated sources—down to the leaf level. This can be accomplished by starting at the coarsest level of the quadtree hierarchy, and for each box, apply an incoming-to-incoming translation operator which transfers the information encoded in the incoming expansion of a parent box to an incoming expansion of its children. These translations are depicted using the red arrows in Figure 1(c).
- Local evaluations. After the previous downward pass, each box on the leaf level now contains an incoming expansion which represents the potential due to all well-separated boxes, i.e. exactly those boxes whose contribution was not accounted for in Step 2, the direct evaluation step. Each of these local incoming expansions is then evaluated at each of the targets inside a leaf box, and the potential is added to the previous potential computed from the neighboring boxes. See the red arrows inside the leaf box in Figure 1(d).
It should be clear from the above steps that the work performed for each box is purely local, and comes from either a direct potential evaluation or application of one of the translation operators. The translation operators map coefficients in one expansion (outgoing or incoming) to coefficients in another expansion (outgoing or incoming) and can be shown to be dense operators. Therefore their naive application requires work. Assuming there are sources and targets, it can be shown that there are boxes, and the overall cost for the previous algorithm is therefore .
Of course, there are many variants of the above basic algorithm which use adaptive data structures and parallel computing paradigms, but the basic idea is the same. We did not describe the exact form of the various translation operators mentioned in the above cursory description of the algorithm, but they can be obtained via relatively simple algebraic manipulations of the outgoing and incoming expansions, and are given in Greengard and Rokhlin (1987). Various accelerations of the application of these translation operators can be derived based on alternative representations of the outgoing and incoming potentials known as plane-wave or exponential representations Greengard et al. (1998). These accelerated translation operators are implemented in the fmm2d library on which we base our algorithm. They reduce the prefactor in the asymptotic cost, but not the asymptotic cost as a function of .
2.2 Preconditioning with Vecchia’s Approximation and Matérn kernels
In this section, we propose a high-performance and extremely fast -cost sparse preconditioner for the thin-plate spline matrix defined above. To begin, we first note that the thin-plate spline function is one of the two linearly independent fundamental solutions of the biharmonic equation
on Wahba (1990). This motivates a connection with the Whittle-Matérn stochastic partial differential equation, which describes a Gaussian process on given by the solution to
where is spatial white noise in Whittle (1963). It is well known that the covariance between and is, up to proportionality, given by
where is the modified second-kind Bessel function of order Olver et al. (2021), and in two dimensions. In the spatial statistics literature, is called the smoothness parameter, as it dictates the degree of (potentially fractional) mean-square differentiability of the process Matern (1960); Whittle (1963); Stein (1999). Setting and observing that (2.16) describes a transport map, we see that the corresponding precision operator is , from which we see the term from the biharmonic equation appear. By the expansion of the precision operator, one would expect high-frequency behavior of the Matérn and functions to agree well. Taking a Taylor expansion of the Matérn kernel for small arguments confirms this, as
As the underbrace labels indicate, for nearby points we see that the leading term of matches up to scaling and the polynomial contributions that are annihilated by the projection in (2.5). With this in mind, we propose preconditioning with , with with and selected based an on error balancing procedure discussed later in this section. And while we note that of course , since the matrix is in , for small , ignoring the Schur complement term in the inverse will only add a small number of iterations to an iterative solver routine. In our experimentation, this provides faster start-to-finish runtimes than accounting for the low-rank update. As an additional complication, is a dense matrix itself, and so direct factorization and linear system solving is prohibitively expensive. We will now discuss the remedy for this computational infeasibility using tools from the Gaussian process literature. Following that, we will discuss methods to sharpen the approximation based on the scale-invariance of the PHS functions in the column space of .
Vecchia’s approximation Vecchia (1988); Stein et al. (2004); Finley et al. (2019); Katzfuss and Guinness (2021); Schaefer et al. (2021) for a Gaussian process log-likelihood (also known as a nearest neighbor Gaussian process approximation or a factorized sparse approximate inverse (FSAI) in the applied math community Kaporin (1994); Yeremin et al. (2000)) is based on the very simple idea of approximating a sequence of conditional distributions. An elementary result of probability is that joint probabilities can be approximated with telescoped conditionals (via repeated applications of ). Presume, for example, that we aim to approximate the log-density for , where is given by
The associated joint log-density can be expanded as
We also note that these conditionals have a simple concrete form, as
where , , and is the marginal covariance matrix for the process at locations . These weights are the best linear prediction weights, or Kriging weights. For more background on the theory of linear prediction for Gaussian processes, we refer the reader to Stein (1999). The idea of Vecchia’s approximation in this context is very natural: if the process has Markovian-like structure (referred to as the screening property in the GP literature Stein (2011)), then the conditional distribution can be well-approximated with , where is a set of size called the conditioning set. Oftentimes, one chooses conditioning sets to contain indices of prior enumerated points that correspond to measurements at locations that are close in physical space to . From this idea, one can immediately obtain a good approximation for the joint log-density of with
If for all , then this immediately gives a trivially parallel -cost approximation to the full negative log-likelihood , whose naive evaluation would require for dense . Even more conveniently, the approximation (2.20) directly corresponds to a matrix-space approximation to the inverse Cholesky factor of . Letting be the exact inverse Cholesky for an upper or lower triangular matrix , Pourahmadi (1999) describes an interpretation of for which its rows or columns correspond to scaled Kriging weights like above, with scaling based on the inverse square root of the conditional variance . Considering that the Vecchia approximation sparsifies these conditional distributions by conditioning on only a small set of prior enumerated points instead of all of them, this naturally introduces a sparse approximation with only total nonzeros. This connection and construction is summarized in Figure 2 in the case where is chosen to be upper triangular (and denoted as ), and for more details on construction and derivation we refer the reader to Kaporin (1994); Katzfuss and Guinness (2021).
\Sigma^{-1}=UU^{T}\approx\tilde{U}\tilde{U}^{T}$$U_{:j}=\left[\begin{array}[]{c}-\frac{1}{c}\lambda_{1}\\ -\frac{1}{c}\lambda_{2}\\ -\frac{1}{c}\lambda_{3}\\ \vdots\\ -\frac{1}{c}\lambda_{j-3}\\ -\frac{1}{c}\lambda_{j-2}\\ -\frac{1}{c}\lambda_{j-1}\\ \hline\cr\\ \frac{1}{c}\\ \\ \hline\cr 0\\ \vdots\\ 0\end{array}\right],\;\;\tilde{U}_{:j}=\left[\begin{array}[]{c}0\\ \vdots\\ -\frac{1}{\tilde{c}}\tilde{\lambda}_{\sigma(j)_{1}}\\ 0\\ \vdots\\ -\frac{1}{\tilde{c}}\tilde{\lambda}_{\sigma(j)_{2}}\\ \vdots\\ \hline\cr\\ \frac{1}{\tilde{c}}\\ \\ \hline\cr 0\\ \vdots\\ 0\end{array}\right]
Figure 2: A graphical illustration of how the small-sum form of Vecchia approximations (2.20) corresponds to a sparse approximation to the inverse Cholesky factor of with precisely nonzero off-diagonal entries in each column of , using the form (the “reverse” Cholesky factor) given in Katzfuss and Guinness (2021).
With this tool, we can assemble a sparse preconditioner in time and with embarrassingly parallel design. Since we will be solving the augmented system to obtain weights and polynomial coefficients using PCG, the relevant property to study here is the condition number of the preconditioned system. Define to be the preconditioner using the exact Matérn matrix , and to be the preconditioner built with the Vecchia-approximated kernel. Letting , standard matrix norm properties give that
Several comments on this bound are in order. First, we note that the bound
is not a big sacrifice since the Vecchia approximation is constructed so as to approximate on all scales, and therefore extending from matrices to the full ones is unlikely to have a material impact on a condition number that should likely be very close to one. However, the same logic does not apply to as the inner matrices and will materially disagree in their leading polynomial terms. Conjugating by is necessary in order to make the leading terms in the kernel match. Consulting (2.17), we see that selecting a smaller will make the approximations of and sharper, reducing the first condition number. With that said, however, there is a tradeoff in that shrinking to a sufficiently small value may have a significant impact on , as the Vecchia approximation may become less accurate as the process becomes more strongly dependent.
With these observations in mind, we note then that there are two connected quantities that can be tuned to optimize the efficiency of the PCG solver. The first is size of the domain, as (2.1) demonstrates that rescaling the locations of the points by a factor will have no impact on the final interpolant. The second quantity is the selection of in the Matérn preconditioner. Intuitively, the balance is between making the leading error term in (2.17) smaller, which means a smaller and , and in making the Vecchia approximation more accurate, which is most easily achieved by making nearby points less dependent. At present, we do not offer a theoretically optimal choice of and , and we note that the same heuristic motivation given above will apply to any PHS kernel order , but may have very different optimal choices of and . Using a gradient-free numerical optimizer in the TPS case , scaling locations to be contained in and selecting produces very favorable results, often leading to convergence in fewer than iterations (as is demonstrated in the next section). For , the same procedure suggests scaling points to be contained in and selecting . We have not investigated higher spline orders, but it is plausible that a careful analysis would reveal good choices of domain scaling and for any .
3 Numerical Examples
This section contains various numerical experiments to demonstrate the performance of the scheme described in this paper. Throughout this section, all Vecchia preconditioners will be assembled with conditioning points (and full conditioning on prior enumerated points for ) in the case of thin-plate splines and for higher-order PHS kernels, and use a random permutation for the point enumeration. The software companion to this work, available at https://github.com/cgeoga/FastPolyharmonicSplines.jl, contains all code to reproduce the results below.
3.1 Preconditioning
To demonstrate the effectiveness of the preconditioner, we consider solving the system
where is the thin-plate spline kernel matrix that applied in linear time using the FMM and approach described in Section 2. The locations are taken to be i.i.d. uniform on , and the right hand side vector is random with . In previous work Beatson et al. (1999), an approximate cardinal function preconditioner was proposed which works in a way that is in some sense very reminiscent of a Vecchia approximation: at each location , a small fixed number of nearest neighbors are found (plus a few points at the endpoints, see Beatson et al. (1999) for details) and local interpolation weights are computed to build a function that evaluates to one at and zero at all of the other points in the neighborhood set. These weights are assembled into columns of a sparse matrix, resembling a sparse approximation to the inverse of . Unlike the Vecchia approach we propose here, this sparse approximate inverse method works directly in the PHS space and thus does not yield a positive-definite preconditioner. And since it is a direct preconditioner for , for fairness we solve (3.1) with GMRES so that the benchmarked approaches are identical save for the preconditioner design.
runtime (s)VecchiaApprox. cardinaliteration count
Figure 3: A runtime and iteration count comparison for solving the linear system (3.1) using our proposed Vecchia preconditioner with conditioning points (blue) and the approximate cardinal function preconditioner of Beatson et al. (1999) with neighbors per point (red). Solid shapes show the mean of ten trials, and the ten individual runtimes and iteration counts are shown as overlaid hollow shapes.
Figure 3 shows a comparison of the end-to-end runtime and iteration count of using GMRES to solve (3.1). We note that in Beatson et al. (1999), a custom stopping criterion is proposed in an attempt to better control iteration count. But using standard stopping criteria (in this case relative and absolute tolerances of ), we see that iteration counts are not controlled by the approximate cardinal function preconditioner. The Vecchia-based preconditioner, on the other hand, averaged fewer than iterations for all data sizes despite the fact that the polynomial column space in which the two kernels differ most was not removed. We attribute this improvement to the fact that Vecchia approximations more naturally cover local and non-local features by virtue of working in square-root space and with a fixed ordering. Based on the reported iteration counts of Powell (1994), we expect similar superlinear runtime cost for the preconditioning strategy reported there as well.
3.2 Accuracy
We now assess the accuracy in computing the weights using the accelerated application of and the PCG solve. As a baseline, we sample the function
and make predictions at densely gridded locations using (3.2). This choice of function poses a challenge for global interpolators by requiring the weights to resolve both a smooth oscillatory function and a singularity at one point. Moreover, this singular point ensures that the PCG solver for weights will need to contend with small eigenvalues of the matrix in the solution of (2.5), therefore also serving as a stress test for the preconditioner. For these reasons, it is suitable for a large- performance analysis. Figure 4 shows results from the simulation study in which points are given from a Sobol sequence Sobol (1967) on and then “regridded”, meaning that the interpolating function (1.1) is prepared and then evaluated on a dense grid of points on .
Figure 4 reports the end-to-end runtime cost of using dense linear algebra to exactly solve system (1.3) and evaluate (1.1) versus the accelerated method proposed here as well as an error comparison with standard dense methods. Runtimes include the cost of preconditioner assembly. All code was run using cores of an AMD EPYC P. Importantly, we see that the iterative FMM-accelerated PCG routine produces identical errors to the exact method that uses a Bunch-Kaufman factorization on the augmented matrix in (1.3), and that at higher tolerances the solvers are sufficiently exact to show error improvements with over points. Not shown here is the prediction error, as in all cases the errors agreed to sufficient precision that visualization is not productive.
runtime (s)exactapprox. (tol. )approx. (tol. )prediction error
Figure 4: Runtime and prediction accuracy verifications for the problem of predicting given by (3.2) on a regular grid on using points from a Sobol sequence. For the blue/circle line, the FMM was configured to use a tolerance of and PCG configured to declare convergence at relative and absolute tolerances of . For the triangle/green line, both the FMM and PCG tolerances were set to .
3.3 Higher-order interpolation
Next, we demonstrate the runtime cost and error of higher-order PHS interpolation. In particular, we consider the same sampling scenario as above, but now we produce regridding interpolants for the Franke function Franke (1982), which is a small sum of Gaussian and exponential functions given by
where , weights are , centers are , , , , and diagonal metric matrices are , , and . Since the new function to approximate is analytic everywhere, it is beneficial to use higher-order PHS functions instead of merely . Figure 5 demonstrates this phenomenon, and also validates the preserved runtime cost of the proposed approach for higher-order PHS functions. Since even for the condition number of the kernel matrix can exceed for even moderate , we do not take to such high of values as in Figure 4. Nonetheless, however, we see that runtimes still compare favorably with exact methods. For completeness, we also add a purple/triangle line representing the approach that uses an exact matrix-vector product for , naturally costing work and memory, but still using the PCG solver and Vecchia preconditioner.
runtime (s)errorexact(FMM)(FMM)(hybrid)error
Figure 5: Runtime and prediction accuracy verifications for the problem of predicting the Franke function on a regular grid on using points from a Sobol sequence. As above, the red/square line gives exact solutions, and the blue/circle line gives PHS interpolation with (thin-plate splines). The green/triangle line gives the FMM and PCG-accelerated analog with the PHS with , and the purple line gives a hybrid routine that uses exact matrix-vector products within the PCG framework.
We offer several comments on the obtained results: First, we see that the clear linear cost of the end-to-end pipeline is preserved for the PHS with , albeit it with a higher prefactor than with using . There are several reasons for this. Most obviously, applying the PHS matrix with requires FMMs instead of for , since the rank of the matrix with entries is higher due to additional cross terms. The fmm2d library has excellent vectorized routines, and so the cost is materially less than individual FMMs, but naturally it is still higher. Further, for , the PHS matrix is significantly more ill-conditioned than with . And while the Vecchia preconditioner still controls iteration count with , the average number of iterations required was around instead of . Finally, we note that due to this poor conditioning and sensitivity, it is prudent to tighten the tolerance of the FMM algorithm itself. The results of Figure 5 were computed with an FMM tolerance of for all results (including ), which is why the runtimes for interpolating with are also slightly longer than they were in Figure 4.
Second, we see that the increasingly poor conditioning of the PHS matrix inevitably makes it harder for the PCG solver to produce weights that work exactly as well as the exact dense solver, which uses a numerically stable Bunch-Kaufman factorization. It is well-known in the literature that higher-order PHS methods are typically not used globally and are not typically taken to such significant data sizes. But with that said, as Figure 5 demonstrates that for even moderate data sizes the speedup (and memory savings) that this approach offer are significant.
3.4 Application to real data
12141618202224-114-110-106-10212141618202224-114-110-106-102
Latitude
Figure 6: The full sea surface temperature anomaly data (left) and synthetic cloud-based missingness pattern (right).
As a final demonstration, we give an example of interpolating real data. In particular, we take sea surface temperature anomaly measurements from the NOAA Coral Reef Watch database NOAA Coral Reef Watch (2018) in the central Pacific ocean and use the synthetic missingness pattern resembling measurement gaps due to cloud cover from Arora and Geoga (2026). This is a common issue in satellite-based remote sensing datasets, leaving approximately measurements with which to predict the missing ones. In a traditional interpolation approach using scalable Gaussian process methods, one would specify a mean and covariance function (like the Matérn model that this work uses as a preconditioner), estimate parameters somehow (for example using a Vecchia approximation), and then perform some variety of nearest neighbor-based interpolation. Due to the scale-invariance of polyharmonic splines, however, if one is only interested in prediction and not also performing uncertainty quantification, PHS interpolants can often perform very well even with no parameter tuning.
| Method | runtime (s) | RMSE |
|---|---|---|
| Thin-plate spline | ||
| Matérn + Vecchia () |
Table 1: A summary of the runtime cost and prediction RMSE for interpolating the missing cloud-covered measurements shown in the right panel of Figure 6. Timings were obtained on an ultrabook form factor laptop with in Intel i7-1260P processor, and in the Matérn model case include parameter estimation as well as computing predictions.
Figure 6 shows the full data and the partial data after removing the measurements under synthetic cloud cover, and Table shows the runtime cost and prediction RMSE of thin-plate spline interpolation and Kriging with a Matérn covariance function and a Vecchia approximation using standard high-performance design choices. As Table demonstrates, the thin-plate spline interpolation performs noticeably better than the Matérn kernel and Vecchia approximation despite not having any tuning parameters to select. This disparity in performance highlights an interesting difference between the two functions: while the Matérn kernel and have similar behavior near the origin, the pairwise covariances implied by and are actually very different, exhibiting very slow decay (a model feature known as long memory) in the former case and exponential decay in the latter Olver et al. (2021); Matheron (1973). Due to the scale invariance of PHS kernels, however, the Matérn model can nonetheless serve as an extremely effective preconditioner with suitable point rescalings and parameter matching as described in Section 2.2.
4 Discussion
This work proposes a method for polyharmonic spline interpolation that combines several existing high-performance and well-studied methods—the fast multipole method (FMM) Greengard and Rokhlin (1987) for matrix-vector products and the Vecchia approximation Vecchia (1988); Kaporin (1994) for preconditioner design—with a few straightforward strategies for generalizing over the spline order and enabling the use of PCG for iteratively solving linear systems. Putting these observations together leads to a general and very performant method for PHS interpolation with materially better runtime performance than prior approaches and effectively exact agreement with exact dense methods until the linear system involves a matrix whose spectrum exhausts the dynamic range of double precision floating point numbers. The software library that is companion to this work offers a specially tuned and performant preconditioner design for and . Producing similarly tuned performant methods for matrix-vector products with will unlock similar performance for , and is an exciting avenue for future work, as is extending to three and higher dimensions.
Several other potentially useful follow-up projects to this work would also be natural. For one, we note that the kernel for , (with the same limiting case of above of when is an even integer), is a more general power law kernel that exhibits similar scale-invariance properties but provides more sensitivity to local smoothness. An algorithm for rapid matrix-vector products with that kernel would connect more directly with the generalized power law models in the Gaussian process literature Matheron (1973). Similarly, we note that scale-invariance in predictions is a property that is specific to first-order information. If one were also interested in obtaining confidence intervals for predictions, for example, then tuning parameters would be necessary to optimize exactly as one does for standard GP covariance functions. For that reason, log-determinants of would be necessary. The preconditioning tools here may be applicable to stochastic log-determinant estimation routines like stochastic Lanczos quadrature Ubaru et al. (2017).
Acknowledgments
This material is based on work supported by the National Science Foundation under Grant Number DMS-2610202. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
References
[1] S. Arora and C. Geoga (2026) Fast and accurate conditioning for large-scale Gaussian process prediction problems. arXiv preprint arXiv:2605.02574. Cited by: §3.4.
[2] T. Askham, A. Barnett, Z. Gimbutas, L. Greengard, L. Lu, M. O’Neil, M. Rachh, and V. Rokhlin (2026) Fmm2d software library. External Links: Link Cited by: §1, §2.1.
[3] T. Askham, Z. Gimbutas, L. Greengard, L. Lu, J. Magland, D. Malhotra, M. O’Neil, M. Rachh, V. Rokhlin, and F. Vico (2026) FMM3D software library. External Links: Link Cited by: Figure 1, Figure 1.
[4] R. Beatson L. Greengard et al. (1997) A short course on fast multipole methods. Wavelets, multilevel methods and elliptic PDEs 1 (1). Cited by: §2.1.
[5] R. Beatson, J. Cherrie, and C. Mouat (1999) Fast fitting of radial basis functions: methods based on preconditioned gmres iteration. Advances in Computational Mathematics 11 (2), pp. 253–270. Cited by: §1, §2.1, Figure 3, Figure 3, §3.1, §3.1.
[6] J. Bunch and L. Kaufman (1977) Some stable methods for calculating inertia and solving symmetric linear systems. Mathematics of computation, pp. 163–179. Cited by: §1.
[7] A.O. Finley, A. Datta, B.D. Cook, D.C. Morton, H.E. Andersen, and S. Banerjee (2019) Efficient algorithms for bayesian nearest neighbor gaussian processes. Journal of Computational and Graphical Statistics 28 (2), pp. 401–414. External Links: ISSN 1061-8600, Document Cited by: §2.2.
[8] R. Franke (1982) Scattered data interpolation: tests of some methods. Mathematics of computation 38 (157), pp. 181–200. Cited by: §3.3.
[9] L. Greengard, J. Huang, V. Rokhlin, and S. Wandzura (1998) Accelerating fast multipole methods for the Helmholtz equation at low frequencies. IEEE Comput. Sci. Engin. 5 (3), pp. 32–38. Cited by: §2.1.
[10] L. Greengard and V. Rokhlin (1987) A fast algorithm for particle simulations. J. Comput. Phys. 73 (2), pp. 325–348. Cited by: §1, §2.1, §2.1, §4.
[11] I. Kaporin (1994) New convergence results and preconditioning strategies for the conjugate gradient method. Numerical linear algebra with applications 1 (2), pp. 179–210. Cited by: §2.2, §2.2, §4.
[12] M. Katzfuss and J. Guinness (2021) A general framework for vecchia approximations of gaussian processes. Statistical Science 36 (1), pp. 124–141. Cited by: Figure 2, Figure 2, §2.2, §2.2.
[13] B. Matern (1960) Spatial Variation. Reports of the Forest Research Institute of Sweden. External Links: ISBN 9781461578925 Cited by: §2.2.
[14] G. Matheron (1973) The intrinsic random functions and their applications. Advances in applied probability 5 (3), pp. 439–468. Cited by: §3.4, §4.
[15] NOAA Coral Reef Watch (2018) Time series data for the CRW Version 3.1 Daily 5km Satellite Coral Bleaching Heat Stress Monitoring Product Suite. Note: NOAA Coral Reef Watch External Links: Link Cited by: §3.4.
[16] F.W.J. Olver, A.B. O. Daalhuis, D.W. Lozier, B.I. Schneider, R.F. Boisvert, C.W. Clark, B.R. Miller, B.V. Saunders, H.S. Cohl, and M.A. McClain (2021) NIST digital library of mathematical functions. Cited by: §2.2, §3.4.
[17] M. Pourahmadi (1999) Joint mean-covariance models with applications to longitudinal data: unconstrained parameterisation. Biometrika 86 (3), pp. 677–690. Cited by: §2.2.
[18] M. Powell (1994) Some algorithms for thin plate spline interpolation to functions of two variables. Advances in Computational Mathematics, New Delhi, India (ed. HP Dikshit & CA Micchelli), pp. 303–319. Cited by: §1, §2, §2, §3.1.
[19] Y. Saad (2003) Iterative methods for sparse linear systems. SIAM. Cited by: §1.
[20] F. Schaefer, M. Katzfuss, and H. Owhadi (2021) Sparse cholesky factorization by kullback–leibler minimization. SIAM J. Sci. Comput. 43 (3), pp. A2019–A2046. Cited by: §2.2.
[21] I. Sobol (1967) Distribution of points in a cube and approximate evaluation of integrals. USSR Computational mathematics and mathematical physics 7, pp. 86–112. Cited by: §3.2.
[22] M. L. Stein (1999) Interpolation of Spatial Data: Some Theory for Kriging. Springer (en). External Links: ISBN 9781461214946 Cited by: §2.2, §2.2.
[23] M.L. Stein, Z. Chi, and L.J. Welty (2004) Approximating likelihoods for large spatial data sets. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 66 (2), pp. 275–296. Cited by: §2.2.
[24] M. Stein (2011) 2010 rietz lecture: when does the screening effect hold?. The Annals of Statistics, pp. 2795–2819. Cited by: §2.2.
[25] S. Ubaru, J. Chen, and Y. Saad (2017) Fast Estimation of via Stochastic Lanczos Quadrature. SIAM Journal on Matrix Analysis and Applications 38 (4), pp. 1075–1099. External Links: ISSN 0895-4798, Document Cited by: §4.
[26] A.V. Vecchia (1988) Estimation and model identification for continuous spatial processes. Journal of the Royal Statistical Society: Series B (Methodological) 50 (2), pp. 297–312. Cited by: §2.2, §4.
[27] G. Wahba (1990) Spline models for observational data. SIAM. Cited by: §1, §1, §2.2.
[28] H. Wendland (2005) Scattered data approximation. Vol. 17, Cambridge university press Cambridge. Cited by: §1.
[29] P. Whittle (1963) Stochastic-processes in several dimensions. Bulletin of the International Statistical Institute 40 (2), pp. 974–994. Cited by: §2.2, §2.2.
[30] A. Yeremin, L. Kolotilina, and A. Nikishin (2000) Factorized sparse approximate inverse preconditionings. iii. iterative construction of preconditioners. Journal of Mathematical Sciences 101 (4), pp. 3237–3254. Cited by: §2.2.