Artificial Intelligence – CS364 Knowledge Representation Lectures on Artificial Intelligence – CS364 Conceptual Dependency 20 th September 2005 Dr Bogdan.

Slides:



Advertisements
Similar presentations
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing Semantics (Chapter 17) Muhammed Al-Mulhem March 1, 2009.
Advertisements

Grammar: Meaning and Contexts * From Presentation at NCTE annual conference in Pittsburgh, 2005.
Utterance By: Shorooq Al-Masoudi.
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Natural Language Processing Lecture 2: Semantics.
Semantics (Representing Meaning)
1 CS 388: Natural Language Processing Story Understanding Raymond J. Mooney University of Texas at Austin.
KR Using rules IF.. THEN ECA (Event Condition Action) RULES. APLLICATIONS EXAMPLES 1.If flammable liquid was spilled, call the fire department. 2.If the.
Knowledge Representation
Conceptual Dependency ATRANS – abstract transfer (give) PTRANS – physical transfer (move) PROPEL – application of force (push) MTRANS – mental transfer.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Knowledge Representation.  What is Knowledge Representation What is Knowledge Representation  Type of knowledge in AI Type of knowledge in AI  Declarative.
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
Representations One of the major distinctions between ordinary software and AI is the need to represent domain knowledge (or other forms of worldly knowledge)
1 Pertemuan 14 Strong Slot-and-Filler Structures Matakuliah: T0264/Inteligensia Semu Tahun: Juli 2006 Versi: 2/1.
Conceptual Dependency
14th September 2006 Dr Bogdan L. Vrusias
Introduction to Textual Analysis. Descriptive CategoriesFields of Study Sound SystemPhonetics and Phonology Word FormationMorphology Sentence StructureSyntax.
1 Pertemuan 13 Strong Slot-and-Filler Structures Matakuliah: T0264/Inteligensia Semu Tahun: 2005 Versi: 1/0.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
PSY 369: Psycholinguistics Some basic linguistic theory part3.
Knowledge Representation
Title: Chinese Characters and Top Ontology in EuroWordNet Paper by: Shun Sylvia Wong & Karel Pala Presentation By: Patrick Baker.
Meaning and Language Part 1.
The Study of Meaning in Language
February 2009Introduction to Semantics1 Logic, Representation and Inference Introduction to Semantics What is semantics for? Role of FOL Montague Approach.
Unit 7 Critical Thinking and Reading Comprehension
Knowledge Representation
Making Inferences and Drawing Conclusions
Lectures on Artificial Intelligence – CS289 Conceptual Graphs
Lectures 5,6 MACHINE LEARNING EXPERT SYSTEMS. Contents Machine learning Knowledge representation Expert systems.
AI – CS289 Knowledge Representation Conceptual Graphs 25 th September 2006 Dr Bogdan L. Vrusias
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Unit Three. A noun is a word that names a person, place, thing, idea or feeling. WHAT IS A NOUN?
Statement analysis PresentedBy Prof. Shadia Abdelkader.
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
An Intelligent Analyzer and Understander of English Yorick Wilks 1975, ACM.
Early Work Masterman: 100 primitive concepts, 15,000 concepts Wilks: Natural Language system using semantic networks Shapiro: Propositional calculus based.
Artificial Intelligence LECTURE 2 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA 1.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Lectures on Artificial Intelligence – CS435 Conceptual Graphs
Knowledge Representation. Key Issue in AI 1. Mapping between objects and relations in a problem domain and computational objects and relations in a program.
Notes on Pinker ch.7 Grammar, parsing, meaning. What is a grammar? A grammar is a code or function that is a database specifying what kind of sounds correspond.
T he 7 H igh R eliability L iteracy T eaching P rocedures Getting Knowledge Ready {G.K.R} Vocabulary Reading aloud Paraphrasing Saying questions the text.
KNOWLEDGE REPRESENTATION 6 6.0Issues in Knowledge Representation 6.1A Brief History of AI Representational Systems 6.2Conceptual Graphs: A Network Language.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
Rules, Movement, Ambiguity
Artificial Intelligence: Natural Language
Knowledge Representation
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
Lecture 1: Trace Theory.  We have seen that things move :  Arguments move out of the VP into subject position  Wh-phrases move out of IP into CP 
Naming – Concept – Sense – Reference. In semantics, there are two major ways to find out the meaning of a word which then becomes the two major branches.
Grammar Chapter 10. What is Grammar? Basic Points description of patterns speakers use to construct sentences stronger patterns - most nouns form plurals.
Artificial Intelligence Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Artificial Intelligence 4. Knowledge Representation
Knowledge Representation Techniques
Semantics (Representing Meaning)
Conceptual Dependency (CD)
Strong Slot-and-Filler Structures
Lecture 19 Word Meanings II
Preschooler Ch
Strong Slot-and-Filler Structures
KNOWLEDGE REPRESENTATION
BBI3420 PJJ 2009/2010 Dr. Zalina Mohd. Kasim
Semantic Nets and Frames
Structured Knowledge Representation
Conceptual Dependency Theory
Knowledge Representation
Presentation transcript:

Artificial Intelligence – CS364 Knowledge Representation Lectures on Artificial Intelligence – CS364 Conceptual Dependency 20 th September 2005 Dr Bogdan L. Vrusias

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Contents Definition of Conceptual Dependency Grammar Building blocks Advantages and disadvantages Exercises

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Concepts and Representation A number of authors in AI have addressed the question of the 'concept'-based organisation of knowledge and we use two examples to illustrate this: –Firstly, we consider a verb-oriented organisation of knowledge proposed by Schank: Conceptual Dependency Grammar. –Then we go on to discuss a highly nominalised system proposed by Sowa: Conceptual Graphs.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Dependency Conceptual dependency (or CD) is a theory of how to represent the meaning of natural language sentences in a way that: –First, facilitates for drawing inferences from the sentences. –Second, the representation (CD) is independent of the language in which the sentences were originally stated.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Dependency Theory Schank's (1975) Conceptual Dependency Theory was developed as part of a natural language comprehension project. Schank's claim was that sentences can be translated into basic concepts expressed as a small set of semantic primitives. Conceptual dependency allows these primitives, which signify meanings, to be combined to represent more complex meanings. Schank calls the meaning propositions underlying language "conceptualisations".

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Dependency Theory Schank’s project is the ‘representation of meaning in an unambiguous language-free manner’ (1973:187). ‘Any two utterances that can be said to mean the same thing, whether they are in the same or different languages, should be characterised in only one way by the conceptual structure’ (1973:191) Towards a representation ‘in terms that are as interlingual and as neutral as possible’ (ibid.)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © CD Building Blocks CD theorists argue that –"the CD representation of a sentence is built not out of primitives corresponding to the words used in the sentence, but rather out of conceptual primitives that can be combined to form the meanings of words in any particular language" Building Blocks –Primitive conceptualizations (conceptual categories) –Conceptual dependencies (diagrammatic conventions) –Conceptual cases –Primitive acts –Conceptual tenses

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Primitive Conceptualizations Schank emphasises analysis of a sentence/utterance at the conceptual level or to analyse conceptualisation. Conceptual dependency theory of four primitive conceptualizations: –actions (ACT: actions) –objects (PP: picture producers) –modifiers of actions (AA: action aiders) –modifiers of objects (PA picture aiders)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Concept can be An abstract or concrete object that invokes an image –"cars" are concrete objects –"gravity" is an abstract concept An object (nominal) produces a picture (PP) Something an animate object does. –"running" is an action A modifier that modifies an object or an action. A modifier that specifies an action or a nominal. –"blue" is a PA modifier (e.g. A blue car) –"quickly" is a AA modifier (e.g. He quickly run)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Dependencies Conceptual categories (PP, ACT, PA and AA) relate to each other in specified ways. These relations are called dependencies by Schank. In a dependency relation, one partner or item is dependent and the other dominant or governing. A governor  dependent is a partially ordered relationship –A dependent must have a governor and is understood in terms of the governor –A governor may or may not have dependent(s) and has an independent existence –A governor can be a dependent PP and ACT are inherently governing categories. PA and AA are inherently dependent.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Dependencies For a conceptualisation to exist, there must be at least two governors: –E.g. Sally stroked her fat cat PP: Sally, cat, her [Sally] ACT: stroke PA: fat Governors:Sally, stroke, cat Dependent:PP (cat) on ACT (stroke) PA (fat) on PP (cat) PP (cat) on PP (her[Sally])

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Building CD graphs E.g. Sally stroked her fat cat –Sally and stroking are necessary for conceptualisation: there is a two-way dependency between each other: Sally  stroke –Sally’s cat cannot be conceptualised without the ACT stroke  it has an objective dependency on stroke Sally  stroke cat.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Building CD graphs E.g. Sally stroked her fat cat –The concept ‘cat’ is the governor for the modifier ‘fat’: Sally  stroke cat  fat –The concept PP(cat) is also governed by the concept PP(Sally) through a prepositional dependency: Sally  stroke cat  POSS-BY fat Sally[her]

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © I

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Cases Dependents that are required by an ACT are called Conceptual Cases: There are four main conceptual cases: –Objective Case (O) –Recipient Case (R) –Instrumental Case (I) –Directive Case Relation (D)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Cases –Objective Case (O): "John took the book" o PP [John] PP [book] o ACT [took]

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Cases –Recipient Case (R): "John took the book from Mary" PP [John] PP [book] PP [Mary] o R ACT [took]

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Cases –Instrumental Case (I): "John ate the ice cream with a spoon" I PP [John] ACT [eat] PP [ice cream] PP [spoon] o o ACT [do]

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Cases –Directive Case Relation (D) "John drove his car to London from Guildford" PP [John]ACT [do] ACT [drove]PP [car] PP [London] PP [Guildford] D POSS-BY PP [John]

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Prepositional Dependency Consider the following sentences: Possession e.g. "This is Sally’s cat":Cat  POSS-BY Sally Location e.g. "Sally is in London":London  LOC Sally Containment e.g. "The glass contains water":Water  CONT Glass

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Primitive ACTs Primitive ActElaboration ATRANSTransfer of an abstract relationship such as possession ownership or control (give) PTRANSTransfer of the physical location of an object (go) PROPELApplication of a physical force to an object (push) MOVEMovement of a body part of an animal by that animal (kick) GRASPGrasping of an object by an actor (grasp) INGESTTaking in of an object by an animal to the inside of that animal (eat) EXPELExpulsion of an object from the object of an animal into the physical world (cry) MTRANSTransfer of mental information between animals or within an animal (tell) MBUILDConstruction by an animal of new information of old information (decide) CONCConceptualise or think about an idea (think) SPEAKActions of producing sounds (say) ATTENDAction of attending or focusing a sense organ towards a stimulus (listen)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Primitive ACTs e.g. I gave a book to Sally PP [I] PP [Sally] PP [book] PP [I] o R ACT [gave] I Sally book I o R ATRANS

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Tenses Any conceptualisation can be modified as a whole by a conceptual tense. John took the book (John  took) can be denoted by looking at the lemma take (from which the past tense took was derived): John ATRANS p

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Conceptual Tenses SymbolElaboration p Past f Future t Transition tsts Start Transition tftf Finished Transition k Continuing ? Interrogative / Negative nil Present delta Timeless c Conditional "John will be taking the book": or "John is taking the book": or John taking John ATRANS k John taking John ATRANS f

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Summarising CD Building Blocks E.g. I took a book from Sally Primitive conceptualizations (conceptual categories): –Objects (Picture Producers: PP): Sally, I, book Conceptual dependencies (diagrammatic conventions): –Arrows indicate the direction of dependency –Double arrow indicates two way link between actor and action Conceptual cases: –"O" indicates object case relation –"R" indicates recipient case relation Primitive acts: –ATRANS indicates transfer (of possession) Conceptual tenses: –"p" indicates that the action was performed in the past I I book Sally o R ATRANS p

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Semantic Nets Vs CD Semantic Nets only provide a structure into which nodes representing information can be placed. Conceptual Dependency representation, on the other hand, provides both a structure and a specific set of primitives out of which representations of particular pieces of information can be constructed.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Advantages of CD The organisation of knowledge in terms of the primitives (or 'primitive acts') leads to a fewer inference rules. Many inferences are already contained in the representation itself. The initial structure that is built to represent the information contained in one sentence will have holes in it that have to be filled in: –holes which will serve as attention focusers for subsequent sentences.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Disadvantages of CD CD requires all knowledge to be broken down into 12 primitives: sometimes inefficient and sometimes impossible. CD is essentially a theory of the representation of events: though it is possible to have an event-centred view of knowledge but not a practical proposition for storing and retrieving knowledge. May be difficult or impossible to design a program that will reduce sentences to canonical form. (Probably not possible for monoids, which are simpler than natural language). Computationally expensive to reduce all sentences to the 12 primitives.

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Exercises Please create the conceptual dependency representation of the following sentences: –John ran –John is a Doctor –John’s Dog –John pushed the cart –Bill shot Bob –John ate the egg –John prevented Mary from giving a book to Bill

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 1 "John ran" (Schank and Colby 1973) JohnPTRANS p

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 2 "John is a doctor" (Schank and Colby 1973) Johndoctor

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 3 "John’s Dog" (Schank and Colby 1973) dog John POSS-BY

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 4 "John pushed the cart" (Schank and Colby 1973) o John cart o PROPEL p

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 5 "Bill shot Bob" (Schank and Colby 1973) o Rob gun R Bill bullet o PROPEL p p Bob health(-10)

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 6 "John ate the egg" (Schank and Rieger 1974). o INSIDE MOUTH John D egg o INGEST p

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Solution 7 "John prevented Mary from giving a book to Bill" (Schank and Rieger 1974). Mary p JohnDO Bill book Mary o R c/ p ATRANS

Artificial Intelligence – CS364 Knowledge Representation 20 th September 2005Bogdan L. Vrusias © Closing Questions??? Remarks??? Comments!!! Evaluation!