280 likes | 367 Views
PSY105 Neural Networks 3/5. 3. “Machines that change themselves”. Lecture 1 recap. We can describe patterns at one level of description that emerge due to rules followed at a lower level of description.
E N D
PSY105 Neural Networks 3/5 3. “Machines that change themselves”
Lecture 1 recap • We can describe patterns at one level of description that emerge due to rules followed at a lower level of description. • Neural network modellers hope that we can understand behaviour by creating models of networks of artificial neurons.
Lecture 2 recap • Simple model neurons • Transmit a signal of (or between) 0 and 1 • Receive information from other neurons • Weight this information • Can be used to perform any computation
Networks of such neurons are Turing complete 1912 - 1954
Question: How could you use these simple neurons (TLUs) to compute the NOR (‘NOR OR’) function?
Computing with neurons: NORa clue inputs output weights Input 1 (varies) Act. ? Input 2 (varies) Tonically active Input (always = 1)
Computing with neurons: NORone way inputs output weights Input 1 (varies) Act. ? Input 2 (varies) Tonically active Input (always = 1) Threshold = 1, Weight 1 = -1, Weight 2 = -1 Weight 3 = +1
Mechanism advantages of neural networks • Parallel rather than serial processing • Speed advantage • Robust • graceful degradation • Learning • Do not require full designer specification
Successes of neural networks http://www.youtube.com/watch?v=-KxjVlaLBmk#t=2m39s
Theoretical advantages of neural networks • Biological verisimilitude • But see earlier discussion of levels • Forces scientist to specify • Both problem and solution • Learning (again) • ‘Strong representational change’ • They don’t have the answers programmed in
11 SC 198612. Dudelange, Luxembourg. Painted white to blend with snow-covered terrain, an M-36 tank destroyer crosses a field. (3 Jan 1945). Signal Corps Photo #ETO-HQ-45-5944 (Hustead). http://www.history.army.mil/reference/bulge/images.htm
Learning • Usually happens gradually • Hence ‘learning curve’ • Must be related to some physical change in the brain • Can we describe rules that explain learning?
Classical conditioning • http://www.youtube.com/watch?v=Eo7jcI8fAuI
Classical conditioning • Unconditioned stimulus (UCS) • Unconditioned Response (UCR) • Conditioned stimulus (CS) • Taste of food • Salivation • Ringing of bell
Classical conditioning • Unconditioned stimulus (UCS) • Unconditioned Response (UCR) • Conditioned stimulus (CS) • Taste of food • Salivation • Ringing of bell
Classical conditioning • Unconditioned stimulus (UCS) • Unconditioned Response (UCR) • Conditioned stimulus (CS) • Taste of food • Salivation • Ringing of bell
Modelling classical conditioning Stimuli Responses
Modelling classical conditioning Stimuli Responses
Modelling classical conditioning CS2 CS1 UCS Stimuli Responses
How many ways are there to implement classical conditioning?
Modelling classical conditioning CS2 CS1 UCS Stimuli S-R link Responses
Modelling classical conditioning S-S link CS2 CS1 UCS Stimuli Responses
Experiments S-S link CS2 CS1 UCS Stimuli ? ? Responses
Stimulus presentation Stimulus Off Stimulus On
S-S or S-R link • But experimental results can be found which support the existence of both links • Ultimately it seems that conditioning relies on internal representations, not just links
Learning Rules “When an axon of cell A is near enough to excite a cell B and repeatedly or persistently takes part in firing it, some growth process or metabolic change takes place in one or both cells such that A's efficiency, as one of the cells firing B, is increased.” Hebb, D.O. (1949), The organization of behavior, New York: Wiley
Operationalising the Hebb Rule • Turn ….“When an axon of cell A is near enough to excite a cell B and repeatedly or persistently takes part in firing it, some growth process or metabolic change takes place in one or both cells such that A's efficiency, as one of the cells firing B, is increased.” • ….Into a simple equation which is a rule for changing weights according to inputs and outputs