Computational Cognitive Modelling COGS 511 Lecture 2 Unified

  • Slides: 52
Download presentation
Computational Cognitive Modelling COGS 511 -Lecture 2 Unified Theories of Cognition, Cognitive Architectures vs

Computational Cognitive Modelling COGS 511 -Lecture 2 Unified Theories of Cognition, Cognitive Architectures vs Frameworks: COGENT 20. 1. 2022 COGS 511 1

Related Readings n n Readings: Langley et al. (2009) Cognitive Architectures Optional: n n

Related Readings n n Readings: Langley et al. (2009) Cognitive Architectures Optional: n n n Newell’s Precis of Unified Theories of Cognition, in Polk and Seifert (2002) Abrahamsen and Bechtel (2006) Phenomena and Mechanisms Taatgen, N. A. (1999). Learning without limits: from problem solving toward a unified theory of learning. Doctoral Dissertation, University of Groningen, The Netherlands. (Ch. 2) Taatgen, N. A. & Anderson, J. R. (2009). The Past, Present, and Future of Cognitive Architectures. topi. CS in Cognitive Science, 1 -12. Available Online from http: //act-r. psy. cmu. edu/people/index. php? id=92 See also Chapters 3, 4, and 5 of Polk and Seifert (2002) Some slides are adopted from COGENT tutorials - 20. 1. 2022 http: //cogent. psyc. bbk. ac. uk/. COGS 511 2

Symbols Any entity that bears content within a system n Anything that represents; a

Symbols Any entity that bears content within a system n Anything that represents; a token that stands for something else in the specified context n Has content, organization, format n Can be external or internal (mental) n Accessed and retrieved by processes n 20. 1. 2022 COGS 511 3

Symbol Systems n Consist of n n n A memory, containing independently modifiable structures

Symbol Systems n Consist of n n n A memory, containing independently modifiable structures that contain symbols Symbols, patterns in the structures providing distal access to other structures Operations, taking symbol structures as input and producing symbol structures as output Interpretation processes, taking structures as input and executing operations Requirements: Sufficient memory and symbols, complete composability of structures by the operators, and complete interpretability 20. 1. 2022 COGS 511 4

Physical Symbol Systems Hypothesis n (Newell and Simon, 76) “The necessary and sufficient condition

Physical Symbol Systems Hypothesis n (Newell and Simon, 76) “The necessary and sufficient condition for a physical system to exhibit general intelligent action is that it be a physical symbol system. A system is intelligent to the degree it bears all its knowledge in the service of its goals”. 20. 1. 2022 COGS 511 5

Commitments of the Physical Symbol System Hypothesis Use of symbols or systems of symbols

Commitments of the Physical Symbol System Hypothesis Use of symbols or systems of symbols n Causal Decomposable Models of Explanation n Empirical n Must be realized in the brain, thus can be implemented in a massively parallel way n 20. 1. 2022 COGS 511 6

Symbolic Representations Symbolic Proposition: a statement that consists of symbols which refer to objects,

Symbolic Representations Symbolic Proposition: a statement that consists of symbols which refer to objects, properties and relations Symbolic Rule: for manipulation and transformation of symbol structures n First Order Logic n Other Logics n Semantic Nets, Conceptual Graphs n Frames, Scripts n Production Rules n Symbolic Learning Mechanisms: eg case-based reasoning, inductive reasoning 20. 1. 2022 COGS 511 7

Symbolic Modelling Properties of symbolic systems must be satisfied: systematicity, compositionality n General Purpose

Symbolic Modelling Properties of symbolic systems must be satisfied: systematicity, compositionality n General Purpose Symbolic Programing Languages, Cognitive Architectures/Frameworks, Production Systems n 20. 1. 2022 COGS 511 8

Production Systems n n n Rules: IF-THEN Rules Rule Database (long term memory) vs

Production Systems n n n Rules: IF-THEN Rules Rule Database (long term memory) vs Working Memory (WM) vs Goal Memory Recognize-Act Cycle: n n n Match the variables of the antecedents of a rule with data recorded on WM If more than one rule fires, apply a conflict resolution strategy Add new items to WM, delete or update the old items – do necessary actions Conflict Resolution: Strategies based on recency, utility, or specificity etc. possible Forward-backward or bi-directional reasoning: ways of traveling through state space 20. 1. 2022 COGS 511 9

Attacks to Symbolic Approaches n n n Frame Problem Symbol Grounding Problem Serial vs

Attacks to Symbolic Approaches n n n Frame Problem Symbol Grounding Problem Serial vs Parallel: Neurological Plausibility Non flexibility in explaining acquisition, learning, deficits, evolution Computation without representations and explicit algorithms is possible 20. 1. 2022 COGS 511 10

Other Approaches Connectionism n Dynamicism n n Will be evaluated in more depth in

Other Approaches Connectionism n Dynamicism n n Will be evaluated in more depth in coming weeks. . . 20. 1. 2022 COGS 511 11

Phenomena vs Mechanisms n Exs: Symbolic approaches to describing certain cognitive phenomena vs connectionist

Phenomena vs Mechanisms n Exs: Symbolic approaches to describing certain cognitive phenomena vs connectionist mechanisms to specifying mechanisms to explain them. n Exs: Optimality Theory and Connectionism, Language Acquisition and Statistical Learning 20. 1. 2022 COGS 511 12

Another Dichotomy. . . Microtheories vs Unified Theories of Cognition. . n What is

Another Dichotomy. . . Microtheories vs Unified Theories of Cognition. . n What is unified? n n Cognitive architectures vs frameworks (such as connectionism) 20. 1. 2022 COGS 511 13

Problems About Microtheories of Cognition Each individual discipline contributes microtheories, each stated in a

Problems About Microtheories of Cognition Each individual discipline contributes microtheories, each stated in a different way. n How do they fit into whole picture? n Comparative evaluation may not be possible. n 20. 1. 2022 COGS 511 14

Unified Theories of Cognition Single sets of mechanisms that cover all of cognition. n

Unified Theories of Cognition Single sets of mechanisms that cover all of cognition. n Multiple candidate theories should cumulate, be refined, reformulated, corrected and expanded. n 20. 1. 2022 COGS 511 15

Recommendations for Unified Theories of Cognition n n n Have many unified theories of

Recommendations for Unified Theories of Cognition n n n Have many unified theories of cognition Develop consortia and communities Be synthetic – incorporate not replace local theories Modify, even radically change Create data bases of results and adopt a benchmark philosophy Make models easy to use and reason about Acquire one or more application domains for support (Newell, 2002) 20. 1. 2022 COGS 511 16

Cognitive Architectures n n n “Unified theories of cognition will be realized as architectures,

Cognitive Architectures n n n “Unified theories of cognition will be realized as architectures, (nearly) fixed structures that realize a symbol system. ” (Newell, 1990) Relatively complete proposals about the structure of human cognition An architecture provides and manages the primitive resources of an agent. ARCHITECTURE*CONTENT = BEHAVIOUR One-to-many mappings between symbol systems-architectures-technologies 20. 1. 2022 COGS 511 17

(Taatgen, 1999) 20. 1. 2022 COGS 511 18

(Taatgen, 1999) 20. 1. 2022 COGS 511 18

Cognitive vs. Computer Architectures n n n Runs a model Is itself a model

Cognitive vs. Computer Architectures n n n Runs a model Is itself a model of a theory Makes predictions, needs to be evaluated against experimental data 20. 1. 2022 n n n COGS 511 Runs a program Part of the design of the computer Is actually working, evaluation by benchmarking, etc. 19

Architecture vs Task Model n n n Fixed structures common, constant and available to

Architecture vs Task Model n n n Fixed structures common, constant and available to all tasks Task model: a system (required knowledge, mechanisms etc) implemented on the architecture to generate specific predictions with respect to a certain task An architecture should demonstrate flexibility and generality rather than success on a single domain 20. 1. 2022 COGS 511 20

Cognitive Architectures in Perspective Architecture Theory Task Knowledge Task Model Predict Compare Adopted from

Cognitive Architectures in Perspective Architecture Theory Task Knowledge Task Model Predict Compare Adopted from (Taatgen, 1999) 20. 1. 2022 COGS 511 21

Common Elements of Cognitive Architectures n n n n Production Systems with Conflict Resolution

Common Elements of Cognitive Architectures n n n n Production Systems with Conflict Resolution Connectionist/Associationist aspects: modelling forgetting, utility etc. Declarative vs Procedural Memory Goals, Long Term vs Short Term Memory Learning Sensory buffers and interaction with sensory (vision, motor etc) input/output Experiment set-ups and evaluation 20. 1. 2022 COGS 511 22

The Real Time Constraint on Cognition Biological Band (100 µsec – 10 msec) n

The Real Time Constraint on Cognition Biological Band (100 µsec – 10 msec) n Cognitive Band (100 msec – 10 sec) n Rational Band (Minutes to hours) n Social Band Human cognitive architecture must be shaped to satisfy the real time constraint. n 20. 1. 2022 COGS 511 23

Cognitive Architectures vs. Frameworks/Tools n n n n SOAR ACT-R n 4 CAPS EPIC

Cognitive Architectures vs. Frameworks/Tools n n n n SOAR ACT-R n 4 CAPS EPIC PSI Clarion Icarus Prodigy n 20. 1. 2022 n n COGS 511 COGENT Cog. Net/i. GEN Cog. Aff Con. Ag Connectionist Toolkits –e. g. Emergent (aka PDP++) Computational Neuroscience Toolkits (Genesis, NEURON) 24

Advantages of Cognitive Architectures Learnability and Support n Inventory of Models and Data n

Advantages of Cognitive Architectures Learnability and Support n Inventory of Models and Data n User Interfaces n Portability n Public Design Specifications n Modularity, Modifiability n 20. 1. 2022 COGS 511 25

Problems with Cognitive Architectures n n Description as cognitive theory vs description as a

Problems with Cognitive Architectures n n Description as cognitive theory vs description as a computational model vs the software itself Independent testability of individual assumptions Aspects of the architecture that are implementational details: special I/O functions, effective Working Memory management Small changes- Big effects 20. 1. 2022 COGS 511 26

3 CAPS/4 CAPS n n n n Just and Carpenter, see link on METU

3 CAPS/4 CAPS n n n n Just and Carpenter, see link on METU Online Capacity Constrained Activation Theory Each representation has an activation level the reflects its accesibility; only when activation level is above a threshold, it is in working memory and can enable a production to fire. Multiple productions can fire in a given cycle. Limits in resource consumption: if the total demand for activation exceeds the allowable maximum, slowing down of processes or forgetting may occur. A hybrid system like ACT-R Modelling of differences in reading, spatial problem solving, agrammatic aphasia No learning (? ) 20. 1. 2022 COGS 511 27

EPIC n n n Executive Process/Interactive Control- Meyer and Kieras Study of bottlenecks in

EPIC n n n Executive Process/Interactive Control- Meyer and Kieras Study of bottlenecks in human multiple task performance (evidence against Response Selection Bottleneck) Perceptual and motor processors interacting with a cognitive processor (all working in parallel) that has a working memory, long term memory and a production rule interpreter Parallel rule testing and firing No learning (? ) Now, Integrated into ACT-R (previously ACT-R/PM) 20. 1. 2022 COGS 511 28

PSI Dörner et al. n (Some) Documentation in German n Building psychosocial agents –

PSI Dörner et al. n (Some) Documentation in German n Building psychosocial agents – motivation, emotion and acquisition of ontologies via interaction based on semantic nets n Micro. Psi – more agent-oriented development n http: //www. cognitive-agents. org/ 20. 1. 2022 COGS 511 29

COGNET n n Zachary et al. , CHI Systems, see www. chisystems. com A

COGNET n n Zachary et al. , CHI Systems, see www. chisystems. com A theory neutral framework for modelling cognitive agents at near-expert/expert level of performance on realtime/multi tasks Single long term/working memory; parallel perceptual, motor and cognitive systems Integrated Development Environment – i. GEN toolkit (not free) 20. 1. 2022 COGS 511 30

Cog. Aff – Cognition and Affect Project http: //www. cs. bham. ac. uk/~axs/cogaff. html

Cog. Aff – Cognition and Affect Project http: //www. cs. bham. ac. uk/~axs/cogaff. html (Sloman et al. ) n n n Sim. Agent Toolkit – for developing cognitive agents (free) Cosy project- on cognitive robotics, now followed by Cog. X project Multilevel, concurrent components within perceptual, central and motor sub-systems Layered approach in dealing with emotions: reactive, deliberative, reflective layers 20. 1. 2022 COGS 511 31

H-Cog. Aff Architecture From http: //www. cs. bham. ac. uk/~axs/cogaff. html

H-Cog. Aff Architecture From http: //www. cs. bham. ac. uk/~axs/cogaff. html

Con. Ag n Franklin et al. http: //ccrg. cs. memphis. edu/projects. html n n

Con. Ag n Franklin et al. http: //ccrg. cs. memphis. edu/projects. html n n n Frameworks for “conscious” agents: inspired by Baars’ Global Workspace Theory A “framework” in Java in codelets – metacognition, memory, perception, attention management IDA model: Apparently a successor to Con. Ag; personnel assignment task for Navy – followed by various LIDA – Learning IDA models 20. 1. 2022 COGS 511 33

Cognitive Architectures vs. Frameworks/Tools n n n n SOAR ACT-R n 4 CAPS EPIC

Cognitive Architectures vs. Frameworks/Tools n n n n SOAR ACT-R n 4 CAPS EPIC PSI Clarion Icarus Prodigy n 20. 1. 2022 n n COGS 511 COGENT Cog. Net/i. GEN Cog. Aff Con. Ag Connectionist Toolkits –e. g. Emergent (aka PDP++) Computational Neuroscience Toolkits (Genesis, NEURON) 34

COGENT: A sample modelling tool n COGENT is a modelling environment. It is not

COGENT: A sample modelling tool n COGENT is a modelling environment. It is not an architecture n COGENT provides facilities to support the development and evaluation of symbolic and hybrid models n COGENT is not appropriate for the development of purely connectionist models n COGENT is domain general. It has been used to develop models of: Reasoning, Problem Solving, Categorisation, Memory, Decision Making, … 20. 1. 2022 COGS 511 35

COGENT: Principal Features n n n A visual programming environment; Research programme management tools;

COGENT: Principal Features n n n A visual programming environment; Research programme management tools; A range of standard functional components; An expressive rule-based modelling language and implementation system; Automated data visualisation tools; and A model testing environment. 20. 1. 2022 COGS 511 36

Visual Programming in COGENT n Allows users to develop cognitive models using a box

Visual Programming in COGENT n Allows users to develop cognitive models using a box and arrow notation that builds upon the concepts of functional modularity and object-oriented design.

Visual Representation processes that transform information buffers that store information compound systems with internal

Visual Representation processes that transform information buffers that store information compound systems with internal structure sending message to a process reading information from a buffer 20. 1. 2022 COGS 511 38

Standard Functional Components n A library of components is supplied: n n n Rule-based

Standard Functional Components n A library of components is supplied: n n n Rule-based processes Memory buffers Simple connectionist networks Data input/output devices Inter-module communication links Components can be configured for different applications 20. 1. 2022 COGS 511 39

Rule-Based Modelling Language: Processes may contain rules such as: IF operator(Move, possible) is in

Rule-Based Modelling Language: Processes may contain rules such as: IF operator(Move, possible) is in Possible Operators evaluate_operator(Move, Value) THEN delete operator(Move, possible) from Possible Operators add operator(Move, value(Value)) to Possible Operators 20. 1. 2022 COGS 511 40

Rule-Based Modelling Language: COGENT’s representation language is based on Prolog: IF operator(Move, possible) is

Rule-Based Modelling Language: COGENT’s representation language is based on Prolog: IF operator(Move, possible) is in Possible Operators evaluate_operator(Move, Value) THEN delete operator(Move, possible) from Possible Operators add operator(Move, value(Value)) to Possible Operators 20. 1. 2022 COGS 511 Terms beginning with an upper-case letter are variables 41

Rule-Based Modelling Language:

Rule-Based Modelling Language:

How do rules get activated? n Autonomous rules test their conditions on every processing

How do rules get activated? n Autonomous rules test their conditions on every processing cycle and fire when their conditions are met. Triggered rules only test their conditions when they are triggered by the arrival of an appropriate message. 20. 1. 2022 COGS 511 43

Firing Rate of the Rules n Some rules should fire just once for each

Firing Rate of the Rules n Some rules should fire just once for each possible instantiation of its variables, and the rule should not fire on every cycle with the same variable binding. This is enabled with the refraction parameter. 20. 1. 2022 COGS 511 44

Data Visualisation Tools: Tables n n Updated dynamically during the execution of a model

Data Visualisation Tools: Tables n n Updated dynamically during the execution of a model 2 types of tables: n Output Tables write-only n Buffer Tables read / write 20. 1. 2022 COGS 511 45

Data Visualisation Tools: Graphs n n Updated dynamically Several formats (line graphs, scatter plots,

Data Visualisation Tools: Graphs n n Updated dynamically Several formats (line graphs, scatter plots, bar charts) 20. 1. 2022 COGS 511 46

The Model Testing Environment n n Monitoring is provided through the Messages view available

The Model Testing Environment n n Monitoring is provided through the Messages view available on each component's window. This view shows all messages generated or received by a component. the execution of the conditions within rules are traced

Research Programme Management n n Managing sets of models Each node in the tree

Research Programme Management n n Managing sets of models Each node in the tree corresponds to a separate model Links in the tree show ancestral relations between successive versions of the same model several versions of a model may be explored in parallel

Some COGENT Models Domains in which COGENT has been applied (see COGENT book in

Some COGENT Models Domains in which COGENT has been applied (see COGENT book in library): n Memory (Free recall) n Arithmetic (Multicolumn addition and subtraction) n Mental Imagery (Shepard’s mental rotation task) n Problem Solving (Missionaries, Towers of Hanoi, Cryptarithmetic) n Deductive Reasoning (Syllogisms, Inferences) n Categorisation/Decision Making (Medical diagnosis) 20. 1. 2022 COGS 511 49

ACT-R 5. 0: Component Processes 20. 1. 2022 COGS 511 50

ACT-R 5. 0: Component Processes 20. 1. 2022 COGS 511 50

COGENT Version 3: Planned Features 1. Fresh look and feel 2. Additional drawing tools

COGENT Version 3: Planned Features 1. Fresh look and feel 2. Additional drawing tools 3. Improved navigation facilities 4. Revised box / object hierarchy 5. Improved efficiency on Windows platforms Public release of V 3. 0 expected in first quarter of 2009 – but has not been announced yet! From http: //cogent. psyc. bbk. ac. uk 20. 1. 2022 COGS 511 51

Lecture 3 n ACT-R • Readings: Anderson et al. An Integrated Theory of Mind

Lecture 3 n ACT-R • Readings: Anderson et al. An Integrated Theory of Mind n SOAR • Lehman et al. ’s (2006) A Gentle Introduction to SOAR n Due: Report in writing (by email) to course assistant • your project groups and • your selected topics of individual review – times will be determined after selection of topics. . . n Next Week: ACT-R Practical Session 20. 1. 2022 COGS 511 52