fbpx
Wikipedia

Radial basis function interpolation

Radial basis function (RBF) interpolation is an advanced method in approximation theory for constructing high-order accurate interpolants of unstructured data, possibly in high-dimensional spaces. The interpolant takes the form of a weighted sum of radial basis functions,[1] like for example Gaussian distributions.[2] RBF interpolation is a mesh-free method, meaning the nodes (points in the domain) need not lie on a structured grid, and does not require the formation of a mesh. It is often spectrally accurate[3] and stable for large numbers of nodes even in high dimensions.

Many interpolation methods can be used as the theoretical foundation of algorithms for approximating linear operators, and RBF interpolation is no exception. RBF interpolation has been used to approximate differential operators, integral operators, and surface differential operators.

Examples Edit

Let   and let   be 15 equally spaced points on the interval  . We will form   where   is a radial basis function, and choose   such that   (  interpolates   at the chosen points). In matrix notation this can be written as

 

Choosing  , the Gaussian, with a shape parameter of  , we can then solve the matrix equation for the weights and plot the interpolant. Plotting the interpolating function below, we see that it is visually the same everywhere except near the left boundary (an example of Runge's phenomenon), where it is still a very close approximation. More precisely the maximum error is roughly   at  .

 
The function   sampled at 15 uniform nodes between 0 and 1, interpolated using the Gaussian RBF with a shape parameter of  .
 
The interpolation error,  , for the plot to the left.

Motivation Edit

The Mairhuber–Curtis theorem says that for any open set   in   with  , and   linearly independent functions on  , there exists a set of   points in the domain such that the interpolation matrix

 

is singular.[4]

This means that if one wishes to have a general interpolation algorithm, one must choose the basis functions to depend on the interpolation points. In 1971, Rolland Hardy developed a method of interpolating scattered data using interpolants of the form  . This is interpolation using a basis of shifted multiquadric functions, now more commonly written as  , and is the first instance of radial basis function interpolation.[5] It has been shown that the resulting interpolation matrix will always be non-singular. This does not violate the Mairhuber–Curtis theorem since the basis functions depend on the points of interpolation. Choosing a radial kernel such that the interpolation matrix is non-singular is exactly the definition of a strictly positive definite function. Such functions, including the Gaussian, inverse quadratic, and inverse multiquadric are often used as radial basis functions for this reason.[6]

Shape-parameter tuning Edit

Many radial basis functions have a parameter that controls their relative flatness or peakedness. This parameter is usually represented by the symbol   with the function becoming increasingly flat as  . For example, Rolland Hardy used the formula   for the multiquadric, however nowadays the formula   is used instead. These formulas are equivalent up to a scale factor. This factor is inconsequential since the basis vectors have the same span and the interpolation weights will compensate. By convention, the basis function is scaled such that   as seen in the plots of the Gaussian functions and the bump functions.

 
An RBF interpolant of the function f(x)=e^(x*cos(3*pi*x))-1 sampled at 15 points, using Gaussians, with a very large shape parameter e=100. The "bed-of-nails interpolant."

A consequence of this choice, is that the interpolation matrix approaches the identity matrix as   leading to stability when solving the matrix system. The resulting interpolant will in general be a poor approximation to the function since it will be near zero everywhere, except near the interpolation points where it will sharply peak – the so-called "bed-of-nails interpolant" (as seen in the plot to the right).

 
A plot of the condition number by the shape parameter for a 15x15 radial basis function interpolation matrix using the Gaussian

On the opposite side of the spectrum, the condition number of the interpolation matrix will diverge to infinity as   leading to ill-conditioning of the system. In practice, one chooses a shape parameter so that the interpolation matrix is "on the edge of ill-conditioning" (eg. with a condition number of roughly   for double-precision floating point).

There are sometimes other factors to consider when choosing a shape-parameter. For example the bump function

 
has a compact support (it is zero everywhere except when  ) leading to a sparse interpolation matrix.

Some radial basis functions such as the polyharmonic splines have no shape-parameter.

See also Edit

References Edit

  1. ^ Hardy, Rolland (March 1971). "Multiquadric equations of topography and other irregular surfaces". Journal of Geophysical Research. 76 (8): 1905–1915. doi:10.1029/JB076i008p01905.
  2. ^ Richard, Franke (January 1982). "Scattered Data Interpolation: Tests of Some Methods". Mathematics of Computation. 38 (157): 181–200. doi:10.1090/S0025-5718-1982-0637296-4.
  3. ^ Buhmann, Martin; Nira, Dyn (June 1993). "Spectral convergence of multiquadric interpolation". Proceedings of the Edinburgh Mathematical Society. 36 (2): 319–333. doi:10.1017/S0013091500018411.
  4. ^ Mairhuber, John C. (1956). "On Haar's Theorem Concerning Chebychev Approximation Problems Having Unique Solutions". Proceedings of the American Mathematical Society. 7 (4): 609–615. JSTOR 2033359.
  5. ^ Hardy, Rolland L. (1971). "Multiquadric equations of topography and other irregular surfaces". Journal of Geophysical Research. 7 (8): 1905–1915. doi:10.1029/JB076i008p01905.
  6. ^ Fasshaur, Greg (2007). Meshfree Approximation Methods with MATLAB. World Scientific Publishing. ISBN 978-981-270-633-1.

radial, basis, function, interpolation, radial, basis, function, interpolation, advanced, method, approximation, theory, constructing, high, order, accurate, interpolants, unstructured, data, possibly, high, dimensional, spaces, interpolant, takes, form, weigh. Radial basis function RBF interpolation is an advanced method in approximation theory for constructing high order accurate interpolants of unstructured data possibly in high dimensional spaces The interpolant takes the form of a weighted sum of radial basis functions 1 like for example Gaussian distributions 2 RBF interpolation is a mesh free method meaning the nodes points in the domain need not lie on a structured grid and does not require the formation of a mesh It is often spectrally accurate 3 and stable for large numbers of nodes even in high dimensions Many interpolation methods can be used as the theoretical foundation of algorithms for approximating linear operators and RBF interpolation is no exception RBF interpolation has been used to approximate differential operators integral operators and surface differential operators Contents 1 Examples 2 Motivation 3 Shape parameter tuning 4 See also 5 ReferencesExamples EditLet f x exp x cos 3 p x displaystyle f x exp x cos 3 pi x nbsp and let x k k 14 k 0 1 14 displaystyle x k frac k 14 k 0 1 dots 14 nbsp be 15 equally spaced points on the interval 0 1 displaystyle 0 1 nbsp We will form s x k 0 14 w k f x x k displaystyle s x sum limits k 0 14 w k varphi x x k nbsp where f displaystyle varphi nbsp is a radial basis function and choose w k k 0 1 14 displaystyle w k k 0 1 dots 14 nbsp such that s x k f x k k 0 1 14 displaystyle s x k f x k k 0 1 dots 14 nbsp s displaystyle s nbsp interpolates f displaystyle f nbsp at the chosen points In matrix notation this can be written as f x 0 x 0 f x 1 x 0 f x 14 x 0 f x 0 x 1 f x 1 x 1 f x 14 x 1 f x 0 x 14 f x 1 x 14 f x 14 x 14 w 0 w 1 w 14 f x 0 f x 1 f x 14 displaystyle begin bmatrix varphi x 0 x 0 amp varphi x 1 x 0 amp dots amp varphi x 14 x 0 varphi x 0 x 1 amp varphi x 1 x 1 amp dots amp varphi x 14 x 1 vdots amp vdots amp ddots amp vdots varphi x 0 x 14 amp varphi x 1 x 14 amp dots amp varphi x 14 x 14 end bmatrix begin bmatrix w 0 w 1 vdots w 14 end bmatrix begin bmatrix f x 0 f x 1 vdots f x 14 end bmatrix nbsp Choosing f r exp e r 2 displaystyle varphi r exp varepsilon r 2 nbsp the Gaussian with a shape parameter of e 3 displaystyle varepsilon 3 nbsp we can then solve the matrix equation for the weights and plot the interpolant Plotting the interpolating function below we see that it is visually the same everywhere except near the left boundary an example of Runge s phenomenon where it is still a very close approximation More precisely the maximum error is roughly f s 0 0267414 displaystyle f s infty approx 0 0267414 nbsp at x 0 0220012 displaystyle x 0 0220012 nbsp nbsp The function f x exp x cos 3 p x displaystyle f x exp x cos 3 pi x nbsp sampled at 15 uniform nodes between 0 and 1 interpolated using the Gaussian RBF with a shape parameter of e 3 displaystyle varepsilon 3 nbsp nbsp The interpolation error s x f x displaystyle s x f x nbsp for the plot to the left Motivation EditThe Mairhuber Curtis theorem says that for any open set V displaystyle V nbsp in R n displaystyle mathbb R n nbsp with n 2 displaystyle n geq 2 nbsp and f 1 f 2 f n displaystyle f 1 f 2 dots f n nbsp linearly independent functions on V displaystyle V nbsp there exists a set of n displaystyle n nbsp points in the domain such that the interpolation matrix f 1 x 1 f 2 x 1 f n x 1 f 1 x 2 f 2 x 2 f n x 2 f 1 x n f 2 x n f n x n displaystyle begin bmatrix f 1 x 1 amp f 2 x 1 amp dots amp f n x 1 f 1 x 2 amp f 2 x 2 amp dots amp f n x 2 vdots amp vdots amp ddots amp vdots f 1 x n amp f 2 x n amp dots amp f n x n end bmatrix nbsp is singular 4 This means that if one wishes to have a general interpolation algorithm one must choose the basis functions to depend on the interpolation points In 1971 Rolland Hardy developed a method of interpolating scattered data using interpolants of the form s x k 1 N x x k 2 C displaystyle s mathbf x sum limits k 1 N sqrt mathbf x mathbf x k 2 C nbsp This is interpolation using a basis of shifted multiquadric functions now more commonly written as f r 1 e r 2 displaystyle varphi r sqrt 1 varepsilon r 2 nbsp and is the first instance of radial basis function interpolation 5 It has been shown that the resulting interpolation matrix will always be non singular This does not violate the Mairhuber Curtis theorem since the basis functions depend on the points of interpolation Choosing a radial kernel such that the interpolation matrix is non singular is exactly the definition of a strictly positive definite function Such functions including the Gaussian inverse quadratic and inverse multiquadric are often used as radial basis functions for this reason 6 Shape parameter tuning EditThis section does not cite any sources Please help improve this section by adding citations to reliable sources Unsourced material may be challenged and removed May 2020 Learn how and when to remove this template message Many radial basis functions have a parameter that controls their relative flatness or peakedness This parameter is usually represented by the symbol e displaystyle varepsilon nbsp with the function becoming increasingly flat as e 0 displaystyle varepsilon to 0 nbsp For example Rolland Hardy used the formula f r r 2 C displaystyle varphi r sqrt r 2 C nbsp for the multiquadric however nowadays the formula f r 1 e r 2 displaystyle varphi r sqrt 1 varepsilon r 2 nbsp is used instead These formulas are equivalent up to a scale factor This factor is inconsequential since the basis vectors have the same span and the interpolation weights will compensate By convention the basis function is scaled such that f 0 1 displaystyle varphi 0 1 nbsp as seen in the plots of the Gaussian functions and the bump functions nbsp A Gaussian function for several choices of e displaystyle varepsilon nbsp nbsp A plot of the scaled bump function with several choices of shape parameter nbsp An RBF interpolant of the function f x e x cos 3 pi x 1 sampled at 15 points using Gaussians with a very large shape parameter e 100 The bed of nails interpolant A consequence of this choice is that the interpolation matrix approaches the identity matrix as e displaystyle varepsilon to infty nbsp leading to stability when solving the matrix system The resulting interpolant will in general be a poor approximation to the function since it will be near zero everywhere except near the interpolation points where it will sharply peak the so called bed of nails interpolant as seen in the plot to the right nbsp A plot of the condition number by the shape parameter for a 15x15 radial basis function interpolation matrix using the GaussianOn the opposite side of the spectrum the condition number of the interpolation matrix will diverge to infinity as e 0 displaystyle varepsilon to 0 nbsp leading to ill conditioning of the system In practice one chooses a shape parameter so that the interpolation matrix is on the edge of ill conditioning eg with a condition number of roughly 10 12 displaystyle 10 12 nbsp for double precision floating point There are sometimes other factors to consider when choosing a shape parameter For example the bump functionf r exp 1 1 e r 2 for r lt 1 e 0 otherwise displaystyle varphi r begin cases exp left frac 1 1 varepsilon r 2 right amp mbox for r lt frac 1 varepsilon 0 amp mbox otherwise end cases nbsp has a compact support it is zero everywhere except when r lt 1 e displaystyle r lt tfrac 1 varepsilon nbsp leading to a sparse interpolation matrix Some radial basis functions such as the polyharmonic splines have no shape parameter See also EditKrigingReferences Edit Hardy Rolland March 1971 Multiquadric equations of topography and other irregular surfaces Journal of Geophysical Research 76 8 1905 1915 doi 10 1029 JB076i008p01905 Richard Franke January 1982 Scattered Data Interpolation Tests of Some Methods Mathematics of Computation 38 157 181 200 doi 10 1090 S0025 5718 1982 0637296 4 Buhmann Martin Nira Dyn June 1993 Spectral convergence of multiquadric interpolation Proceedings of the Edinburgh Mathematical Society 36 2 319 333 doi 10 1017 S0013091500018411 Mairhuber John C 1956 On Haar s Theorem Concerning Chebychev Approximation Problems Having Unique Solutions Proceedings of the American Mathematical Society 7 4 609 615 JSTOR 2033359 Hardy Rolland L 1971 Multiquadric equations of topography and other irregular surfaces Journal of Geophysical Research 7 8 1905 1915 doi 10 1029 JB076i008p01905 Fasshaur Greg 2007 Meshfree Approximation Methods with MATLAB World Scientific Publishing ISBN 978 981 270 633 1 Retrieved from https en wikipedia org w index php title Radial basis function interpolation amp oldid 1050543709, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.