article

Radial basis functions are a means for interpolation in a stream of data. They differ from statistical approaches in that approximations must be performed on streams of data rather than on complete data sets. They are used in time-series prediction, control, and function approximation.

Overview


Radial basis functions (RBF) are powerful techniques for interpolation in multidimensional space. A RBF is a function which has built into a distance criterion with respect to a centre. Such functions can be used very efficiently for interpolation and for smoothing of data. Radial basis functions have been applied in the area of neural networks where they are used as a replacement for the sigmoidal transfer function. Such networks have 3 layers, the input layer, the hidden layer with the RBF non-linearity and a linear output layer. The most popular choice for the non-linearity is the Gaussian. RBF networks have the advantage of not being locked into local minima as do the feedforward networks.

The problem


The problem solved by RBF's is the development of an analytic approximation for the input/output mappings described by a deterministic, noisy, or stochastic data stream
\left \{ \left\mathbf{x}(t) , y(t) \right : \left\mathbb{R}^n , \mathbb{R} \right \right \} _{t=1}^{ \infty }
where
\mathbf{x}(t) is the input vector at time t,
y(t) is the output at time t, and
n is the dimension of the input space.

In the deterministic case the data is drawn from the set

\left \{ \left\mathbf{x}(t) , y(t) = f \big( \mathbf{x}(t) \big) \right \right \} _{t=1}^{ \infty } .
In the noisy case data is drawn from the set
\left \{ \left\mathbf{x}(t) , y(t) = f \big( \mathbf{x}(t) \big) + \epsilon(t) \right \right \} _{t=1}^{ \infty }
where \epsilon(t) is a partially known random process.

In the stochastic case, data is drawn from the joint probability distribution

P \left( \mathbf{x} \land y \right ) .

Architecture


RBF architectures come in two forms, normalized and unnormalized. The forms can be expanded into a superposition of local linear models.

Unnormalized

The unnormalized radial basis function architecture, \varphi : \mathbb{R}^n \to \mathbb{R} , is

\varphi ( \mathbf{x} ) \equiv \sum_{i=1}^N a_i \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )

where \varphi is the approximation to the data, \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) is a local function of the distance \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert between the input vector \mathbf{x} and a "basis function center"

\mathbf{c}_i (i=1,N) ,

and

a_i (i=1,N)
are weights to be determined by data. Typically the distance is taken to be the Euclidean distance and the basis function is taken to be Gaussian

\rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) \propto \exp \left-\beta \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert ^2 \right .

The weights

a_i ,
and
\mathbf{c}_i ,
and
\beta
are determined in a manner that optimizes the fit between \varphi and the data.

Normalized

Normalized architecture
The normalized RBF architecture is

\varphi ( \mathbf{x} ) \equiv \frac { \sum_{i=1}^N a_i \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } { \sum_{i=1}^N \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } = \sum_{i=1}^N a_i u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )
where

u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) \equiv \frac { \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } { \sum_{i=1}^N \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } .

Theoretical motivation for normalization
There is theoretical justification for this architecture in the case of stochastic data flow. Assume a Stochastic kernel approximation for the joint probability density

P\left ( \mathbf{x} \land y \right ) = \sum_{i=1}^N \, \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) \, \sigma \big ( \left \vert y - e_i \right \vert \big )

where the weights \mathbf{c}_i and e_i are exemplars from the data and we require the kernels to be normalized

\int \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) \, d^n\mathbf{x} =1
and
\int \sigma \big ( \left \vert y - e_i \right \vert \big ) \, dy =1.

The probability densities in the input and output spaces are

P \left ( \mathbf{x} \right ) = \int P \left ( \mathbf{x} \land y \right ) \, dy = \sum_{i=1}^N \, \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )

and

P \left ( y \right ) = \int P \left ( \mathbf{x} \land y \right ) \, d^n \mathbf{x} = \sum_{i=1}^N \, \sigma \big ( \left \vert y - e_i \right \vert \big )

The expectation of y given an input \mathbf{x} is

\varphi \left ( \mathbf{x} \right ) \equiv E\left ( y \mid \mathbf{x} \right ) = \int y \, P\left ( y \mid \mathbf{x} \right ) dy
where
P\left ( y \mid \mathbf{x} \right )
is the conditional probability of y given \mathbf{x} . The conditional probability is related to the joint probability through Bayes theorem

P\left ( y \mid \mathbf{x} \right ) = \frac {P \left ( \mathbf{x} \land y \right )} {P \left ( \mathbf{x} \right )}

which yields

\varphi \left ( \mathbf{x} \right ) = \int y \, \frac {P \left ( \mathbf{x} \land y \right )} {P \left ( \mathbf{x} \right )} \, dy .

This becomes

\varphi \left ( \mathbf{x} \right ) = \frac { \sum_{i=1}^N a_i \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } { \sum_{i=1}^N \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) } = \sum_{i=1}^N a_i u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )

when the integrations are performed.

Local linear models

It is sometimes convenient to expand the architecture to include local linear models. In that case the architectures become, to first order,

\varphi \left ( \mathbf{x} \right ) = \sum_{i=1}^N \left ( a_i + \mathbf{b}_i \cdot \left ( \mathbf{x} - \mathbf{c}_i \right ) \right )\rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )

and

\varphi \left ( \mathbf{x} \right ) = \sum_{i=1}^N \left ( a_i + \mathbf{b}_i \cdot \left ( \mathbf{x} - \mathbf{c}_i \right ) \right )u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big )

in the unnormalized and normalized cases, respectively. Here \mathbf{b}_i are weights to be determined. Higher order linear terms are also possible.

This result can be written

\varphi \left ( \mathbf{x} \right ) = \sum_{i=1}^{2N} \sum_{j=1}^n e_{ij} v_{ij} \big ( \mathbf{x} - \mathbf{c}_i \big )

where

e_{ij} = \begin{cases} a_i, & \mbox{if } i \in \\ b_{ij}, & \mbox{if }i \in [N+1,2N \end{cases}

and

v_{ij}\big ( \mathbf{x} - \mathbf{c}_i \big ) \equiv \begin{cases} \delta_{1j} \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) , & \mbox{if } i \in \\ \left ( x_{ij} - c_{ij} \right ) \rho \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) , & \mbox{if }i \in [N+1,2N \end{cases}

in the unnormalized case and

v_{ij}\big ( \mathbf{x} - \mathbf{c}_i \big ) \equiv \begin{cases} \delta_{1j} u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) , & \mbox{if } i \in \\ \left ( x_{ij} - c_{ij} \right ) u \big ( \left \Vert \mathbf{x} - \mathbf{c}_i \right \Vert \big ) , & \mbox{if }i \in [N+1,2N \end{cases}

in the normalized case.

Here \delta_{ij} is a Kronecker delta function defined as

\delta_{ij} = \begin{cases} 1, & \mbox{if }i = j \\ 0, & \mbox{if }i \ne j \end{cases} .

Objective functions


The weights, which we signify by \mathbf{w} , in the RBF architecture are found through optimization of an objective function. The most common objective function is the least squares function

K( \mathbf{w} ) \equiv \sum_{t=1}^\infty K_t( \mathbf{w} )
where
K_t( \mathbf{w} ) \equiv \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big ^2 .
We have explicitly included the dependence on the weights. Minimization of the least squares objective function by optimal choice of weights optimizes accuracy of fit.

There are occasions in which multiple objectives, such as smoothness as well as accuracy, must be optimized. In that case it is useful to optimize a regularized objective function such as

H( \mathbf{w} ) \equiv K( \mathbf{w} ) + \lambda S( \mathbf{w} ) \equiv \sum_{t=1}^\infty H_t( \mathbf{w} )

where

S( \mathbf{w} ) \equiv \sum_{t=1}^\infty S_t( \mathbf{w} )

and

H_t( \mathbf{w} ) \equiv K_t ( \mathbf{w} ) + \lambda S_t ( \mathbf{w} )

where optimization of S maximizes smoothness and \lambda is known as a regularization parameter.

Training


Choosing weights that optimize the objective function is known as "training." Training is performed at each time step as data streams in.

Gradient descent training

The simplest training algorithm is Gradient descent. In gradient descent training the weights are adjusted at each time step by moving them in a direction opposite from the gradient of the objective function

\mathbf{w}(t+1) = \mathbf{w}(t) - \nu \frac {d} {d\mathbf{w}} H_t(\mathbf{w})

where \nu is a "learning parameter."

For the case of training the linear weights, a_i , the algorithm becomes

a_i (t+1) = a_i(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big \rho \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )

in the unnormalized case and

a_i (t+1) = a_i(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big u \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )

in the normalized case.

For local-linear-architectures gradient-descent training is

e_{ij} (t+1) = e_{ij}(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big v_{ij} \big ( \mathbf{x}(t) - \mathbf{c}_i \big )

Projection operator training

For the case of training the linear weights, a_i and e_{ij} , the algorithm becomes

a_i (t+1) = a_i(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big \frac {\rho \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )} {\sum_{i=1}^N \rho^2 \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )}

in the unnormalized case and

a_i (t+1) = a_i(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big \frac {u \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )} {\sum_{i=1}^N u^2 \big ( \left \Vert \mathbf{x}(t) - \mathbf{c}_i \right \Vert \big )}

in the normalized case and

e_{ij} (t+1) = e_{ij}(t) + \nu \big y(t) - \varphi \big ( \mathbf{x}(t), \mathbf{w} \big ) \big \frac { v_{ij} \big ( \mathbf{x}(t) - \mathbf{c}_i \big ) } {\sum_{i=1}^N \sum_{j=1}^n v_{ij}^2 \big ( \mathbf{x}(t) - \mathbf{c}_i \big ) }

in the local-linear case.

See also


References


Neural networks | Information technology | Computer network analysis | Networks | Cybernetics | Artificial intelligence | Interpolation

Невронна мрежа | Radiale Basisfunktion | Red neuronal artificial | Réseau de neurones | 신경망 | neuronska mreža | ニューラルネットワーク | Sieć neuronowa | Rede neural | Reţele neuronale | Нейронная сеть | nevronska mreža | 神经网络

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Radial basis function".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld