Growing self-organizing map explained

A growing self-organizing map (GSOM) is a growing variant of a self-organizing map (SOM). The GSOM was developed to address the issue of identifying a suitable map size in the SOM. It starts with a minimal number of nodes (usually 4) and grows new nodes on the boundary based on a heuristic. By using the value called Spread Factor (SF), the data analyst has the ability to control the growth of the GSOM.

All the starting nodes of the GSOM are boundary nodes, i.e. each node has the freedom to grow in its own direction at the beginning. (Fig. 1) New Nodes are grown from the boundary nodes. Once a node is selected for growing all its free neighboring positions will be grown new nodes. The figure shows the three possible node growth options for a rectangular GSOM.

The algorithm

The GSOM process is as follows:

  1. Initialization phase:
    1. Initialize the weight vectors of the starting nodes (usually four) with random numbers between 0 and 1.
    2. Calculate the growth threshold (

GT

) for the given data set of dimension

D

according to the spread factor (

SF

) using the formula

GT=-D x ln(SF)

  1. Growing Phase:
    1. Present input to the network.
    2. Determine the weight vector that is closest to the input vector mapped to the current feature map (winner), using Euclidean distance (similar to the SOM). This step can be summarized as: find

q'

such that

\left|v-wq'\right\vert\le\left|v-wq\right\vert\forallq\inN

where

v

,

w

are the input and weight vectors respectively,

q

is the position vector for nodes and

N

is the set of natural numbers.
    1. The weight vector adaptation is applied only to the neighborhood of the winner and the winner itself. The neighborhood is a set of neurons around the winner, but in the GSOM the starting neighborhood selected for weight adaptation is smaller compared to the SOM (localized weight adaptation). The amount of adaptation (learning rate) is also reduced exponentially over the iterations. Even within the neighborhood, weights that are closer to the winner are adapted more than those further away. The weight adaptation can be described by

wj(k+1)=\begin{cases}wj(k)&ifj\notin\Nuk+1\wj(k)+LR(k) x (xk-wj(k))&ifj\in\Nuk+1\end{cases}

where the Learning Rate

LR(k)

,

k\inN

is a sequence of positive parameters converging to zero as

k\toinfty

.

wj(k)

,

wj(k+1)

are the weight vectors of the node

j

before and after the adaptation and

\Nuk+1

is the neighbourhood of the winning neuron at the

(k+1)

th iteration. The decreasing value of

LR(k)

in the GSOM depends on the number of nodes existing in the map at time

k

.
    1. Increase the error value of the winner (error value is the difference between the input vector and the weight vectors).
    2. When

TEi>GT

(where

TEi

is the total error of node

i

and

GT

is the growth threshold). Grow nodes if i is a boundary node. Distribute weights to neighbors if

i

is a non-boundary node.
    1. Initialize the new node weight vectors to match the neighboring node weights.
    2. Initialize the learning rate (

LR

) to its starting value.
    1. Repeat steps 2 – 7 until all inputs have been presented and node growth is reduced to a minimum level.
  1. Smoothing phase.
    1. Reduce learning rate and fix a small starting neighborhood.
    2. Find winner and adapt the weights of the winner and neighbors in the same way as in growing phase.

Applications

The GSOM can be used for many preprocessing tasks in Data mining, for Nonlinear dimensionality reduction, for approximation of principal curves and manifolds, for clustering and classification. It gives often the better representation of the data geometry than the SOM (see the classical benchmark for principal curves on the left).

Bibliography

See also