Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del...

51
Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA

Transcript of Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del...

Page 1: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Ontologies of Information Structure and

Commonsense Psychology

Jerry R. Hobbs

USC/ISI

Marina del Rey, CA

Page 2: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Information Structure

Page 3: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Motivation

The best answer to a question is often a diagram, a graph, a map, a photograph, a video.

What is the Krebs cycle?

How has the average height of adult American males varied over the years?

How did the Native Americans get to America?

What does Silvio Berlusconi look like?

What happened on September 11, 2001?

Page 4: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Grounding Symbols in Cognition

cause(perceive(a,x), cognize(a,c))

objectstateevent

processabsence

...

concept(including

propositions)

Page 5: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Grounding Symbols in Cognition

cause(perceive(a,smoke), cognize(a,fire))cause(perceive(a,cloud), cognize(a,dog))cause(perceive(a,bell), cognize(a,food))

No necessary causal connection between x and c

This schema makes symbols possible

cause(perceive(a,x), cognize(a,concept-of(x)))

but other things as well

Page 6: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Grounding Symbols in Cognition

cause(present(b,x,a), perceive(a,x))

cause(perceive(a,x), cognize(a,c))

cause(car beeps, driver hears beep)

cause(driver hears beep, driver remembers seat belt)

Page 7: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Intention and Convention in Communication

Unintentional: fidget --> nervous “ouch” --> pain

Presenter intends concept, but not recognition of intent: my door is closed --> I’m not in

Page 8: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Recognizing Intent

know(b, cause(present(b,x,a), cognize(a,c)))

goal(b,cognize(a,c))

goal(b,g1) & know(b, cause(g2,g1)) & etc --> goal(b,g2)

So b has goal present(b,x,a), an executable action, so he does it.

a looks for causal explanation of present(b,x,a)and comes up with exactly this

Intention is recognized.

Page 9: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Gricean Nonnatural Meaning

If an agent b has a goal g1 and g2 tends to cause g1, then b may have as a goal that g2 cause g1.

If an agent b has as a goal that g2 cause g1, then b has the goal g2.

When a recognizes this plan, he will recognize not only b’s goal to have a cognize c, but also b’s intention that a do so by virtue of the causal relation between b’s presenting x and a’s cognizing c.

Page 10: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Mutual Belief and Convention

Mutual Belief:

mb(s,p) & member(a,s) --> believe(a,p) mb(s,p) --> mb(s,mb(s,p))

Structure of a communicative convention:

mb(s, cause(present(b,x,a), cognize(a,c))) where member(a,s) and member(b,s)

e.g. red flag with white diagonal in community of boaters means “diver below”

represent(x,c,s)

symbol content

Page 11: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Composition in Symbol Systems

Symbol System Content Domaincomposite

symbol

basicconcept/

proposition

atomicsymbol

complexconcept/

proposition

compositionoperation

compositionoperation

interpretation

interpretation

Page 12: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Speech and Text(within sentences)

Symbol System Content Domainsentences

“a man works”

basicpropositions

man(x), work(y)

words“a” “man”, “works”

complexproposition

man(x) & work(x)

pred-arg rels,conjunction

concatenation

interpretation

interpretation

Page 13: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Speech and Text(Discourse)

Symbol System Content Domain

discourse

sentencemeanings

sentences

augmenteddiscoursemeaning

coherence relations:causality, similarity,

figure-ground

concatenation

interpretation

interpretation

Page 14: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Tables

R

a b

Spatial arrangement ==> predicate-argument relations

R(a,b)

Page 15: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Beeps in Car

Atomic symbol: beep ==> something’s wrong

Composite symbols: beep ..... beep ..... beep ..... ==> fasten seat belt If car is running: beep beep beep beep ==> door is still open If car is off: beep beep beep beep ==> lights are still on

Page 16: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Maps

Underlying regions of single color/pattern

icons

internal structureof icons

labels

name of entity

names

entities

meaningfulregion

overlay iconson field

icon and labeladjacent

categoriesof entities

locationof entities

==>

==>

==>

==>

==>

==>

Page 17: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Process Diagrams

icons entities

adjacentgrouped icons

states

adjacent groupsw arrows between

statetransitions

(Futrelle, 1999)

Page 18: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Documents (Scott & Powers, 2003)

Title

Body

Adjacent Paragraphs(mod Page, Col breaks)

Diagram neardescription

Conveys content of body

Main detailed content

Read sequentially

Coreference

Similarly, Web pages, PowerPoint presentations, ...

Page 19: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Face-to-Face Conversation

Atomic elements:

Speech, prosody

Facial expression

Gaze direction

Body position

Gestures w hands and arms

Composition operators:

Temporal adjacency

Temporal synchrony

Need to determinemeaning/functionof various behaviors

Page 20: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Larger-Scale CommunicativePerformances

Lectures w PowerPoint slides

Plays

Demos

....

Page 21: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Coreference

Two noun phrases

Icon and label

Same icon in two state groups in diagram

Region of photo and noun phrase in caption and phrase in text

Iconic gesture and phrase in speech

Useful for image search by keywords

Page 22: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Modalities and Media (Hovy & Arens, 1990; Allwood, 2002)

Channels of perception: optical, acoustic, chemical, pressure, temperature, ...

Greatest opportunities for composition

Communication devices:

Primary: speech, gesture Secondary: writing, drawing, telephones, videotape, computer terminals, ....

Advantages and disadvantages of each e.g., visual: exploit 2-D structure to convey relations

Page 23: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Manifestations of Symbolic Entities

We group together classes of symbolic entities sharing same content and call them first class entities.

manifest(x1,x) & represent(x,c,s) --> represent(x1,c,s)

(defeasibly -- if P is in content of x then defeasibly it is in content of x1)

Hamletthe play

The performanceof Hamlet

A particularperformance

of Hamlet

A videotapeof that

performance

A copyof that

videotape

The text of Hamlet

An editionof Hamlet

A copy ofthat edition

(Pease & Niles, 2001)

Page 24: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

CommonsensePsychology

(work with Andrew Gordon, USC/ICT)

Page 25: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Methodology

Agents plan, so to discover what agents know, investigate strategies.

Picked 10 planning domains: politics, warfare, personal relationships, artistic performance, sales, immunology, animal camoflage, ...

Interviewed experts to learn strategies

Resulted in 372 strategies

Rewrote strategies in controlled vocabulary -- 988 terms

Classified terms into 48 representational areas (space, time, ...); 18 general knowledge; 30 commonsense psychology

Enrich each representational area by text mining

Formalize

(Gordon, 2000)

Page 26: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Methodology

Agents plan, so to discover what agents know, investigate strategies.

Picked 10 planning domains: politics, warfare, personal relationships, artistic performance, sales, immunology, animal camoflage, ...

Interviewed experts to learn strategies

Resulted in 372 strategies

Rewrote strategies in controlled vocabulary -- 988 terms

Classified terms into 48 representational areas (space, time, ...); 18 general knowledge; 30 commonsense psychology

Enrich each representational area by text mining

Formalize

(Gordon, 2000)

Machiavelli Sun Tzu his wife

Page 27: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Theories So Far

Memory

Knowledge Management

Envisioning (Thinking)

Goals and Planning

Page 28: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Why is Memory Important?

We plan to remember actions/information at the appropriate time.

We are responsible for remembering. Why was Mary angry that John forgot her birthday? But forgetting is often a less serious breach than some other reason. Why didn’t you get me a present? I forgot it was your birthday. vs. I didn’t want to.

Page 29: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Naive Model of Memory

Focus of Attention

Memory

concept

concept

store

retrieve

If in memory,then it was stored

Page 30: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Accessibility

concept-1

concept-2

concept-3

concept-4

Concepts in memoryhave varying accessibility.

threshold

Concepts notretrievable

Page 31: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Associations and Accessibility

concept-1

concept-2

concept-3

concept-4

concept-1

concept-2

concept-3

concept-4

concept-0

Page 32: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Associations and Accessability

Thinking of concepts makes associated concepts more accessible.

This give agents partial control over memory retrieval.

Technique of memorization: Rich associations.

Page 33: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

“Remember” and “Forget”

in memory above accessibility threshold --> remember

retrieve --> remember

cause self to retrieve --> remember

cause self to retrieve after some effort --> remember

forget concept <--> concept drops below accessibility threshold

Page 34: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Remembering for a Time

We store concepts in memory until we need them and then forget them.

Where did I park my car today? vs. Where did I park my car on January 4?

We use memory to satisfy knowledge prerequisites for planned actions.

Page 35: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Knowledge Management:Belief

Reify agents and propositions: believe(a,p)

Reasoning is possible inside belief: believe(a,p) & believe(a,p-->q) & etc --> believe(a,q)

Perception causes belief (seeing is believing)

Communication tends to cause belief

BDI: We act in ways that maximize satisfaction of our goals, given our beliefs

Page 36: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Graded Belief (Friedman & Halpern, 2001)

0 gb(a,p) 1

gb(a, p&q) min(gb(a,p), gb(a,q))

gb(a, p & [p-->q]) = gb(a,q)

gb(a,p) = 1 <--> believe(a,p)

The higher the graded belief, the more likely agent is to act on it

Page 37: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Knowledge Domain

Sentence = set of propositions + a claim

king(x,France) & bald(x)

Knowledge domain: Has a set of characteristic predicates Is a set of sentences all of whose claims have predicates that are in the characteristic set

Expert: Agent is defeasibly an expert in a knowledge domain if agent knows sampling of facts in the knowledge domain (tests, inference from displays of knowledge)

propositionalcontent claim

Page 38: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Mutual Belief

mb(s,p) & member(a,s) --> believe(a,p)

mb(s,p) --> mb(s,mb(s,p))

These rules are mutually believed

Can show that if a knows b is a member of s and a knows s mutually believes p, then a knows that b believes p

Inference of who knows what / who is an expert in what from membership in communities

Page 39: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Causal Complex

e1 e2

e3 e4e

....

s

causal-complex(s,e)

e1 s, ....

When every event or state in s happens or holds, then e happens or holds.

All eventualities in s are relevant.

causally-involved(ei,e)

causal complex

effect

Page 40: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Cause

In a causal complex, some eventualities are distinguished as causes.

power on

finger insocket

shock

What is presumable depends on task, context, knowledge base, ....

presumable

cause

Causes are the focus ofplanning, prediction,

explanation, interpretingdiscourse

(but not diagnosis)

Page 41: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Envisioning (Thinking)

e1

e2

e3

e4

e5

e6

e7

e8

e11

e10

e9

e’s are causally involved

Causal System

Page 42: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Envisioning

e4

e5

e6

e4

e5

e6

e7

e8

e1

e2

e3

e4

e5

e6

Contiguouscausal systems

Page 43: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Envisioning

e1

e2

e3

e4

e5

e6

e7

e8

e11

e10

e9

envisionedcausal system

slice

Agent has this in focus

Page 44: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Envisioned Causal System

e1

e2

e3

e4

e5

e6

e7

e8

e11

e10

e9

ExplanationPrediction

A sequence of envisioned contiguous causal systems

Page 45: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Correspondence with Reality

If the events and states in the ECS are believed, the ECS is the “current world understanding”

Need an account of how graded belief is increased or decreased as predictions and explanations are verified or falsified.

Page 46: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Goals and Planning

Causal Knowledge:

(e1,x)[p’(e1,x) --> (e2)[q’(e2,x) & cause(e1,e2)]] or, p causes q

(e1,x)[p’(e1,x) --> (e2)[q’(e2,x) & cause(e1,e2)]] or, p enables q

where enable(e1,e2) <--> cause(~e1,~e2)

Planning Axioms:

(a,e1,e2)[goal(a,e2) & cause(e1,e2) & etc --> goal(a,e1)]

(a,e1,e2)[goal(a,e2) & enable(e1,e2) --> goal(a,e1)]

subgoal(a,e1,e2)

Page 47: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Goals and Planning

Goals can be ...

competitive adversarial auxilliary .....

Page 48: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Collective Goals

Groups can have goals:

All agents in group mutually believe the group has the goal

All agents have the individual goal that the group achieves its goal

Must bottom out in individual agents’ actions

Organizations are such collective plans made concrete; an agent’s role in an organization is the actions the agent carries out as a subgoal in the collective plan

Page 49: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Where Do Goals Come From?

A False Mystery

Stipulate: goal(a, thrive(a))

All else is causal knowledge/beliefs about what causes thriving

Page 50: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Goal Themes

goal-theme(s,t) <--> ( a,e) [member(a,s) & member(e,t) & etc ---> goal(a,e)]

From group membership, we can infer beliefs and goals and thus behavior (defeasibly)e.g., he’s a puritan / hedonist / geek / ....

group ofagents

set of possibleeventualities

Page 51: Ontologies of Information Structure and Commonsense Psychology Jerry R. Hobbs USC/ISI Marina del Rey, CA.

Summary

Ontologies are important for communicating the contents and capabilities of Web sites and Web resources

Most of this information is now in the form of natural language

We need ontologies that are capable of expressing the full range of content in Web sites, forming the basis of a deeper lexical semantics

I have presented first cuts at some of the most basic ontologies needed: services, events, time, space, information, human psychology