Radial basis function

from Wikipedia, the free encyclopedia

A radial basis function (RBF) is a real function , the value of which only depends on the distance to the origin, so that . The name comes from the fact that the function is radially symmetric according to this definition and that these functions are also used as basis functions of an approximation . More generally one can consider the distance to a point c, called the center , such that .

properties

Every function that applies to is an RBF. The Euclidean norm is usually chosen as the norm ; other norms are also possible depending on the problem. For example, if one takes the norm induced by the Lukaszyk-Karmowski metric, it is possible with some RBFs to avoid problems with poorly conditioned matrices, which are necessary for calculating the coefficients that occur when approximating by RBFs. Since the radius is a scalar variable, the behavior with regard to the effort in the higher-dimensional space is benign.

Types of radial basis functions

Piecewise polynomial RBF ( ) , for odd
Thin Plate Spline ( ) , for straight
Multiquadric RBF (MQ)
Inverse multiquadric RBF (IMQ)
Inverse quadric RBF (IQ)
Gaussian RBF (GS)

Approximation using RBFs

Typically, linear combinations are used by radial basis functions for the approximation of functions: . Here, the function to be approximated is approximated by a sum of radial basis functions which have different centers and are weighted by the coefficients . It must also be ensured that the function values ​​at the centers / support points are precisely adhered to.

Approximation methods of this type are used to model nonlinear systems (with sufficiently simple chaotic behavior), for 3D reconstruction in computer graphics (for example hierarchical RBFs) or to create response surfaces in optimization. Other areas of application of RBFs are the solving of partial differential equations (e.g. using grid-free collocation ) or transformations in image registration .

functionality

To clarify the functionality, the function should be approximated with the aid of the Gaussian RBF. For this purpose, six evenly distributed support points are consulted in the selected area . You have to calibrate the free parameter . The figure for the approximated function curve shows two different specifications for . The black approximation shows the optimal value ( ) and the red curve shows the intuitive choice of , which shows the superposition of individual Gaussian functions.

Determination of the coefficients

To determine the coefficients of the radial basis functions, a linear system of equations has to be solved. This is set up with the help of selected support points. The matrix consists of the values ​​of the basic function that result from the spacing of the interpolation points, the vector to be determined contains the coefficients of the radial basis functions and the right side of the linear equation system contains the function values ​​at the interpolation points.

The following applies to a function value of a -th interpolation point:

with the abbreviation .

Thus the following system of equations can be set up.

Implementation in the source code

The coefficients can be determined with the help of the specified Matlab source text.

function [lam,coreFunction] = RBFcalcCoeff(a,xk,fk)

coreFunction = @(x) exp(-(a.*x).^2);   %%% definieren der RBF (phi(x))

N = length(xk);                        %%% N ausgewählte Stützstellen

A = zeros(N,N);                        %%% Initialisierung der Matrix A

for i1 = 1:N                           %%% Schleife über alle Zeilen
  for i2 = i1:N                        %%% Schleife über alle Spalten
      r = sqrt((xk(i1)-xk(i2)).^2);    %%% Bestimmung des Radius
      A(i1,i2) = coreFunction(r);      %%% Funktionswert der Matrix
      A(i2,i1) = A(i1,i2);
  end
end

lam=A\fk;                              %%% Lösung des Gleichungssystems

Neural Networks

Insofar as artificial neural networks are a suitable type of procedure for approximation, especially with high-dimensional problems, RBF represent a special model for such networks.

literature

  • Martin D. Buhmann: Radial Basis Functions: Theory and Implementations . Cambridge University Press, 2003
  • E. Larsson, B. Fornberg: A Numerical Study of some Radial Basis Function based Solution Methods for Elliptic PDEs . In: Computers & Mathematics with Applications , Volume 46, 2003
  • H. Wendland: Scattered Data Approximation . Cambridge University Press, 2005

Web links