Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of...

44
Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht [email protected] http://www.neuromod.org

Transcript of Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of...

Page 1: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Modular Neural Networks: SOM, ART, and CALM

Jaap Murre

University of Amsterdam

University of Maastricht

[email protected]

http://www.neuromod.org

Page 2: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Modular neural networks

• Why modularity?

• Kohonen’s Self-Organizing Map (SOM)

• Grossberg’s Adaptive Resonance Theory

• Categorizing And Learning Module, CALM (Murre, Phaf, & Wolters, 1992)

Page 3: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

L.. C.. .A. ..P ..B

LAP CAP CAB

Modularity: limitations on connectivity

Page 4: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Modularity

• Scalability

• Re-use in design and evolution

• Coarse steering of development; learning provides fine structure

• Improved generalization because of fewer connections

• Strong evidence from neurobiology

Page 5: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Self-Organizing Maps (SOMs)

Topological Representations

Page 6: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Map formation in the brain

• Topographic maps omnipresent in the sensory regions of the brain

– retinotopic maps: neurons ordered as the locations of their visual field on the retina

– tonotopic maps: neurons ordered according to tone for which they are sensitive

– maps in somatosensory cortex: neurons ordered according to body part for which they are sensitive

– maps in motor cortex: neurons ordered according to muscles they control

Page 7: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Auditory cortex has a tonotopic map that is hidden in the transverse temporal gyrus

Page 8: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Somatosensory maps

Page 9: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Somatosensory maps II

© Kandel, Schwartz & Jessell, 1991

Page 10: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Many maps show continued plasticity

Reorganization of sensory maps in primate cortex

Page 11: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Kohonen maps

• Teuvo Kohonen was the first to show how maps may develop

• Self-Organizing Maps (SOMs)

• Demonstration: the ordering of colors (colors are vectors in a 3-dimensional space of brightness, hue, saturation).

Page 12: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Kohonen algorithm

• Finding the activity bubble

• Updating the weights for the nodes in the active bubble

Page 13: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Finding the activity bubble

Lateral inhibition

Page 14: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Finding activity bubble II

• Find the winner

• Activate all nodes in the neighbourhood of the winner

Page 15: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Updating the weights

• Move weight vector of winner towards the input vector

• Do the same for the active neighbourhood nodes

weight vectors of neigboring nodes will start resembling each other

Page 16: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Simplest implementation

• Weight vectors & input patterns all have length 1 (e.i., (wij)

2 = 1 )

• Find node whose weight vector has mimimal distance to the input vector:

min. (aj - wij)2

• Activate all nodes in neighbourhood radius Nt

• Update weights of active nodes by moving weights towards the input vector:

wij = t * ( aj - wij)

wij(t+1) = wij(t) + t * ( aj - wij(t) )

Page 17: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Results of Kohonen

© Kohonen, 1982

Page 18: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Influence of neighbourhood radius

© Kohonen, 1982

Larger neighbourhood size leads to faster learning

Page 19: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Results II: the phonological typewriter

© Kohonen, 1988humpplia (Finnish)

Page 20: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Conclusions for SOM

• Elegant

• Prime example of unsupervised learning

• Biologically relevant and plausible

• Very good at discovering structure:– discovering categories– mapping the input onto a topographic map

Page 21: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Adaptive Resonance Theory (ART)

Stephen Grossberg (1976)

Page 22: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Grossberg’s ART

• Stability-Plasticity Dilemma

• How to disentangle overlapping patterns?

Page 23: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

ART-1 Network

Page 24: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Phases of Classification(a) Initial pattern(b) Little support from F2(c) Reset: second try starts(d) Different category (F2) node gives sufficient support: resonance

Page 25: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Categorizing And Learning Module (CALM)

Murre, Phaf, and Wolters (1992)

Page 26: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

CALM: Categorizing And Learning Module

• CALM module is basic unit in multi-modular networks

• Categorizes arbitrary input activation patterns and retains this categorization over time

• CALM is developed for unsupervised learning but also works with supervision

• Motivated by psychological, biological, and practical considerations

Page 27: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Important design principles in CALM

• Modularity

• Novelty dependent categorization and learning

• Wiring scheme inspired by neocortical minicolumn

Page 28: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Elaboration versus activation

• Novelty dependent categorization and learning derived from memory psychology (Graf and Mandler, 1984)– Elaboration learning: Active formation of new

associations– Activation learning: Passive strengthening of pre-

existing associations

• In CALM: Relative novelty of patterns determines either type of learning

Page 29: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

How elaboration learning is implemented in CALM• Novel pattern

– > Much competition– > High activation of Arousal Node– > High activation of External Node– > High learning parameter– > High noise amplitude on Representation Nodes

• Elaboration learning drives:– Self-induced noise– Self-induced learning

Page 30: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Self-induced noise (cf. Bolzmann Machine)

• Non-specific activations from sub-cortical structures in cortex

• Optimal level of arousal for optimal learning performance (Yerkes-Dodson Law)

• Noise drives search for new representations

• Noise breaks symmetry deadlocks

• Noise may lead to convergence in deeper attractors

Page 31: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Self-induced learning

• Possible role of hippocampus and basal forebrain (cf. modulatory system in TraceLink)

• Shift from implicit to explicit memory

• Remedy of the Plasticity-Stability Dilemma

Page 32: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Stability-Plasticity Dilemma or the Problem of Real-Time Learning

• How can a learning system be designed to remain plastic, or adaptive, in response to significant events and yet remain stable in response to irrelevant events?” Carpenter and Grossberg, 1988, p.77)

Page 33: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Novelty dependent categorization

• Novel patterns implies search for new representations

• Search process is driven by novelty dependent noise

Page 34: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Novelty dependent learning

• Novel pattern: increased learning rate

• Old pattern: base-rate learning

Page 35: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Learning rule derived from Grossberg’s ART• Extension of the Hebb Rule• Increases and decreases in weight• Only applied to excitatory connections (no sign

changes allowed)• Weights are bounded between 0 and 1• Allows separation of complex patterns from their

composing subpatterns• In contrast to ART: weight change is influenced by

weighed neighbor activations

Page 36: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

CALM Learning Rule

( )ij t ij j ij ik kk j

w k w a Lw w a

Weight from node j to node iNeighbor activations k dampen the weight change

Page 37: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Learning rule

Page 38: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Avoid neurobiologically implausible architectures

• Random organization of excitatory and inhibitory connections

• Learning may change a connections sign

• Single nodes may give off both excitatory and inhibitory connections

Page 39: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Neurons form a dichotomy (Dale’s Law)

• Neurons involved in long-range connections in cortex give off excitatory connections

• Inhibitory neurons in cortex are inhibitory

Page 40: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

CALM:Categorizing And LearningModule

By Murre, Phaf, & Wolters (1992)

V V

R

V

RR

A

E

Low

HighFlat

Strange

AE

Up Cross

Learning intermodular connections

Page 41: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Activation rule

Page 42: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Parameter CALM

Up weight 0.5

Down weight -1.2

Cross weight 10.0

Flat weight -1.0

High weight -0.6

Low weight 0.4

AE weight 1.0

ER weight 0.25

wµE 0.05

k 0.05

K 1.0

L 1.0

d 0.01

Parameters

Possible parameters for the CALM module

They do not need to adjusted for each new architecture

Page 43: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Main processes in the CALM module

Page 44: Modular Neural Networks: SOM, ART, and CALM Jaap Murre University of Amsterdam University of Maastricht jaap@murre.com .

Inhibition between nodes

• Example: inhibition in CALM

V V

R

V

RR

A

E

Low

HighFlat

Strange

AE

Up Gaussian

Learning intermodular connections