<?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="141"/><title>Structured Prediction Models via the Matrix-Tree Theorem</title><pubinfo>Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning,pp. 141-150, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Koo" givenname="Terry"><org  name="MIT CSAIL" country="USA"/></author><author surname="Globerson" givenname="Amir"><org  name="MIT CSAIL" country="USA"/></author><author surname="Carreras" givenname="Xavier"><org  name="MIT CSAIL" country="USA"/></author><author surname="Collins" givenname="Michael"><org  name="MIT CSAIL" country="USA"/></author></firstpageheader><frontmatter><p><b>Structured Prediction Models via the Matrix-Tree Theorem</b></p><p><b>Terry Koo, Amir Globerson, Xavier Carreras and Michael Collins</b></p><p>MIT CSAIL, Cambridge, MA 02139, USA</p><p>{maestro,gamir,carreras,mcollins}@csail.mit.edu</p></frontmatter><abstract>This paper provides an algorithmic frame­work for learning statistical models involv­ing directed spanning trees, or equivalently non-projective dependency structures. We show how partition functions and marginals for directed spanning trees can be computed by an adaptation of Kirchhoff's Matrix-Tree Theorem. To demonstrate an application of the method, we perform experiments which use the algorithm in training both log-linear and max-margin dependency parsers. The new training methods give improvements in accuracy over perceptron-trained models. </abstract></header><body><section number="1" title="Introduction"><p>Learning with structured data typically involves searching or summing over a set with an exponen­tial number of structured elements, for example the set of all parse trees for a given sentence. Meth­ods for summing over such structures include the inside-outside algorithm for probabilistic context-free grammars (Baker, 1979), the forward-backward algorithm for hidden Markov models (Baum et al., 1970), and the belief-propagation algorithm for graphical models (Pearl, 1988). These algorithms compute marginal probabilities and partition func­tions, quantities which are central to many meth­ods for the statistical modeling of complex struc­tures (e.g., the EM algorithm (Baker, 1979; Baum et al., 1970), contrastive estimation (Smith and Eis­ner, 2005), training algorithms for CRFs (Lafferty et al., 2001), and training algorithms for max-margin models (Bartlett et al., 2004; Taskar et al., 2004a)).</p><p>This paper describes inside-outside-style algo­rithms for the case of directed spanning trees. These structures are equivalent to non-projective depen­dency parses (McDonald et al., 2005b), and more generally could be relevant to any task that involves learning a mapping from a graph to an underlying spanning tree. Unlike the case for projective depen­dency structures, partition functions and marginals for non-projective trees cannot be computed using dynamic-programming methods such as the inside-outside algorithm. In this paper we describe how these quantities can be computed by adapting a well-known result in graph theory: Kirchhoff's Matrix-Tree Theorem (Tutte, 1984). A naive application of the theorem yields <i>O(n<footnote anchor="4"/>) </i>and <i>O(n<footnote anchor="6"/>) </i>algorithms for computation of the partition function and marginals, respectively. However, our adaptation finds the par­tition function and marginals in O(n<footnote anchor="3"/>) time using simple matrix determinant and inversion operations.</p><p>We demonstrate an application of the new infer­ence algorithm to non-projective dependency pars­ing. Specifically, we show how to implement two popular supervised learning approaches for this task: globally-normalized log-linear models and max-margin models. Log-linear estimation criti­cally depends on the calculation of partition func­tions and marginals, which can be computed by our algorithms. For max-margin models, Bartlett et al. (2004) have provided a simple training al­gorithm, based on exponentiated-gradient (EG) up­dates, that requires computation of marginals and can thus be implemented within our framework. Both of these methods explicitly minimize the loss incurred when parsing the entire training set. This contrasts with the online learning algorithms used in previous work with spanning-tree models (McDon­ald et al., 2005b).</p><p>We applied the above two <i>marginal-based </i>train­ing algorithms to six languages with varying de­grees of non-projectivity, using datasets obtained from the CoNLL-X shared task (Buchholz and Marsi, 2006). Our experimental framework com­pared three training approaches: log-linear models, max-margin models, and the averaged perceptron. Each of these was applied to both projective and non-projective parsing. Our results demonstrate that marginal-based training yields models which out-<page local="2" global="142"/></p><p>perform those trained using the averaged perceptron. In summary, the contributions of this paper are:</p><p>1. We introduce algorithms for <i>inside-outside-style </i>calculations for directed spanning trees, or equivalently non-projective dependency struc­tures. These algorithms should have wide applicability in learning problems involving spanning-tree structures.</p><p>2. We illustrate the utility of these algorithms in log-linear training of dependency parsing mod­els, and show improvements in accuracy when compared to averaged-perceptron training.</p><p>3. We also train max-margin models for depen­dency parsing via an EG algorithm (Bartlett et al., 2004). The experiments presented here constitute the first application of this algorithm to a large-scale problem. We again show im­proved performance over the perceptron.</p><p>The goal of our experiments is to give a rigorous comparative study of the marginal-based training al­gorithms and a highly-competitive baseline, the av­eraged perceptron, using the same feature sets for all approaches. We stress, however, that the purpose of this work is not to give competitive performance on the CoNLL data sets; this would require further engineering of the approach.</p><p>Similar adaptations of the Matrix-Tree Theorem have been developed independently and simultane­ously by Smith and Smith (2007) and McDonald and Satta (2007); see Section 5 for more discussion.</p></section><section number="2" title="Background"><subsection number="2.1" title="Discriminative Dependency Parsing"><p>Dependency parsing is the task of mapping a sen­tence x to a dependency structure y. Given a sen­tence x with n words, a dependency for that sen­tence is a tuple (h, m) where h e [0... n] is the index of the head word in the sentence, and m e [1... n] is the index of a modifier word. The value h = 0 is a special <i>root-symbol </i>that may only ap­pear as the head of a dependency. We use D(x) to refer to all possible dependencies for a sentence x: D(x) = {(h, m) : h e [0 ...n],m e [1 ...n]}.</p><p>A dependency parse is a set of dependencies that forms a directed tree, with the sentence's root-symbol as its root. We will consider both <i>projective</i></p><p>Projective</p><p>Non-projective</p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Single</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Root</doubt><p>Multi Root</p><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">0 1 2 3 0 1 2 3</doubt><doubt alpha="60.0" length="40" tooSmall="False" monospace="0.0">rootHe     saw     herrootHe     saw her</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">a~v&gt; am</doubt><p>Figure 1: Examples of the four types of dependency struc­tures. We draw dependency arcs from head to modifier.</p><p>trees, where dependencies are not allowed to cross, and <i>non-projective </i>trees, where crossing dependen­cies are allowed. Dependency annotations for some languages, for example Czech, can exhibit a signifi­cant number of crossing dependencies. In addition, we consider both <i>single-root </i>and <i>multi-root </i>trees. In a single-root tree y, the root-symbol has exactly one child, while in a multi-root tree, the root-symbol has one or more children. This distinction is relevant as our training sets include both single-root corpora (in which all trees are single-root structures) and multi-root corpora (in which some trees are multi-root structures).</p><p>The two distinctions described above are orthog­onal, yielding four classes of dependency structures; see Figure 1 for examples of each kind of structure. We use <i>Tps(x) </i>to denote the set of all possible pro-jective single-root dependency structures for a sen­tence x, and Tfp(x) to denote the set of single-root non-projective structures for x. The sets <i>Tpm(x) </i>and (x) are defined analogously for multi-root struc­tures. In contexts where any class of dependency structures may be used, we use the notation T(x) as a placeholder that may be defined as <i>Tps </i>(x), T?p (x), Tpm(x) or <i>Tm</i>(x).</p><p>Following McDonald et al. (2005a), we use a dis­criminative model for dependency parsing. Fea­tures in the model are defined through a function f (x, h, m) which maps a sentence x together with a dependency (h, m) to a feature vector in Rd. A feature vector can be sensitive to any properties of the triple (x, h, m). Given a parameter vector w, the optimal dependency structure for a sentence x is where the set T(x) can be defined as <i>Tps </i>(x), Tfp (x), Tpm(x) or     (x), depending on the type of parsing.</p><doubt alpha="43.8" length="32" tooSmall="False" monospace="0.0">y*(x; w)=  argmaxw•f (x,h,m) (1)</doubt><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">yeT(x)(h,m)ey</doubt><page local="3" global="143"/><p>The parameters w will be learned from a train­ing set {(xj, <i>y</i><i>i) </i>where each xi is a sentence and each yi is a dependency structure. Much of the pre­vious work on learning w has focused on training lo­cal models (see Section 5). McDonald et al. (2005a; 2005b) trained global models using online algo­rithms such as the perceptron algorithm or MIRA. In this paper we consider training algorithms based on work in conditional random fields (CRFs) (Laf-ferty et al., 2001) and max-margin methods (Taskar et al., 2004a).</p></subsection><subsection number="2.2" title="Three Inference Problems"><p>This section highlights three inference problems which arise in training and decoding discriminative dependency parsers, and which are central to the ap­proaches described in this paper.</p><p>Assume that we have a vector <b>6 </b>with values <i>0</i><i>h,m </i>G R for all (h, m) G D(x); these values cor­respond to weights on the different dependencies in D(x). Define a conditional distribution over all de­pendency structures y G T (x) as follows:</p><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">P(y Ix;O)</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">exp E</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">^(h,m)Gy</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">°h,m}</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">Z(x; O)</doubt><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">Z(x;O)^ expl]T8h,m</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">y€T(x)\(h,m)ey</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><p>The function Z(x; <i>6)</i><i> </i>is commonly referred to as the <i>partition function.</i></p><p>Given the distribution P(y | x; <b>6), </b>we can define the <i>marginal probability </i>of a dependency (h, m) as</p><doubt alpha="38.1" length="21" tooSmall="False" monospace="0.0">ßh,m(x;6)=]TP(y |x;6)</doubt><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">y€T(x) :(h,m)ey</doubt><p>The inference problems are then as follows:</p><p>Problem 1: <b>Decoding:</b></p><p>Find argmaXyeT<b>(x) </b>£(h ,m)ey <i>,m</i></p><p>Problem 2: <b>Computation of the Partition Func­tion: </b>Calculate Z(x; <b>6).</b></p><p>Problem 3: <b>Computation of the Marginals:</b></p><p>For all (h, m) e D(x), calculate /x/^m(x; <b>6).</b></p><p>Note that all three problems require a maximiza­tion or summation over the set T(x), which is ex­ponential in size.  There is a clear motivation for being able to solve Problem 1: by setting <i>9h m </i>= w • f (x, h, m), the optimal dependency structure y*(x; w) (see Eq. 1) can be computed. In this paper the motivation for solving Problems 2 and 3 arises from training algorithms for discriminative models. As we will describe in Section 4, both log-linear and max-margin models can be trained via methods that make direct use of algorithms for Problems 2 and 3.</p><p>In the case of projective dependency structures (i.e., T(x) defined as Tps(x) or Tpm(x)), there are well-known algorithms for all three inference prob­lems. Decoding can be carried out using Viterbi-style dynamic-programming algorithms, for exam­ple the O(n<footnote anchor="3"/>) algorithm of Eisner (1996). Com­putation of the marginals and partition function can also be achieved in O(n<footnote anchor="3"/>) time, using a variant of the inside-outside algorithm (Baker, 1979) applied to the Eisner (1996) data structures (Paskin, 2001).</p><p>In the non-projective case (i.e., T(x) defined as Tnp(x) or 7^(x)), McDonald et al. (2005b) de­scribe how the CLE algorithm (Chu and Liu, 1965; Edmonds, 1967) can be used for decoding. How­ever, it is not possible to compute the marginals and partition function using the inside-outside algo­rithm. We next describe a method for computing these quantities in O(n<footnote anchor="3"/>) time using matrix inverse and determinant operations.</p></subsection></section><section number="3" title="Spanning-tree inference using the Matrix-Tree Theorem"><p>In this section we present algorithms for computing the partition function and marginals, as defined in Section 2.2, for non-projective parsing. We first re­iterate the observation of McDonald et al. (2005a) that non-projective parses correspond to directed spanning trees on a complete directed graph of n nodes, where n is the length of the sentence. The above inference problems thus involve summation over the set of all directed spanning trees. Note that this set is exponentially large, and there is no obvi­ous method for decomposing the sum into dynamic-programming-like subproblems. This section de­scribes how a variant of Kirchhoff's Matrix-Tree Theorem (Tutte, 1984) can be used to evaluate the partition function and marginals efficiently.</p><p>In what follows, we consider the single-root set­ting (i.e., T(x) = T„p(x)), leaving the multi-root case (i.e., T(x) = 7^^(x)) to Section 3.<page local="4" global="144"/>3. For a sentence x with n words, define a complete directed graph G on n nodes, where each node corresponds to a word in x, and each edge corresponds to a de­pendency between two words in x. Note that G does <i>not </i>include the root-symbol h = 0, nor does it ac­count for any dependencies (0, m) headed by the root-symbol. We assign non-negative weights to the edges of this graph, yielding the following weighted adjacency matrix <i>A(O)</i><i> </i>e Rraxra, for h, m = 1... n:</p><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">0, ifh = m</doubt><p>exp {#h)TO} , otherwise</p><p>To account for the dependencies (0, m) headed by the root-symbol, we define a vector of root-selection scores r<b>(O) </b>e Rn, for m = 1... n:</p><doubt alpha="43.8" length="16" tooSmall="False" monospace="0.0">rm(0)= exp{^o)m}</doubt><p>Let the weight of a dependency structure y e 7fp(x) be defined as:</p><doubt alpha="43.3" length="30" tooSmall="False" monospace="0.0">V&gt;(y;o)= rr(X,t(y)(0)nAfc)m(0)</doubt><doubt alpha="66.4" length="143" tooSmall="False" monospace="0.0">Here, root(y) = m : (0, m)ey is the child of the root-symbol; there is exactly one such child, since ye 7fp(x).Eq. 2 and 3 can be rephrased as:</doubt><doubt alpha="33.3" length="21" tooSmall="False" monospace="0.0">Z(x;0)Z(x;0)=]TV(y;0)</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">(4) (5)</doubt><p>In the remainder of this section, we drop the nota-tional dependence on x for brevity.</p><p>The original Matrix-Tree Theorem addressed the problem of counting the number of undirected span­ning trees in an undirected graph. For the models we study here, we require a sum of <i>weighted </i>and <i>directed </i>spanning trees. Tutte (1984) extended the Matrix-Tree Theorem to this case. We briefly sum­marize his method below.</p><doubt alpha="63.4" length="71" tooSmall="False" monospace="0.0">First, define the Laplacian matrix L(O)eRnxnof G, for h, m = 1 . . . n:</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">Lh,m(0)</doubt><doubt alpha="27.3" length="22" tooSmall="False" monospace="0.0">£^'=1Ah',m(0) —Ah,m(0)</doubt><p>if h = m otherwise</p><p>Second, for a matrix X, let X<b>(</b>h,m<b>) </b>be the <i>minor </i>of <i>X </i>with respect to row h and column m; i.e., the determinant of the matrix formed by deleting row h and column m from X. Finally, define the weight of any directed spanning tree of G to be the product of the weights Ah <b>m(0) </b>for the edges in that tree.</p><p><b>Theorem 1 </b><i>(Tutte, 1984, p. 140). Let </i>L<b>(0) </b><i>be the Laplacian matrix of G. Then </i>L<b>(m,m)(0) </b><i>is equal to the sum ofthe weights ofall directed spanning trees of</i>G <i>which are rooted at </i>m. <i>Furthermore, the mi­nors vary only in sign when traversing the columns of the Laplacian (Tutte, 1984, p. 150):</i></p><doubt alpha="32.4" length="37" tooSmall="False" monospace="0.0">Vh,m: (-l)h+mL(h,m)(0)=  L(m,m)(0)(6)</doubt><subsection number="3.1" title="Partition functions via matrix determinants"><p>From Theorem 1, it directly follows that where U(m) = {y e Tip : root(y) = m}. A naive method for computing the partition function is therefore to evaluate</p><doubt alpha="45.0" length="20" tooSmall="False" monospace="0.0">L(m,m)(o)=]THAh,m(0)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><doubt alpha="38.1" length="21" tooSmall="False" monospace="0.0">Z(O)=J2rm(0)L(m,m)(0)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">m=1</doubt><p>The above would require calculating n determinants, resulting in O(n<footnote anchor="4"/>) complexity. However, as we show below Z<b>(O) </b>may be obtained in O(n<footnote anchor="3"/>) time using a single determinant evaluation.</p><p>Define a new matrix L<b>(O) </b>to be L<b>(O) </b>with the first row replaced by the root-selection scores:</p><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">f rm(0)h = 1</doubt><doubt alpha="28.6" length="14" tooSmall="False" monospace="0.0">\ Lh,m(0)h &gt; 1</doubt><p>This matrix allows direct computation of the parti­tion function, as the following proposition shows.</p><p><b>Proposition 1 </b><i>The partition function in Eq. 5 is given by </i>Z<b>(0) </b>= |L<b>(0)|.</b></p><p><b>Proof: </b><i>Consider the row expansion of </i>|L<b>(0)| </b><i>with respect to row 1:</i></p><doubt alpha="29.0" length="31" tooSmall="False" monospace="0.0">|L(0)|=E(—i)1+mLi,m(0)L(1,m)(0)</doubt><doubt alpha="21.7" length="23" tooSmall="False" monospace="0.0">=£(—1)1+mrm(0)L(1,m)(0)</doubt><doubt alpha="29.2" length="24" tooSmall="False" monospace="0.0">=J2rm(0)L(m,m)(0)=  Z(0)</doubt><p><i>The second line follows from the construction of </i>_L<b>(0), </b><i>and the third line follows from Eq. 6. </i><b><i>m</i></b><page local="5" global="145"/></p><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">P(y</doubt></subsection><subsection number="3.2" title="Marginals via matrix inversion"><p>The marginals we require are given by</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">Z(0)</doubt><doubt alpha="16.7" length="12" tooSmall="False" monospace="0.0">£    V&gt;(y;0)</doubt><p>To calculate these marginals efficiently for all values of (h, m) we use a well-known identity relating the log partition-function to marginals</p><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">dlog Z(0)</doubt><p>Since the partition function in this case has a closed-form expression (i.e., the determinant of a matrix constructed from <b>0), </b>the marginals can also obtained in closed form. Using the chain rule, the derivative of the log partition-function in Proposition 1 is</p><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">dlog |L(0)|</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">£ £</doubt><doubt alpha="25.0" length="8" tooSmall="False" monospace="0.0">h'=1m'=1</doubt><doubt alpha="45.5" length="22" tooSmall="False" monospace="0.0">dlog |L(0)|dLfe',m'(0)</doubt><p>To perform the derivative, we use the identity and the fact that dLh/ m/ <b>(0</b>)/df9h)m is nonzero for only a few h', m'. Specifically, when h = 0, the marginals are given by and for h &gt; 0, the marginals are given by where 5h)TO is the Kronecker delta. Thus, the com­plexity of evaluating <i>all </i>the relevant marginals is dominated by the matrix inversion, and the total complexity is therefore O(n<footnote anchor="3"/>).</p><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">dlog |X|</doubt><doubt alpha="27.3" length="22" tooSmall="False" monospace="0.0">/io,m(0)= rm(0)[L-1(0)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">m,1</doubt><doubt alpha="25.0" length="56" tooSmall="False" monospace="0.0">/ih,m(0)=    (1—51,m)Afc,m(0)[L-1(0)(1—&lt;V)Ah,m(0)[L-1(0)</doubt></subsection><subsection number="3.3" title="Multiple Roots"><p>In the case of multiple roots, we can still compute the partition function and marginals efficiently. In fact, the derivation of this case is simpler than for single-root structures. Create an extended graph G' which augments G with a dummy root node that has edges pointing to all of the existing nodes, weighted by the appropriate root-selection scores. Note that there is a bijection between directed spanning trees of G' rooted at the dummy root and multi-root struc­tures y e (x). Thus, Theorem 1 can be used to compute the partition function directly: construct a Laplacian matrix L<b>(O) </b>for G' and compute the mi­nor L<b>(0,0)(O). </b>Since this minor is also a determi­nant, the marginals can be obtained analogously to the single-root case. More concretely, this technique corresponds to defining the matrix L<b>(O) </b>as where diag(v) is the diagonal matrix with the vector v on its diagonal.</p><doubt alpha="47.6" length="21" tooSmall="False" monospace="0.0">L(O)= L(O)+diag(r(O))</doubt></subsection><subsection number="3.4" title="Labeled Trees"><p>The techniques above extend easily to the case where dependencies are labeled. For a model with L different labels, it suffices to define the edge and root scores as Ah,m(<footnote anchor="0"/>) = <b>E</b>i<b>=i </b>exp {^m/} and rm<b>(0) </b>= <b>E</b>L<b>=1 </b>exp <b>{^0</b>,m,^}. The partition function over labeled trees is obtained by operat­ing on these values as described previously, and the marginals are given by an application of the chain rule. Both inference problems are solvable in O(n<footnote anchor="3"/> + Ln<footnote anchor="2"/>) time.</p></subsection></section><section number="4" title="Training Algorithms"><p>This section describes two methods for parameter estimation that rely explicitly on the computation of the partition function and marginals.</p><subsection number="4.1" title="Log-Linear Estimation"><p>In conditional log-linear models (Johnson et al., 1999; Lafferty et al., 2001), a distribution over parse trees for a sentence x is defined as follows:</p><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">P (y|x; w) =</doubt><doubt alpha="52.2" length="23" tooSmall="False" monospace="0.0">exp{E(h,m)€yw•f(x,h,m)}</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">Z(x; w)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>where Z(x; w) is the partition function, a sum over T/(x), T4,(x), 7pm(x) or (x).</p><p>We train the model using the approach described by Sha and Pereira (2003). Assume that we have a training set {(x»,yi)}N=1. The optimal parameters are taken to be w* = argminw L(w) where<page local="6" global="146"/></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">N</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">1,</doubt><doubt alpha="36.7" length="30" tooSmall="False" monospace="0.0">L(w)=—C£log P(y|x; w)+ -||w||2</doubt><p>The parameter C &gt; 0 is a constant dictating the level of regularization in the model.</p><p>Since L(w) is a convex function, gradient de­scent methods can be used to search for the global minimum. Such methods typically involve repeated computation of the loss L(w) and gradient , requiring efficient implementations of both func­tions. Note that the log-probability of a parse is so that the main issue in calculating the loss func­tion L(w) is the evaluation of the partition functions Z(x»; w). The gradient of the loss is given by is the marginal probability of a dependency (h, m). Thus, the main issue in the evaluation ofthe gradient is the computation of the marginals /th)m(x; w).</p><doubt alpha="45.0" length="40" tooSmall="False" monospace="0.0">log P(y|x; w)=£ w•f (x,h, m)—log Z(x; w)</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">(h,m)Gy</doubt><doubt alpha="40.0" length="15" tooSmall="False" monospace="0.0">^=w—C££f(x,h,m)</doubt><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">i=1(h,m)€yi</doubt><doubt alpha="52.0" length="25" tooSmall="False" monospace="0.0">+C££Ath,m(xi;w)f (xi,h,m)</doubt><doubt alpha="42.9" length="14" tooSmall="False" monospace="0.0">i=1(h,m)€D(xi)</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">where</doubt><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">^h,m(x; w) =</doubt><doubt alpha="25.0" length="16" tooSmall="False" monospace="0.0">£      p(y|x; w)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">y€T(x)■(h,m)ey</doubt><p>Note that Eq. 7 forms a special case of the log-linear distribution defined in Eq. 2 in Section 2.2. If we set #h)m = w • f (x, h, m) then we have P(y | x; w) = P(y | x; <b>0), </b>Z(x; w) = Z(x; <b>0), </b>and /h)m(x; w) = /xh)m(x; <b>0). </b>Thus in the projective case the inside-outside algorithm can be used to cal­culate the partition function and marginals, thereby enabling training of a log-linear model; in the non-projective case the algorithms in Section 3 can be used for this purpose.</p></subsection><subsection number="4.2" title="Max-Margin Estimation"><p>The second learning algorithm we consider is the large-margin approach for structured prediction (Taskar et al., 2004a; Taskar et al., 2004b). Learning in this framework again involves minimization of a convex function L(w). Let the <i>margin</i>for parse tree y on the i'th training example be defined as where Ei y is a measure of the loss—or number of errors—for parse y on the i'th training sentence. In this paper we take Ei y to be the number of incorrect dependencies in the parse tree y when compared to the gold-standard parse tree yi.</p><doubt alpha="57.7" length="78" tooSmall="False" monospace="0.0">mi)y(w) = £ w•f (xi,h, m)—£ w•f (x, h, m) The loss function is then defined as</doubt><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">L(w)=C£max (Ei,y-mi,y(w))+ -||w||2</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=1</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">yer(xi)</doubt><p>The definition of L(w) makes use of the expres­sion max<b>y€T(</b><b>X</b>i<b>) </b>— mi)y (w)) for the i'th train­ing example, which is commonly referred to as the <i>hinge loss.   </i>Note that = 0, and also that mi)yi (w) = 0, so that the hinge loss is always non­negative. In addition, the hinge loss is 0 if and only if mi)y(w) &gt; Ei y for all y e T(xi). Thus the hinge loss directly penalizes margins mi)y (w) which are less than their corresponding losses Ei)2/.</p><p>Figure 2 shows an algorithm for minimizing L(w) that is based on the exponentiated-gradient al­gorithm for large-margin optimization described by Bartlett et al. (2004). The algorithm maintains a set of weights #i)h)m for i = 1... N, (h, m) e D(xi), which are updated example-by-example. The algo­rithm relies on the repeated computation of marginal values /xi)h)m, which are defined as follows:<footnote anchor="1"/></p><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">/^i,h,m</doubt><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">p(y|xi) =</doubt><doubt alpha="25.0" length="16" tooSmall="False" monospace="0.0">£     p(y|xi)(8)</doubt><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">yer(xi)■(h,m)ey</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">exp</doubt><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">^(h,m)€y</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">$i,h,mJ"</doubt><doubt alpha="53.3" length="30" tooSmall="False" monospace="0.0">Ey/eT(xi)exp{ E(h,m)€y/#i,h,m}</doubt><p>A similar definition is used to derive marginal val­ues /4hTO from the values ffi h m. Computation of the /x and // values is again inference of the form described in Problem 3 in Section 2.2, and can be</p><p>!Bartlett et al. (2004) write <i>P(y \ xi) </i>as <i>aiy. </i>The <i>ai&gt;y </i>vari­ables are dual variables that appear in the dual objective func­tion, i.e., the convex dual of L<b>(w). </b>Analysis of the algorithm shows that as the <i>0i&gt;h&gt;m </i>variables are updated, the dual vari­ables converge to the optimal point of the dual objective, and the parameters <b>w </b>converge to the minimum of L<b>(w).</b></p><page local="7" global="147"/><p><b>Inputs: </b>Training examples <b>{(xi </b><i>,y</i><b><i>i)}!i</i></b><i>L1.</i></p><p><b>Parameters: </b>Regularization constant C, starting point /?, number of passes over training set T.</p><p><b>Data Structures: </b>Real values <i>9i&gt;h,m </i>and <i>li&gt;h,m </i>for i = 1... <i>N, (h,m) </i>e D<b>(xi). </b>Learning rate 7.</p><p><b>Initialization: </b>Set learning rate <i>77</i><i> </i>= . Set <i>9i&gt;h,m </i>= /? for (h,m) e y<b>i</b>,and6<b>&gt;i,h,m </b>= 0 for (h,m) e y<b>i. </b>Setl<b>i,h,m </b>= 0 for (h,m) e yi, and li&gt;h&gt;m = 1 for (h,m) e yi. Calculate initial parameters as where &lt;5<b>i,h,m </b>= (1 - l<b>i,h,m </b>- /t<b>i,h,m) </b>and the /c<b>,h,m </b>values are calculated from the <i>9i&gt;h,m </i>values as described in Eq. 8.</p><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">w=&lt;5i,h,mf(xi,h,m)</doubt><doubt alpha="58.3" length="12" tooSmall="False" monospace="0.0">i(h,m)El(xj)</doubt><p><b>Algorithm: </b>Repeat T passes over the training set, where each pass is as follows:</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Setobj= 0</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">Fori= 1. . . N</doubt><doubt alpha="54.5" length="22" tooSmall="False" monospace="0.0">•For all(h, m)e D(xi):</doubt><doubt alpha="44.7" length="38" tooSmall="False" monospace="0.0">9'i,h,m=#i,h,m+7C(li,h,m+W•f (xi,h,m))</doubt><p>• For example i, calculate marginals <i>/j&gt;i&gt;h,m</i>from <i>9i&gt;h,m </i>values, and marginals <b>/i h m</b>from <i>9i&gt;h&gt;m </i>values (see Eq. 8).</p><p>• Update the parameters:</p><doubt alpha="60.6" length="33" tooSmall="False" monospace="0.0">w=w+CJY,(h,m)eV(xi)Si'hmf(xi,h,m)</doubt><doubt alpha="48.1" length="27" tooSmall="False" monospace="0.0">where&lt;5i,h,m=/i,h,m-/4,h,m,</doubt><doubt alpha="57.1" length="35" tooSmall="False" monospace="0.0">•For all(h,m)e D(xi),set&amp;i,h,m=#i^m</doubt><doubt alpha="62.2" length="37" tooSmall="False" monospace="0.0">^Setobj=obj+C£(hm)6D(xi)li,h,my'i,h,m</doubt><doubt alpha="63.4" length="41" tooSmall="False" monospace="0.0">Set obj = obj —""2". If obj has decreased</doubt><p>compared to last iteration, set n = <b>Output:</b><b> </b>Parameter values <b>w</b></p><p>Figure 2: The EG Algorithm for Max-Margin Estimation. The learning rate 7 is halved each time the dual objective func­tion (see (Bartlett et al., 2004)) fails to increase. In our experi­ments we chose /? = 9, which was found to work well during development of the algorithm.</p><p>achieved using the inside-outside algorithm for pro-jective structures, and the algorithms described in Section 3 for non-projective structures.</p></subsection></section><section number="5" title="Related Work"><p>Global log-linear training has been used in the con­text of PCFG parsing (Johnson, 2001). Riezler et al. (2004) explore a similar application of log-linear models to LFG parsing.     Max-margin learning has been applied to PCFG parsing by Taskar et al. (2004b). They show that this problem has a QP dual of polynomial size, where the dual variables correspond to marginal probabilities of CFG rules. A similar QP dual may be obtained for max-margin projective dependency parsing. However, for non-projective parsing, the dual QP would require an ex­ponential number of constraints on the dependency marginals (Chopra, 1989). Nevertheless, alternative optimization methods like that of Tsochantaridis et al. (2004), or the EG method presented here, can still be applied.</p><p>The majority of previous work on dependency parsing has focused on local (i.e., classification of individual edges) discriminative training methods (Yamada and Matsumoto, 2003; Nivre et al., 2004; Y. Cheng, 2005). Non-local (i.e., classification of entire trees) training methods were used by McDon­ald et al. (2005a), who employed online learning.</p><p>Dependency parsing accuracy can be improved by allowing second-order features, which consider more than one dependency simultaneously. McDon­ald and Pereira (2006) define a second-order depen­dency parsing model in which interactions between adjacent siblings are allowed, and Carreras (2007) defines a second-order model that allows grandpar­ent and sibling interactions. Both authors give poly­time algorithms for exact projective parsing. By adapting the inside-outside algorithm to these mod­els, partition functions and marginals can be com­puted for second-order projective structures, allow­ing log-linear and max-margin training to be ap­plied via the framework developed in this paper. For higher-order non-projective parsing, however, computational complexity results (McDonald and Pereira, 2006; McDonald and Satta, 2007) indicate that exact solutions to the three inference problems of Section 2.2 will be intractable. Exploration of ap­proximate second-order non-projective inference is a natural avenue for future research.</p><p>Two other groups of authors have independently and simultaneously proposed adaptations of the Matrix-Tree Theorem for structured inference on di­rected spanning trees (McDonald and Satta, 2007; Smith and Smith, 2007). There are some algorithmic differences between these papers and ours. First, we define both multi-root and single-root algorithms, whereas the other papers only consider multi-root parsing.<page local="8" global="148"/> This distinction can be important as one often expects a dependency structure to have ex­actly one child attached to the root-symbol, as is the case in a single-root structure. Second, McDonald and Satta (2007) propose an O(n<footnote anchor="5"/>) algorithm for computing the marginals, as opposed to the O(n<footnote anchor="3"/>) matrix-inversion approach used by Smith and Smith (2007) and ourselves.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">2 ■</doubt><p>In addition to the algorithmic differences, both groups of authors consider applications of the Matrix-Tree Theorem which we have not discussed. For example, both papers propose minimum-risk decoding, and McDonald and Satta (2007) dis­cuss unsupervised learning and language model­ing, while Smith and Smith (2007) define hidden-variable models based on spanning trees.</p><p>In this paper we used EG training methods only for max-margin models (Bartlett et al., 2004). How­ever, Globerson et al. (2007) have recently shown how EG updates can be applied to efficient training of log-linear models.</p></section><section number="6" title="Experiments on Dependency Parsing"><p>In this section, we present experimental results applying our inference algorithms for dependency parsing models. Our primary purpose is to estab­lish comparisons along two relevant dimensions: projective training vs. non-projective training, and marginal-based training algorithms vs. the averaged perceptron. The feature representation and other rel­evant dimensions are kept fixed in the experiments.</p><subsection number="6.1" title="Data Sets and Features"><p>We used data from the CoNLL-X shared task on multilingual dependency parsing (Buchholz and Marsi, 2006). In our experiments, we used a subset consisting of six languages; Table 1 gives details of the data sets used.<footnote anchor="2"/> For each language we created a validation set that was a subset of the CoNLL-X</p><footnote label="2">Our subset includes the two languages with the lowest ac­curacy in the CoNLL-X evaluations (Turkish and Arabic), the language with the highest accuracy (Japanese), the most non-projective language (Dutch), a moderately non-projective lan­guage (Slovene), and a highly projective language (Spanish). All languages but Spanish have multi-root parses in their data. We are grateful to the providers of the treebanks that constituted the data of our experiments (Hajic et al., 2004; van der Beek et al., 2002; Kawata and Bartels, 2000; Dzeroski et al., 2006; Civit and Marti, 2002; Oflazer et al., 2003).</footnote><p>Table 1: Information for the languages in our experiments. The 2nd column (%cd) is the percentage of crossing dependen­cies in the training and validation sets. The last three columns report the size in tokens of the training, validation and test sets.</p><p>training set for that language. The remainder of each training set was used to train the models for the dif­ferent languages. The validation sets were used to tune the meta-parameters (e.g., the value of the reg-ularization constant C) of the different training algo­rithms. We used the official test sets and evaluation script from the CoNLL-X task. All of the results that we report are for unlabeled dependency parsing.<footnote anchor="3"/></p><p>The non-projective models were trained on the CoNLL-X data in its original form. Since the pro-jective models assume that the dependencies in the data are non-crossing, we created a second train­ing set for each language where non-projective de­pendency structures were automatically transformed into projective structures. All projective models were trained on these new training sets.<footnote anchor="4"/> Our feature space is based on that of McDonald et al. (2005a).<footnote anchor="5"/></p></subsection><subsection number="6.2" title="Results"><p>We performed experiments using three training al­gorithms: the averaged perceptron (Collins, 2002), log-linear training (via conjugate gradient descent), and max-margin training (via the EG algorithm). Each of these algorithms was trained using pro-jective and non-projective methods, yielding six training settings per language. The different training algorithms have various meta-parameters, which we optimized on the validation set for each language/training-setting combination. The<page local="9" global="149"/></p><footnote label="3">Our algorithms also support labeled parsing (see Section 3.4). Initial experiments with labeled models showed the same trend that we report here for unlabeled parsing, so for simplicity we conducted extensive experiments only for unlabeled parsing.</footnote><footnote label="4">The transformations were performed by running the pro-jective parser with score +1 on correct dependencies and -1 oth­erwise: the resulting trees are guaranteed to be projective and to have a minimum loss with respect to the correct tree. Note that only the training sets were transformed.</footnote><footnote label="5">It should be noted that McDonald et al. (2006) use a richer feature set that is incomparable to our features.</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>language</p></td><td class="cell"><p>%cd</p></td><td class="cell"><p>train</p></td><td class="cell"><p>val.</p></td><td class="cell"><p>test</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>0.34</p></td><td class="cell"><p>49,064</p></td><td class="cell"><p>5,315</p></td><td class="cell"><p>5,373</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>4.93</p></td><td class="cell"><p>178,861</p></td><td class="cell"><p>16,208</p></td><td class="cell"><p>5,585</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Japanese</p></td><td class="cell"><p>0.70</p></td><td class="cell"><p>141,966</p></td><td class="cell"><p>9,495</p></td><td class="cell"><p>5,711</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>1.59</p></td><td class="cell"><p>22,949</p></td><td class="cell"><p>5,801</p></td><td class="cell"><p>6,390</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>0.06</p></td><td class="cell"><p>78,310</p></td><td class="cell"><p>11,024</p></td><td class="cell"><p>5,694</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>1.26</p></td><td class="cell"><p>51,827</p></td><td class="cell"><p>5,683</p></td><td class="cell"><p>7,547</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>Table 2: Test data results. The p and np columns show results with projective and non-projective training respectively.</p><p>Table 3: Results for the three training algorithms on the differ­ent languages (P = perceptron, E = EG, L = log-linear models). AV is an average across the results for the different languages.</p><p>averaged perceptron has a single meta-parameter, namely the number of iterations over the training set. The log-linear models have two meta-parameters: the regularization constant C and the number of gradient steps T taken by the conjugate-gradient optimizer. The EG approach also has two meta­parameters: the regularization constant C and the number of iterations, T.<footnote anchor="6"/> For models trained using non-projective algorithms, both projective and non-projective parsing was tested on the validation set, and the highest scoring of these two approaches was then used to decode test data sentences.</p><p>Table 2 reports test results for the six training sce­narios. These results show that for Dutch, which is the language in our data that has the highest num­ber of crossing dependencies, non-projective train­ing gives significant gains over projective training for all three training methods. For the other lan­guages, non-projective training gives similar or even improved performance over projective training.</p><p>Table 3 gives an additional set of results, which were calculated as follows. For each of the three training methods, we used the validation set results to choose between projective and non-projective training. This allows us to make a direct com­parison of the three training algorithms.  Table 3 shows the results of this comparison.<footnote anchor="7"/> The results show that log-linear and max-margin models both give a higher average accuracy than the perceptron. For some languages (e.g., Japanese), the differences from the perceptron are small; however for other languages (e.g., Arabic, Dutch or Slovene) the im­provements seen are quite substantial.</p><footnote label="6">We trained the perceptron for 100 iterations, and chose the iteration which led to the best score on the validation set. Note that in all of our experiments, the best perceptron results were actually obtained with 30 or fewer iterations. For the log-linear and EG algorithms we tested a number of values for C , and for each value of C ran 100 gradient steps or EG iterations, finally choosing the best combination of C and T found in validation.</footnote></subsection></section><section number="7" title="Conclusions"><p>This paper describes inference algorithms for spanning-tree distributions, focusing on the funda­mental problems of computing partition functions and marginals. Although we concentrate on log­linear and max-margin estimation, the inference al­gorithms we present can serve as black-boxes in many other statistical modeling techniques.</p><p>Our experiments suggest that marginal-based training produces more accurate models than per-ceptron learning. Notably, this is the first large-scale application of the EG algorithm, and shows that it is a promising approach for structured learning.</p><p>In line with McDonald et al. (2005b), we confirm that spanning-tree models are well-suited to depen­dency parsing, especially for highly non-projective languages such as Dutch. Moreover, spanning-tree models should be useful for a variety of other prob­lems involving structured data.</p></section><section title="Acknowledgments"><p>The authors would like to thank the anonymous re­viewers for their constructive comments. In addi­tion, the authors gratefully acknowledge the follow­ing sources of support. Terry Koo was funded by from NTT, Agmt. Dtd. 6/21/1998. Amir Glober-son was supported by a fellowship from the Roth­schild Foundation - Yad Hanadiv. Xavier Carreras was supported by the Catalan Ministry of Innova­tion, Universities and Enterprise, and a grant from NTT, Agmt. Dtd. 6/21/1998. Michael Collins was funded by NSF grants 0347631 and DMS-0434222.</p><doubt alpha="60.9" length="46" tooSmall="False" monospace="0.0">a grant from the NSF (DMS-0434222) and a grant</doubt><footnote label="7">We ran the sign test at the sentence level to measure the statistical significance of the results aggregated across the six languages. Out of 2,472 sentences total, log-linear models gave improved parses over the perceptron on 448 sentences, and worse parses on 343 sentences. The max-margin method gave improved/worse parses for 500/383 sentences. Both results are significant with p &lt; 0.001.</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><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>Perceptron</p></td><td class="cell"><p>Max-Margin</p></td><td class="cell"><p>Log-Linear</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</p></td><td class="cell"><p></p></td><td class="cell"><p>p</p></td><td class="cell"><p></p></td><td class="cell"><p>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>Ara</p></td><td class="cell"><p>71.74</p></td><td class="cell"><p>71.84</p></td><td class="cell"><p>71.74</p></td><td class="cell"><p>72.99</p></td><td class="cell"><p>73.11</p></td><td class="cell"><p><b>73.67</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dut</p></td><td class="cell"><p>77.17</p></td><td class="cell"><p>78.83</p></td><td class="cell"><p>76.53</p></td><td class="cell"><p><b>79.69</b></p></td><td class="cell"><p>76.23</p></td><td class="cell"><p>79.55</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Jap</p></td><td class="cell"><p>91.90</p></td><td class="cell"><p>91.78</p></td><td class="cell"><p>92.10</p></td><td class="cell"><p><b>92.18</b></p></td><td class="cell"><p>91.68</p></td><td class="cell"><p>91.49</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Slo</p></td><td class="cell"><p>78.02</p></td><td class="cell"><p>78.66</p></td><td class="cell"><p>79.78</p></td><td class="cell"><p><b>80.10</b></p></td><td class="cell"><p>78.24</p></td><td class="cell"><p>79.66</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Spa</p></td><td class="cell"><p>81.19</p></td><td class="cell"><p>80.02</p></td><td class="cell"><p>81.71</p></td><td class="cell"><p><b>81.93</b></p></td><td class="cell"><p>81.75</p></td><td class="cell"><p>81.57</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Tur</p></td><td class="cell"><p>71.22</p></td><td class="cell"><p>71.70</p></td><td class="cell"><p><b>72.83</b></p></td><td class="cell"><p>72.02</p></td><td class="cell"><p>72.26</p></td><td class="cell"><p>72.62</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><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Ara</p></td><td class="cell"><p>Dut</p></td><td class="cell"><p>Jap</p></td><td class="cell"><p>Slo</p></td><td class="cell"><p>Spa</p></td><td class="cell"><p>Tur</p></td><td class="cell"><p>AV</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>P</p></td><td class="cell"><p>71.74</p></td><td class="cell"><p>78.83</p></td><td class="cell"><p>91.78</p></td><td class="cell"><p>78.66</p></td><td class="cell"><p>81.19</p></td><td class="cell"><p>71.70</p></td><td class="cell"><p>79.05</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>E</p></td><td class="cell"><p>72.99</p></td><td class="cell"><p><b>79.69</b></p></td><td class="cell"><p><b>92.18</b></p></td><td class="cell"><p><b>80.10</b></p></td><td class="cell"><p><b>81.93</b></p></td><td class="cell"><p>72.02</p></td><td class="cell"><p><b>79.82</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>L</p></td><td class="cell"><p><b>73.67</b></p></td><td class="cell"><p>79.55</p></td><td class="cell"><p>91.49</p></td><td class="cell"><p>79.66</p></td><td class="cell"><p>81.57</p></td><td class="cell"><p><b>72.26</b></p></td><td class="cell"><p>79.71</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></tr></table><page local="10" global="150"/></section><references><p>J. Baker. 1979. Trainable grammars for speech recognition. In <i>97th meeting of the Acoustical Society of America.</i></p><p>P. Bartlett, M. Collins, B. Taskar, and D. McAllester. 2004. Ex­ponentiated gradient algorithms for large-margin structured classification. In <i>NIPS.</i></p><p>L.E. Baum, T. Petrie, G. Soules, and N. Weiss. 1970. A max­imization technique occurring in the statistical analysis of probabilistic functions of markov chains. <i>Annals ofMathe-matical Statistics, </i>41:164-171.</p><p>S. Buchholz and E. Marsi. 2006. CoNLL-X shared task on multilingual dependency parsing. In <i>Proc. CoNLL-X.</i></p><p>X. Carreras. 2007. Experiments with a higher-order projective dependency parser. In <i>Proc. EMNLP-CoNLL.</i></p><p>S.Chopra. 1989. On the spanning tree polyhedron. <i>Oper. Res. Lett., </i>pages 25-29.</p><p>Y.J. Chu and T.H. Liu. 1965. On the shortest arborescence of a directed graph. <i>Science Sinica, </i>14:1396-1400.</p><p>M. Civit and Ma A. Marti. 2002. Design principles for a Span­ish treebank. In <i>Proc. ofthe First Workshop on Treebanks and Linguistic Theories (TLT).</i></p><p>M. Collins. 2002. Discriminative training methods for hidden markov models: Theory and experiments with perceptron al­gorithms. In <i>Proc. EMNLP.</i></p><p>S. DZeroski, T. Erjavec, N. Ledinek, P. Pajas, Z. Zabokrtsky, and A. Zele. 2006. Towards a Slovene dependency treebank. In <i>Proc. ofthe Fifth Intern. Conf. on Language Resources and Evaluation (LREC).</i></p><p>J. Edmonds. 1967. Optimum branchings. <i>Journal ofResearch ofthe National Bureau ofStandards, </i>71B:233-240.</p><p>J. Eisner. 1996. Three new probabilistic models for depen­dency parsing: An exploration. In <i>Proc. COLING.</i></p><p>A. Globerson, T. Koo, X. Carreras, and M. Collins. 2007. Ex­ponentiated gradient algorithms for log-linear structured pre­diction. In <i>Proc. ICML.</i></p><p>J. Hajic, O. SmrZ, P. Zemanek, J. Snaidauf, and E. Beska. 2004. Prague Arabic dependency treebank: Development in data and tools. In <i>Proc. ofthe NEMLAR Intern. Conf. on Arabic Language Resources and Tools, </i>pages 110-117.</p><p>M. Johnson, S. Geman, S. Canon, Z. Chi, and S. Riezler. 1999. Estimators for stochastic unification-based grammars. In <i>Proc.</i><i> ACL.</i></p><p>M. Johnson. 2001. Joint and conditional estimation of tagging and parsing models. In <i>Proc. ACL.</i></p><p>Y. Kawata and J. Bartels. 2000. Stylebook for the Japanese treebank in VERBMOBIL. Verbmobil-Report 240, Seminar fur Sprachwissenschaft, Universität Tübingen.</p><p>J. Lafferty, A. McCallum, andF. Pereira. 2001. Conditonal ran­dom fields: Probabilistic models for segmenting and labeling sequence data. In <i>Proc. ICML.</i></p><p>R. McDonald and F. Pereira. 2006. Online learning of approx­imate dependency parsing algorithms. In <i>Proc. EACL.</i></p><p>R. McDonald and G. Satta. 2007. On the complexity of non-projective data-driven dependency parsing. In <i>Proc. IWPT.</i></p><p>R. McDonald, K. Crammer, and F. Pereira. 2005a. Online large-margin training of dependency parsers. In <i>Proc. ACL.</i></p><p>R. McDonald, F. Pereira, K. Ribarov, and J. Hajic. 2005b. Non-projective dependency parsing using spanning tree al­gorithms. In <i>Proc. HLT-EMNLP.</i></p><p>R. McDonald, K. Lerman, and F. Pereira. 2006. Multilingual dependency parsing with a two-stage discriminative parser.</p><p>In <i>Proc. CoNLL-X.</i></p><p>J. Nivre, J. Hall, and J. Nilsson. 2004. Memory-based depen­dency parsing. In <i>Proc. CoNLL.</i></p><p>K. Oflazer, B. Say, D. Zeynep Hakkani-Tur, and G. Tur. 2003. Building a Turkish treebank. In A. Abeille, editor, <i>Tree-banks: Building and Using Parsed Corpora, </i>chapter 15. Kluwer Academic Publishers.</p><p>M.A. Paskin. 2001. Cubic-time parsing and learning algo­rithms for grammatical bigram models. Technical Report UCB/CSD-01-1148, University of California, Berkeley.</p><p>J. Pearl. 1988. <i>Probabilistic Reasoning in Intelligent Sys­tems: Networks of Plausible Inference (2nd edition). </i>Mor­gan Kaufmann Publishers.</p><p>S. Riezler, R. Kaplan, T. King, J. Maxwell, A. Vasserman, and R. Crouch. 2004. Speed and accuracy in shallow and deep stochastic parsing. In <i>Proc. HLT-NAACL.</i></p><p>F. Sha and F. Pereira. 2003. Shallow parsing with conditional random fields. In <i>Proc. HLT-NAACL.</i></p><p>N.A. Smith and J. Eisner. 2005. Contrastive estimation: Train­ing log-linear models on unlabeled data. In <i>Proc. ACL.</i></p><p>D.A. Smith and N.A. Smith. 2007. Probabilistic models of nonprojective dependency trees. In <i>Proc. EMNLP-CoNLL.</i></p><p>B. Taskar, C. Guestrin, and D. Koller. 2004a. Max-margin markov networks. In <i>NIPS.</i></p><p>B. Taskar, D. Klein, M. Collins, D. Koller, and C. Manning. 2004b. Max-margin parsing. In <i>Proc. EMNLP.</i></p><p>I. Tsochantaridis, T. Hofmann, T. Joachims, and Y. Altun. 2004. Support vector machine learning for interdependent and structured output spaces. In <i>Proc. ICML.</i></p><p>W. Tutte. 1984. <i>Graph Theory. </i>Addison-Wesley.</p><p>L. van der Beek, G. Bouma, R. Malouf, and G. van Noord. 2002. The Alpino dependency treebank. In <i>Computational Linguistics in the Netherlands (CLIN).</i></p><p>Y. Matsumoto Y. Cheng, M. Asahara. 2005. Machine learning-based dependency analyzer for chinese. In <i>Proc. ICCC.</i></p><p>H. Yamada and Y. Matsumoto. 2003. Statistical dependency analysis with support vector machines. In <i>Proc. IWPT.</i></p></references></body></article>