36
Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Embed Size (px)

Citation preview

Page 1: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Neural NetworksChapter 9

Joost N. Kok

Universiteit Leiden

Page 2: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Unsupervised Competitive Learning

• Competitive learning

• Winner-take-all units

• Cluster/Categorize input data

• Feature mapping

Page 3: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Unsupervised Competitive Learning

321

1 2 34 5

Page 4: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Unsupervised Competitive Learning

output

input (n-dimensional)

winner

Page 5: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Simple Competitive Learning

• Winner:

• Lateral inhibition

j

ijiji wwh

iiww *

Page 6: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Simple Competitive Learning

• Update weights for winning neuron jji

w *

ji

j j

j

jiww **

)( ** jijjiww

Page 7: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Simple Competitive Learning

• Update rule for all neurons:

)( * jijiij wOw

1* i

O

*0 iiifOi

Page 8: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Graph Bipartioning

• Patterns: edges = dipole stimuli

• Two output units

Page 9: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Simple Competitive Learning

• Dead Unit Problem Solutions– Initialize weights tot samples from the input

– Leaky learning: also update the weights of the losers (but with a smaller )

– Arrange neurons in a geometrical way: update also neighbors

– Turn on input patterns gradually

– Conscience mechanism

– Add noise to input patterns

Page 10: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Vector Quantization

• Classes are represented by prototype vectors

• Voronoi tessellation

Page 11: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Learning Vector Quantization

• Labelled sample data

• Update rule depends on current classification

incorrect is class if)(

correct is class if)(

*

*

*

jij

jij

ji w

ww

Page 12: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Adaptive Resonance Theory

• Stability-Plasticity Dilemma

• Supply of neurons, only use them if needed

• Notion of “sufficiently similar”

Page 13: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Adaptive Resonance Theory

• Start with all weights = 1• Enable all output units• Find winner among enabled units

• Test match• Update weights

j ji

ii

w

ww

iw

j j

iw

r*

** :ii

ww

Page 14: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

• Geometrical arrangement of output units

• Nearby outputs correspond to nearby input patterns

• Feature Map

• Topology preserving map

Page 15: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

• Determine the winner (the neuron of which the weight vector has the smallest distance to the input vector)

• Move the weight vector w of the winning neuron towards the input i

Before learning

i

w

After learning

i w

Page 16: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

• Impose a topological order onto the competitive neurons (e.g., rectangular map)

• Let neighbors of the winner share the “prize” (The “postcode lottery” principle)

• After learning, neurons with similar weights tend to cluster on the map

Page 17: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 18: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 19: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

• Input: uniformly randomly distributed points

• Output: Map of 202 neurons

• Training– Starting with a large learning rate and

neighborhood size, both are gradually decreased to facilitate convergence

Page 20: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 21: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 22: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 23: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden
Page 24: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 25: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Self Organizing Map

Page 26: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

• Retinotopic Map

• Somatosensory Map

• Tonotopic Map

Page 27: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

Page 28: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

Page 29: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

Page 30: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Feature Mapping

Page 31: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Kohonen’s Algorithm

))(,( *ijjij wiiw

)2/||exp(),( 22**

ii rrii

Page 32: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden
Page 33: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Travelling Salesman Problem

))2())((( 11 iiiii wwwwiw

j j

i

w

wi

)2/exp(

)2/exp()(

22

22

Page 34: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Hybrid Learning Schemes

unsupervised

supervised

Page 35: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Counterpropagation

• First layer uses standard competitive learning

• Second (output) layer is trained using delta rule

jiiij VOw )(

jijiij Vww )(

Page 36: Neural Networks Chapter 9 Joost N. Kok Universiteit Leiden

Radial Basis Functions

• First layer with normalized Gaussian activation functions

k kk

jj

jg)2/exp(

)2/exp()(

22

22