<?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="109"/><title>Parsing Internal Noun Phrase Structure with Collins' Models</title><pubinfo>Proceedings of the Australasian Language Technology Workshop 2007, pages 109-116</pubinfo><author surname="Vadas" givenname="David"><org  name="University of Sydney" country="Australia" city="Sydney"/></author><author surname="Curran" givenname="James R."><org  name="University of Sydney" country="Australia" city="Sydney"/></author></firstpageheader><frontmatter><p><b>Parsing Internal Noun Phrase Structure with Collins' Models</b></p><p><b>David Vadas </b>and <b>James R. Curran</b></p><p>School of Information Technologies University of Sydney NSW 2006, Australia {dvadasl, james}@it.usyd.edu.au</p></frontmatter><abstract>Collins' widely-used parsing models treat noun phrases (nps) in a different manner to other constituents. We investigate these differences, using the recently released in­ternal np bracketing data (Vadas and Cur-ran, 2007a). Altering the structure of the Treebank, as this data does, has a num­ber of consequences, as parsers built using Collins' models assume that their training and test data will have structure similar to the Penn Treebank's. Our results demonstrate that it is difficult for Collins' models to adapt to this new np structure, and that parsers using these models make mistakes as a result. This emphasises how important treebank struc­ture itself is, and the large amount of in­fluence it can have. </abstract></header><body><section number="1" title="Introduction"><p>Collins' parsing models (Collins, 1999) are widely used in natural language processing (nlp), as they are robust and accurate for recovering syntactic structure. These models can be trained on a wide variety of domains and languages, such as biological text, Chinese and Arabic. However, Collins' models were originally built for the Penn Treebank (Marcus et al., 1993), and as such, are predisposed to parsing not only similar text, but also similar structure.</p><p>This paper deals with the effects of assuming such a structure, after the Treebank has been altered. We focus on noun phrases (nps) in particular, for two reasons. Firstly, there are a number of intricacies as part of Collins' model in this area. Indeed, a Collins-style parser uses a different model for gen­erating nps, compared to all other structures. Sec­ondly, we can make use of our previous work in annotating internal np structure (Vadas and Curran, 2007a), which gives us a ready source of Penn Tree-bank data with an altered structure.</p><p>Using this extended corpus, we make a number of alterations to the model itself, in an attempt to im­prove the parser's performance. We also examine the errors made, focusing on the altered data in par­ticular, and suggest ways that performance can be improved in the future.</p><p>Next, we look at what effect the np bracketing structure has. The existing Penn Treebank uses a generally flat structure (especially in nps), but when internal np brackets are introduced this is no longer the case. We determine what is the best representa­tion to use for these new annotations, and also ex­amine why that is.</p><p>Finally, we experiment with the task of identify­ing apposition within nps, using manually annotated data as a gold standard. Although we find that this is a relatively easy task, the parser's performance is very low. The reasons for why Collins' models are unable to recover this structure are then explored.</p><p>The work described here raises questions about how researchers create nlp models, which may be for any task and not just parsing. Implicitly assum­ing that data will always retain the same structure can, as the results described here show, cause many problems for researchers in the future.</p><page local="2" global="110"/></section><section number="2" title="Background"><p>We present here a brief introduction to Collins' (1999) models, focusing in particular on how they generate nps. All of the models use a Probablistic Context Free Grammar (pcfg), with the Penn Tree-bank training data used to define the grammar, and to estimate the probabilities of the grammar rules be­ing used. The cky algorithm is then used to find the optimal tree for a sentence.</p><p>The grammar is also lexicalised, i.e. the rules are conditioned on the token and the pos tag of the head of the constituent being generated. Estimat­ing probabilities over the grammar rule, the head and the head's pos is problematic because of sparse data problems, and so generation probabilities are broken down into smaller steps. Thus, instead of calculating the probability of the entire rule, we note that each rule can be framed as follows:</p><doubt alpha="45.0" length="40" tooSmall="False" monospace="0.0">P(h)-+Ln(ln)... Li{h)H{h)Ri{n)... Rm{rm)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>where    is the head child, are its left modifiers and <b><i>Rx(r{)</i></b><b><i>.</i></b><b><i>.</i></b><i>. Rm(rm) </i>are its right modifiers. If we make independence assumptions between the modifiers, then using the chain rule yields the following equations:</p><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><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">«=l...n</doubt><doubt alpha="57.7" length="26" tooSmall="False" monospace="0.0">J]Pr(Ri(ri)\Parent,h,H)(4)</doubt><doubt alpha="28.6" length="7" tooSmall="False" monospace="0.0">«=l...m</doubt><p>So the head is generated first, then the left and right modifiers (conditioned only on the head<footnote anchor="1"/> )af-terwards.</p><p>Now this differs for base-nps, which use a slightly different model. Instead of conditioning on the head, the current modifier is dependant on the pre­vious modifier, resulting in a sort of bigram model. Formally, equations 3 and 4 above are changed as shown below:</p><doubt alpha="60.7" length="28" tooSmall="False" monospace="0.0">J]PiiLiiWParen^Li-^li-!))(5)</doubt><doubt alpha="66.7" length="30" tooSmall="False" monospace="0.0">J]PriRiin^Paren^Ri-iiri-i))(6)</doubt><p>'There are also distance measures, the subcategorisation frame, etc, but they are not relevant for this discussion as they do not affect NPs.</p><p>There are a few reasons given by Collins for this. Most relevant for this work, is that because the Penn Treebank does not fully bracket nps, the head is un­reliable. When generating crude in the np crude oil prices, we would want to condition on oil, the true head. However, prices is the head that would be found. Using the special np submodel thus results in the correct behaviour. As Bikel (2004) notes, the model is not conditioning on the previous modifier <i>instead </i>of the head, the model is treating the previous modifier <i>as </i>the head.</p><p>The separate np submodel also allows the parser to learn np boundaries effectively, i.e. it is rare for words to precede the in an np; and creates a distinct X-bar level, which Collins notes is helpful for the parser's performance.</p><p>In order to implement the separate base-np sub­model, a preprocessing step is taken wherein np brackets that do not dominate any other non­possessive np nodes are relabelled as npb. For con­sistency, an extra np bracket is inserted around npb nodes not already dominated by an np. These npb nodes are reverted before evaluation.</p><p>In our previous work (Vadas and Curran, 2007a), we annotated the full structure of nps in the Penn Treebank. This means that the true head can be iden­tified, which may remove the need to condition on the previous modifier. We will experiment with this in Section 3.2.</p><subsection number="2.1" title="Treebank Structure"><p>Other researchers have also looked at the effect of treebank structure upon parser performance. Collins himself notes that binary trees would be a poor choice, as the parser loses some context sensitivity, and the distance measures become ineffective. He advocates one level of bracketing structure per X-bar level.</p><p>Goodman (1997) explicitly converts trees to a bi­nary branching format as a preprocessing step, in or­der to avoid these problems. Johnson (1998) finds that the performance of simple pcfgs can be im­proved through tree transformations, while Klein and Manning (2001) observe that some simple tree transforms can increase parser speed. The varia­tion shown in these approaches, all to the same task, highlights the difficulty in identifying optimal tree stucture.</p><page local="3" global="111"/><p>Table 1 : Parser performance</p><p>The issue of treebank structure extends to other languages as well, and implies further difficulties when comparing between languages. Kiibler (2005) investigates two German treebanks with different annotation schemes, and finds that certain proper­ties, such as having unary nodes and flatter clauses, increase performance. Rehbein and van Genabith (2007) suggest that the treebank structure also af­fects evaluation methods.</p></subsection></section><section number="3" title="Internal NP Brackets"><p>We begin by analysing the performance of Collins' model, using the Vadas and Curran (2007a) data. This additional level of bracketing in the Penn Tree-bank consists of nml and jjp brackets to mark inter­nal NP structure, as shown below:</p><doubt alpha="50.0" length="52" tooSmall="False" monospace="0.0">(NP   (NML   (NN crude)    (NN oil) ) (NNS prices) )</doubt><doubt alpha="52.3" length="44" tooSmall="False" monospace="0.0">(NP   (NN world)   (NN oil)   (NNS prices) )</doubt><p>In the first example, a nml bracket has been inserted around crude oil to indicate that the NP is left-branching. In the second example, we do not ex­plicitly add a bracket around oil prices,butthe NP should now be interpreted implicitly as right-branching.</p><p>The experiments are carried out using the Bikel (2004) implementation of the Collins (1999) parser. We use Sections 02-21 for training, and report la­belled bracket precision, recall and F-scores for all sentences in Section 00.</p><p>Firstly, we compare the parser's performance on the original Penn Treebank to when it is retrained with the new nml and jjp bracketed version. Ta­ble 1 shows that the new brackets make parsing marginally more difficult overall (by about 0.5% in F-score). However, if we evaluate only the original structure, by excluding the new nml and jjp brack­ets, then we find that the F-score has dropped by only a negligible amount. This means that the drop in overall performance results from low accuracy on the new nml and jjp brackets.</p><table caption="Table 2: Parser performance with relabelled brackets"></table><p>Bikel's parser does not come inbuilt with an ex­pectation of nml or jjp nodes in the treebank, and so it is not surprising that these new labels cause problems. For example, head-finding for these con­stituents is undefined. Also, as we described previ­ously, NPs are treated differently in Collins' model, and so changing their structure could have unex­pected consequences.</p><p>In an attempt to remove any complications intro­duced by the new labels, we relabelled nml and jjp brackets as np and adjp, and then retrained again. These are the labels that would be given if internal NP structure was originally bracketed with the rest of the Penn Treebank. This relabelleling means that the model does not have to discriminate between two different types of noun and adjective structure, and for this reason, we might expect to see an increase in performance. This approach is also easy to im­plement, and eliminates the need for any change to the parser itself.</p><p>The results in Table 2 show that this is not the case, as the overall F-score has dropped another 0.5%. The nml and jjp brackets cannot be evalu­ated directly in this experiment, but we can compare against the corpus without relabelling, and count correct bracketings whenever a test np matches a gold nml. The same is done for adjp and jjp brack­ets. This results in a precision of 100%, because whenever a nml or jjp node is seen, it has already been matched against the gold-standard. Also, some incorrect np or adjp nodes are in fact false nml or jjp nodes, but this difference cannot be recovered.</p><p>We carried out a visual inspection of the errors that were made in this experiment, but which hadn't been made when the np and nml labels were distinct. It was noticable that many of these errors occurred when a company name or other entity needed to be bracketed, such as W.R. Grace in the example NP below:</p><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">(NP</doubt><doubt alpha="60.9" length="23" tooSmall="False" monospace="0.0">(ADVP   (RB formerly) )</doubt><doubt alpha="53.8" length="65" tooSmall="False" monospace="0.0">(DT a) (NML (NNP W.R.) (NNP Grace) ) (NN vice)    (NN chairman) )</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>prec.</p></td><td class="cell"><p>recall</p></td><td class="cell"><p>f-score</p></td><td class="cell"><p>prec.</p></td><td class="cell"><p>recall</p></td><td class="cell"><p>f-score</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Original PTB</p></td><td class="cell"><p>88.88</p></td><td class="cell"><p>88.85</p></td><td class="cell"><p>88.86</p></td><td class="cell"><p>Overall</p></td><td class="cell"><p>88.09</p></td><td class="cell"><p>87.77</p></td><td class="cell"><p>87.93</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nml and j jp bracketed PTB</p></td><td class="cell"><p>88.55</p></td><td class="cell"><p>88.15</p></td><td class="cell"><p>88.35</p></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>87.92</p></td><td class="cell"><p>88.68</p></td><td class="cell"><p>88.30</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>88.81</p></td><td class="cell"><p>88.88</p></td><td class="cell"><p>88.85</p></td><td class="cell"><p>nml and jjp brackets only</p></td><td class="cell"><p>100.00</p></td><td class="cell"><p>53.54</p></td><td class="cell"><p>69.74</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nml and jjp brackets only</p></td><td class="cell"><p>76.32</p></td><td class="cell"><p>60.42</p></td><td class="cell"><p>67.44</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="112"/><p>We conclude that the model was not able to gener­alise a rule that multiple tokens with the nnp pos tag should be bracketed. Even though nml brackets of­ten follow this rule, nps do not. As a result, the dis­tinction between the labels should be retained, and we must change the parser itself to deal with the new labels properly.</p><subsection number="3.1" title="Head-finding Rules"><p>The first and simplest change we made was to cre­ate head-finding rules for nml and jjp constituents. In the previous experiments, these nodes would be covered by the catch-all rule, which chooses the left­most child as the head. This is incorrect in most nmls, where the head is usually the rightmost child.</p><p>We define nml and jjp rules in the parser data file, copying those used for npsand adjp s respectively. We also add to the rules for nps, so that child nml and jjp nodes can be recursively examined, in the same way that npsand adjp s are. This change is not needed for other labels, as nmlsand jjp s only exist under nps. We retrained and ran the parser again with this change, and achieve the results in Table 3.</p><p>Once again, we are surprised to find that the F-score has been reduced, though only by 0.06% over­all in this case. This drop comes chiefly from the nml and jjp brackets, whose performance has dropped by about 2%. As before, we scanned the errors in search of an explanation; however, there was no readily apparent pattern. It appears that conditioning on the incorrect head is simply helpful when pars­ing some sentences, and instances where the correct head gives a better result are less frequent.</p></subsection><subsection number="3.2" title="The Base -NP Submodel"><p>The next alteration to the parser is to turn off the base-np submodel. Collins (1999, page 179) ex­plains that this separate model is used because the Penn Treebank does not fully annotate internal np structure, something that we have now done. Hope­fully, with these new brackets in place, we can re­move the np submodel and perhaps even improve performance in doing so.</p><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">np / \</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">np pp</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">/ \</doubt><p>np pp Figure 1: An unlikely structure</p><p>We experimented with three different approaches to turning off the base-np model. All three tech­niques involved editing the parser code:</p><p>1. Changing the method to always return false. This means that the main model, i.e. equations 3 and 4 are always used.</p><p>2. Removing the preprocessing step that creates npb nodes. This alteration will have the same effect as the one above, and will also remove the distinction between np and npb nodes.</p><p>3. Changing the method to return true for nmls. This will affect which nps are turned into npbs during the preprocessing step, as npsthat dominate nmls will no longer be basal.</p><p>The third change does not turn the base-np model off as such, but it does affect where it functions.</p><p>The results are in Table 4, and in all cases the overall F-score has decreased. In the 1st change, to <i>isBaseNPQ, </i>performance on nml and jjp brackets has actually increased by 3.78% F-score, although the original structure is almost 10% worse. The 2nd change, to the preprocessing step, results in a much smaller loss to the original structure, but also not as big an increase on the internal np brackets. The 3rd change, to , is most notable for the large drop in performance on the internal np structure.</p><p>There are a few reasons for these results, which demonstrate the necessity of the base-np submodel. Collins (1999, 8.2.2) explains why the distinction between np and npb nodes is needed: otherwise, structures such as that in Figure 1, which <i>never </i>oc­cur in the Treebank, are given too high a probability.<page local="5" global="113"/> The parser needs to know where NPs will not recurse anymore (when they are basal), so that it can gener­ate the correct flat structure. Furthermore, the 3rd change effectively treats np and nml nodes as equiv­alent, and we have already seen that this is not true.</p><table caption="Table 3: Performance with correct head-finding" 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></p></td><td class="cell"><p>prec.</p></td><td class="cell"><p>recall</p></td><td class="cell"><p>f-score</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overall</p></td><td class="cell"><p>88.51</p></td><td class="cell"><p>88.07</p></td><td class="cell"><p>88.29</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>88.78</p></td><td class="cell"><p>88.86</p></td><td class="cell"><p>88.82</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nml and jjp brackets only</p></td><td class="cell"><p>75.27</p></td><td class="cell"><p>58.33</p></td><td class="cell"><p>65.73</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 4: Performance with the base-npmodel off" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>prec.</p></td><td class="cell"><p>recall</p></td><td class="cell"><p>f-score</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Overall</p></td><td class="cell"><p>72.11</p></td><td class="cell"><p>87.71</p></td><td class="cell"><p>79.14</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>72.09</p></td><td class="cell"><p>88.19</p></td><td class="cell"><p>79.33</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>nml / jjp brackets only</p></td><td class="cell"><p>72.93</p></td><td class="cell"><p>69.58</p></td><td class="cell"><p>71.22</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Overall</p></td><td class="cell"><p>87.37</p></td><td class="cell"><p>87.17</p></td><td class="cell"><p>87.27</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>87.75</p></td><td class="cell"><p>87.65</p></td><td class="cell"><p>87.70</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>nml / jjp brackets only</p></td><td class="cell"><p>72.36</p></td><td class="cell"><p>69.27</p></td><td class="cell"><p>70.78</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Overall</p></td><td class="cell"><p>86.83</p></td><td class="cell"><p>86.46</p></td><td class="cell"><p>86.64</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>86.90</p></td><td class="cell"><p>88.66</p></td><td class="cell"><p>87.77</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>nml / jjp brackets only</p></td><td class="cell"><p>48.61</p></td><td class="cell"><p>3.65</p></td><td class="cell"><p>6.78</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></subsection><subsection number="3.3" title="Error Analysis"><p>These errors occur because the ngrams that need to be bracketed simply do not exist in the training data. Looking for each of the 142 unique ngrams that were not bracketed, we find that 93 of them do not occur in Sections 02-21 at all. A further 17 of the ngrams do occur, but not as constituents, which would make reaching the correct decision even more difficult for the parser. In order to fix these problems, an outside source of information must be consulted, as the lexical information is currently not available.</p><table caption="Table 5: Error analysis"></table><p>Conjunctions are another significant source of er­rors, and are quite a difficult problem. This is be­cause coordinating multi-token constituents requires brackets around each of the constituents, as well as a further bracket around the entire conjunction. Get­ting just a single decision wrong can mean that a number of these brackets are in error.</p><p>Another notable category of errors arises from possessive NPs, which always have a bracket placed around the possessor in our annotation scheme. The parser is not very good at replicating this pattern, perhaps because these constituents would usually not be bracketed if it weren't for the possessive. In</p><p>The next largest source of errors is mislabelling the bracket itself. In particular, distinguishing be­</p><p>So far, all our changes have had negative reneed to look at the errors being made by thso that any problems that appear can be socordingly, we categorised every nml andthrough manual inspection. The results ofysis are shown in Table 5, together with exathe errors being made. Only relevant bralabels are shown in the examples, while theumn describes whether or not the particularing shown is correct.</p><p>The most common bracketing error remodifier being attached to the wrong heaexample, because there is no bracket aroucancer, there is a dependency betweendeaths, instead of lung and cancer. We c tween using np and nml labels, as well as adjp and jjp, accounts for 75 of the 92 errors. This is not surprising, as we noted during the preparation of the corpus that the labels of some NPs were inconsistant (Vadas and Curran, 2007a). The previous relabelling experiment suggests that we should not evaluate the pairs of labels equally, meaning that the best way to fix these errors would be to change the training data itself. This would require alterations to the original Penn Treebank brackets, which is not feasible here.</p><p>divide these errors into general nml and jjp cases, and instances where the error occurs inside a com­pany name or in a person's title.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>error</p></td><td class="cell"><p>#</p></td><td class="cell"><p>%</p></td><td class="cell"><p>fp</p></td><td class="cell"><p>fn</p></td><td class="cell"><p>example</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Modifier attachment</p></td><td class="cell"><p>213</p></td><td class="cell"><p>38.04</p></td><td class="cell"><p>56</p></td><td class="cell"><p>157</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nml</p></td><td class="cell"><p>122</p></td><td class="cell"><p>21.79</p></td><td class="cell"><p>21</p></td><td class="cell"><p>101</p></td><td class="cell"><p>lung cancer deaths</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Internal Entity Structure</p></td><td class="cell"><p>43</p></td><td class="cell"><p>7.68</p></td><td class="cell"><p>24</p></td><td class="cell"><p>19</p></td><td class="cell"><p>(Circulation Credit) Plan</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Appositive Title</p></td><td class="cell"><p>29</p></td><td class="cell"><p>5.18</p></td><td class="cell"><p>6</p></td><td class="cell"><p>23</p></td><td class="cell"><p>(Republican Rep.) Jim Courier</p></td><td class="cell"><p><i>V</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>jjp</p></td><td class="cell"><p>10</p></td><td class="cell"><p>1.79</p></td><td class="cell"><p>4</p></td><td class="cell"><p>6</p></td><td class="cell"><p>(More common) chrysotile fibers</p></td><td class="cell"><p><i>V</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Company/name postmodifiers</p></td><td class="cell"><p>9</p></td><td class="cell"><p>1.61</p></td><td class="cell"><p>1</p></td><td class="cell"><p>8</p></td><td class="cell"><p>(Kawasaki Heavy Industries) Ltd.</p></td><td class="cell"><p><i>V</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Mislabelling</p></td><td class="cell"><p>92</p></td><td class="cell"><p>16.43</p></td><td class="cell"><p>30</p></td><td class="cell"><p>62</p></td><td class="cell"><p>(ADJP more influential) role</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Conjunctions</p></td><td class="cell"><p>92</p></td><td class="cell"><p>16.43</p></td><td class="cell"><p>38</p></td><td class="cell"><p>54</p></td><td class="cell"><p>(cotton and acetate) fibers</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Company names</p></td><td class="cell"><p>10</p></td><td class="cell"><p>1.79</p></td><td class="cell"><p>0</p></td><td class="cell"><p>10</p></td><td class="cell"><p>(RH. Faulding) &amp; (Co.)</p></td><td class="cell"><p><i>V</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Possessives</p></td><td class="cell"><p>61</p></td><td class="cell"><p>10.89</p></td><td class="cell"><p>0</p></td><td class="cell"><p>61</p></td><td class="cell"><p>(South Korea) 's</p></td><td class="cell"><p><i>V</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Speech marks and brackets</p></td><td class="cell"><p>35</p></td><td class="cell"><p>6.25</p></td><td class="cell"><p>0</p></td><td class="cell"><p>35</p></td><td class="cell"><p>(" closed-end ")</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Clearly wrong bracketing</p></td><td class="cell"><p>45</p></td><td class="cell"><p>8.04</p></td><td class="cell"><p>45</p></td><td class="cell"><p>0</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Right-branching</p></td><td class="cell"><p>27</p></td><td class="cell"><p>4.82</p></td><td class="cell"><p>27</p></td><td class="cell"><p>0</p></td><td class="cell"><p>(NP (NML Kelli Green))</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Unary</p></td><td class="cell"><p>13</p></td><td class="cell"><p>2.32</p></td><td class="cell"><p>13</p></td><td class="cell"><p>0</p></td><td class="cell"><p>a (NML cash) transaction</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Conjunction</p></td><td class="cell"><p>5</p></td><td class="cell"><p>0.89</p></td><td class="cell"><p>5</p></td><td class="cell"><p>0</p></td><td class="cell"><p>(NP a (NML savings and loan))</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Structural</p></td><td class="cell"><p>8</p></td><td class="cell"><p>1.43</p></td><td class="cell"><p>3</p></td><td class="cell"><p>5</p></td><td class="cell"><p>(NP ... construction spending) (VP (VBZ figures) ...</p></td><td class="cell"><p>x</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Other</p></td><td class="cell"><p>14</p></td><td class="cell"><p>2.50</p></td><td class="cell"><p>8</p></td><td class="cell"><p>6</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total</p></td><td class="cell"><p>560</p></td><td class="cell"><p>100.00</p></td><td class="cell"><p>180</p></td><td class="cell"><p>380</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="6" global="114"/><p>particular, nml nodes beginning with a determiner are rare, only occurring when a possessive follows.</p><p>The parser also has difficulty in replicating the constituents around speech marks and brackets. We suspect that this is due to the fact that Collins' model does not generate punctuation as it does other con­stituents. There is also less need for speech marks and brackets to be correct, as the standard evalua­tion does not find an error when they are placed in the wrong constituent. The justification for this is that during the annotation process, they were given the lowest priority, and are thus inconsistant.</p><p>There are a number of nml and jjp brackets in the parser's output that are clearly incorrect, either because they define right-branching structure (which is not bracketed explicitly) or because they dominate only a single token. Single token nmls exist only in conjunctions, but unfortunately the parser is too liberal with this rule.</p><p>The final major group of errors are structural; that is, the entire parse for the sentence is malformed, as in the example where figures is actually a noun.</p><p>From this analysis, we can say that the modifier attachment problem is the best to pursue. Not only is it the largest cause of errors, but there is an obvi­ous way to reduce the problem: find and make use of more data. This data does not need to be anno­tated, as we demonstrated in previous NP bracketing experiments (Vadas and Curran, 2007b), which at­tained a positive result. However, incorporating the data into Collins' model is still difficult. Our pre­vious work only implemented a post-processor that ignored the parser's output. There is still room for improvement in this area.</p></subsection></section><section number="4" title="Bracket Structure"><p>We have now seen how a Collins-style parser per­forms on internal NP structure, but a question re­mains about the structure itself: is it optimal for the parser? It may be argued that a better represen­tation is to explicitly bracket right-branching struc­ture. For example, in the NP the New York Stock</p><p>Exchange, if there was a bracket around New York Stock Exchange, then it would be useful training for when the parser comes across New York Stock</p><p>Exchange composite trading (which it does quite</p><p>often). The parser should learn to add a bracket in both cases. Explicit right-branching brackets could also remove some of the clearly wrong bracket er­rors in Table 5.</p><p>The current bracketing guidelines do not mark right-branching constituents, they are simply as­sumed implicitly to be there. We can automatically add them in however, and then examine what differ­ence this change makes. We find, in Table 6, that overall performance drops by 1.51% F-score.</p><p>This was surprising result, as there are a num­ber of easily recoverable brackets that are introduced by making right-branching structure explicit. For example, a POS tag sequence of dt nn nn is al­ways right-branching. This explains the more than 10% increase in F-score when evaluating internal NP brackets only. As Rehbein and van Genabith (2007) found, increasing the number of non-terminal nodes has caused an increase in performance, though we may question, as they do, whether performance has truly increased, or whether the figure is simply in­flated by the evaluation method.</p><p>On the other hand, the increased number of brack­ets has had a deleterious effect on the original brack­ets. This result suggests that it is better to leave right-branching structure implicit.</p></section><section number="5" title="Appositions"><p>The results in this paper so far, have been attained using noun modifier data. This final set of experi­ments however, focuses upon a different kind of in­ternal NP structure: appositions. We thus show that the effects of treebank structure are important for a wider range of constructions, and demonstrate once again the difficulty experienced by a model that must adapt to altered data.</p><p>Appositions are a very common linguistic con­struction in English. They have been used in areas such as Information Extraction (Sudo et al., 2003) and Question Answering systems (Moldovan et al., 2003), however there is little work on automatically identifying them. Researchers have typically used simple patterns for this task, although the accuracy of this method has not been determined.<page local="7" global="115"/> We will compare how well Bikel's parser performs.</p><table caption="Table 6: Explicit right-branching structure" 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></p></td><td class="cell"><p>PREC.</p></td><td class="cell"><p>RECALL</p></td><td class="cell"><p>F-SCORE</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overall</p></td><td class="cell"><p>87.33</p></td><td class="cell"><p>86.36</p></td><td class="cell"><p>86.84</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Original structure</p></td><td class="cell"><p>87.96</p></td><td class="cell"><p>88.06</p></td><td class="cell"><p>88.01</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NML and JJP brackets only</p></td><td class="cell"><p>82.33</p></td><td class="cell"><p>74.28</p></td><td class="cell"><p>78.10</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="66.7" length="3" tooSmall="False" monospace="0.0">(NP</doubt><p>As in our previous experiments, we use the Penn Treebank, as it contains numerous appositions, such as the (slightly edited) example shown below:</p><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">(NP-SBJ</doubt><doubt alpha="51.1" length="45" tooSmall="False" monospace="0.0">(NP   (NNP Darrell)    (NNP Phillips) ) (, ,)</doubt><doubt alpha="54.3" length="35" tooSmall="False" monospace="0.0">(NP   (NN vice)   (NN president) ))</doubt><p>Appositional structure is, of course, not anno­tated in the Penn Treebank, and so we manually added gold-standard apposition brackets to the cor­pus. This was actually done during the annotation process for the Vadas and Curran (2007a) data. For example, we add a new bracket labelled app to the previous noun phrase:</p><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">(NP-SBJ (APP</doubt><doubt alpha="60.5" length="38" tooSmall="False" monospace="0.0">(NP   (NNP Darrell)   (NNP Phillips) )</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">(, ,)</doubt><doubt alpha="52.8" length="36" tooSmall="False" monospace="0.0">(NP   (NN vice)   (NN president) )))</doubt><p>We should note that we only look at <i>nonrestric-tive </i>apposition, i.e. where NPs are separated by punctuation (usually a comma, but also a colon or dash). Cases of <i>close </i>apposition, as in the vice</p><p>president Darrel Phillips have been shown to</p><p>have a different interpretation (Lee, 1952) and also present more difficult cases for annotation.</p><p>There are 9,082 app constituents in the corpus, out of the 60,959 NPs (14.90%) that were manually in­spected during the annotation process. We measured inter-annotator agreement by comparing against a second annotator on Section 23. This resulted in an F-score of 90.41%, with precision of 84.93% and recall of 96.65%. The precision was notably low be­cause the second annotator inserted app nodes into NPs such as the one shown below:</p><doubt alpha="58.3" length="12" tooSmall="False" monospace="0.0">(NP (APP (NP</doubt><doubt alpha="32.1" length="56" tooSmall="False" monospace="0.0">(QP   ($  $)   (CD 1.7)    (CD million) ) (-NONE- *U*) )</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">(CC or)</doubt><doubt alpha="42.2" length="64" tooSmall="False" monospace="0.0">(NP   (CD 21)   (NNS cents) ) (NP-ADV   (DT a)   (NN share) ))))</doubt><p>and while these cases are appositive, the first anno­tator did not insert an app node when a conjunction was present.</p><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">prec.     recall f-score</doubt><doubt alpha="31.4" length="35" tooSmall="False" monospace="0.0">Overall I 86.24 I   8X60    I 86^92</doubt><doubt alpha="38.3" length="81" tooSmall="False" monospace="0.0">appbrackets only 69.79 66.37 68.04 All other brackets | 86.43 |   87.86   | 87.14</doubt><table caption="Table 7: Parser results with appositions"></table><subsection number="5.1" title="Experiments"><p>Our first experiment uses a pattern matching tech­nique, simply identifying appositions by looking for apairofNPs separated by a comma or colon. This rule was then expanded to include other similar con­stituent labels: nml, ucp, adj, NNP,and app itself, af­ter noticing that errors were occurring in these cases.</p><p>Evaluating this approach, using the entire Penn Treebank as a test set, we achieved an F-score of 95.76%, with precision 95.53% and recall 95.99%.</p><p>This result is very good for such a simplistic ap­proach, and could be improved further by adding some additional patterns, such as when an adverb appears between the comma and the second NP.</p><p>Having set this very high baseline, we once again used Bikel's (2004) parser in an attempt to find an improvement. This experiment includes the nml and jjp brackets in the data, and the parser is in its orig­inal state, without any of the alterations we made earlier. The results are shown in Table 7.</p><p>The parser's performance on app brackets is al­most 30% F-score below the pattern matching ap­proach, and it has also dropped 1.21% counting only the non-APP constituents. The reason for this very low performance arises from the way that Collins' models treats punctuation, i.e. all tokens with a POS tag of . or :. The Collins (1997) model does not generate punctuation at all, and later models still do not treat punctuation the same way as other tokens. Instead, punctuation is generated as a boolean flag on the following constituent. As a result, the parser cannot learn that a rule such as app —&gt; np , np should have high probability, because this rule is never part of the grammar. For this reason, the parser is unable to replicate the performance of a simple rule.</p><p><b>6Conclusion</b></p><p>The results of this paper emphasise the strong rela­tionship between a statistical model and the struc­ture of the data it uses. We have demonstrated this by changing two different constructions in the Penn Treebank: noun modifiers, and appositions.</p><page local="8" global="116"/><p>The annotation structure of the Vadas and Curran (2007a) data has also been validated by these results, which is actually a complement for the BioMedical guidelines (Warner et al., 2004), on which ours were based. It is not neccessary to explicitly bracket right-branching constituents, and furthermore, it is harm­ful to do so. In addition, separating the nml and np labels is advantageous, although our results suggest that performance would increase ifthe original Tree-bank annotations were made more consistent with our internal NP data.</p><p>Our results also demonstrate the neccessity of having a base-NP submodel as part of Collins' mod­els. This specialised case, while seeming unnecce-sary with our new internal NP brackets, is still re­quired to attain a high level of performance.</p><p>Instead, the error analysis in Section 3.3 shows us the true reason why the parser's performance on in­ternal NP brackets is low. nml and jjp brackets are difficult because they require specific lexical infor­mation, i.e. the exact words must be in the train­ing data. This is because POS tags, which are very important when making most parsing decisions, are uninformative here. For example, they do not help at all when trying to determine whether a sequence of 3 nns is left or right-branching.</p><p>Our previous work in NP bracketing (Vadas and Curran, 2007b) is positive evidence that this is the correct direction, although incorporating such a sub­model back into Collins' model in place of the exist­ing NP submodel, would be a further improvement. It also remains to be seen whether the results ob­served here would apply to other parsing models.</p><p>This work has demonstrated the large effect that data structure can have on a standard nlp tool. It is important that any system, not just parsers, en­sure that they perform adequately when faced with changing data. Otherwise, assumptions made today will cause problems for researchers in the future.</p></subsection></section><section title="Acknowledgements"><p>We would like to thank Matthew Honnibal for his annotation of the apposition data; and the anony­mous reviewers for their helpful feedback. This work has been supported by the Australian Research Council under Discovery Projects DP0453131 and DP0665973.</p></section><references><p>Dan Bikel. 2004. <i>On the Parameter Space of Generative Lexi-calized Statistical Parsing Models. </i>Ph.D. thesis, University of Pennsylvania.</p><p>Michael Collins. 1997. Three generative, lexicalised models for statistical parsing. In <i>Proceedings of the 35th Annual Meet­ing of the Association for Computational Linguistics and 8th Conference ofthe European Chapter ofthe Association for Computational Linguistics, </i>pages 16-23.</p><p>Michael Collins. 1999. <i>Head-Driven Statistical Models for Nat­ural Language Parsing. </i>Ph.D. thesis, University of Pennsyl­vania.</p><p>Joshua Goodman. 1997.  Probabilistic feature grammars. In <i>Proceedings ofthe International Workshop on Parsing Tech­nologies.</i><i></i></p><p>Mark Johnson. 1998. PCFG models of linguistic tree represen­tations. <i>Computational Linguistics, </i>24(4):613-632.</p><p>Dan Klein and Christopher D. Manning. 2001. Parsing with treebank grammars empirical bounds, theoretical models, and the structure of the Penn Treebank. In <i>Proceedings of the 39th Annual Meeting on Association for Computational Linguistics, </i>pages 338-345. Toulouse, France.</p><p>Sandra Kubler. 2005. How do treebank annotation schemes in­fluence parsing results? Or how not to compare apples and oranges. In <i>Proceedings of RANLP 2005. </i>Borovets, Bul­garia.</p><p>Donald W.Lee. 1952. Close apposition: An unresolved pattern. <i>American Speech, </i>27(4):268-275.</p><p>Mitchell Marcus, Beatrice Santorini, and Mary Marcinkiewicz. 1993. Building a large annotated corpus of English: The Penn Treebank. <i>Computational Linguistics, </i>19(2):313-330.</p><p>Dan Moldovan, Christine Clark, Sanda Harabagiu, and Steve Maiorano. 2003. COGEX: A logic prover for question an­swering. In <i>Proceedings ofHLT-NAACL 2003, </i>pages 166­172.</p><p>Ines Rehbein and Josef van Genabith. 2007. Treebank anno­tation schemes and parser evaluation for German. In <i>Pro­ceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL), </i>pages 630-639.</p><p>Kiyoshi Sudo, Satoshi Sekine, and Ralph Grishman. 2003. An improved extraction pattern representation model for auto­matic IE pattern acquisition. In <i>Proceedings of the 41st An­nual Meeting ofthe Association ofComputational Linguis-</i> <i>tics(ACL-03), </i>pages 224-231.</p><p>David Vadas and James R. Curran. 2007a. Adding noun phrase structure to the Penn Treebank. In <i>Proceedings ofthe 45th Annual Meeting ofthe Association for Computational Lin­guistics (ACL-07).</i></p><p>David Vadas and James R. Curran. 2007b. Large-scale super­vised models for noun phrase bracketing. In <i>Proceedings of the 10th Conference of the Pacific Association for Computa­tional Linguistics (PACLING-2007). </i>Melbourne, Australia.</p><p>Colin Warner, Ann Bies, Christine Brisson, and Justin Mott. 2004. Addendum to the Penn Treebank II style bracketing guidelines: BioMedical Treebank annotation. Technical re­port.</p></references></body></article>