Title: Research in Knowledge Representation, Reasoning, and Acting
1Research inKnowledge Representation, Reasoning,
and Acting
- Stuart C. Shapiro
- Professor, CSE
- Director, Center for Cognitive Science
- Director, SNePS Research Group
- Faculty Member, Interdisciplinary MS
- in Computational Linguistics
- Fellow, AAAI
2Long-Term Goal
- Theory and Implementation of
- Natural-Language-Competent
- Computerized Cognitive Agent/Robot
- and Supporting Research in
- Artificial Intelligence
- Cognitive Science
- Computational Linguistics.
3Cassie
- A computational cognitive agent
- Embodied in hardware
- or Software-Simulated
- Based on SNePS and GLAIR.
4Cassieas a Wumpus World Agent
- From Stuart C. Shapiro and Michael Kandefer, A
SNePS Approach to The Wumpus World Agent or
Cassie Meets the Wumpus. In Leora Morgenstern and
Maurice Pagnucco, Eds., IJCAI-05 Workshop on
Nonmonotonic Reasoning, Action, and Change
(NRAC'05) Working Notes, IJCAII, Edinburgh,
2005, 96-103.
5 perform get(gold) No breeze here. No stench
here. Exploring the cave... Found a safe room...
6I am in room (1, 0), facing east No breeze
here. No stench here. Exploring the cave... Found
a safe room...
7(No Transcript)
8I am in room (1, 1), facing south I feel a
breeze. No stench here. Exploring the
cave... Found a safe room...
9(No Transcript)
10I am in room (0, 1), facing west No breeze
here. No stench here. Exploring the cave... Found
a safe room...
11(No Transcript)
12I am in room (0, 2), facing south I feel a
breeze. No stench here. Exploring the
cave... Visiting an old room... This is boring.
13(No Transcript)
14Exploring the cave... Visiting an old
room... This is boring.
15Exploring the cave... Visiting an old
room... This is boring.
16(No Transcript)
17Exploring the cave... Found a safe room...
18I am in room (2, 0), facing east I feel a
breeze. No stench here. Exploring the
cave... Visiting an old room... This is boring.
19(No Transcript)
20Exploring the cave... Visiting an old
room... This is boring.
21Exploring the cave... Visiting an old
room... This is boring.
22(No Transcript)
23Exploring the cave... Visiting an old
room... This is boring.
24(No Transcript)
25Exploring the cave... I'll chance a move...
26I am in room (1, 2), facing south No breeze
here. I'm grabbing for the gold. No stench
here. I'm going home!
27(No Transcript)
28(No Transcript)
29(No Transcript)
30(No Transcript)
31Score 966.
32Important SNePS Features 1
- First-person beliefs
- Not third-person truth about agent or world
- Beliefs are current beliefs
- Even if about the past
- On-line acting
- Reified propositions as well as acts
- Neither states nor times are privileged
33Important SNePS Features 2
- SNeRE acts with operational semantics
- External acts
- go(right)
- do(grab)
- senseFor(breeze)
- Control acts
- snsequence(go(right), go(right))
- Mental acts
- believe(p)
- disbelieve(p)
34Important SNePS Features 3
- SNeRE policies integrate reasoning acting
- whendo(See(glitter), do(grab))
- ActPlan(find(home),
- snif(if(In(cell(0,0)),
do(stop)), - else()))
35Important SNePS Features 4
- Use of SNePS andor connective
- and belief revision
- for state constraints
- andor(1,1)Facing(north), Facing(south),
- Facing(east), Facing(west)
- Facing(east)
- gt Facing(north), Facing(south), Facing(west)
- believe(Facing(south))
- Facing(south), Facing(north),
- Facing(east), Facing(west)
36Important SNePS Features 5Nondeterministic Choice
- Have(gold)
- gt(all(r1)(In(r1)
- gt ActPlan(explore(cave),
- withsome(?r2, ?d1,
- SafeNewRoom(r1, ?r2, ?d1),
- snsequence3(turn(?d1),
-
move(forward), -
believe(Bored(0))), - ltelse clausegt))))
37Important SNePS Features 6Numerical Quantifier
- wheneverdo(Feel(breeze),
- withsome/3(?r, In(?r),
- believe(nexists(1,4,4)(c)(Adjacent(?r,c)
-
Contains(c,pit)))))
38Agents in a Virtual Reality Drama
- Stuart C. Shapiro, Josephine Anstey, David E.
Pape, Trupti Devdas Nayak, Michael Kandefer,
Orkan Telhan, The Trial The Trail, Act 3 A
Virtual Reality Drama Using Intelligent Agents.
In R. Michael Young John Laird, Eds.,
Proceedings of the First Annual Artificial
Intelligence and Interactive Digital
Entertainment Conference (AIIDE-05), AAAI Press,
Menlo Park, CA, 2005, 157-158. - Stuart C. Shapiro, Josephine Anstey, David E.
Pape, Trupti Devdas Nayak, Michael Kandefer,
Orkan Telhan, MGLAIR Agents in Virtual and other
Graphical Environments, Proceedings of the
Twentieth National Conference on Artificial
Intelligence (AAAI-05), AAAI Press, Menlo Park,
CA, 2005, 1704-1705.
39SNePS Multi-Agents
Bad guy agents hassling a human participant
40Reconsideration
- Frances L Johnson and Stuart C. Shapiro,
Dependency-Directed Reconsideration Belief Base
Optimization for Truth Maintenance Systems,
Proceedings of the Twentieth National Conference
on Artificial Intelligence (AAAI-05), AAAI Press,
Menlo Park, CA, 2005, 313-320.
41Reconsideration Example
Credibility order s?d gt ?(s ? d) gt s gt d
42DDR Graph
p?q
p?r
s?t
p
q
r
s
t
q
q
r
r
p,p?q,q
s,s?t,t
p,p?r,r
p,p?q,q
p,p?q,q
p,p?r,r
p,p?r,r
m?r,r,m
p,p?v,v
p,p
p,p
p,p
p,p?v,v
p,p?v,v
p
m?r
v
m
v
v
w?v,w,v
p?v
w?v
w
n
43For More Information
- Shapiro http//www.cse.buffalo.edu/shapiro/
- SNePS Research Group http//www.cse.buffalo.edu/s
neps/ - Meets Tuesdays 9-11, 45 Baldy Hall
- Join us!