Representations of Meaning

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing Semantics (Chapter 17) Muhammed Al-Mulhem March 1, 2009.
Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
First-Order Logic: Better choice for Wumpus World Propositional logic represents facts First-order logic gives us Objects Relations: how objects relate.
Semantics (Representing Meaning)
CMSC 723: Intro to Computational Linguistics November 24, 2004 Lecture 12: Lexical Semantics Bonnie Dorr Christof Monz.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Syntactic analysis using Context Free Grammars. Analysis of language Morphological analysis – Chairs, Part Of Speech (POS) tagging – The/DT man/NN left/VBD.
Knowledge Representation
Natural Language Processing Lecture 22: Meaning Representation Languages.
1 Meaning Representations Chapter 17 November 2012 Lecture #11.
CS 4705 Slides adapted from Julia Hirschberg. Homework: Note POS tag corrections. Use POS tags as guide. You may change them if they hold you back.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Semantics: Representations and Analyses Slides adapted from Kathy McKeown, Dan Jurafsky, Chris Manning and video thanks to Lyn Walker, Michael Johnston,
Introduction to Semantics To be able to reason about the meanings of utterances, we need to have ways of representing the meanings of utterances. A formal.
CS 4705 Semantics: Representations and Analyses. What kinds of meaning do we want to capture? Categories/entities –IBM, Jane, a black cat, Pres. Bush.
Semantics: Representations and Analyses Slides adapted from Julia Hirschberg, Dan Jurafsky, Chris Manning.
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
Final Review CS4705 Natural Language Processing. Semantics Meaning Representations –Predicate/argument structure and FOPC Thematic roles and selectional.
Categories – relations or individuals? What are the differences in representing collie as a relation vs. an individual? As a relation: collie(lassie) –
CS 4705 Semantic Analysis: Syntax-Driven Semantics.
Propositional Logic Agenda: Other forms of inference in propositional logic Basics of First Order Logic (FOL) Vision Final Homework now posted on web site.
Categories – relations or individuals? What are the differences in representing collie as a relation vs. an individual? As a relation: collie(lassie) –
February 2009Introduction to Semantics1 Logic, Representation and Inference Introduction to Semantics What is semantics for? Role of FOL Montague Approach.
BİL711 Natural Language Processing
Chapter 14. Representing Meaning From: Chapter 14 of An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition,
CS 4705: Semantic Analysis: Syntax-Driven Semantics
Semantics: Representations and Analyses Slides adapted from Julia Hirschberg, Dan Jurafsky, Chris Manning.
November 2003CSA4050: Semantics I1 CSA4050: Advanced Topics in NLP Semantics I What is semantics for? Role of FOL Montague Approach.
SEMANTIC ANALYSIS WAES3303
Pattern-directed inference systems
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
Computational Semantics Day 5: Inference Aljoscha.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
Rules, Movement, Ambiguity
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
MENTAL GRAMMAR Language and mind. First half of 20 th cent. – What the main goal of linguistics should be? Behaviorism – Bloomfield: goal of linguistics.
 My office hours will be Wednesday 2-3 this week instead of Wednesday 4-5 (Oct. 7 th )
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Knowledge Representation Techniques
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
SEMANTICS VS PRAGMATICS
Statistical NLP: Lecture 3
Semantics (Representing Meaning)
CS 4700: Foundations of Artificial Intelligence
Knowledge Representation
Language, Logic, and Meaning
CPE 480 Natural Language Processing
CS 4705: Semantic Analysis: Syntax-Driven Semantics
CSC 594 Topics in AI – Applied Natural Language Processing
بسم الله الرحمن الرحيم ICS 482 Natural Language Processing
Semantics September 23, /22/2018.
CPSC 503 Computational Linguistics
Semantics: Representations and Analyses
Back to “Serious” Topics…
CSCI 5832 Natural Language Processing
Semantics: Representations and Analyses
Linguistic Essentials
Semantics: Representations and Analyses
Knowledge Representation I (Propositional Logic)
CSNB234 ARTIFICIAL INTELLIGENCE
CS4705 Natural Language Processing
Semantics Going beyond syntax.
Natural Language Processing
Structure of a Lexicon Debasri Chakrabarti 13-May-19.
Representations & Reasoning Systems (RRS) (2.2)
Habib Ullah qamar Mscs(se)
Presentation transcript:

Representations of Meaning Lecture 16 Representations of Meaning CS 4705

What do we mean by ‘meaning’? So far, we have focused on the structure of language – not on what things mean Now, look at meaning representations -- representations that link linguistic forms to knowledge of the world.

Representing Meaning What requirements do we have for meaning representations? Some candidates: their strengths and weaknesses Linguistic concepts we want to capture Categories Events Time Aspect BDI

What Can Serve as a Meaning Representation? Anything that serves the core practical purposes of a program that is doing semantic processing ... Answer questions (What is the tallest building in the world?) Determining truth (Is the blue block on the red block?) Drawing inferences (If the blue block is on the red block and the red block is on the tallest building in the world, then the blue block is on the tallest building in the world)

Common Meaning Representations FOPC: Semantic Net: having haver had-thing speaker car Conceptual Dependency Diagram: Car  Poss-By Speaker

All represent ‘linguistic meaning’ of I have a car Frame Having Haver: S HadThing: Car All represent ‘linguistic meaning’ of I have a car and state of affairs in some world All consist of structures, composed of symbols representing objects and relations among them

What requirements must meaning representations fulfill? Verifiability: The system should allow us to compare representations to facts in a Knowledge Base (KB) Cat(Huey) Ambiguity: The system should allow us to represent meanings unambiguously German teachers has 2 representations Vagueness: The system should allow us to represent vagueness He lives somewhere in the south of France.

Initial Simplifying Assumptions Focus on literal meaning Conventional meanings of words Ignore context

Canonical Form Inputs that mean the same thing have the same representation. Huey eats kibble. Kibble, Huey will eat. What Huey eats is kibble. It’s kibble that Huey eats. Alternatives Four different semantic representations Store all possible meaning representations in KB

Inference Draw valid conclusions based on the meaning representation of inputs and its store of background knowledge. Does Huey eat kibble? thing(kibble) Eat(Huey,x) ^ thing(x)

Expressiveness Must accommodate wide variety of meanings

Predicate-Argument Structure Represents concepts and relationships among them Nouns as concepts or arguments (red(ball)) Adjectives, adverbs, verbs as predicates (red(ball)) Subcategorization (or, argument) frames specify number, position, and syntactic category of arguments NP likes NP NP likes Inf-VP NP likes NP Inf-VP

Semantic (Thematic) Roles Subcat frames link arguments in surface structure with their semantic roles Agent: George hit Bill. Bill was hit by George. Patient: George hit Bill. Bill was hit by George. Selectional Restrictions: constraints on the types of arguments verbs take George assassinated the senator. *The spider assassinated the fly. assassinate: intentional (political?) killing

First Order Predicate Calculus Not ideal as a meaning representation and doesn't do everything we want -- but close Supports the determination of truth Supports compositionality of meaning Supports question-answering (via variables) Supports inference

FOPC Syntax Terms: constants, functions, variables Constants: objects in the world, e.g. Huey Functions: concepts, e.g. sisterof(Huey) Variables: x, e.g. sisterof(x) Predicates: symbols that refer to relations that hold among objects in some domain or properties that hold of some object in a domain likes(Huey, kibble) cat(Huey)

Logical connectives permit compositionality of meaning kibble(x)  likes(Huey,x) cat(Vera) ^ weird(Vera) sleeping(Huey) v eating(Huey) Sentences in FOPC can be assigned truth values, T or F, based on whether the propositions they represent are T or F in the world Atomic formulae are T or F based on their presence or absence in a DB (Closed World Assumption?) Composed meanings are inferred from DB and meaning of logical connectives

Limitations: cat(Huey) sibling(Huey,Vera) sibling(x,y) ^ cat(x)  cat(y) cat(Vera)?? Limitations: Do ‘and’ and ‘or’ in natural language really mean ‘^’ and ‘v’? Mary got married and had a baby. Your money or your life! She was happy but ignorant. Does ‘’ mean ‘if’? I’ll go if you promise to wear a tutu.

Quantifiers: Inference: Production systems: Existential quantification: There is a unicorn in my garden. Some unicorn is in my garden. Universal quantification: The unicorn is a mythical beast. Unicorns are mythical beasts. Inference: Modus ponens: rich(Harry) rich(x)  happy(x) happy(Harry) Production systems: Forward and backward chaining

Temporal Representations How do we represent time and temporal relationships between events? Last year Martha Stewart was happy but soon she will be sad. Where do we get temporal information? Verb tense Temporal expressions Sequence of presentation Linear representations: Reichenbach ‘47

Utterance time: when the utterance occurs Reference time: the temporal point-of-view of the utterance Event time: when events described in the utterance occur George had intended to eat a sandwich. E – R – U  George is eating a sandwich. -- E,R,U  George had better eat a sandwich soon. --R,U – E 

Verbs and Event Types: Aspect Statives: states or properties of objects at a particular point in time Mary needs sleep. *Mary is needing sleep. *Need sleep. *Mary needs sleep in a week. Activities: events with no clear endpoint Harry drives a Porsche. *Harry drives a Porsche in a week.

Accomplishments: events with durations and endpoints that result in some change of state Marlon filled out the form. Marlon stopped filling out the form (Marlon did not fill out the form) vs. Harry stopped driving a Porsche (Harry still drove a Porsche …for a while) Achievements: events that change state but have no particular duration Larry reached the top. *Larry stopped reaching the top. *Larry reached the top for a few minutes.

Beliefs, Desires and Intentions How do we represent internal speaker states like believing, knowing, wanting, assuming, imagining..? Not well modeled by a simple DB lookup approach Truth in the world vs. truth in some possible world George imagined that he could dance. Geroge believed that he could dance. Augment FOPC with special modal operators that take logical formulae as arguments, e.g. believe, know

Mutual belief: I believe you believe I believe…. Believes(George, dance(George)) Mutual belief: I believe you believe I believe…. Practical importance: modeling belief in dialogue