Semantics and Pragmatics of NLP Dynamic Semantics and Drawbacks - - PowerPoint PPT Presentation

semantics and pragmatics of nlp dynamic semantics and
SMART_READER_LITE
LIVE PREVIEW

Semantics and Pragmatics of NLP Dynamic Semantics and Drawbacks - - PowerPoint PPT Presentation

Some Quick Revision Dynamic Interpretation Some Shortcomings Semantics and Pragmatics of NLP Dynamic Semantics and Drawbacks Alex Lascarides School of Informatics University of Edinburgh university-logo Alex Lascarides SPNLP: Dynamic


slide-1
SLIDE 1

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Semantics and Pragmatics of NLP Dynamic Semantics and Drawbacks

Alex Lascarides

School of Informatics University of Edinburgh

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-2
SLIDE 2

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Outline

1

Some Quick Revision

2

A quick overview of how DRSs are interpreted (dynamically)

3

Some Shortcomings: the need for a richer language, and more complex DRS cosntruction

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-3
SLIDE 3

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Revision: Construction of LFs for clauses with anaphora

Pronouns and presupposition triggers introduce special conditions during LF construction:

The α-operator (or double-lined boxes).

It is red: red(x), x The car is red: red(x), x car(x)

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-4
SLIDE 4

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Revision: Discourse Update

Constructing the LF for the discourse involves:

1

Constructing the LF of the current clause (using λ-DRSs, α-operator etc);

2

Merging the result with the LF of the discourse context (using ⊕);

3

Resolving the α-embedded (i.e., anaphoric) conditions.

Pronouns: bind to an accessible antecedent Presuppositions: (i) bind to an accessible antecedent (with same content),

  • therwise

(ii) add to the highest accessible site, proviso consistency and informative- ness.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-5
SLIDE 5

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Example: John owns a car. It is red

John owns a car:

y car(y), own(x,y) x john(x) ❀ x,y john(x) car(y),

  • wn(x,y)

It is red:

red(z) z

John owns a car. It is red:

x,y car(y), own(x,y) john(x), red(z) z ❀ x,y car(y),own(x,y) john(x) red(y)

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-6
SLIDE 6

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Example: John doesn’t own a car. ??It is red

John doesn’t own a car: x john(x) ¬ y car(y), own(x,y) John doesn’t own a car. It is red. x john(x), red(z) ¬ y car(y), own(x,y) z Unresolvable!

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-7
SLIDE 7

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Example: John owns a car. The car is red.

x,y john(x), car(y), own(x,y) red(z) z car(z) ❀ x,y john(x) car(y), own(x,y) red(y)

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-8
SLIDE 8

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Example: John doesn’t own a car. The car is red.

x john(x), ¬ y car(y), own(x,y) red(z) z car(z) ❀ x,z john(x), car(z) ¬ y car(y), own(x,y) Trouble ahead! Can already see constraints on accommodation are too

  • weak. . .

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-9
SLIDE 9

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Handling Tense in Discourse

(1) John came in. He sat down. The room was dark. Observations: Events move time line forward; States temporally overlap the events. Explanations: Tense is anaphoric! Syntax produces: Event sentences: t1 ≺ t2, e ⊆ t2, t1 =?, t2 ≺ n State sentences:

  • verlap(s, t), t =?, t ≺ n

Discourse Update:

⊕ and then the reference time is identified with the prior one.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-10
SLIDE 10

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Semantics of DRSs: Context Change Potential

Treat utterances as actions! DRSs relate an input context to an output context. A context is a set of variable assignment functions! The output context is always a subset of the input context

More discourse amounts to strictly more semantic information

If f[ [K] ]g, then g extends f

dom(f) ⊆ dom(g) and ∀x ∈ dom(f), f(x) = g(x)

Introduction of new discourse referents transform the input context; DRS conditions impose tests on the input context.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-11
SLIDE 11

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

The Truth Definition

f[ [U, ∅] ]g iff f ⊆ g ∧ dom(g) = dom(f) ∪ U f[ [R(x1, · · · , xn)] ]g iff f = g ∧ (f(x1), · · · , f(xn)) ∈ I(R) f[ [¬K] ]g iff f = g ∧ ¬∃h f[ [K] ]h f[ [K ⇒ K ′] ]g iff f = g ∧ ∀h f[ [K] ]h → ∃ i h[ [K ′] ]i f[ [K ∨ K ′] ]g iff f = g ∧ ∃ h f[ [K] ]h ∨ ∃h′ f[ [K ′] ]h′ f[ [K ⊕ ∅, γ] ]g iff f[ [K] ]g ∧ g[ [γ] ]g Use two variable assignment functions instead of one. Makes sense of what’s accessible (output functions not defined for inaccessible referents).

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-12
SLIDE 12

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Problems: Pronouns

Accessibility in DRT both over-generates and under-generates antecedents to anaphora. Constraints too weak: (2) a. John took an engine to Dansville. b. He picked up a boxcar. c.??It had a broken fuel pump.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-13
SLIDE 13

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

More Over-generation. Solution: Right-Frontier Constraint

(3) a. John had a great evening last night. b. He had a great meal. c. He ate salmon. d. He devoured lots of cheese. e. He won a dancing competition.

  • f. ??It was a beautiful pink.

Elaboration Elaboration Narration He ate salmon He devoured cheese Narration fantastic meal He had a dancing competition He won a John had a lovely evening

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-14
SLIDE 14

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Abstract Anaphora

(4) a. One plaintiff complained of sex discrimination. b. Another complained of racial discrimination. c. A third complained of no pay rise for five years. d. But the jury didn’t believe it. No accessible discourse referents of right semantic type. But adding them replaces under-generation with

  • ver-generation.

Right-frontier to rescue again; so need rhetorical structure!

Continuation Continuation Three plaintiffs make three claims that they are ill-treated (4)c (4)b (4)a

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-15
SLIDE 15

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Constraints too Strong

(5) a. John said that Mary cried. b. But Jane did. b′ Jane did too. Mary cried is inaccessible, but this gives preferred reading

  • f (5)ab.

Changing rhetorical relation changes how the VP ellipsis is resolved. Prefer interpretations that maximise discourse coherence.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-16
SLIDE 16

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Problems: Temporal Anaphora

(6) a. Max fell. John helped him up. b. Max fell. John pushed him. Rhetorical relations necessary: (7) Max switched off the light. The room became dark. He drew the blinds.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-17
SLIDE 17

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Problems: Presuppositions

(8) a. If John scuba dives, he’ll bring his dog. b. If John scuba dives, he’ll bring his regulator. Wide scope: Narrow scope:

x

John has dog x John dives

John brings x John dives

⇒ x

John has reg. x John brings x

The scope depends on what makes most ‘rhetorical sense’ World knowledge (cf Beaver) is not enough! (9) I doubt that the knowledge that this logic paper was written by a PC will confound the editors.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-18
SLIDE 18

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Discourse Structure and Lexical Disambiguation

(10) a. A: Did you buy the apartment? b. B: No, but we rented it. b′ B: Yes, but we rented it. (11) a. The judge asked where the defendant was. b. The clerk said he was drinking in the pub across the street. c. The bailiff found him slumped beneath the bar. c′ But the bailiff found him slumped beneath the bar.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-19
SLIDE 19

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Things in Common

1

Resolving anaphoric dependencies (and other forms of underspecification) depends upon and interacts with rhetorical structure.

2

So rhetorical relations must be part of logical form. Ramifications:

1

Need to enrich the language with rhetorical relations and their dynamic semantics.

2

Need to make LF construction much more complex, because rhetorical relations are inferred through commonsense reasoning.

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks

slide-20
SLIDE 20

university-logo Some Quick Revision Dynamic Interpretation Some Shortcomings

Conclusions

Dynamic semantics offers an elegant way of thinking about the meaning of discourse. Logical structure affects the interpretation of anaphora (i.e., words like if, not, every, might. . . ). But logical structure isn’t enough; you need rhetorical structure too. Adding rhetorical relations to LF impacts on LF construction; it must involve commonsense reasoning with linguistic and non-linguistic knowledge. So pragmatics interleaved with LF construction (cf. Levinson, 2000).

Alex Lascarides SPNLP: Dynamic Semantics and Drawbacks