23
cse@buffalo Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Affiliated Professor, Linguistics, Philosophy Director, Center for Cognitive Science Director, SNePS Research Group ACM Distinguished Scientist Fellow, AAAI Faculty Member: Interdisciplinary MS in Computational Linguistics Center for MultiSource Information Fusion National Center for Ontological Research National Center for Geographic Information and Analysis

Cse@buffalo Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Affiliated Professor, Linguistics, Philosophy

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

cse@buff

alo Research inKnowledge Representation,

Reasoning, and ActingStuart C. Shapiro

Professor, CSEAffiliated Professor, Linguistics, Philosophy

Director, Center for Cognitive Science

Director, SNePS Research Group

ACM Distinguished Scientist

Fellow, AAAI

Faculty Member:

Interdisciplinary MS in Computational Linguistics

Center for MultiSource Information Fusion

National Center for Ontological Research

National Center for Geographic Information and Analysis

Research Overview '07 S. C. Shapiro 2

cse@buff

alo

Long-Term Goal• Theory and Implementation of

Natural-Language-CompetentComputerized Cognitive Agent/Robot

• and Supporting Research inArtificial IntelligenceCognitive ScienceComputational Linguistics

• with application-oriented spinoffs.

Research Overview '07 S. C. Shapiro 3

cse@buff

alo

Cassie

• A computational cognitive agent– Embodied in hardware– or software-simulated– Based on SNePS and (M)GLAIR.

Research Overview '07 S. C. Shapiro 4

cse@buff

alo

KL (SNePS)

PMLa

PMLb

PMLc

SAL

Mind

BodyIndependentof lower-body

implementation

Hearing

Vision

Motion

Speech WORLD

I/P s o c k e t s

MGLAIR Agent Architecture

Dependenton lower-bodyimplementation

Proprioception

Research Overview '07 S. C. Shapiro 5

cse@buff

alo

SNePSSNePS is a

Logic-Based

Frame-Based

Network-Based

knowledge representation, reasoning,and acting system.

Research Overview '07 S. C. Shapiro 6

cse@buff

alo

Example Knowledge Base• As logical assertions:

wff1!: Inst({Albany,Syracuse,Rochester,Buffalo},City)wff2!: WestOf(Buffalo,Rochester)wff3!: WestOf(Rochester,Syracuse)wff4!: WestOf(Syracuse,Albany)

• As frames:(m1! (class City) (member Albany Syracuse Rochester Buffalo))(m2! (east Rochester) (west Buffalo))(m3! (east Syracuse) (west Rochester))(m4! (east Albany) (west Syracuse))

Research Overview '07 S. C. Shapiro 7

cse@buff

alo

Example KB as a Network

Research Overview '07 S. C. Shapiro 8

cse@buff

alo

Some Important SNePS Features

• 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

Research Overview '07 S. C. Shapiro 9

cse@buff

alo

Some Recent & CurrentProjects

• A General Characterization of Answers to Questions

• KRR for Information Fusion for Cyber Security

• Ontology Tool

• Logic of Arbitrary and Indefinite Objects

• Intermedia Performance Studio

– Actor-agents in VR drama

Research Overview '07 S. C. Shapiro 10

cse@buff

alo

A General Characterization of Answers to Questions

• Every clause descended from a query clause in resolution theorem proving is an answer to the query.

• General form of an answer:[H ] [G ] Q

H is Hypothetical component (optional)G is Generic component (optional)Q is Question component (either generic or specific)

• Example:{~Cat(Boots), ~Tuna(x), Answer(Likes(Boots, x))}Cat(Boots) x (Tuna(x) Likes (Boots, x))If Boots is a cat, then Boots likes to eat any tuna.

[D. T. Burhans & S. C. Shapiro, Defining Answer Classes Using Resolution Refutation, Journal of Applied Logic 5,1 (March 2007), 70-91.

Research Overview '07 S. C. Shapiro 11

cse@buff

alo KRR forInformation Fusion

in the Cyber Security Domain

• Use SNePS to reason about computer networks, and about potential, and actual attacks.

• A task of the National Center for Multisource Information Fusion

• With Moises Sudit (IE & CMIF), Adam Stotz (CUBRC), & Michael Kandefer (CSE: RA)

• Funded by U.S. Air Force Research Laboratory, Rome, NY

Research Overview '07 S. C. Shapiro 12

cse@buff

alo

SNePS fuses information from:SME domain rules

Analyst background knowledgeOntologyNetwork topologyCommon Vulnerabilities and

ExposuresINFERD attack tracks

Added Java-SNePS API

SNePS GUI in development

Research Overview '07 S. C. Shapiro 13

cse@buff

alo

• Allows the display of binary predicates as a tree hierarchy

SNePS Ontology GUI• SNePS GUI

supports the loading and exporting of SNePS files in several formats.

Research Overview '07 S. C. Shapiro 14

cse@buff

alo

Hierarchical Relations

• Examples:– Subclass

• A dog is a mammal is a vertebrate.

– Part of• A heart is part of a chest is part of a person.

– Reporting• A professor reports to a chair reports to a dean.

• SNePS GUI finds hierarchical relations from the KB.

Research Overview '07 S. C. Shapiro 15

cse@buff

alo

• The user selects a predicate from the drop down menu, after which the tree is generated

Selecting a Predicatefor the Tree View

Research Overview '07 S. C. Shapiro 16

cse@buff

alo

• This view shows a small class hierarchy for hosts on a network

Class Hierarchy

Research Overview '07 S. C. Shapiro 17

cse@buff

alo

• This view shows a part of hierarchy.

Part Of

Research Overview '07 S. C. Shapiro 18

cse@buff

alo

• Shows the network representation (drawn using the JUNG network visualization tool) of a SNePS belief base

• User can zoom, move nodes, and save images as JIMI supported file types (jpg, bmp, png)

• Tooltips provide information about the propositions expressed by the nodes in the network

• Ex. This view shows assertions about the connectivity of various hosts (h0-h4)

Network View

Research Overview '07 S. C. Shapiro 19

cse@buff

alo

Logic of Arbitrary & Indefinite Objects

• Instead of– Borders(LakeErie, NewYork) x[GreatLake(x) & Borders(x, NewYork)] x[GreatLake(x) Borders(x, Ontario)]

• Have– Borders(LakeErie, NewYork)– Borders(some x GreatLake(x), NewYork)– Borders(any x GreatLake(x), Ontario)

[S. C. Shapiro, A Logic of Arbitrary and Indefinite Objects, KR2004, 565-575.]

Research Overview '07 S. C. Shapiro 20

cse@buff

alo

Intermedia Performance Studio

• Buffalo-Region resource focusing on the integration of live actors, virtual avatars, intelligent actor-agents, dynamic sets and live, mobile audience members.

• With Sarah Bay-Cheng (THD & DMS), Josephine Anstey (DMS), David Pape (DMS), & Jon Bona (CSE: RA)

• Funded by UB Provost’s Interdisciplinary Research Development Fund (IRDF)

• See http://vrstudio.buffalo.edu/ips/wiki/

Research Overview '07 S. C. Shapiro 21

cse@buff

alo

The Trial The Trail

• Virtual Reality Drama with SNePS/GLAIR agent-actors.

• With Josephine Anstey (DMS), David Pape (DMS), and CSE grads: Jon Bona, Albert Goldfain, Mike Kandefer, Vishwac Sena Kannan, Madhumitha Nagarajan

Research Overview '07 S. C. Shapiro 22

cse@buff

alo

Bad guy agents hassling a human participant

The Trial The Trail

Research Overview '07 S. C. Shapiro 23

cse@buff

alo

For More Information• Shapiro:

http://www.cse.buffalo.edu/~shapiro/

• SNePS Research Group: http://www.cse.buffalo.edu/sneps/– Meets Tuesdays 10-12, 242 Bell Hall– Join us!