430 likes | 521 Views
Research in Knowledge 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. Long-Term Goal. Theory and Implementation of
E N D
Research 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
Long-Term Goal • Theory and Implementation of Natural-Language-Competent Computerized Cognitive Agent/Robot • and Supporting Research in Artificial Intelligence Cognitive Science Computational Linguistics. S. C. Shapiro
Cassie • A computational cognitive agent • Embodied in hardware • or Software-Simulated • Based on SNePS and GLAIR. S. C. Shapiro
Cassieas 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. S. C. Shapiro
: perform get(gold) No breeze here. No stench here. Exploring the cave... Found a safe room... S. C. Shapiro
I am in room (1, 0), facing east No breeze here. No stench here. Exploring the cave... Found a safe room... S. C. Shapiro
I am in room (1, 1), facing south I feel a breeze. No stench here. Exploring the cave... Found a safe room... S. C. Shapiro
I am in room (0, 1), facing west No breeze here. No stench here. Exploring the cave... Found a safe room... S. C. Shapiro
I am in room (0, 2), facing south I feel a breeze. No stench here. Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Found a safe room... S. C. Shapiro
I am in room (2, 0), facing east I feel a breeze. No stench here. Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... Visiting an old room... This is boring. S. C. Shapiro
Exploring the cave... I'll chance a move... S. C. Shapiro
I am in room (1, 2), facing south No breeze here. I'm grabbing for the gold. No stench here. I'm going home! S. C. Shapiro
Score = 966. S. C. Shapiro
Important 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 S. C. Shapiro
Important 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) S. C. Shapiro
Important 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(…)})) S. C. Shapiro
Important 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) => ~Facing(north), ~Facing(south), ~Facing(west) believe(Facing(south)) Facing(south), ~Facing(north), ~Facing(east), ~Facing(west) S. C. Shapiro
Important SNePS Features 5Nondeterministic Choice ~Have(gold) =>(all(r1)(In(r1) => ActPlan(explore(cave), withsome({?r2, ?d1}, SafeNewRoom(r1, ?r2, ?d1), snsequence3(turn(?d1), move(forward), believe(Bored(0))), <else clause>)))) S. C. Shapiro
Important SNePS Features 6Numerical Quantifier wheneverdo(Feel(breeze), withsome/3(?r, In(?r), believe(nexists(1,4,4)(c)({Adjacent(?r,c)}: {Contains(c,pit)})))) S. C. Shapiro
Agents 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. S. C. Shapiro
SNePS Multi-Agents Bad guy agents hassling a human participant S. C. Shapiro
Reconsideration 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. S. C. Shapiro
Reconsideration Example Credibility order: sd > (s d) > s > d S. C. Shapiro
DDR Graph pr st pq s ~t ~q ~q ~q p ~r ~r ~r {s,st,~t} {p,pq,~q} {p,pq,~q} {p,pq,~q} {p,pr,~r} {p,pr,~r} {p,pr,~r} {~p,p} {~p,p} {~p,p} {p,pv,~v} {p,pv,~v} {p,pv,~v} {mr,~r,m} ~p mr ~v ~v ~v m {wv,w,~v} pv wv w n S. C. Shapiro
For More Information • Shapiro:http://www.cse.buffalo.edu/~shapiro/ • SNePS Research Group:http://www.cse.buffalo.edu/sneps/ • Meets Tuesdays 9-11, 45 Baldy Hall • Join us! S. C. Shapiro