50
Dependency Parsing Ganesh Bhosale - 09305034 Neelamadhav G. - 09305045 Nilesh Bhosale - 09305070 Pranav Jawale - 09307606 under the guidance of Prof. Pushpak Bhattacharyya Department of Computer Science and Engineering, Indian Institute of Technology, Bombay Powai, Mumbai - 400 076 April 22, 2011 (IIT Bombay) Dependency Parsing CS626 Seminar 1 / 50

Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing

Ganesh Bhosale - 09305034Neelamadhav G. - 09305045Nilesh Bhosale - 09305070Pranav Jawale - 09307606

under the guidance of

Prof. Pushpak Bhattacharyya

Department of Computer Science and Engineering,Indian Institute of Technology, Bombay

Powai, Mumbai - 400 076

April 22, 2011

(IIT Bombay) Dependency Parsing CS626 Seminar 1 / 50

Page 2: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Content

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 2 / 50

Page 3: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Motivation

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 3 / 50

Page 4: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Motivation

Motivation

Inspired by dependency grammar“Who-did-what-to-whom”Easy to encode long distance dependenciesBetter suited for free word order languagesProven to be useful in various NLP & ML applications

(IIT Bombay) Dependency Parsing CS626 Seminar 4 / 50

Page 5: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 5 / 50

Page 6: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Dependency Grammar

Basic Assumption: Syntactic structure essentially consists of lexicalitems linked by binary asymmetrical relations called dependencies.[1]

(IIT Bombay) Dependency Parsing CS626 Seminar 6 / 50

Page 7: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Constituency parsing example

Figure: Output of Stanford parser [Penn treebank type]

India won the world cup by beating Lanka(IIT Bombay) Dependency Parsing CS626 Seminar 7 / 50

Page 8: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Example of dependency parser output

Figure: Output of Stanford dependency parser

(IIT Bombay) Dependency Parsing CS626 Seminar 8 / 50

Page 9: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Example of dependency grammar

Figure: Parse tree

(IIT Bombay) Dependency Parsing CS626 Seminar 9 / 50

Page 10: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Example of dependency grammar

Figure: Parse tree

(IIT Bombay) Dependency Parsing CS626 Seminar 10 / 50

Page 11: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Example of dependency grammar

Figure: Parse tree(IIT Bombay) Dependency Parsing CS626 Seminar 11 / 50

Page 12: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

List of dependency relations

aux - auxiliaryarg - argumentcc - coordinationconj - conjunctexpl - expletive (expletive /there)mod - modifierpunct - punctuationref - referent

Marie-Catherine de Marneffe and Christopher D. Manning. September 2008. “Stanford typed dependencies manual”[2]

(IIT Bombay) Dependency Parsing CS626 Seminar 12 / 50

Page 13: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Introduction

Dependency Parsing

Input: Sentencex = w0, w1, ..., wnOutput: Dependency graphG = (V , A) for x where:

V = 0, 1, ..., n is the vertexset,A is the arc set, i.e.,(i , j , k) ∈ A represents adependency from wi to wjwith label lk ∈ L

Sentence

(W0,W1, ...,Wn)

Input

Dependecy Parser

e.g. MaltParser etc.

Head Dependent/

Lable

Output

Figure: Dependency Parsing

(IIT Bombay) Dependency Parsing CS626 Seminar 13 / 50

Page 14: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 14 / 50

Page 15: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Basic Requirements

Basic Requirements

Unity: Single tree with a unique root consisting of all the words in theinput sentence.Uniqueness: Each word has only one Head (Some parsing techniques(ex. Hudson) works with multiple heads)

(IIT Bombay) Dependency Parsing CS626 Seminar 15 / 50

Page 16: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Types of Dependency Parsing

Types of Dependency Parsing

Rule Based (Grammar Driven)Fundamental algorithm of dependency parsing (by Michael A.Covington)[3]

Machine Learning Based (Data Driven)Statistical Dependency Analysis with SVM (by Hiroyasu et.al)[4]

Joakim Nivre, (2005) “Dependency Grammar and Dependency Parsing,”. Vaxjo University

(IIT Bombay) Dependency Parsing CS626 Seminar 16 / 50

Page 17: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Rule Based

Strategy-1 (Brute-force search)

Examine each pair of words in the entire sentence whether they canbe head-to-dependent or dependent-to-head based on the grammar

For n words n(n − 1) pairs, so the complexity is O(n2)Michael A. Covington. 2001. “A Fundamental Algorithm for Dependency Parsing”, 39th Annual ACM Southeast Conference

(IIT Bombay) Dependency Parsing CS626 Seminar 17 / 50

Page 18: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Rule Based

Strategy-2 (Exhaustive left-to-right search)

Take words one by one starting at the beginning of the sentence, andtry linking each word as head or dependent of every previous word.

Whether to check from 1 to n − 1 or from n − 1 to 1: Most of thetimes head and dependents are more like to be near the target word.Whether it is better to look for heads and then dependents ordependents then heads: Cannot yet be determinedWhether the algorithm enforce unity and uniqueness

Michael A. Covington. 2001. “A Fundamental Algorithm for Dependency Parsing”, 39th Annual ACM Southeast Conference

(IIT Bombay) Dependency Parsing CS626 Seminar 18 / 50

Page 19: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Rule Based

Strategy-3 (Enforcing Uniqueness)

When a word has a head it cannot have another one.When looking for dependent of the current word: do not considerwords that are already dependents of something else.When looking for the head of the current word: stop after finding onehead.

Michael A. Covington. 2001. “A Fundamental Algorithm for Dependency Parsing”, 39th Annual ACM Southeast Conference

(IIT Bombay) Dependency Parsing CS626 Seminar 19 / 50

Page 20: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Rule Based

Strategy-3 (Enforcing Uniqueness)

Given an n-word sentence:[1] for i := 1 to n do[2] begin[3] for j := i - 1 down to 1 do[4] begin[5] If no word has been

linked as head of word i, then[6] if the grammar permits,

link word j as head of word i;[7] If word j is not a dependent

of some other word, then[8] if the grammar permits,

link word j as dependent of word i[9] end[10] end

}

Michael A. Covington. 2001. “A Fundamental Algorithm for Dependency Parsing”, 39th Annual ACM Southeast Conference

(IIT Bombay) Dependency Parsing CS626 Seminar 20 / 50

Page 21: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVMSupport Vector Machines

Binary classifier based on maximum margin strategy.In svm’s we find a hyperplane w .x + b = 0 which correctly separatestraining examples and has maximum margin which is the distancebetween hyper planes: w .x + b ≥= +1 and w .x + b ≤ −1

Figure: Support Vector Machine

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 21 / 50

Page 22: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

This is a multiclass classification problem.There are three classes (parsing actions)

1 Shift2 Right3 Left

We construct three binary classifiers corresponding to each action1 Left Vs. Shift2 Left Vs. Right3 Right Vs. Shift

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 22 / 50

Page 23: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

Let us take two neighboring words (Target words)Shift: No dependencies between the target nodes and the point offocus simply moves to right

Figure: An example of the action shift

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 23 / 50

Page 24: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

Right: Left node of target nodes becomes a child of right one

Figure: An example of the action right

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 24 / 50

Page 25: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

Left: Right node of target nodes becomes a child of left one

Figure: An example of the action left

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 25 / 50

Page 26: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

Learning dependency structurePOS tag and words are used as the candidate features for the nodeswithin left and right context.

Table: Summary of the feature types and their values

Type Valuepos part of speech(POS) tag stringlex word stringch-L-pos POS tag string of the child node modifying to the parent node from left sidech-L-lex word string of the child node node modifying to the parent node from left sidech-R-pos POS tag string of the child node modifying to the parent node from right sidech-R-lex word string of the child node modifying to the parent node from right side

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 26 / 50

Page 27: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parsing Machine Learning Based

Dependency parsing with SVM(cont..)

Parsing AlgorithmEstimate appropriate parsing actions using contextual informationsurrounding the target node.The parser constructs a dependency tree by executing the estimatedaction.

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTOR

MACHINES,”, Graduate School of Information Science,.

(IIT Bombay) Dependency Parsing CS626 Seminar 27 / 50

Page 28: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 28 / 50

Page 29: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Dependency Parser Evaluation

1 Evaluation Methodology1 Sentence based :

Quantitative2 Token based : Qualitative

2 Input data tracks1 Multilingual2 Domain Adaptation

Sentence

(W0,W1, ...,Wn)

Input

Dependecy Parser

e.g. MaltParser etc.

Head Dependent/

Lable

Output

Figure: Dependency Parsing

(IIT Bombay) Dependency Parsing CS626 Seminar 29 / 50

Page 30: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Evaluation Methodology

Quantitative EvaluationIt takes into account the number of sentence which were parsedcorrectly[6].

Metrics1 Correct Sentences

i.e. Sentences with correct labeled graph2 Incorrect Sentences

i.e. Sentences with not correct labeled graph3 Sentence Length

CritiqueDoes not analyze linguistic errors

(IIT Bombay) Dependency Parsing CS626 Seminar 30 / 50

Page 31: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Evaluation Methodology(cont...)

Qualitative EvaluationIt takes into account type of mistakes performed by the parser.

Metrics [5]1 Labeled attachment score (LAS):

i.e. Tokens with correct head and label2 Unlabeled attachment score (UAS):

i.e. Tokens with correct head3 Label accuracy (LA):

i.e. Tokens with correct label

Sabine Buchholz and Erwin Marsi. 2006. “CoNLLX shared task on Multilingual Dependency Parsing.”„ Proceedings of the 10th

Conference on Computational Natural Language Learning New York City. Association for Computational Linguistic.

(IIT Bombay) Dependency Parsing CS626 Seminar 31 / 50

Page 32: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Quantitative Analysis

Experiment conducted with 46 sentences on dependency parser (e.g.Standford, Malt, Rasp etc) and manually checked correctness of headand label output of parser.[6]

Table: Parser Evaluation

Parser Correct Sentences Incorrect SentencesStanford 67% 33%DeSR 54% 46%RASP 45% 55%MINIPAR 56% 44%MALT 63% 37%

Elisabet Comelles, Victoria Arranz, Irene Castellon 2010 “Constituency and Dependency Parsers Evaluation”, Sociedad Espanola

para el Procesamiento del Lenguaje Natural.

(IIT Bombay) Dependency Parsing CS626 Seminar 32 / 50

Page 33: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Qualitative Analysis

Identification of more than one Head[6]

Elisabet Comelles, Victoria Arranz, Irene Castellon 2010 “Constituency and Dependency Parsers Evaluation”, Sociedad Espanola

para el Procesamiento del Lenguaje Natural.

(IIT Bombay) Dependency Parsing CS626 Seminar 33 / 50

Page 34: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Qualitative Analysis (cont..)

Wrong Identification of Head[6]

Elisabet Comelles, Victoria Arranz, Irene Castellon 2010 “Constituency and Dependency Parsers Evaluation”, Sociedad Espanola

para el Procesamiento del Lenguaje Natural.

(IIT Bombay) Dependency Parsing CS626 Seminar 34 / 50

Page 35: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Qualitative Analysis (cont..)

Wrong Dependencies[6]

Elisabet Comelles, Victoria Arranz, Irene Castellon 2010 “Constituency and Dependency Parsers Evaluation”, Sociedad Espanola

para el Procesamiento del Lenguaje Natural.

(IIT Bombay) Dependency Parsing CS626 Seminar 35 / 50

Page 36: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Input data tracks

Multilingual Tracks[5]Consist of different languagesAnnotated training dataTest data

Domain Adaptation dataThe goal is to adopt annotated resources from sources domain to atarget domain of interest.Source training data: Wall Street JournalTarget data:

Biomedical abstractChemical abstract

Sabine Buchholz and Erwin Marsi. 2006. “CoNLLX shared task on Multilingual Dependency Parsing.”„ Proceedings of the 10th

Conference on Computational Natural Language Learning New York City. Association for Computational Linguistic.

(IIT Bombay) Dependency Parsing CS626 Seminar 36 / 50

Page 37: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Dependency Parser Evaluation

Observations

Data Driven parsing System, it performs worse on data that does notcome from the training domain[5]Parsing accuracy differed greatly between languages[5]LAS

Low (76.31 - 76.94%)Arabic,GreekMedium (79.19 - 80.21%)Hungarian, TurkishHigh (84.40 - 89.61%)Chines, English

Sabine Buchholz and Erwin Marsi. 2006. “CoNLLX shared task on Multilingual Dependency Parsing.”„ Proceedings of the 10th

Conference on Computational Natural Language Learning New York City. Association for Computational Linguistic.

(IIT Bombay) Dependency Parsing CS626 Seminar 37 / 50

Page 38: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Pros and Cons of Dependency Parsing

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 38 / 50

Page 39: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Pros and Cons of Dependency Parsing Word order

Word Order

Dependency structure independent of word orderSuitable for free word order languages

(IIT Bombay) Dependency Parsing CS626 Seminar 39 / 50

Page 40: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Pros and Cons of Dependency Parsing Transparency

Transparency

Direct encoding of predicate-argument structureFragments directly interpretableBut only with labeled dependency graphs

(IIT Bombay) Dependency Parsing CS626 Seminar 40 / 50

Page 41: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Pros and Cons of Dependency Parsing Expressivity

Expressivity

Limited expressivity:The Dependency tree contains one node per word and word at a timeoperation.Impossible to distinguish between phrase modification and headmodification in unlabeled dependency structure

(IIT Bombay) Dependency Parsing CS626 Seminar 41 / 50

Page 42: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Applications

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 42 / 50

Page 43: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Applications Semantic Role Labeling:

Semantic Role Labeling:

Identifying semantic arguments of the verb or predicate of a sentence.Classifying those semantic arguments to their specific semantic roles.Used in Question Answering SystemExample: MiniPar, Prague Treebank, etc.

(IIT Bombay) Dependency Parsing CS626 Seminar 43 / 50

Page 44: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Applications Semantic Role Labeling:

MINIPAR

MINIPAR is a principle-based parser.It represents its grammar as a network where the nodes representgrammatical categories and the links represent types of (dependency)relationships.Output of MINIPAR is a dependency tree: It uses the heads of thephrases to decide the governor and dependent of a dependencyrelation.MINIPAR constructs all possible parses of an input sentence, thengives as output the one with the highest probability value.

(IIT Bombay) Dependency Parsing CS626 Seminar 44 / 50

Page 45: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Applications Semantic Role Labeling:

MINIPAR(cont..)

Evaluation with the SUSANNE corpus[7]Achieves about 88% precision and 80% recall with respect todependency relationships.It parses about 300 words per second.

Lin, D. 1998. A Dependency-based Method for Evaluating Broad-Coverage Parsers. Journal of Natural Language Engineering,

p. 97â114.

(IIT Bombay) Dependency Parsing CS626 Seminar 45 / 50

Page 46: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Applications Semantic Role Labeling:

Text Mining in Biomedical domain

Goal Extracting information from statements concerning relationsof biomedical entities, such as protein-protein interactions.

Evaluation 94% dependency coverage on GENIA corpus[8]

(IIT Bombay) Dependency Parsing CS626 Seminar 46 / 50

Page 47: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Conclusion

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 47 / 50

Page 48: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

Conclusion

Conclusion

A Dependency Parsing Approach is suitable for free word orderlanguages.A Dependency Parsing Approach is applicable to many NLP andMachine Learning applications ex. Biomedical Text Mining, SemanticRole Labeling, etc.Data Driven parsing System, it performs worse on data that does notcome from the training domain[5]

(IIT Bombay) Dependency Parsing CS626 Seminar 48 / 50

Page 49: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

References

Outline

1 Motivation

2 Introduction

3 Dependency Parsing

4 Dependency Parser Evaluation

5 Pros and Cons of Dependency Parsing

6 Applications

7 Conclusion

8 References

(IIT Bombay) Dependency Parsing CS626 Seminar 49 / 50

Page 50: Dependency Parsing - Indian Institute of Technology Bombay · Dependency Parsing GaneshBhosale-09305034 NeelamadhavG.-09305045 NileshBhosale-09305070 PranavJawale-09307606 undertheguidanceof

References

References

Joakim Nivre, (2005) “Dependency Grammar and Dependency Parsing,”. Vaxjo University

Marie-Catherine de Marneffe and Christopher D. Manning. September 2008. “Stanford typed dependencies manual”

Michael A. Covington. 2001. “A Fundamental Algorithm for Dependency Parsing”, 39th Annual ACM SoutheastConference

Hiroyasu Yamada, Yuji Matsumoto, 2003. “STATISTICAL DEPENDENCY ANALYSIS WITH SUPPORT VECTORMACHINES,”, Graduate School of Information Science,.

Elisabet Comelles, Victoria Arranz, Irene Castellon 2010 “Constituency and Dependency Parsers Evaluation”, SociedadEspanola para el Procesamiento del Lenguaje Natural.

Sabine Buchholz and Erwin Marsi. 2006. “CoNLLX shared task on Multilingual Dependency Parsing.”,, Proceedings of the10th Conference on Computational Natural Language Learning New York City. Association for Computational Linguistic.

Lin, D. 1998, “A Dependency based Method for Evaluating Broad Coverage Parsers”. Journal of Natural LanguageEngineering,p. 97 to 114.

Pyysalo, S., Ginter, F., Pahikkala, T., Boberg, J., J Ìrvinen, J., and a Salakoski, T. 2006. “Evaluation of two dependencyparsers on biomedical corpus targeted at protein -protein interactions”,, International Journal of Medical Informatics,75(6):430 to 442.

Pyysalo, S., Ginter, F., Laippala, V., Haverinen, K., Heimonen, J.,and Salakoski, T. 2007. “On the unification ofsyntactic annotations under the stanford dependency scheme: A case study on BioInfer and GENIA”,, In ACL’07workshop on Biological, translational, and clinical language processing (BioNLP’07), pages 25 to 32, Prague, CzechRepublic. Association for Computational Linguistics

(IIT Bombay) Dependency Parsing CS626 Seminar 50 / 50