
A contrast-enhancing neural-network layer (Section 6-3) represented by
Vector v^ = W * x | Vector v = swtch(v)
not only computes the correlation function (6-44) but also generates binary-
selector patterns
v that identify the best-matching template-row, that is, the
template with the largest correlation function. What is more, the template-
vector components to be adjusted now appear as synapse-modeling neuron
connection weights.
The template-updating operations (6-39) can be written as a matrix differ-
ence equation (Section 3-10), and the entire correlation-matching operation
is represented by
15
DOT xnormsq = x * x | xnn = 1/sqrt(xnormsq) | Vector x = xnn * x
Vector v^ = W * x | Vector v = swtch(v)
Vector w = W% * v | -- reconstruct templates
e = x - w -- template-matching error
DELTA W = lrate * v * e | -- update
Note that we implemented the normalization and contrast-enhancing layers
with simple assignments, as in Section 6-3. Biologically even more plausible
models learn these features gradually as training proceeds, using special non-
linear neurons for normalization and lateral feedback between adjacent neu-
rons for contrast enhancement [15, 17, 20, 22]. Such programs can be made
to work, but they are complicated especially when more than a few neural-
network layers are needed. Abstract operations such as
CLEARN v = W(x)
lrate, crit are easier to program.
SUPERVISED COMPETITIVE LEARNING
Competitive-layer classifiers also work with supervised training for pattern
classification, regression, and associative memory. Such neural networks
may converge more easily than backpropagation networks.
6-19. Supervised Competitive Classifiers:The LVQ Algorithm
Kohonen’s LVQ (learning vector quantization) algorithm [8,15] modifies
the competitive-classifier updating rule (6-39) for supervised competitive learn-
ing. Each training-sample input
x is presented together with its known associ-
ated binary-selector pattern
S, as in Section 6-10. If the competitive-layer
154 Vector Models of Neural Networks
15
Example nquant.lst in the book CD shows a complete program that also computes
statistical relative frequencies for each template pattern.