arXiv:2608.11462math.NAAug 2026

Manuscript Offprint

arXiv:2608.11462

Linear-cost Polyharmonic Spline Interpolation of Arbitrary Degree

Christopher J. Geoga, Michael O'Neil

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 1515 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 O(n3)\mathcal{O}(n^{3}) computation in accuracy can be done at the cost of approximately 50−6050-60 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 {(xj,f(xj))}j=1n\left\{(\bm{x}_{j},f(\bm{x}_{j}))\right\}_{j=1}^{n} PHS interpolation involves decomposing the estimation of ff at un-measured locations into a polynomial trend term and a dense kernel interpolation-based remainder, so that

f^(x)=∑s=1SβsPs(x)+∑j=1nwjφ(∥xj−x∥),\hat{f}(\bm{x})=\sum_{s=1}^{S}\beta_{s}P_{s}(\bm{x})+\sum_{j=1}^{n}w_{j}\varphi(\left\|\bm{x}_{j}-\bm{x}\right\|),

where f^\hat{f} is the PHS interpolant, {Ps}s=1S\left\{P_{s}\right\}_{s=1}^{S} are tensor products of low-degree monic polynomials in each variable, φ\varphi is the polyharmonic spline radial basis function defined as

φ(r)={rkk∈N oddrklog⁡rk∈N even,\varphi(r)=\begin{cases}r^{k}&\text{$k\in\mathbb{N}$ odd}\\ r^{k}\log r&\text{$k\in\mathbb{N}$ even}\end{cases},

and w=[wj]j=1n\bm{w}=[w_{j}]_{j=1}^{n} are interpolating weights. The weights wjw_{j} and the coefficients βs\beta_{s} are given as the solution to the augmented linear system

[MBB0][wβ]=[f0],\begin{bmatrix}\bm{M}&\bm{B}\\ \bm{B}&\bm{0}\end{bmatrix}\begin{bmatrix}\bm{w}\\ \bm{\beta}\end{bmatrix}=\begin{bmatrix}\bm{f}\\ \bm{0}\end{bmatrix},

where Mj,k=φ(∥xj−xk∥2)\bm{M}_{j,k}=\varphi(\left\|\bm{x}_{j}-\bm{x}_{k}\right\|_{2}) is the kernel matrix generated by the PHS function φ\varphi, Bj,k=Pj(xk)\bm{B}_{j,k}=P_{j}(\bm{x}_{k}) is the matrix of polynomial functions up to (joint) order ≥k\geq k, and f=[f(xj)]j=1n\bm{f}=[f(\bm{x}_{j})]_{j=1}^{n} is the collection of given measurements. This specific formulation for PHS interpolation is necessary because the kernel function φ\varphi is only conditionally positive-definite: if B=QR\bm{B}=\bm{Q}\bm{R} is the thin QR decomposition of B\bm{B} chosen to contain exactly polynomials up to degree kk, then the eigenvalues of QTMQ\bm{Q}^{T}\bm{M}\bm{Q} are negative and Q⊥TMQ⊥≻0\bm{Q}_{\perp}^{T}\bm{M}\bm{Q}_{\perp}\succ\bm{0} for Q⊥\bm{Q}_{\perp} such that [Q  Q⊥][\bm{Q}\;\bm{Q}_{\perp}] is an n×nn\times n orthogonal matrix Wahba (1990); Wendland (2005), ensuring that weights for an interpolating solution f^\hat{f} 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 M\bm{M} is a dense matrix that is prohibitively expensive to factorize, and potentially even to form, for large data sizes nn. Direct methods to solve (1.3) will scale with O(n3)\mathcal{O}(n^{3}) complexity, as they require a factorization of the augmented (n+S)×(n+S)(n+S)\times(n+S) 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 O(n2)\mathcal{O}(n^{2}), 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 O(n)\mathcal{O}(n) 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 B\bm{B} allows for preconditioned conjugate gradient to be used, although the reported iteration counts again clearly grow with nn 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 v↦Mv\bm{v}\mapsto\bm{M}\bm{v} that exploits a standard identity for Hadamard products with low-rank matrices. As a result of this modification, the application v↦Mv\bm{v}\mapsto\bm{M}\bm{v} is computable for any spline order kk using a single FMM routine for a “core” kernel of φ(r)=r\varphi(r)=r or φ(r)=log⁡r\varphi(r)=\log r. Second, we describe a simpler preconditioner than those proposed in prior work that only requires O(n)\mathcal{O}(n) 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 n=106n=10^{6} points being interpolated at m=104m=10^{4} new locations in under 15s15s on a modest laptop.