<?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="238"/><title>Dual Decomposition with Many Overlapping Components</title><pubinfo>Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing,pages 238-249, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Smith" givenname="Noah"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Aguiar" givenname="Pedro"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Figueiredo" givenname="Mario"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Martins" givenname="Andre"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>Dual Decomposition with Many Overlapping Components</b></p><p><b>André </b><b>F.</b><b> </b><b>T.</b><b> Martins*</b>f <b>Noah A. Smith*   Pedro M. Q. Aguiar*   Mario A. </b><b>T.</b><b> Figueiredof</b></p><p>* School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213, USA *Instituto de Sistemas e Robotica, Instituto Superior Tecnico, Lisboa, Portugal ^Instituto de Telecomunicacoes, Instituto Superior Tecnico, Lisboa, Portugal {afm,nasmith}@cs.cmu.edu,   aguiar@isr.ist.utl.pt, mtf@lx.it.pt</p></frontmatter><abstract>Dual decomposition has been recently pro­posed as a way of combining complemen­tary models, with a boost in predictive power. However, in cases where lightweight decom­positions are not readily available <i>(e.g., </i>due to the presence of rich features or logical con­straints), the original subgradient algorithm is inefficient. We sidestep that difficulty by adopting an augmented Lagrangian method that accelerates model consensus by regular­izing towards the averaged votes. We show how first-order logical constraints can be han­dled efficiently, even though the correspond­ing subproblems are no longer combinatorial, and report experiments in dependency pars­ing, with state-of-the-art results. </abstract></header><body><section number="1" title="Introduction"><p>The last years have witnessed increasingly accurate models for syntax, semantics, and machine transla­tion (Chiang, 2007; Finkel et al., 2008; Petrov and Klein, 2008; Smith and Eisner, 2008; Martins et al., 2009a; Johansson and Nugues, 2008; Koo et al., 2010). The predictive power of such models stems from their ability to break locality assumptions. The resulting combinatorial explosion typically demands some form of approximate decoding, such as sam­pling, heuristic search, or variational inference.</p><p>In this paper, we focus on parsers built from lin­ear programming relaxations, the so-called "turbo parsers" (Martins et al., 2009a; Martins et al., 2010). Rush et al. (2010) applied dual decomposition as a way of combining models which alone permit efficient decoding, but whose combination is in­tractable. This results in a relaxation of the origi­nal problem that is elegantly solved with the sub­gradient algorithm. While this technique has proven quite effective in parsing (Koo et al., 2010; Auli and Lopez, 2011) as well as machine translation (Rush and Collins, 2011), we show here that its success is strongly tied to the ability of finding a "good" decomposition, i.e., one involving few over­lapping components (or <i>slaves).</i><i> </i>With many compo­nents, the subgradient algorithm exhibits extremely slow convergence (cf. Fig. 2). Unfortunately, a lightweight decomposition is not always at hand, ei­ther because the problem does not factor in a natural way, or because one would like to incorporate fea­tures that cannot be easily absorbed in few tractable components. Examples include features generated by statements in first-order logic, features that vio­late Markov assumptions, or history features such as the ones employed in transition-based parsers.</p><p>To tackle the kind of problems above, we adopt DD-ADMM (Alg. 1), a recently proposed algorithm that accelerates dual decomposition (Martins et al., 2011). DD-ADMM retains the modularity of the subgradient-based method, but it speeds up consen­sus by regularizing each slave subproblem towards the averaged votes obtained in the previous round (cf. Eq. 14). While this yields more involved sub­problems (with a quadratic term), we show that ex­act solutions can still be efficiently computed for all cases of interest, by using sort operations. As a result, we obtain parsers that can handle very rich features, do not require specifying a decomposition, and can be heavily parallelized. We demonstrate the success of the approach by presenting experiments in dependency parsing with state-of-the-art results.</p></section><section number="2" title="Background"><subsection number="2.1" title="Structured Prediction"><p>Let x <i>G </i>X be an input object (e.g., a sentence), from which we want to predict a structured output y <i>G </i>Y <i>(e.g., </i>a parse tree). The output set Y is assumed too large for exhaustive search to be tractable. We assume to have a model that assigns a score f (y) to each candidate output, based on which we predict<page local="2" global="239"/></p><doubt alpha="40.9" length="22" tooSmall="False" monospace="0.0">y = arg max f (y). (1)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">yeY</doubt><p>Designing the model must obey certain practical considerations. If efficiency is the major concern, a simple model is usually chosen so that Eq. 1 can be solved efficiently, at the cost of limited expressive power. If we care more about accuracy, a model with richer features and more involved score functions may be designed. Decoding, however, will be more expensive, and approximations are often necessary. A typical source of intractability comes from the combinatorial explosion inherent in the composition of two or more tractable models (Bar-Hillel et al., 1964; Tromble and Eisner, 2006). Recently, Rush et al. (2010) have proposed a dual decomposition framework to address NLP problems in which the global score decomposes as f (y) = <i>f1(z1)</i><i> </i>+ f2(z2), where <i>z1 </i>and <i>z2 </i>are two overlapping "views" of the output, so thatEq. 1 becomes:</p><p>arc    consecutive siblings grandparent s.t. z1 ~ z2.</p><doubt alpha="62.5" length="40" tooSmall="False" monospace="0.0">maximizefi(zi) +f2(z2) w.r.t.ziGYi,z2GY2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p><i>h m </i>all siblings <i>h m s </i>head bigram</p><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">s 9 h</doubt><p>directed path</p><doubt alpha="62.1" length="29" tooSmall="False" monospace="0.0">a      " ' dnonprojective arc</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">m</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">h'h</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">/7\</doubt><p>Above, the notation z1 ~ z2 means that z1 and z2 "agree on their overlaps," and an isomorphism Y ^ <i>{{z1,z2)</i><i> </i><i>G </i>Y1 x Y2 | z1 ~ z2} is assumed. We next formalize these notions and proceed to compo­sitions of an <i>arbitrary </i>number of models. Of special interest is the unexplored setting where this number is very large and each component very simple.</p></subsection><subsection number="2.2" title="Decomposition into Parts"><p>A crucial step in the design of structured predictors is that of decomposing outputs into parts (Taskar et al., 2003). We assume the following setup:</p><p><b>Basic parts. </b>We let R be a set of <i>basic parts, </i>such that each element <i>y </i><i>G </i><i>Y </i>can be identified with a subset of R. The exact meaning of a "basic part" is problem dependent. For example, in dependency parsing, R can be the set of all possible dependency arcs (see Fig. 1); in phrase-based parsing, it can be the set of possible spans; in sequence labeling, it can be the set of possible labels at each position. Our only assumption is that we can "read out" y from the basic parts it contains. For convenience, we rep­resent y as a binary vector, y = (y(r))reR, where <i>y(r)</i><i> </i>= 1 if part r belongs to y, and 0 otherwise.</p><p><b>Decomposition. </b>We generalize the decomposition in Eq. 2 by considering sets <i>Y1,</i><i> </i><i>■</i><i> </i><i>■</i><i> </i><i>■,</i><i> </i><i>Ys</i><i> </i>for <i>S</i><i> </i><i>&gt; </i>2.</p><p>Figure 1: Parts used by our parser. <i>Arcs </i>are the ba­sic parts: any dependency tree can be "read out" from the arcs it contains. <i>Consecutive siblings </i>and <i>grandpar­ent </i>parts introduce horizontal and vertical Markovization (McDonald et al., 2006; Carreras, 2007). We break the horizontal Markov assumption via <i>all siblings </i>parts and the vertical one through parts which indicate a <i>directed path </i>between two words. Inspired by transition-based parsers, we also adopt <i>head bigram </i>parts, which look at the heads attached to consecutive words. Finally, we fol­low Martins et al. (2009a) and have parts which indicate if an arc is <i>non-projective </i><i>(i.e.,</i><i> </i>if it spans words that do not descend from its head).</p><p>Each <i>Ys</i><i> </i>is associated with its own set of parts <i>Rs,</i><i> </i>in the same sense as above; we represent the elements of Ys as binary vectors zs = (zs(r))reRs. Examples are vectors indicating a tree structure, a sequence, or an assignment of variables to a factor, in which case it may happen that only some binary vectors are legal. Some parts in Rs are basic, while others are not. We denote by Rs = Rs n R the subset of the ones that are. In addition, we assume that:</p><doubt alpha="58.5" length="41" tooSmall="False" monospace="0.0">•R1,...,Rsjointly coverR,i.e., RC\Js=1Rs;</doubt><doubt alpha="61.3" length="62" tooSmall="False" monospace="0.0">• Only basic parts may overlap,i.e., RsnRtçR,Vs,i G {1,...,S};</doubt><p>• Each zs G Ys is completely defined by its entries indexed by elements of Rs, from which we can guess the ones in Rs \ <i>RR</i>s. This implies that each y G Y has a unique decomposition (z1, ■ ■ ■, zs).</p><p>Fig. 1 shows several parts used in dependency pars­ing models; in phrase-based parsing, these could be spans and production rules anchored in the surface string; in sequence labeling, they can be unigram, bigram, and trigram labels.<footnote anchor="1"/> <b>Global consistency.</b><page local="3" global="240"/><b> </b>We want to be able to read out y G Y by "gluing" together the components (z1, ■ ■ ■, zs). This is only meaningful if they are "globally consistent," a notion which we make pre­cise. Two components zs G Ys and zt G <i>Y</i><i>t </i>are said to be <i>consistent </i>(denoted zs ~ zt) if they agree on their overlaps, <i>i.e., </i>if zs(r) = zt(r), Vr G Rs n Rt. A complete assignment (z1, ■ ■ ■, zs ) is <i>globally con­sistent </i>if all pairs of components are consistent. This is equivalent to the existence of a witness vector (u(r))reR suchthatzs(r) = u(r),Vs,r G Rs.</p><footnote label="1">There is a lot of flexibility about how to decompose the model into S components: each set R s can correspond to a sin-</footnote><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">h</doubt><p>With this setup, assuming that the score function decomposes as f(z) = ss=1 fs(zs), the decoding problem (which extends Eq. 2 for S &gt; 2) becomes:</p><doubt alpha="62.5" length="40" tooSmall="False" monospace="0.0">P:   maximizeJ2S=1fs(zs) w.r.t.zsGYs, Vs</doubt><doubt alpha="59.1" length="22" tooSmall="False" monospace="0.0">s.t.zs(r)=u(r),Vs,rGRs</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><p>We call the equality constraints expressed in the last line the "agreement constraints." It is these con­straints that complicate the problem, which would otherwise be exactly separable into S subproblems. The dual decomposition method (Komodakis et al., 2007; Rush et al., 2010) builds an approximation by dualizing out these constraints, as we describe next.</p></subsection><subsection number="2.3" title="Dual Decomposition"><p>We describe dual decomposition in a slightly differ­ent manner than Rush et al. (2010): we will first build a relaxation of P (called P'), in which the en­tire approximation is enclosed. Then, we dualize P yielding problem D. In the second step, the duality gap is zero, <i>i.e., </i>P' and D are equivalent.<footnote anchor="2"/> <b>Relaxation.</b><b> </b>For each s G {1, ■ ■ ■, S} we consider the convex hull of Ys,</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">Z</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">p(zs)zs</doubt><doubt alpha="33.3" length="9" tooSmall="False" monospace="0.0">P(zs) &gt;0,</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><p>We have that Y s = Zs n Z|Rs|; hence, problem P (Eq. 3) is equivalent to one in which each Ys is re­placed by Zs and the z-variables are constrained to be integer. By dropping the integer constraints, we obtain the following relaxed problem:</p><doubt alpha="61.0" length="41" tooSmall="False" monospace="0.0">P':   maximizeJ2s=1fs(zs)w.r.t.zsG Zs, Vs</doubt><doubt alpha="56.1" length="41" tooSmall="False" monospace="0.0">(u(r))reKG RIRI,_ s.t.zs(r)=u(r),Vs,rG Rs</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt><p>If the score functions fs are convex, P' becomes a convex program (unlike P, which is discrete); being a relaxation, it provides an upper bound of P.</p><p><b>Lagrangian. </b>Introducing a Lagrange multiplier As(r) for each agreement constraint in Eq. 5, one obtains the Lagrangian function and the dual problem (the <i>master)</i> where the gs(As) are the solution values of the fol­lowing subproblems (the <i>slaves):</i><i></i></p><doubt alpha="52.5" length="61" tooSmall="False" monospace="0.0">L(z,u,A)=£(fs(zsHEr€RsAs(r)zs(r))" Er€R(Es:r€RsAs(r))u(r),(6)</doubt><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">D:   minimizeY,s=15s(As)</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">w.r.t.A=(A^^As)(7)</doubt><doubt alpha="60.0" length="25" tooSmall="False" monospace="0.0">s.t.ES:reRsAs(r)=0,VrG R,</doubt><p>maximize   fs(zs)+£ RAs(r)zs(r) w.r.t.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>gle factor in a factor graph (Smith and Eisner, 2008), or to a entire subgraph enclosing several factors (Koo et al., 2010), or even to a formula in Markov logic (Richardson and Domingos, 2006). In these examples, the basic parts may correspond to individual variable-value pairs.</p><footnote label="2">Instead of following the path P —  P'  —  D, Rush et al. (2010) go straight from P to D via a Lagrangian relaxation. The two formulations are equivalent for linear score functions.</footnote><doubt alpha="62.5" length="80" tooSmall="False" monospace="0.0">We assume that strong duality holds (w.r.t. Eqs. 5­7), hence we have P &lt; P'= D.3</doubt><p><b>Solving the dual. </b>Why is the dual formulation D (Eqs. 7-8) more appealing than P' (Eq. 5)? The an­swer is that the components 1, ■ ■ ■, S are now de­coupled, which makes things easier provided each slave subproblem (Eq. 8) can be solved efficiently. In fact, this is always a concern in the mind of the model's designer when she chooses a decom­position (the framework that we describe in §3, in some sense, alleviates her from this concern). If the score functions are linear, <i>i.e., </i>of the form fs(zs) = EreRs #s(r)zs(r) for some vector 0s = ($s(r))reRs, then Eq. 8 becomes a linear program, for which a solution exists at a vertex of Zs (which in turn is an element of Y s).<page local="4" global="241"/> Depending on the struc­ture of the problem, Eq. 8 may be solved by brute force, dynamic programming, or specialized combi­natorial algorithms (Rush et al., 2010; Koo et al., 2010; Rush and Collins, 2011).</p><footnote label="3">This is guaranteed if the score functions f s  are linear.</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><p>Applying the projected subgradient method (Ko-modakis et al., 2007; Rush et al., 2010) to the mas­ter problem (Eq. 7) yields a remarkably simple algo­rithm, which at each round t solves the subproblems in Eq. 8 for <i>s </i><i>=</i><i> </i><i>1,</i><i>... ,S</i>, and then gathers these solutions (call them <i>zfs+1) </i>to compute an "averaged" vote for each basic part, where <i>ö(r) </i><i>= </i>|{s : r G Rs}| is the number of com­ponents which contain part r. An update of the La­grange variables follows, where <i>r</i><i>}t </i>is a stepsize. Intuitively, the algorithm pushes for a consensus among the slaves (Eq. 9), via an adjustment of the Lagrange multipliers which takes into consideration deviations from the aver­age (Eq. 10). The subgradient method is guaran­teed to converge to the solution of D (Eq. 7), for suitably chosen stepsizes (Shor, 1985; Bertsekas et al., 1999); it also provides a certificate of optimal-ity in case the relaxation is tight <i>(i.e., </i><i>P </i><i>= </i><i>D) </i>and the <i>exact </i>solution has been found. However, con­vergence is slow when <i>S </i>is large (as we will show in the experimental section), and no certificates are available when there is a relaxation gap (P &lt; P'). In the next section, we describe the DD-ADMM al­gorithm (Martins et al., 2011), which does not have these drawbacks and shares a similar simplicity.</p><doubt alpha="44.4" length="27" tooSmall="False" monospace="0.0">ut+\r)=^Es:reRszS+1(r), (9)</doubt><doubt alpha="31.8" length="44" tooSmall="False" monospace="0.0">A*s+1(r) = A*s(r)-r?t(zS+1(r)-ut+1(r)), (10)</doubt></subsection></section><section number="3" title="Alternating Directions Method"><p>There are two reasons why subgradient-based dual decomposition is not completely satisfying:</p><p>• it may take a long time to reach a consensus;</p><p>• it puts all its resources in solving the dual problem D, and does not attempt to make progress in the primal P', which is closer to our main concern.<footnote anchor="4"/></p><footnote label="4">Our main concern is P ; however solving P 1  is often a useful step towards that goal, either because a good rounding scheme exists, or because one may build tighter relaxations to approach P (Sontag et al., 2008; Rush and Collins, 2011).</footnote><p>Taking a look back at the relaxed primal problem P' (Eq. 5), we see that any primal feasible solution must satisfy the agreement constraints. This sug­gests that penalizing violations of these constraints could speed up consensus.</p><p><b>Augmented Lagrangian. </b>By adding a penalty term to Eq. 6, we obtain the <i>augmented </i><i>L</i><i>agrangian function </i>(Hestenes, 1969; Powell, 1969):</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">Ap(z,u,x)= L(z,u,x)-(zs(r)-u(r))2&gt;</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(11)</doubt><p>where the parameter p <i>&gt; </i>0 controls the intensity of the penalty. Augmented Lagrangian methods are well-known in the optimization community (see, <i>e.g., </i>Bertsekas et al. (1999), §4.2). They alternate updates to the A-variables, while seeking to maxi­mize <i>Ap </i>with respect to z and u. In our case, how­ever, this joint maximization poses difficulties, since the penalty term couples the two variables. The <i>al­ternating directions method of multipliers </i>(ADMM), coined by Gabay and Mercier (1976) and Glowinski and Marroco (1975), sidesteps this issue by perform­ing alternate maximizations, followed by an update of the Lagrange multipliers as in Eq. 10. Recently, ADMM has attracted inter­est, being applied in a variety of problems; see the recent book by Boyd et al. (2011) for an overview. As derived in the App. A, the u-updates in Eq. 13 have a closed form, which is precisely the averag­ing operation performed by the subgradient method (Eq. 9). We are left with the problem of comput­ing the z-updates. Like in the subgradient approach, the maximization in Eq. 12 can be separated into S independent slave subproblems, which now take the form:</p><doubt alpha="50.0" length="30" tooSmall="False" monospace="0.0">zt+1=  arg maxAp(z,ut,At),(12)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">z</doubt><doubt alpha="46.9" length="32" tooSmall="False" monospace="0.0">ut+1=arg maxAp(zt+1, u,At), (13)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">u</doubt><p>maximize  /s(zs) + E<i>reJi </i><i>A</i><i>s</i><i>(r)z</i><i>s</i><i>(r)</i></p><p><i>-</i>fEreR<b>s </b>(zs(r) - ut(r))<footnote anchor="2"/> (14) w.r.t. zs G <i>Z</i><i>s </i>(x).</p><p>Comparing Eq. 8 and Eq. 14, we observe that the only difference is the presence in the latter of a quadratic term which regularizes towards the pre­vious averaged votes <i>ut(r).</i><page local="5" global="242"/><i> </i>Because of this term, the solution of Eq. 14 for linear score functions may not be at a vertex (in contrast to the subgradient method). We devote §4 to describing exact and effi­cient ways of solving the problem in Eq. 14 for im­portant, widely used slaves. Before going into de­tails, we mention another advantage of ADMM over the subgradient algorithm: it knows when to stop.</p><p><b>Primal and dual residuals. </b>Recall that the sub-gradient method provides optimality certificates when the relaxation is tight (P <i>= P</i>') and an ex­act solution of P has been found. While this is good enough when tight relaxations are frequent, as in the settings explored by Rush et al. (2010), Koo et al. (2010), and Rush and Collins (2011), it is hard to know when to stop when a relaxation gap exists. We would like to have similar guarantees concern­ing the relaxed primal P'.<footnote anchor="5"/> A general weakness of subgradient algorithms is that they do not have this capacity, and so are usually stopped by specifying a maximum number of iterations. In contrast, ADMM allows to keep track of primal and dual residuals (Boyd et al., 2011). This allows providing certifi­cates not only for the exact solution of <i>P </i>(when the relaxation is tight), but also to terminate when a near optimal solution of the relaxed problem P' has been found. The <i>primal residual </i>rp measures the amount by which the agreement constraints are violated:</p><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">rPt=</doubt><doubt alpha="52.2" length="23" tooSmall="False" monospace="0.0">EtiEreRs(4(r) - ut(r))2</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">ErGR5(r)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(15)</doubt><p>the <i>dual residual </i><i>rlD</i><i> </i>is the amount by which a dual optimality condition is violated (see Boyd et al. (2011), p.18, for details). It is computed via:</p><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">EreRô(r)(u\r) -ut-1(r))2</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">ErGR&lt;Kr)'</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(16)</doubt><p>Our stopping criterion is thus that these two residu­als are below a threshold, <i>e.g., </i>1 x 10-3. The com­plete algorithm is depicted as Alg. 1. As stated in <b>Algorithm 1 </b>ADMM-based Dual Decomposition</p><p>1: <b>input: </b>score functions (/s(.))f=1, parameters p, n, thresholds eP and eD.</p><doubt alpha="64.7" length="17" tooSmall="False" monospace="0.0">2: initializet —1</doubt><doubt alpha="53.3" length="45" tooSmall="False" monospace="0.0">3: initializeu1(r) —0.5 andA^r) —0,Vs, Vr GRs</doubt><p>4: <b>repeat</b> 12: <b>output: </b>relaxed primal and dual solutions u, z, A</p><doubt alpha="47.8" length="23" tooSmall="False" monospace="0.0">5:for eachs= 1,..., Sdo</doubt><doubt alpha="54.2" length="48" tooSmall="False" monospace="0.0">6:        make azs-update, yieldingzfs+1(Eq. 14)</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">7:end for</doubt><doubt alpha="55.8" length="86" tooSmall="False" monospace="0.0">8:     make au-update, yieldingut+1(Eq. 9) 9:     make aA-update, yieldingAt+1(Eq. 10)</doubt><doubt alpha="18.2" length="11" tooSmall="False" monospace="0.0">10:t — t+ 1</doubt><doubt alpha="48.6" length="37" tooSmall="False" monospace="0.0">11:untilrp+1&lt; epandr^1&lt;eD(Eqs. 15-16)</doubt><doubt alpha="63.5" length="244" tooSmall="False" monospace="0.0">Martins et al. (2011), convergence to the solution of P'is guaranteed with a fixed stepsizerjt= Tp,withtG[1,1.618] (GlowinskiandLeTallec, 1989, Thm. 4.2). In our experiments, we sett= 1.5, and adapt p as described in (Boyd et al., 2011, p.20).6</doubt></section><section number="4" title="Solving the Subproblems"><p>In this section, we address the slave subproblems of DD-ADMM (Eq. 14). We show how these subprob­lems can be solved efficiently for several important cases that arise in NLP applications. Throughout, we assume that the score functions /s are linear, <i>i.e.</i>, they can be written as /s(zs) = <i>Y,</i><i>r</i><i>e</i><i>R</i><i>s </i><i>&amp;s</i><i>(r)z</i><i>s</i>(r). This is the case whenever a linear model is used, in which case <i>9s(r) </i>= <i>j^T)</i><i>w </i><i>' </i>r), where <i>w </i>is a weight vector and r) is a feature vector. It is also the scenario studied in previous work in dual decomposition (Rush et al., 2010). Under this as­sumption, and discarding constant terms, the slave subproblem in Eq. 14 becomes:</p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">max</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">zsezs</doubt><p><i>J2</i><i> </i><i>0</i><i>s</i><i>(r)z</i><i>s</i><i>(r) </i><i>- </i><i>PJ2     </i>(r) - «s(r))<footnote anchor="2"/>.</p><footnote label="5">This problem is more important than it may look. Problems with many slaves tend to be less exact, hence relaxation gaps are frequent. Also, when decoding is embedded in training, it is useful to obtain the fractional solution of the relaxed primal P (rather than an approximate integer solution). See Kulesza and</footnote><p>Pereira (2007) and Martins et al. (2009b) for details.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(17)</doubt><p>where as(r) = ut(r)+p_i(0s(r)+As(r)). Since <i>Zs</i>is a polytope, Eq. 17 is a quadratic program, which can be solved with a general purpose solver. How­ever, that does not exploit the structure of <i>Zs </i>and is inefficient when |Rs | is large. We next show that for many cases, a closed-form solution is available and can be computed in O(|Rs|) time, up to log factors.<page local="6" global="243"/><footnote anchor="7"/> <b>Pairwise Factors.</b><b> </b>This is the case where Rpair = {ri,r2,r12}, where ri and r2 are basic parts and ri2 is their conjunction, <i>i.e., </i>we have YPAIR = {(zi,z2,zi2) | zi2 = zi A z2}. This factor is use­ful to make conjunctions of variables participate in the score function (see <i>e.g. </i>the grandparent, sibling, and head bigram parts in Fig. 1). The convex hull of Y pair is the polytope Zpair = {(zi,z2,zi2) G and has a closed form solution (see App. B).</p><footnote label="6">Briefly, we initialize p = 0.03 and then increase/decrease p by a factor of 2 whenever the primal residual becomes &gt; 10 times larger/smaller than the dual residual.</footnote><doubt alpha="35.0" length="40" tooSmall="False" monospace="0.0">[0, 1]3|zi2&lt;zi, zi2&lt;z2,zi2&gt;zi+ z2-1}, as</doubt><doubt alpha="64.5" length="76" tooSmall="False" monospace="0.0">shown by Martins et al. (2010). In this case, problem (17) can be written as</doubt><doubt alpha="25.0" length="36" tooSmall="False" monospace="0.0">max   012z12-f[(z1- a1)2+ (z2- a2)2]</doubt><doubt alpha="25.0" length="28" tooSmall="False" monospace="0.0">w.r.t.(z1,z2,z12)G[0,1]3(18)</doubt><doubt alpha="26.5" length="34" tooSmall="False" monospace="0.0">s.t.z12&lt; z1,z12&lt; z2,z12&gt; z1+ z2- 1</doubt><p><b>Uniqueness Quantification and </b>xor. Many problems involve constraining variables to take a single value: for example, in dependency parsing, a modifier can only take one head. This can be expressed as the statement 3!y : Q(y) in first-order logic,<footnote anchor="8"/> or as a one-hot xor factor in a factor graph (Smith and Eisner, 2008; Martins et al., 2010).   In this case, RXOR = {ri,..., <i>rn</i>}, and</p><p>Yxor = {(zi,...,zn ) G {0, 1}n |   £n=i zt = 1}.</p><p>The convex hull of Yxor is Zxor = {(zi, ..., zn) G [0,1]n | 5^n=i zi = 1}. Assume for the sake of simplicity that all parts in RXOR are basic.<footnote anchor="9"/> Up to a constant, the slave subproblem becomes:</p><doubt alpha="52.2" length="23" tooSmall="False" monospace="0.0">minimize2E"=1(z» - ai)2</doubt><doubt alpha="25.0" length="28" tooSmall="False" monospace="0.0">w.r.t.(z1,...,z„)G[0,1]n(19)</doubt><p>s-t Er zi = 1.</p><p>This is the problem of projecting onto the probabil­ity simplex, which can be done in O(n log n) time via a sort operation (see App. C).<footnote anchor="10"/> <b>Existential Quantification and </b>OR. Sometimes, only existence is required, not necessarily unique­ness. This can be expressed with disjunctions, ex­istential quantifiers in first-order logic (3y : Q(y)), or as a OR factor. In this case, ROR = {ri,..., rn},</p><footnote label="7">This matches the asymptotic time that would be necessary to solve the corresponding problems in the subgradient method, for which algorithms are straightforward to derive. The point is that with ADMM fewer instances of these subproblems need to be solved, due to faster convergence of the master problem.</footnote><footnote label="8">The symbol 3! means "there is one and only one."</footnote><footnote label="9">A similar derivation can be made otherwise.</footnote><footnote label="10">Also common is the need for constraining existence of "at most one" element. This can be reduced to uniqueness quantifi­cation by adding a dummy NULL label.</footnote><doubt alpha="35.0" length="40" tooSmall="False" monospace="0.0">Yor=  {(zi,...,zn)G{0, 1}n|Vn=izi  = 1},</doubt><doubt alpha="60.3" length="126" tooSmall="False" monospace="0.0">and the convex hull isZOR= {(zi,..., zn)G[0,1]n|En=izi&gt;1} (see Tab. 1 in Martins et al. (2010)). The slave subproblem becomes:</doubt><doubt alpha="62.5" length="16" tooSmall="False" monospace="0.0">minimize2 E-a»)2</doubt><doubt alpha="25.0" length="28" tooSmall="False" monospace="0.0">w.r.t.(z!,...,z„)G[0,1]r(20)</doubt><p>s.t. <i>YT</i><i>i</i><i> </i><i>zi</i><i> </i>&gt; 1.</p><p>We derive a procedure in App. D to compute this projection in O(n log n) runtime, also with a sort.</p><p><b>Negations. </b>The two cases above can be extended to allow some of their inputs to be <i>negated. </i>By a change of variables in Eqs. 19-20 it is possible to reuse the same black box that solves those problems. The procedure is as follows:</p><p>1. For i = 1,..., n, set ai = 1 - ai if the ith variable is negated, and ai = ai otherwise.</p><p>2. Obtain (zi,..., zn) as the solution of Eqs. 19 or 20 providing (ai,..., an) as input.</p><p>3. For i = 1,..., n, set zi = 1 - zi if the ith variable is negated, and zi = zi otherwise.</p><p>The ability to handle negated variables adds a great degree of flexibility. From De Morgan's laws, we can now handle conjunctions and impli­cations (since <i>f\</i>n=i == is equivalent to <b>Logical Variable Assignments.</b><b> </b>All previous ex­amples involve taking a group of existing variables and defining a constraint. Alternatively, we may want to define a new variable which is the result of an operation involving other variables. For exam­ple, := 3!y : y). This corresponds to the XOR-WITH-OUTPUT factor in Martins et al. (2010). Interestingly, this can be expressed as a xor where is negated (i.e., either holds or exactly one y satisfies       y), but not both).</p><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">\/n=iV</doubt><doubt alpha="65.5" length="165" tooSmall="False" monospace="0.0">A more difficult problem is that of theOR-WITH-OUTPUTfactor, expressed by the formula :=3y : Q(x,y). We haveRor-out= {ro,...,rn},andYor-out= {(zo,..., zn)G{0,1}n|zo=</doubt><page local="7" global="244"/><p>Table 1: First-order logic formulae underlying our dependency parser. The basic parts are the predicate variables arc(h, m) (indicating an arc linking head h to modifier m), path(a, d) (indicating a directed path from ancestor a to descendant d), nextsibl(h, m, s) (indicating that (h, m) and (h, s) are consecutive siblings), nonproj (h, m) (indicating that (h, m) is a non-projective arc), as well as the auxiliary variables flow(h, m, d) (indicating that arc (h, m) carries flow to d), and lastsibl(h, m, k) (indicating that, up to position k, the last seen modifier of h occurred at position m). The non-basic parts are the pairwise factors sibl(h, m, s), grand(g, h, m), and bigram(b, h, m); as well as each logical formula. Columns 3—4 indicate the number of parts of each kind, and the time complexity for solving each subproblem. For a sentence of length n, there are O(n<footnote anchor="3"/> ) parts and the total complexity is O(n<footnote anchor="3"/> log n).</p><doubt alpha="60.7" length="89" tooSmall="False" monospace="0.0">Vi=1Zj}-The convex hull of yOR-OUTis the follow­ing set:Zor-out= {(Z0,...,Zn)S[0, 1]n|Z0&gt;</doubt><doubt alpha="53.0" length="83" tooSmall="False" monospace="0.0">Ei=1Zi,z0&lt;Zj,Vi = 1,..., n} (Martins et al., 2010, Tab.1). The slave subproblem is:</doubt><doubt alpha="52.4" length="21" tooSmall="False" monospace="0.0">minimize^"=0(zj- a,)2</doubt><doubt alpha="36.0" length="25" tooSmall="False" monospace="0.0">w.r.t.(zo,...,nzn)€[0,1]n</doubt><p>s.t. zo &gt; <i>J2</i><i>i=i</i><i> </i>Zi; zo &lt; Zj, Vi = 1,..., n.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(21)</doubt><p>The problem in Eq. 21 is more involved than the ones in Eqs. 19-20. Yet, there is still an efficient procedure with runtime O(n log n) (see App. E). By using the result above for negated variables, we are now endowed with a procedure for many other cases, such that and-with-output and formu­las with universal quantifiers <i>(e.g., </i>:= Vy : y)). Up to a log-factor, the runtimes will be linear in the number of predicates.</p><p><b>Larger Slaves. </b>The only disadvantage of DD-ADMM in comparison with the subgradient algo­rithm is that there is not an obvious way of solving the subproblem in Eq. 14 exactly for large combi­natorial factors, such as the T RE E constraint in de­pendency parsing, or a sequence model. Hence, our method seems to be more suitable for decomposi­tions which involve "simple slaves," even if their number is large. However, this does not rule out the possibility of using this method otherwise. Eckstein and Bertsekas (1992) show that the ADMM algo­rithm may still converge when the Z-updates are in­exact. Hence the method may still work ifthe slaves are solved numerically up to some accuracy. we de­fer this to future investigation.</p></section><section number="5" title="Experiments: Dependency Parsing"><p>We used 14 datasets with non-projective depen­dencies from the CoNLL-2006 and CoNLL-2008 shared tasks (Buchholz and Marsi, 2006; Surdeanu et al., 2008). We also used a projective English dataset derived from the Penn Treebank by applying the standard head rules of Yamada and Matsumoto (2003).<footnote anchor="11"/> We did not force the parser to output pro-jective trees or unique roots for any of the datasets; everything is learned from the data. We trained by running 10 iterations of the cost-augmented MiRA algorithm (Crammer et al., 2006) with LP-relaxed decoding, as in Martins et al. (2009b). Follow­ing common practice (Charniak and Johnson, 2005; Carreras et al., 2008), we employed a coarse-to-fine procedure to prune away unlikely candidate arcs, as described by Koo and Collins (2010). To ensure valid parse trees at test time, we rounded fractional solutions as described in Martins et al. (2009a) (yet, solutions were integral most of the time).<page local="8" global="245"/></p><footnote label="11">As usual, we train on sections §02-21, use §22 as validation data, and test on §23. We ran SVMTool (Gimenez and Marquez, 2004) to obtain automatic part-of-speech tags for §22-23.</footnote><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></p></td><td class="cell"><p># Slaves</p></td><td class="cell"><p>Runtime</p></td><td class="cell"><p>Description</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Tree</p></td><td class="cell"><p>3!h <b><i>: </i></b>arc(h, m),    m = 0</p><p>flow(h, m, k) =&gt; arc(h, m)</p><p>path(m, <i>d)</i><i> </i>:= 3!h : flow(h, <i>m,d),</i><i> </i><i>m</i><i> </i>= 0</p><p>path(h, d) := 3!m : flow(h, m, d)</p><p>path(0,m) := true,    flow(h,m, m) := true</p></td><td class="cell"><p>O(n) O(n<footnote anchor="3"/>) O(n<footnote anchor="2"/>) O(n<footnote anchor="2"/>)</p></td><td class="cell"><p>O(n log n) O(1)</p><p>O(n log n) O(n log n)</p></td><td class="cell"><p>Each non-root word has a head Only active arcs may carry flow</p><p>Paths and flows are consistent (see Martins et al. (2010))</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>All siblings</p></td><td class="cell"><p>sibl(h, m, s) := arc(h, m) A arc(h, s)</p></td><td class="cell"><p>O(n<footnote anchor="3"/>)</p></td><td class="cell"><p>O(1)</p></td><td class="cell"><p>By definition</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Grandp.</p></td><td class="cell"><p>grand(g, h, m) := arc(g, h) A arc(h, m)</p></td><td class="cell"><p>o(n<footnote anchor="3"/>)</p></td><td class="cell"><p>O(1)</p></td><td class="cell"><p>By definition</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Head Bigram</p></td><td class="cell"><p>bigram(b, h, m) := arc(b, m — 1) A arc(h, m),    m = 0</p></td><td class="cell"><p>o(n<footnote anchor="3"/>)</p></td><td class="cell"><p>O(1)</p></td><td class="cell"><p>By definition</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Consec. Sibl.</p></td><td class="cell"><p>lastsibl(h, m, m) := arc(h, m) 3!m G [h, k] : lastsibl(h, m, k) lastsibl(h, m, k) := lastsibl(h, m, k +1)</p><p>© nextsibl(h, m, k + 1) arc(h, m) := 3!s G [h, m] : nextsibl(h, s, m)</p></td><td class="cell"><p>O(n<footnote anchor="2"/>)</p><p>O(n<footnote anchor="3"/>) O(n<footnote anchor="2"/>)</p></td><td class="cell"><p>O(n log n) O(1)</p><p>O(n log n)</p></td><td class="cell"><p>Head automaton model (see supplementary material)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nonproj. Arc</p></td><td class="cell"><p>nonproj(h, m) := arc(h, m) A 3k G [h, m] : —path(h, k)</p></td><td class="cell"><p>o(n<footnote anchor="2"/>)</p></td><td class="cell"><p>O(n log n)</p></td><td class="cell"><p>By definition</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><p>The parts used in our full model are the ones depicted in Fig. 1. Note that a subgradient-based method could handle some of those parts efficiently <i>(arcs, consecutive siblings, grandparents, </i>and <i>head bigrams) </i>by composing arc-factored models, head automata, and a sequence labeler. However, no lightweight decomposition seems possible for incor­porating parts for <i>all siblings, directed paths, </i>and <i>non-projective arcs. </i>Tab. 1 shows the first-order logical formulae that encode the constraints in our model. Each formula gives rise to a subproblem which is efficiently solvable (see §4). By ablating some of rows of Tab. 1 we recover known methods:</p><p>• Resorting to the <i>tree </i>and <i>consecutive sibling </i>for­mulae gives one of the models in Koo et al. (2010), with the <i>same </i>linear relaxation (a proof of this fact is included in App. F);</p><p>• Resorting to <i>tree, all siblings, grandparent, </i>and <i>non-projective arcs, </i>recovers a multi-commodity flow configuration proposed by Martins et al. (2009a); the relaxation is also the same.<footnote anchor="12"/></p><p>The experimental results are shown in Tab. 2. For comparison, we include the best published re­sults for each dataset (at the best of our knowledge), among transition-based parsers (Nivre et al., 2006; Huang and Sagae, 2010), graph-based parsers (Mc­Donald et al., 2006; Koo and Collins, 2010), hybrid methods (Nivre and McDonald, 2008; Martins et al., 2008), and turbo parsers (Martins et al., 2010; Koo et al., 2010). Our full model achieved the best re­ported scores for 7 datasets. The last two columns show a consistent improvement (with the exceptions of Chinese and Arabic) when using the full set of features over a second order model with grandparent and consecutive siblings, which is our reproduction of the model of Koo et al. (2010).<footnote anchor="13"/></p><footnote label="12">Although Martins et al. (2009a) also incorporated consec­utive siblings in one of their configurations, our constraints are tighter than theirs. See App. F.</footnote><footnote label="13">Note however that the actual results of Koo et al. (2010) are higher than our reproduction, as can be seen in the second column. The differences are due to the features that were used and on the way the models were trained. The cause is not search error: exact decoding with an ILP solver (CPLEX) revealed no significant difference with respect to our G+CS column. We leave further analysis for future work.</footnote><p>Table 2: Unlabeled attachment scores, excluding punc­tuation. In the second column, [Ma08] denotes Martins et al. (2008), [KC10] is Koo and Collins (2010), [Ma10] is Martins et al. (2010), and [Ko10] is Koo et al. (2010). In columns 3—4, "Full" is our full model, and "G+CS" is our reproduction of the model of Koo et al. (2010), <i>i.e., </i>the same as "Full" but with all features ablated excepted for grandparents and consecutive siblings.</p><p>Table 3: Feature ablation experiments. AF is an arc-factored model; +G+CS adds grandparent and consec­utive siblings; +AS adds all-siblings; +NP adds non-projective arcs; Full adds the bigram and directed paths.</p><p><b>Feature ablation and error analysis. </b>We con­ducted a simple ablation study by training several models on the English PTB with different sets of features. Tab. 3 shows the results. As expected, per­formance keeps increasing as we use models with greater expressive power. We show some concrete examples in App. G of sentences that the full model parsed correctly, unlike less expressive models.</p><p><b>Convergence speed and optimality. </b>Fig. 2 com­pares the performance of DD-ADMM and the sub­gradient algorithms in the validation section of the PTB.<footnote anchor="14"/> For the second order model, the subgradient method has more slaves than in Koo et al. (2010):<page local="9" global="246"/> it has a slave imposing the TREE constraint (whose subproblems consists on finding a minimum span­ning tree) and several for the all-sibling parts, yield­ing an average number of 310.5 and a maximum of 4310 slaves. These numbers are still manage­able, and we observe that a "good" UAS is achieved relatively quickly. The ADMM method has many more slaves due to the multicommodity flow con­straints (average 1870.8, maximum 65446), yet it attains optimality sooner, as can be observed in the right plot. For the full model, the subgradient-based method becomes extremely slow, and the UAS score severely degrades (after 1000 iterations it is 2% less than the one obtained with the ADMM-based method, with very few instances having been solved to optimality). The reason is the number of slaves: in this configuration and dataset the average number of slaves per instance is 3327.4, and the largest num­ber is 113207. On the contrary, the ADMM method keeps a robust performance, with a large fraction of optimality certificates in early iterations.</p><footnote label="14">The learning rate in the subgradient method was set as r/t = n o /(l + N incr (t)), as in Koo et al. (2010), where N incr (t) is the number of dual increases up to the t th iteration, and r/ 0  is chosen to maximize dual decrease after 20 iterations (in a per sentence basis). Those preliminary iterations are not plotted in Fig. 2.</footnote><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><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>Best known UAS</p></td><td class="cell"><p>G+CS</p></td><td class="cell"><p>Full</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>80.18</p></td><td class="cell"><p>[Ma08]</p></td><td class="cell"><p><b>81.12</b></p></td><td class="cell"><p>81.10 (-0.02)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bulgar.</p></td><td class="cell"><p>92.88</p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>93.04</p></td><td class="cell"><p><b>93.50 </b>(+0.46)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chinese</p></td><td class="cell"><p><b>91.89</b></p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>91.05</p></td><td class="cell"><p>90.62 (-0.43)</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>88.78</p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>88.80</p></td><td class="cell"><p><b>89.46 </b>(+0.66)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>English</p></td><td class="cell"><p>92.57</p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>92.45</p></td><td class="cell"><p><b>92.68 </b>(+0.23)</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>91.78</p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>91.70</p></td><td class="cell"><p><b>91.86 </b>(+0.16)</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><b>85.81</b></p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>84.77</p></td><td class="cell"><p>85.53 (+0.76)</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>91.49</p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>91.29</p></td><td class="cell"><p><b>91.89 </b>(+0.60)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Japane.</p></td><td class="cell"><p>93.42</p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>93.62</p></td><td class="cell"><p><b>93.72 </b>(+0.10)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Portug.</p></td><td class="cell"><p><b>93.03</b></p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>92.05</p></td><td class="cell"><p>92.29 (+0.24)</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>86.21</p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>86.09</p></td><td class="cell"><p><b>86.95 </b>(+0.86)</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><b>87.04</b></p></td><td class="cell"><p>[Ma10]</p></td><td class="cell"><p>85.99</p></td><td class="cell"><p>86.74 (+0.75)</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><b>91.36</b></p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>89.94</p></td><td class="cell"><p>90.16 (+0.22)</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><b>77.55</b></p></td><td class="cell"><p>[Ko10]</p></td><td class="cell"><p>76.24</p></td><td class="cell"><p>76.64 (+0.40)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PTB §23</p></td><td class="cell"><p><b>93.04</b></p></td><td class="cell"><p>[KC10]</p></td><td class="cell"><p>92.19</p></td><td class="cell"><p>92.53 (+0.34)</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><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>AF</p></td><td class="cell"><p>+G+CS</p></td><td class="cell"><p>+AS</p></td><td class="cell"><p>+NP</p></td><td class="cell"><p>Full</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>§22</p></td><td class="cell"><p>91.02</p></td><td class="cell"><p>92.13</p></td><td class="cell"><p>92.32</p></td><td class="cell"><p>92.36</p></td><td class="cell"><p>92.41</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>§23</p></td><td class="cell"><p>91.36</p></td><td class="cell"><p>92.19</p></td><td class="cell"><p>92.41</p></td><td class="cell"><p>92.50</p></td><td class="cell"><p>92.53</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></tr></table><p><b>Runtime and caching strategies. </b>Despite its suit­ability to problems with many overlapping compo­nents, our parser is still 1.6 times slower than Koo et al. (2010) (0.34 against 0.21 sec./sent. in PTB § 23), and is far beyond the speed of transition-based parsers (e.g., Huang and Sagae (2010) take 0.04 sec./sent. on the same data, although accuracy is lower, 92.1%). Our implementation, however, is not fully optimized. We next describe how considerable speed-ups are achieved by caching the subproblems, following a strategy similar to Koo et al. (2010).</p><p>Fig. 3 illustrates the point. After a few iterations, many variables u(r) see a consensus being achieved (i.e., u*(r) = z*+1(r), Vs) and enter an idle state: they are left unchanged by the u-update in Eq. 9, and so do the Lagrange variables AS+1(r) (Eq. 10). If by iteration t all variables in a subproblem s are idle, then <i>zts+1(r) </i>= zS(r), hence the subproblem does not need to be resolved.<footnote anchor="15"/> Fig. 3 shows that</p><footnote label="15">Even if not all variables are idle in s, caching may still be useful: note that the z-updates in Eq. 14 tend to be sparse for the subproblems described in §4 (these are Euclidean projections onto polytopes with 0/1 vertices, which tend to hit corners). An­other trick that may accelerate the algorithm is warm-starting: since many subproblems involve a sort operation, storing the sorted indexes may speedup the next round.</footnote><p><b>Full ADMM</b></p><doubt alpha="0.0" length="9" tooSmall="True" monospace="0.0">100|-!-!-</doubt><p>Figure 3: Fraction of active variables, subproblems and messages along DD-ADMM iterations (full model). The number of active messages denotes the total number of variables (active or not) that participate in an active factor.</p><p><b>Elapsed Times</b></p><doubt alpha="0.0" length="19" tooSmall="True" monospace="0.0">10"310"!10"110° 101</doubt><doubt alpha="64.7" length="17" tooSmall="True" monospace="0.0">"Time ADMM (sec.)</doubt><p>Figure 4: Runtimes of DD-ADMM and CPLEX on PTB § 22 (each point is a sentence). Average runtimes are 0.362 (DD-ADMM) and 0.565 sec./sent. (CPLEX).</p><p>many variables and subproblems are left untouched after the first few rounds.</p><p>Finally, Fig. 4 compares the runtimes of our im­plementation of DD-ADMM with those achieved by a state-of-the-art LP solver, CPLEX, in its best per­forming configuration: the simplex algorithm ap­plied to the dual LP. We observe that DD-ADMM is faster in some regimes but slower in others. For short sentences (&lt; 15 words), DD-ADMM tends to be faster. For longer sentences, CPLEX is quite ef­fective as it uses good heuristics for the pivot steps in the simplex algorithm; however, we observed that it sometimes gets trapped on large problems. Note also that DD-ADMM is not fully optimized, and that it is much more amenable to parallelization than the simplex algorithm, since it is composed of many in­dependent slaves. This suggests potentially signifi­cant speed-ups in multi-core environments.</p></section><section number="6" title="Related Work"><p>Riedel and Clarke (2006) first formulated depen­dency parsing as an integer program, along with logical constraints. The multicommodity flow for-<page local="10" global="247"/></p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">92</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">91</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">90</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">I89 in</doubt><doubt alpha="0.0" length="10" tooSmall="False" monospace="0.0">&lt; 88 87 86</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">85,</doubt><p>Accuracy</p><p>Stopping Criteria</p><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">400 600 Iterations</doubt><p>Figure 2: UAS including punctuation (left) and fraction of optimality certificates (right) accross iterations of the subgradient and DD-ADMM algorithms, in PTB §22. "Full" is our full model; "Sec Ord" is a second-order model with grandparents and all siblings, for which the subgradient method uses a coarser decomposition with a TREE factor. Since subgradient and DD-ADMM are solving the same problems, the solid lines (as the dashed ones) would meet in the limit, however subgradient converges very slowly for the full model. The right plot shows optimality certificates for both methods, indicating that an exact solution of P has been found; for DD-ADMM we also plot the fraction of instances that converged to an accurate solution of P' (primal and dual residuals &lt; 10-3) and hence can be stopped.</p><p>mulation was introduced by Martins et al. (2009a), along with some of the parts considered here. Koo et al. (2010) proposed a subgradient-based dual de­composition method that elegantly combines head automata with maximum spanning tree algorithms; these parsers, as well as the loopy belief propagation method of Smith and Eisner (2008), are all instances of turbo parsers (Martins et al., 2010).</p><p>DD-ADMM has been proposed and theoretically analyzed by Martins et al. (2011) for problems rep-resentable as factor graphs. The general ADMM method has a long-standing history in optimization (Hestenes, 1969; Powell, 1969; Glowinski and Mar-roco, 1975; Gabay and Mercier, 1976; Boyd et al., 2011). Other methods have been recently proposed to accelerate dual decomposition, such as Jojic et al. (2010) and Meshi and Globerson (2011) (the latter applying ADMM in the dual rather than the primal).</p><p>While our paper shows limitations of the sub­gradient method when there are many overlapping components, this method may still be advantageous over ADMM in problems that are nicely decom­posable, since it often allows reusing existing com­binatorial machinery. Yet, the scenario we con­sider here is realistic in NLP, where we often have to deal with not-lightly-decomposable constrained problems (e.g., exploiting linguistic knowledge).</p></section><section number="7" title="Conclusion"><p>We have introduced new feature-rich turbo parsers. Since exact decoding is intractable, we solve an LP relaxation through a recently proposed consensus algorithm, DD-ADMM, which is suitable for prob­lems with many overlapping components. We study the empirical runtime and convergence properties of DD-ADMM, complementing the theoretical treat­ment in Martins et al. (2011). DD-ADMM com­pares favourably against the subgradient method in several aspects: it is faster to reach a consensus, it has better stopping conditions, and it works better in non-lightweight decompositions. While its slave subproblems are more involved, we derived closed-form solutions for many cases of interest, such as first-order logic formulas and combinatorial factors.</p><p>DD-ADMM may be useful in other frameworks involving logical constraints, such as the models for compositional semantics presented by Liang et al. (2011). Non-logical constraints may also yield efficient subproblems, <i>e.g., </i>the length con­straints in summarization and compression (Clarke and Lapata, 2008; Martins and Smith, 2009; Berg-</p><p>Kirkpatrick et al., 2011). Finally, DD-ADMM can be adapted to tighten its relaxations towards exact decoding, as in Sontag et al. (2008) and Rush and Collins (2011). We defer this for future work.</p></section><section title="Acknowledgments"><p>We thank all reviewers for their comments, Eric Xing for helpful discussions, and Terry Koo and Sasha Rush for answering questions about their parser and for providing code. A. M. was supported by a FCT/ICTI grant through the CMU-Portugal Program, and by Priberam. This work was partially supported by the FET programme (EU FP7), under the SIMBAD project (contract 213250). N. S. was supported by NSF CAREER IIS-1054319.</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><i>f/:::::::::::</i></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></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></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>— ADMM Full</p><p>— Subgrad Full</p><p>...... ADMM Sec Ord</p><p>...... Subgrad Sec Ord</p></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></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></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"></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"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>- ADMM Full (Tol&lt;0.001)</p><p>- ADMM Full (Exact) -</p><p>— Subgrad Full (Exact)</p><p>...... ADMM Sec Ord (Tol&lt;0.001)</p><p>...... ADMM Sec Ord (Exact) "</p></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"></td></tr><tr class="row"><td class="cell"></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></p></td><td class="cell"><p></p></td><td class="cell"><p>...... Subgrad Sec Ord (Exact)</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="11" global="248"/></section><references><p>M. Auli and A. Lopez. 2011. A Comparison of Loopy Belief Propagation and Dual Decomposition for Inte­grated CCG Supertagging and Parsing. In <i>Proc. of </i>ACL.</p><p>Y. Bar-Hillel, M. Perles, and E. Shamir. 1964. On for­mal properties of simple phrase structure grammars. <i>Language and Information: Selected Essays on their Theory and Application, </i>pages 116-150.</p><p>Taylor Berg-Kirkpatrick, Dan Gillick, and Dan Klein. 2011. Jointly learning to extract and compress. In <i>Proc.</i><i> ofACL.</i></p><p>D. Bertsekas, W. Hager, and O. Mangasarian. 1999. <i>Nonlinear programming. </i>Athena Scientific.</p><p>D. P. Bertsekas, A. Nedic, and A.E. Ozdaglar. 2003. <i>Con­vex analysis and optimization. </i>Athena Scientific.</p><p>S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein. 2011. <i>Distributed Optimization and Statistical Learn­ing via the Alternating Direction Method ofMultipli-ers. </i>Now Publishers (to appear).</p><p>J.P. Boyle and R.L. Dykstra. 1986. A method for find­ing projections onto the intersections of convex sets in Hilbert spaces. In <i>Advances in order restricted statis­tical inference, </i>pages 28—47. Springer Verlag.</p><p>S. Buchholz and E. Marsi. 2006. CoNLL-X shared task on multilingual dependency parsing. In <i>CoNLL.</i></p><p>X. Carreras, M. Collins, and T. Koo. 2008. TAG, Dy­namic Programming, and the Perceptron for Efficient, Feature-rich Parsing. In <i>CONLL.</i></p><p>X. Carreras. 2007. Experiments with a higher-order pro-jective dependency parser. In <i>CoNLL.</i></p><p>E. Charniak and M. Johnson. 2005. Coarse-to-fine n-best parsing and MaxEnt discriminative reranking. In <i>Proc. ACL, </i>pages 173-180. Association for Computa­tional Linguistics Morristown, NJ, USA.</p><p>D. Chiang. 2007. Hierarchical phrase-based translation. <i>computational linguistics, </i>33(2):201-228.</p><p>J. Clarke and M. Lapata. 2008. Global Inference for Sen­tence Compression An Integer Linear Programming Approach. <i>JAIR, </i>31:399-429.</p><p>K. Crammer, O. Dekel, J. Keshet, S. Shalev-Shwartz, and Y. Singer. 2006. Online Passive-Aggressive Algo­rithms. <i>JMLR, </i>7:551-585.</p><p>J. Duchi, S. Shalev-Shwartz, Y. Singer, and T. Chandra. 2008. Efficient projections onto the L1-ball for learn­ing in high dimensions. In <i>ICML.</i></p><p>J. Eckstein and D. Bertsekas. 1992. On the Douglas­Rachford splitting method and the proximal point al­gorithm for maximal monotone operators. <i>Mathemat­ical Programming, </i>55(1):293-318.</p><p>J. R. Finkel, A. Kleeman, and C. D. Manning. 2008. Effi­cient, feature-based, conditional random field parsing. <i>Proceedings of ACL-08: HLT, </i>pages 959-967.</p><p>D. Gabay and B. Mercier. 1976. A dual algorithm for the solution of nonlinear variational problems via finite element approximation. <i>Computers and Mathematics with Applications, </i>2(1):17-40.</p><p>J. Gimenez and L. Marquez. 2004. Svmtool: A gen­eral pos tagger generator based on support vector ma­chines. In <i>Proc. ofLREC.</i></p><p>R. Glowinski and P. Le Tallec. 1989. <i>Augmented La-grangian and operator-splitting methods in nonlinear mechanics. </i>Society for Industrial Mathematics.</p><p>R. Glowinski and A. Marroco. 1975. Sur l'approximation, par elements finis d'ordre un, et la resolution, par penalisation-dualite, d'une classe de problemes de Dirichlet non lineaires. <i>Rev. Franc. Au­tomat. Inform. Rech. Operat., </i>9:41-76.</p><p>M. Hestenes. 1969. Multiplier and gradient methods. <i>Jour. Optim. Theory and Applic., </i>4:302-320.</p><p>L. Huang and K. Sagae. 2010. Dynamic programming for linear-time incremental parsing. In <i>Proc. ofACL, </i>pages 1077-1086.</p><p>R. Johansson and P. Nugues. 2008. Dependency-based Semantic Role Labeling of PropBank. In <i>EMNLP.</i></p><p>V. Jojic, S. Gould, and D. Koller. 2010. Accelerated dual decomposition for MAP inference. In <i>ICML.</i></p><p>N. Komodakis, N. Paragios, and G. Tziritas. 2007. MRF optimization via dual decomposition: Message-passing revisited. In <i>ICCV.</i></p><p>T. Koo and M. Collins. 2010. Efficient third-order de­pendency parsers. In <i>Proc. ofACL, </i>pages 1-11.</p><p>T. Koo, A. M. Rush, M. Collins, T. Jaakkola, and D. Son-tag. 2010. Dual decomposition for parsing with non-projective head automata. In <i>EMNLP.</i></p><p>A. Kulesza and F. Pereira. 2007. Structured Learning with Approximate Inference. <i>NIPS.</i></p><p>P. Liang, M.I. Jordan, and D. Klein. 2011. Learning dependency-based compositional semantics. In <i>Proc. Association for Computational Linguistics (ACL).</i></p><p>A. F. T. Martins and N. A. Smith. 2009. Summarization with a joint model for sentence extraction and com­pression. In <i>NAACL-HLT Workshop on Integer Linear Programming for NLP.</i></p><p>A. F. T. Martins, D. Das, N. A. Smith, and E. P. Xing. 2008. Stacking dependency parsers. In <i>EMNLP.</i></p><p>A. F. T. Martins, N. A. Smith, and E. P. Xing. 2009a.</p><p>Concise integer linear programming formulations for dependency parsing. In <i>ACL-IJCNLP.</i></p><p>A. F. T. Martins, N. A. Smith, and E. P. Xing. 2009b.</p><p>Polyhedral outer approximations with application to natural language parsing. In <i>ICML. </i>A. F. T. Martins, N. A. Smith, E. P. Xing, M. A. T.</p><p>Figueiredo, and P. M. Q. Aguiar. 2010. Turbo parsers: Dependency parsing by approximate variational infer­ence. In <i>EMNLP.</i></p><page local="12" global="249"/><p>A. F. T. Martins, M. A. T. Figueiredo, P. M. Q. Aguiar, N. A. Smith, and E. P. Xing. 2011. An Augmented Lagrangian Approach to Constrained MAP Inference.</p><p>In <i>ICML.</i></p><p>R. McDonald, K. Lerman, and F. Pereira. 2006. Multi­lingual dependency analysis with a two-stage discrim­inative parser. In <i>CoNLL.</i></p><p>O. Meshi and A. Globerson. 2011. An Alternating Direc­tion Method for Dual MAP LP Relaxation. In <i>ECML PKDD.</i></p><p>J. Nivre and R. McDonald. 2008. Integrating graph-based and transition-based dependency parsers. In <i>ACL-HLT.</i><i></i></p><p>J. Nivre, J. Hall, J. Nilsson, G. Eryigit, and S. Marinov. 2006. Labeled pseudo-projective dependency parsing with support vector machines. In <i>Procs. ofCoNLL.</i></p><p>S. Petrov and D. Klein. 2008. Sparse multi-scale gram­mars for discriminative latent variable parsing. In <i>Proc.</i><i> ofEMNLP.</i></p><p>M. Powell. 1969. A method for nonlinear constraints in minimization problems. In R. Fletcher, editor, <i>Opti­mization, </i>pages 283-298. Academic Press.</p><p>M. Richardson and P. Domingos. 2006. Markov logic networks. <i>Machine Learning, </i>62(1):107-136.</p><p>S. Riedel and J. Clarke. 2006. Incremental integer linear programming for non-projective dependency parsing.</p><p>In <i>EMNLP.</i></p><p>A. M. Rush and M. Collins. 2011. Exact decoding of syntactic translation models through lagrangian relax­ation. In <i>ACL.</i></p><p>A. Rush, D. Sontag, M. Collins, and T. Jaakkola. 2010. On dual decomposition and linear programming relax­ations for natural language processing. In <i>EMNLP.</i></p><doubt alpha="63.8" length="47" tooSmall="False" monospace="0.0">N. Shor.     1985.Minimization methods for non-</doubt><p><i>differentiable functions. </i>Springer. D. Smith and J. Eisner. 2008. Dependency parsing by</p><p>belief propagation. In <i>EMNLP. </i>D. Sontag, T. Meltzer, A. Globerson, Y. Weiss, and</p><p>T Jaakkola. 2008. Tightening LP relaxations for MAP</p><p>using message-passing. In <i>UAI. </i>M. Surdeanu, R. Johansson, A. Meyers, L. Marquez, and joint parsing of syntactic and semantic dependencies.</p><doubt alpha="57.8" length="45" tooSmall="False" monospace="0.0">J. Nivre. 2008. The CoNLL-2008 shared task on</doubt><p><i>CoNLL.</i></p><p>B. Taskar, C. Guestrin, and D. Koller. 2003. Max-margin Markov networks. In <i>NIPS.</i></p><p>R.W. Tromble and J. Eisner. 2006. A fast finite-state relaxation method for enforcing global constraints on sequence decoding. In <i>Proc. ofNAACL, </i>pages 423­430.</p><p>M. Wainwright and M. Jordan. 2008. <i>Graphical Models, Exponential Families, and Variational Inference. </i>Now Publishers.</p><p>H. Yamada and Y. Matsumoto.  2003.  Statistical de­pendency analysis with support vector machines. In <i>IWPT.</i><i></i></p></references></body></article>