<?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="1234"/><title>Exact Inference for Generative Probabilistic Non-Projective Dependency Parsing</title><pubinfo>Proceedings of the 2011 Conference on EmpiricalMethodsin NaturalLanguage Processing,pages 1234—1245, Edinburgh, Scotland, UK, July 27—3l, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Cohen" givenname="Shay B."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Gómez-Rodríguez" givenname="Carlos"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Satta" givenname="Giorgio"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>Exact Inference for Generative Probabilistic Non-Projective Dependency Parsing</b></p><p><b>Shay B. Cohen Carlos Gomez-Rodriguez</b></p><p>Departamento de Computation Universidade da Coruna, Spain</p><p>cgomezr@udc.es</p><p>School of Computer Science Carnegie Mellon University, USA</p><p>scohen@cs.cmu.edu</p></frontmatter><abstract>We describe a generative model for non-projective dependency parsing based on a sim­plified version of a transition system that has recently appeared in the literature. We then develop a dynamic programming parsing al­gorithm for our model, and derive an inside-outside algorithm that can be used for unsu-pervised learning of non-projective depend­ency trees. </abstract></header><body><section number="1" title="Introduction"><p><b>Giorgio Satta</b></p><p>Dept. of Information Engineering University of Padua, Italy</p><footnote>satta@dei.unipd.it</footnote><p>In this paper we move one step forward with re­spect to Huang and Sagae (2010) and Kuhlmann et al. (2011) and present a polynomial dynamic pro­gramming algorithm for non-projective transition-based parsing. Our algorithm is coupled with a simplified version of the transition system from At-tardi (2006), which has high coverage for the type of non-projective structures that appear in various treebanks. Instead of an additional transition oper­ation which permits swapping of two elements in the stack (Titov et al., 2009; Nivre, 2009), Attardi's system allows reduction of elements at non-adjacent positions in the stack. We also present a <i>generat­</i><i></i><i>ive</i><i> </i>probabilistic model for transition-based parsing. The implication for this, for example, is that one can now approach the problem of unsupervised learning of non-projective dependency structures within the transition-based framework.</p><p>Dynamic programming algorithms for non-projective parsing have been proposed by Kahane et al. (1998), Gomez-Rodriguez et al. (2009) and Kuhl­mann and Satta (2009), but they all run in exponen­tial time in the 'gap degree' of the parsed structures. To the best of our knowledge, this paper is the first to programming has been successfully used for pro-jective parsing (Huang and Sagae, 2010; Kuhlmann et al., 2011). Dynamic programming algorithms for parsing (also known as chart-based algorithms) al­low polynomial space representations of all parse trees for a given input string, even in cases where the size of this set is exponential in the length of the string itself. In combination with appropriate semirings, these packed representations can be ex­ploited to compute many values of interest for ma­ chine learning, such as best parses and feature ex­pectations (Goodman, 1999; Li and Eisner, 2009).</p><p>Dependency grammars have receivedattention in the statistical parsing crecent years. These grammatical fofer a good balance between structurity and processing efficiency. Most nnon-projectivity is supported, these fomodel crossing syntactic relations thatlanguages with relatively free word ord</p><p>Recent work has reduced non-projeto the identification of a maximum spangraph (McDonald et al., 2005; Koo et aDonald and Satta, 2007; Smith and S</p><p>An alternative to this approach is to ubased parsing (Yamada and Matsumotoand Nilsson, 2005; Attardi, 2006;Gomez-Rodriguez and Nivre, 2010), wan incremental processing of a stringthat scores transitions between parsertioned on the parse history. This papthe latter approach.</p><p>The above work on transition-basefocused on greedy algorithms set inframework (Nivre, 2008). More recen introduce a dynamic programming algorithm for in­ference with non-projective structures of unbounded gap degree.<page local="2" global="1235"/></p><p>The rest of this paper is organized as follows. In §2 and §3 we outline the transition-based model we use, together with a probabilistic generative inter­pretation. In §4 we give the tabular algorithm for parsing, and in §5 we discuss statistical inference using expectation maximization. We then discuss some other aspects of the work in §6 and conclude in §7.</p></section><section number="2" title="Transition-based Dependency Parsing"><p>In this section we briefly introduce the basic defini­tions for transition-based dependency parsing. For a more detailed presentation of this subject, we refer the reader to Nivre (2008). We then define a spe­cific transition-based model for non-projective de­pendency parsing that we investigate in this paper.</p><subsection number="2.1" title="General Transition Systems"><p>Assume an input alphabet E with a special symbol $ G E, which we use as the root of our parse struc­tures. Throughout this paper we denote the input string as <i>w</i><i> </i><i>=</i><i> </i><i>a0</i><i> </i>• • • an-1, <i>n</i><i> </i>&gt; 1, where <i>a0</i><i> </i><i>=</i><i> </i><i>$</i><i> </i>and <i>ai</i><i> </i>G E \ {$} for each i with 1 &lt; <i>i</i><i> </i>&lt; <i>n</i><i> </i><i>—</i><i> </i>1.</p><p>A <b>dependency tree </b>for w is a directed tree <i>Gw = (Vw, </i><i>Aw</i>), where <i>Vw</i><i> </i><i>=</i><i> </i>{0,..., n — 1} is the set of nodes, and Aw ç Vw x <i>Vw</i><i> </i>is the set of arcs. The root of <i>G</i>w is the node 0. The intended meaning is that each node in <i>V</i>w encodes the position of a token in <i>w. </i>Furthermore, each arc in <i>A</i>w encodes a dependency relation between two tokens. We write i — j to denote a directed arc (i, j<i>) </i>G Aw, where node i is the head and node j is the dependent.</p><p>A <b>transition system </b>(for dependency parsing) is a tuple <i>S = (C, </i>T, I, <i>C</i><i>t)</i>, where C is a set of configur­ations, defined below, T is a finite set of <b>transitions, </b>which are partial functions <i>t: C — C</i>, I is a total initialization function mapping each input string to a unique initial configuration, and Ct ç C is a set of terminal configurations.</p><p>A <b>configuration </b>is defined relative to some input string w, and is a triple <i>(a,ß,A), </i>where <i>a </i>and ß are disjoint lists called <b>stack </b>and <b>buffer, </b>respectively, and <i>A </i>ç <i>V</i>w x <i>V</i>w is a set of arcs. Elements of <i>a </i>and <i>ß </i>are nodes from <i>V</i>w and, in the case of the stack, a special symbol &lt;: that we will use as initial stack symbol. If t is a transition and <i>c1,</i><i> </i><i>c2</i><i> </i>are con­figurations such that t(ci) = c2, we write ci ht c2, or simply c1 h c2 if t is understood from the context.</p><p>Given an input string <i>w, </i>a parser based on <i>S </i>in­crementally processes <i>w </i>from left to right, starting in the initial configuration I(w). At each step, the parser nondeterministically applies one transition, or else it stops if it has reached some terminal config­uration. The dependency graph defined by the arc set associated with a terminal configuration is then returned as one possible analysis for w.</p><p>Formally, a <b>computation </b>of S is a sequence 7 = c0,..., cm, <i>m &gt; </i>1, of configurations such that, for every i with 1 &lt; i &lt; m, ci-1 hti ci for some ti G T. In other words, each configuration in a computa­tion is obtained as the value of the preceding con­figuration under some transition. A computation is called <b>complete </b>whenever co = I(w) for some in­put string w, and cm G Ct.</p><p>We can view a transition-based dependency parser as a device mapping strings into graphs (de­pendency trees). Without any restriction on trans­ition functions in T, these functions might have an infinite domain, and could thus encode even non-recursively enumerable languages. However, in standard practice for natural language parsing, trans­itions are always specified by some finite mean. In particular, the definition of each transition depends on some finite window at the top of the stack and some finite window at the beginning of the buffer in each configuration. In this case, we can view a transition-based dependency parser as a notational variant of a push-down transducer (Hopcroft et al., 2000), whose computations output sequences that directly encode dependency trees. These transducers are nondeterministic, meaning that several trans­itions can be applied to some configurations. The transition systems we investigate in this paper fol­low these principles.</p><p>We close this subsection with some additional notation. We denote the stack with its topmost ele­ment to the right and the buffer with its first ele­ment to the left. We indicate concatenation in the stack and buffer by a vertical bar. For example, for <i>k</i><i> </i>G <i>Vw,</i><i> a\k </i>denotes some stack with topmost ele­ment <i>k </i>and k\ß denotes some buffer with first ele­ment k. For 0 &lt; i &lt; n — 1, ßi denotes the buffer [i, i + 1,.<page local="3" global="1236"/>.., n — 1]; for i &gt; n, ßi denotes [] (the empty buffer).</p></subsection><subsection number="2.2" title="A Non-projective Transition System"><p>We now turn to give a description of our trans­ition system for non-projective parsing. While a projective dependency tree satisfies the requirement that, for every arc in the tree, there is a direc­ted path between its headword and each of the words between the two endpoints of the arc, a non-projective dependency tree may violate this condi­tion. Even though some natural languages exhibit syntactic phenomena which require non-projective expressive power, most often such a resource is used in a limited way.</p><p>This idea is demonstrated by Attardi (2006), who proposes a transition system whose individual trans­itions can deal with non-projective dependencies only to a limited extent, depending on the distance in the stack of the nodes involved in the newly con­structed dependency. The author defines this dis­tance as the <b>degree </b>of the transition, with transitions of degree one being able to handle only projective dependencies. This formulation permits parsing a subset of the non-projective trees, where this subset depends on the degree of the transitions. The repor­ted coverage in Attardi (2006) is already very high when the system is restricted to transitions of degree two or three. For instance, on training data for Czech containing 28,934 non-projective relations, 27,181 can be handled by degree two transitions, and 1,668 additional dependencies can be handled by degree three transitions. Table 1 gives additional statistics for treebanks from the CoNLL-X shared task (Buch­holz and Marsi, 2006).</p><p>We now turn to describe our variant of the trans­ition system of Attardi (2006), which is equivalent to the original system restricted to transitions of degree two. Our results are based on such a restriction. It is not difficult to extend our algorithms (§4) to higher degree transitions, but this comes at the expense of higher complexity. See §6 for more discussion on this issue.</p><p>Let w = <i>a0</i><i> </i>• • • <i>an-1</i><i> </i>be an input string over E defined as in §2.1, with <i>a0</i><i> </i>= $. Our transition sys­tem for non-projective dependency parsing is</p><doubt alpha="46.7" length="30" tooSmall="False" monospace="0.0">S(np)=(C, T(np),I(np),Ct(np)),</doubt><p>Table 1: The number of non-projective relations of vari­ous degrees for several treebanks (training sets), as repor­ted by the parser of Attardi (2006). Deg. stands for 'de­gree.' The parser did not detect non-projective relations of degree higher than 4.</p><p>where C is the same set of configurations defined in §2.1. The initialization function I(np) maps each string w to the initial configuration ([&lt;:], ß0, 0). The set of terminal configurations Ct(np) contains all con­figurations of the form ([&lt;:, 0], [], A), for any set of arcs A.</p><p>The set of transition functions is defined as where each transition is specified below. We let vari­ables i, j, k, l range over V«, and variable a is a list of stack elements from Vw U {&lt;:}:</p><doubt alpha="57.1" length="35" tooSmall="False" monospace="0.0">T(np)={shb\bGE} U{lai,rai,la2,ra2},</doubt><doubt alpha="52.1" length="96" tooSmall="False" monospace="0.0">shb:(a,k\ß,A)h(a\k,ß,A)ifafc=b;lai:(a\i\j,ß,A)h(a\j,ß,AU {j—i});rai:(a\i\j,ß,A)h(a\i,ß,AU{i—j});</doubt><doubt alpha="39.5" length="43" tooSmall="False" monospace="0.0">la2:(a\i\j\ k, ß, A)h(a\ j\ k, ß, AU{k—i});</doubt><p><b>ra</b>2 :   (a\i\j\k,ß,A) h (a\i\j,ß,A U {i — k}).</p><p>Each of the above transitions is undefined on config­urations that do not match the forms specified above. As an example, transition <b>la2 </b>is not defined for a configuration (a, ß, A) with \a\ &lt; 2, and transition <b>shb </b>is not defined for a configuration (a, k\ß, A) with b = ak, or for a configuration (a, [], A).</p><p>Transition <b>sh</b>b removes the first node from the buf­fer, in case this node represents symbol b G E, and pushes it into the stack.<page local="4" global="1237"/> These transitions are called <b>shift </b>transitions. The remaining four trans­itions are called <b>reduce </b>transitions, i.e., transitions that consume nodes from the stack. Notice that in the transition system at hand all the reduce trans­itions decrease the size of the stack by one ele­ment. Transition lai creates a new arc with the top­most node on the stack as the head and the second-topmost node as the dependent, and removes the latter from the stack. Transition rai is symmetric with respect to lai. Transitions lai and rai have degree one, as already explained. When restricted to these three transitions, the system is equivalent to the so-called stack-based arc-standard model of Nivre (2004). Transition la2 and transition ra2 are very similar to lai and rai, respectively, but with the difference that they create a new arc between the topmost node in the stack and a node which is two positions below the topmost node. Hence, these transitions have degree two, and are the key com­ponents in parsing of non-projective dependencies.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Language</p></td><td class="cell"><p>Deg. 2</p></td><td class="cell"><p>Deg. 3</p></td><td class="cell"><p>Deg. 4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Arabic</p></td><td class="cell"><p>180</p></td><td class="cell"><p>21</p></td><td class="cell"><p>7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bulgarian</p></td><td class="cell"><p>961</p></td><td class="cell"><p>41</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Czech</p></td><td class="cell"><p>27181</p></td><td class="cell"><p>1668</p></td><td class="cell"><p>85</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Danish</p></td><td class="cell"><p>876</p></td><td class="cell"><p>136</p></td><td class="cell"><p>53</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dutch</p></td><td class="cell"><p>9072</p></td><td class="cell"><p>2119</p></td><td class="cell"><p>171</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>German</p></td><td class="cell"><p>15827</p></td><td class="cell"><p>2274</p></td><td class="cell"><p>466</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Japanese</p></td><td class="cell"><p>1484</p></td><td class="cell"><p>143</p></td><td class="cell"><p>9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Portuguese</p></td><td class="cell"><p>3104</p></td><td class="cell"><p>424</p></td><td class="cell"><p>37</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Slovene</p></td><td class="cell"><p>601</p></td><td class="cell"><p>48</p></td><td class="cell"><p>13</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Spanish</p></td><td class="cell"><p>66</p></td><td class="cell"><p>7</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Swedish</p></td><td class="cell"><p>1566</p></td><td class="cell"><p>226</p></td><td class="cell"><p>79</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Turkish</p></td><td class="cell"><p>579</p></td><td class="cell"><p>185</p></td><td class="cell"><p>8</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></tr></table><p>We turn next to describe the equivalence between our system and the system in Attardi (2006). The transition-based parser presented by Attardi pushes back into the buffer elements that are in the top pos­ition of the stack. However, a careful analysis shows that only the first position in the buffer can be af­fected by this operation, in the sense that elements that are pushed back from the stack are never found in buffer positions other than the first. This means that we can consider the first element of the buffer as an additional stack element, always sitting on the top of the top-most stack symbol.</p><p>More formally, we can define a function mc : C — C that maps configurations in the original al­gorithm to those in our variant as follows:</p><doubt alpha="43.5" length="23" tooSmall="False" monospace="0.0">mc((a,k\ß,A))=(a\k,ß,A)</doubt><p>By applying this mapping to the source and target configuration of each transition in the original sys­tem, it is easy to check that c1 h c2 in that parser if and only if mc(c1) h mc(c2) in our variant. We ex­tend this and define an isomorphism between com­putations in both systems, such that a computation c0, . . . , cm in the original parser is mapped to a com­putation mc(c0), . . . , mc(cm) in the variant, with both generating the same dependency graph A. This proves that our notational variant is in fact equival­ent to Attardi's parser.</p><doubt alpha="8.7" length="46" tooSmall="False" monospace="0.0">1       2        3        •••     2n-2 2n-1'In</doubt><figure caption="Figure 1: A dependency structure of arbitrary gap degree that can be parsed with Attardi's parser."></figure><p>A relevant property of the set of dependency structures that can be processed by Attardi's parser, even when restricted to transitions of degree two, is that the number of discontinuities present in each of their subtrees, defined as the <b>gap degree </b>by Bod-irsky et al. (2005), is not bounded. For example, the dependency graph in Figure 1 has gap degree n — 1 , and it can be parsed by the algorithm for any arbit­rary n &gt; 1 by applying 2n shb transitions to push all the nodes into the stack, followed by (2n — 2) ra2 transitions to create the crossing arcs, and finally one rai transition to create the dependency 1 — 2.</p><p>As mentioned in §1, the computational complex­ity of the dynamic programming algorithm that will be described in later sections does not depend on the gap degree, contrary to the non-projective depend­ency chart parsers presented by Gomez-Rodriguez et al. (2009) and by Kuhlmann and Satta (2009), whose running time is exponential in the maximum gap de­gree allowed by the grammar.</p></subsection></section><section number="3" title="A Generative Probabilistic Model"><p>In this section we introduce a generative probabil­istic model based on the transition system of §2.2. In formal language theory, there is a standard way of giving a probabilistic interpretation to a non-deterministic parser whose computations are based on sequences of elementary operations such as trans­itions. The idea is to define conditional probability distributions over instances of the transition func­tions, and to 'combine' these probabilities to assign probabilities to computations and strings.</p><p>One difficulty we have to face with when dealing with transition systems is that the notion of compu­tation, defined in §2.1, depends on the input string, because of the buffer component appearing in each configuration. This is a pitfall to generative modeling, where we are interested in a system whose com­putations lead to the <i>generation</i><i> </i>of any string.<page local="5" global="1238"/> To overcome this problem, we observe that each com­putation, defined as a sequence of stacks and buffers (the configurations) can equivalently be expressed as a sequence of stacks and transitions.</p><p>More precisely, consider a computation 7 = co,..., cm, m &gt; 1. Let be the stack associated with cj, for each i with 0 &lt; i &lt; m. Let also <i>Ca</i><i> </i>be the set of all stacks associated with configurations in C. We can make explicit the transitions that have been used in the computation by rewriting 7 in the form co htl C1 • • • cm_1 htm cm. In this way, 7 generates a string that is composed by all symbols that are pushed into the stack by transitions <b>shb, </b>in the left to right order.</p><p>We can now associate a probability to (our repres­entation of) sequence 7 by setting</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">m</doubt><doubt alpha="20.0" length="10" tooSmall="False" monospace="0.0">p(7)=n\(1)</doubt><p>To assign probabilities to complete computations we should further multiply p(y) by factors ps(a0) and Pe(cm), where <i>ps</i><i> </i>and pe are start and end probabil­ity distributions, respectively, both defined over <i>Ca</i>. Note however that, as defined in §2.2, all initial con­figurations are associated with stack [&lt;:] and all final configurations are associated with stack [&lt;:, 0], thus <i>ps</i><i> </i>and pe are deterministic. Note that the Markov chain represented in Eq. 1 is <i>homogeneous,</i><i> </i>i.e., the probabilities of the transition operations do not de­pend on the time step.</p><p>As a second step we observe that, according to the definition of transition system, each t G T has an in­finite domain. A commonly adopted solution is to introduce a special function, called <b>history </b>function and denoted by H, defined over the set <i>Ca</i><i> </i>and tak­ing values over some finite set. For each t G T and a, a' G <i>Ca</i>, we then impose the condition whenever H (a) = H (a'). Since H is finitely val­ued, and since T is a finite set, the above condition guarantees that there will only be a finite number of parameters p(t \ a) in our model.</p><doubt alpha="37.5" length="16" tooSmall="False" monospace="0.0">p(t\a) = p(t\a')</doubt><p>So far we have presented a general discussion of how to turn a transition-based parser into a gener­ative probabilistic model, and have avoided further specification of the history function. We now turn our attention to the non-projective transition system of §2.2. To actually transform that system into a parametrized probabilistic model, and to develop an associated efficient inference procedure as well, we need to balance between the amount of information we put into the history function and the computa­tional complexity which is required for inference.</p><p>We start the discussion with a naive model using a history function defined by a fixed size window over the topmost portion of the stack. More precisely, each transition is conditioned on the lexical form of the three symbols at the top of the stack a, indic­ated as 63,62,61^ G E below, with b1 referring to the topmost symbol. The parameters of the model are defined as follows.</p><doubt alpha="31.8" length="22" tooSmall="False" monospace="0.0">p(shb\63,62,61)=&gt;V6GE,</doubt><doubt alpha="33.3" length="21" tooSmall="False" monospace="0.0">p(lai\63,62,61)=é^bi,</doubt><doubt alpha="17.6" length="17" tooSmall="False" monospace="0.0">p(ra1\63,62,61)=,</doubt><p>p<b>(la</b>2 \ 63,62,61) = 0^ , p<b>(ra</b>2 \ 63,62,61) = c^b<b>i </b>.</p><p>The parameters above are subject to the follow­ing normalization conditions, for every choice of 63,62,61 G E:</p><doubt alpha="42.3" length="26" tooSmall="False" monospace="0.0">%,b2,bi+%,b2,bi+Ub3,b2,bi+</doubt><p>%,b<b>2</b>,b<b>i </b>+ <b>Z_&gt;   </b>%,b<b>2</b>,b<b>i </b>= <footnote anchor="1"/> .</p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">bes</doubt><p>This naive model presents two practical problems. The first problem relates to the efficiency of an in­ference algorithm, which has a quite high computa­tional complexity, as it will be discussed in §5. A second problem arises in the probabilistic setting. Using this model would require estimating many parameters which are based on trigrams. This leads to higher sample complexity to avoid sparse counts: we would need more samples to accurately estimate the model.</p><p>We therefore consider a more elaborated model, which tackles both of the above problems. Again, let 63, 62, 61 G E indicate the lexical form of the three symbols at the top of the stack. We define the distributions <i>p(t \ a) </i>as follows:<page local="6" global="1239"/></p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">bes</doubt><p>The parameters above are subject to the following normalization conditions, for every b3, b2, bi G S :</p><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">Eobib+obi= 1</doubt><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">o|ai+orai+ord2= 1</doubt><doubt alpha="63.2" length="19" tooSmall="False" monospace="0.0">ob2bi+ob2bi+ob2bi=1</doubt><doubt alpha="50.0" length="22" tooSmall="False" monospace="0.0">ob32,b2,bi+oba2b2,bi=1</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">(2) (3)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">co</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Cl</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">hi</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">i+ 1</doubt><doubt alpha="100.0" length="2" tooSmall="True" monospace="0.0">CD</doubt><p>minimum stack length in</p><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">Cl,...,c</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">h2</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">i+ i</doubt><p>buffer'\gize .''stack size</p><p>Intuitively, parameter denotes the probability that we perform a reduce transition instead of a shift transition, given that we have seen lexical form b at the top of the stack. Similarly, parameter <i>or^^bi</i><i> </i>de­notes the probability that we perform a reduce trans­ition of degree 2 (see §2.2) instead of a reduce trans­ition of degree 1, given that we have seen lexical forms bi and b2 at the top of the stack.</p><p>We observe that the above model has a num­ber of parameters \S\ +4 • \S\<footnote anchor="2"/> + 2 • \S\<footnote anchor="3"/> (not all independent). This should be contrasted with the naive model, that has a number of parameters 4 • \S\<footnote anchor="3"/> + \S\<footnote anchor="4"/>.</p></section><section number="4" title="Tabular parsing"><p>We present here a dynamic programming algorithm for simulating the computations of the system from §2-3. Given an input string <i>w, </i>our algorithm pro­duces a compact representation of the set <i>r (w), </i>defined as the set of all possible computations of the model when processing w. In combination with the appropriate semirings, this method can provide for instance the highest probability computation in <i>r(w), </i>or else the probability of w, defined as the sum of all probabilities of computations in <i>r(w).</i></p><p>We follow a standard approach in the literature on dynamic programming simulation of stack-based automata (Lang, 1974; Tomita, 1986; Billot and Lang, 1989). More recently, this approach has also been applied by Huang and Sagae (2010) and by</p><figure caption="Figure 2: Schematic representation of the computationsYassociated with item[h1,i, h2h3,j]."></figure><p>Kuhlmann et al. (2011) to the simulation of pro-jective transition-based parsers. The basic idea in this approach is to decompose computations of the parser into smaller parts, group them into equival­ence classes and recombine to obtain larger parts of computations.</p><p>Let w = ao • • • ara_i, <i>Vw</i><i> </i>and <i>S</i>(np) be defined as in §2. We use a structure called <b>item, </b>defined as where 0 &lt; i &lt; j &lt; <i>n </i>and <i>hi, h2, </i><i>h3</i><i> </i>G <i>Vw</i><i> </i>must satisfy hi &lt; i and i &lt; h2 &lt; h3 &lt; j. The intended interpretation of an item can be stated as follows; see also Figure 2.</p><doubt alpha="40.0" length="15" tooSmall="False" monospace="0.0">[hi,i,h2h3,j ],</doubt><p>• For each i with 1 &lt; i &lt; m, the stack associated with configuration has the list <i>a </i>at the bottom and satisfies \aj\ &gt; \a\ + 2.</p><p>Some comments on the above conditions are in order here. Let <i>ti, </i>• • • <i>,tm </i>be the sequence of trans­itions in <i>T</i>(np) associated with computation 7. Then we have <i>ti = </i><b>shai</b>, since \ai\ &gt; \a\ + 2. Thus we conclude that ai = a + 2.</p><p>The most important consequence of the definition of item is that each transition <i>ti</i><i> </i>with 2 &lt; i &lt; m does not depend on the content of the a portion of the stack ai. To see this, consider transition ci_i htici. If ti = <b>shai</b>, the content of <i>a </i>is irrelevant at</p><p>• There exists a computation 7 of S(np) on w hav­ing the form c0,..., <i>cm,</i><i> </i><i>m</i><i> </i>&gt; 1, with c0 = <i>(a\h</i><i>i</i><i>,ßi,A) </i>and Cm = (a\h,2\h,3<i>, ßj,Ä) </i>for some stack <i>a </i>and some arc sets A and A';</p><table class="main" frame="box" rules="all" border="0" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>p</i><b><i>(shb </i></b>\ <i>b</i><i>i)</i></p></td><td class="cell"><p>= %</p></td><td class="cell"><p>Vb G <i>S ,</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>p<b>(la</b>i \ b2,bi)</p></td><td class="cell"><p><i>=</i><i> </i><i>ob</i><i>i </i>•</p></td><td class="cell"><p>olai</p><p>°b2,bi '</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>p<b>(ra</b>i \ b2,bi)</p></td><td class="cell"><p>= obi •</p></td><td class="cell"><p>orai</p><p><footnote anchor="0"/>b2,bi '</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>p<b>(la</b>2 \ <i>b3,b</i><i>2</i><i>,b</i><i>i)</i></p></td><td class="cell"><p>= obi •</p></td><td class="cell"><p>obd2b • oba2b</p><p>b2,bi b3,b2,</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>p<b>(ra</b>2 \ <i>b3,b</i><i>2</i><i>,b</i><i>i)</i></p></td><td class="cell"><p>= obi •</p></td><td class="cell"><p>Ord2 ora2</p><p>ob2 bi • ob3 b2</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></tr></table><page local="7" global="1240"/><p>this step, since in our model <b>shai </b>is conditioned only on the topmost stack symbol of ai_i, and we have ai_i &gt; a + 2.</p><p>Consider now the case of ti = <b>la2. </b>From \ai\ &gt; \a\ +2 we have that \ai_i\ &gt; \a\ + 3. Again, the content of a is irrelevant at this step, since in our model <b>la</b>2 is conditioned only on the three topmost stack symbols of ai_i. A similar argument applies to the cases of ti G <b>{ra2, la1; ra1}.</b></p><p>From the above, we conclude that if we apply the transitions ti , . . . , tm to stacks of the form a hi , the resulting computations have all identical probabilit­ies, independently of the choice of a.</p><p>Each computation satisfying the two conditions above will be called an <b>I-computation </b>associ­ated with item <i>[hi,i,h2h3,j</i>]. Notice that an I-computation has the overall effect of replacing node hi sitting above a stack a with nodes h2 and h3. This is the key property in the development of our algorithm below.</p><p>We specify our dynamic programming algorithm as a deduction system (Shieber et al., 1995). The deduction system starts with axiom [<b>&lt;</b>:, 0, &lt;:0,1], cor­responding to an initial stack [<b>&lt;</b>:] and to the shift of <i>a0</i><i> </i>= $ from the buffer into the stack. The set <i>r</i>(w) is non-empty if and only if item [<b>&lt;</b>:, 0, &lt;:0, n] can be derived using the inference rules specified below. Each inference rule is annotated with the type of transition it simulates, along with the arc constructed by the transition itself, if any.</p><doubt alpha="36.7" length="30" tooSmall="False" monospace="0.0">[hi,i,h2h3, j] [h3,j,h3j,j+ 1]</doubt><doubt alpha="42.3" length="26" tooSmall="False" monospace="0.0">[hi,i,h2h3,k][h3,k,h4h5,j]</doubt><doubt alpha="33.3" length="15" tooSmall="False" monospace="0.0">-—--(lai;h5—h4)</doubt><doubt alpha="42.9" length="14" tooSmall="False" monospace="0.0">[hi,i,h2h5, j]</doubt><doubt alpha="25.6" length="43" tooSmall="False" monospace="0.0">[hi,i,h2h3,k][h3,k,h4h5,j] .            , ,</doubt><doubt alpha="26.7" length="15" tooSmall="False" monospace="0.0">----(ra1;h4—h5)</doubt><doubt alpha="46.2" length="13" tooSmall="False" monospace="0.0">[hi,i,h2h4,j]</doubt><doubt alpha="37.9" length="29" tooSmall="False" monospace="0.0">[hi,i,h2h3,k][h3,k,h4h5,j] .,</doubt><doubt alpha="26.7" length="15" tooSmall="False" monospace="0.0">----(la2;h5—h2)</doubt><doubt alpha="46.2" length="13" tooSmall="False" monospace="0.0">[hi,i,h4h5,j]</doubt><p>[hi,i,h2h3,k]  [h3,k,h4h5,j]  . , .</p><doubt alpha="31.2" length="16" tooSmall="False" monospace="0.0">-,-r-(ra2;h2—h5)</doubt><p>The above deduction system infers items in a bottom-up fashion. This means that longer compu­tations over substrings of w are built by combining shorter ones. In particular, the inference rule <b>shaj</b>asserts the existence of I-computations consisting of a single <b>shaj </b>transition. Such computations are rep­resented by the consequent item [h3, j, h3j, j + 1], indicating that the index of the shifted word aj is added to the stack by pushing it on top of h3.</p><p>The remaining four rules implement the reduce transitions of the model. We have already ob­served in §2.2 that all available reduce transitions shorten the size of the stack by one unit. This al­lows us to combine pairs of I-computations with a reduce transition, resulting in a computation that is again an I-computation. More precisely, if we concatenate an I-computation asserted by an item [hi, i, h2h3, k] with an I-computation asserted by an item [h3,k,h4h5, j], we obtain a computation that has the overall effect of increasing the size of the stack by 2, replacing the topmost stack element hi with stack elements h2, h4 and h5. If we now apply any of the reduce transitions from the inventory of the model, we will remove one of these three nodes from the stack, and the overall result will be again an I-computation, which can then be asserted by a certain item. For example, if we apply the reduce transition <b>la1, </b>the consequent item is [ha, i, h2h5, j], since an <b>la</b>i transition removes the second topmost element from the stack (h4). The other reduce trans­itions remove a different element, and thus their rules produce different consequent items.</p><p>The above argument shows the soundness of the deduction system, i.e., an item I = [hl;i,h2h3, j] is only generated if there exists an I-computation 7 = co,..., cm with co = (a\hi, ßi, A) and cm = (a\h2\h3, ßj, A'). To prove completeness, we must show the converse result, i.e., that the existence of an I-computation 7 implies that item I is inferred. We first do this under the assumption that the infer­ence rule for the shift transitions do not have an ante­cedent, i.e., items [hi; j, hij, j + 1] are considered as axioms. We proceed by using strong induction on the length m of the computation 7.</p><p>For m = 1, 7 consists of a single transition <b>shaj</b>, and the corresponding item I = [hi; j, hi j, j + 1] is constructed as an axiom. For m &gt; 1, let 7 be as specified above.   The transition that produced cm must have been a reduce transition, otherwise 7 would not be an I-computation.<page local="8" global="1241"/> Let ck be the rightmost configuration in c0,..., cm-i whose stack size is a + 2. Then it can be shown that the com­putations 71 = co,..., cfc and 72 = cfc,..., cm_i are again I-computations. Since 7i and 72 have strictly fewer transitions than 7, by the induction hy­pothesis, the system constructs items [hi, i, h2h3, k] and [h3,k,h4h5, j], where h2 and h3 are the stack elements at the top of ck. Applying to these items the inference rule corresponding to the reduce trans­ition at hand, we can construct item I.</p><p>When the inference rule for the shift transition has an antecedent [hi, i, h2h3, j], as indicated above, we have the overall effect that I-computations consist­ing of a single transition shifting aj on the top of h3 are simulated only in case there exists a computation starting with configuration ([&lt;:], ß0) and reaching a configuration of the form (a\h2\h3, ßj ). This acts as a filter on the search space of the algorithm, but does not invalidate the completeness property. However, in this case the proof is considerably more involved, and we do not report it here.</p><p>An important property of the deduction system above, which will be used in the next section, is that the system is unambiguous, that is, each <b>I-computation </b>is constructed by the system in a unique way. This can be seen by observing that, in the sketch of the completeness proof reported above, there always is an unique choice of ck that decom­poses I-computation 7 into I-computations 7i and 72. In fact, if we choose a configuration ck/ other than ck with stack size \a\ + 2, the computation 72 = cfc/,..., cm_i will contain ck as an interme­diate configuration, which violates the definition of I-computation because of an intervening stack hav­ing size not larger than the size of the stack associ­ated with the initial configuration.</p><p>As a final remark, we observe that we can keep track of all inference rules that have been applied in the computation of each item by the above al­gorithm, by encoding each application of a rule as a reference to the pair of items that were taken as antecedent in the inference. In this way, we ob­tain a parse forest structure that can be viewed as a hypergraph or as a non-recursive context-free gram­mar, similar to the case of parsing based on context-free grammars. See for instance Klein and Manning (2001) or Nederhof (2003). Such a parse forest en­codes all valid computations in <i>r</i>(w), as desired.</p><p>The algorithm runs in O(n<footnote anchor="8"/>) time. Using meth­ods similar to those specified in Eisner and Satta (1999), we can reduce the running time to O(n<footnote anchor="7"/>). However, we do not further pursue this idea here, and proceed with the discussion of exact inference, found in the next section.</p></section><section number="5" title="Inference"><p>We turn next to specify exact inference with our model, for computing feature expectations. Such inference enables, for example, the derivation of an expectation-maximization algorithm for unsuper-vised parsing.</p><p>Here, a feature is a function over computations, providing the count of a pattern related to a para­meter. We denote by bi<b> </b>(7), for instance, the number of occurrences of transition <b>la</b>2 within 7 with topmost stack symbols having word forms b3, b2, bi G S, with bi associated with the topmost stack symbol.</p><p>Feature expectations are computed by using an inside-outside algorithm for the items in the tabu­lar algorithm. More specifically, given a string w, we associate each item [hi, i, h2h3, j] defined as in § 4 with two quantities:</p><doubt alpha="34.6" length="26" tooSmall="False" monospace="0.0">I([hi,i,h2h3,j])=EP(7);(5)</doubt><doubt alpha="28.6" length="28" tooSmall="False" monospace="0.0">7=([hi],ßi),...,([h2,h3],ßj)</doubt><doubt alpha="25.0" length="36" tooSmall="False" monospace="0.0">O([hi,i,h2h3,j])=£   p(7)•p(7') .(6)</doubt><doubt alpha="27.8" length="54" tooSmall="False" monospace="0.0">CT,7=([&lt;;],ßo),...,MfeiA) y=Mh2|h3,/%),...,([&lt;:,0],ßn)</doubt><p>I([hi,i,h2h3, j]) and O([hi,i,h2h3, j]) are called the <b>inside </b>and the <b>outside </b>probabilities, respect­ively, of item [hi , i, h2h3, j]. The tabular algorithm of §4 can be used to compute the inside probabilit­ies. Using the gradient transformation (Eisner et al., 2005), a technique for deriving outside probabilities from a set of inference rules, we can also compute O([hi,i,h2h3, j]). The use of the gradient trans­formation is valid in our case because the tabular al­gorithm is unambiguous (see §4).</p><p>Using the inside and outside probabilities, we can now efficiently compute feature expectations for our<page local="9" global="1242"/></p><doubt alpha="45.5" length="55" tooSmall="False" monospace="0.0">Ep(TH[/ba3kbi(7)]=EP(7\w)^Äkbi(7)=P(wy^EP(7)^/Sb2,bi(7)</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">p(w)</doubt><doubt alpha="39.5" length="38" tooSmall="False" monospace="0.0">CT,i,fc,j, 7o=([^],ßo),...,(CT|hi,ßi),</doubt><doubt alpha="37.0" length="54" tooSmall="False" monospace="0.0">hi,/l2,/l3,/l4,/l5, 7i= (CT|hi,ßi),...,(CT|h2|h3,ßfc),</doubt><doubt alpha="35.3" length="51" tooSmall="False" monospace="0.0">s.t. ah2=b3,72= (CT|h2|h3,ßfc),...,(a|h2|h4|h5,ßj),</doubt><doubt alpha="41.1" length="56" tooSmall="False" monospace="0.0">«h4=b2,«hg=bi73= (CT|h2|h5,ßj),...,([^,0],ßn)ordord2ola2</doubt><doubt alpha="60.0" length="20" tooSmall="False" monospace="0.0">obi•ob2,bi•ob3,b2,bi</doubt><doubt alpha="22.2" length="18" tooSmall="False" monospace="0.0">---E Ep(70)^p(73)■</doubt><doubt alpha="26.4" length="87" tooSmall="False" monospace="0.0">70=([^],ßo),...,(^|hi,ßi),hi,h2,hg,s.t.      Y3=M/l2|h5,/%),...,([^,0],ß„)«h2=b3,«h5=bi</doubt><doubt alpha="33.3" length="18" tooSmall="False" monospace="0.0">^  E Ep(7i)^Ep(72)</doubt><doubt alpha="35.7" length="98" tooSmall="False" monospace="0.0">fc,h3,h4,7i=(CT|hi,ßi),...,(a|h2|h3,ßfc )    72= (c|/i2|h3,ßfc),...,(cr|/i2|/i4|fr5,ßj) s.t.«h4=b2</doubt><p>Figure 3: Decomposition of the feature expectation £p(7|w) [f,^ bl (7)] into a finite summation. Quantity p(w) above is the sum over all probabilities of computations in <i>r</i>(w).</p><p>model. Figure 3 shows how to express the expect­ation of feature bi (7) by means of a finite summation.   Using Eq. 5 and 6 and the relation</p><doubt alpha="50.0" length="36" tooSmall="False" monospace="0.0">p(w)=I([4,0,40,n])we can then write:</doubt><doubt alpha="32.1" length="53" tooSmall="False" monospace="0.0">Ep(7|w)[/b3,b2,bi(7)]I([4,0,40,n])•EO([hi,i,h4h5,j])•</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">s.t.«h4=b2, «h5=bi</doubt><p>• ^ I([hi,i,h2h3,k]) • I([h3,k,h4h5, j]) .</p><doubt alpha="42.1" length="19" tooSmall="False" monospace="0.0">fc,h2,h3,s.t.«h2=b3</doubt><p>Very similar expressions can be derived for the ex­pectations for features /ba)<footnote anchor="2"/>b2 ,bi (<footnote anchor="7"/>^ ./b<footnote anchor="3"/>^ (<footnote anchor="7"/>), and /br2a<b>i</b>b<b>i</b>(7). As for feature /J*(7), b G S, the above approach leads to</p><doubt alpha="31.6" length="19" tooSmall="False" monospace="0.0">Ep(7|w)[/bS1h*(7)]=</doubt><p>b •     o([h,i,hi,i + 1]).</p><doubt alpha="45.5" length="22" tooSmall="False" monospace="0.0">&lt;r,i,/i,s.t.«h=bi,«i=b</doubt><p>ord   <b>ord2 ol22</b></p><p>As mentioned above, these expectations can be used, for example, to derive an EM algorithm for our model. The EM algorithm in our case is not com­pletely straightforward because of the way we para­metrize the model. We give now the re-estimation steps for such an EM algorithm. We assume that all expectations below are taken with respect to a set of parameters <b>6 </b>from iteration s — 1 of the algorithm, and we are required to update these <b>6. </b>To simplify notation, let us assume that there is only one string w in the training corpus. For each bi G S, we define:</p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">b2es</doubt><doubt alpha="41.5" length="41" tooSmall="False" monospace="0.0">+EEP(7|w)l/b^bi(7)+/br32)2b2,bi(7)b3,b2eS</doubt><p>Zb<b>2</b>,b<b>i </b><b>=E</b><b> </b>EP(7|w)   /b<footnote anchor="3"/>2b<b>2</b>,b<b>l</b>(<footnote anchor="7"/>)+ /b<footnote anchor="32"/>b<b>2</b>,b<b>i</b>(<footnote anchor="7"/>) .</p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">b3es</doubt><p>We then have, for every b G S :</p><doubt alpha="22.2" length="9" tooSmall="False" monospace="0.0">^(yM^(7)]</doubt><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">osh*(s) &lt;-</doubt><doubt alpha="25.0" length="16" tooSmall="False" monospace="0.0">b3, b2,bi)•0(73)</doubt><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">E[/la2(7)]=</doubt><page local="10" global="1243"/><p>Furthermore, we have:</p><doubt alpha="50.0" length="26" tooSmall="False" monospace="0.0">lai(s),__ep(yMt/b2|bi(Y)]_</doubt><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">and:</doubt><doubt alpha="36.4" length="22" tooSmall="False" monospace="0.0">Ep(7|w)[/6a32b2)bi(Y)]</doubt><doubt alpha="44.1" length="34" tooSmall="False" monospace="0.0">Ep(Y|w) |/b32b2,bi(y)+/bi,b2,bi(y)</doubt><p>The rest of the parameter updates can easily be de­rived using the above updates because of the sum-to-1 constraints in Eq. 2—4.</p></section><section number="6" title="Discussion"><p>We note that our model inherits spurious ambigu­ity from Attardi's model. More specifically, we can have different derivations, corresponding to differ­ent system computations, that result in identical de­pendency graphs and strings. While running our tabular algorithm with the Viterbi semiring effi­ciently computes the highest probability computa­tion in <i>r</i>(w), spurious ambiguity means that find­ing the highest probability dependency tree is NP-hard. This latter result can be shown using proof techniques similar to those developed by Sima'an (1996). We leave it for future work how to eliminate spurious ambiguity from the model.</p><p>While in the previous sections we have described a tabular method for the transition system of Attardi (2006) restricted to transitions of degree up to two, it is possible to generalize the model to include higher-degree transitions. In the general formulation of At­tardi parser, transitions of degree d create links in­volving nodes located d positions beneath the top­most position in the stack:</p><doubt alpha="37.9" length="29" tooSmall="False" monospace="0.0">\ad:(0"|iiM• • • |id+i,ß, A)h</doubt><doubt alpha="43.3" length="30" tooSmall="False" monospace="0.0">(a|i2|•••|id+i,ß,AU{id+i—ii});</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">rad :</doubt><p>with co = (a|si| ••• |sD-i,ßi,A) and <i>cm</i><i> </i>= (a|ei| • • • |eD,<i>ßj</i>, A'). The deduction steps corres­ponding to reduce transitions in this general system have the general form</p><doubt alpha="45.3" length="95" tooSmall="False" monospace="0.0">[si•••SD-i,i,eimi•••mD-i,j] [mi• ••mD-i,j,e2• • • eD+i,w] [si• ••SD-i,i,ei•••ec-iec+i•••eD+i,w]</doubt><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">(ep    ^ec)</doubt><p>To define a transition system that supports trans­itions up to degree D, we use a set of items of the form [si • • • sD-i, i, ei • • • eD, j], cor­responding (in the sense of §4) to compu­tations  of the  form  ^•••jcm,   m &gt; 1, where the values of p and c differ for each transition: to obtain the inference rule corresponding to a <b>\a</b>d transition, we make p = D + 1 and c = D + 1 — d; and to obtain the rule for a <b>ra</b>d transition, we make p = D + 1 — d and c = D + 1. Note that the parser runs in time O(n3D+<footnote anchor="2"/>), where D stands for the max­imum transition degree, so each unit increase in the transition degree adds a cubic factor to the parser's polynomial time complexity. This is in contrast to a previous tabular formulation of the Attardi parser by Gomez-Rodrîguez et al. (2011), which ran in expo­nential time.</p><p>The model for the transition system we give in this paper is generative. It is not hard to naturally extend this model to the discriminative setting. In this case, we would condition the model on the input string to get a conditional distribution over derivations. It is perhaps more natural in this setting to use arbitrary weights for the parameter values, since the compu­tation of a normalization constant (the probability of a string) is required in any case. Arbitrary weights in the generative setting could be more problematic, because it would require computing a normalization constant corresponding to a sum over all <i>strings</i><i> </i>and derivations.</p></section><section number="7" title="Conclusion"><p>We presented in this paper a generative probabilistic model for non-projective parsing, together with the description of an efficient tabular algorithm for pars­ing and doing statistical inference with the model.</p></section><section title="Acknowledgments"><p>The authors thank Marco Kuhlmann for helpful comments on an early draft of the paper. The authors also thank Giuseppe Attardi for the help received to extract the parsing statistics. The second author has been partially supported by Ministerio de Ciencia e Innovacion and FEDER (TIN2010-18552-C03-02).</p><doubt alpha="38.5" length="26" tooSmall="False" monospace="0.0">(a|ii|i2|• • • |id+i,ß,A)h</doubt><doubt alpha="41.9" length="31" tooSmall="False" monospace="0.0">(a\ii\%2\•••|id,ß,AU{ii—id+i})-</doubt><page local="11" global="1244"/></section><references><p>Giuseppe Attardi. 2006. Experiments with a multil-anguage non-projective dependency parser. In <i>Pro­ceedings of the Tenth Conference on Computational Natural Language Learning (CoNLL), </i>pages 166-170, New York, USA.</p><p>Sylvie Billot and Bernard Lang. 1989. The structure of shared forests in ambiguous parsing. In <i>Proceed­ings of the 27th Annual Meeting of the Association for Computational Linguistics (ACL), </i>pages 143-151, Vancouver, Canada.</p><p>Manuel Bodirsky, Marco Kuhlmann, and Mathias Mohl. 2005. Well-nested drawings as models of syntactic structure. In <i>Tenth Conference on Formal Gram­mar and Ninth Meeting on Mathematics ofLanguage, </i>pages 195-203, Edinburgh, UK.</p><p>Sabine Buchholz and Erwin Marsi. 2006. CoNLL-X shared task on multilingual dependency parsing. In <i>Proceedings ofthe Tenth Conference on Compu­tational Natural Language Learning (CoNLL), </i>pages 149-164, New York, USA.</p><p>Jason Eisner and Giorgio Satta. 1999. Efficient parsing for bilexical context-free grammars and Head Auto­maton Grammars. In <i>Proceedings of the 37th </i><i>An­</i><i>nual Meeting ofthe Association for Computational Linguistics (ACL), </i>pages 457-464, College Park, MD, USA.</p><p>Jason Eisner, Eric Goldlust, and Noah A. Smith. 2005. Compiling Comp Ling: Practical weighted dynamic programming and the Dyna language. In <i>Proceedings ofHLT-EMNLP, </i>pages 281-290.</p><p>Carlos Gomez-Rodriguez and Joakim Nivre. 2010. A transition-based parser for 2-planar dependency struc­tures. In <i>Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics (ACL), </i>pages 1492-1501, Uppsala, Sweden.</p><p>Carlos Gomez-Rodriguez, David J. Weir, and John Car­roll. 2009. Parsing mildly non-projective dependency structures. In <i>Twelfth Conference ofthe European Chapter of the Association for Computational Lin­guistics (EACL), </i>pages 291-299, Athens, Greece.</p><p>Carlos Gomez-Rodriguez, John Carroll, and David Weir. 2011. Dependency parsing schemata and mildly non-projective dependency parsing. <i>Computational Lin­guistics </i>(in press), 37(3).</p><p>Joshua Goodman. 1999. Semiring parsing. <i>Computa­tional Linguistics, </i>25(4):573-605.</p><p>John E. Hopcroft, Rajeev Motwani, and Jeffrey D. Ull-man. 2000. <i>Introduction to Automata Theory. </i>Addison-Wesley, 2nd edition.</p><p>Liang Huang and Kenji Sagae. 2010. Dynamic program­ming for linear-time incremental parsing. In <i>Proceed­ings ofthe 48th Annual Meeting ofthe Association for</i> <i>Computational Linguistics (ACL), </i>pages 1077-1086, Uppsala, Sweden.</p><p>Sylvain Kahane, Alexis Nasr, and Owen Rambow. 1998. Pseudo-projectivity: A polynomially parsable non-projective dependency grammar. In <i>36th Annual Meeting of the Association for Computational Lin­guistics and 18th International Conference on Compu­tational Linguistics (COLING-ACL), </i>pages 646-652, Montreal, Canada.</p><p>Dan Klein and Christopher D. Manning. 2001. Parsing and hypergraphs. In <i>Proceedings ofthe IWPT, </i>pages 123-134.</p><p>Terry Koo, Amir Globerson, Xavier Carreras, and Mi­chael Collins. 2007. Structured prediction models via the matrix-tree theorem. In <i>Proceedings ofthe EMNLP-CoNLL, </i>pages 141-150.</p><p>Marco Kuhlmann and Giorgio Satta. 2009. Tree-bank grammar techniques for non-projective depend­ency parsing. In <i>Twelfth Conference ofthe European Chapter of the Association for Computational Lin­guistics (EACL), </i>pages 478-486, Athens, Greece.</p><p>Marco Kuhlmann, Carlos Gomez-Rodriguez, and Gior­gio Satta. 2011. Dynamic programming algorithms for transition-based dependency parsers. In <i>Proceed­ings of the 49th Annual Meeting of the Association for Computational Linguistics (ACL), </i>Portland, Oregon,</p><p>USA.</p><p>Bernard Lang. 1974. Deterministic techniques for ef­ficient non-deterministic parsers. In Jacques Loecx, editor, <i>Automata, Languages and Programming, 2nd Colloquium, University of Saarbrücken, July 29-August 2, 1974, </i>number 14 in Lecture Notes in Com­puter Science, pages 255-269. Springer.</p><p>Zhifei Li and Jason Eisner. 2009. First-and second-order expectation semirings with applications to minimum-risk training on translation forests. In <i>Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing (EMNLP), </i>pages 40-51, Singa­pore.</p><p>Ryan McDonald and Giorgio Satta. 2007. On the com­plexity of non-projective data-driven dependency pars­ing. In <i>Tenth International Conference on Parsing Technologies (IWPT), </i>pages 121-132, Prague, Czech Republic.</p><p>Ryan McDonald, Fernando Pereira, Kiril Ribarov, and Jan Hajic. 2005. Non-projective dependency parsing using spanning tree algorithms. In <i>Human Language Technology Conference (HLT) and Conference on Empirical Methods in Natural Language Processing</i> <i>(EMNLP), </i>pages 523-530, Vancouver, Canada.</p><p>Mark-Jan Nederhof. 2003. Weighted deductive pars­ing and knuth's algorithm. <i>Computational Linguistics, </i>29(1):135-143.</p><page local="12" global="1245"/><p>Joakim Nivre and Jens Nilsson. 2005. Pseudo-projective dependency parsing. In <i>43rd Annual Meeting of the Association for Computational Linguistics (ACL), </i>pages 99-106, Ann Arbor, USA.</p><p>Joakim Nivre. 2004. Incrementality in deterministic de­pendency parsing. In <i>Workshop on Incremental Pars­ing: Bringing Engineering and Cognition Together, </i>pages 50-57, Barcelona, Spain.</p><p>Joakim Nivre. 2008. Algorithms for deterministic incre­mental dependency parsing. <i>Computational Linguist­ics, </i>34(4):513-553.</p><p>Joakim Nivre. 2009. Non-projective dependency parsing in expected linear time. In <i>Proceedings ofthe 47th An­nual Meeting of the ACL and the Fourth International Joint Conference on Natural Language Processing of the AFNLP, </i>pages 351-359, Singapore.</p><p>Stuart M. Shieber, Yves Schabes, and Fernando Pereira. 1995. Principles and implementation of deductive parsing. <i>Journal of Logic Programming, </i>24(1-2):336.</p><p>Khalil Sima'an. 1996. Computational complexity of probabilistic disambiguation by means of tree-grammars. In <i>Proceedings of COLING, </i>pages 1175­1180.</p><p>David A. Smith and Noah A. Smith. 2007. Probab­ilistic models of nonprojective dependency trees. In <i>Proceedings of the EMNLP-CoNLL, </i>pages 132-140.</p><p>Ivan Titov, James Henderson, Paola Merlo, and Gabriele Musillo. 2009. Online graph planarisation for syn­chronous parsing of semantic and syntactic dependen­cies. In <i>Proceedings ofIJCAI, </i>pages 281-290.</p><p>Masaru Tomita. 1986. <i>Efficient Parsing for Natural Language: A Fast Algorithm for Practical Systems. </i>Springer.</p><p>Hiroyasu Yamada and Yuji Matsumoto. 2003. Statistical dependency analysis with support vector machines. In <i>Proceedings ofthe Eighth International Workshop on Parsing Technologies (IWPT), </i>pages 195-206, Nancy, France.</p></references></body></article>