PowerPoint Presentation
Scripts
Common Sense Reasoning
Frames
Understanding
Scripts
Common Sense Reasoning
Lesson Preview
Defining scripts
Form vs. content
Generating expectations
Hierarchies of scripts
Does this story make sense?
Yes
No
Ali asked, Do you think well have many customers in the next half-hour?
Sarah replied, Go ahead and grab your lunch.
Definition of Scripts
A causally1 coherent2 set of events3.
1: Each event sets off, or causes, the next event.
2: The causal connections between events make sense.
3: The parts are actions or scenes in the world.
Roles: Agents involved in the execution of the script.
Track: Variations or subclasses of the particular script.
Scenes: The sequence of events that occurs during execution of the script.
Entry conditions: Conditions necessary to execute the script.
Result: Conditions that will be true after the script has taken place.
Props: Objects involved in the execution of the script.
Parts of a Script
Restaurant Script
Script
script : restaurant
track : formal dining
props : tables, menu, check,
money, F = food, P = place
roles : S = customer, W = waiter,
C = cook, M = cashier,
O = owner
entry : S is hungry, S has money
result : S has less money,
O has more money,
S is not hungry,
S is pleased
scenes :
Scene 1: Entering
Action Frame
prim. : move-object
agent : S
object : S
destination : P
Action Frame
prim. : see
agent : S
object : table
Action Frame
prim. : conclude
agent : S
result :
Action Frame
prim. : move-object
agent : S
object : S
destination : table
Action Frame
prim. : move-body-part
agent : S
part : body
destination : sitting
Action Frame
prim. : see
agent : W
object : S
Action Frame
prim. : move-object
agent : W
object : W
destination : S
Action Frame
prim. : move-object
agent : W
object : menu
destination : S
Action Frame
prim. : move-body-part
agent : S
part : body
destination : sitting
Action Frame
prim. : see
agent : W
object : S
Action Frame
prim. : move-object
agent : W
object : W
destination : S
Action Frame
prim. : move-object
agent : W
object : menu
destination : S
S = Salwa; P = Applebees; W = Lucas
Action Frame
prim. : move-body-part
agent : Salwa
part : body
destination : sitting
Action Frame
prim. : see
agent : Lucas
object : Salwa
Action Frame
prim. : move-object
agent : Lucas
object : Lucas
destination : Salwa
Action Frame
prim. : move-object
agent : Lucas
object : menu
destination : Salwa
S = Salwa; P = Applebees; W = Lucas
Action Frame
prim. : move-body-part
agent : Ashok
part : body
destination : sitting
Action Frame
prim. : see
agent : Andrew
object : Ashok
Action Frame
prim. : move-object
agent : Andrew
object : Andrew
destination : Ashok
Action Frame
prim. : move-object
agent : Andrew
object : menu
destination : Ashok
S = Ashok; P = Olive Garden; W = Andrew
Restaurant
Coffeehouse
Fast Food
Casual
Dining
Formal
Dining
Restaurant
Which of the following prior topics might help an agent learn a script? Check all that apply.
Semantic Networks
Frames
Production Systems
Learning by Recording Cases
Incremental Concept Learning
Planning
Commonsense Reasoning
Which of the following prior topics might help an agent use a script? Check all that apply.
Generate & Test
Means-Ends Analysis
Problem Reduction
Case-Based Reasoning
Classification
Logic
Understanding
Assignment
How would you use scripts to design an agent that could answer Ravens progressive matrices?
To recap
Defining scripts
Form vs. content
Generating expectations
Tracks
/docProps/thumbnail.jpeg
Reviews
There are no reviews yet.