60
Natural Language Processing (CSE 490U): Predicate-Argument Semantics Noah Smith c 2017 University of Washington [email protected] February 24, 2017 1 / 61

Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Natural Language Processing (CSE 490U):Predicate-Argument Semantics

Noah Smithc© 2017

University of [email protected]

February 24, 2017

1 / 61

Page 2: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantics vs. Syntax

Syntactic theories and representations focus on the question ofwhich strings in V† are in the language.

Semantics is about understanding what a string in V† means.

Sidestepping a lengthy and philosophical discussion of what“meaning” is, we’ll consider two meaning representations:

I Predicate-argument structures, also known as event frames

I Truth conditions represented in first-order logic

2 / 61

Page 3: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

3 / 61

Page 4: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

4 / 61

Page 5: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

5 / 61

Page 6: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

6 / 61

Page 7: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

In this buying/purchasing event/situation, Warren played the roleof the buyer, and there was some stock that played the role of thething purchased.

7 / 61

Page 8: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

In this buying/purchasing event/situation, Warren played the roleof the buyer, and there was some stock that played the role of thething purchased.

Also, there was presumably a seller, only mentioned in oneexample.

8 / 61

Page 9: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Motivating Example: Who did What to Who(m)?

I Warren bought the stock.

I They sold the stock to Warren.

I The stock was bought by Warren.

I The purchase of the stock by Warren surprised no one.

I Warren’s stock purchase surprised no one.

In this buying/purchasing event/situation, Warren played the roleof the buyer, and there was some stock that played the role of thething purchased.

Also, there was presumably a seller, only mentioned in oneexample.

In some examples, a separate “event” involving surprise did notoccur.

9 / 61

Page 10: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Roles: Breaking

I Jesse broke the window.

I The window broke.

I Jesse is always breaking things.

I The broken window testified to Jesse’s malfeasance.

10 / 61

Page 11: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Roles: Breaking

I Jesse broke the window.

I The window broke. ?

I Jesse is always breaking things.

I The broken window testified to Jesse’s malfeasance.

A breaking event has a Breaker and a Breakee.

11 / 61

Page 12: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Roles: Eating

I Eat!

I We ate dinner.

I We already ate.

I The pies were eaten up quickly.

I Our gluttony was complete.

12 / 61

Page 13: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Roles: Eating

I Eat! (you, listener) ?

I We ate dinner.

I We already ate. ?

I The pies were eaten up quickly. ?

I Our gluttony was complete. ?

An eating event has an Eater and Food, neither of which needsto be mentioned explicitly.

13 / 61

Page 14: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Abstraction?

Breaker?= Eater

14 / 61

Page 15: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Abstraction?

Breaker?= Eater

Both are actors that have some causal responsibility for changes inthe world around them.

15 / 61

Page 16: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Abstraction?

Breaker?= Eater

Both are actors that have some causal responsibility for changes inthe world around them.

Breakee?= Food

16 / 61

Page 17: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Abstraction?

Breaker?= Eater

Both are actors that have some causal responsibility for changes inthe world around them.

Breakee?= Food

Both are greatly affected by the event, which “happened to” them.

17 / 61

Page 18: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Thematic Roles(Jurafsky and Martin, 2016, with modifications)

Agent The waiter spilled the soup.

Experiencer John has a headache.

Force The wind blows debris from the mall intoour yards.

Theme Jesse broke the windowResult The city built

a regulation-size baseball diamond .

Content Mona asked,“ You met Mary Ann at a supermarket? ”

Instrument He poached catfish, stunning them witha shocking device .

Beneficiary Ann Callahan makes hotel reservations forher boss .

Source I flew in from Boston .

Goal I drove to Portland .

18 / 61

Page 19: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Verb Alternation Examples: Breaking and Giving

Breaking:

I Agent/subject; Theme/object; Instrument/PPwith

I Instrument/subject; Theme/object

I Theme/subject

Giving:

I Agent/subject; Goal/object; Theme/second-object

I Agent/subject; Theme/object; Goal/PPto

Levin (1993) codified English verbs into classes that share patterns(e.g., verbs of throwing: throw/kick/pass).

19 / 61

Page 20: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Remarks

I Fillmore (1968), among others, argued for semantic roles inlinguistics.

I By now, it should be clear that the expressiveness of NL (atleast English) makes semantic analysis rather distinct fromsyntax.

I General challenges to analyzing semantic roles:I What are the predicates/events/frames/situations?I What are the roles/participants for each one?I What algorithms can accurately identify and label all of them?

20 / 61

Page 21: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Remarks

I Fillmore (1968), among others, argued for semantic roles inlinguistics.

I By now, it should be clear that the expressiveness of NL (atleast English) makes semantic analysis rather distinct fromsyntax.

I General challenges to analyzing semantic roles:I What are the predicates/events/frames/situations?I What are the roles/participants for each one?I What algorithms can accurately identify and label all of them?

21 / 61

Page 22: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Remarks

I Fillmore (1968), among others, argued for semantic roles inlinguistics.

I By now, it should be clear that the expressiveness of NL (atleast English) makes semantic analysis rather distinct fromsyntax.

I General challenges to analyzing semantic roles:I What are the predicates/events/frames/situations?I What are the roles/participants for each one?I What algorithms can accurately identify and label all of them?

22 / 61

Page 23: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Role Labeling

Input: a sentence x

Output:I A collection of predicates, each consisting of:

I a label, sometimes called the frameI a spanI a set of arguments, each consisting of:

I a label, usually called the roleI a span

In principle, spans might have gaps, though in most conventionsthey usually do not.

23 / 61

Page 24: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

The Importance of Lexicons

Like syntax, any annotated dataset is the product of extensivedevelopment of conventions.

Many conventions are specific to particular words, and thisinformation is codified in structured objects called lexicons.

You should think of every semantically annotated dataset as boththe data and the lexicon.

We consider two examples.

24 / 61

Page 25: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

PropBank(Palmer et al., 2005)

I Frames are verb senses (later extended, though)

I Lexicon maps verb-sense-specific roles onto a small set ofabstract roles (e.g., Arg0, Arg1, etc.)

I Annotated on top of the Penn Treebank, so that argumentsare always constituents.

25 / 61

Page 26: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

26 / 61

Page 27: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

27 / 61

Page 28: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

28 / 61

Page 29: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

29 / 61

Page 30: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

30 / 61

Page 31: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.01 (move downward)

I arg1: logical subject, patient, thing falling

I arg2: extent, amount fallen

I arg3: starting point

I arg4: ending point

I argM-loc: medium

I Sales fell to $251.2 million from $278.8 million.

I The average junk bond fell by 4.2%.

I The meteor fell through the atmosphere, crashing into PaloAlto.

31 / 61

Page 32: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.08 (fall back, rely on in emergency)

I arg0: thing falling back

I arg1: thing fallen back on

I World Bank president Paul Wolfowitz has fallen back on hislast resort.

32 / 61

Page 33: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.08 (fall back, rely on in emergency)

I arg0: thing falling back

I arg1: thing fallen back on

I World Bank president Paul Wolfowitz has fallen back on hislast resort.

33 / 61

Page 34: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.08 (fall back, rely on in emergency)

I arg0: thing falling back

I arg1: thing fallen back on

I World Bank president Paul Wolfowitz has fallen back on hislast resort.

34 / 61

Page 35: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.10 (fall for a trick; be fooled by)

I arg1: the fool

I arg2: the trick

I Many people keep falling for the idea that lowering taxes onthe rich benefits everyone.

35 / 61

Page 36: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.10 (fall for a trick; be fooled by)

I arg1: the fool

I arg2: the trick

I Many people keep falling for the idea that lowering taxes onthe rich benefits everyone.

36 / 61

Page 37: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

fall.10 (fall for a trick; be fooled by)

I arg1: the fool

I arg2: the trick

I Many people keep falling for the idea that lowering taxes onthe rich benefits everyone.

37 / 61

Page 38: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

FrameNet(Baker et al., 1998)

I Frames can be any content word (verb, noun, adjective,adverb)

I About 1,000 frames, each with its own roles

I Both frames and roles are hierarchically organized

I Annotated without syntax, so that arguments can be anything

https://framenet.icsi.berkeley.edu

38 / 61

Page 39: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

change position on a scale

I Item: entity that has a position on the scale

I Attribute: scalar property that the Item possesses

I Difference: distance by which an Item changes its position

I Final state: Item’s state after the change

I Final value: position on the scale where Item ends up

I Initial state: Item’s state before the change

I Initial value: position on the scale from which the Itemmoves

I Value range: portion of the scale along which values ofAttribute fluctuate

I Duration: length of time over which the change occurs

I Speed: rate of change of the value

I Group: the group in which an Item changes the value of anAttribute

39 / 61

Page 40: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

FrameNet Example

Attacks on civilians decreased over the last four monthschange position on a scale

Item

Duration

The Attribute is left unfilled but is understood from context(i.e., “frequency”).

40 / 61

Page 41: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

change position on a scale

Verbs: advance, climb, decline, decrease, diminish, dip, double,drop, dwindle, edge, explode, fall, fluctuate, gain, grow, increase,jump, move, mushroom, plummet, reach, rise, rocket, shift,skyrocket, slide, soar, swell, swing, triple, tumble

Nouns: decline, decrease, escalation, explosion, fall, fluctuation,gain, growth, hike, increase, rise, shift, tumble

Adverb: increasingly

41 / 61

Page 42: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

change position on a scale

event

birth scenario . . . change position on a scale

change of temperature proliferating in number

. . . waking up

(birth scenario also inherits from sexual reproduction scenario.)

42 / 61

Page 43: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Role Labeling Tasks

The paper that started it all: Gildea and Jurafsky (2002) usedFrameNet lexicon (which includes prototypes, not really a corpus).

I When FrameNet started releasing corpora, the task wasreformulated. Example open-source system: SEMAFOR (Daset al., 2014).

43 / 61

Page 44: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Role Labeling Tasks

The paper that started it all: Gildea and Jurafsky (2002) usedFrameNet lexicon (which includes prototypes, not really a corpus).

I When FrameNet started releasing corpora, the task wasreformulated. Example open-source system: SEMAFOR (Daset al., 2014).

The PropBank corpus is used directly for training/testing.

44 / 61

Page 45: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Semantic Role Labeling Tasks

The paper that started it all: Gildea and Jurafsky (2002) usedFrameNet lexicon (which includes prototypes, not really a corpus).

I When FrameNet started releasing corpora, the task wasreformulated. Example open-source system: SEMAFOR (Daset al., 2014).

The PropBank corpus is used directly for training/testing.

Conference on Computational Natural Language Learning (CoNLL)shared task in 2004, 2005, 2008, 2009, all PropBank-based.

I In 2008 and 2009, the task was cast as a kind of dependencyparsing.

I In 2009, seven languages were included in the task.

45 / 61

Page 46: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Methods

Boils down to labeling spans (with frames and roles).

It’s mostly about features.

46 / 61

Page 47: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Example: Path Features

S

NP-SBJ

DT

The

NNP

San

NNP

Francisco

NNP

Examiner

VP

VBD

issued

NP

DT

a

JJ

special

NN

edition

PP-TMP

IN

around

NN

noon

NP-TMP

NN

yesterday

47 / 61

Page 48: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Example: Path Features

S

NP-SBJ

DT

The

NNP

San

NNP

Francisco

NNP

Examiner

VP

VBD

issued

NP

DT

a

JJ

special

NN

edition

PP-TMP

IN

around

NN

noon

NP-TMP

NN

yesterday

Path fromNP-SBJ

The San Francisco Examiner

to issued: NP↑S↓VP↓VBD

48 / 61

Page 49: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Example: Path Features

S

NP-SBJ

DT

The

NNP

San

NNP

Francisco

NNP

Examiner

VP

VBD

issued

NP

DT

a

JJ

special

NN

edition

PP-TMP

IN

around

NN

noon

NP-TMP

NN

yesterday

Path fromNP

a special edition

to issued: NP↑VP↓VBD

49 / 61

Page 50: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Methods: Beyond Features

The span-labeling decisions interact a lot!

I Presence of a frame increases the expectation of certain roles

I Roles for the same predicate shouldn’t overlap

I Some roles are mutually exclusive or require each other (e.g.,“resemble”)

50 / 61

Page 51: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Methods: Beyond Features

The span-labeling decisions interact a lot!

I Presence of a frame increases the expectation of certain roles

I Roles for the same predicate shouldn’t overlap

I Some roles are mutually exclusive or require each other (e.g.,“resemble”)

Ensuring well-formed outputs:

I Using syntax as a scaffold allows efficient prediction; you’reessentially labeling the parse tree (Toutanova et al., 2008).

I Others have formulated the problem as constrained, discreteoptimization (Punyakanok et al., 2008).

I Also greedy methods (Bjorkelund et al., 2010) and jointmethods for syntactic and semantic dependencies (Hendersonet al., 2013).

51 / 61

Page 52: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Methods: Beyond FeaturesThe span-labeling decisions interact a lot!

I Presence of a frame increases the expectation of certain rolesI Roles for the same predicate shouldn’t overlapI Some roles are mutually exclusive or require each other (e.g.,

“resemble”)

Ensuring well-formed outputs:I Using syntax as a scaffold allows efficient prediction; you’re

essentially labeling the parse tree (Toutanova et al., 2008).I Others have formulated the problem as constrained, discrete

optimization (Punyakanok et al., 2008).I Also greedy methods (Bjorkelund et al., 2010) and joint

methods for syntactic and semantic dependencies (Hendersonet al., 2013).

Current work:I Some recent attempts to merge FrameNet and PropBank

have shown promise (FitzGerald et al., 2015; Kshirsagar et al.,2015)

52 / 61

Page 53: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

Related Problems in “Relational” Semantics

I Coreference resolution: which mentions (within or acrosstexts) refer to the same entity or event?

I Entity linking: ground such mentions in a structuredknowledge base (e.g., Wikipedia)

I Relation extraction: characterize the relation among specificmentions

Information extraction: transform text into a structuredknowledge representation

I Classical IE starts with a predefined schema

I “Open” IE includes the automatic construction of the schema;see http://ai.cs.washington.edu/projects/

open-information-extraction

53 / 61

Page 54: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

General Remarks

Criticisms of semantic role labeling:

I Semantic roles are just “syntax++” since they don’t allowmuch in the way of reasoning (e.g., question answering).

I Lexicon building is slow and requires expensive expertise. Canwe do this for every (sub)language?

54 / 61

Page 55: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

General Remarks

Criticisms of semantic role labeling:

I Semantic roles are just “syntax++” since they don’t allowmuch in the way of reasoning (e.g., question answering).

I Lexicon building is slow and requires expensive expertise. Canwe do this for every (sub)language?

55 / 61

Page 56: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

General Remarks

Criticisms of semantic role labeling:

I Semantic roles are just “syntax++” since they don’t allowmuch in the way of reasoning (e.g., question answering).

I Lexicon building is slow and requires expensive expertise. Canwe do this for every (sub)language?

We’ve now had a taste of two branches of semantics:

I Lexical semantics (e.g., supersense tagging)

I Relational semantics (e.g., semantic role labeling)

56 / 61

Page 57: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

General Remarks

Criticisms of semantic role labeling:

I Semantic roles are just “syntax++” since they don’t allowmuch in the way of reasoning (e.g., question answering).

I Lexicon building is slow and requires expensive expertise. Canwe do this for every (sub)language?

We’ve now had a taste of two branches of semantics:

I Lexical semantics (e.g., supersense tagging)

I Relational semantics (e.g., semantic role labeling)

Next up, a third:

I Compositional semantics

57 / 61

Page 58: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

To-Do List

I Jurafsky and Martin (2016)

I Assignment 4 is due Tuesday.

58 / 61

Page 59: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

References I

Collin F. Baker, Charles J. Fillmore, and John B. Lowe. The Berkeley FrameNetproject. In Proc. of ACL-COLING, 1998.

Anders Bjorkelund, Bernd Bohnet, Love Hafdell, and Pierre Nugues. Ahigh-performance syntactic and semantic dependency parser. In Proc. of COLING,2010.

Dipanjan Das, Desai Chen, Andre F. T. Martins, Nathan Schneider, and Noah A.Smith. Frame-semantic parsing. Computational Linguistics, 40(1):9–56, 2014.

Charles J. Fillmore. The case for case. In Bach and Harms, editors, Universals inLinguistic Theory. Holt, Rinehart, and Winston, 1968.

Nicholas FitzGerald, Oscar Tackstrom, Kuzman Ganchev, and Dipanjan Das.Semantic role labeling with neural network factors. In Proc. of EMNLP, 2015.

Daniel Gildea and Daniel Jurafsky. Automatic labeling of semantic roles.Computational Linguistics, 24(3):245–288, 2002.

James Henderson, Paola Merlo, Ivan Titov, and Gabriele Musillo. Multilingual jointparsing of syntactic and semantic dependencies with a latent variable model.Computational Linguistics, 39(4):949–998, 2013.

Daniel Jurafsky and James H. Martin. Semantic role labeling and argument structure(draft chapter), 2016. URLhttps://web.stanford.edu/~jurafsky/slp3/22.pdf.

59 / 61

Page 60: Natural Language Processing (CSE 490U): Predicate-Argument …€¦ · I Eat! I We ate dinner. I We already ate. I The pies were eaten up quickly. I Our gluttony was complete. 12/61

References II

Meghana Kshirsagar, Sam Thomson, Nathan Schneider, Jaime Carbonell, Noah A.Smith, and Chris Dyer. Frame-semantic role labeling with heterogeneousannotations. In Proc. of ACL, 2015.

Beth Levin. English verb classes and alternations: A preliminary investigation.University of Chicago Press, 1993.

Martha Palmer, Daniel Gildea, and Paul Kingsbury. The Proposition Bank: Anannotated corpus of semantic roles. Computational Linguistics, 31(1):71–105, 2005.

Vasin Punyakanok, Dan Roth, and Wen-tau Yih. The importance of syntactic parsingand inference in semantic role labeling. Computational Linguistics, 34(2):257–287,2008.

Kristina Toutanova, Aria Haghighi, and Christopher D. Manning. A global joint modelfor semantic role labeling. Computational Linguistics, 34(2):161–191, 2008.

60 / 61