Docsity

Cognitive Science Artificial Intelligence-Lecture Notes-Psychology, Study notes of Cognitive Psychology

Toggle sidebar
bg1
Cognitive Science Lecture 2 1
1
2: Symbolic AI & Search
Outline
โ€“ Tasks for AI
โ€“ Physical Symbol System Hypothesis
โ€“ AI techniques
โ€“ Solving AI problems
โ€“ Search
๎˜Blind search
๎˜Heuristic search
๎˜Game playing & minimax search
โ€“ Learning outcomes
โ€“ Reading
2
Artificial Intelligence
๎˜โ€œhow to make computers do things which, at
the moment, people do betterโ€ (Rich &
Knight, 1991)
๎˜3 types of task domain
โ€“ Mundane tasks
โ€“ Formal tasks
โ€“ Expert tasks
3
4 questions
๎˜What are our underlying assumptions about
intelligence?
๎˜What kinds of techniques will be useful for
solving AI problems?
๎˜At what level of detail are we trying to model
human intelligence?
๎˜How will we know when we have succeeded
in building an intelligent program?
4
The Physical Symbol System Hypothesis
๎˜PSS
โ€“ Set of symbols which are physical patterns
โ€“ Symbol structure โ€“ a number of instances/tokens
of symbols related in some physical way
โ€“ Processes which operate on expressions to
produce other expressions
๎˜PSSH โ€“ A PSS has the necessary and
sufficient means for general intelligent action
5
The Physical Symbol System Hypothesis
๎˜PSSH cannot be proved or disproved on
logical grounds
๎˜Must be subjected to empirical validation
๎˜Computers can be programmed with PSSs
โ€“ Select a task
โ€“ Write a program
๎˜Theory of human intelligence
๎˜Basis of belief that programs can perform
โ€˜intelligent tasksโ€™
6
AI techniques
๎˜Search
๎˜Forward & backward chaining
๎˜Knowledge elicitation
๎˜Neural networks
๎˜Genetic algorithms
๎˜Parsing
๎˜Robotics
pf3
pf4

Partial preview of the text

Download Cognitive Science Artificial Intelligence-Lecture Notes-Psychology and more Study notes Cognitive Psychology in PDF only on Docsity!

1

2: Symbolic AI & Search

Outline

  • Tasks for AI
  • Physical Symbol System Hypothesis
  • AI techniques
  • Solving AI problems
  • Search

 Blind search

 Heuristic search

 Game playing & minimax search

  • Learning outcomes
  • Reading

2

Artificial Intelligence

 โ€œhow to make computers do things which, at

the moment, people do betterโ€ (Rich &

Knight, 1991)

 3 types of task domain

  • Mundane tasks
  • Formal tasks
  • Expert tasks

3

4 questions

 What are our underlying assumptions about

intelligence?

 What kinds of techniques will be useful for

solving AI problems?

 At what level of detail are we trying to model

human intelligence?

 How will we know when we have succeeded

in building an intelligent program?

4

The Physical Symbol System Hypothesis

 PSS

  • Set of symbols which are physical patterns
  • Symbol structure โ€“ a number of instances/tokens of symbols related in some physical way
  • Processes which operate on expressions to produce other expressions

 PSSH โ€“ A PSS has the necessary and

sufficient means for general intelligent action

5

The Physical Symbol System Hypothesis

 PSSH cannot be proved or disproved on

logical grounds

 Must be subjected to empirical validation

 Computers can be programmed with PSSs

  • Select a task
  • Write a program

 Theory of human intelligence

 Basis of belief that programs can perform

โ€˜intelligent tasksโ€™

6

AI techniques

 Search

 Forward & backward chaining

 Knowledge elicitation

 Neural networks

 Genetic algorithms

 Parsing

 Robotics

7

Solving AI Problems

 Define and analyse the problem

  • What knowledge is necessary?

 Choose a problem-solving technique

 e.g. Chess

  • What information do we need to represent in a chess-playing program?

8

โ€˜State Spaceโ€™

Initial state

 operators

Goal state(s)

r k b ki q b k r p p p p p p p p

P P P P P P P P R K B KI Q B K R p p

k

q KI

9

The Water Jugs Problem

 2 jugs

  • 4 gallon
  • 3 gallon

 How can you get exactly 2 gallons into the 4 gallon

jug?

 Possible operators:

  1. Empty jug
  2. Fill jug from tap
  3. Pour contents from one jug into another

10

The Water Jugs Problem โ€“ Search Tree

11

Blind Search โ€“ Breadth First

12

Blind Search โ€“ Depth First

19

Heuristic Search โ€“ best-first search

 similar to hill-climbing

 choice of next state - all open nodes (not just

bottom layer)

 finds shortest paths

Heuristic Search โ€“ beam search

 based on breadth-first

 best n nodes kept each level

 can miss goal altogether

20

Game Playing โ€“ Noughts and Crosses

X

X

O

 HEF:

  • Middle=
  • Corners=
  • Sides=
  • Add up squares with noughts
  • Subtract squares with crosses

O O

21

Game Playing โ€“ Noughts and Crosses

X
X
O
X
X
OO
X
X
O O
X
X
OOX
X X
X
OO
X
X
OXO
X O
X
OXO
X X
X
O O
X X
X
OOO
XO X
X
OO
X X
X
OOO
XO X
X
O O
X O
X
OXO
-100 -4 -5^ -

22

Minimax search

a

b c

d e f g

h i j k l m

max

min

max

23

Learning Outcomes

 Understand the physical symbol system

hypothesis

 Show awareness of different AI techniques

 Understand blind and heuristic search

24

Reading

 Mindware Chapter 2  Finlay, J. & Dix A. (1996). An introduction to artificial intelligence. London: UCL Press. Chapters 3 + 5.  Rich, E. & Knight, K. (1991). Artificial intelligence. NY: McGraw-Hill. FOR NEXT WEEK, READ:  Cooper, R. (1996). Explanation and simulation in cognitive science. In D. W. Green, Cognitive science. Oxford: Blackwell.