automatic extraction of paraphrasing rules a survey and
play

Automatic extraction of paraphrasing rules: A survey and plans for - PowerPoint PPT Presentation

Automatic extraction of paraphrasing rules: A survey and plans for future work Prodromos Malakasiotis, Ph.D. student Department of Informatics Athens University of Economics and Business rulller@aueb.gr 1 What is Paraphrasing? X is


  1. Automatic extraction of paraphrasing rules: A survey and plans for future work Prodromos Malakasiotis, Ph.D. student Department of Informatics Athens University of Economics and Business rulller@aueb.gr 1

  2. What is Paraphrasing? • “X is the writer of Y” ≈ “X wrote Y” ≈ “X is the author of Y”. • “Oswald killed Kennedy” / “Kennedy was killed by Oswald”. • “Who invented the light bulb?” / “Who was the inventor of the light bulb?”. • “Edison invented the light bulb” / “Edison’s invention of the light bulb”. • “Athens is located in Greece” / “Athens is the capital of Greece”. – Textual entailment, not really paraphrasing. • Can be used in: – Question Answering, Information Retrieval, Web Search Engines. – Natural Language Generation, Automatic Summarization. 2

  3. Contents of this talk • What is Paraphrasing? Paraphrasing methods • Lin & Pantel. • Barzilay & McKeown. • Barzilay & Lee. • Pang et al. • Ibrahim et al. • Directions for future work. 3

  4. Lin & Pantel’s method (1 of 3) subj obj to det det John found a solution to the problem N:subj:V find V:obj:N solution N:to:N “X finds solution to Y” 4

  5. Lin & Pantel’s method (2 of 3) “X finds a solution to Y” “X solves Y” Slot X Slot Y Slot X Slot Y commission strike committee problem committee civil war clout crisis committee crisis government problem government crisis he mystery government problem she problem he problem petition woe I situation researcher mystery legislator budget deficit resistance crime sheriff dispute sheriff murder 5

  6. Lin & Pantel’s method (3 of 3) • Good performance despite only approximately correct or occasionally incorrect paraphrases. – “X caused Y” ≈ “Y is blamed on X”. – “X asks Y” ≈ “Y asks X”. – “X worsens Y” ≈ “X solves Y”. • Requires reliable dependency parser. – Computationally expensive. – Not always available (e.g. in Greek). 6

  7. Contents of this talk • What is Paraphrasing? Paraphrasing methods • Lin & Pantel. – Dependency paths with similar slot fillers have similar meanings. • Barzilay & McKeown. • Barzilay & Lee. • Pang et al. • Ibrahim et al. • Directions for future work. 7

  8. Barzilay & McKeown’s method (1 of 3) Parallel texts Aligned parallel texts Sentence alignment <S>…</S> <S>…</S> <S>w 1 w 2 w 3 </S> <S>w 4 w 2 w 5 </S> <S>…</S> <S>…</S> <S>w 1 w 2 w 3 </S> <S>w 4 w 2 w 5 </S> <S>…</S> <S>…</S> <S>w 7 w 8 w 9 </S> <S>w 6 w 8 w 0 </S> <S>…</S> <S>…</S> <S>w 7 w 8 w 9 </S> <S>w 6 w 8 w 0 </S> … ... … … ... … … ... … … ... … … ... … … ... … … ... … … ... … <S>…</S> <S>…</S> <S>w n w m w k </S> <S>w l w m w i </S> <S>…</S> <S>…</S> <S>w n w m w k </S> <S>w l w m w i </S> initial single-word (+ / -) paraphrasing more, possibly multi-word examples (+ / -) paraphrasing examples context EXTRACT EXTRACT rules PARAPHRASES CONTEXTS w 1 ? w 3 ≈ w 4 ? w 5 8

  9. Barzilay & McKeown’s method (2 of 3) Actually, 1) use both words and POS tags + as features, and 2) The clerk liked Monsieur Bovary ? mark tags of identical words and words with He liked Monsieur Bovary ? the same root Actually, 1) use The clerk liked Monsieur Bovary POS tags, and He was fond of Monsieur Bovary 2) mark tags of identical words + His apprentice liked the girl ? He was fond of the doctor’s daughter ? 9

  10. Barzilay & McKeown’s method (3 of 3) • High precision – 86.5% when context not given to human judges. – 91.6% when context given to human judges. • But 70.8% single word paraphrases. – In effect low recall • Requires parallel corpus. – Difficult to obtain. • Requires POS tagger, aligner. – Easier to obtain. 10

  11. Contents of this talk • What is Paraphrasing? Paraphrasing methods • Lin & Pantel. – Dependency paths with similar slot fillers have similar meanings. • Barzilay & McKeown. – Identical words � contexts � more paraphrases � more contexts � … • Barzilay & Lee. • Pang et al. • Ibrahim et al. • Directions for future work. 11

  12. Barzilay & Lee’s method (1 of 3) Articles for the same events Lattices 1 a MSA, clustering 2 b Corpus 1 Corpus 2 Corpus 1 Corpus 2 3 c planes Slot 2 Baghdad 1 US bombers bombed Iraqi capital forces Slot 1 Many common Baghdad fillers planes Iraqi capital was bombed by US army b Iraqi base forces Slot 4 military Slot 3 12

  13. Barzilay & Lee’s method (2 of 3) Enemy forces bombed the Afghani capital 1 Slot 1 bombed Slot 2 b Slot 3 was bombed by Slot 4 The Afghani capital was bombed by enemy forces 13

  14. Barzilay & Lee’s method (3 of 3) • Relatively high precision (78.5%). – Many sentence-level paraphrases. – Unknown recall. – Seems to outperform Lin & Pantel’s method (42.5% precision). • But able to paraphrase only 12.2% of a set of new sentences. – Input does not match any lattice. – Precision at the same level (79.7%). • Does not require dependency parser, POS tagger, aligner, etc. – Uses simplistic named-entity (NE) recogniser. – NE recognition could help other methods too. 14

  15. Contents of this talk • What is Paraphrasing? Paraphrasing methods • Lin & Pantel. – Dependency paths with similar slot fillers have similar meanings. • Barzilay & McKeown. – Identical words � contexts � more paraphrases � more contexts � … • Barzilay & Lee. – Lattices with common slot fillers tend to correspond to paraphrases. • Pang et al. • Ibrahim et al. • Directions for future work. 15

  16. Pang et al.’s method (1 of 4) LDC Multiple Translation Chinese Corpus 105 news stories in 105 news stories in Mandarin Chinese Mandarin Chinese Translation 1 Translation 2 Translation 11 <S id=1>…</S> <S id=1>…</S> <S id=1>…</S> <S id=1>…</S> <S id=1>…</S> <S id=1>…</S> <S id=2>…</S> <S id=2>…</S> <S id=2>…</S> <S id=2>…</S> <S id=2>…</S> <S id=2>…</S> … ... … … ... … … ... … … ... … … ... … … ... … <S id=n>…</S> <S id=n>…</S> <S id=n>…</S> <S id=n>…</S> <S id=n>…</S> <S id=n>…</S> The sentences are already aligned 16

  17. Pang et al.’s method (2 of 4) Parse trees of aligned sentences S S NP VP NP VP VB CD NN VB CD NN AUX twelve people died 12 persons were killed merge trees NP VP AUX VB CD NN VB 12 persons were killed twelve people died 17

  18. Pang et al.’s method (3 of 4) NP VP AUX VB CD NN VB 12 persons were killed twelve people died Different paths correspond to paraphrases 12 persons died S E twelve people were killed 18

  19. Pang et al.’s method (4 of 4) • Better results than Barzilay & McKeown’s method. – 81% vs. 66% precision, context not given to human judges. – 93% vs. 77% precision, context given to human judges. • Produces complete sentences not patterns. • Requires reliable parser, parallel corpus. – Difficult to obtain (e.g. in Greek). 19

  20. Contents of this talk • What is Paraphrasing? Paraphrasing methods • Lin & Pantel. – Dependency paths with similar slot fillers have similar meanings. • Barzilay & McKeown. – Identical words � contexts � more paraphrases � more contexts � … • Barzilay & Lee. – Lattices with common slot fillers tend to correspond to paraphrases. • Pang et al. – Merge parse trees of aligned sentences to extract FSAs. – Different paths in an FSA correspond to paraphrases. • Ibrahim et al. • Directions for future work. 20

  21. Ibrahim et al.’s method (1 of 2) • Same as Lin & Pantel’s method – Dependency parse trees. • Compares only paths from aligned sentences • Find anchors among nouns and pronouns of the aligned sentences and score them using heuristics. The clerk liked Monsieur Bovary / The clerk was fond of Monsieur Bovary O * A1 The clerk liked Monsieur Bovary A2 OF J * A1 The clerk fond of Monsieur Bovary A2 “X liked Y” ≈ “X was fond of Y” 21

  22. Ibrahim et al.’s method (2 of 2) • Low precision. – 40.2% average precision. – Up to 47.8% by increasing the threshold. • Requires dependency parser, parallel corpus. – Difficult to obtain (e.g. in Greek). • Requires aligner. – Easier to obtain. • Reduces search space compared to Lin & Pantel’s method. – Compares only paths from aligned sentences. – Unclear if it overcomes the other problems of Lin & Pantel’s method (e.g. “fail” ≈ “succeed”). 22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend