Stable interpolation with isotropic and anisotropic Gaussians using Hermite generating function
Katharina Kormann, Caroline Lasser, Anna Yurova

TL;DR
This paper introduces a new stabilization algorithm for multivariate Gaussian interpolation, leveraging Hermite polynomial generating functions, which improves accuracy and stability especially in high-precision regimes.
Contribution
It proposes a novel stabilization method based on Hermite generating functions and an analytic cut-off criterion for Gaussian interpolation, enhancing existing techniques.
Findings
New stabilization algorithm for Gaussian interpolation
Automatic adjustment of basis functions via analytic cut-off
Improved stability in high-accuracy regimes
Abstract
Gaussian kernels can be an efficient and accurate tool for multivariate interpolation. In practice, high accuracies are often achieved in the flat limit where the interpolation matrix becomes increasingly ill-conditioned. Stable evaluation algorithms for isotropic Gaussians (Gaussian radial basis functions) have been proposed based on a Chebyshev expansion of the Gaussians by Fornberg, Larsson & Flyer and based on a Mercer expansion with Hermite polynomials by Fasshauer & McCourt. In this paper, we propose a new stabilization algorithm for the multivariate interpolation with isotropic or anisotropic Gaussians derived from the generating function of the Hermite polynomials. We also derive and analyse a new analytic cut-off criterion for the generating function expansion that allows to automatically adjust the number of the stabilizing basis functions.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Stable Interpolation with isotropic and anisotropic Gaussians using Hermite generating function
Katharina Kormann*†‡* and Caroline Lasser*‡* and Anna Yurova*†‡*
(Date:
Funding: This work has been carried out within the framework of the EUROfusion Consortium and has received funding from the Euratom research and training programme 2014-2018 and 2019-2020 under grant agreement No 633053. The views and opinions expressed herein do not necessarily reflect those of the European Commission.
Max Planck Institute for Plasma Physics, Boltzmannstr. 2, 85748 Garching, Germany ([email protected], [email protected]).
Technical University of Munich, Department of Mathematics, Boltzmannstr. 3, 85748 Garching, Germany ([email protected]).)
Abstract.
Gaussian kernels can be an efficient and accurate tool for multivariate interpolation. In practice, high accuracies are often achieved in the flat limit where the interpolation matrix becomes increasingly ill-conditioned. Stable evaluation algorithms for isotropic Gaussians (Gaussian radial basis functions) have been proposed based on a Chebyshev expansion of the Gaussians by Fornberg, Larsson & Flyer and based on a Mercer expansion with Hermite polynomials by Fasshauer & McCourt. In this paper, we propose a new stabilization algorithm for the multivariate interpolation with isotropic or anisotropic Gaussians derived from the generating function of the Hermite polynomials. We also derive and analyse a new analytic cut-off criterion for the generating function expansion that allows to automatically adjust the number of the stabilizing basis functions.
1. Introduction
Multivariate interpolation is a topic that is relevant for a vast number of applications. Gaussian radial basis functions (Gaussian RBFs) are a class of functions for which interpolation generalizes to higher dimensions in a simple way while yielding spectral accuracy [6]. However, it is known that rather small values of the shape parameter (the width of the Gaussians) are often required. In this case, the Gaussians become increasingly flat, and the interpolation matrix becomes ill-conditioned. This problem has been extensively studied in the literature (see the review [8] by Fornberg & Flyer and [19] for Tarwater’s description of this phenomenon in 1985). It has been quantified by Fornberg & Zuev [13], that the eigenvalues of the interpolation matrix are proportional to powers of the shape parameter, causing the notorious ill-conditioning in the flat limit regime .
A direct collocation solution of the interpolation problem, referred to as RBF-Direct in the literature, computes the expansion coefficients of the Gaussian interpolant by inverting the collocation matrix and then evaluating the expansion. Several algorithms have been proposed to stabilize this procedure in the flat limit regime, see [12, 11, 9, 7, 16, 5, 10]. A common idea of many of the stabilization algorithms—including the one proposed in this paper—is to evaluate the interpolant in a sequence of well-conditioned steps by a transformation to a different basis so that the ill-conditioning is isolated in a diagonal matrix that can be inverted analytically.
1.1. The new HermiteGF stabilization approach
In this paper, we propose a stabilizing expansion of isotropic Gaussian functions, later referred to as HermiteGF expansion, built on the exponential generating function of the classic Hermite polynomials. For certain classes of functions, anisotropic Gaussians yield improved accuracy as shown in [2]. To include these cases in our description, we use an anisotropic generating function recently obtained by Dietert, Keller, & Troppmann [4] as well as by Hagedorn [14] and generalize our HermiteGF expansion to the anisotropic case. We also propose and analyze a novel cut-off criterion, that contrary to the existing ones does not only account for the diagonal contributions of the stabilization but measures the impact of the full stabilization basis.
1.2. Previous stabilization approaches
The first stabilization method was the Contour–Padé approximation proposed by Fornberg & Wright for multiquadrics [12]. Later Fornberg & Piret [11] proposed the so-called RBF-QR method for stable interpolation with Gaussians on the sphere by expanding the Gaussians in spherical harmonics. The method has been extended to more general domains in one to three dimensions by Fornberg, Larsson, & Flyer [9]. This expansion is based on a combination of Chebyshev polynomials and spherical harmonics. This method will be referred to as Chebyshev-QR in this paper. The technique has also been used for the stable computation of RBF-generated finite differences by Larsson, Lehto, Heryudono, & Fornberg [16]. Fornberg, Lehto, & Powell [10] developed an alternative stabilization technique for the same problem. To treat complex domains, the Chebyshev-QR method has been combined with a partition-of-unity approach by Larsson, Shcherbakov, & Heryudono [17]. Fasshauer & McCourt [7] have developed another RBF-QR method, called Gauss-QR, that relies on a Mercer expansion of the Gaussian kernel. The basis transformation involves scaled Hermite polynomials. Compared to the Chebyshev-QR method by Fornberg et al. [9], the Gauss-QR algorithm extends to higher dimensions in a simpler way. On the other hand, the method introduces an additional parameter that needs to be hand-tuned. Our new basis is similar to the one in [7] with the difference that it can be extended to the interpolation with anisotropic Gaussians. Moreover, the generating function framework enables us to derive a new cut-off criterion that accounts for the full Hermite basis effect.
1.3. Organization of the paper
The paper is organized as follows: In section 2, we introduce our HermiteGF expansion of isotropic and anisotropic Gaussians and derive important properties of the HermiteGF basis. In section 3, we propose a new RBF-QR method based on the HermiteGF basis. A cut-off criterion for the new HermiteGF expansion is derived in section 4. Numerical results show the accuracy of our method in section 5 and finally, section 6 concludes the paper.
2. HermiteGF expansion
In this section, similarly to the earlier stabilization approaches [11, 9, 7], we propose an expansion of the anisotropic Gaussians in a “better” basis, that spans the same space, but avoids instabilities related to the flat limit. For the sake of simplicity, we first derive the expansion for Gaussians in 1D. We then extend our expansion to the case of multivariate anisotropic Gaussians.
2.1. Interpolation problem
Before introducing our expansion of the Gaussian basis, let us briefly define the interpolation problem.
Given a set of expansion functions and the values of the function at collocation points we seek to find an interpolant of the form,
[TABLE]
such that it satisfies the collocation conditions,
[TABLE]
The direct approach is to find the coefficients as a solution of the linear system,
[TABLE]
The matrix is called collocation matrix. Then, after solving the linear system (2.2), the interpolant (2.1) can be evaluated at any point of the domain. In this paper, we consider Gaussian radial basis functions (isotropic Gaussians)
[TABLE]
with center points , shape parameter and anisotropic Gaussians
[TABLE]
with invertible shape matrix .
2.2. HermiteGF expansion in 1D
Let be the Hermite polynomials in the physicists’ version, that satisfy the recurrence relation,
[TABLE]
The following upper bound holds for the magnitude of the Hermite polynomials [1, Expr. 22.14.17]: There exists a positive constant such that
[TABLE]
for all and all . The combinatorial factors grow very fast with . Therefore, in order to avoid overflow for large , we work with a scaled version of the Hermite polynomials, . We introduce three parameters,
[TABLE]
that is, the usual shape parameter , a scaling parameter for varying the evaluation domain of the Hermite polynomials to improve conditioning, and a truncation parameter for controlling the truncation error of the stabilization expansion. We then define the following basis functions,
[TABLE]
that we refer to as HermiteGF functions.
Based on the generating function theory, we derive an infinite expansion of the one dimensional Gaussian RBFs in the new HermiteGF basis .
Proposition 2.1** (HermiteGF expansion (1D)).**
For all parameters , , , and for all shifts , we have a pointwise expansion
[TABLE]
for all , where . The RBF interpolant can then be pointwise computed as
[TABLE]
Proof.
The Hermite polynomial’s generating function is given by (see e.g. [1, Expr. 22.9.17]),
[TABLE]
Choosing and , we obtain
[TABLE]
Hence, we get
[TABLE]
which proves expansion (2.3). Using expansion (2.3) in the interpolant (2.1), we get the representation (2.4). ∎
Remark 2.1** (Basis centering).**
Hermite polynomials are symmetric with respect to the axis . Due to its growth behavior, it is advantageous to have the basis centered around this point of symmetry, that is, to use the translation , where is the interval of interest for evaluating the function .
Remark 2.2** (The parameter ).**
The parameter in the basis allows control over the evaluation domain of the Hermite polynomials. When choosing it, one has to consider two counteracting effects: For small values of , ill-conditioning appears since the values of the basis functions at the collocation points are too similar. On the other hand, Hermite polynomials take very large values on large domains which can lead to an overflow. An optimal balance depends on the particular function and the number of basis functions.
2.3. Multivariate HermiteGF expansion of anisotropic Gaussians
The HermiteGF expansion can be easily extended to higher dimensions for the case of isotropic Gaussians, using tensor products of 1D physicists’ Hermite polynomials,
[TABLE]
However, finding a stable interpolant for anisotropic Gaussian functions of the type
[TABLE]
is a more challenging task. A similar question was raised in [7, 8.5], however, without further investigation. McCourt & Fasshauer [18] considered anisotropic Gaussians with diagonal shape matrix using Mercer expansion theory, but this result has not been extended to the case of arbitrary . Analogously to the 1D case, we define the multivariate version of our HermiteGF functions by
[TABLE]
where are arbitrary invertible matrices.
Proposition 2.2** (HermiteGF expansion of anisotropic Gaussians).**
Let and invertible matrices. Consider the anisotropic Gaussian . Then, for any shift the following relation holds pointwise in :
[TABLE]
*where , . *
Proof.
We use the following anisotropic Hermite generating function (see [4, Lemma 5] or [14, Theorem 3.1] with ):
[TABLE]
We denote and . Then, using (2.7), we get
[TABLE]
We observe that
[TABLE]
Putting everything together we arrive to (2.6). ∎
This expansion provides a new powerful tool for dealing with anisotropic approximation. Note that the standard multidimensional isotropic Gaussian interpolation corresponds to the following matrix :
[TABLE]
2.4. Mehler’s formula (nD)
In this section, we investigate the behavior of the HermiteGF basis functions with large index approaching infinity. To be able to decide where to cut the HermiteGF expansion for numerical purposes, it is useful to quantify the size of the tail of the truncated expansion. For that, we take a look at the magnitude of the values of the HermiteGF basis. We consider the infinite-dimensional vector that contains the values of all basis functions at a certain point . Its Euclidean norm can be computed analytically using a multivariate extension of Mehler’s formula for Hermite polynomials.
Theorem 2.1** (Bilinear generating function).**
The following relation holds for all and all
[TABLE]
Proof.
We extend the 1D proof proposed by Watson in [20, p. 4] to multiple dimensions. Applying the inverse Fourier transform to the Fourier transform of a normal distribution with , we get
[TABLE]
Hence,
[TABLE]
where we used the Rodrigues formula for multivariate tensor-product Hermite polynomials (see [4, Expr. 11] with ). Then,
[TABLE]
where we used the Taylor series of the exponential function. Recall the following formula for a bivariate Gaussian Fourier integral (see [20, p. 4]):
[TABLE]
with
[TABLE]
Using (2.10) times for the integral (2.9) together with the algebraic identity
[TABLE]
yields (2.8).
∎
With the help of the multidimensional Mehler’s formula we can now compute the square of the Euclidean norm
[TABLE]
of the infinite vector containing the values of all basis functions with at some point . Indeed,
[TABLE]
We take a look if this value matches our numerical result. One can see in Figure 1 that for the square domain the limit value is matched for different values of , .
3. Stabilization of the RBF interpolation
In this section, we derive a numerical stabilization algorithm for RBF interpolation based on the HermiteGF expansion. The main idea is to represent the RBF interpolant in the more stable basis . For appropriately chosen parameters and , we expect it to be better conditioned. We now first derive the HermiteGF-QR algorithm in 1D and then generalize it to a multidimensional form.
3.1. HermiteGF-QR (1D)
In 1D we denote by
[TABLE]
the vector of Gaussians with center points evaluated at and write the stabilization expansion (2.3) as an infinite matrix-vector product
[TABLE]
where the vector
[TABLE]
contains all the elements of the polynomial basis evaluated in the translated point and
[TABLE]
is an matrix. The major part of the ill-conditioning is now confined in the matrix . Since is independent of the point where the basis function is evaluated, both the evaluation and interpolation matrix can be expressed in the form (3.1) with the same matrix .
We follow the RBF-QR approach and further split
[TABLE]
into a well-conditioned full matrix and an infinite diagonal matrix , where all harmful effects are confined in . In the case of expansion (2.3), the following setup follows naturally from the Chebyshev-QR theory [9, 4.1.3],
[TABLE]
Here we also divide each coefficient by the radius of the domain containing the center points in order to avoid ill-conditioning in coming from taking high powers of . That might be dangerous when the domain is too large, however, it still extends the range of domain diameters possible.
The goal is now to find a basis spanning the same space as but yielding a better conditioned collocation matrix. In particular, we need an invertible matrix such that is better conditioned. Let us perform a QR-decomposition on . Then we get,
[TABLE]
where and are matrices containing the upper (left) block of the infinite matrices and , respectively, while and assemble the remaining entries. Consider . The new basis can be formed as,
[TABLE]
To avoid under/overflow in the computation of , we form the two matrices and with elements
[TABLE]
and compute their Hadamard product, . Despite the harmful effects contained in , the resulting term is then harmless.
3.2. Multivariate anisotropic HermiteGF-QR
In this section, we derive an analog of the HermiteGF-QR algorithm for the multivariate case. Since we are now dealing with matrices, in the general case, it is impossible to separate from in as we did before. Therefore, the flow of the HermiteGF-QR does not apply directly. However, it is still possible to tackle some part of the ill-conditioning analytically. Consider the following splitting of the matrix :
[TABLE]
where is the diagonal matrix containing the diagonal elements of and contains the remaining off-diagonal terms. Denote
[TABLE]
Then, it holds that
[TABLE]
where can be computed analytically. Denote . Then, the generating function expansion (2.6) can be written as:
[TABLE]
As before, we can write the expansion above as the infinite matrix-vector product
[TABLE]
with
[TABLE]
As before, we write the transpose of the infinite matrix as a product with
[TABLE]
The matrix product contained in the vectors can be computed analytically. The diagonal part of the matrix , that is now in the matrix can be handled in the exact same fashion as it has been done in 1D. In particular, we perform the QR-decomposition of the matrix , block decompose
[TABLE]
such that the entries related to the first stabilizing basis functions are contained in the matrices and , and consider the preconditioner . Hence, analogously to the HermiteGF-QR case, the new basis can be formed as
[TABLE]
The action of and can again be computed as the Hadamard product with
[TABLE]
Remark 3.1**.**
When the magnitude of gets too large, the matrix can also become ill-conditioned. To avoid that, one can increase the magnitude of the elements of . Alternatively, one can add a scaling in which should then be compensated in the matrix , similarly to the scaling with the domain size in the 1D version.
3.2.1. Isotropic HermiteGF-QR
In the isotropic case, when and , the expressions for the matrices and can be written in a simpler way. In particular, in this case, we have
[TABLE]
Hence, the diagonal vector simplifies to and the elements of the matrices and take the form
[TABLE]
3.3. HermiteGF interpolant
In the new basis, we can write the equivalent formulation of the interpolant (2.1) as
[TABLE]
To compute the interpolant in the new formulation numerically, we have to cut the infinite expansion (2.6). We discuss the cut-off strategy in section 4.
3.4. Alternative splitting based on the Vandemonde matrix
Instead of using a QR-decomposition of the matrix one could also split it as , where is a diagonal matrix for the exponential part and accounts for the polynomial contributions,
[TABLE]
We now decompose the original basis using this splitting,
[TABLE]
where and . With the preconditioner , the new basis reads as
[TABLE]
One can see that
[TABLE]
where is the first block of . Therefore, in exact arithmetic and are the same, however, in floating-point arithmetic the values of the bases might differ. However, we will use this alternative splitting for the derivation and analysis of a suitable cut-off criterion for the HermiteGF basis in the next section.
4. Cut-off of the expansion
To make the RBF-QR methods usable for numerical computations, one has to cut the expansion (2.6) at a certain polynomial degree which in 1D also corresponds to the number of stabilizing basis functions . In the multivariate setting, the number of basis functions equals
[TABLE]
However, choosing an efficient cut-off degree is not a trivial task. We first derive a criterion that is analogous to the state-of-the-art criteria for other RBF-QR methods ([9, Expr. 5.2], [7, Expr. 4.10]). However, especially in the HermiteGF case, it turns out to be inefficient, i.e. it overestimates the number . We then derive a new cut-off criterion based on the theoretical framework presented in the previous sections. This new criterion allows to directly control the approximation error of the stable basis which is more efficient while still being effective.
4.1. State-of-the-art criterion
Similarly to [9, Expr. 5.2], [7, Expr. 4.10] we take a look at the matrix that contains the effects of and . Recall that for the QR methods in section 3.1 the matrix is then multiplied element-wise with the matrix . We stop once all elements of the new block of are below machine precision, i.e.
[TABLE]
The criterion (4.1) guarantees that all additional columns that could be added to would yield elements in that are below machine precision. We now take a look at the behavior of the elements of the matrix . Here, for the Gauss-QR method we used . One can see in Figure 2 that for small values of the behavior is very similar for all three methods. However, for large the decay in is particularly bad in our formulation. This criterion also neglects the matrix and the effect of the polynomial vector . In particular, we know from section 2.4 that the tail of the polynomial vector has some decay.
4.2. New HermiteGF cut-off criterion
In this section, we derive a more holistic criterion for the cut-off in the HermiteGF expansion. We use the Vandermonde formulation of the method since it provides an explicit expression for the elements of all matrices which simplifies the analytical study of the method. We cut the polynomial vector as
[TABLE]
with , where the number of basis functions used is larger than the number of collocation points, that is, . Analogously we cut the Vandermonde matrix and the infinite diagonal matrix ,
[TABLE]
with and . We note that the infinite matrix contains the columns of the full Vandermonde matrix from column onward, while the infinite matrix contains the diagonal entries of the full diagonal matrix starting from the entry . We then rewrite the formulation of the method (see section 3.4) after the cut-off,
[TABLE]
We want to make sure that
[TABLE]
is small for all collocation points by choosing a sufficiently large but not too large truncation parameter . For estimating , we need the following lemma.
Lemma 4.1** (Exponential tail).**
Consider with for all and . Then,
[TABLE]
where .
Proof.
Consider the function
[TABLE]
We note that the estimated sum coincides with the remainder of the Taylor series for the function at the point . Then, according to the multivariate Taylor’s theorem, there exists such that
[TABLE]
Noting that for , we arrive at (4.2). ∎
Before proceeding to the estimation of the truncation error , we recall the definition of the vectors
[TABLE]
for . They will contribute to the upper bound of the following estimate. In the isotropic case, they have the particularly simple form
[TABLE]
Theorem 4.1** (Truncation estimate).**
For we set
[TABLE]
where is the upper left block of the infinite Vandermonde matrix . For we denote
[TABLE]
Then, the truncation error satisfies for all ,
[TABLE]
where can be evaluated via (2.11).
Proof.
We start by observing that
[TABLE]
Hence, it holds that
[TABLE]
and due to compatibility of Frobenius norm and the 2-norm
[TABLE]
We further consider the two norms on the right-hand side separately. We first take a look at the Frobenius norm. Recall that in the RBF-QR method we evaluate the effect of the impact of analytically. We can do the same here:
[TABLE]
where denotes the Hadamard product and is constructed analogously to (3.3). We write the Frobenius norm as
[TABLE]
and estimate with the help of the Cauchy-Schwarz inequality,
[TABLE]
where is the -th multi-index corresponding to our basis enumeration. We used the explicit expression of as defined in (3.2) and write
[TABLE]
We denote . Then, by lemma 4.1 we get
[TABLE]
Using the multinomial theorem and the fact that
[TABLE]
we arrive to estimate (4.3). ∎
The denominator in expression (4.3) can take extremely small values that can lead to underflow. To avoid this, it can be combined with . For this, we define the -dimensional index and use the following transformation
[TABLE]
where denotes component-wise division. Pulling out the constant of the estimate (4.3) can be rewritten as
[TABLE]
Note, that in the isotropic case, one can simplify . We are now ready to formulate our cut-off criterion.
Criterion 1**.**
We choose for the HermiteGF-QR method such that
[TABLE]
where are the collocation points.
Since we are looking at the relative error, the tolerance TOL need not be machine precision. The crucial difference to the state-of-the-art criterion (4.1) is that now the TOL directly controls the accuracy of the stable basis . Depending on the desired accuracy, the tolerance can be adjusted for the specific problem.
4.3. Automatic detection of
One can use the criterion above also for determining the value of the parameter . We scan the whole spectrum of the values of and detect the one that yields the minimum amount of basis functions
[TABLE]
Note that very small values of can cause cancellations and should be excluded (see LABEL:{sec:numerics_iso_N}). Even though this introduces additional computational cost in the determination of the suitable expansion, it could be profitable for the cases where the basis is used multiple times after having fixed the number as e.g. in a time loop.
5. Numerical results
We have implemented the HermiteGF interpolation in MATLAB. The code is available for download at https://gitlab.mpcdf.mpg.de/clapp/hermiteGF. We compare the isotropic HermiteGF-based algorithm with the existing stabilization methods, the Chebyshev-QR method111Code downloaded from http://www.it.uu.se/research/scientific_computing/software/rbf_qr on September 10, 2018. and the Gauss-QR method222Code downloaded from http://math.iit.edu/~mccomic/gaussqr/ on September 5, 2018.. We evaluate the influence of different parameters, such as , , number of collocation points on the quality of the interpolation. For the Gauss-QR method, we take the free parameter to be equal to our value of , i.e., . Since there are no stabilization methods available for fully anisotropic interpolation, we test the anisotropic HermiteGF-QR only against the direct algorithm to verify the correctness. To determine the cut-off degree in the HermiteGF method, we use the HermiteGF cut-off criterion with , unless stated otherwise. For this tolerance, the HermiteGF-QR method provides results that match the results from Chebyshev-QR and Gauss-QR. The parameter is detected automatically. In all tests we evaluate the interpolant at a set of evaluation points and look at the average error of the form [7, 5.1, Expr. (5.2)]:
[TABLE]
5.1. 2D isotropic interpolation
In this section, we take a look at the two-dimensional interpolation with HermiteGF-QR. We take multiples of the identity for both and . We look at a hyperbolic domain (see Figure 3) defined by the inequality
[TABLE]
with a boundary condition . The hyperbola of type (5.1) can then be parameterized as
[TABLE]
We run the tests for the following function ( from [9, 6]):
[TABLE]
We investigate the behavior of the performance of the interpolation with respect to the parameters , , and number of functions . We use , and optimize from the set , unless stated otherwise.
We sample the collocation points from Halton points that are clustered to the boundary and mapped to the hyperbolic domain. For all tests, we use evaluation points that are sampled similarly to the collocation points, but based on a uniform grid and without clustering. The nodes distribution is depicted in Figure 3. This domain and sampling strategy choice was inspired by [9, 6.1.2].
5.1.1. The number of nodes
Let us first look at the behavior of the method for different numbers of nodes, . We take the values of of the form for some integer , such that there are no same powers of present in both and . In Figure 4, we see that the error consistently decays for all the tested methods. Choosing the truncation parameter in the interval , the conditioning of the HermiteGF-QR method is slightly worse than for the other methods, since big powers of smaller values of yield cancellations. Indeed, limiting the range of to brings the conditioning to the level of the other methods. Using all integers in the interval also provided consistent results for all three methods, however, the picture gets noisy. A snippet of that behavior can be seen in the zoomed regions in Figure 4. This can be related to the fact that for the values of of the form above the limit of the RBF interpolant in the flat limit is a unique polynomial of degree [15, Theorem 4.1] whereas for other values the uniqueness is not guaranteed.
5.1.2. Sensitivity to
Let us take a look at the influence of the parameter on the interpolation quality. We see in Figure 5 that for small the interpolation quality is not sensitive to the value of . However, for larger the parameter has to be chosen with care. One can see in the Figure 5(b) that the conditioning is worse for small . However, one should be careful while increasing since it also increases the evaluation domain of the Hermite polynomials, which take very large values on large domains which can lead to overflow. This effect becomes more pronounced as the degree of the Hermite polynomials increases. The optimal balance depends on the particular function and the number of basis functions.
5.1.3. Cut-off degree
Next, we look at the influence of the value of TOL on the quality of the interpolation. We compare the error only to the Gauss-QR method since the difference between the Chebyshev-QR and Gauss-QR results is down to machine precision. One can see in Figure 6 that for TOL the difference HermiteGF-QR and Gauss-QR is also down to machine precision. If we relax the tolerance to , the error is still small compared to the magnitude of the interpolation error, while having smaller , which yields an improved computational efficiency. Also, the figure shows a general trend that the expansion decays rather fast for small while an increasing number of basis functions is needed for close to 1.
5.2. 2D anisotropic interpolation
To test the performance of the HermiteGF expansion for anisotropic basis functions, we consider the function:
[TABLE]
As collocation points, we use Halton points clustered toward the boundaries. For the evaluation grid we use uniformly distributed points. We choose a non-diagonal matrix . As for the shape matrix , we check whether the off-diagonal elements influence the quality of the results. We fix and to be of the following form:
[TABLE]
We restrict to the interval in order to improve the stability of the computations. Let us take a look on how much the off-diagonal elements of the matrix influence the error. For our scan, we take 30 logarithmically distributed values of . One can see from Figure 7 that properly chosen off-diagonal elements improve the quality of the interpolation. However, for larger slight instabilities occur which might be explained since becomes singular for .
5.3. Multivariate interpolation
In this section, we consider an example of the usage of HermiteGF-QR in higher dimension. For all tests, we use the function
[TABLE]
where . We use Halton collocation points and 1000 Halton points, excluding the ones used for collocation, for the evaluation grid. We fix , logspace(-3, 0.1, 30), and we again optimize the parameter over the set . As before, we choose the tolerance . We first look whether the anisotropic HermiteGF-QR method converges to the results of the direct interpolation as increases. We choose an arbitrary pattern for in order to verify that the stabilization works for a truly anisotropic interpolation,
[TABLE]
In Figure 8(a), we can see that HermiteGF-QR interpolation works stably even for very small values of for different . On the other hand, for larger values of the result matches the direct anisotropic interpolation.
In order to validate the HermiteGF-QR method in higher dimensions against the existing methods, we compare the isotropic HermiteGF-QR method with the Gauss-QR method in 3-5D. For that, we fix the shape matrix and the number of interpolation points as
[TABLE]
where is the dimensionality. We choose the tolerance since it is enough to meet the overall accuracy of the method. One can see in Figure 8(b) that the HermiteGF-QR method matches the reference Gauss-QR method in 3-5D.
6. Conclusion and Outlook
In this paper, we derive a new stabilization algorithm for Gaussian RBF interpolation in the flat limit (). The main idea of “isolating” the ill-conditioning in a special matrix is the same as in the previous approaches [11, 7, 9]. However, our new algorithmic framework draws from generating functions that naturally extend to the interpolation with anisotropic Gaussians. We introduce several parameters (/, /, ) for the new HermiteGF basis which have a distinct connotation: / is the original shape parameter of the Gaussian basis, / stands for the size of the evaluation domain of the Hermite polynomials, and the technical basis truncation parameter can be chosen automatically thanks to a novel analytically derived truncation criterion. The interpolation quality is not sensitive to the precise value of /. The generic formulation of the method essentially provides an algorithm in any dimension, and we have reported results for up to five dimensions.
For the cut-off of the HermiteGF expansion, we derive a novel truncation criterion, generalizing Mehler’s theory for bilinear generating functions. In particular, we analytically estimate the truncation error in the stable HermiteGF basis . This allows adjusting the number of basis functions based on the desired accuracy in the basis .
The HermiteGF-QR algorithm has been implemented in MATLAB. For all isotropic test cases, the accuracy of the HermiteGF-QR method is consistent with the ones of established stabilization methods (Chebyshev-QR, Gauss-QR). For the anisotropic case, the results matches the RBF-Direct method, where the latter is applicable.
The stability of our algorithm could be further improved by employing special algorithms for the stable inversion of the Vandermonde type matrices. Based on the successful experience of the automatic detection of the truncation parameter , it could be possible to develop an algorithm of choosing an optimal parameter matrix defining the effective evaluation domain. We believe that our anisotropic method could be also of interest in statistical data fitting [5, 17] or for continental size ice sheet simulations, see e.g. [3].
Acknowledgments
Fruitful discussions with Elisabeth Larsson (Uppsala University) and Michael McCourt (SigOpt) are gratefully acknowledged.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Abramowitz and I. A. Stegun , Handbook of mathematical functions: with formulas, graphs, and mathematical tables , vol. 55, Courier Corporation, 1964.
- 2[2] R. Beatson, O. Davydov, and J. Levesley , Error bounds for anisotropic rbf interpolation , Journal of Approximation Theory, 162 (2010), pp. 512 – 527, https://doi.org/10.1016/j.jat.2009.08.004 . · doi ↗
- 3[3] G. Cheng and V. Shcherbakov , Anisotropic radial basis function methods for continental size ice sheet simulations , Journal of Computational Physics, 372 (2018), pp. 161–177, https://doi.org/10.1016/j.jcp.2018.06.020 . · doi ↗
- 4[4] H. Dietert, J. Keller, and S. Troppmann , An invariant class of wave packets for the Wigner transform , Journal of Mathematical Analysis and Applications, 450 (2017), pp. 1317–1332, https://doi.org/10.1016/j.jmaa.2016.12.041 . · doi ↗
- 5[5] G. Fasshauer and M. Mc Court , Kernel-based approximation methods using Matlab , vol. 19, World Scientific Publishing Company, 2015.
- 6[6] G. E. Fasshauer, F. J. Hickernell, and H. Woźniakowski , On dimension-independent rates of convergence for function approximation with Gaussian kernels , SIAM Journal on Numerical Analysis, 50 (2012), pp. 247–271, https://doi.org/10.1137/10080138 X . · doi ↗
- 7[7] G. E. Fasshauer and M. J. Mc Court , Stable evaluation of Gaussian radial basis function interpolants , SIAM Journal on Scientific Computing, 34 (2012), pp. A 737–A 762, https://doi.org/10.1137/110824784 . · doi ↗
- 8[8] B. Fornberg and N. Flyer , Solving PD Es with radial basis functions , Acta Numerica, 24 (2015), p. 215–258, https://doi.org/10.1017/S 0962492914000130 . · doi ↗
