<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="947"/><title>Fast and Robust Multilingual Dependency Parsing with a Generative Latent Variable Model</title><author surname="Titov" givenname="Ivan"><org  name="University of Geneva" country="Switzerland" city="Geneva"/></author><author surname="Henderson" givenname="James"><org  name="University of Edinburgh" country="United Kingdom" city="Edinburgh"/></author></firstpageheader><frontmatter><p><b>Fast and Robust Multilingual Dependency Parsing with a Generative Latent Variable Model</b></p><p><b>Ivan Titov</b></p><p>University of Geneva 24, rue General Dufour CH-1211 Geneve 4, Switzerland ivan.titov@cui.unige.ch</p><p><b>James Henderson</b></p><p>University of Edinburgh 2 Buccleuch Place Edinburgh EH8 9LW, United Kingdom james.henderson@ed.ac.uk</p></frontmatter><abstract>We use a generative history-based model to predict the most likely derivation of a de­pendency parse. Our probabilistic model is based on Incremental Sigmoid Belief Net­works, a recently proposed class of la­tent variable models for structure predic­tion. Their ability to automatically in­duce features results in multilingual pars­ing which is robust enough to achieve accu­racy well above the average for each indi­vidual language in the multilingual track of the CoNLL-2007 shared task. This robust­ness led to the third best overall average la­beled attachment score in the task, despite using no discriminative methods. We also demonstrate that the parser is quite fast, and can provide even faster parsing times with­out much loss of accuracy. </abstract></header><body><section number="1" title="Introduction"><p>The multilingual track of the CoNLL-2007 shared task (Nivre et al., 2007) considers dependency pars­ing of texts written in different languages. It re­quires use of a single dependency parsing model for the entire set of languages; model parameters are estimated individually for each language on the basis of provided training sets. We use a recently proposed dependency parser (Titov and Hender­son, 2007b)<footnote anchor="1"/> which has demonstrated state-of-the-art performance on a selection oflanguages from the</p><footnote label="1">The ISBN parser will be soon made downloadable from the authors' web-page.</footnote><p>CoNLL-X shared task (Buchholz and Marsi, 2006). This parser employs a latent variable model, Incre­mental Sigmoid Belief Networks (ISBNs), to de­fine a generative history-based model of projective parsing. We used the pseudo-projective transforma­tion introduced in (Nivre and Nilsson, 2005) to cast non-projective parsing tasks as projective. Follow­ing (Nivre et al., 2006), the encoding scheme called <i>HEAD </i>in (Nivre and Nilsson, 2005) was used to en­code the original non-projective dependencies in the labels of the projectivized dependency tree. In the following sections we will briefly discuss our modi­fications to the ISBN parser, experimental setup, and achieved results.</p></section><section number="2" title="The Probability Model"><p>Our probability model uses the parsing order pro­posed in (Nivre et al., 2004), but instead of perform­ing deterministic parsing as in (Nivre et al., 2004), this ordering is used to define a generative history-based model, by adding word prediction to the <i>Shift </i>parser action. We also decomposed some parser ac­tions into sub-sequences of decisions. We split arc prediction decisions <i>(Left-Arcr </i>and <i>Right-Arcr</i>) each into two elementary decisions: first the parser cre­ates the corresponding arc, then it assigns a relation r to the arc. Similarly, we decompose the decision to shift a word into a decision to shift and a pre­diction of the word. We used part-of-speech tags and fine-grain word features, which are given in the data, to further decompose word predictions. First we predict the fine-grain part-of-speech tag for the word, then the set of word features (treating each set as an atomic value), and only then the particu-</p><p><i>Proceedings of the CoNLL Shared Task Session of EMNLP-CoNLL 2007, </i>pp. 947-951, Prague, June 2007. ©2007 Association for Computational Linguistics<page local="2" global="948"/></p><p>lar word form. This approach allows us to both de­crease the effect of sparsity and to avoid normaliza­tion across all the words in the vocabulary, signifi­cantly reducing the computational expense of word prediction. When conditioning on words, we treated each word feature individually, as this proved to be useful in (Titov and Henderson, 2007b).</p><p>The probability of each parser decision, condi­tioned on the complete parse history, is modeled using a form a graphical model called Incremental Sigmoid Belief Networks. ISBNs, originally pro­posed for constituent parsing in (Titov and Hender­son, 2007a), use vectors of binary latent variables to encode information about the parse history. These history variables are similar to the hidden state of a Hidden Markov Model. But unlike the graphi­cal model for an HMM, which would specify con­ditional dependency edges only between adjacent states in the parse history, the ISBN graphical model can specify conditional dependency edges between latent variables which are arbitrarily far apart in the parse history. The source state of such an edge is determined by the partial parse structure built at the time of the destination state, thereby allowing the conditional dependency edges to be appropriate for the structural nature of the parsing problem. In par­ticular, they allow conditional dependencies to be local in the parse structure, not just local in the his­tory sequence. In this they are similar to the class of neural networks proposed in (Henderson, 2003) for constituent parsing. In fact, in (Titov and Hen­derson, 2007a) it was shown that this neural network can be viewed as a coarse approximation to the cor­responding ISBN model.</p><p>Traditional statistical parsing models also condi­tion on features which are local in the parse struc­ture, but these features need to be explicitly defined before learning, and require careful feature selec­tion. This is especially difficult for languages un­known to the parser developer, since the number of possible features grows exponentially with the struc­tural distance considered.</p><p>The ISBN model uses an alternative approach, where latent variables are used to induce features during learning. The most important problem in de­signing an ISBN is to define an appropriate struc­tural locality for each parser decision. This is done by choosing a fixed set of relationships between parser states, where the information which is needed to make the decision at the earlier state is also use­ful in making the decision at the later state. The la­tent variables for these related states are then con­nected with conditional dependency edges in the ISBN graphical model. Longer conditional depen­dencies are then possible through chains ofthese im­mediate conditional dependencies, but there is an in­ductive bias toward shorter chains. This bias makes it important that the set of chosen relationships de­fines an appropriate notion of locality. However, as long as there exists some chain of relationships between any two states, then any statistical depen­dency which is clearly manifested in the data can be learned, even if it was not foreseen by the designer. This provides a potentially powerful form of feature induction, which is nonetheless biased toward a no­tion of locality appropriate for the nature of the prob­lem.</p><p>In our experiments we use the same definition of structural locality as was proposed for the ISBN de­pendency parser in (Titov and Henderson, 2007b). The current state is connected to previous states us­ing a set of 7 distinct relationships defined in terms of each state's parser configuration, which includes of a stack and a queue. Specifically, the current state is related to the last previous state whose parser con­figuration has: the same queue, the same stack, a stack top which is the rightmost right child of the current stack top, a stack top which is the leftmost left child of the current stack top, a front of the queue which is the leftmost child of the front of the cur­rent queue, a stack top which is the head word of the current stack top, a front of the queue which is the current stack top. Different model parameters are trained for each of these 7 types of relationship, but the same parameters are used everywhere in the graphical model where the relationship holds.</p><p>Each latent variable in the ISBN parser is also conditionally dependent on a set of explicit features of the parsing history. As long as these explicit fea­tures include all the new information from the last parser decision, the performance of the model is not very sensitive to this design choice. We used the base feature model defined in (Nivre et al., 2006) for all the languages but Arabic, Chinese, Czech, and Turkish. For Arabic, Chinese, and Czech, we used the same feature models used in the CoNLL-X shared task by (Nivre et al., 2006), and for Turkish we used again the base feature model but extended it with a single feature:<page local="3" global="949"/> the part-of-speech tag of the token preceding the current top of the stack.</p></section><section number="3" title="Parsing"><p>Exact inference in ISBN models is not tractable, but effective approximations were proposed in (Titov and Henderson, 2007a). Unlike (Titov and Hender­son, 2007b), in the shared task we used only the simplest feed-forward approximation, which repli­cates the computation of a neural network of the type proposed in (Henderson, 2003). We would expect better performance with the more accurate approxi­mation based on variational inference proposed and evaluated in (Titov and Henderson, 2007a). We did not try this because, on larger treebanks it would have taken too long to tune the model with this bet­ter approximation, and using different approxima­tion methods for different languages would not be compatible with the shared task rules.</p><p>To search for the most probable parse, we use the heuristic search algorithm described in (Titov and Henderson, 2007b), which is a form of beam search. In section 4 we show that this search leads to quite efficient parsing.</p><p>To overcome a minor shortcoming of the pars­ing algorithm of (Nivre et al., 2004) we introduce a simple language independent post-processing step. Nivre's parsing algorithm allows unattached nodes to stay on the stack at the end of parsing, which is reasonable for treebanks with unlabeled attachment to root. However, this sometimes happens with lan­guages where only labeled attachment to root is al­lowed. In these cases (only 35 tokens in Greek, 17 in Czech, 1 in Arabic, on the final testing set) we attached them using a simple rule: if there are no tokens in the sentence attached to root, then the con­sidered token is attached to root with the most fre­quent root-attachment relation used for its part-of-speech tag. If there are other root-attached tokens in the sentence, it is attached to the next root-attached token with the most frequent relation. Preference is given to the most frequent attachment direction for its part-of-speech tag. This rule guarantees that no loops are introduced by the post-processing.</p></section><section number="4" title="Experiments"><p>We evaluated the ISBN parser on all the languages considered in the shared task (Hajic et al., 2004; Aduriz et al., 2003; Marti et al., 2007; Chen et al., 2003; Bohmova et al., 2003; Marcus et al., 1993; Johansson and Nugues, 2007; Prokopidis et al., 2005; Csendes et al., 2005; Montemagni et al., 2003; Oflazer et al., 2003). ISBN models were trained using a small development set taken out from the training set, which was used for tuning learn­ing and decoding parameters, for early stopping and very coarse feature engineering.<footnote anchor="2"/> The sizes of the development sets were different: starting from less than 2,000 tokens for smaller treebanks to 5,000 to­kens for the largest one. The relatively small sizes of the development sets limited our ability to per­form careful feature selection, but this should not have significantly affected the model performance, as discussed in section 2.<footnote anchor="3"/> We used frequency cut­offs: we ignored any property (word form, lemma, feature) which occurs in the training set less than a given threshold. We used a threshold of 20 for Greek and Chinese and a threshold of 5 for the rest. Because cardinalities of each of these sets (sets of word forms, lemmas and features) effect the model efficiency, we selected the larger threshold when val­idation results with the smaller threshold were com­parable. For the ISBN latent variables, we used vec­tors of length 80, based on our previous experience.</p><p>Results on the final testing set are presented in ta­ble 1. The model achieves relatively high scores on each individual language, significantly better than each average result in the shared task. This leads to the third best overall average results in the shared task, both in average labeled attachment score and in average unlabeled attachment score. The absolute error increase in labeled attachment score over the best system is only 0.4%. We attribute ISBN's suc­cess mainly to its ability to automatically induce fea­tures, as this significantly reduces the risk of omit­ting any important highly predictive features. This makes an ISBN parser a particularly good baseline when considering a new treebank or language, be-<page local="4" global="950"/></p><footnote label="2">We plan to make all the learning and decoding parameters available on our web-page.</footnote><footnote label="3">Use of cross-validation with our model is relatively time-consuming and, thus, not quite feasible for the shared task.</footnote><p>Table 1: Labeled attachment score (LAS) and unlabeled attachment score (UAS) on the final testing sets cause it does not require much effort in feature en­gineering. As was demonstrated in (Titov and Hen­derson, 2007b), even a minimal set of local explicit features achieves results which are non-significantly different from a carefully chosen set of explicit fea­tures, given the language independent definition of locality described in section 2.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&lt;</doubt><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">e graer</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">&gt; &lt;</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">S1</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">80.5</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">SG</doubt><doubt alpha="0.0" length="12" tooSmall="False" monospace="0.0">79.5 79 78.5</doubt><doubt alpha="63.7" length="212" tooSmall="False" monospace="0.0">0     20     40    60    80    100   120 140 Parsing Time per Token, msFigure 1:  Average labeled attachment score on Basque, Chinese, English, and Turkish development sets as a function of parsing time per token</doubt><p>It is also important to note that the model is quite efficient. Figure 1 shows the tradeoff be­tween accuracy and parsing time as the width of the search beam is varied, on the development set. This curve plots the average labeled attachment score over Basque, Chinese, English, and Turkish as a function of parsing time per token.<footnote anchor="4"/> Accuracy of only 1% below the maximum can be achieved with average processing time of 17 ms per token, or 60 tokens per second.<footnote anchor="5"/></p><p>We also refer the reader to (Titov and Henderson, 2007b) for more detailed analysis of the ISBN de­pendency parser results, where, among other things, it was shown that the ISBN model is especially ac­curate at modeling long dependencies.</p><footnote label="4">A piecewise-linear approximation for each individual lan­guage was used to compute the average. Experiments were run on a standard 2.4 GHz desktop PC.</footnote><footnote label="5">For Basque, Chinese, and Turkish this time is below 7 ms, but for English it is 38 ms. English, along with Catalan, required the largest beam across all 10 languages. Note that accuracy in the lowest part of the curve can probably be improved by vary­ing latent vector size and frequency cut-offs. Also, efficiency was not the main goal during the implementation of the parser, and it is likely that a much faster implementation is possible.</footnote></section><section number="5" title="Conclusion"><p>We evaluated the ISBN dependency parser in the multilingual shared task setup and achieved com­petitive accuracy on every language, and the third best average score overall. The proposed model re­quires minimal design effort because it relies mostly on automatic feature induction, which is highly de­sirable when using new treebanks or languages. The parsing time needed to achieve high accuracy is also quite small, making this model a good candidate for use in practical applications.</p><p>The fact that our model defines a probability model over parse trees, unlike the previous state-of-the-art methods (Nivre et al., 2006; McDonald et al., 2006), makes it easier to use this model in ap­plications which require probability estimates, such as in language processing pipelines or for language modeling. Also, as with any generative model, it should be easy to improve the parser's accu­racy with discriminative reranking, such as discrim­inative retraining techniques (Henderson, 2004) or data-defined kernels (Henderson and Titov, 2005), with or even without the introduction of any addi­tional linguistic features.</p></section><section title="Acknowledgments"><p>This work was funded by Swiss NSF grant 200020­109685, UK EPSRC grant EP/E019501/1, and EU FP6 grant 507802 for project TALK.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Ara</p></td><td class="cell"><p>Bas</p></td><td class="cell"><p>Cat</p></td><td class="cell"><p>Chi</p></td><td class="cell"><p>Cze</p></td><td class="cell"><p>Eng</p></td><td class="cell"><p>Gre</p></td><td class="cell"><p>Hun</p></td><td class="cell"><p>Ita</p></td><td class="cell"><p>Tur</p></td><td class="cell"><p><b>Ave</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LAS</p></td><td class="cell"><p>74.1</p></td><td class="cell"><p>75.5</p></td><td class="cell"><p>S7.4</p></td><td class="cell"><p>S2.1</p></td><td class="cell"><p>77.9</p></td><td class="cell"><p>SS.4</p></td><td class="cell"><p>73.5</p></td><td class="cell"><p>77.9</p></td><td class="cell"><p>S2.3</p></td><td class="cell"><p>79.S</p></td><td class="cell"><p><b>79.90</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UAS</p></td><td class="cell"><p>S3.2</p></td><td class="cell"><p>S1.9</p></td><td class="cell"><p>93.4</p></td><td class="cell"><p>S7.9</p></td><td class="cell"><p>S4.2</p></td><td class="cell"><p>S9.7</p></td><td class="cell"><p>S1.2</p></td><td class="cell"><p>S2.2</p></td><td class="cell"><p>S6.3</p></td><td class="cell"><p>S6.2</p></td><td class="cell"><p><b>85.62</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>A. Abeille, editor. 2003. <i>Treebanks: Building and Using Parsed Corpora. </i>Kluwer.</p><p>I. Aduriz, M. J. Aranzabe, J. M. Arriola, A. Atutxa, A. Diaz de Ilarraza, A. Garmendia, and M. Oronoz. 2003. Construction of a Basque dependency treebank.</p><p>In <i>Proc. of the 2nd Workshop on Treebanks and Lin­guistic Theories (TLT), </i>pages 201-204.</p><p>A. Bohmovâ, J. HajiC, E. HajiCova, andB. Hladkâ. 2003. The PDT: a 3-level annotation scenario. In Abeille (Abeille, 2003), chapter 7, pages 103-127.</p><page local="5" global="951"/><p>Sabine Buchholz and Erwin Marsi. 2006. CoNLL-X shared task on multilingual dependency parsing. In <i>Proc.</i><i> of the Tenth Conference on Computational Nat­ural Language Learning, </i>New York, USA.</p><p>K. Chen, C. Luo, M. Chang, F. Chen, C. Chen, C. Huang, and Z. Gao. 2003. Sinica treebank: Design criteria, representational issues and implementation. In Abeille (Abeille, 2003), chapter 13, pages 231-248.</p><p>D. Csendes, J. Csirik, T. Gyimothy, and A. Kocsor. 2005.</p><p><i>The Szeged Treebank. </i>Springer.</p><p>J. Hajic, O. SmrZ, P. Zemanek, J. Snaidauf, andE. Beska. 2004. Prague Arabic dependency treebank: Develop­ment in data and tools. In <i>Proc. ofthe NEMLAR In­tern. Conf. on Arabic Language Resources and Tools, </i>pages 110-117.</p><p>James Henderson and Ivan Titov. 2005. Data-defined kernels for parse reranking derived from probabilis­tic models. In <i>Proc. 43rd Meeting of Association for Computational Linguistics, </i>Ann Arbor, MI.</p><p>James Henderson. 2003. Inducing history representa­tions for broad coverage statistical parsing. In <i>Proc. joint meeting ofNorth American Chapter ofthe Asso­ciation for Computational Linguistics and the Human Language Technology Conf, </i>pages 103-110, Edmon­ton, Canada.</p><p>James Henderson. 2004. Discriminative training of a neural network statistical parser. In <i>Proc. 42nd Meeting ofAssociation for Computational Linguistics, </i>Barcelona, Spain.</p><p>R. Johansson and P. Nugues. 2007. Extended constituent-to-dependency conversion for English. In <i>Proc.</i><i> of the 16th Nordic Conference on Computational Linguistics (NODALIDA).</i></p><p>M. Marcus, B. Santorini, and M. Marcinkiewicz. 1993. Building a large annotated corpus ofEnglish: the Penn Treebank. <i>Computational Linguistics, </i>19(2):313-330.</p><p>M. A. Marti, M. Taule, L. Marquez, and M. Bertran.</p><p>2007.   CESS-ECE: A multilingual and multilevel annotated corpus. Available for download from: http://www.lsi.upc.edu/~mbertran/cess-ece/.</p><p>Ryan McDonald, Kevin Lerman, and Fernando Pereira. 2006. Multilingual dependency analysis with a two-stage discriminative parser. In <i>Proc. ofthe Tenth Con­ference on Computational Natural Language Learn­ing, </i>New York, USA.</p><p>S. Montemagni, F. Barsotti, M. Battista, N. Calzolari, O. Corazzari, A. Lenci, A. Zampolli, F. Fanciulli, M. Massetani, R. Raffaelli, R. Basili, M. T. Pazienza, D. Saracino, F. Zanzotto, N. Nana, F. Pianesi, and</p><p>R. Delmonte. 2003. Building the Italian Syntactic-Semantic Treebank. In Abeille (Abeille, 2003), chap­ter 11, pages 189-210.</p><p>Joakim Nivre and Jens Nilsson. 2005. Pseudo-projective dependency parsing. In <i>Proc. 43rd Meeting of Asso­ciation for Computational Linguistics, </i>pages 99-106, Ann Arbor, MI.</p><p>Joakim Nivre, Johan Hall, and Jens Nilsson. 2004. Memory-based dependency parsing. In <i>Proc. </i><i>ofthe</i><i> Eighth Conference on Computational Natural Lan­guage Learning, </i>pages 49-56, Boston, USA.</p><p>Joakim Nivre, Johan Hall, Jens Nilsson, Gulsen Eryigit, and Svetoslav Marinov. 2006. Pseudo-projective de­pendency parsing with support vector machines. In <i>Proc.</i><i> </i><i>ofthe</i><i> Tenth Conference on Computational Nat­ural Language Learning, </i>pages 221-225, New York,</p><p>USA.</p><p>J. Nivre, J. Hall, S. Kubler, R. McDonald, J. Nils-son, S. Riedel, and D. Yuret. 2007. The CoNLL 2007 shared task on dependency parsing. In <i>Proc. of the CoNLL 2007 Shared Task. Joint Conf. on Em­pirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-</i> <i>CoNLL).</i><i></i></p><p>K. Oiazer, B. Say, D. Zeynep Hakkani-T ur, and G. Tiir. 2003. Building a Turkish treebank. In Abeille (Abeille, 2003), chapter 15, pages 261-277.</p><p>P. Prokopidis, E. Desypri, M. Koutsombogera, H. Papa-georgiou, and S. Piperidis. 2005. Theoretical and practical issues in the construction of a Greek depen­dency treebank. In <i>Proc. of the 4th Workshop on Tree-banks and Linguistic Theories (TLT), </i>pages 149-160.</p><p>Ivan Titov and James Henderson. 2007a. Constituent parsing with incremental sigmoid belief networks. In <i>Proc.</i><i> 45th Meeting of Association for Computational Linguistics (ACL), </i>Prague, Czech Republic.</p><p>Ivan Titov and James Henderson. 2007b. A latent vari­able model for generative dependency parsing. In <i>Proc. 10th Int. Conference on Parsing Technologies (IWPT), </i>Prague, Czech Republic.</p></references></body></article>