<?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="1"/><title>On Dual Decomposition and Linear Programming Relaxations for Natural Language Processing</title><pubinfo>Proceedingsofthe2010ConferenceonEmpiricalMethodsinNaturalLanguageProcessing,pages 1-11, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Rush" givenname="Alexander M"><org  name="MIT CSAIL" country="USA"/></author><author surname="Sontag" givenname="David"><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></firstpageheader><frontmatter><p><b>On Dual Decomposition and Linear Programming Relaxations for Natural Language Processing</b></p><p><b>Alexander M. Rush        David Sontag        Michael Collins        Tommi Jaakkola</b></p><p>MIT CSAIL, Cambridge, MA 02139, USA</p><p>{srush,dsontag,mcollins,tommi}@csail.mit.edu</p></frontmatter><abstract>This paper introduces <i>dual decomposition </i>as a framework for deriving inference algorithms for NLP problems. The approach relies on standard dynamic-programming algorithms as oracle solvers for sub-problems, together with a simple method for forcing agreement be­tween the different oracles. The approach provably solves a linear programming (LP) re­laxation of the global inference problem. It leads to algorithms that are <i>simple, </i>in that they use existing decoding algorithms; <i>efficient, </i>in that they avoid exact algorithms for the full model; and often <i>exact, </i>in that empirically they often recover the correct solution in spite of using an LP relaxation. We give experimen­tal results on two problems: 1) the combina­tion of two lexicalized parsing models; and 2) the combination of a lexicalized parsing model and a trigram part-of-speech tagger. </abstract></header><body><section number="1" title="Introduction"><p>Dynamic programming algorithms have been re­markably useful for inference in many NLP prob­lems. Unfortunately, as models become more com­plex, for example through the addition of new fea­tures or components, dynamic programming algo­rithms can quickly explode in terms of computa­tional or implementational complexity.<footnote anchor="1"/> As a re­sult, efficiency of inference is a critical bottleneck for many problems in statistical NLP.</p><p>This paper introduces <i>dual decomposition </i>(Dantzig and Wolfe, 1960; Komodakis et al., 2007) as a framework for deriving inference algorithms in NLP. Dual decomposition leverages the observation that complex inference problems can often be decomposed into efficiently solvable sub-problems. The approach leads to inference algorithms with the following properties:</p><footnote label="1">The same is true for NLP inference algorithms based on other exact combinatorial methods, for example methods based on minimum-weight spanning trees (McDonald et al., 2005), or graph cuts (Pang and Lee, 2004).</footnote><p>• The resulting algorithms are simple and efficient, building on standard dynamic-programming algo­rithms as oracle solvers for sub-problems,<footnote anchor="2"/> to­gether with a method for forcing agreement be­tween the oracles.</p><p>• The algorithms provably solve a linear program­ming (LP) relaxation of the original inference problem.</p><p>• Empirically, the LP relaxation often leads to an exact solution to the original problem.</p><p>The approach is very general, and should be appli­cable to a wide range of problems in NLP. The con­nection to linear programming ensures that the algo­rithms provide a certificate of optimality when they recover the exact solution, and also opens up the possibility of methods that incrementally tighten the LP relaxation until it is exact (Sherali and Adams, 1994; Sontag et al., 2008).</p><p>The structure of this paper is as follows. We first give two examples as an illustration of the ap­proach: 1) integrated parsing and trigram part-of-speech (POS) tagging; and 2) combined phrase-structure and dependency parsing. In both settings, it is possible to solve the integrated problem through an "intersected" dynamic program (e.g., for integra­tion of parsing and tagging, the construction from Bar-Hillel et al. (1964) can be used). However, these methods, although polynomial time, are sub­stantially less efficient than our algorithms, and are considerably more complex to implement.</p><p>Next, we describe exact polyhedral formula­tions for the two problems, building on connec­tions between dynamic programming algorithms and marginal polytopes, as described in Martin et al. (1990). These allow us to precisely characterize the relationship between the exact formulations and the<page local="2" global="2"/></p><footnote label="2">More generally, other exact inference methods can be used as oracles, for example spanning tree algorithms for non-projective dependency structures.</footnote><p>LP relaxations that we solve. We then give guaran­tees of convergence for our algorithms by showing that they are instantiations of Lagrangian relaxation, a general method for solving linear programs of a particular form.</p><p>Finally, we describe experiments that demonstrate the effectiveness of our approach. First, we con­sider the integration of the generative model for phrase-structure parsing of Collins (2003), with the second-order discriminative dependency parser of Koo et al. (2008). This is an interesting problem in its own right: the goal is to inject the high per­formance of discriminative dependency models into phrase-structure parsing. The method uses off-the-shelf decoders for the two models. We find three main results: 1) in spite of solving an LP relax­ation, empirically the method finds an exact solution on over 99% of the examples; 2) the method con­verges quickly, typically requiring fewer than 10 it­erations of decoding; 3) the method gives gains over a baseline method that forces the phrase-structure parser to produce the same dependencies as the first-best output from the dependency parser (the Collins (2003) model has an F1 score of 88.1%; the base­line method has an F1 score of 89.7%; and the dual decomposition method has an F1 score of 90.7%).</p><p>In a second set of experiments, we use dual de­composition to integrate the trigram POS tagger of Toutanova and Manning (2000) with the parser of Collins (2003). We again find that the method finds an exact solution in almost all cases, with conver­gence in just a few iterations of decoding.</p><p>Although the focus of this paper is on dynamic programming algorithms—both in the experiments, and also in the formal results concerning marginal polytopes—it is straightforward to use other com­binatorial algorithms within the approach. For ex­ample, Koo et al. (2010) describe a dual decompo­sition approach for non-projective dependency pars­ing, which makes use of both dynamic programming and spanning tree inference algorithms.</p></section><section number="2" title="Related Work"><p>Dual decomposition is a classical method for solv­ing optimization problems that can be decomposed into efficiently solvable sub-problems. Our work is inspired by dual decomposition methods for infer­ence in Markov random fields (MRFs) (Wainwright et al., 2005a; Komodakis et al., 2007; Globerson and Jaakkola, 2007). In this approach, the MRF is de­composed into sub-problems corresponding to tree-structured subgraphs that together cover all edges of the original graph. The resulting inference algo­rithms provably solve an LP relaxation of the MRF inference problem, often significantly faster than commercial LP solvers (Yanover et al., 2006).</p><p>Our work is also related to methods that incorpo­rate combinatorial solvers within loopy belief prop­agation (LBP), either for MAP inference (Duchi et al., 2007) or for computing marginals (Smith and Eisner, 2008). Our approach similarly makes use of combinatorial algorithms to efficiently solve sub­problems of the global inference problem. However, unlike LBP, our algorithms have strong theoretical guarantees, such as guaranteed convergence and the possibility of a certificate of optimality. These guar­antees are possible because our algorithms directly solve an LP relaxation.</p><p>Other work has considered LP or integer lin­ear programming (ILP) formulations of inference in</p><doubt alpha="56.9" length="51" tooSmall="False" monospace="0.0">NLP (Martins et al., 2009; Riedel and Clarke, 2006;</doubt><p>Roth and Yih, 2005). These approaches typically use general-purpose LP or ILP solvers. Our method has the advantage that it leverages underlying struc­ture arising in LP formulations of NLP problems. We will see that dynamic programming algorithms such as CKY can be considered to be very effi­cient solvers for particular LPs. In dual decomposi­tion, these LPs—and their efficient solvers—can be embedded within larger LPs corresponding to more complex inference problems.</p></section><section number="3" title="Background: Structured Models for NLP"><p>We now describe the type of models used throughout the paper. We take some care to set up notation that will allow us to make a clear connection between inference problems and linear programming.</p><p>Our first example is weighted CFG parsing. We assume a context-free grammar, in Chomsky normal form, with a set of non-terminals N. The grammar contains all rules of the form <i>A — B C </i>and A <i>— </i>w where A, B,C G N and w G V (it is simple to relax this assumption to give a more constrained grammar). For rules of the form <i>A </i>— <i>w </i>we refer to <i>A </i>as the part-of-speech tag for <i>w. </i>We allow any non-terminal to be at the root of the tree.</p><page local="3" global="3"/><p>Given a sentence with n words, wi, w2,... <i>wn, </i>a parse tree is a set of rule productions of the form (A — B <i>C,i,k,j</i>) where A,B,C G N, and 1 &lt; i &lt; k &lt; j &lt; n. Each rule production rep­resents the use of CFG rule A — B C where non­terminal A spans words wi <i>...wj</i>, non-terminal B spans words wj... wk, and non-terminal C spans words wk+1... wj. There are O(|N|<footnote anchor="3"/>n<footnote anchor="3"/>) such rule productions. Each parse tree corresponds to a subset of these rule productions, of size n — 1, that forms a well-formed parse tree.<footnote anchor="3"/></p><p>We now define the <i>index set </i>for CFG parsing as</p><doubt alpha="38.7" length="31" tooSmall="False" monospace="0.0">I = {(A — BC,i,k,j): A,B,C G N,</doubt><doubt alpha="22.2" length="18" tooSmall="False" monospace="0.0">1 &lt; i &lt; k &lt; j &lt; n}</doubt><p>Each parse tree is a vector y = {yr : r G I}, with yr = 1 if rule r is in the parse tree, and yr = 0 otherwise. Hence each parse tree is represented as a vector in {0,1}m, where m = We use Y to denote the set of all valid parse-tree vectors; the set Y is a subset of {0,1}m (not all binary vectors correspond to valid parse trees).</p><p>In addition, we assume a vector 6 = {6r : r G I} that specifies a weight for each rule production.<footnote anchor="4"/>Each 6r can take any value in the reals. The optimal parse tree is y* = arg maxyey y • 6 where y • 6 = <i>J2r </i><i>yr</i>6r is the inner product between y and 6.</p><p>We use yr and y(r) interchangeably (similarly for 6r and 6(r)) to refer to the r'th component of the vector y. For example 6(A — B C, i, k, j) is a weight for the rule (A — B C, i, k, j).</p><p>We will use similar notation for other problems. As a second example, in POS tagging the task is to map a sentence of n words w1... wn to a tag se­quence <i>t1</i>... tn, where each <i>ti </i>is chosen from a set T of possible tags. We assume a trigram tagger, where a tag sequence is represented through deci­sions ((A,B) — C, i) where A, B, C G T, and 1 G {3 ... n}. Each production represents a tran­sition where C is the tag of word wi, and (A, B) are the previous two tags. The index set for tagging is</p><footnote label="3">We do not require rules of the form A — w i  in this repre­sentation, as they are redundant: specifically, a rule production (A — B C,i,k,j) implies a rule B — w i  iff i = k, and C — wj iff j = k + 1.</footnote><footnote label="4">We do not require parameters for rules of the form A — w, as they can be folded into rule production parameters. E.g., under a PCFG we define 6(A — B C,i, k, j) = log P (A — B C | A) + Si, k log P(B — wi\B) + S k+1 ,j log P(C — wj\C) where 5 x&gt;y  = 1 if x = y, 0 otherwise.</footnote><doubt alpha="37.5" length="40" tooSmall="False" monospace="0.0">itag= {((A, B)—C, i) : A, B, CgT, 3&lt;i&lt;n}</doubt><p>Note that we do not need transitions for i = 1 or i = 2, because the transition ((A, B) — C, 3) specifies the first three tags in the sentence.<footnote anchor="5"/></p><p>Each tag sequence is represented as a vector <i>z </i>= {zr : r G Itag}, and we denote the set of valid tag sequences, a subset of {0,1}lJtagl, as <i>Z</i>. Given a parameter vector 6 = {6r : r G Itag}, the optimal tag sequence is arg maxzeZ z • 6.</p><p>As a modification to the above approach, we will find it convenient to introduce extended index sets for both the CFG and POS tagging examples. For the CFG case we define the extended index set to be I' = IU Iuni where</p><doubt alpha="41.4" length="29" tooSmall="False" monospace="0.0">Iuni= {(i,t): iG{1 ...n},tGT}</doubt><p>Here each pair (i, t) represents word wi being as­signed the tag t. Thus each parse-tree vector y will have additional (binary) components y(i, t) spec­ifying whether or not word i is assigned tag t. (Throughout this paper we will assume that the tag-setusedbythetagger, T, is asubsetofthesetofnon-terminals considered by the parser, N.) Note that this representation is over-complete, since a parse tree determines a unique tagging for a sentence: more explicitly, for any i G {1... n}, <i>Y </i>G T, the following linear constraint holds:</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><doubt alpha="48.0" length="25" tooSmall="False" monospace="0.0">y(i,Y)=Y,Ey(X—YZ,i,i,k) +</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">k=i+1 X,ZGNi-1</doubt><doubt alpha="47.1" length="17" tooSmall="False" monospace="0.0">]T  ]Ty(X—ZY,k,i—</doubt><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">k = 1 X,ZGN</doubt><p>We apply the same extension to the tagging index set, effectively mapping trigrams down to unigram assignments, again giving an over-complete repre­sentation. The extended index set for tagging is re­ferred to as Itag.</p><p>From here on we will make exclusive use of ex­tended index sets for CFG parsing and trigram tag­ging. We use the set Y to refer to the set of valid parse structures under the extended representation; each y G Y is a binary vector of length |I' |.<page local="4" global="4"/> We similarly use Z to refer to the set of valid tag struc­tures under the extended representation. We assume parameter vectors for the two problems, 6cfg G R|J/|and 6tag G R<footnote anchor="11"/>^ l.</p><footnote label="5">As one example, in an HMM, the parameter 6((A, B) — C, 3) would be log P (A|**)+log P (B|*A)+log P(C\AB) + log P (w i |A) + log P(w 2 \B) + log P(w 3 \C ), where * is the start symbol.</footnote></section><section number="4" title="Two Examples"><p>This section describes the dual decomposition ap­proach for two inference problems in NLP.</p><subsection number="4.1" title="Integrated Parsing and Trigram Tagging"><p>We now describe the dual decomposition approach for integrated parsing and trigram tagging. First, de­fine the set Q as follows:</p><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">q= {(y,z): ygy,zgZ,</doubt><doubt alpha="50.0" length="36" tooSmall="False" monospace="0.0">y(i,t) = z(i,t)for all(i,t)gi„ni}(1)</doubt><p>Hence Q is the set of all (y, z) pairs that agree on their part-of-speech assignments. The integrated parsing and trigram tagging problem is then to solve where g : Y — Z is a function that maps a parse tree y to its set of trigrams z = g(y). The benefit of the formulation in Eq. 2 is that it makes explicit the idea of maximizing over all pairs (y, z) under a set of agreement constraints y(i, t) = z(i, t)—this con­cept will be central to the algorithms in this paper.</p><doubt alpha="64.9" length="57" tooSmall="False" monospace="0.0">maxfy • 6cfg+ z • 6tag")(2) This problem is equivalent to</doubt><doubt alpha="44.4" length="27" tooSmall="False" monospace="0.0">max (y • 6cfg+ g(y) • 6tag)</doubt><p>With this in mind, we note that we have effi­cient methods for the inference problems of tagging and parsing alone, and that our combined objective almost separates into these two independent prob­lems. In fact, if we drop the y(i, t) = z(i, t) con­straints from the optimization problem, the problem splits into two parts, each of which can be efficiently solved using dynamic programming:</p><doubt alpha="46.8" length="47" tooSmall="False" monospace="0.0">(y*, z*) = (arg max y • 6cfg, arg max z • 6tag)</doubt><p>Dual decomposition exploits this idea; it results in the algorithm given in figure 1. The algorithm opti­mizes the combined objective by repeatedly solving the two sub-problems separately—that is, it directly</p><doubt alpha="61.4" length="44" tooSmall="False" monospace="0.0">Set(i, t) — 0for all(i, t) G Iunifork=1toKdo</doubt><doubt alpha="49.1" length="53" tooSmall="False" monospace="0.0">y(k)- arg max (y • 6cfg—E«(k)(i, t)y(i, t))(i,t)exuni</doubt><doubt alpha="45.2" length="42" tooSmall="False" monospace="0.0">z(k)— arg m ax (z • 6tagu(k)(i, t)z(i, t))</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">ZE(i,t)€luni</doubt><doubt alpha="55.1" length="49" tooSmall="False" monospace="0.0">ify(k)(i, t) = z(k)(i, t)for all(i, t) G Iunithen</doubt><doubt alpha="59.0" length="39" tooSmall="False" monospace="0.0">return(y(k),z(k))for all( i, t) G Iuni,</doubt><doubt alpha="38.9" length="72" tooSmall="False" monospace="0.0">u(k+1)(i, t)     u(k)(i,t) + ak(y(k)(i,t) - z(k)(i, t))return(y(K),z(K))</doubt><p>Figure 1: The algorithm for integrated parsing and tag­ging. The parameters ak &gt; 0 for k = 1 ...K specify step sizes for each iteration, and are discussed further in the Appendix. The two arg max problems can be solved using dynamic programming.</p><p>solves the harder optimization problem using an ex­isting CFG parser and trigram tagger. After each iteration the algorithm adjusts the weights u(i, t); these updates modify the objective functions for the two models, encouraging them to agree on the same POS sequence. In section 6.1 we will show that the variables u( i, t) are Lagrange multipliers enforcing agreement constraints, and that the algorithm corre­sponds to a (sub)gradient method for optimization of a dual function. The algorithm is easy to imple­ment: all that is required is a decoding algorithm for each of the two models, and simple additive updates to the Lagrange multipliers enforcing agreement be­tween the two models.</p></subsection><subsection number="4.2" title="Integrating Two Lexicalized Parsers"><p>Our second example problem is the integration of a phrase-structure parser with a higher-order depen­dency parser. The goal is to add higher-order fea­tures to phrase-structure parsing without greatly in­creasing the complexity of inference.</p><p>First, we define an index set for second-order un-labeled projective dependency parsing. The second-order parser considers first-order dependencies, as well as grandparent and sibling second-order depen­dencies (e.g., see Carreras (2007)). We assume that Idep is an index set containing all such dependen­cies (for brevity we omit the details of this index set). For convenience we define an extended index set that makes explicit use of first-order dependencies, I'dep = Idep U Ifirst, where<page local="5" global="5"/></p><doubt alpha="31.1" length="45" tooSmall="False" monospace="0.0">Ifirst=       ) : iG{0...n},jG{1 ...n},i = j}</doubt><p>Here ( i, j) represents a dependency with head wi and modifier wj (i = 0 corresponds to the root sym­bol in the parse). We use DC{0,1}|Jdep| to denote the set of valid projective dependency parses.</p><p>The second model we use is a lexicalized CFG. Each symbol in the grammar takes the form A(h) where A G N is a non-terminal, and h G {1... n} is an index specifying that wh is the head of the con­stituent. Rule productions take the form (A(a) — B(b) C(c), i, k, j) where b G {i... k}, c G {(k + 1)... j}, and a is equal to b or c, depending on whether A receives its head-word from its left or right child. Each such rule implies a dependency (a, b) if a = c, or (a, c) if a = b. We take Iheadto be the index set of all such rules, and Ihead = Ihead U Ifirst to be the extended index set. We define H ç {0,1}|J head| to be the set of valid parse trees.</p><p>The integrated parsing problem is then to find</p><doubt alpha="48.9" length="47" tooSmall="False" monospace="0.0">(y*,d*) = arg maxfy•6head+ d•6dep)(3)(y,d)env /</doubt><doubt alpha="50.0" length="28" tooSmall="False" monospace="0.0">whereR= {(y, d) : yG H,dG D,</doubt><doubt alpha="53.8" length="39" tooSmall="False" monospace="0.0">y(i, j) = d(i, j)for all(i, j)G Iflrst}</doubt><p>This problem has a very similar structure to the problem of integrated parsing and tagging, and we can derive a similar dual decomposition algorithm. The Lagrange multipliers u are a vector in R|xflrst|enforcing agreement between dependency assign­ments. The algorithm (omitted for brevity) is identi­cal to the algorithm in figure 1, but with Iuni, Y, Z, 6cfg, and 6tag replaced with Ifirst, H, D, 6head, and 6dep respectively. The algorithm only requires de­coding algorithms for the two models, together with simple updates to the Lagrange multipliers.</p></subsection></section><section number="5" title="Marginal Polytopes and LP Relaxations"><p>We now give formal guarantees for the algorithms in the previous section, showing that they solve LP relaxations of the problems in Eqs. 2 and 3.</p><p>To make the connection to linear programming, we first introduce the idea of <i>marginal polytopes </i>in section 5.1. In section 5.2, we give a precise state­ment of the LP relaxations that are being solved by the example algorithms, making direct use of marginal polytopes. In section 6 we will prove that the example algorithms solve these LP relaxations.</p><subsection number="5.1" title="Marginal Polytopes"><p>For a finite set Y, define the set of all distributions over elements in Y as A = {a G R|y| : <i>ay </i>&gt; 0, Syey ay = 1}. Each a G A gives a vector of marginals, ß = <i>yey ay</i>y, where ßr can be inter­preted as the probability that yr = 1 for a y selected at random from the distribution a.</p><p>The set of all possible marginal vectors, known as the <i>marginal polytope, </i>is defined as follows:</p><doubt alpha="58.8" length="34" tooSmall="False" monospace="0.0">M= {ßGRm:3aGA such that ß = ^ ayy}</doubt><p>M is also frequently referred to as the <i>convex hull </i>of Y, written as conv(Y). We use the notation conv(Y) in the remainder of this paper, instead of M.</p><p>For an arbitrary set Y, the marginal polytope conv(Y) can be complex to describe.<footnote anchor="6"/> However, Martin et al. (1990) show that for a very general class of dynamic programming problems, the cor­responding marginal polytope can be expressed as where A is a p x m matrix, b is vector in Rp, and the value p is linear in the size of a hypergraph repre­sentation of the dynamic program. Note that A and b specify a set of p linear constraints.</p><doubt alpha="40.6" length="32" tooSmall="False" monospace="0.0">conv(Y) = {ßGRm: Aß = b, ß&gt;0}(4)</doubt><p>We now give an explicit description of the re­sulting constraints for CFG parsing:<footnote anchor="7"/> similar con­straints arise for other dynamic programming algo­rithms for parsing, for example the algorithms of Eisner (2000). The exact form of the constraints, and the fact that they are polynomial in number, is not essential for the formal results in this paper. How­ever, a description of the constraints gives valuable intuition for the structure of the marginal polytope.</p><p>The constraints are given in figure 2. To develop some intuition, consider the case where the variables ßr are restricted to be binary: hence each binary vector ß specifies a parse tree. The second con­straint in Eq. 5 specifies that exactly one rule must be used at the top of the tree. The set of constraints in Eq. 6 specify that for each production of the form (X — <i>Y</i><i> </i><i>Z,i,k,j)</i><i> </i>in a parse tree, there must be exactly one production higher in the tree that gener­ates (X, i, j) as one of its children.<page local="6" global="6"/> The constraints in Eq. 7 enforce consistency between the <i>ß(i,Y</i><i>) </i>variables and rule variables higher in the tree. Note that the constraints in Eqs.(5-7) can be written in the form Aß <i>= </i><i>b, ß &gt; </i>0, as in Eq. 4.</p><footnote label="6">For any finite set Y , conv (Y ) can be expressed as {j  e R m : A/j &lt; b} where A is a matrix of dimension p x m, and b e R p  (see, e.g., Korte and Vygen (2008), pg. 65). The value for p depends on the set Y , and can be exponential in size.</footnote><footnote label="7">Taskar et al. (2004) describe the same set of constraints, but without proof of correctness or reference to Martin et al. (1990).</footnote><doubt alpha="35.8" length="67" tooSmall="False" monospace="0.0">Vrel',Hr &gt;0;Y2—YZ'1»fc»«) =1(5)Vre lt'ag,Vr&gt;0;^    v((X,Y)—Z,3) = 1</doubt><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">x,y,Z£»x,Y,ZeT</doubt><doubt alpha="15.4" length="13" tooSmall="False" monospace="0.0">k = 1...(n-1)</doubt><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">VXeT,Vie{3...n-1}:</doubt><doubt alpha="47.1" length="51" tooSmall="False" monospace="0.0">VXeN,V(i, j) such that 1&lt;i&lt; j&lt;nand (i, j) = (1, n):</doubt><doubt alpha="41.8" length="55" tooSmall="False" monospace="0.0">V-(XYZ-k-)V-(YZXk-i   ■)Xv((Y,Z)-X,i)=Xv((Y,X)-Z,i + 1)</doubt><doubt alpha="83.3" length="6" tooSmall="True" monospace="0.0">Y,ZtEN</doubt><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">k=i...(j-l)</doubt><doubt alpha="36.8" length="19" tooSmall="False" monospace="0.0">Y,ZtENk = 1...(i-1)</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">+-XZ,i,j,k)(6)</doubt><doubt alpha="23.1" length="13" tooSmall="False" monospace="0.0">k = (j+1)...n</doubt><doubt alpha="39.4" length="66" tooSmall="False" monospace="0.0">VYeT,Vie{1...n}:   /x(i,Y) =Y2/x(X—YZ,i,i,t)^/x(X—ZY,k,i-1, i) (7)</doubt><doubt alpha="23.1" length="13" tooSmall="False" monospace="0.0">k = (i+1)...n</doubt><doubt alpha="15.4" length="13" tooSmall="False" monospace="0.0">k = 1...(i-1)</doubt><figure caption="Figure 2: The linear constraints defining the marginal polytope for CFG parsing."></figure><p>Under these definitions, we have the following:</p><p><b>Theorem 5.1 </b><i>Define Y to be the set of all CFG</i> <i>parses, as defined in section 4.</i><i> Then</i> <i>Proof:</i><i> </i>This theorem is a special case of Martin et al. (1990), theorem 2.</p><doubt alpha="59.5" length="37" tooSmall="False" monospace="0.0">conv(Y) ={ßGRm:ß satisfies Eqs.(5-7)}</doubt><p>The marginal polytope for tagging, conv(Z), can also be expressed using linear constraints as in Eq. 4; see figure 3. These constraints follow from re­sults for graphical models (Wainwright and Jordan, 2008), or from the Martin et al. (1990) construction.</p><p>As a final point, the following theorem gives an important property of marginal polytopes, which we will use at several points in this paper:</p><doubt alpha="58.1" length="93" tooSmall="False" monospace="0.0">Theorem 5.2(Korte and Vygen (2008), page 66.) For any setY Ç{0,1}k, and for any vector 6 GRk,</doubt><doubt alpha="32.0" length="25" tooSmall="False" monospace="0.0">max y • 6 =   max   ß • 6</doubt><p><i>yey </i>/i€conv(y)</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>The theorem states that for a linear objective func­tion, maximization over a discrete set Y can be replaced by maximization over the convex hull</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Î6T Y,ZGT</doubt><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">VXeT,Vie{3...n-2}:</doubt><doubt alpha="40.0" length="30" tooSmall="False" monospace="0.0">Xv((Y,Z)—X,i)=Xv((X,Y)—Z,i+ 2)</doubt><p>Y,ZGT Y,ZGT</p><doubt alpha="40.0" length="40" tooSmall="False" monospace="0.0">VXeT,Vie{3...n}:v(i,X) =  ^ v((Y,Z)—X,i)</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">Y,ZGT</doubt><doubt alpha="40.0" length="25" tooSmall="False" monospace="0.0">VXeT:v(1,X)=v((X,Y)—Z, 3)</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">Y,ZeT</doubt><doubt alpha="39.3" length="28" tooSmall="False" monospace="0.0">VXeT:v(2,X) =Y2v((Y,X)—Z, 3)</doubt><figure caption="Figure 3: The linear constraints defining the marginal polytope for trigram POS tagging."></figure><p>conv(Y). The problem max/econv(y ) ß • 6 is a linear programming problem.</p><p>For parsing, this theorem implies that:</p><p><b>1. </b>Weighted CFG parsing can be framed as a linear programming problem, of the form max/econv(y ) ß-6, where conv( Y) is specified by a polynomial num­ber of linear constraints.</p><p><b>2. </b>Conversely, dynamic programming algorithms such as the CKY algorithm can be considered to be oracles that efficiently solve LPs of the form</p><p>max/econv(y) ß - <footnote anchor="6"/>.Similar results apply for the POS tagging case.</p></subsection><subsection number="5.2" title="Linear Programming Relaxations"><p>We now describe the LP relaxations that are solved by the example algorithms in section 4. We begin with the algorithm in Figure 1.</p><p>The original optimization problem was to find max(y&gt;z)es (y • 6cfg + <i>z • </i>6tag) (see Eq. 2). By the­orem 5.2, this is equivalent to solving</p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">max</doubt><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">(/i,v)econv(Q)</doubt><doubt alpha="36.4" length="22" tooSmall="False" monospace="0.0">(ß • 6cfg+v •6tag) (9)</doubt><p>To formulate our approximation, we first define:</p><doubt alpha="50.7" length="73" tooSmall="False" monospace="0.0">QQ= {(ß, v) : ßGconv(Y), vGconv(Z), ß(i, t) = v(i, t)for all(i, t)G Iuni}</doubt><doubt alpha="48.3" length="29" tooSmall="False" monospace="0.0">^M(X-YZ,i,fc,j)=^ M(Y—ZX,k,i-</doubt><page local="7" global="7"/><p>The definition of <i>QQ</i><i> </i>is very similar to the definition of Q (see Eq. 1), the only difference being that Y and Z are replaced by conv(Y) and conv(Z) re­spectively. Hence any point in Q is also in Q'. It fol­lows that any point in conv(Q) is also in Q', because <i>QQ</i><i> </i>is a convex set defined by linear constraints.</p><p>The LP relaxation then corresponds to the follow­ing optimization problem:</p><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">max(ß•6cfg+ v•6tag&gt;)(10)</doubt><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">(/,v)eQ'V ;</doubt><p><i>QQ</i><i> </i>is defined by linear constraints, making this a linear program. Since Q' is an <i>outer bound </i>on conv(Q), i.e. conv(Q) ç Q', we obtain the guaran­tee that the value of Eq. 10 always upper bounds the value of Eq. 9.</p><p>In Appendix A we give an example showing that in general Q' includes points that are not in conv(Q). These points exist because the agreement between the two parts is now enforced in expecta­tion (ß(i,t) = v(i,t) for (i,t) G Iuni) rather than based on actual assignments. This agreement con­straint is weaker since different distributions over assignments can still result in the same first order expectations. Thus, the solution to Eq. 10 may be in Q' but not in conv(Q). It can be shown that all such solutions will be <i>fractional, </i>making them easy to distinguish from Q. In many applications of LP relaxations—including the examples discussed in this paper—the relaxation in Eq. 10 turns out to be <i>tight, </i>in that the solution is often integral (i.e., it is in Q ). In these cases, solving the LP relaxation <i>exactly </i>solves the original problem of interest.</p><p>In the next section we prove that the algorithm in Figure 1 solves the problem in Eq 10. A similar result holds for the algorithm in section 4.2: it solves a relaxation of Eq. 3, where R is replaced by</p><doubt alpha="50.0" length="34" tooSmall="False" monospace="0.0">R'= {(ß, v) : ßGconv(H),vGconv(D),</doubt><doubt alpha="50.0" length="42" tooSmall="False" monospace="0.0">ß(i, j ) = v (i, j)for all(i, j )G Ifirst}</doubt></subsection></section><section number="6" title="Convergence Guarantees"><subsection number="6.1" title="Lagrangian Relaxation"><p>We now show that the example algorithms solve their respective LP relaxations given in the previ­ous section. We do this by first introducing a gen­eral class of linear programs, together with an op­timization method, <i>Lagrangian relaxation, </i>for solv­ing these LPs. We then show that the algorithms in section 4 are special cases of the general algorithm.</p><p>The linear programs we consider take the form</p><doubt alpha="59.4" length="32" tooSmall="False" monospace="0.0">max(61•xi+62•x2)such thatExi=Fx2</doubt><doubt alpha="58.3" length="12" tooSmall="False" monospace="0.0">Xi EXi,X2£X2</doubt><p>The matrices E G Rqxm and F G Rqx1 specify q lin­ear "agreement" constraints between xi G Rm and x2 G R<footnote anchor="1"/>. The sets X1, X2 are also specified by linear constraints, X1 = {x1 G Rm : Ax1 = b, x1 &gt; 0} and X2 = {x2 G R<footnote anchor="1"/> : Cx2 = d, x2 &gt; <i>0}</i>, hence the problem is an LP.</p><p>Note that if we set X1 = conv(Y), X2 = conv(Z), and define E and F to specify the agree­ment constraints ß(i, t) = v(i, t), then we have the LP relaxation in Eq. 10.</p><p>It is natural to apply Lagrangian relaxation in cases where the sub-problems maxX1 ex1 61 • x1 and maxX2 <i>ex2 </i>62 • x2 can be efficiently solved by com­binatorial algorithms for any values of 61 , 62, but where the constraints Ex1 = Fx2 "complicate" the problem. We introduce Lagrange multipliers u G Rqthat enforce the latter set of constraints, giving the Lagrangian:</p><doubt alpha="52.9" length="70" tooSmall="False" monospace="0.0">L(u, x1, x2) = 61•x1+ 62•x2+ u•(Ex1—Fx2)The dual objective function is</doubt><doubt alpha="41.7" length="24" tooSmall="False" monospace="0.0">L(u)=      maxL(u,xi,X2)</doubt><p>xiEXi,X2EX2</p><p>and the dual problem is to find minu€Rq L(u).</p><p>Because X1 and X2 are defined by linear con­straints, by strong duality we have</p><doubt alpha="34.5" length="29" tooSmall="False" monospace="0.0">min L(u) = max (61•x1+ 62•x2)</doubt><doubt alpha="60.9" length="23" tooSmall="False" monospace="0.0">ueRqX1eX1,X2eX2:Ex1=Fx2</doubt><p>Hence minimizing L(u) will recover the maximum value of the original problem. This leaves open the question of how to recover the LP solution (i.e., the pair (x|,x2) that achieves this maximum); we dis­cuss this point in section 6.2.</p><p>The dual L(u) is convex. However, L(u) is not differentiable, so we cannot use gradient-based methods to optimize it. Instead, a standard approach is to use a subgradient method. Subgradients are tan­gent lines that lower bound a function even at points of non-differentiability: formally, a subgradient of a convex function L : <i>Rn </i>— R at a point u is a vector gu such that for all v, L(v) &gt; L(u) + gu • (v — u).</p><page local="8" global="8"/><doubt alpha="16.7" length="6" tooSmall="False" monospace="0.0">u(1)^0</doubt><p><b>for </b><i>k </i>= 1 to K <b>do</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">x</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(k)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><doubt alpha="64.0" length="25" tooSmall="False" monospace="0.0">ifEx(1k)=Fx(2k)returnu(k)</doubt></subsection><subsection number="6.2" title="Recovering the LP Solution"><p><b>(Case 1)  </b>If Ex( k) = Fx(2k) at any stage during</p><footnote label="2"> ( k )  ( k )</footnote><p>the algorithm, then simply take (x   , x2 ) to be the By standard results, the subgradient for L at a point    primal solution. In this case the pair (x1k), x2k)) <i>ex-</i> u takes a simple form, gu = Ex^ — Fx|, where</p><doubt alpha="54.5" length="22" tooSmall="False" monospace="0.0">u(k+1)^ u(k)returnu(K)</doubt><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">—ak(Ex1k)—Fx2K;)</doubt><figure caption="Figure 4: The Lagrangian relaxation algorithm."></figure><doubt alpha="41.7" length="36" tooSmall="False" monospace="0.0">x\= arg max (61+ (u(k))TE) • x1x1eX1</doubt><doubt alpha="45.5" length="33" tooSmall="False" monospace="0.0">x2= arg max (62—(u(k))TF)•x2x2eX2</doubt><p>The beauty of this result is that the values of x<footnote anchor="2"/> and x<footnote anchor="2"/>2, and by implication the value of the subgradient, can be computed using oracles for the two arg max sub-problems.</p><p>Subgradient algorithms perform updates that are similar to gradient descent:</p><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">u(k+1)^u(k)—akg(k)</doubt><p>where g(k) is the subgradient of L at u(k) and ak &gt; 0 is the step size of the update. The complete sub­gradient algorithm is given in figure 4. The follow­ing convergence theorem is well-known (e.g., see page 120 of Korte and Vygen (2008)):</p><p><b>Theorem 6.1 </b><i>If </i>lim^oo ak = 0 <i>and </i><i>Y</i>k=1 ak =</p><p>00, <i>then </i>lim^oo L(u(k)) = minu L(u).</p><p>The following proposition is easily verified:</p><p><b>Proposition 6.1 </b><i>The algorithm in figure 1 is an in­stantiation of the algorithm in figure </i>4,<footnote anchor="8"/> <i>with </i>X1 = conv(Y), X2 = conv(Z), <i>and the matrices </i>E <i>and </i>F <i>defined to be binary matrices specifying the con­straints </i>ß(i, t) = v(i, t) <i>for all </i>(i, t) G Iuni.</p><p>Under an appropriate definition of the step sizes ak, it follows that the algorithm in figure 1 defines a sequence of Lagrange multiplers u(k) minimizing a dual of the LP relaxation in Eq. 10. A similar result holds for the algorithm in section 4.2.</p><p><i>actly </i>solves the original LP.<footnote anchor="9"/> If this case arises in the algorithm in figure 1, then the resulting solution is binary (i.e., it is a member of Q), and the solution exactly solves the original inference problem.</p><p><b>(Case 2) </b>If case 1 does not arise, then a couple of strategies are possible. (This situation could arise in cases where the LP is not tight—i.e., it has a fractional solution—or where K is not large enough for convergence.) The first is to define the pri­mal solution to be the average of the solutions en­countered during the algorithm: x1 <i>= Y</i>k x^/K, x2 = <i>Y</i>k x2k)/K. Results from Nedic and Ozdaglar (2009) show that as K — 0 , these averaged solu­tions converge to the optimal primal solution.<footnote anchor="10"/> A second strategy (as given in figure 1) is to simply take (x1K), x2K)) as an approximation to the primal solution. This method is a heuristic, but previous work (e.g., Komodakis et al. (2007)) has shown that it is effective in practice; we use it in this paper.</p><p>In our experiments we found that in the vast ma­jority of cases, case 1 applies, after a small number of iterations; see the next section for more details.</p></subsection></section><section number="7" title="Experiments"><subsection number="7.1" title="Integrated Phrase-Structure and Dependency Parsing"><p>Our first set of experiments considers the integration of Model 1 of Collins (2003) (a lexicalized phrase-structure parser, from here on referred to as Model</p><footnote label="8">with the caveat that it returns (x 1 k) , x 2 k)  ) rather than .</footnote><footnote label="9">We have that 01 •      + 02 • 4 fc)  = L ( " ( fc ) ,      , 4 fc)  ) = L(u (k) ), where the last equality is because x1 k)  and x2 k)  are de­fined by the respective arg max's. Thus, (x1 k) , x2 k) ) and are primal and dual optimal.</footnote><footnote label="10">The resulting fractional solution can be projected back to the set Q, see (Smith and Eisner, 2008; Martins et al., 2009).</footnote><p>The previous section described how the method in figure 4 can be used to minimize the dual L(u) of the  original linear program. We now turn to the problem of recovering a primal solution (x^xij) of the LP. </p><doubt alpha="51.9" length="27" tooSmall="False" monospace="0.0">argmaxx1ex1(61+(u(k))TE)•X1</doubt><doubt alpha="51.9" length="27" tooSmall="False" monospace="0.0">argmaxx2eX2(62—(u(k))TF)•X2</doubt><p>The method we propose considers two cases:</p><page local="9" global="9"/><p>Table 1: Convergence results for Section 23 of the WSJ Treebank for the dependency parsing and POS experi­ments. Each column gives the percentage of sentences whose <i>exact </i>solutions were found in a given range of sub­gradient iterations. ** is the percentage of sentences that did not converge by the iteration limit (K=50).</p><p>and the 2nd order discriminative dependency parser of Koo et al. (2008). The inference problem for a sentence x is to find where Y is the set of all lexicalized phrase-structure trees for the sentence x; /1 (y) is the score (log prob­ability) under Model 1; /2(y) is the score under Koo et al. (2008) for the dependency structure implied by y; and 7 &gt; 0 is a parameter dictating the relative weight of the two models.<footnote anchor="12"/> This problem is simi­lar to the second example in section 4; a very sim­ilar dual decomposition algorithm to that described in section 4.2 can be derived.</p><doubt alpha="39.1" length="23" tooSmall="False" monospace="0.0">y2=argmaX(/1(y)+7/2(y))</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">yey</doubt><p>We used the Penn Wall Street Treebank (Marcus et al., 1994) for the experiments, with sections 2-21 for training, section 22 for development, and section 23 for testing. The parameter 7 was chosen to opti­mize performance on the development set.</p><p>We ran the dual decomposition algorithm with a limit of K = 50 iterations. The dual decomposi­tion algorithm returns an exact solution if case 1 oc­curs as defined in section 6.2; we found that of 2416 sentences in section 23, case 1 occurred for 2407 (99.6%) sentences. Table 1 gives statistics showing the number of iterations required for convergence. Over 80% of the examples converge in 5 iterations or fewer; over 90% converge in 10 iterations or fewer.</p><p>We compare the accuracy of the dual decomposi­tion approach to two baselines: first, Model 1; and second, a naive integration method that enforces the hard constraint that Model 1 must only consider de-</p><footnote label="11">We use a reimplementation that is a slight modification of Collins Model 1, with very similar performance, and which uses the TAG formalism of Carreras et al. (2008).</footnote><footnote label="12">Note that the models f 1 and f 2 were trained separately, using the methods described by Collins (2003) and Koo et al. (2008) respectively.</footnote><p>Table 2: Performance results for Section 23 of the WSJ Treebank. Model 1: a reimplementation of the genera­tive parser of (Collins, 2002). Koo08 Baseline: Model 1 with a hard restriction to dependencies predicted by the discriminative dependency parser of (Koo et al., 2008). DD Combination: a model that maximizes the joint score of the two parsers. Dep shows the unlabeled dependency accuracy of each system.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">50</doubt><doubt alpha="48.1" length="27" tooSmall="True" monospace="0.0">......■■■■■^(IIWM uwuiwiiiy</doubt><doubt alpha="64.9" length="37" tooSmall="False" monospace="0.0">f score % certificates ■ % match K=50</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">10 20 30 40</doubt><p>Maximum Number of Dual Decomposition Iterations</p><p>Figure 5: Performance on the parsing task assuming a fixed number of iterations K. f-score: accuracy of the method. % certificates: percentage of examples for which a certificate of optimality is provided. % match: percent­age of cases where the output from the method is identical to the output when using K = 50.</p><p>pendencies seen in the first-best output from the de­pendency parser. Table 2 shows all three results. The dual decomposition method gives a significant gain in precision and recall over the naive combination method, and boosts the performance of Model 1 to a level that is close to some of the best single-pass parsers on the Penn treebank test set. Dependency accuracy is also improved over the Koo et al. (2008) model, in spite of the relatively low dependency ac­curacy of Model 1 alone.</p><p>Figure 5 shows performance of the approach as a function of K, the maximum number of iterations of dual decomposition. For this experiment, for cases where the method has not converged for k &lt; K, the output from the algorithm is chosen to be the y(k) for k &lt; K that maximizes the objective func­tion in Eq. 11. The graphs show that values of K less than 50 produce almost identical performance to K = 50, but with fewer cases giving certificates of optimality (with K = 10, the f-score of the method is 90.69%; with K = 5 it is 90.63%).</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">ener</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><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>Itn.</p></td><td class="cell"><p>1</p></td><td class="cell"><p>2</p></td><td class="cell"><p>3</p></td><td class="cell"><p>4</p></td><td class="cell"><p>5-10</p></td><td class="cell"><p>11-20</p></td><td class="cell"><p>20-50</p></td><td class="cell"><p>**</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dep POS</p></td><td class="cell"><p>43.5 58.7</p></td><td class="cell"><p>20.1 15.4</p></td><td class="cell"><p>10.2 6.3</p></td><td class="cell"><p>4.9 3.6</p></td><td class="cell"><p>14.0 10.3</p></td><td class="cell"><p>5.7 3.8</p></td><td class="cell"><p>1.4 0.8</p></td><td class="cell"><p>0.4 1.1</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></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>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>Dep</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model 1</p></td><td class="cell"><p>88.4</p></td><td class="cell"><p>87.8</p></td><td class="cell"><p>88.1</p></td><td class="cell"><p>91.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Koo08 Baseline</p></td><td class="cell"><p>89.9</p></td><td class="cell"><p>89.6</p></td><td class="cell"><p>89.7</p></td><td class="cell"><p>93.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DD Combination</p></td><td class="cell"><p>91.0</p></td><td class="cell"><p>90.4</p></td><td class="cell"><p>90.7</p></td><td class="cell"><p>93.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>100</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>90</p></td><td class="cell"><p>/</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>80</p></td><td class="cell"><p><b><i>: 4 : t</i></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>70</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>60</p></td><td class="cell"><p><i>i </i>■</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>50</p><p>0</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"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="10" global="10"/><p>Table 3: Performance results for Section 23 of the WSJ. Model 1 (Fixed Tags): a baseline parser initialized to the best tag sequence of from the tagger of Toutanova and Manning (2000). DD Combination: a model that maxi­mizes the joint score of parse and tag selection.</p></subsection><subsection number="7.2" title="Integrated Phrase-Structure Parsing and Trigram POS tagging"><p>In a second experiment, we used dual decomposi­tion to integrate the Model 1 parser with the Stan­ford max-ent trigram POS tagger (Toutanova and Manning, 2000), using a very similar algorithm to that described in section 4.1. We use the same train-ing/dev/test split as in section 7.1. The two models were again trained separately.</p><p>We ran the algorithm with a limit of K = 50 it­erations. Out of 2416 test examples, the algorithm found an exact solution in 98.9% of the cases. Ta­ble 1 gives statistics showing the speed of conver­gence for different examples: over 94% of the exam­ples converge to an exact solution in 10 iterations or fewer. In terms of accuracy, we compare to a base­line approach of using the first-best tag sequence as input to the parser. The dual decomposition ap­proach gives 88.3 F1 measure in recovering parse-tree constituents, compared to 87.9 for the baseline.</p></subsection></section><section number="8" title="Conclusions"><p>We have introduced dual-decomposition algorithms for inference in NLP, given formal properties of the algorithms in terms of LP relaxations, and demon­strated their effectiveness on problems that would traditionally be solved using intersections of dy­namic programs (Bar-Hillel et al., 1964). Given the widespread use of dynamic programming in NLP, there should be many applications for the approach.</p><p>There are several possible extensions of the method we have described. We have focused on cases where two models are being combined; the extension to more than two models is straightfor­ward (e.g., see Komodakis et al. (2007)). This paper has considered approaches for MAP inference; for closely related methods that compute approximate marginals, see Wainwright et al. (2005b).</p><p><b>A  Fractional Solutions</b></p><p>We now give an example of a point (ß, v) G Q'\conv(Q) that demonstrates that the relaxation Q' is strictly larger than conv( Q). Fractional points such as this one can arise as solutions of the LP relaxation for worst case instances, preventing us from finding an exact solution.</p><p>Recall that the constraints for Q' specify that ß G conv(Y), v G conv(Z), and ß(i,t) = v(i,t) for all (i,t) G Iuni. Since ß G conv(Y), ß must be a con­vex combination of 1 or more members of Y; a similar property holds for v. The example is as follows. There are two possible parts of speech, A and B, and an addi­tional non-terminal symbol X. The sentence is of length 3, <i>w1 w2 </i>w3. Let v be the convex combination of the following two tag sequences, each with probability 0.5: w1/A w2/A w3/A and w1/A <i>w2</i>/B w3/B. Let ß be the convex combination of the following two parses, each with probability 0.5: (X(A w1)(X(A w2)(B w3))) and (X(A wi)(X(B W2)(A W3))). It can be verified that ß(i, t) = v(i, t) for all (i, t), i.e., the marginals for single tags for ß and v agree. Thus, (ß, v) G Q'.</p><p>To demonstrate that this fractional point is <i>not </i>in conv(Q), we give parameter values such that this frac­tional point is optimal and all integral points (i.e., ac­tual parses) are suboptimal. For the tagging model, set 6(AA — A, 3) = 6(AB — B, 3) = 0, with all other pa­rameters having a negative value. For the parsing model, set 6(X — A X, 1,1, 3) = 6(X — A B, 2, 2, 3) = 6(X — B A, 2, 2,3) = 0, with all other rule parameters being negative. For this objective, the fractional solution has value 0, while all integral points (i.e., all points in Q) have a negative value. By Theorem 5.2, the maximum of any linear objective over conv( Q) is equal to the maxi­mum over Q. Thus, (ß, v) G conv(Q).</p><p><b>B   Step Size</b></p><p>We used the following step size in our experiments. First, we initialized <i>a0 </i>to equal 0.5, a relatively large value. Then we defined <i>ak </i>= <i>a0 </i>* 2-nk, where <i>t]k </i>is the num­ber of times that L(u(fc')) &gt; L(u(fc'-1)) for k' &lt; k. This learning rate drops at a rate of 1/2*, where t is the num­ber of times that the dual increases from one iteration to the next. See Koo et al. (2010) for a similar, but less ag­gressive step size used to solve a different task.</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. Alexander Rush was supported under the GALE program of the Defense Advanced Research Projects Agency, by a Google PhD Fellowship.</p><doubt alpha="63.2" length="57" tooSmall="False" monospace="0.0">Contract No. HR0011-06-C-0022. David Sontag was supported</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></p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>F1</p></td><td class="cell"><p>POS Acc</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fixed Tags DD Combination</p></td><td class="cell"><p>88.1 88.7</p></td><td class="cell"><p>87.6 88.0</p></td><td class="cell"><p>87.9 88.3</p></td><td class="cell"><p>96.7 97.1</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><page local="11" global="11"/></section><references><p>Y. Bar-Hillel, M. Perles, and E. Shamir. 1964. On formal properties of simple phrase structure grammars. In <i>Language and Information: Selected Essays on their Theory and Application, </i>pages 116-150. X. Carreras, M. Collins, and T. Koo. 2008. TAG, dy­namic programming, and the perceptron for efficient, feature-rich parsing. In <i>Proc CONLL, </i>pages 9-16. X. Carreras. 2007. Experiments with a higher-order projective dependency parser. In <i>Proc. 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>page 8.</p><p>M. Collins. 2003. Head-driven statistical models for nat­ural language parsing. In <i>Computational linguistics, </i>volume 29, pages 589-637. G.B. Dantzig and P. Wolfe. 1960. Decomposition princi­ple for linear programs. In <i>Operations research, </i>vol-ume8, pages 101-111.</p><p>J. Duchi, D. Tarlow, G. Elidan, and D. Koller. 2007.</p><p>Using combinatorial optimization within max-product belief propagation. In <i>NIPS, </i>volume 19. J. Eisner. 2000. Bilexical grammars and their cubic-time parsing algorithms. In <i>Advances in Probabilistic and Other Parsing Technologies, </i>pages 29-62.</p><p>A. Globerson and T. Jaakkola. 2007. Fixing max-product: Convergent message passing algorithms for MAP LP-relaxations. In <i>NIPS, </i>volume 21.</p><p>N. Komodakis, N. Paragios, and G. Tziritas. 2007. MRF optimization via dual decomposition: Message-passing revisited. In <i>International Conference on Computer Vision. </i>T. Koo, X. Carreras, and M. Collins. 2008. Simple semi-supervised dependency parsing. In <i>Proc. ACL/HLT.</i></p><doubt alpha="61.8" length="55" tooSmall="False" monospace="0.0">T. Koo, A.M. Rush, M. Collins, T. Jaakkola, and D. Son-</doubt><p>tag. 2010. Dual Decomposition for Parsing with Non-Projective Head Automata. In <i>Proc. EMNLP, </i>pages 63-70.</p><p>B. H. KorteandJ. Vygen. 2008. <i>Combinatorialoptimiza­tion: theory and algorithms. </i>Springer Verlag.</p><p>M.P. Marcus, B. Santorini, and M.A. Marcinkiewicz. 1994. Building a large annotated corpus of English: The Penn Treebank. In <i>Computational linguistics, </i>vol­ume 19, pages 313-330.</p><p>R.K. Martin, R.L. Rardin, and B.A. Campbell. 1990.</p><p>Polyhedral characterization of discrete dynamic pro­gramming. <i>Operations research, </i>38(1):127-138.</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></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>Angelia Nedic and Asuman Ozdaglar. 2009. Approxi­mate primal solutions and rate analysis for dual sub­gradient methods. <i>SIAM Journal on Optimization, </i>19(4):1757-1780.</p><p>B. Pang and L. Lee. 2004. A sentimental education: Sentiment analysis using subjectivity summarization based on minimum cuts. In <i>Proc. ACL.</i></p><p>S. Riedel and J. Clarke. 2006. Incremental integer linear programming for non-projective dependency parsing. In <i>Proc. EMNLP, </i>pages 129-137.</p><p>D. Roth and W. Yih. 2005. Integer linear program­ming inference for conditional random fields. In <i>Proc.</i></p><p><i>ICML, </i>pages 737-744.</p><p>Hanif D. Sherali and Warren P. Adams. 1994. A hi­erarchy of relaxations and convex hull characteriza­tions for mixed-integer zero-one programming prob­lems. <i>Discrete Applied Mathematics, </i>52(1):83 - 106.</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. 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>B. Taskar, D. Klein, M. Collins, D. Koller, and C. Man­ning. 2004. Max-margin parsing. In <i>Proc. EMNLP, </i>pages 1-8.</p><p>K. Toutanova and C.D. Manning. 2000. Enriching the knowledge sources used in a maximum entropy part-of-speech tagger. In <i>Proc. EMNLP, </i>pages 63-70.</p><p>M. Wainwright and M. I. Jordan. 2008. <i>Graphical Mod­els, Exponential Families, and Variational Inference. </i>Now Publishers Inc., Hanover, MA, USA.</p><p>M. Wainwright, T. Jaakkola, and A. Willsky. 2005a. MAP estimation via agreement on trees: message-passing and linear programming. In <i>IEEE Transac­tions on Information Theory, </i>volume 51, pages 3697­3717.</p><doubt alpha="63.5" length="52" tooSmall="False" monospace="0.0">M. Wainwright, T. Jaakkola, and A. Willsky. 2005b. A</doubt><p>new class of upper bounds on the log partition func­tion. In <i>IEEE Transactions on Information Theory, </i>volume 51, pages 2313-2335.</p><p>C. Yanover, T. Meltzer, and Y. Weiss. 2006. Linear Programming Relaxations and Belief Propagation-An Empirical Study. In <i>The Journal ofMachine Learning Research, </i>volume 7, page 1907. MIT Press.</p></references></body></article>