<?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="45"/><title>Stochastic Dependency Parsing Based on A* Admissible Search</title><pubinfo>Sixth SIGHAN Workshop on Chinese Language Processing</pubinfo><author surname="Lin" givenname="Bor-shen"><org  name="University of Science and Technology" country="Hong Kong" city="Clear Water Bay"/></author></firstpageheader><frontmatter><p><b>Stochastic Dependency Parsing Based on A* Admissible Search</b></p><p><b>Bor-shen Lin</b></p><p>National Taiwan University of Science and Technology / No. 43, Keelung Road,</p><p>Section 4, Taipei, Taiwan</p><p>bslin@cs.ntust.edu.tw</p></frontmatter><abstract>Dependency parsing has gained attention in natural language understanding because the representation of dependency tree is simple, compact and direct such that robust partial understanding and task portability can be achieved more easily. However, many de­pendency parsers make hard decisions with local information while selecting among the next parse states. As a consequence, though the obtained dependency trees are good in some sense, the N-best output is not guaranteed to be globally optimal in general. In this paper, a stochastic dependency pars­ing scheme based on A* admissible search is formally presented. By well representing the parse state and appropriately designing the cost and heuristic functions, depend­ency parsing can be modeled as an A* search problem, and solved with a generic algorithm of state space search. When evaluated on the Chinese Tree Bank, this parser can obtain 85.99% dependency ac­curacy at 68.39% sentence accuracy, and 14.62% node ratio for dynamic heuristic. This parser can output N-best dependency trees, and integrate the semantic processing into the search process easily. </abstract></header><body><section number="1" title="Introduction"><p>Constituency grammar has long been the main way for describing the sentence structure of natural lan­guage for decades. The phrase structure of sen­tences can be analyzed by such parsing algorithms as Earley or CYK algorithms (Allen, 1995; Jurafsky and Martin 2001). To parse sentences with constituency grammar, a set of grammar rules writ­ten in linguistics is indispensable, while a corpus of tree bank annotated manually is also necessary if stochastic parsing scheme is adopted. In addition, the many non-terminal or phrasal nodes make it sophisticated to further interpret or disambiguate the parse trees since deep linguistic knowledge is often required. All these factors make language understanding very difficult, labor-intensive and not easy to be ported to various tasks.</p><p>(Send to the boss the report typed well yesterday.) itp send</p><p>Cj|a repQrr^ Çj<u>pl] </u><u>bQs</u>s^&gt;</p><p><b>Figure 1. </b>An example of dependency parsing with unlabeled dependency tree.</p><p>Dependency grammar, on the other hand, describes the syntactic and semantic relationships among lexical terms directly with binary head-modifier links. Such representation is very simple, compact, direct, and therefore helpful for simplifying the process of language understanding and increasing task portability.<page local="2" global="46"/> Figure 1 shows an example of de­pendency parsing for the Chinese sentence "fEfff ^T£?ft$B^^ffl" (meaning "send to the boss the report typed well yesterday"). According to the binary head-modifier links, it is pretty easy to transform the dependency tree into the predicate "send(to:boss,object:report(typed(yesterday,well))) " for further interpretation or interaction, since the semantic gap between them is slight and the map­pings are thus quite direct. Furthermore, robust partial understanding can be achieved easily when full parse is not obtainable, and measured precisely by simply counting the correct attachments on the dependency tree (Ohno et al., 2004). All these will not be so simple provided that conventional con­stituency grammar is used.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>with</p></td><td class="cell"><p>yesterday</p></td><td class="cell"><p>ft</p><p>type</p></td><td class="cell"><p><i>m</i></p><p>well</p></td><td class="cell"><p>m</p><p>of</p></td><td class="cell"><p>report</p></td><td class="cell"><p>send</p></td><td class="cell"><p>&lt;f&gt;p</p><p>to</p></td><td class="cell"><p>boss</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><p>In the dependency parsing paradigm, several de­terministic, stochastic or machine-learning-based parsing algorithms have been proposed (Eisner, 1996; Covington 2001; Kudo and Matsumoto, 2002; Yamada and Matsumoto, 2003; Nivre 2003; Nivre and Scholz, 2004; Chen et al., 2005). Many of them make hard decisions with local informa­tion while selecting among next parse states. As a consequence, though the obtained dependency trees are good in some sense, the N-best output is not guaranteed to be globally optimal in general (Klein and Manning, 2003).</p><p>On the other hand, A* search that guarantees opti-mality has been applied to many areas including AI. Klein and Manning (2003) proposed to use A* search in PCFG parsing. Dienes et al. depicted primarily the idea of applying A* search to de­pendency parsing, but there is not yet formal evaluation results and discussions based on the literatures we have (Dienes et al., 2003). In this paper, a stochastic dependency parsing scheme based on A* admissible search is formally presented. By well representing the parse state and appropriately designing the cost and heuristic func­tions, dependency parsing can be modeled as an A* search problem, and solved with a generic al­gorithm of state space search. This parser has been tested on the Chinese Tree Bank (Chen et al., 1999), and 85.99% dependency accuracy at 68.39% sentence accuracy can be obtained. Among three types of proposed admissible heuristics, dy­namic heuristic can achieve the highest efficiency with node ratio 14.62%. This parser can output N-best dependency trees, and integrate the semantic processing into the search process easily.</p></section><section number="2" title="Fundamentals of A* Search"><p>Search is an important issue in AI area, since the solutions of many problems could be automated if they could be modeled as search problems on state space (Russell and Norvig, 2003). A well known example is the traveling salesperson problem, as shown in the example of Figure 2. In this section basic constituents of A* search will be depicted.</p><subsection number="2.1" title="State Representation"><p>State representation is the first step for modeling the problem domain. It involves not only designing the data structure of search state but indicating the way a state can be uniquely identified. This is defi­nitely not a trivial issue, and depends on the how the problem is defined. In Figure 2, for example, search state cannot be represented simply with the current city, because traveling salesperson problem requires every city has to be visited exactly once. The two nodes of city E on level 2 in Figure 2, with paths A-B-E and A-C-E respectively, are therefore regarded as different search states, and generate their successor states individually. The node E with the path A-C-E, for example, can gen­erate successor B, but the one with the path A-B-E cannot due to reentry of city B. In other words, the search state here is the path, including all cities visited so far, instead of the current city. However, if the problem is changed as finding the shortest path from city A to city F, the two paths A-B-E and A-C-E can then be merged into a single node of city E with shorter path tracked. In such case, the search state will then be the current city instead of the path.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">F</doubt><p><b>Figure 2. </b>An example of state space search for traveling salesperson problem from initial city A.</p><page local="3" global="47"/><doubt alpha="65.2" length="46" tooSmall="False" monospace="0.0">open.add(initial); goal = search(); search() {</doubt><p><i>while(true) {</i> <i>state = open.</i><i>pop(); if(state.isGoal()) return state; successors = state.getSuccessors(); for(successor in successors) { if(!closed.contains(successor)) { closed.add(successor); open.add(successor);</i></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">}</doubt><p>In addition, for state representation three issues need to be further addressed.</p><p>• Initial state: what the initial state is.</p><p>• State transition: how successor states are gen­erated from the current state.</p><p>• Goal state: to judge whether the goal state is achieved or not.</p><p>In the above example in Figure 2, the initial state is the path containing city A only. The state transition is to visit next cities from the current city under the constraint of no reentry. The goal states are any paths that depart from city A and pass every city exactly once.</p></subsection><subsection number="2.2" title="State Space Search"><p>With the state well represented, two data structures are utilized to guide the search.</p><p>• An open list (a priority queue, denoted as <i>open </i>in Figure 3) used for tracking those states not yet spanned.</p><p>• A closed list (denoted as <i>closed </i>in Figure 3) used for tracking those states visited so far to avoid the reentry of the same states.</p><p>Then, a generic algorithm for state space search, with pseudo codes in object-oriented style shown in Figure 3, is performed to find the goal states. The initial state is first inserted into the queue, and an iterative search procedure (denoted as <i>search() </i>in Figure 3) is then called. For each iteration in the search procedure, the search state is popped from the queue and inspected one by one. If it is the goal state, the procedure terminates and returns the goal state. Otherwise the successors of the current state are generated, and inserted into the queue indi­vidually according to the priority provided not yet visited. The search procedure could be called mul­tiple times if more than one goal states are desired.</p><p>Note that the algorithm in Figure 3 is generic enough to be adapted for various search strategies, including depth first search, breadth first search, best first search, algorithm A, algorithm A* and so on, by simply providing different evaluation func­tion <i>f(n) </i>of search state <i>n </i>for prioritizing the queue. For depth first search, for example, those states with the highest depth will have higher priority and be inserted at the front of the queue, while for breadth first search at the back.</p><p><b>Figure 3. </b>Generic algorithm for state space search.</p></subsection><subsection number="2.3" title="Optimality and Efficiency"><p>If the evaluation function <i>f(n) </i>satisfies <i>f(n) =g(n)+h(n),</i></p><p>where <i>g(n) </i>is the real cost from the initial state to the current state <i>n </i>and <i>h(n) </i>is the heuristic esti­mate of the cost from the current state <i>n </i>to the goal state, such type of algorithm is called algorithm A. If further, the constraint of admissibility for <i>h(n) </i>holds, i.e.,</p><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">h(n) &lt;h*(n),</doubt><p>where <i>h*(n) </i>is the true minimum cost from cur­rent state <i>n </i>to the goal state, then optimality can be guaranteed, or equivalently, the goal state obtained first will give minimum cost. Such type of algo­rithm is called algorithm A*. It can be proved that for algorithm A*, the closer the heuristic <i>h(n) </i>is to the true minimum cost, <i>h*(n), </i>the higher the search efficiency is.</p></subsection></section><section number="3" title="A*-based Dependency Parser"><p>In this section, how dependency parsing is mod­eled as an A* search problem will be depicted in detail.</p><subsection number="3.1" title="Formulation"><p>First, let <i>W </i><i>= {W1, W2, ...,Wn} </i>denote the word list (sentence) to be parsed, where <i>Wi </i>denotes the i­th word in the list. And, each word <i>Wi </i>is expressed in the form, <i>W=(w,t)</i><i> (1) </i>where <i>w </i>is the lexical term and <i>t </i>is the part-of-speech tag.<page local="4" global="48"/> A dependency database can first be built by extracting the dependency links among words from a corpus of tree bank. Given the de­pendency database, a directed dependency graph <i>G </i>indicating valid links for the word list <i>W </i>can be constructed, as shown in the example of Figure 4. The direction of the link here indicates the direc­tion of modification. Link <i>W3 W2 </i>in Figure 4, for example, means <i>W3 </i>can modify (or be attached to) <i>W2. </i>The dependency graph <i>G </i>will be used for directing the state transition during search.</p><p><b>Figure 4. </b>Example dependency graph.</p></subsection><subsection number="3.2" title="Representation of Parse State"><p>Since the goal of dependency parsing is to find the dependency tree, the search state can therefore be represented as the dependency tree constructed so far (denoted as <i>T). </i>Besides, a set containing those words not yet attached to the dependency tree (denoted as C, meaning "to be consumed") can be generated dynamically by excluding those words on the dependency tree <i>T </i>from word list <i>W. </i>The three issues depicted in Section 2.1 are then addressed as follows.</p><p>• Initial state: the dependency tree <i>T </i>is empty and the set <i>C </i>contains all words in list <i>W.</i></p><p>• State transition: a word is extracted from <i>C </i>and attached onto some node on the dependency tree T, and a successor state <i>T' </i>and <i>C' </i>is then generated. Whether an attachment is valid or not is determined according to the dependency graph G, under the constraints of uniqueness (any word has at most one head) and projectiv-</p><p>ity<footnote anchor="1"/> (Covington 2001, Nivre 2003).</p><footnote label="1">The projective constraint for new attachment is im­posed by those attachments already on the dependency tree. Each attachment already on the tree forms a non-</footnote><p>• Goal state: the set <i>C </i>is empty while all words in <i>W </i>are attached onto the dependency tree <i>T.</i></p><p>With the parse state represented well, the generic algorithm for state space search depicted in Section 2.2 can then be performed to find the N-best de­pendency trees. A partial search space based on the dependency graph <i>G </i>in Figure 4 is displayed in Figure 5, in which <i>R </i>denotes the root node of de­pendency tree. As shown in Figure 5, for each search state (denoted by the ovals enclosed with double-lines), only a link in form of <i>W</i><i>j </i><i>R </i>or <i>W</i><i>j </i><i>Wi </i>is actually tracked Through tracing the search tree back from the current state, all links can be obtained, and the overall dependency tree <i>T </i>can be constructed accordingly. For the search state <i>W3W2 </i>in Figure 5, for example, the links <i>W1— R, W2— W1 </i>and <i>W3 W2 </i>are obtained through back tracing, which can then construct the dependency tree, <i>W3 W2 W1 R, </i>as can be seen on the left-hand side of Figure 5. This is similar to the case of traveling salesperson problem in Figure 2, in which only the current city is tracked for each state, but the path that identifies the search state uniquely can be obtained by back tracing.</p><p><b>Figure 5. </b>A partial search space where some search states are associated with their dependency trees with dashed lines.</p><p>crossing region between its head and modifier to con­strain new attachments for those words located within that region.</p><page local="5" global="49"/></subsection><subsection number="3.3" title="Cost Function"><p>For given word list <i>W, </i>the dependency tree <i>T </i>with the highest probability <i>P</i><i>(T) </i>is desired, where</p><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">P(T)={TTP(Wl-R)} ■{IIP(Wj- W)} (2)</doubt><p>The first term corresponds to those attachments on the root node of dependency tree (i.e. headless words), while the second term corresponds to the other attachments. In A* search, the optimal goal state obtained is guaranteed to give the minimal cost. So, if the cost function, <i>g(n), </i>is defined as the minus logarithm of <i>P</i><i>(T),</i></p><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">g(n) = -log (P(T))</doubt><doubt alpha="43.2" length="37" tooSmall="False" monospace="0.0">=I(-log(P(Wl-R))) +I(-log(P(W-- Wi)))</doubt><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">=Istep-cost (3)</doubt><p>then the A* search algorithm that minimizes the cost <i>g(n) </i>will eventually maximizes the probability of the dependency tree, <i>P</i><i>(T). </i>Here the minus loga­rithms of the probabilities in Equation (3), -<i>log(P(W- R)) </i>and <i>-log(P(W--W)), </i>can be re­garded as the step cost for each attachment (or link) accumulated during search. Furthermore, since each word is expressed with a lexical term and a part-of-speech tag as shown in Equation (1), the probability for each link can be depicted as,</p><doubt alpha="43.8" length="32" tooSmall="False" monospace="0.0">P(Wl-R)=P(Wl|R) =P(tR ■ P(wM)(4)</doubt><doubt alpha="52.6" length="38" tooSmall="False" monospace="0.0">P(Wj-W)= P(WjIW)= P(tjlt)■ P(Wjltj)(5)</doubt><p>assuming the word list <i>W </i>is generated by the Baysian networks in Figure 6(a) and 6(b) respec­tively. Note that here the probability for a link <i>P(W</i><i>j </i><i>Wi) </i>involves not only the lexical terms <i>W</i><i>j </i>and <i>w</i><i>i </i>but also the part-of-speech tags <i>t</i><i>j</i>and <i>t</i><i>i, </i>and is denoted as link bigram. Such formulation can be generalized to high order link n-grams. Figure 6(c), for example, displays the Baysian network for the link <i>Wk W</i><i>j </i>conditioned on <i>Wj—</i><i> Wi, </i>based on which the link trigram is defined as</p><doubt alpha="52.7" length="55" tooSmall="False" monospace="0.0">P(Wk- WjIW--W)=P(WkI WuWj)= P(tkI ti,t) ■ P(wkI tk).(6)</doubt><p>When comparing Figure 6(c) with Figure 6(d), the Baysian networks for link trigram <i>P(Wk I Wi, W</i><i>j) </i>and conventional linear trigram <i>P(Wi+2 I Wi, Wi+1) </i>respectively, it could be found that link n-gram is flexible for long-distance stochastic dependencies, though the two topologies look similar. Undoubtedly, the Baysian networks in Figure 6 appear too simple to model the real statistics precisely. In the link <i>W</i><i>j- </i><i>W</i><i>i, </i>for example, <i>W</i><i>j </i>might depend on not only its parent <i>W</i><i>i </i>but the children of <i>W</i>i (Eisner, 1996). Also, the direction <i>(sgn(i-j)) </i>and the dis­tance <i>(Ii-jI</i><i> </i>) of modification between <i>W</i><i>i </i>and <i>W</i><i>j </i>might be important (Ohno et al., 2004). All these factors could be taken into account by simply in­cluding the minus logarithms of the corresponding probabilities into the step cost.</p><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">(a) (b)</doubt><doubt alpha="38.7" length="31" tooSmall="False" monospace="0.0">P(Wk| W,, Wj) P(Wt+2\ W,, W1+l)</doubt><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">(c) (d)</doubt><p><b>Figure 6. </b>Baysian networks of (a) link unigram (b) link bigram (c) link trigram (d) linear trigram.</p></subsection><subsection number="3.4" title="Heuristic Function"><p>In A* search, the evaluation function <i>f(n) </i>consists of <i>g(n), </i>the real cost from the initial state to the current state <i>n,</i><i> </i>and <i>h(n), </i>the cost estimated heuris-tically from the current state <i>n </i>to the goal state. Now for dependency parsing, <i>g(n) </i>defined in Equation (3) is the accumulated cost for those at­tachments on current dependency tree <i>T, </i>while <i>h(n) </i>is the predicted cost of the attachments for the words in <i>C </i>which have not yet been attached. Since <i>h(n) &lt; h*(n) </i>has to hold for admissibility, it is necessary to estimate <i>h(n) </i>conservatively enough so as not to exceed the true minimum cost <i>h*(n). </i>To achieve higher search efficiency, however, it is preferred to estimate <i>h(n) </i>more aggressively such that <i>h(n) </i>can be as close to <i>h*(n) </i>as possible. Therefore, in this paper, <i>h(n) </i>is estimated with <i>the minimum of minus logarithms of link n-grams </i>for each word in <i>C, </i>with different levels of constraints described below.</p><page local="6" global="50"/><p>• Global heuristic: the minimum is static, and can be calculated in advance before parsing any sentence by considering all link n-grams for each word.</p><p>• Local heuristic: the minimum is calculated ac­cording to the dependency graph <i>G </i>of current parsing sentence by considering all possible link n-grams with respect to <i>G.</i></p><p>• Dynamic heuristic: the minimum is calculated dynamically according to current dependency tree <i>T </i>during parsing by considering only pro-jective link n-grams with respect to <i>G </i>for cur­rent dependency tree <i>T.</i></p><p>By virtue of taking the minimum of minus loga­rithms of link n-grams, admissibility can be guar­anteed for these heuristics. The latter with stricter constraints on finding the minimum can give more precise estimate of cost (with higher <i>h(n)) </i>than the former, and is thus expected to be more efficient, as will be discussed in the next section.</p></subsection></section><section number="4" title="Experiments"><p>The stochastic dependency parsing scheme pro­posed in this paper has been first tested on the Chi­nese Tree Bank 3.0 licensed by Academia Sinica, Taiwan, with six sets of data collected from differ­ent sources (Chen et al., 1999). Head-modifier links (with lexical term and part-of-speech tag) can be extracted from the tree bank since it is produced by a head-driven parser (Chen, 1996). In our ex­periments, One set, named as <i>oral.check, </i>contain­ing 4156 sentences manually transcribed from dia­logue database is used to train the dependency da­tabase, link statistics including conditional prob­abilities, link unigrams and bigrams as shown in Equation (4) and (5), and so on. Another set, named as <i>ev.check, </i>containing 1797 sentences in text books of elementary school is used to test the A*-based dependency parser. Note here the train­ing corpus and testing corpus are of different do­mains, and each word in test sentences is tran­scribed into <i>(w, t) </i>format with lexical term <i>w </i>and associated part-of-speech tag <i>t.</i></p><subsection number="4.1" title="Coverage Rate"><p>The number of occurrences and the coverage rate for the conditional probability <i>P(w</i><i>j</i><i>It</i><i>j), </i>link uni­gram <i>P(t</i><i>j) </i>and link bigram <i>P(t</i><i>j</i><i>It</i><i>i) </i>respectively are shown in Table 1. As can be seen in this table, the coverage rate for <i>P(w</i><i>j</i><i>It</i><i>j) </i>is as low as 50.8%, since the training and testing domains are quite different. The coverage rates for link unigram and bigram, however, can be up to 94.06% and 84.88% respec­tively. This implies that, the link probabilities can be estimated more appropriately and contribute more in finding the dependency trees. To handle the issue of data sparseness, in the following ex­periments a simple n-gram backoff mechanism is utilized for smoothing.</p><p><b>Table 1. </b>Coverage rates for link statistics.</p></subsection><subsection number="4.2" title="Parsing Accuracy"><p>The experiment settings for dependency parsing are depicted as below. The first, denoted as BASE, is the baseline setting, while the others describe the search conditions applied to the baseline incremen­tally. The heuristic <i>h(n) </i>used here is the dynamic heuristic.</p><p>• BASE: baseline with the cost defined in Equa­tion (3), (4) and (5).</p><p>• RP: root penalty for every root attachment <i>Wl- R </i>is included into the step cost.</p><p>• DIR: the statistics for the direction of modifica­tion, <i>P(DIW} - W)=P(DIt</i><i>i, </i><i>t</i><i>j), </i>is included into the step cost where <i>D = sgn(j - i).</i></p><p>• NA: the statistics for the number of attachments (or valence), <i>P(NiIW)=P(Ni\t), </i>is included into the step cost and updated incrementally for every new attachment onto Wi. <i>Ni </i>is the current number of words attached to <i>W</i><i>i.</i></p><p>• REJ: the obtained dependency trees are in­spected one by one, and rejected if any of the conditions occurs: (a) the modifiers for con­junction word (e.g. "fP", meaning "and") be­long to different part-of-speech categories (in­correct meaning) (b) illegal use of "EST (mean­ing "of") as leaf node (incomplete meaning).</p><p>The baseline setting with Equation (3), (4) and (5) is based on the Baysian networks depicted in Figure 6(a) and 6(b).<page local="7" global="51"/> Finer statistics could be applied in the settings RP, DIR and NA. The setting RP, for example, can restrain the number of headless words. The setting DIR can take into account the cost due to the direction of modification, since it in fact matters<footnote anchor="2"/>, but the link probability <i>P(W</i><i>j </i><i>- W</i><i>i) </i>in Equation (5) cannot differentiate between the two directions. The distance of modification, might matter too, but is not considered here due to quite limited amount of training data. The setting NA can include the cost due to the number of at­tachments. Verbs, for example, often require more attachments, and may produce lower cost for higher number of attachments. Here for simplifica­tion, the statistics of <i>P(N</i><i>i</i><i>It)</i><i> </i>are gathered only for <i>Ni </i>= 0,1,2, and &gt;=3, respectively. In addition to using finer statistics, it is also feasible to use se­mantic or lexical rules to reject the dependency trees with incorrect or incomplete meanings. In the setting REJ, two rules are utilized. One is, the con­junction word should have modifiers in the same part-of-speech category, while the other is, the word "SS" must have at least one modifier.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>No. of occurrences</p></td><td class="cell"><p><i>P(W</i><i>j</i><i>\t</i><i>j)</i></p></td><td class="cell"><p><i>P(t</i><i>j)</i></p></td><td class="cell"><p><i>P(t]\t)</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Training corpus</p></td><td class="cell"><p>8137</p></td><td class="cell"><p>120</p></td><td class="cell"><p>3383</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Testing corpus</p></td><td class="cell"><p>2791</p></td><td class="cell"><p>101</p></td><td class="cell"><p>1468</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overlaps</p></td><td class="cell"><p>1418</p></td><td class="cell"><p>95</p></td><td class="cell"><p>1246</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Coverage rate</p></td><td class="cell"><p>50.80%</p></td><td class="cell"><p>94.06%</p></td><td class="cell"><p>84.88%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">of</doubt><p><b>Table 2. </b>Parsing accuracy for various settings.</p><p>The parsing performance can be measured with sentence accuracy (SA) and dependency accuracy (DA). Table 2 shows the experimental results for the above settings. The results for within-domain test by using the set <i>ev.check </i>for both training and testing are also listed here for comparison. It can be found in this table that, the performance of cross-domain test is not so good for the baseline setting, but can be persistently improved when finer statistics are applied. Rejection of incorrect or incomplete dependency trees is also helpful (REJ), though very few semantic or lexical constraints are utilized here. When the constraints of all settings are applied, 85.99% dependency accuracy can be obtained at 68.39% sentence accuracy.</p><footnote label="2">In the Chinese phrase "^(in).. . gffigj (front)", for example, ""h" is the head while "ffjffi" is the modifier, and "fffiS" always modifies ""h" backwards.</footnote></subsection><subsection number="4.3" title="N-best Output"><p>Note that due to data sparseness and the limitation of simplified Baysian networks, some parsing er­rors are intrinsic and difficult to avoid. Figure 7 shows the parsing result for a clause "P0J%l2&amp;SJifif f[J|" (meaning "at the time for eating dinner"). The incorrect parsing result on the right-hand side (meaning "to eat the time of dinner") is syntacti­cally correct and inevitable in fact, since the link probabilities <i>(P(t</i><i>j) </i>or <i>P(t</i><i>j</i><i>It</i><i>i)) </i>dominate over the conditional probabilities <i>(P(w</i><i>j</i><i>It</i><i>j)), </i>as illustrated in Section 4.1. Such problem could possibly be alle­viated to some extent if deep semantic constraints (e.g. a transitive verb may require a subject and an object) or lexical constraints (e.g. some adjectives may modify only specific nouns) could be utilized for rejection while reprocessing the N-best output.</p><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">time(^§t(NadT)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">eat</doubt><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">(VC31^ of</doubt><p>time <b>^J</b>fg (Nd<b>T^</b> correct dependency tree incorrect result</p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">m(de)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><doubt alpha="60.0" length="35" tooSmall="False" monospace="0.0">dinnerC^¥(Naa^&gt;   dinner(j^M(Naa)^)</doubt><p><b>Figure 7. </b>The parsing result for the clause "P0J% I5&amp;SH#{[JI" (time for eating dinner).</p><p>Table 3 shows the experimental results of N-best output for the setting REJ. In Table 3 it can be seen that higher sentence accuracy, 80.08%, for top-5 output can be achieved, which implies large space for improvement in N-best processing.</p><doubt alpha="19.8" length="86" tooSmall="False" monospace="0.0">Top 1    Top 2    Top 3    Top 4    Top 5 SA "| 68.39% | 75.24%178.02%179.41% | 80.08%</doubt><p><b>Table 3. </b>Sentence accuracy for N-best output.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">T</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>No. of Accurate Sentences</p></td><td class="cell"><p>SA</p></td><td class="cell"><p>DA</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cross Domain</p></td><td class="cell"><p>BASE</p></td><td class="cell"><p>867</p></td><td class="cell"><p>48.25%</p></td><td class="cell"><p>77.42%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ RP</p></td><td class="cell"><p>1039</p></td><td class="cell"><p>57.82%</p></td><td class="cell"><p>80.74%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ DIR</p></td><td class="cell"><p>1102</p></td><td class="cell"><p>61.32%</p></td><td class="cell"><p>82.72%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ NA</p></td><td class="cell"><p>1211</p></td><td class="cell"><p>67.39%</p></td><td class="cell"><p>85.21%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ REJ</p></td><td class="cell"><p>1229</p></td><td class="cell"><p>68.39%</p></td><td class="cell"><p>85.99%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Within Domain</p></td><td class="cell"><p>BASE</p></td><td class="cell"><p>1109</p></td><td class="cell"><p>61.71%</p></td><td class="cell"><p>85.93%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ RP</p></td><td class="cell"><p>1314</p></td><td class="cell"><p>73.12%</p></td><td class="cell"><p>89.91%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ DIR</p></td><td class="cell"><p>1340</p></td><td class="cell"><p>74.57%</p></td><td class="cell"><p>90.66%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ NA</p></td><td class="cell"><p>1476</p></td><td class="cell"><p>82.16%</p></td><td class="cell"><p>92.81%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ REJ</p></td><td class="cell"><p>1484</p></td><td class="cell"><p>82.58%</p></td><td class="cell"><p>93.20%</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="8" global="52"/></subsection><subsection number="4.4" title="Search Efficiency"><p>The search efficiency for each test sentence can be measured heuristically by the order of complexity, defined as</p><doubt alpha="50.0" length="12" tooSmall="False" monospace="0.0">C = lognN(7)</doubt><p>where <i>n </i>is number of words in the test sentence and <i>N </i>is the total number of the search nodes for that sentence. Cave is then used to denote the aver­age complexity over all test sentences. In addition, Nall is the total number of search nodes for all test sentences, and can produce the node ratio RN when normalized. The experimental results for different heuristics depicted in Section 3.4 are shown in Ta­ble 4. As can be observed in this table, much higher search efficiency can be obtained for more precise heuristic estimate, but with compatible top 1 sentence accuracy. For dynamic heuristic with real-time estimate of the cost according to the cur­rent dependency tree, the highest efficiency can be obtained at 2.38 average complexity and 14.62% node ratio, respectively.</p><p><b>Table 4. </b>Search efficiency for different heuristics.</p></subsection></section><section number="5" title="Conclusions"><p>We have presented a stochastic dependency pars­ing scheme based on A* admissible search, and verified its parsing accuracy and search efficiency on the Chinese Tree Bank 3.0. 85.99% dependency accuracy at 68.39% sentence accuracy can be ob­tained under cross-domain test. Among three types of admissible heuristics proposed, dynamic heuris­tic can achieve the highest efficiency with node ratio 14.62%. This parser can output N-best de­pendency trees, and reprocess them flexibly with more semantic constraints so as to achieve higher parsing accuracy. This parsing scheme is the basis for natural language understanding in our research project on dialogue systems for mission delegation tasks. We plan to perform comparative studies with other non-stochastic approaches, and evaluate our approach on the shared task of dependency parsing.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Heuristic</p></td><td class="cell"><p>SA</p></td><td class="cell"><p>C</p></td><td class="cell"><p>Nall</p></td><td class="cell"><p>Rn</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>None</p></td><td class="cell"><p>68.84%</p></td><td class="cell"><p>2.91</p></td><td class="cell"><p>4748268</p></td><td class="cell"><p>100%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Global</p></td><td class="cell"><p>68.34%</p></td><td class="cell"><p>2.82</p></td><td class="cell"><p>3417766</p></td><td class="cell"><p>66.29%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Local</p></td><td class="cell"><p>68.50%</p></td><td class="cell"><p>2.39</p></td><td class="cell"><p>841716</p></td><td class="cell"><p>17.73%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dynamic</p></td><td class="cell"><p>68.39%</p></td><td class="cell"><p>2.38</p></td><td class="cell"><p>694193</p></td><td class="cell"><p>14.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></tr></table></section><references><p>Allen James, 1995. <i>Natural Language Understanding, </i>The Benjamin/Cummings Publishing Company.</p><p>Chen K. J. 1996. <i>A Model for Robust Chinese Parser, </i>Computational Linguistics and Chinese Language Processing, Vol. 1, no. 1, pp. 183-205.</p><p>Chen K. J., et al. 1999. <i>The CKIP Chinese Treebank: Guidelines for Annotation, </i>ATALA Workshop -Treebanks, Paris, pp. 85-96.</p><p>Chen Yuchang, Asahara Masayuki and Matsumoto Yuji. 2005. Machine Learning-based Dependency Ana­lyzer for Chinese, ICCC-2005.</p><p>Covington Michael A. 2001. <i>A Fundamental Algorithm for Dependency Parsing, </i>Proc. of the 39th Annual ACM Southeast Conference, pp. 95-102.</p><p>Dienes Peter, Koller Alexander and Kuhlmann Macro. 2003. <i>Statistical A* Dependency Parsing, </i>Proc. Workshop on Prospects and Advances in the Syn­tax/Semantics Interface.</p><p>Eisner Jason M. 1996. <i>Three Probabilistic Models for Dependency Parsing: An Exploration, </i>Proc. COL-</p><p>ING, pp. 340-345.</p><p>Jurafsky Daniel and Martin James H. 2001. <i>Speech and Language Processing, </i>Prentice Hall, NJ.</p><p>Klein Dan and Manning Christopher D. 2003. <i>A * Pars­ing:  Fast Exact  Viterbi Parse Selection, </i>Proc.</p><p>NAACL/HLT.</p><p>Klein Dan and Manning Christopher D. 2003. <i>Fast Ex­act Inference with a Factored Model for Natural Language Parsing, </i>Proc. Advances in Neural Infor­mation Processing Systems.</p><p>Kudo Taku and Matsumoto Yuji. 2002. <i>Japanese De­pendency Analysis using Cascaded Chunking, </i>Proc.</p><p>CONLL.</p><p>Nivre Joakim, 2003, <i>An Efficient Algorithm for Projec-tive Dependency Parsing, </i>Proc. International Work­shop on Parsing Technologies (IWPT).</p><p>Nivre Joakim and Scholz Mario. 2004. <i>Deterministic Dependency Parsing of English Text, </i>Proc. COLING.</p><p>Ohno Tomohiro, et al, 2004. <i>Robust Dependency Pars­ing ofSpontaneous Japanese Speech and Its Evalua­tion, </i>Proc. ICSLP.</p><p>Russell S. and Norvig P. 2003. <i>Artificial Intelligence: A Modern Approach, </i>Prentice Hall.</p><p>Yamada Hiroyasu and Matsumoto Yuji. 2003. <i>Statisti­cal Dependency Analysis with Support Vector Ma­chines, </i>Proc. IWPT</p></references></body></article>