Hyper basis function network

From HandWiki

In machine learning, a Hyper basis function network, or HyperBF network, is a generalization of radial basis function (RBF) networks concept, where the Mahalanobis-like distance is used instead of Euclidean distance measure. Hyper basis function networks were first introduced by Poggio and Girosi in the 1990 paper “Networks for Approximation and Learning”.[1][2]

Network Architecture

The typical HyperBF network structure consists of a real input vector [math]\displaystyle{ x\in \mathbb{R}^n }[/math], a hidden layer of activation functions and a linear output layer. The output of the network is a scalar function of the input vector, [math]\displaystyle{ \phi: \mathbb{R}^n\to\mathbb{R} }[/math], is given by

[math]\displaystyle{ \phi(x)=\sum_{j=1}^{N}a_j\rho_j(||x-\mu_j||) }[/math]

where [math]\displaystyle{ N }[/math] is a number of neurons in the hidden layer, [math]\displaystyle{ \mu_j }[/math] and [math]\displaystyle{ a_j }[/math] are the center and weight of neuron [math]\displaystyle{ j }[/math]. The activation function [math]\displaystyle{ \rho_j(||x-\mu_j||) }[/math] at the HyperBF network takes the following form

[math]\displaystyle{ \rho_j(||x-\mu_j||)=e^{(x-\mu_j)^T R_j(x-\mu_j)} }[/math]

where [math]\displaystyle{ R_j }[/math] is a positive definite [math]\displaystyle{ d\times d }[/math] matrix. Depending on the application, the following types of matrices [math]\displaystyle{ R_j }[/math] are usually considered[3]

  • [math]\displaystyle{ R_j=\frac{1}{2\sigma^2}\mathbb{I}_{d\times d} }[/math], where [math]\displaystyle{ \sigma\gt 0 }[/math]. This case corresponds to the regular RBF network.
  • [math]\displaystyle{ R_j=\frac{1}{2\sigma_j^2}\mathbb{I}_{d\times d} }[/math], where [math]\displaystyle{ \sigma_j\gt 0 }[/math]. In this case, the basis functions are radially symmetric, but are scaled with different width.
  • [math]\displaystyle{ R_j=diag\left(\frac{1}{2\sigma_{j1}^2},...,\frac{1}{2\sigma_{jz}^2}\right)\mathbb{I}_{d\times d} }[/math], where [math]\displaystyle{ \sigma_{ji}\gt 0 }[/math]. Every neuron has an elliptic shape with a varying size.
  • Positive definite matrix, but not diagonal.

Training

Training HyperBF networks involves estimation of weights [math]\displaystyle{ a_j }[/math], shape and centers of neurons [math]\displaystyle{ R_j }[/math] and [math]\displaystyle{ \mu_j }[/math]. Poggio and Girosi (1990) describe the training method with moving centers and adaptable neuron shapes. The outline of the method is provided below.

Consider the quadratic loss of the network [math]\displaystyle{ H[\phi^*]=\sum_{i=1}^{N}(y_i-\phi^* (x_i))^2 }[/math]. The following conditions must be satisfied at the optimum:

[math]\displaystyle{ \frac{\partial H(\phi^*)}{\partial a_j}=0 }[/math], [math]\displaystyle{ \frac{\partial H(\phi^*)}{\partial \mu_j}=0 }[/math], [math]\displaystyle{ \frac{\partial H(\phi^*)}{\partial W}=0 }[/math]

where [math]\displaystyle{ R_j=W^TW }[/math]. Then in the gradient descent method the values of [math]\displaystyle{ a_j, \mu_j, W }[/math] that minimize [math]\displaystyle{ H[\phi^*] }[/math] can be found as a stable fixed point of the following dynamic system:

[math]\displaystyle{ \dot{a_j}=-\omega\frac{\partial H(\phi^*)}{\partial a_j} }[/math], [math]\displaystyle{ \dot{\mu_j}=-\omega\frac{\partial H(\phi^*)}{\partial \mu_j} }[/math], [math]\displaystyle{ \dot{W}=-\omega\frac{\partial H(\phi^*)}{\partial W} }[/math]

where [math]\displaystyle{ \omega }[/math] determines the rate of convergence.

Overall, training HyperBF networks can be computationally challenging. Moreover, the high degree of freedom of HyperBF leads to overfitting and poor generalization. However, HyperBF networks have an important advantage that a small number of neurons is enough for learning complex functions.[2]

References

  1. T. Poggio and F. Girosi (1990). "Networks for Approximation and Learning". Proc. IEEE Vol. 78, No. 9:1481-1497.
  2. 2.0 2.1 R.N. Mahdi, E.C. Rouchka (2011). "Reduced HyperBF Networks: Regularization by Explicit Complexity Reduction and Scaled Rprop-Based Training". IEEE Transactions of Neural Networks 2:673–686.
  3. F. Schwenker, H.A. Kestler and G. Palm (2001). "Three Learning Phases for Radial-Basis-Function Network" Neural Netw. 14:439-458.