<?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="1288"/><title>Dual Decomposition for Parsing with Non-Projective Head Automata</title><pubinfo>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing,pages 1288-1298, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Koo" givenname="Terry"><org  name="MIT CSAIL" country="USA"/></author><author surname="Rush" givenname="Alexander M."><org  name="MIT CSAIL" country="USA"/></author><author surname="Collins" givenname="Michael"><org  name="MIT CSAIL" country="USA"/></author><author surname="Jaakkola" givenname="Tommi"><org  name="MIT CSAIL" country="USA"/></author><author surname="Sontag" givenname="David"><org  name="MIT CSAIL" country="USA"/></author></firstpageheader><frontmatter><p><b>Dual Decomposition for Parsing with Non-Projective Head Automata</b></p><p><b>Terry Koo   Alexander M. Rush   Michael Collins   Tommi Jaakkola   David Sontag</b></p><p>MIT CSAIL, Cambridge, MA 02139, USA</p><p>{maestro,srush,mcollins,tommi,dsontag}@csail.mit.edu</p></frontmatter><abstract>This paper introduces algorithms for non-projective parsing based on <i>dual decomposi­tion. </i>We focus on parsing algorithms for non-<i>projective head automata, </i>a generalization of head-automata models to non-projective struc­tures. The dual decomposition algorithms are simple and efficient, relying on standard dy­namic programming and minimum spanning tree algorithms. They provably solve an LP relaxation of the non-projective parsing prob­lem. Empirically the LP relaxation is very of­ten tight: for many languages, exact solutions are achieved on over 98% of test sentences. The accuracy of our models is higher than pre­vious work on a broad range of datasets. </abstract></header><body><section number="1" title="Introduction"><p>Non-projective dependency parsing is useful for many languages that exhibit non-projective syntactic structures. Unfortunately, the non-projective parsing problem is known to be NP-hard for all but the sim­plest models (McDonald and Satta, 2007). There has been a long history in combinatorial optimization of methods that exploit structure in complex problems, using methods such as <i>dual decomposition </i>or <i>La-grangian relaxation </i>(Lemaréchal, 2001). Thus far, however, these methods are not widely used in NLP.</p><p>This paper introduces algorithms for non-projective parsing based on dual decomposition. We focus on parsing algorithms for <i>non-projective head automata, </i>a generalization of the head-automata models of Eisner (2000) and Alshawi (1996) to non-projective structures. These models include non-projective dependency parsing models with higher­order (e.g., sibling and/or grandparent) dependency relations as a special case. Although decoding offull parse structures with non-projective head automata is intractable, we leverage the observation that key components of the decoding <i>can </i>be efficiently com­puted using combinatorial algorithms. In particular,</p><p>1. Decoding for individual head-words can be ac­complished using dynamic programming.</p><p>2. Decoding for arc-factored models can be ac­complished using directed minimum-weight spanning tree (MST) algorithms.</p><p>The resulting parsing algorithms have the following properties:</p><p>• They are efficient and easy to implement, relying on standard dynamic programming and MST al­gorithms.</p><p>• They provably solve a linear programming (LP) relaxation of the original decoding problem.</p><p>• Empirically the algorithms very often give an ex­act solution to the decoding problem, in which case they also provide a certificate of optimality.</p><p>In this paper we first give the definition for non-projective head automata, and describe the parsing algorithm. The algorithm can be viewed as an in­stance of Lagrangian relaxation; we describe this connection, and give convergence guarantees for the method. We describe a generalization to models that include grandparent dependencies. We then in­troduce a perceptron-driven training algorithm that makes use of point 1 above.</p><p>We describe experiments on non-projective pars­ing for a number of languages, and in particu­lar compare the dual decomposition algorithm to approaches based on general-purpose linear pro­gramming (LP) or integer linear programming (ILP) solvers (Martins et al., 2009). The accuracy of our models is higher than previous work on a broad range of datasets. The method gives exact solutions to the decoding problem, together with a certificate of optimality, on over 98% of test examples for many of the test languages, with parsing times ranging be­tween 0.021 seconds/sentence for the most simple languages/models, to 0.295 seconds/sentence for the most complex settings.<page local="2" global="1289"/> The method compares favor­ably to previous work using LP/ILP formulations, both in terms of efficiency, and also in terms of the percentage of exact solutions returned.</p><p>While the focus of the current paper is on non-projective dependency parsing, the approach opens up new ways of thinking about parsing algorithms for lexicalized formalisms such as TAG (Joshi and Schabes, 1997), CCG (Steedman, 2000), and pro-jective head automata.</p></section><section number="2" title="Related Work"><p>McDonald et al. (2005) describe MST-based parsing for non-projective dependency parsing models with arc-factored decompositions; McDonald and Pereira (2006) make use of an approximate (hill-climbing) algorithm for parsing with more complex models. McDonald and Pereira (2006) and McDonald and Satta (2007) describe complexity results for non-projective parsing, showing that parsing for a variety of models is NP-hard. Riedel and Clarke (2006) de­scribe ILP methods for the problem; Martins et al. (2009) recently introduced alternative LP and ILP formulations. Our algorithm differs in that we do not use general-purpose LP or ILP solvers, instead using an MST solver in combination with dynamic pro­gramming; thus we leverage the underlying struc­ture of the problem, thereby deriving more efficient decoding algorithms.</p><p>Both dual decomposition and Lagrangian relax­ation have a long history in combinatorial optimiza­tion. Our work was originally inspired by recent work on dual decomposition for inference in graph­ical models (Wainwright et al., 2005; Komodakis et al., 2007). However, the non-projective parsing problem has a very different structure from these models, and the decomposition we use is very dif­ferent in nature from those used in graphical mod­els. Other work has made extensive use of de­composition approaches for efficiently solving LP relaxations for graphical models (e.g., Sontag et al. (2008)). Methods that incorporate combinato­rial solvers within loopy belief propagation (LBP) (Duchi et al., 2007; Smith and Eisner, 2008) are also closely related to our approach. Unlike LBP, our method has strong theoretical guarantees, such as guaranteed convergence and the possibility of a certificate of optimality.</p><p>Finally, in other recent work, Rush et al. (2010) describe dual decomposition approaches for other NLP problems.</p></section><section number="3" title="Sibling Models"><p>This section describes a particular class of models, <i>sibling models; </i>the next section describes a dual-decomposition algorithm for decoding these models.</p><p>Consider the dependency parsing problem for a sentence with n words. We define the <i>index set </i>for dependency parsing to be i = {(i, j) : i <i>G </i>{0...n},j g {1 ...n},i = j}. A dependency parse is a vector <i>y = </i>{y(i, j) : (i, j) g i}, where y(i, j) = 1 if a dependency with head word i and modifier j is in the parse, 0 otherwise. We use i = 0 for the root symbol. We define y to be the set of all well-formed non-projective dependency parses (i.e., the set of directed spanning trees rooted at node 0). Given a function <i>f : </i>y ^ r that assigns scores to parse trees, the optimal parse is</p><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">y* =argmax f (y)(1)</doubt><p>A particularly simple definition of f (y) is f (y) = E(i,j)eiy(i, j<i>)0(i,j</i>) where 0(i, j) is the score for dependency (i, j). Models with this form are often referred to as <i>arc-factored models. </i>In this case the optimal parse tree y* can be found efficiently using</p><p>MST algorithms (McDonald et al., 2005).</p><p>This paper describes algorithms that compute y*for more complex definitions of f (y); in this sec­tion, we focus on algorithms for models that capture interactions between sibling dependencies. To this end, we will find it convenient to define the follow­ing notation. Given a vector y, define</p><doubt alpha="37.5" length="24" tooSmall="False" monospace="0.0">y|i={y(i,j):j=1...n,j=i}</doubt><p>Hence     specifies the set of modifiers to word i; note that the vectors    for i = 0 ... n form a parti­tion of the full set of variables. We then assume that f(y) takes the form</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><doubt alpha="30.0" length="20" tooSmall="False" monospace="0.0">f (y) = £ fi(y|i)(2)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=0</doubt><p>Thus f(y) decomposes into a sum of terms, where each fi considers modifiers to the i'th word alone.</p><p>In the general case, finding y* = argmaxy€y f (y) under this definition of f (y) is an NP-hard problem.    However for certain definitions of fi, it is possible to efficiently compute argmaxy|.<page local="3" global="1290"/>ezi fi(y|i) for any value of i, typically using dynamic programming. (Here we use <i>Zi </i>to refer to the set of all possible values for y|i: specifi­cally, <i>Z</i><i>o </i>= {0,1}n and for i = 0, <i>Z</i><i>i </i>= {0,1}n-1.) In these cases we can efficiently compute where Z = {z : Z|i G Zi for i = 0 ... n} by simply computing z* = argmaxz^z fi(z|i) for i = 0 ... n. Eq. 3 can be considered to be an approx­imation to Eq. 1, where we have replaced Y with Z. We will make direct use of this approximation in the dual decomposition parsing algorithm. Note that YÇZ, and in all but trivial cases, Y is a strict subset of Z. For example, a structure z G Z could have z(i, j) = z(j, i) = 1 for some (i, j); it could contain longer cycles; or it could contain words that do not modify exactly one head. Nevertheless, with suitably powerful functions fi—for example func­tions based on discriminative models—z* may be a good approximation to y* . Later we will see that dual decomposition can effectively use MST infer­ence to rule out ill-formed structures.</p><doubt alpha="50.0" length="38" tooSmall="False" monospace="0.0">z* = argmax f (z) = argmax£ fi(z|i)(3)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">zez</doubt><p>We now give the main assumption underlying sib­ling models:</p><p><b>Assumption 1 (Sibling Decompositions) </b><i>A model </i>f (y) <i>satisfies the sibling-decomposition assumption if: </i><i>1)</i><i> </i>f (y) = E n=o fi(y|i) <i>for some set of functions </i>f0 ... fn. <i>2)</i><i> For any </i>i G {0... n}, <i>for any value of the variables </i>j) G R <i>for </i>j = 1... n, <i>it is possible to compute</i> <i>in polynomial time.</i></p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">argmax</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">fi(y|i)-£u(ijj)</doubt><p>The second condition includes additional terms in­volving j) variables that modify the scores of individual dependencies. These terms are benign for most definitions of fi, in that they do not alter de­coding complexity. They will be of direct use in the dual decomposition parsing algorithm.</p><p><b>Example 1: Bigram Sibling Models. </b>Recall that y| i is a binary vector specifying which words are modifiers to the head-word i. Define 11... 1p to be the sequence of left modifiers to word i under y|i, and r1... rq to be the set of right modifiers (e.g., consider the case where n = 5, i = 3, and we have where 10 = r0 = START is the initial state, and = rq+1 = END is the end state. The functions gL and gR assign scores to bigram dependencies to the left and right of the head. Under this model cal­culating argmaXy|.€Zi       (fi(y|i) - Ej     ^   j j )) takes O(n<footnote anchor="2"/>) time using dynamic programming, hence the model satisfies Assumption 1. □ <b>Example 2:</b><b> Head Automata </b>Head-automata models constitute a second important model type that satisfy the sibling-decomposition assumption (bigram sibling models are a special case of head automata). These models make use of functions gR(i, s, s', r) where s G S, s' G S are variables in a set of possible states S, and r is an index of a word in the sentence such that i &lt; r &lt; n. The function gR returns a cost for taking word r as the next depen­dency, and transitioning from state s to s'. A similar function <i>gL</i><i> </i>is defined for left modifiers. We define to be the joint score for dependencies y|i, and left and right state sequences s0 ... sq and t0 ... tp. We specify that s0 = t0 = START and sq = tp = END. In this case we define and it follows that argmaxy\ .eZ. fi(y|i) can be com­puted in O(n|S |<b><footnote anchor="2"/></b>) time using a variant of the Viterbi algorithm, hence the model satisfies the sibling-decomposition assumption. □</p><doubt alpha="42.7" length="117" tooSmall="False" monospace="0.0">y(3,1) = y(3, 5) = 0,andy(3, 2) = y(3,4) = 1:in this casep = 1, 11=2,andq = 1, r1= 4).Inbigram sibling models,we have</doubt><doubt alpha="47.6" length="42" tooSmall="False" monospace="0.0">fi(y|i)=J29h(i,lk-1,lk) +J29R(i,rfc_1,rfc)</doubt><doubt alpha="41.7" length="24" tooSmall="False" monospace="0.0">fi(y|i,s0...sq,t0...tp)=</doubt><doubt alpha="54.8" length="42" tooSmall="False" monospace="0.0">q p£gß(i,sfc-1,sfc,rfc) + £ gL(i,tfc-1,tfc</doubt><doubt alpha="52.9" length="34" tooSmall="False" monospace="0.0">fi(y|i)=maxfi(y|i,s0...sq,to...tp)</doubt></section><section number="4" title="The Parsing Algorithm"><p>We now describe the dual decomposition parsing al­gorithm for models that satisfy Assumption 1. Con­sider the following generalization of the decoding<page local="4" global="1291"/></p><doubt alpha="56.8" length="44" tooSmall="False" monospace="0.0">Setu(1)(i, j)—0for all(i, j)e Ifork = 1toKdo</doubt><doubt alpha="35.4" length="48" tooSmall="False" monospace="0.0">y(k)— argmax    ^ (7(i, j) + u(k)(i, j)) y(i, j)</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">(i,j)ei</doubt><doubt alpha="46.2" length="13" tooSmall="False" monospace="0.0">forie{0...n},</doubt><doubt alpha="51.5" length="33" tooSmall="False" monospace="0.0">—argmax(fi(z\i)-u(k)(i, j)z(i,j))</doubt><footnote label="1">3</footnote><doubt alpha="56.4" length="39" tooSmall="False" monospace="0.0">ify(k)(i, j) = z(k)for all(i, j)e Ithen</doubt><doubt alpha="58.8" length="34" tooSmall="False" monospace="0.0">return(y(k),z(k))for all(i, j)e I,</doubt><doubt alpha="41.8" length="67" tooSmall="False" monospace="0.0">u(k+1)(i, j)—u(k)(i, j)+ak(z(k)(i, j )-y(k)(i, j))return(y(K),z(K))</doubt><p>Figure 1: The parsing algorithm for sibling decompos­able models. <i>ak </i>&gt; 0 for k = 1... K are step sizes, see Appendix A for details.</p><doubt alpha="55.8" length="86" tooSmall="False" monospace="0.0">problem from Eq. 1, where f (y) =£ ifi(y|i),h(y)=E(ij)ez7(i,j)y(i,j),and7)GRforall ):1</doubt><doubt alpha="61.5" length="26" tooSmall="False" monospace="0.0">argmax f (z) + h(y)zez,yey</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><doubt alpha="62.9" length="35" tooSmall="False" monospace="0.0">suchthatz(i,j)=y(i,j)for all)G I(5)</doubt><p>Although the maximization w.r.t. z is taken over the set Z, the constraints in Eq. 5 ensure that z = y for some y G Y, and hence that z G Y.</p><p>Without the z(i, j) = y(i, j) constraints, the objective would decompose into the separate max­imizations z* = argmaxzeZ f (z), and y* = argmaxyey h(y), which can be easily solved us­ing dynamic programming and MST, respectively. Thus, it is these constraints that complicate the op­timization. Our approach gets around this difficulty by introducing new variables, j), that serve to enforce agreement between the y(i, j) and z(i, j) variables. In the next section we will show that these j) variables are actually Lagrange multipliers for the z(i, j) = y(i, j) constraints.</p><p>Our parsing algorithm is shown in Figure 1. At each iteration k, the algorithm finds y(k) G Y us­ing an MST algorithm, and z(k) G Z through sep­arate decoding of the (n + 1) sibling models. The variables are updated if y(k)(i, j) = z(k)(i, j) for some (i, j); these updates modify the objective functions for the two decoding steps, and intuitively encourage the y(k) and z(k) variables to be equal.</p><footnote label="1">This is equivalent to Eq. 1 when 7(i, j) = 0 for all (i, j). In some cases, however, it is convenient to have a model with non-zero values for the 7 variables; see the Appendix. Note that this definition of h(y) allows argmax y6 -y h(y) to be calculated efficiently, using MST inference.</footnote><subsection number="4.1" title="Lagrangian Relaxation"><p>Recall that the main difficulty in solving Eq. 4 was the z = y constraints. We deal with these con­straints using <i>Lagrangian relaxation </i>(Lemaréchal, 2001). We first introduce Lagrange multipliers <i>u </i>= j) : (i, j) G I}, and define the Lagrangian</p><doubt alpha="23.5" length="17" tooSmall="False" monospace="0.0">L(u, y, z)   =(6)</doubt><doubt alpha="43.6" length="39" tooSmall="False" monospace="0.0">f(z)+h(y)+ £u(i,j^y(i,j)-z(i,j))(i,j)ei</doubt><p>If L* is the optimal value of Eq. 4 subject to the constraints in Eq. 5, then for any value of u,</p><doubt alpha="26.7" length="30" tooSmall="False" monospace="0.0">L* =     max     L(u, y, z)(7)</doubt><p>zez,yey,y=z</p><p>This follows because if y = z, the right term in Eq. 6 is zero for any value of u. The dual objective L(u) is obtained by omitting the y = z constraint:</p><doubt alpha="44.1" length="34" tooSmall="False" monospace="0.0">L(u)   =     max L(u, y, z)zez,yey</doubt><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">=mmax(f(z)-Çj))</doubt><p>+ max(h(y) <i>+ </i><i>J2 </i>u(i, j )y(i,j)<i>)</i>.</p><p>Since L(u) maximizes over a larger space (y may not equal z), we have that L* &lt; L(u) (compare this to Eq. 7). The <i>dual problem, </i>which our algorithm optimizes, is to obtain the tightest such upper bound, (Dual problem) min L(u).</p><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">ueR|x|</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>The dual objective L(u) is convex, but not differen-tiable. However, we can use a subgradient method to derive an algorithm that is similar to gradient de­scent, and which minimizes L(u). A subgradient of a convex function L(u) at u is a vector du such that for all <i>v </i>G R|J|, L(v) &gt; L(u) + d„ • (v - u). By standard results, <i>in polynomial time.</i> argmaxyey h(y) + £i,j u(k)(i,j)y(i,j).<page local="5" global="1292"/> Subgra­dient optimization methods are iterative algorithms with updates that are similar to gradient descent:</p><doubt alpha="43.8" length="16" tooSmall="False" monospace="0.0">du(k)=y(k)- z(k)</doubt><doubt alpha="63.6" length="88" tooSmall="False" monospace="0.0">is a subgradient forL(u)atu=u(k),wherez(k)= argmaxzez f (z)i,ju(k)(i, j)z(i, j) andy(k)=</doubt><doubt alpha="37.5" length="24" tooSmall="False" monospace="0.0">y|i={y(i,j):j=1...n,j=i}</doubt><doubt alpha="42.9" length="42" tooSmall="False" monospace="0.0">u(k+1)=u(k)- afcdu(k)=u(k)-ak(y(k)- z(k)),</doubt><p>where ak is a step size. It is easily verified that the algorithm in Figure 1 uses precisely these updates.</p></subsection><subsection number="4.2" title="Formal Guarantees"><p>With an appropriate choice of the step sizes ak, the subgradient method can be shown to solve the dual problem, i.e.</p><p>lim L(u(k)) = min L(u).</p><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">fc^oou</doubt><p>See Korte and Vygen (2008), page 120, for details.</p><p>As mentioned before, the dual provides an up­per bound on the optimum of the primal problem zez,yey,y=z ueR|x|</p><doubt alpha="25.0" length="8" tooSmall="False" monospace="0.0">(Eq. 4),</doubt><doubt alpha="46.2" length="26" tooSmall="False" monospace="0.0">maxf (z)+h(y) &lt;minL(u).(9)</doubt><p>However, we do not necessarily have strong duality—i.e., equality in the above equation— because the sets Z and Y are discrete sets. That said, for some functions h(y) and f (z) strong du­ality does hold, as stated in the following:</p><p><b>Theorem 1 </b><i>Iffor</i><i> some </i>k G {1 . . . K} <i>in the al­gorithm in Figure 1, </i>y(k) (i, j) = z(k)(i,j) <i>for all </i>(i, j) G I, <i>then </i>(y(k), z(k)) <i>is a solution to the max­imization problem in Eq. 4.</i></p><doubt alpha="66.2" length="240" tooSmall="False" monospace="0.0">Proof.We have thatf(z(k))+h(y(k)) =L(u(k), z(k), y(k))=L(u(k)),where the last equal­ity is becausey(k), z(k)are defined as the respective argmax's. Thus, the inequality in Eq. 9 is tight, and(y(k), z(k))andu(k)are primal and dual optimal. □</doubt><p>Although the algorithm is not guaranteed to sat­isfy y(k) = z(k) for some k, by Theorem 1 if it does reach such a state, then we have the guarantee of an <i>exact </i>solution to Eq. 4, with the dual solution u pro­viding a certificate of optimality. We show in the experiments that this occurs very frequently, in spite of the parsing problem being NP-hard.</p><p>It can be shown that Eq. 8 is the dual of an LP relaxation of the original problem. When the con­ditions of Theorem 1 are satisfied, it means that the LP relaxation is <i>tight </i>for this instance. For brevity we omit the details, except to note that when the LP relaxation is <i>not </i>tight, the optimal primal solution to the LP relaxation could be recovered by averaging methods (Nedic and Ozdaglar, 2009).</p></subsection></section><section number="5" title="Grandparent Dependency Models"><p>In this section we extend the approach to consider grandparent relations. In grandparent models each parse tree y is represented as a vector where we have added a second set of duplicate vari­ables, yj (i, j) for all (i, j) G I. The set of all valid parse trees is then defined as</p><doubt alpha="36.1" length="36" tooSmall="False" monospace="0.0">y={y(i,j) :GI}U{yT(i,j) :      )G I}</doubt><doubt alpha="66.4" length="152" tooSmall="False" monospace="0.0">Y={y:y(i, j)variables form a directed tree,y?(i,j)=y(i,j) forall     )G I}We again partition the variables inton+ 1 subsets,y|o ... y|n, by (re)defining</doubt><doubt alpha="34.6" length="26" tooSmall="False" monospace="0.0">U{yj(k, i):k= 0... n, k=i}</doubt><p>So as before y|i contains variables y(i, j) which in­dicate which words modify the i'th word. In addi­tion, y|i includes yj(k, i) variables that indicate the word that word i itself modifies. The set of all possible values of y|i is now</p><doubt alpha="38.5" length="39" tooSmall="False" monospace="0.0">Zi={y|i:y(i, j)G{0,1} forj= 1...n, j=i;</doubt><doubt alpha="37.5" length="32" tooSmall="False" monospace="0.0">yj(k,i) G{0,1} fork= 0...n, k=i;</doubt><doubt alpha="30.8" length="13" tooSmall="False" monospace="0.0">£ yT(k,i)= 1}</doubt><p>Hence the y(i, j) variables can take any values, but only one of the yT(k, i) variables can be equal to 1 (as only one word can be a parent of word i). As be­fore, we define Z = {y : y|i G Zi for i = 0 ... n}.</p><p>We introduce the following assumption: <b>Assumption 2 (GS Decompositions) </b><i>A model </i>f (y) <i>satisfies the grandparent/sibling-decomposition (GSD) assumption if: </i><i>1)</i><i> </i>f(z) = En=o fi(z|i) <i>for some set of functions </i>fo ... fn. <i>2)</i><i> For any </i>i G {0 ... n}, <i>for any value of the variables </i>u(i, j) G R <i>for </i>j = 1 . . . n, <i>and </i>v(k, i) G R <i>for </i>k = 0... n, it <i>is possible to compute</i><page local="6" global="1293"/></p><doubt alpha="55.8" length="43" tooSmall="False" monospace="0.0">azrgmax(fi(z|i)-u(i,j)z(i,j)-v(k,i)zT(k,i))</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">argmax</doubt><doubt alpha="61.5" length="26" tooSmall="False" monospace="0.0">argmax f (z) + h(y)zez,yey</doubt><p>Again, it follows that we can approxi­mate y* = argmaxygy £f=0 <i>f</i><i>i</i><i>(y</i><i>\i) </i>by z* = arguiez E<b>?=o</b><b> </b>fi(z|i), by defining z*% = argmaxz|.ezi <i>f%(z</i><i>\i) </i>for i = 0 ...n. The resulting vector z* may be deficient in two respects. First, the variables z*(i, j) may not form a well-formed directed spanning tree. Second, we may have z|(i, j) = z*(i, j) for some values of (i, j).</p><p><b>Example 3:  Grandparent/Sibling Models </b>An important class of models that satisfy Assumption 2 are defined as follows. Again, for a vector y\% de­fine <i>l1..</i><i> </i><i>.l</i><i>p </i>to be the sequence of left modifiers to word i under y\%, and <i>r1... rq </i>to be the set of right modifiers. Define k* to the value for k such that <i>y](k,</i><i> </i><i>i)</i><i> </i>= 1. Then the model is defined as follows:</p><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">p+1q+1</doubt><doubt alpha="46.5" length="43" tooSmall="False" monospace="0.0">f%(y|%)=£gL(i,k*,lj-i,lj)+£gn(i,k*,rj-i,rj)</doubt><p>This is very similar to the bigram-sibling model, but with the modification that the <i>gL</i><i> </i>and <i>gR</i><i> </i>functions depend in addition on the value for <i>k </i>. This al­lows these functions to model grandparent depen­dencies such as <i>(k</i><i> </i><i>,</i><i> </i><i>i,</i><i> </i><i>l</i><i>j) </i>and sibling dependencies such as (i,       lj). Finding z*% under the definition can be accomplished in O(n<footnote anchor="3"/> ) time, by decoding the model using dynamic programming separately for each of the O(n) possible values of k*, and pick­ing the value for <i>k </i>that gives the maximum value under these decodings. □</p><p>A dual-decomposition algorithm for models that satisfy the GSD assumption is shown in Figure 2. The algorithm can be justified as an instance of La-grangian relaxation applied to the problem with constraints</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(10)</doubt><doubt alpha="43.2" length="37" tooSmall="False" monospace="0.0">z(i, j) =y(i, j) for all(i, j)g i(11)</doubt><doubt alpha="55.6" length="27" tooSmall="False" monospace="0.0">zt(i,j)=y(i,j)forall)gI(12)</doubt><p>The algorithm employs two sets of Lagrange mul­tipliers, <i>u(i,</i><i> </i><i>j</i>) and <i>v(i,</i><i> </i><i>j</i>), corresponding to con­straints in Eqs. 11 and 12. As in Theorem 1, ifatany point in the algorithm z(k) = y(k), then (z(k), y(k)) is an exact solution to the problem in Eq. 10.</p><doubt alpha="50.0" length="56" tooSmall="False" monospace="0.0">Setu(1)(i, j)—0, v(1)(i, j)—0for all(i, j)e Ifork=1toKdo</doubt><doubt alpha="56.5" length="23" tooSmall="False" monospace="0.0">y(k)—argmaxy(i,j)0(i,j)</doubt><doubt alpha="41.1" length="56" tooSmall="False" monospace="0.0">wherej) = Y(i, j) + u(k)(i, j) + v(k)(i,j).forie{0...n},</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">z(k)^|i</doubt><doubt alpha="48.1" length="27" tooSmall="False" monospace="0.0">(fi(zii)-£ u(k)(i,j)z(i,j)j</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">-£v(fc)(j,i)zT</doubt><doubt alpha="54.5" length="44" tooSmall="False" monospace="0.0">ify(k))=z(k)(i,j) = z(k)for all(i, j)e Ithen</doubt><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">return for all(i, j)e I,</doubt><doubt alpha="36.0" length="50" tooSmall="False" monospace="0.0">u(k+1)(i, j)—u(k)(i, j)+ak(z(k)(i, j )-y(k)(i, j))</doubt><doubt alpha="36.0" length="50" tooSmall="False" monospace="0.0">V(k+1)(i, j)—v(k)(i, j)+ak (z(k)(i, j)-y(k)(i, j))</doubt><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">return(y(K),z(K))</doubt><figure caption="Figure 2: The parsing algorithm for grandparent/sibling-decomposable models."></figure></section><section number="6" title="The Training Algorithm"><p>In our experiments we make use of discriminative linear models, where for an input sentence x, the score for a parse y is f (y) = w • 0(x, y) where w G Rd is a parameter vector, and 0(x, y) G Rdis a feature-vector representing parse tree y in con­junction with sentence x. We will assume that the features decompose in the same way as the sibling-decomposable or grandparent/sibling-decomposable models, that is 0(x, y) = £*=0 0(x, y\%) for some feature vector definition 0(x, y\%). In the <i>bigram sib­ling </i>models in our experiments, we assume that where as before l1... <i>lp</i><i> </i>and r1... rq are left and right modifiers under y\%, and where (/&gt;L and 0r are feature vector definitions. In the <i>grandparent models </i>in our experiments, we use a similar defi­nition with feature vectors 0L(x, i, k*, , lk) and 0r(x, i, k*, rk-1, rk), where k* is the parent for word i under y\%.</p><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">p+1q+ 1</doubt><doubt alpha="36.4" length="55" tooSmall="False" monospace="0.0">&lt;/&gt;(£,y|i) = ^&lt;f&gt;L(x,i,lk-1,lk)+£0fi(x,i,Tk-1,Tk)k=1k=1</doubt><p>We train the model using the averaged perceptron for structured problems (Collins, 2002). Given the i'th example in the training set, (x(i), y(i)), the per-ceptron updates are as follows:</p><doubt alpha="50.0" length="28" tooSmall="False" monospace="0.0">•z*= argmaxyezw•(/&gt;(x(i), y)</doubt><doubt alpha="24.4" length="45" tooSmall="False" monospace="0.0">• Ifz*=y(i), w=w+(/&gt;(x(%),y(%))-(/&gt;(x(%), z*)</doubt><page local="7" global="1294"/><p>The first step involves inference over the set z, rather than y as would be standard in the percep-tron. Thus, decoding during training can be achieved by dynamic programming over head automata alone, which is very efficient.</p><p>Our training approach is closely related to <i>local training methods </i>(Punyakanok et al., 2005). We have found this method to be effective, very likely because z is a superset of y. Our training algo­rithm is also related to recent work on training using <i>outer bounds </i>(see, e.g., (Taskar et al., 2003; Fin-ley and Joachims, 2008; Kulesza and Pereira, 2008; Martins et al., 2009)). Note, however, that the LP re­laxation optimized by dual decomposition is signifi­cantly tighter than z. Thus, an alternative approach would be to use the dual decomposition algorithm for inference during training.</p></section><section number="7" title="Experiments"><p>We report results on a number of data sets. For comparison to Martins et al. (2009), we perform ex­periments for Danish, Dutch, Portuguese, Slovene, Swedish and Turkish data from the CoNLL-X shared task (Buchholz and Marsi, 2006), and En­glish data from the CoNLL-2008 shared task (Sur-deanu et al., 2008). We use the official training/test splits for these data sets, and the same evaluation methodology as Martins et al. (2009). For com­parison to Smith and Eisner (2008), we also re­port results on Danish and Dutch using their alter­nate training/test split. Finally, we report results on the English WSJ treebank, and the Prague treebank. We use feature sets that are very similar to those described in Carreras (2007). We use marginal-based pruning, using marginals calculated from an arc-factored spanning tree model using the matrix-tree theorem (McDonald and Satta, 2007; Smith and</p><p>Smith, 2007; Koo et al., 2007).</p><p>In all of our experiments we set the value K, the maximum number of iterations of dual decompo­sition in Figures 1 and 2, to be 5,000. If the al­gorithm does not terminate—i.e., it does not return (y(fc), z&lt;») within 5,000 iterations—we simply take the parse y(k) with the maximum value of f (y(k)) as the output from the algorithm. At first sight 5,000 might appear to be a large number, but decoding is still fast—see Sections 7.3 and 7.4 for discussion.<footnote anchor="2"/></p><footnote label="2">Note also that the feature vectors 0 and inner products w • 0</footnote><p>The strategy for choosing step sizes <i>ak </i>is described in Appendix A, along with other details.</p><p>We first discuss performance in terms of <i>accu­racy, success in recovering an exact solution, </i>and <i>parsing speed. </i>We then describe additional experi­ments examining various aspects of the algorithm.</p><subsection number="7.1" title="Accuracy"><p>Table 1 shows results for previous work on the var­ious data sets, and results for an arc-factored model with pure MST decoding with our features. (We use the acronym UAS (unlabeled attachment score) for dependency accuracy.) We also show results for the bigram-sibling and grandparent/sibling (G+S) mod­els under dual decomposition. Both the bigram-sibling and G+S models show large improvements over the arc-factored approach; they also compare favorably to previous work—for example the G+S model gives better results than all results reported in the CoNLL-X shared task, on all languages. Note that we use different feature sets from both Martins et al. (2009) and Smith and Eisner (2008).</p></subsection><subsection number="7.2" title="Success in Recovering Exact Solutions"><p>Next, we consider how often our algorithms return an exact solution to the original optimization prob­lem, with a certificate—i.e., how often the algo­rithms in Figures 1 and 2 terminate with y(k) = z(k)for some value of k &lt; 5000 (and are thus optimal, by Theorem 1). The CertS and CertG columns in Ta­ble 1 give the results for the sibling and G+S models respectively. For all but one setting<footnote anchor="3"/> over 95% of the test sentences are decoded exactly, with 99% exact­ness in many cases.</p><p>For comparison, we also ran both the single-commodity flow and multiple-commodity flow LP relaxations of Martins et al. (2009) with our mod­els and features. We measure how often these re­laxations terminate with an exact solution. The re­sults in Table 2 show that our method gives exact solutions more often than both of these relaxations.<footnote anchor="4"/>In computing the accuracy figures for Martins et al.</p><p>only need to be computed once, thus saving computation.</p><footnote label="3">The exception is Slovene, which has the smallest training set at only 1534 sentences.</footnote><footnote label="4">Note, however, that it is possible that the Martins et al. re­laxations would have given a higher proportion of integral solu­tions if their relaxation was used during training.</footnote><page local="8" global="1295"/><p>Table 1: A comparison of non-projective automaton-based parsers with results from previous work. MST: Our first­order baseline. Sib/G+S: Non-projective head automata with sibling or grandparent/sibling interactions, decoded via dual decomposition. Ma09: The best UAS of the LP/ILP-based parsers introduced in Martins et al. (2009). Sm08: The best UAS of any LBP-based parser in Smith and Eisner (2008). Mc06: The best UAS reported by McDonald and Pereira (2006). Best: For the CoNLL-X languages only, the best UAS for any parser in the original shared task (Buchholz and Marsi, 2006) or in any column of Martins et al. (2009, Table 1); note that the latter includes McDonald and Pereira (2006), Nivre and McDonald (2008), and Martins et al. (2008). CertS/CertG: Percent of test examples for which dual decomposition produced a certificate of optimality, for Sib/G+S. TimeS/TimeG: Seconds/sentence for test decoding, for Sib/G+S. TrainS/TrainG: Seconds/sentence during training, for Sib/G+S. For consistency of timing, test decoding was carried out on identical machines with zero additional load; however, training was conducted on machines with varying hardware and load. We ran two tests on the CoNLL-08 corpus. Eng<footnote anchor="1"/>: UAS when testing on the CoNLL-08 validation set, following Martins et al. (2009). Eng<footnote anchor="2"/>: UAS when testing on the CoNLL-08 test set.</p><p>(2009), we project fractional solutions to a well-formed spanning tree, as described in that paper.</p></subsection><subsection number="7.3" title="Speed"><p>Table 1, columns TimeS and TimeG, shows decod­ing times for the dual decomposition algorithms. Table 2 gives speed comparisons to Martins et al. (2009). Our method gives significant speed-ups over</p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">■a</doubt><doubt alpha="50.0" length="2" tooSmall="True" monospace="0.0">Q.</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">E o</doubt><doubt alpha="66.7" length="3" tooSmall="True" monospace="0.0">0QL</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&amp;</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">TO</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">SS 0</doubt><p>% recomputed, g+s % recomputed, sib</p><doubt alpha="0.0" length="24" tooSmall="False" monospace="0.0">1000 2000 3000 4000 5000</doubt><p>Iterations of Dual Decomposition</p><p>Figure 3: The average percentage of head automata that must be recomputed on each iteration of dual decompo­sition on the PTB validation set.</p><p>the Martins et al. (2009) method, presumably be­cause it leverages the underlying structure of the problem, rather than using a generic solver.</p></subsection><subsection number="7.4" title="Lazy Decoding"><p>Here we describe an important optimization in the dual decomposition algorithms. Consider the algo­rithm in Figure 1. At each iteration we must find</p><doubt alpha="46.0" length="50" tooSmall="False" monospace="0.0">z.(%k)= argmax(f%(z\%) - £u(k)(i, j)z(i, j))ziezij</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">20</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">15</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">10</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><p>Finally, to better compare the tightness of our LP relaxation to that of earlier work, we consider  randomly-generated instances. Table 2 gives results for our model and the LP relaxations of Martins et al. (2009) with randomly generated scores on automata transitions. We again recover exact solutions more often than the Martins et al. relaxations. Note that with random parameters the percentage of exact so­lutions is significantly lower, suggesting that the ex­actness of decoding of the trained models is a special case. We speculate that this is due to the high perfor­mance of approximate decoding with Z in place of Y under the trained models for f%; the training algo­rithm described in section 6 may have the tendency to make the LP relaxation tight.</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>Ma09</p></td><td class="cell"><p>MST</p></td><td class="cell"><p>Sib</p></td><td class="cell"><p>G+S</p></td><td class="cell"><p>Best</p></td><td class="cell"><p>CertS</p></td><td class="cell"><p>CertG</p></td><td class="cell"><p>TimeS</p></td><td class="cell"><p>TimeG</p></td><td class="cell"><p>TrainS</p></td><td class="cell"><p>TrainG</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dan</p></td><td class="cell"><p>91.18</p></td><td class="cell"><p>89.74</p></td><td class="cell"><p>91.08</p></td><td class="cell"><p><b>91.78</b></p></td><td class="cell"><p>91.54</p></td><td class="cell"><p>99.07</p></td><td class="cell"><p>98.45</p></td><td class="cell"><p>0.053</p></td><td class="cell"><p>0.169</p></td><td class="cell"><p>0.051</p></td><td class="cell"><p>0.109</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dut</p></td><td class="cell"><p>85.57</p></td><td class="cell"><p>82.33</p></td><td class="cell"><p>84.81</p></td><td class="cell"><p><b>85.81</b></p></td><td class="cell"><p>85.57</p></td><td class="cell"><p>98.19</p></td><td class="cell"><p>97.93</p></td><td class="cell"><p>0.035</p></td><td class="cell"><p>0.120</p></td><td class="cell"><p>0.046</p></td><td class="cell"><p>0.048</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Por</p></td><td class="cell"><p>92.11</p></td><td class="cell"><p>90.68</p></td><td class="cell"><p>92.57</p></td><td class="cell"><p><b>93.03</b></p></td><td class="cell"><p>92.11</p></td><td class="cell"><p>99.65</p></td><td class="cell"><p>99.31</p></td><td class="cell"><p>0.047</p></td><td class="cell"><p>0.257</p></td><td class="cell"><p>0.077</p></td><td class="cell"><p>0.103</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Slo</p></td><td class="cell"><p>85.61</p></td><td class="cell"><p>82.39</p></td><td class="cell"><p>84.89</p></td><td class="cell"><p><b>86.21</b></p></td><td class="cell"><p>85.61</p></td><td class="cell"><p>90.55</p></td><td class="cell"><p>95.27</p></td><td class="cell"><p>0.158</p></td><td class="cell"><p>0.295</p></td><td class="cell"><p>0.054</p></td><td class="cell"><p>0.130</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Swe</p></td><td class="cell"><p>90.60</p></td><td class="cell"><p>88.79</p></td><td class="cell"><p>90.10</p></td><td class="cell"><p><b>91.36</b></p></td><td class="cell"><p>90.60</p></td><td class="cell"><p>98.71</p></td><td class="cell"><p>98.97</p></td><td class="cell"><p>0.035</p></td><td class="cell"><p>0.141</p></td><td class="cell"><p>0.036</p></td><td class="cell"><p>0.055</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Tur</p></td><td class="cell"><p>76.34</p></td><td class="cell"><p>75.66</p></td><td class="cell"><p>77.14</p></td><td class="cell"><p><b>77.55</b></p></td><td class="cell"><p>76.36</p></td><td class="cell"><p>98.72</p></td><td class="cell"><p>99.04</p></td><td class="cell"><p>0.021</p></td><td class="cell"><p>0.047</p></td><td class="cell"><p>0.016</p></td><td class="cell"><p>0.036</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Eng<footnote anchor="1"/></p></td><td class="cell"><p>91.16</p></td><td class="cell"><p>89.20</p></td><td class="cell"><p>91.18</p></td><td class="cell"><p><b>91.59</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>98.65</p></td><td class="cell"><p>99.18</p></td><td class="cell"><p>0.082</p></td><td class="cell"><p>0.200</p></td><td class="cell"><p>0.032</p></td><td class="cell"><p>0.076</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Eng<footnote anchor="2"/></p></td><td class="cell"><p>—</p></td><td class="cell"><p>90.29</p></td><td class="cell"><p>92.03</p></td><td class="cell"><p><b>92.57</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>98.96</p></td><td class="cell"><p>99.12</p></td><td class="cell"><p>0.081</p></td><td class="cell"><p>0.168</p></td><td class="cell"><p>0.032</p></td><td class="cell"><p>0.076</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Sm08</p></td><td class="cell"><p>MST</p></td><td class="cell"><p>Sib</p></td><td class="cell"><p>G+S</p></td><td class="cell"><p>—</p></td><td class="cell"><p>CertS</p></td><td class="cell"><p>CertG</p></td><td class="cell"><p>TimeS</p></td><td class="cell"><p>TimeG</p></td><td class="cell"><p>TrainS</p></td><td class="cell"><p>TrainG</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dan</p></td><td class="cell"><p>86.5</p></td><td class="cell"><p>87.89</p></td><td class="cell"><p>89.58</p></td><td class="cell"><p><b>91.00</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>98.50</p></td><td class="cell"><p>98.50</p></td><td class="cell"><p>0.043</p></td><td class="cell"><p>0.120</p></td><td class="cell"><p>0.053</p></td><td class="cell"><p>0.065</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dut</p></td><td class="cell"><p>88.5</p></td><td class="cell"><p>88.86</p></td><td class="cell"><p>90.87</p></td><td class="cell"><p><b>91.76</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>98.00</p></td><td class="cell"><p>99.50</p></td><td class="cell"><p>0.036</p></td><td class="cell"><p>0.046</p></td><td class="cell"><p>0.050</p></td><td class="cell"><p>0.054</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Mc06</p></td><td class="cell"><p>MST</p></td><td class="cell"><p>Sib</p></td><td class="cell"><p>G+S</p></td><td class="cell"><p>—</p></td><td class="cell"><p>CertS</p></td><td class="cell"><p>CertG</p></td><td class="cell"><p>TimeS</p></td><td class="cell"><p>TimeG</p></td><td class="cell"><p>TrainS</p></td><td class="cell"><p>TrainG</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PTB</p></td><td class="cell"><p>91.5</p></td><td class="cell"><p>90.10</p></td><td class="cell"><p>91.96</p></td><td class="cell"><p><b>92.46</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>98.89</p></td><td class="cell"><p>98.63</p></td><td class="cell"><p>0.062</p></td><td class="cell"><p>0.210</p></td><td class="cell"><p>0.028</p></td><td class="cell"><p>0.078</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PDT</p></td><td class="cell"><p>85.2</p></td><td class="cell"><p>84.36</p></td><td class="cell"><p>86.44</p></td><td class="cell"><p><b>87.32</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>96.67</p></td><td class="cell"><p>96.43</p></td><td class="cell"><p>0.063</p></td><td class="cell"><p>0.221</p></td><td class="cell"><p>0.019</p></td><td class="cell"><p>0.051</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><page local="9" global="1296"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><p>Table 2: A comparison of dual decomposition with lin­ear programs described by Martins et al. (2009). LP(S): Linear Program relaxation based on single-commodity flow. LP(M): Linear Program relaxation based on multi-commodity flow. ILP: Exact Integer Linear Pro­gram. DD-5000/DD-250: Dual decomposition with non-projective head automata, with K = 5000/250. Upper results are for the sibling model, lower results are G+S. Columns give scores for UAS accuracy, percentage of so­lutions which are integral, and solution speed in seconds per sentence. These results are for Section 22 of the PTB. The last column is the percentage of integral solutions on a random problem of length 10 words. The (I)LP experi­ments were carried out using Gurobi, a high-performance commercial-grade solver.</p><doubt alpha="54.2" length="48" tooSmall="False" monospace="0.0">fori= 0... n.However, if for somei, u(k)(i, j) =</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(k)</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">\%</doubt><doubt alpha="14.3" length="7" tooSmall="False" monospace="0.0">(k-1)\%</doubt><p><i>lazy decoding </i>we immediately set z(%k) = z(k u(k)(i, j) = u(k-1)(i, j) for all j; this check takes O(n) time, and saves us from decoding with the i'th automaton. In practice, the updates to u are very sparse, and this condition occurs very often in prac­tice. Figure 3 demonstrates the utility ofthis method for both sibling automata and G+S automata.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">1)</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">In</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">if</doubt><doubt alpha="18.2" length="11" tooSmall="False" monospace="0.0">(k)(k1)\%\%</doubt></subsection><subsection number="7.5" title="Early Stopping"><p>We also ran experiments varying the value of K— the maximum number of iterations—in the dual de­composition algorithms. As before, if we do not find y(k) = z(k) for some value of k &lt; K, we choose the y(k) with optimal value for f (y(k)) as the final solution. Figure 4 shows three graphs: 1) the accu­racy of the parser on PTB validation data versus the value for K; 2) the percentage of examples where y(k) = z(k) at some point during the algorithm, hence the algorithm returns a certificate of optimal­ity; 3) the percentage of examples where the solution</p><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">0en</doubt><doubt alpha="33.3" length="6" tooSmall="True" monospace="0.0">£Z O 0</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">200 400 600 800</doubt><p>Maximum Number of Dual Decomposition Iterations</p><p>Figure 4: The behavior of the dual-decomposition parser with sibling automata as the value of K is varied.</p><p>Table 3: UAS of projective and non-projective decoding for the English (PTB) and Czech (PDT) validation sets. Sib/G+S: as in Table 1. P-Sib/P-G+S: Projective versions of Sib/G+S, where the MST component has been re­placed with the Eisner (2000) first-order projective parser.</p><p>returned is the same as the solution for the algorithm with K = 5000 (our original setting). It can be seen for K as small as 250 we get very similar accuracy to K = 5000 (see Table 2). In fact, for this set­ting the algorithm returns the same solution as for K = 5000 on 99.59% of the examples. However only 89.29% of these solutions are produced with a certificate of optimality (y(k) = z(k)).</p></subsection><subsection number="7.6" title="How Good is the Approximation z * ?"><p>We ran experiments measuring the quality of z* = argmaxzez f(z), where f(z) is given by the perceptron-trained bigram-sibling model. Because z* may not be a well-formed tree with n dependen­cies, we report precision and recall rather than con­ventional dependency accuracy. Results on the PTB validation set were 91.11%/88.95% precision/recall, which is accurate considering the unconstrained na­ture of the predictions. Thus the z* approximation is clearly a good one; we suspect that this is one reason for the good convergence results for the method.</p></subsection><subsection number="7.7" title="Importance of Non-Projective Decoding"><p>It is simple to adapt the dual-decomposition algo­rithms in figures 1 and 2 to give <i>projective </i>depen­dency structures: the set y is redefined to be the set u(k ) for all j, then z of all projective structures, with the arg max over y being calculated using a projective first-order parser (Eisner, 2000).<page local="10" global="1297"/> Table 3 shows results for projec-tive and non-projective parsing using the dual de­composition approach. For Czech data, where non-projective structures are common, non-projective decoding has clear benefits. In contrast, there is little difference in accuracy between projective and non-projective decoding on English.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">100</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1000</doubt><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Sib</b></p></td><td class="cell"><p>Acc</p></td><td class="cell"><p>Int</p></td><td class="cell"><p>Time</p></td><td class="cell"><p>Rand</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LP(S)</p></td><td class="cell"><p>92.14</p></td><td class="cell"><p>88.29</p></td><td class="cell"><p>0.14</p></td><td class="cell"><p>11.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LP(M)</p></td><td class="cell"><p>92.17</p></td><td class="cell"><p>93.18</p></td><td class="cell"><p>0.58</p></td><td class="cell"><p>30.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ILP</p></td><td class="cell"><p>92.19</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>1.44</p></td><td class="cell"><p>100.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DD-5000</p></td><td class="cell"><p>92.19</p></td><td class="cell"><p>98.82</p></td><td class="cell"><p>0.08</p></td><td class="cell"><p>35.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DD-250</p></td><td class="cell"><p>92.23</p></td><td class="cell"><p>89.29</p></td><td class="cell"><p>0.03</p></td><td class="cell"><p>10.2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>G+S</b></p></td><td class="cell"><p>Acc</p></td><td class="cell"><p>Int</p></td><td class="cell"><p>Time</p></td><td class="cell"><p>Rand</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LP(S)</p></td><td class="cell"><p>92.60</p></td><td class="cell"><p>91.64</p></td><td class="cell"><p>0.23</p></td><td class="cell"><p>0.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LP(M)</p></td><td class="cell"><p>92.58</p></td><td class="cell"><p>94.41</p></td><td class="cell"><p>0.75</p></td><td class="cell"><p>0.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ILP</p></td><td class="cell"><p>92.70</p></td><td class="cell"><p>100.0</p></td><td class="cell"><p>1.79</p></td><td class="cell"><p>100.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DD-5000</p></td><td class="cell"><p>92.71</p></td><td class="cell"><p>98.76</p></td><td class="cell"><p>0.23</p></td><td class="cell"><p>6.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DD-250</p></td><td class="cell"><p>92.66</p></td><td class="cell"><p>85.47</p></td><td class="cell"><p>0.12</p></td><td class="cell"><p>0.0</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></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>-</b></p></td><td class="cell"><p>7</p></td><td class="cell"><p><b>-</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>/ s'</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>; S</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>t</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>t</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>i</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>- :</b></p></td><td class="cell"><p><b><i>i</i></b></p></td><td class="cell"><p><b>-</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>i i</i></b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>- ;</b></p></td><td class="cell"><p><b><i>i</i></b></p></td><td class="cell"><p>% validation UAS —</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>i</b></p></td><td class="cell"><p>% certificates — - —</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>:</b></p></td><td class="cell"><p><b><i>i</i></b></p></td><td class="cell"><p></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><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Sib</p></td><td class="cell"><p>P-Sib</p></td><td class="cell"><p>G+S</p></td><td class="cell"><p>P-G+S</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PTB PDT</p></td><td class="cell"><p>92.19 86.41</p></td><td class="cell"><p>92.34 85.67</p></td><td class="cell"><p>92.71 87.40</p></td><td class="cell"><p>92.70 86.43</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></tr></table></subsection></section><section number="8" title="Conclusions"><p>We have described dual decomposition algorithms for non-projective parsing, which leverage existing dynamic programming and MST algorithms. There are a number of possible areas for future work. As described in section 7.7, the algorithms can be easily modified to consider projective structures by replac­ing y with the set of projective trees, and then using first-order dependency parsing algorithms in place of MST decoding. This method could be used to derive parsing algorithms that include higher-order features, as an alternative to specialized dynamic programming algorithms. Eisner (2000) describes extensions of head automata to include word senses; we have not discussed this issue in the current pa­per, but it is simple to develop dual decomposition algorithms for this case, using similar methods to those used for the grandparent models. The gen­eral approach should be applicable to other lexical-ized syntactic formalisms, and potentially also to de­coding in syntax-driven translation. In addition, our dual decomposition approach is well-suited to paral-lelization. For example, each of the head-automata could be optimized independently in a multi-core or GPU architecture. Finally, our approach could be used with other structured learning algorithms, e.g.</p><p>Meshi et al. (2010).</p><p><b>A  Implementation Details</b></p><p>This appendix describes details of the algorithm, specifically choice of the step sizes <i>ak</i>, and use of the y(i, j) parameters.</p><p><b>A.1  Choice of Step Sizes</b></p><p>We have found the following method to be effec­tive. First, define b = f (z(1)) — f (y(1)), where (z(1), y(1)) is the output of the algorithm on the first iteration (note that we always have b &gt; 0 since f (z(1)) = L(u(1))). Then define <i>ak </i>= b/(1 + r?k), where r?k is the number of times that L(u(k )) &gt; L(u(k for k' &lt; k. Hence the learning rate drops at a rate of 1/(1 +t), where t is the number of times that the dual increases from one iteration to the next.</p><p><b>A.2  Use of the </b>y(i, j) <b>Parameters</b></p><p>The parsing algorithms both consider a general­ized problem that includes y (i, j) parameters. We now describe how these can be useful. Re­call that the optimization problem is to solve argmaxzeZ y€y f (z) + h(y), subject to a set of agreement constraints. In our models, f(z) can be written as f '(z) + <b><i>J2 </i></b><i>ijj </i>)z(i,j) where f'(z) includes only terms depending on higher-order (non arc-factored features), and ) are weights that consider the dependency between i and j alone. For any value of 0 &lt; ß &lt; 1, the problem argmaxz€Z<i>yey </i>f2(z) + h2(y) is equivalent to the original problem, if f2(z) = f'(z) + (1 — ß)£j;j a(i,j)z(i,j) and /^(y) = <i>ß</i><b><i>J2</i></b><i>ij </i>a(i,j)y(i,j). We have simply shifted the j) weights from one model to the other. While the optimization problem remains the same, the al­gorithms in Figure 1 and 2 will converge at differ­ent rates depending on the value for ß. In our ex­periments we set ß = 0.001, which puts almost all the weight in the head-automata models, but al­lows weights on spanning tree edges to break ties in MST inference in a sensible way. We suspect this is important in early iterations of the algorithm, when many values for u(i, j) or j) will be zero, and where with ß = 0 many spanning tree solutions y(k)would be essentially random, leading to very noisy updates to the u(i, j) and j) values. We have not tested other values for ß.</p><p><b>Acknowledgments </b>MIT gratefully acknowledges the support of Defense Advanced Research Projects Agency (DARPA) Machine Reading Program under Air Force Research</p><p>Laboratory (AFRL) prime contract no. FA8750-09-C-0181.</p><p>Any opinions, findings, and conclusion or recommendations ex­pressed in this material are those of the author(s) and do not necessarily reflect the view of the DARPA, AFRL, or the US government. A. Rush was supported by the GALE program of the DARPA, Contract No. HR0011-06-C-0022. D. Sontag was supported by a Google PhD Fellowship.</p><page local="11" global="1298"/></section><references><p>H. Alshawi. 1996. Head Automata and Bilingual Tiling: Translation with Minimal Representations. In <i>Proc. ACL, </i>pages 167-176. S. Buchholz and E. Marsi. 2006. CoNLL-X Shared Task on Multilingual Dependency Parsing. In <i>Proc. CoNLL, </i>pages 149-164. X. Carreras. 2007. Experiments with a Higher-Order Projective Dependency Parser.   In <i>Proc. EMNLP-</i> <i>CoNLL, </i>pages 957-961.</p><p>M. Collins. 2002. Discriminative Training Methods for Hidden Markov Models: Theory and Experiments with Perceptron Algorithms. In <i>Proc. EMNLP, </i>pages 1-8.</p><p>J. Duchi, D. Tarlow, G. Elidan, and D. Koller. 2007. Us­ing Combinatorial Optimization within Max-Product Belief Propagation. In <i>NIPS, </i>pages 369-376. J. Eisner. 2000. Bilexical grammars and their cubic-time parsing algorithms. <i>Advances in Probabilistic and Other Parsing Technologies, </i>pages 29-62. T. Finley and T. Joachims. 2008. Training structural svms when exact inference is intractable. In <i>ICML,</i> pages 304-311.</p><p>A. K. Joshi and Y. Schabes. 1997. Tree-Adjoining Grammars. <i>Handbook of Formal Languages: Beyond Words, </i>3:69-123.</p><p>N. Komodakis, N. Paragios, and G. Tziritas. 2007. MRF Optimization via Dual Decomposition: Message-Passing Revisited. In <i>Proc. ICCV. </i>T. Koo, A. Globerson, X. Carreras, and M. Collins. 2007. Structured Prediction Models via the Matrix-Tree The­orem. In <i>Proc. EMNLP-CoNLL, </i>pages 141-150.</p><p>B. H. Korte and J. Vygen. 2008. <i>Combinatorial Opti­mization: Theory and Algorithms. </i>Springer Verlag.</p><p>A. Kulesza and F. Pereira. 2008. Structured learning with approximate inference. In <i>NIPS.</i></p><p>C. Lemarechal. 2001. Lagrangian Relaxation. In <i>Com­putational Combinatorial Optimization, Optimal or Provably Near-Optimal Solutions [based on a Spring School], </i>pages 112-156, London, UK. Springer­Verlag.</p><p>A.F.T. Martins, D. Das, N.A. Smith, and E.P. Xing. 2008. Stacking Dependency Parsers. In <i>Proc. EMNLP, </i>pages 157-166.</p><p>A.F.T. Martins, N.A. Smith., and E.P. Xing. 2009. Con­cise Integer Linear Programming Formulations for De­pendency Parsing. In <i>Proc. ACL, </i>pages 342-350. R. McDonald and F. Pereira. 2006. Online Learning of Approximate Dependency Parsing Algorithms. In <i>Proc. EACL, </i>pages 81-88. R. McDonald and G. Satta. 2007. On the Complexity of Non-Projective Data-Driven Dependency Parsing. In <i>Proc.</i><i> IWPT.</i></p><p>R. McDonald, F. Pereira, K. Ribarov, and J. Hajic. 2005. Non-Projective Dependency Parsing using Spanning Tree Algorithms. In <i>Proc. HLT-EMNLP, </i>pages 523­530.</p><p>O. Meshi, D. Sontag, T. Jaakkola, and A. Globerson. 2010. Learning Efficiently with Approximate Infer­ence via Dual Losses. In <i>Proc. ICML.</i></p><p>A. Nedic and A. Ozdaglar. 2009. Approximate Primal Solutions and Rate Analysis for Dual Sub­gradient Methods. <i>SIAM Journal on Optimization, </i>19(4):1757-1780.</p><p>J. Nivre and R. McDonald. 2008. Integrating Graph-Based and Transition-Based Dependency Parsers. In <i>Proc.</i><i> ACL, </i>pages 950-958.</p><p>V. Punyakanok, D. Roth, W. Yih, and D. Zimak. 2005.</p><p>Learning and Inference over Constrained Output. In</p><doubt alpha="64.0" length="86" tooSmall="False" monospace="0.0">Proc. IJCAI,pages 1124-1129. S. Riedel and J. Clarke. 2006. Incremental Integer Linear</doubt><p>Programming for Non-projective Dependency Parsing.</p><p>In <i>Proc. EMNLP, </i>pages 129-137.</p><p>A. M. Rush, D. Sontag, M. Collins, and T. Jaakkola. 2010. On Dual Decomposition and Linear Program­ming Relaxations for Natural Language Processing. In <i>Proc. EMNLP.</i></p><p>D.A. Smith and J. Eisner. 2008. Dependency Parsing by Belief Propagation. In <i>Proc. EMNLP, </i>pages 145-156.</p><p>D.A. Smith and N.A. Smith. 2007. Probabilistic Mod­els of Nonprojective Dependency Trees. In <i>Proc. EMNLP-CoNLL, </i>pages 132-140.</p><p>D. Sontag, T. Meltzer, A. Globerson, T. Jaakkola, and Y. Weiss. 2008. Tightening LP Relaxations for MAP using Message Passing. In <i>Proc. UAI.</i></p><p>M. Steedman. 2000. <i>The Syntactic Process. </i>MIT Press.</p><p>M. Surdeanu, R. Johansson, A. Meyers, L. Marquez, and</p><doubt alpha="57.8" length="45" tooSmall="False" monospace="0.0">J. Nivre. 2008. The CoNLL-2008 Shared Task on</doubt><p>Joint Parsing of Syntactic and Semantic Dependencies.</p><p>In <i>Proc. CoNLL.</i></p><p>B. Taskar, C. Guestrin, and D. Koller. 2003. Max-margin Markov networks. In <i>NIPS.</i></p><p>M. Wainwright, T. Jaakkola, and A. Willsky. 2005. MAP estimation via agreement on trees: message-passing and linear programming. In <i>IEEE Transactions on In­formation Theory, </i>volume 51, pages 3697-3717.</p></references></body></article>