29.05.2018 (joint work with johan bos) lasha...

56
Lasha Abzianidze (joint work with Johan Bos) 29.05.2018

Upload: others

Post on 17-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lasha Abzianidze (joint work with Johan Bos)

29.05.2018

Page 2: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lexical semanticsFrom lexical semantics to phrasal semantics

Semantic lexicon is usually large

Page 3: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lexical semanticsFrom lexical semantics to phrasal semantics

Semantic lexicon is usually large

Which lexical semantics to assign to word tokens?

Page 4: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lexical semanticsFrom lexical semantics to phrasal semantics

Semantic lexicon is usually large

Which lexical semantics to assign to word tokens?○ 07/1937 I have gone to the cinema○ 00/1564 I have a big dog○ 00/2206 I have to warn him

Page 5: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lexical semanticsFrom lexical semantics to phrasal semantics

Semantic lexicon is usually large

Which lexical semantics to assign to word tokens?○ 07/1937 I have gone to the cinema○ 00/1564 I have a big dog○ 00/2206 I have to warn him

Can POS tags help?

Page 6: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Lexical semanticsFrom lexical semantics to phrasal semantics

Semantic lexicon is usually large

Which lexical semantics to assign to word tokens?○ 07/1937 I have gone to the cinema○ 00/1564 I have a big dog○ 00/2206 I have to warn him

Can POS tags help? NO as all the three gets VBP

Page 7: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

More examples○ He himselfPRP tried it, Tom cut himselfPRP while shaving

○ andCC, orCC, butCC

○ … toTO write …, … toTO cinema …

○ does not like anyDT X. Give me anyDT X

○ a(n)/every/no/the/some/each/that/these/(n)either...DT

○ illJJ / skillfulJJ / fakeJJ professor

○ Google, New York; Ann, Bill and Mary; Ann, a director,...

Page 8: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Outline

● Groningen/Parallel Meaning bank

● UNIversal SEmantic Tagset

● Results & Challenges

● Conclusion

Page 9: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

○ Heavy lexical units: DRSs ○ Few combining rules: Rules of CCG○ λ-calculus for computation: λ-DRS

Formal compositional semantics in Parallel Meaning Bank

Page 10: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

○ Heavy lexical units: DRSs ○ Few combining rules: Rules of CCG○ λ-calculus for computation: λ-DRS

Formal compositional semantics in Parallel Meaning Bank

Page 11: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

○ Heavy lexical units: DRSs ○ Few combining rules: Rules of CCG○ λ-calculus for computation: λ-DRS

Formal compositional semantics in Parallel Meaning Bank

Page 12: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

He left ∅ three days ago

He is ∅ drie dagen geleden vertrokken

Compositionality Projection

Page 13: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 14: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 15: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 16: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 17: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 18: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

Page 19: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

➤➤➤

Page 20: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

➤➤➤

Page 21: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Semantic building blocks

???

???

??????

??? ???

➤➤➤

Goal

Page 22: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

GMB: Before UNISET

left

syntactic infoS\NP

$thematic rolestheme

$lemmaleave

POS tagVBD

Page 23: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

left

syntactic infoS\NP

$thematic rolestheme

$lemmaleave

POS tagVBD

wants

has

POS tagVBZ

VPdcl\VP

to

VPdcl\VP

pt

GMB: Before UNISET

Page 24: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

left

syntactic infoS\NP

$thematic rolestheme

$lemmaleave

POS tagVBD

wants

has

POS tagVBZ

VPdcl\VP

to

VPdcl\VP

pt

GMB: Before UNISET

Page 25: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

POS tags are not enough

no

syntactic infoNP/N

$lemmaPOS tagDT

everythea

???

Page 26: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

POS tags are not enough

no

syntactic infoNP/N

$lemmaPOS tagDT

everythea

???

Page 27: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

POS tags are not enough

myself

syntactic infoVP\VP

$lemmaPOS tagPRP

???syntactic info

NP

Page 28: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

POS tags are not enough

syntactic infoconj

$lemmaPOS tagCC

???

and$lemmaorbut

Page 29: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

POS tags are not enough

syntactic infoN/N

$lemmaPOS tagJJ

???

$lemma deadskillful

Page 30: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Something else is needed

● POS tags lack fine-grained semantic information

● Relying on lemmas → not language neutral

● Relying on CCG categories →

framework/language dependent

● Sometimes even a CCG category, lemma, and a

POS-tag do not suffice: and, any

Page 31: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Universal semantic tags

Page 32: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Universal semantic tags

left

syntactic infoS\NP

$thematic rolestheme

$symbolleave

SEM-tagEPS

Page 33: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Universal semantic tags

no

syntactic infoNP/N

$symboleverythea

NOT

ANDDEFDIS

Page 34: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Universal semantic tags

no

syntactic infoNP/N

$symboleverythea

NOT

ANDDEFDIS

Languageneutral

Page 35: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

SEM tags for semantics● Schema of lexical semantics is determined by a

sem-tag and a syntactic category〈SEM, CAT〉● Less sensitive to syntax (vs POS tags)● Semantic info complements thematic roles, syntax

and lemma.● Generalizes over POS tags and Named Entity

classes

Page 36: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

UNIvesral SEemantic Tagset

● 73 sem-tags divided into 13 classes● Under development (v0.7)● Designed in a data-driven fashion (EN, NL, IT, DE)

Page 37: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

two, six million, twice, 5millions, many, enoughred, crimson, light‿blueopen, vegetarian, quicklyskillful surgeon, tall kid

former, fake2 meters tall, 20 years oldvery, much, too, ratherin, on, of, after3-0, grade A

Page 38: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

he, she, I, himthe, loIT, derDE

my, herblamed herself, each otherleft himself

Page 39: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

he, she, I, himthe, loIT, derDE

my, herblamed herself, each otherleft himself

hi, byealas, ah

errwho, which, ?

Page 40: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

is skiing, do ski, has skied, now was baked, had gone, did go

will, shallhas been being treated, aan‿hetNL

has been going/done

Page 41: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

is skiing, do ski, has skied, now was baked, had gone, did go

will, shallhas been being treated, aan‿hetNL

has been going/done

to walk, is eaten, destructionwe walk, he walks

ate, wentis runninghas eaten

Page 42: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

as tall as John, whales are mammals

better, moreless, worsemost, mostly, at‿mostworst, least at‿least1st, 3rd, third

Page 43: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

dog, personstudent, brother, prof., victimJohn and Mary gathered, a group of people

as tall as John, whales are mammals

better, moreless, worsemost, mostlyworst, least1st, 3rd, third

Page 44: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

another, different, againonly, justto, ., a, some, any, orif, when, unlessevery, and, who, any

Page 45: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

not, no, neither, withoutmust, should, have to

might, could, perhaps, alleged, can

another, different, againonly, justto, .,a, some, any, orif, when, unlessevery, and, who, any

Page 46: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

27.04.2017, 27/04/1727th December

2017ThursdayApril80s, 1990s8:45‿pm, 10‿o’clock, noon

Page 47: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

that, while, because so, ;, and which, —but, yet

Page 48: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

here, this, abovejust, later, tomorrowlatter, former, above

that, while, because so, ;, and which, —but, yet

Page 49: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Axl Rose, Sherlock HolmesParis, JapanParisian, FrenchAlps, NileIKEA, EUiOS‿7Eurovision‿2017meter, $, %, degree Celsius112, [email protected]://pmb.let.rug.nlhis name is Johntable 1a, equation (1)

Page 50: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Tagging & SemanticsFormal compositional semantics are less favoured:

○ Semantics problems○ Difficult to scale up

Make formal semantics study modular

Page 51: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Tagging & SemanticsFormal compositional semantics are less favoured:

○ Semantics problems○ Difficult to scale up

Make formal semantics study modular

NLP community loves tagging/labeling tasks○ Conceptually a simple task○ Create an annotated data○ Employ ML techniques for learning

Page 52: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Data & Results ● Gold EN documents (34.7K)

● Silver EN documents (1.6M)

● Baseline (UniGram) ~82%

● Stanford tagger ~88.8%

● NN tagger (AUX UPOS) ~92.7% (M. Abdou)

Page 53: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Challenges

● Account for wide-coverage compositional semantics

● Keep UNISET independent from CCG

● Prevent the number of sem-tags from increasing

Page 54: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Conclusion● Facilitates determining lexical semantics

● Contributes to cross-lingual applications

● Useful for other NLP applications

● Useful for other semantic parsers or RTE systems:

(ccg2lambda, LangPro, UDepLambda,...)

Page 55: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical

Future work

● Cover more semantic phenomena (data-driven)

● Measure an inter-annotator agreement

● Reorganize tagset to simplify learning

Page 56: 29.05.2018 (joint work with Johan Bos) Lasha Abzianidzesvn.emmtee.net/trunk/cas/mri/0518/uniset.pdf · 2018. 5. 29. · Lasha Abzianidze (joint work with Johan Bos) 29.05.2018 . Lexical