Production Systems
Production Systems
Admin
Problem set 0 is due 5pm Friday!
Python transition class 4:30 today in
2305 Tolman
All sections meet as normal this week
Office hours are now on bCourses
Reader is available from Fast Imaging
(2022 University) for $35.60+tax
P, Q, , , , , (, )
Starting positions
well-formed formulas
e.g., P Q
Formal rules
e.g., P Q
P
Q
Outline
Production systems
Break
Cognitive architectures
Logic
Inference Rules
Facts
PQ
Q
P
The World
Logic Theorist
(Newell & Simon, 1956)
Logic
Inference Rules
Facts
PQ
Q
P
The World
Early AI systems
Operations
Workspace
Facts
Operations
Goals
Actions
Observations
The World
Production systems
Operations are encoded in IF THEN form
String World
The world is a string of characters
e.g. ABC
A production system
P1:
P2:
P3:
P4:
P5:
P6:
$$ -> *
*$ -> *
*x -> x*
* -> null & halt
$xy -> y$x
Where:
null -> $
Some challenges
How do we decide which production to apply,
when many are possible?
execute the first
execute at random
execute via some complicated criterion
string = computation;
disp(string);
thought
ACT-R
(Anderson, 1993)
Application
Declarative
Memory
Production
Memory
Match
Storage
Retrieval
Working
Memory
Encoding
Execution
Performance
Outside World
John Anderson
Declarative memory
Facts are represented by chunks
Chunks are activated by context
organized in a semantic network, which we
will talk about later in the semester
Procedural memory
Skills and strategies used in solving
problems are represented as productions
Learning
People can acquire new chunks through
perceptual experience, or via productions
People can form new productions by
generalizing from experience
Learning
People can acquire new chunks through
perceptual experience, or via productions
People can form new productions by
generalizing from experience
Sets of productions can be compiled into
more efficient productions
Compiling productions
If certain productions regularly fire other
productions, then those productions can be
collapsed
1023 alternative
choice task
(Siebel, 1963)
log(time) = -log(practice)
Asimovs
books
(Ohlsson, 1992)
Doug Lenat
Early AI systems
Operations
Workspace
Facts
Operations
Goals
Actions
Observations
The World
Break
Up next:
Cognitive architectures
Computation
Alan Turing
(1912-1954)
Computer architecture
ACT-R
(Anderson, 1993)
Application
Declarative
Memory
Production
Memory
Match
Storage
Retrieval
Working
Memory
Encoding
Execution
Performance
Outside World
John Anderson
SOAR
(Newell, Rosenbloom, Polk, and Laird, 1987)
Production Memory
Chunking
Execution
Working Memory
Perceptual
Systems
Motor
Systems
Senses
Muscles
Outside World
Decision
Allen Newell
H
P
Z
Probe: Q
M
Probe: L
N
S
H
P
A
R
V
C
Probe: B
(Sternberg, 1967)
Computation
What is the goal of the computation, why is it
appropriate, and what is the logic of the strategy
by which it can be carried out?
constrains
Implementation
How can the representation and algorithm be
realized physically?
Thursday
Formal systems and language
you get to read Chomsky!
think about different proposals for formal systems
that can capture the structure of human languages