Professional Documents
Culture Documents
Tom Griffiths
CogSci 131
Computational models of cognition
Tom Griffiths
Computation
Cognition
input
output
input
output
Computational modeling
Look for principles that characterize
both computation and cognition
computation
input
computation
output
input
output
Two goals
Cognition:
explain human cognition (and behavior) in
terms of the underlying computation
Computation:
gain insight into how to solve some
challenging computational problems
Computational problems
Easy:
arithmetic, algebra, chess
Difficult:
learning and using language
sophisticated senses: vision, hearing
similarity and categorization
representing the structure of the world
scientific investigation
General strategy
Lots of material: breadth over depth
you can see whats out there, and choose
to explore things that interest you further
Learning by doing
focus on problem sets, no in-class tests
Website
http://bcourses.berkeley.edu
bCourses site has syllabus with links to
readings, copies of all handouts, slides,
and problem sets
You should have access if you are
enrolled, if not email me: tom_griffiths
Reading
This class is reading-intensive!
textbook: Russell & Norvig
(3rd or 2nd edition are okay)
many primary sources
all available via bCourses
interest in a reader?
Requirements
Seven problem sets (70%)
programming in Python and written answers
collaboration policy: discuss, dont write
first problem set released today!
later problem sets will have challenge
problems for extra credit
Programming
All of the programming for the class (in the
problem sets) will be in Python
We are using iPython/Jupyter Notebooks
for the problem sets, hosted on a server
You will have access to the server if you
enrolled or joined the waitlist by Monday
More information on accessing problem
sets at the end of class today and in section
Sections
Sections are optional in general, but we
recommend you go next week to make
sure youre ready for the problem sets
The goal of section is to discuss and clarify
topics from class, answer your questions,
and help you with Python programming
(the exact balance varies week to week)
The waitlist
I want everybody who needs/wants to get
into the class to get into the class
At present this looks like it should almost
be possible so hang in there while we sort
out the details
Two new sections (107 and 108) were
added to accommodate more students
Questions?
Three approaches
Rules and symbols
Networks, features, and spaces
Probability and statistics
Three approaches
Rules and symbols
Networks, features, and spaces
Probability and statistics
Logic
All As are Bs
All Bs are Cs
All As are Cs
Aristotle
(384-322 BC)
Thomas Hobbes
(1588-1679)
Rene Descartes
(1596-1650)
Gottfried Leibniz
(1646-1716)
Modern logic
PQ
P
Q
George Boole
(1816-1854)
Gottlob Frege
(1848-1925)
Computation
Alan Turing
(1912-1954)
Computational problems
Easy:
arithmetic, algebra, chess
Difficult:
learning and using language
sophisticated senses: vision, hearing
similarity and categorization
representing the structure of the world
scientific investigation
Inductive problems
Drawing conclusions that are not fully
justified by the available data
e.g. detective work
In solving a problem of this sort, the
grand thing is to be able to reason
backward. That is a very useful
accomplishment, and a very easy one,
but people do not practice it much.
Three approaches
Rules and symbols
Networks, features, and spaces
Probability and statistics
Similarity
What determines similarity?
Representations
What kind of representations are used
by the human mind?
Representations
How can we capture the meaning of words?
Semantic networks
Semantic spaces
Categorization
error:
E = ( y g(Wx))
cat
dog
x1
x2
x2
x1
perceptual features
y = g(Wx)
E
<0
w ij
E
>0
w ij
E
=0
w ij
E (error)
E
w ij =
w ij
( is learning rate)
wij
Three approaches
Rules and symbols
Networks, features, and spaces
Probability and statistics
Probability
Gerolamo Cardano
(1501-1576)
Probability
Thomas Bayes
(1701-1763)
Pierre-Simon Laplace
(1749-1827)
Bayes theorem
How rational agents should update their
beliefs in the light of data
P(d | h)P(h)
P(h | d) =
P(d | h")P(h")
h" H
h: hypothesis
d: data
Three approaches
Rules and symbols
Networks, features, and spaces
Probability and statistics
Levels of analysis
At what level should we try to model
human cognition?
computational
problem
algorithm
implementation
For Tuesday
Fill out the survey on bCourses!