autowisard: unsupervised modes for the wisard authors: iuri wickert ([email protected]) felipe m....

16
AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert ([email protected]) Felipe M. G. França ([email protected]) Computer Systems Engineering Program - COPPE Federal University of Rio de Janeiro - Brazil

Upload: sherman-farmer

Post on 01-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

AUTOWISARD: Unsupervised Modes for the WISARD

Authors:Iuri Wickert ([email protected])Felipe M. G. França ([email protected])

Computer Systems Engineering Program - COPPEFederal University of Rio de Janeiro - Brazil

Page 2: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Presentation Structure

Introduction Brief intro about the WISARD Standard AUTOWISARD Hierarchical AUTOWISARD Illustrative Test Conclusions

Page 3: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Introduction

AUTOWISARD is a pair of unsupervised training algorithms for a standard, unmodified WISARD weightless neural network.

It consists of a “flat” algorithm and a hierarchical, recursive composition of the former one.

The base algorithm is able to learn unsorted input samples, reaching stabilization within a single pass.

The hierarchical version specializes classes which present excessive generalization.

Page 4: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Introduction (cont’d)

Motivation: to unite the unsupervised learning properties of the ART1 model with the simplicity and good recognition power of the base WISARD model, without stepping outside it. Absence of unsupervised learning algorithms for that model.

Related work: WIS-ART (Fulcher, 1992), a hybrid WISARD and ART1 network.

AUTOWISARD = AUTOmatic WISARD ...

Page 5: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The WISARD Neural Network

The WISARD (Alexander et al, 1985) is a classical weightless neural network.

This kind of network stores all its knowledge inside simple, n-bit address RAM memory neurons, filled with zeros.

Its training consists on writing 1’s on the positions addressed by its inputs; recognition is retrieving the value on the position addressed by.

Page 6: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The WISARD (con’t)

An array of RAM neurons forms a class-like recognition device, a discriminator.

In a discriminator, each neuron sees only a subset of the input sample, addressed via an input-neuron mapping.

The output of each neuron is summed up to represent the discriminator’s recognition for that sample

Page 7: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The WISARD (con’t)

A WISARD network is an array of discriminators working in parallel, each one acessing the whole input pattern.

A winner function determines which discriminator has the best recognition for that sample, if any.

Page 8: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The AUTOWISARD model

The Standard AUTOWISARD controls the creation of new classes (discriminators) and the training of existing ones in a WISARD.

It reaches stability within a single-pass training, not relying on specific sample orders or input-neuron mappings.

Page 9: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The AUTOWISARD (con´t)

It is centered on the learning window policy. Given r_best as the best net recognition for a sample: 0 <= r_best <= w_min:

creates a new class; w_min < r_best <

w_max: creates or trains a class;

w_max <= r_best: do nothing

Page 10: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The AUTOWISARD (con´t)

To minimize saturation of the network, it uses a partial learning, when a discriminator learns just enough of an input sample to successfully recognize it.

A probabilistic function controls the actions inside the learning window, to increase network robustness.

The learning window policy, partial training, probabilistic class training/instantiation, together with the monotonic recognition function of the discriminator ensures that any trained sample will be recognised with a minimum value of w_max (thus reaching stability).

Page 11: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The Hierarchical AUTOWISARD

A recursive application of the AUTOWISARD, over discriminators which seems to recognize more than one data cluster, creating also a hierarchical relashionship between classes and its sub-classes.

This situation happens when the recognition interval of a given discriminator is vast, above a threshold:

Page 12: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

The Hierarchical AUTOWISARD (con´t)

A sample hierarchical AUTOWISARD:

Page 13: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Illustrative Test

To show the classification skills of the Standard AUTOWISARD model, a sample handwritten character recognition application was developed.

The training set consisted of 1924 labeled images of 0-9 digits (evenly distributed). 20 runs of the AUTOWISARD were made; each one was characterized by number of classes generated, classes containing multiple symbols (and its winners´ average recognition) and classes containing less than 1% of the training set.

AUTOWISARD´s sensitivity to variation on the training parameters was not analysed.

Page 14: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Illustrative Test (con´t)

The first 10 runs:

Page 15: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Illustrative Test (con´t)

Even training the network with randomly ordered samples and randomly generated input mappings, the runs seemed to converge to a same cluster configuration.

The classes that encompasses more than one symbol still have a clear winner, indicating that they didn´t fall into saturation.

Page 16: AUTOWISARD: Unsupervised Modes for the WISARD Authors: Iuri Wickert (iwickert@yahoo.com) Felipe M. G. França (felipe@cos.ufrj.br) Computer Systems Engineering

Conclusions

AUTOWISARD is a simple, yet powerful learning extension to the classic WISARD model, but without adding up to its architecture. It means that its output is compatible with the many WISARD hardware implementations.

With AUTOWISARD, new knowledge is acquired on-the-fly, without need for training loops and for disturbing already consolidated knowledge.

Its learning mechanisms (and its multivector class representation) provide the creation of rather complex separation surfaces between classes.