Towards Deep Universal Dependencies Kira Droganova, Daniel Zeman - - PowerPoint PPT Presentation

towards deep universal dependencies
SMART_READER_LITE
LIVE PREVIEW

Towards Deep Universal Dependencies Kira Droganova, Daniel Zeman - - PowerPoint PPT Presentation

Towards Deep Universal Dependencies Kira Droganova, Daniel Zeman {droganova,zeman}@ufal.mfg.cuni.cz http://universaldependencies.org/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


slide-1
SLIDE 1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Towards Deep Universal Dependencies

Kira Droganova, Daniel Zeman

{droganova,zeman}@ufal.mfg.cuni.cz http://universaldependencies.org/

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 1 / 25

slide-2
SLIDE 2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Multiple Layers of Dependencies

Form Surface syntax Deep syntax Semantics Meaning

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 2 / 25

slide-3
SLIDE 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Meaning-Text Theory

documento proponer este contrato afectar persona persona engrosar lista paro document suggest this contract afgect person person enlarge list unemployed

I II I ATTR II ATTR I coref II I

“The document suggests that this contract afgect the persons who make the unemployment lists swell.”

ROOT NUMBER NUMBER NUMBER SG NUMBER NUMBER PL TENSE TENSE TENSE PRES documento este contrato persona lista paro proponer afectar engrosar A1 A2 A2 A2 A2 A2 A2 A2 A2 A1 A1 A1 A1 A1 A1 A1 A1 A2 A1 A2 A1 A2 A1 A1 A1

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 3 / 25

slide-4
SLIDE 4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Functional Generative Description (Prague Tectogrammatics)

A similar technique is almost impossible to apply to other crops such as cotton, soybean and rice

Atr Atr Sb Pnom Adv AuxC Obj AuxP Apos Obj.m Atr Coord.m AuxY Obj.m Obj.m Obj.m Pred

similar technique be almost possible #Benef apply #Gen other crop such_as cotton soybean and rice

RSTR PAT ACT PAT EXT coref.gram BEN APPS ACT ADDR.m RSTR CONJ.m ADDR.m ADDR.m ADDR.m root Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 4 / 25

slide-5
SLIDE 5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Proposition Banks

{The … company} said { 0 it expects { ฀-1 to obtain {reg. approval} and complete {the trans.} {by year-end}}}

ARG0 ARG1 ARG0 ARG-TMP ARG1 ARG0 coref ARG1 ARG-TMP ARG0 ARG1 ARG-TMP

“The thrifu holding company said it expects to obtain regulatory approval and complete the transaction by year-end.”

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 5 / 25

slide-6
SLIDE 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sequoia

Le lot gros œuvre devra probablement être déclaré infructueux The package structural works will have to probably be declared unsuccessful

det suj:suj mod mod

  • bj:obj

mod aux.pass ats:ato suj:suj suj:obj suj:suj

“The structural system package should probably be declared unsuccessful.”

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 6 / 25

slide-7
SLIDE 7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universal Dependencies

Kate wants to go to Florida and Jane (wants) (go) to Europe

conj nsubj xcomp mark

  • bl

case cc

  • rphan

case conj nsubj nsubj nsubj xcomp mark

  • bl:to

case cc nsubj xcomp

  • bl:to

case

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 7 / 25

slide-8
SLIDE 8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Multilingual Annotation

MTT: Russian, English, Spanish, French FGD: Czech, English PropBank: English, Arabic, Chinese, Finnish, Hindi, Urdu, Persian, Portuguese, Turkish, German, French AMR: English, Chinese, Portuguese, Korean, Vietnamese, Spanish, French, German Sequoia: French Enhanced UD: Arabic, Bulgarian, Czech, Dutch, English, Estonian, Finnish, Italian, Latvian, Lithuanian, Polish, Russian, Slovak, Swedish, Tamil, Ukrainian

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 8 / 25

slide-9
SLIDE 9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Multilingual Annotation

MTT: Russian, English, Spanish, French FGD: Czech, English PropBank: English, Arabic, Chinese, Finnish, Hindi, Urdu, Persian, Portuguese, Turkish, German, French AMR: English, Chinese, Portuguese, Korean, Vietnamese, Spanish, French, German Sequoia: French Enhanced UD: Arabic, Bulgarian, Czech, Dutch, English, Estonian, Finnish, Italian, Latvian, Lithuanian, Polish, Russian, Slovak, Swedish, Tamil, Ukrainian

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 8 / 25

slide-10
SLIDE 10

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Basic Universal Dependencies: 82 Languages and Growing

I.-E.: Armenian, Ancient Greek, Greek, Breton, Irish, Welsh

◮ Germanic:

Afrikaans, Danish, Dutch, English, Faroese, German, Gothic, Norwegian, Swedish

◮ Romance:

Catalan, French, Galician, Italian, Latin, Old French, Portuguese, Romanian, Spanish

◮ Balto-Slavic:

Belarusian, Bulgarian, Croatian, Czech, Church Slavonic, Old Russian, Polish, Russian, Serbian, Slovak, Slovenian, Ukrainian, Upper Sorbian, Latvian, Lithuanian

◮ Indo-Iranian:

Kurmanji, Persian, Hindi, Marathi, Sanskrit, Urdu

Uralic: Erzya, Estonian, Finnish, Hungarian, Karelian, Komi, Sámi Dravidian: Tamil, Telugu Turkic: Kazakh, Turkish, Uyghur Af.-As.: Akkadian, Amharic, Arabic, Assyrian, Coptic, Hebrew, Maltese Sino-Tibetan: Cantonese, Classical Chinese, Chinese; Aus.-As.: Vietnamese Tai-Kadai: Thai; Austronesian: Indonesian, Tagalog Other: Buryat, Japanese, Korean, Basque,

  • Sw. Sign,

Naija, Bambara, Wolof, Yoruba, Warlpiri, Mbyá Guaraní

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 9 / 25

slide-11
SLIDE 11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Two-Speed Approach

Automatic part: derived from basic UD Optional manual extras

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 10 / 25

slide-12
SLIDE 12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A Mountain of Work

Pear Blossom [CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0)] Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 11 / 25

slide-13
SLIDE 13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A Mountain of Work

Work in progress

◮ Only the automatic part now

WANTED: Feedback

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 12 / 25

slide-14
SLIDE 14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A Mountain of Work

Work in progress WANTED: Feedback Automatic part: derived from basic UD Optional manual extras

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 13 / 25

slide-15
SLIDE 15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Automatic vs. Manual Annotation

Automatically derived from UD:

◮ Enhanced Universal Dependencies ⋆ Grammatical coreference (partially) ⋆ Ellipsis: gapping ◮ Normalize syntactic alternations (cf. Candito et al. 2017) ◮ Ellipsis: pro-drop

Manual or with extra resources:

◮ Frames, semantic roles ◮ Textual coreference ◮ Everything else… ◮ … and improve the automatic part above Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 14 / 25

slide-16
SLIDE 16

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Normalization of Syntactic Alternations

He killed the dragon ARG1 ARG2

root nsubj

  • bj

det

The dragon was killed by him ARG2 ARG1

root det nsubj:pass aux:pass

  • bl:agent

case

She made him kill the dragon ARG1 ARG2

root nsubj xcomp

  • bj
  • bj

det

The dragon that was killed ARG2

root det acl:relcl nsubj:pass aux:pass

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 15 / 25

slide-17
SLIDE 17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Normalization of Syntactic Alternations

He killed the dragon ARG1 ARG2

root nsubj

  • bj

det

The dragon was killed by him ARG2 ARG1

root det nsubj:pass aux:pass

  • bl:agent

case

She made him kill the dragon ARG1 ARG2

root nsubj xcomp

  • bj
  • bj

det

The dragon that was killed ARG2

root det acl:relcl nsubj:pass aux:pass

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 15 / 25

slide-18
SLIDE 18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Normalization of Syntactic Alternations

He killed the dragon ARG1 ARG2

root nsubj

  • bj

det

The dragon was killed by him ARG2 ARG1

root det nsubj:pass aux:pass

  • bl:agent

case

She made him kill the dragon ARG1 ARG2

root nsubj xcomp

  • bj
  • bj

det

The dragon that was killed ARG2

root det acl:relcl nsubj:pass aux:pass

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 15 / 25

slide-19
SLIDE 19

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Normalization of Syntactic Alternations

He killed the dragon ARG1 ARG2

root nsubj

  • bj

det

The dragon was killed by him ARG2 ARG1

root det nsubj:pass aux:pass

  • bl:agent

case

She made him kill the dragon ARG1 ARG2

root nsubj xcomp

  • bj
  • bj

det

The dragon that was killed ARG2

root det acl:relcl nsubj:pass aux:pass

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 15 / 25

slide-20
SLIDE 20

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Numbered Arguments

Like in PropBank. Numbers can be mapped to semantic roles if we have a valency dictionary Degree of salience of arguments derived from surface syntax:

◮ Subject of active clause ⇒ ARG1 ◮ Direct object of active clause ⇒ ARG2 ◮ Indirect object of active clause ⇒ ARG3 ◮ Subject of passive clause ⇒ ARG2 ◮ etc… Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 16 / 25

slide-21
SLIDE 21

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Predicate Identfiers

They could be sense/frame identifiers But now we just take lemmas Exception:

◮ Germanic phrasal verbs: come_up ◮ Inherently reflexive verbs: [cs] smát_se “laugh” ◮ Other compound verbs (incl. light & serial verb constructions) Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 17 / 25

slide-22
SLIDE 22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Enhanced UD: Five Enhancements

Null nodes for gapping (12 treebanks) Dependency propagation in coordination (22 treebanks) External subjects of controlled predicates (12 treebanks) Cyclic dependencies to/from relative clauses (9 treebanks) Enhanced dependency labels (case information) (10 treebanks) All 5 types: 6 treebanks, 3 languages At least 1 type: 24 treebanks, 16 languages Only basic UD: 122 treebanks We apply Stanford Enhancer to all UD treebanks.

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 18 / 25

slide-23
SLIDE 23

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Enhanced UD: Five Enhancements

Null nodes for gapping (12 treebanks) Dependency propagation in coordination (22 treebanks) External subjects of controlled predicates (12 treebanks) Cyclic dependencies to/from relative clauses (9 treebanks) Enhanced dependency labels (case information) (10 treebanks) All 5 types: 6 treebanks, 3 languages At least 1 type: 24 treebanks, 16 languages Only basic UD: 122 treebanks We apply Stanford Enhancer to all UD treebanks.

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 18 / 25

slide-24
SLIDE 24

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Our “Enhanced Plus”

Enhanced UD help us identify more predicate-argument relations But some patterns are still not handled… Adverbial infinitives

◮ They will meet to discuss a contract. ◮ But not ccomp infinitives: He recommended to replace the tyres.

Adverbial converbs (gerunds)

Terrorists detonated a bomb killing five people.

Attributive participles

The shares reflected on your statement.

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 19 / 25

slide-25
SLIDE 25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Our “Enhanced Plus”

Enhanced UD help us identify more predicate-argument relations But some patterns are still not handled… Adverbial infinitives

◮ They will meet to discuss a contract. ◮ But not ccomp infinitives: He recommended to replace the tyres.

Adverbial converbs (gerunds)

◮ Terrorists detonated a bomb killing five people.

Attributive participles

The shares reflected on your statement.

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 19 / 25

slide-26
SLIDE 26

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Our “Enhanced Plus”

Enhanced UD help us identify more predicate-argument relations But some patterns are still not handled… Adverbial infinitives

◮ They will meet to discuss a contract. ◮ But not ccomp infinitives: He recommended to replace the tyres.

Adverbial converbs (gerunds)

◮ Terrorists detonated a bomb killing five people.

Attributive participles

◮ The shares reflected on your statement. Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 19 / 25

slide-27
SLIDE 27

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary and Next Steps

Deep UD 2.4 (http://hdl.handle.net/11234/1-3022) 121 treebanks of 73 languages Enhanced graphs in all treebanks (Enhanced Plus: infinitives, gerunds, participles) Normalized active-passive Can be regenerated afuer each UD release Evaluate precision and recall (no gold standard yet) Test mapping to a valency dictionary Oblique arguments? Other alternations than passives? Non-verbal predicates …

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 20 / 25

slide-28
SLIDE 28

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary and Next Steps

Deep UD 2.4 (http://hdl.handle.net/11234/1-3022) 121 treebanks of 73 languages Enhanced graphs in all treebanks (Enhanced Plus: infinitives, gerunds, participles) Normalized active-passive Can be regenerated afuer each UD release Evaluate precision and recall (no gold standard yet) Test mapping to a valency dictionary Oblique arguments? Other alternations than passives? Non-verbal predicates …

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 20 / 25

slide-29
SLIDE 29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Future: Link Arguments to Frame Dictionaries

EngVallex

(http://lindat.mff.cuni.cz/services/ EngVallex/EngVallex.html)

Select the correct frame of the verb Map observed arguments to frame slots

◮ Use their syntactic function ◮ Use their morphological form

The dragon was killed by him ARG2 ARG1 PAT ACT

root det nsubj:pass aux:pass

  • bl:agent

case

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 21 / 25

slide-30
SLIDE 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Thanks! Merci!

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 22 / 25

slide-31
SLIDE 31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Enhanced UD

Kate wants to go to Florida and Jane (wants) (go) to Europe

conj nsubj xcomp mark

  • bl

case cc

  • rphan

case conj nsubj nsubj nsubj xcomp mark

  • bl:to

case cc nsubj xcomp

  • bl:to

case

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 23 / 25

slide-32
SLIDE 32

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Enhanced UD

Jane eats sweet apples and oranges

nsubj

  • bj

amod conj cc

  • bj

amod nsubj

  • bj

amod conj cc

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 24 / 25

slide-33
SLIDE 33

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Enhanced UD

A gdzie szukać szamponu , który myje ? And where to-look for-shampoo , that washes ?

cc advmod punct

  • bj

acl:relcl punct nsubj cc advmod punct

  • bj

acl:relcl nsubj punct ref

“And where to look for shampoo that works?”

Daniel Zeman (ÚFAL MFF UK) Towards Deep UD Paris, 28.8.2019 25 / 25