Radial basis function network
You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.
A radial basis function network is an artificial neural network which uses radial basis functions as activation functions. They are used in function approximation, time series prediction, and control.
Network architecture
Radial basis function (RBF) networks typically have three layers: an input layer, a hidden layer with a non-linear RBF activation function and a linear output layer. The output,
, of the network is thus
where N is the number of neurons in the hidden layer, ci is the center vector for neuron i, and ai are the weights of the linear output neuron. In the basic form all inputs are connected to each hidden neuron. The norm is typically taken to be the Euclidean distance and the basis function is taken to be Gaussian
.
The Gaussian basis functions are local in the sense that
. Changing parameters of one neuron has only a small effect for input values that are far away from the center of that neuron.
RBF networks are universal approximators on a compact subset of
. This means that a RBF network with enough hidden neurons can approximate any continuous function with arbitrary precision.
The weights ai,
, and β are determined in a manner that optimizes the fit between
and the data.
Normalized
Normalized architecture
In addition to the above unnormalized architecture, RBF networks can be normalized. In this case the mapping is
where
is known as a "normalized radial basis function".
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
where the weights
and ei are exemplars from the data and we require the kernels to be normalized
and
.
The probability densities in the input and output spaces are
and
The expectation of y given an input
is
where
is the conditional probability of y given
.
The conditional probability is related to the joint probability through Bayes theorem
which yields
.
This becomes
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,
and
in the unnormalized and normalized cases, respectively. Here
are weights to be determined. Higher order linear terms are also possible.
This result can be written
where
and
in the unnormalized case and
in the normalized case.
Here δij is a Kronecker delta function defined as
.
Training
In a RBF network there are three types of parameters that need to be chosen to adapt the network for a particular task: the center vectors ci, the output weights wi, and the RBF width parameters βi. In the sequential training of the weights are updated at each time step as data streams in.
For some tasks it makes sense to define an objective function and select the parameter values that minimize its value. The most common objective function is the least squares function
where
.
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
where
and
where optimization of S maximizes smoothness and λ is known as a regularization parameter.
Interpolation
RBF networks can be used to interpolate a function
when the values of that function are known on finite number of points:
. Taking the known points xi to be the centers of the radial basis functions and evaluating the values of the basis functions at the same points gij = ρ( | | xj − xi | | ) the weights can be solved from the equation
It can be shown that the interpolation matrix in the above equation is non-singular, if the points x_i are distinct, and thus the weights w can be solved by simple linear algebra:
Function approximation
If the purpose is not to perform strict interpolation but instead more general function approximation or classification the optimization is somewhat more complex because there is no obvious choice for the centers. The training is typically done in two phases first fixing the width and centers and then the weights. This can be justified by considering the different nature of the non-linear hidden neurons versus the linear output neuron.
Training the basis function centers
Basis function centers can be either randomly sampled among the input instances or found by clustering the samples and choosing the cluster means as the centers.
The RBF widths are usually all fixed to same value which is proportional to the maximum distance between the chosen centers.
Pseudoinverse solution for the linear weights
After the centers ci have been fixed, the weights that minimize the error at the output are computed with a linear pseudoinverse solution:
,
where the entries of G are the values of the radial basis functions evaluated at the points xi: gji = ρ( | | xj − ci | | ).
The existence of this linear solution means that unlike Multi-layer perceptron (MLP) networks the RBF networks have an unique local minimum (when the centers are fixed).
Gradient descent training of the linear weights
Another possible 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
where ν is a "learning parameter."
For the case of training the linear weights, ai, the algorithm becomes
in the unnormalized case and
in the normalized case.
For local-linear-architectures gradient-descent training is
Projection operator training of the linear weights
For the case of training the linear weights, ai and eij, the algorithm becomes
in the unnormalized case and
in the normalized case and
in the local-linear case.
For one basis function, projection operator training reduces to Newton's method.
Examples
Logistic map
The basic properties of radial basis functions can be illustrated with a simple mathematical map, the logistic map, which maps the unit interval onto itself. It can be used to generate a convenient prototype data stream. The logistic map can be used to explore function approximation, time series prediction, and control theory. The map originated from the field of population dynamics and became the prototype chaotic time series. The map, in the fully chaotic regime, is given by
where t is a time index. The value of x at time t+1 is a parabolic function of x at time t. This equation represents the underlying geometry of the chaotic time series generated by the logistic map.
Generation of the time series from this equation is the forward problem. The examples here illustrate the inverse problem; identification of the the underlying dynamics, or fundamental equation, of the logistic map from exemplars of the time series. The goal is to find an estimate
for f.
Function approximation
Unnormalized radial basis functions
The architecture is
where
.
Since the input is a scalar rather than a vector, the input dimension is one. We choose the number of basis functions as N=5 and the size of the training set to be 100 exemplars generated by the chaotic time series. The weight β is taken to be a constant equal to 5. The weights ci are five exemplars from the time series. The weights ai are trained with projection operator training:
where the learning rate ν is taken to be 0.3. The training is performed with one pass through the 100 training points. The rms error is 0.15.
Normalized radial basis functions
The normalized RBF architecture is
where
.
Again:
.
Again, we choose the number of basis functions as five and the size of the training set to be 100 exemplars generated by the chaotic time series. The weight β is taken to be a constant equal to 6. The weights ci are five exemplars from the time series. The weights ai are trained with projection operator training:
where the learning rate ν is again taken to be 0.3. The training is performed with one pass through the 100 training points. The rms error on a test set of 100 exemplars is 0.084, smaller than the unnormalized error. Normalization yields accuracy improvement. Typically accuracy with normalized basis functions increases even more over unnormalized functions as input dimensionality increases.
Time series prediction
Once the underlying geometry of the time series is estimated as in the previous examples, a prediction for the time series can be made by iteration:
.
A comparison of the actual and estimated time series is displayed in the figure. The estimated times series starts out at time zero with an exact knowledge of x(0). It then uses the estimate of the dynamics to update the the time series estimate for several time steps.
Note that the estimate is accurate for only a few time steps. This is a general characteristic of chaotic time series. This is a property of the sensitive dependence on initial conditions common to chaotic time series. A small initial error is amplified with time. A measure of the divergence of time series with nearly identical initial conditions is known as the Lyapunov exponent.
Control of a chaotic time series
We assume the output of the logistic map can be manipulated through a control parameter c[x(t),t] such that
.
The goal is to choose the control parameter in such a way as to drive the time series to a desired output d(t). This can be done if we choose the control paramer to be
where
is an approximation to the underlying natural dynamics of the system.
The learning algorithm is given by
where
.
See also
References
- J. Moody and C. J. Darken, "Fast learning in networks of locally tuned processing units," Neural Computation, 1, 281-294 (1989). Also see Radial basis function networks according to Moody and Darken
- T. Poggio and F. Girosi, "Networks for approximation and learning," Proc. IEEE 78(9), 1484-1487 (1990).
- Roger D. Jones, Y. C. Lee, C. W. Barnes, G. W. Flake, K. Lee, P. S. Lewis, and S. Qian, ?Function approximation and time series prediction with neural networks,? Proceedings of the International Joint Conference on Neural Networks, June 17-21, p. I-649 (1990).
- Martin D. Buhmann, M. J. Ablowitz (2003). Radial Basis Functions : Theory and Implementations. Cambridge University. ISBN 0-521-63338-9.
- Yee, Paul V. and Haykin, Simon (2001). Regularized Radial Basis Function Networks: Theory and Applications. John Wiley. ISBN 0-471-35349-3.
- John R. Davies, Stephen V. Coggeshall, Roger D. Jones, and Daniel Schutzer, "Intelligent Security Systems," in Freedman, Roy S., Flein, Robert A., and Lederman, Jess, Editors (1995). Artificial Intelligence in the Capital Markets. Chicago: Irwin. ISBN 1-55738-811-3.
- Simon Haykin (1999). Neural Networks: A Comprehensice Foundation, 2nd edition, Upper Saddle River, NJ: Prentice Hall. ISBN 0-13-908385-5.
Acknowledgement and Attribution Regarding Sources of Content
Some of the initial content on this page may be incorporated in part from copyleft sources in the public domain including wikis such as Wikipedia and AskDrWiki. Drug information for patients came from the The National Library of Medicine. Infectious disease information may have come from the Centers for Disease Control (CDC). Differential Diagnoses are drawn from clinicians as well as an amalgamation of 3 sources: 1.The Disease Database; 2. Kahan, Scott, Smith, Ellen G. In A Page: Signs and Symptoms. Malden, Massachusetts: Blackwell Publishing, 2004:3; 3. Sailer, Christian, Wasner, Susanne. Differential Diagnosis Pocket. Hermosa Beach, CA: Borm Bruckmeir Publishing LLC, 2002:7 .

