large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 ›...

35
Large-scale neural models for cognition Chris Eliasmith Centre for Theoretical Neuroscience University of Waterloo

Upload: others

Post on 04-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Large-scale neural models for cognition

Chris EliasmithCentre for Theoretical Neuroscience

University of Waterloo

Page 2: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Three roads to cognition(on Brainstorm)

• Symbolicism

• Connectionism

• Dynamicism

Unify

Page 3: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Spaun• Semantic pointer architecture unified

network (Spaun)

• 8 different percept/cognitive/motor tasks

• 2.5 million neurons

• 8 billion connections

• Uses NEF implemented in Nengo

• Does 8 tasks, including basic perceptual tasks…

Page 4: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network
Page 5: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

And more cognitive tasks...

Page 6: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network
Page 7: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network
Page 8: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

With no changes to Spaun between tasks...

(8 tasks include: recognition, copy drawing, reinforcement learning, counting, serial working memory, question answering, RVC, RPM)

Page 9: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

NEF connection weights

Page 10: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Nengo 2.0

Page 11: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Spaun fly through

Page 12: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Semantic Pointer Architecture

• The SPA uses NEF building blocks for cognitive models

• Four elements described:

• Semantics

• Syntax

• Control

• Learning & memory

Biological Cognition

Page 13: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

SPA elements• Communication

protocol:

• Semantic Pointers

• Specific functional claims:

• Motor/perception hierarchies

• Representing structure

• Action selection (BG)

Page 14: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

SPA: Semantic Pointers• E.g. The pointer would be the activity of the top

level of a standard hierarchical visual model for object recognition

• This pointer can then support ‘symbol’ manipulation

• It can also be used toreactivate a full visual representation

Serre et al., 2007 PNAS

Page 15: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Surface/deep semantics• Applied to numbers: a) neuron tuning; b) generic SPs;

c) input; d) reconstruction; e) surface semanticsb)

a)a)

c) d)

e)

Charlie Tang

a)Data

Model

Page 16: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Semantic Pointers• Semantic pointers are: Compressed, content-based

‘addresses’ to information in association cortices

• ‘Pointer’ because they are used to recall ‘deep’ semantic information (content-based pointer)

• ‘Semantic’ because they themselves define a ‘surface’ semantic space

a bc

$€

%+=

ê

åëâï

Page 17: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Motor compression• SPs can be used to drive the motor control

hierarchy as a dereferencing operation

Cube Octahedron

8 vertices6 faces

8 faces6 vertices

a) b)Motor Control

Representa!on World

Perception

World Representa!on

World

World

Dom

inantInform

ation Flow

Page 18: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Cognitive compression•Rule: “If vowel, then even”

•Classically: implies(vowel,even)

•What is the antecedent?

Page 19: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Examples of structure

• Rules: implies(vowel, even)

• Concepts: dog

• Lists: 5,3,4,0

Page 20: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Action selection

•Mb compares the cortical state with known SPs•Mc maps selected action to cortical control states

Page 21: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Action selection

Page 22: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Putting it together: Serial working memory

Page 23: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

How does it work?

Page 24: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

• Compress:

• Map:

• Compress:

• Recurrence:

• Action:

• Decompress:

• Map:

• Decompress:

Perception Cognition Action

Page 25: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Extending Spaun• Spaun: Largely fixed rules in BG

• Built as an expert at a fixed set of tasks

• Limited flexibility for new tasks without model changes

• Two ways to learn new tasks:

• Trial and error

• Explicit instruction

Page 26: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Explicit Instruction

• Flexible perception/action mappings

• Very fast “learning” (to support slow learning)

• Applications:

• Service robots

• Team coordination

Page 27: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Task 1

Page 28: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Rule Manipulation

• Encoding rules:

• If vision=1 then write 3

• If vision=3 then write 9…

Page 29: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Rule Manipulation

• Decoding:

• vision = one

• Action to perform:

Page 30: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Task 2

Page 31: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Rule manipulation

• Encoding/decoding similar:

• Result is loaded into an “executive memory” that keeps track of the task being performed.

• Updates cortical control state instead of simple perception/action map.

Page 32: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Next steps

• Sets of instructions (multiple steps)

• Integrating instruction following into basal ganglia

• Instruct it to perform an entirely novel task

• Parsing instructions from visual stream

Page 33: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Other SPA models• Unifying concepts (Blouw et al, 2016)

• Human-scale conceptual structures (Crawford et al., 2015)

• Instruction following parsing (Choo et al, 2015)

• Intelligence test model (Rasmussen & Eliasmith, 2014)

• Speech perception and generation (Bekolay, 2016)

• Hierarchical reinforcement learning (Rasmussen, 2014)

• N-back task (Gosmann & Eliasmith, 2015)

• Language parsing (Blouw & Eliasmith, 2015)

• Language sequencing (Kroger et al, 2016)

Page 34: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

SPA Unifies• Perception (Connectionism)

• Statistical categorization, SPs

• Cognition (Symbolicism)

• Working with structure, SPs

• Action (Dynamicism)

• Brain/body dynamics, SPs & control

Page 35: Large-scale neural models forbrainstorm.stanford.edu › events › docs › 2016 › NeuralModelsOf... · 2017-09-29 · Spaun • Semantic pointer architecture unified network

Further informationResearch, Papers: http://compneuro.uwaterloo.ca

Nengo, Tutorials, Spaun videos: http://www.nengo.ca

CNRG lab: Terry Stewart, Eric Hunsberger, Brent Komer, Aaron Voelker, Xuan Choo, Sean Aubin, Sugandha Sharma, Mariah Martin-Shein, Peter Blouw, Stacy Gaikovaia, Jan Gosmann, Ivana Kajic, Peter Duggins