CS 4705 Semantics: Representations and Analyses. What kinds of meaning do we want to capture? Categories/entities –IBM, Jane, a black cat, Pres. Bush.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Problems of syntax-semantics interface ESSLLI 02 Trento.
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing Semantics (Chapter 17) Muhammed Al-Mulhem March 1, 2009.
Semantics (Representing Meaning)
CMSC 723: Intro to Computational Linguistics November 24, 2004 Lecture 12: Lexical Semantics Bonnie Dorr Christof Monz.
Semantic Analysis Read J & M Chapter 15.. The Principle of Compositionality There’s an infinite number of possible sentences and an infinite number of.
Syntax-Semantics Mapping Rajat Kumar Mohanty CFILT.
1 Meaning Representations Chapter 17 November 2012 Lecture #11.
Statistical NLP: Lecture 3
Verbs and situation types continued LIN1180 Semantics Lecture 11.
Albert Gatt LIN1180 – Semantics Lecture 10. Part 1 (from last week) Theories of presupposition: the semantics- pragmatics interface.
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.
Meaning Representation and Semantic Analysis Ling 571 Deep Processing Techniques for NLP February 9, 2011.
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 Semantic Analysis: Syntax-Driven Semantics.
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.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
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.
Categories – relations or individuals? What are the differences in representing collie as a relation vs. an individual? As a relation: collie(lassie) –
VERB PHRASE. What are verbs? Verbs provide the focal point of the clause. The main verb in a clause determines the other clause elements that can occur.
FIRST ORDER LOGIC Levent Tolga EREN.
The Past Perfect The Past Perfect Progressive. Use the past perfect when one action in the past happened before another action in the past. Put the earlier.
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
CSE PredLogic 1 Knowledge Representation with Logic: First Order Predicate Calculus Outline –Introduction to First Order Predicate Calculus (FOPC)
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.
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
SEMANTIC ANALYSIS WAES3303
ARTIFICIAL INTELLIGENCE Lecture 3 Predicate Calculus.
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.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
Design Model Lecture p6 T120B pavasario sem.
Presupposition is what the speaker assumes to be the case prior to making an utterance. Entailment, which is not a pragmatic concept, is what logically.
Rules, Movement, Ambiguity
Presentation about pragmatic concepts Implicatures Presuppositions
November 2006Semantics I1 Natural Language Processing Semantics I What is semantics for? Role of FOL Montague Approach.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
NLP. Introduction to NLP Pros –Compositional –Declarative Cons –Limited expressive power –Represents facts.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
1 First Order Logic CS 171/271 (Chapter 8) Some text and images in these slides were drawn from Russel & Norvig’s published material.
 My office hours will be Wednesday 2-3 this week instead of Wednesday 4-5 (Oct. 7 th )
Lec. 10.  In this section we explain which constituents of a sentence are minimally required, and why. We first provide an informal discussion and then.
Tense & Aspect Tense Location of an action Past_____I_____Future
Semantics (Representing Meaning)
Representations of Meaning
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.
Semantics: Representations and Analyses
Semantics: Representations and Analyses
Semantics: Representations and Analyses
CS4705 Natural Language Processing
Natural Language Processing
Structure of a Lexicon Debasri Chakrabarti 13-May-19.
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

CS 4705 Semantics: Representations and Analyses

What kinds of meaning do we want to capture? Categories/entities –IBM, Jane, a black cat, Pres. Bush Events –running a mile, AS elected governor of CA Time –Oct 30, next week, in 2 years Aspect –Jack knows how to run. Jack is running. Jack ran the mile in 5 min. Beliefs, Desires and Intentions (BDI)

What Can Serve as a Meaning Representation? Anything that allows us to –Answer questions (What is the tallest building in the world?) –Determine truth (Is the blue block on the red block?) –Draw 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)

Meaning Representations 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 –FOPC: –Semantic Net: having haver had-thing speaker car

Conceptual Dependency Diagram: Car  Poss-By Speaker Frame Having Haver: S HadThing: Car

A Standard Representation: 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 better than many… –Supports the determination of truth –Supports compositionality of meaning –Supports question-answering (via variables) –Supports inference

NL Mapping to FOPC 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) “Huey likes kibble” cat(Vera) ^ odd(Vera) “Vera is an odd cat” sleeping(Huey) v eating(Huey) “Huey either is sleeping or eating” Sentences in FOPC can be assigned truth values –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

–cat(Huey) –sibling(Huey,Vera) –cat(Huey) ^ sibling(Huey,Vera)  cat(Vera) Limitations: –Do ‘and’ and ‘or’ in natural language really mean ‘^’ and ‘v’? Mary got married and had a baby. And then… Your money or your life! –Does ‘  ’ mean ‘if’? If you go, I’ll meet you there. –How do we represent other connectives? She was happy but ignorant.

Quantifiers: –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. –Many? A few? Several? A couple?

Temporal Representations How do we represent time and temporal relationships between events? It seems only yesterday that Martha Stewart was in prison but now she has a popular TV show. There is no justice. Where do we get temporal information? –Verb tense –Temporal expressions –Sequence of presentation Linear representations: Reichenbach ‘47

–Utterance time (U): when the utterance occurs –Reference time (R): the temporal point-of-view of the utterance –Event time (E): when events described in the utterance occur George is eating a sandwich. -- E,R,U  George had eaten a sandwich (when he realized…) E – R – U  George will eat a sandwich. --U,R – E  While George was eating a sandwich, his mother arrived.

Verbs and Event Types: Aspect Statives: states or properties of objects at a particular point in time I am hungry. Activities: events with no clear endpoint I am eating. Accomplishments: events with durations and endpoints that result in some change of state I ate dinner. Achievements: events that change state but have no particular duration – they occur in an instant I got the bill.

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

Believes(George, dance(George)) Knows(Bill,Believes(George,dance(George))) Mutual belief: I believe you believe I believe…. –Practical importance: modeling belief in dialogue –Clark’s grounding

Sum Many hard problems in full semantic representation: –Temporal relations: tense, aspect –BDI Current representations impoverished in many respects Next time: Read Ch 15:1-4,6