<?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="268"/><title>Cambridge: Parser Evaluation Using Textual Entailment by Grammatical Relation Comparison</title><pubinfo>Proceedings of the 5th International Workshop on Semantic Evaluation, ACL 2010,pages 268-271, Uppsala, Sweden, 15-16 July 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Rimell" givenname="Laura"><org  name="York University" country="Canada" city="North York"/></author><author surname="Clark" givenname="Stephen"><org  name="University of Caen" country="France" city="Caen"/></author></firstpageheader><frontmatter><p><b>Cambridge: Parser Evaluation using Textual Entailment by Grammatical Relation Comparison</b></p><p><b>Laura Rimell </b>and <b>Stephen Clark</b></p><p>University of Cambridge Computer Laboratory {laura.rimell,Stephen.clark}@cl.cam.ac.uk</p></frontmatter><abstract>This paper describes the Cambridge sub­mission to the SemEval-2010 Parser Eval­uation using Textual Entailment (PETE) task. We used a simple definition of en­tailment, parsing both T and H with the c&amp;c parser and checking whether the core grammatical relations (subject and object) produced for H were a subset of those for T. This simple system achieved the top score for the task out of those systems sub­mitted. We analyze the errors made by the system and the potential role of the task in parser evaluation. </abstract></header><body><section number="1" title="Introduction"><p>SemEval-2010 Task 12, Parser Evaluation using Textual Entailment (PETE) (Yuret et al., 2010), was designed as a new, formalism-independent type of parser evaluation scheme. The task is broadly Recognizing Textual Entailment (RTE), but unlike typical RTE tasks, its intention is to fo­cus on purely syntactic entailments, assuming no background knowledge or reasoning ability. For example, given a text (T) <i>The man with the hat was tired., </i>the hypothesis (H) <i>The man was tired. </i>is entailed, but <i>The hat was tired, </i>is not. A cor­rect decision on whether H is entailed can be used as a diagnostic for the parser's analysis of (some aspect of) T. By requiring only a binary decision on the entailment, instead of a full syntactic anal­ysis, a parser can be evaluated while its underlying formalism remains a "black box".</p><p>Our system had two components: a parser, and an entailment system which decided whether T en­tails H based on the parser's output. We distin­guish two types of evaluation. <i>Task evaluation, </i>i.e. the official task scoring, indicates whether the entailment decisions - made by the parser and en­tailment system together - tally with the gold stan­dard dataset. <i>Entailment system evaluation, </i>on the other hand, indicates whether the entailment sys­tem is an appropriate parser evaluation tool. In the PETE task the parser is not evaluated directly on the dataset, since the entailment system acts as intermediary. Therefore, for PETE to be a vi­able parser evaluation scheme, each parser must be coupled with an entailment system which accu­rately reflects the parser's analysis of the data.</p></section><section number="2" title="System"><p>We used the c&amp;c parser (Clark and Curran, 2007), which can produce output in the form of grammatical relations (GRs), i.e. labelled head-dependencies. For example, (nsubj tired man) for the example in Section 1 represents the fact that the NP headed by <i>man </i>is the subject of the predicate headed by <i>tired. </i>We chose to use the Stanford Dependency GR scheme (de Marneffe et al., 2006), but the same approach should work for other schemes (and other parsers producing GRs).</p><p>Our entailment system was very simple, and based on the assumption that H is a simplified ver­sion of T (true for this task though not for RTE in general). We parsed both T and H with the c&amp;c parser. Let grs(S) be the GRs the parser produces for a sentence S. In principle, if grs(H) Ç grs(T), then we would consider H an entailment. In prac­tice, a few refinements to this rule are necessary.</p><p>We identified three exceptional cases. First, syntactic transformations between T and H may change GR labels. The most common transforma­tion in this dataset was passivization, meaning that a direct object in T could be a passive subject in H.</p><p>Second, H could contain tokens not present in T. Auxiliary verbs were introduced by passivization. Pronouns such as <i>somebody </i>and <i>something </i>were introduced into some H sentences to indicate an NP or other phrase not targeted for evaluation. De­terminers were sometimes introduced or changed, e.g. <i>prices </i>to <i>the prices. </i>Expletive subjects were also sometimes introduced.</p><page local="2" global="269"/><p>Third, the parses of T and H might be incon­sistent in an incidental way. Consider the pair / <i>reached into that funny little pocket that is high up on my dress. =&gt; The pocket is high up on some­thing. </i>The intended focus of the evaluation (as in­dicated by the content word pair supplied as a sup­plement to the gold standard development data) is <i>(pocket, high). </i>As long as the parser analyzes <i>pocket </i>as the subject of <i>high, </i>we want to avoid penalizing it for, say, treating the PP <i>up on X </i>dif­ferently in T and H.</p><p>To address these issues we used a small set of heuristics. First, we ignored any GR in grs(H) con­taining a token not in T. This addressed the pas­sive auxiliaries, pronouns, determiners, and exple­tive subjects. Second, we equated passive subjects with direct objects. Similar rules could be defined for other transformations, but we implemented only this one based on the prevalence of passiviza­tion in the development data. Third, when check­ing whether grs(H) Ç grs(T), we considered only the core relations subject and object. The intention was that incidental differences between the parses of T and H would not be counted as errors. We chose these GR types based on the nature of the en­tailments in the development data, but the system could easily be reconfigured to focus on other rela­tion types. Finally, we required grs(H) n grs(T) to be non-empty (no vacuous positives), but did not restrict this criterion to subjects and objects.</p><p>We used a PTB tokenizer<footnote anchor="1"/> for consistency with the parser's training data. We used the morpha lemmatizer (Minnen et al., 2000), which is built into the c&amp;c tools, to match tokens across T and H; and we converted all tokens to lowercase. If the parser failed to find a spanning analysis for either T or H, the entailment decision was NO. The full pipeline is shown in Figure 1.</p></section><section number="3" title="Results"><p>A total of 19 systems were submitted. The base­line score for "always YES" was 51.8% accuracy. Our system achieved 72.4% accuracy, which was the highest score among the submitted systems. Table 1 shows the results for our system, as well as SCHWA (University of Sydney), also based on the c&amp;c parser and the next-highest scorer (see Section 6 for a comparison), and the median and lowest scores. The parser found an analysis for</p><p>!http://www.eis.upenn.edu/~treebank/ tokenizer.sed.</p><p>Tokenize T and H with PTB tokenizer</p><p>Parse T and H with C&amp;C parser</p><p>Lowercase and lemmatize all tokens</p><p>Discard any GR in grs(H) containing a token not in T</p><p>YES if core(H) Ç core(T) and grs(H) n grs(T) / 0, NO otherwise</p><p>Figure 1 : Full pipeline for parser and entailment system. core(S): the set of core (subject and ob­ject) GRs in grs(S).</p><p>99.0% of T sentences and 99.7% of H sentences in the test data.</p></section><section number="4" title="Error Analysis"><p>Table 2 shows the results for our system on the de­velopment data (66 sentences). The parser found an analysis for 100% of sentences and the overall accuracy was 66.7%. In the majority of cases the parser and entailment system worked together to find the correct answer as expected. For example, for <i>Trading in AMR shares was suspended shortly after 3 p.m. EDT Friday and didn't resume. =&gt; Trading didn 't resume., </i>the parser produced three GRs for H (tokens are shown lemmatized and low­ercase): (nsubj resume trading), (neg do n't), and (aux resume do). All of these were also in grs(T), and the correct YES decision was made. For <i>Moreland sat brood­ing for a full minute, during which I made each of us a new drink. =&gt; Minute is made., </i>the parser produced two GRs for H. One, (auxpass make be) , was ignored because the passive auxiliary <i>be </i>is not in T. The second, pas­sive subject GR (nsubjpass make minute) was equated with a direct object (dobj make minute). This GR was not in grs(T), so the cor­rect NO decision was made.</p><p>In some cases a correct YES answer was reached via arguably insufficient positive evi­dence. For <i>He would wake up in the middle of the night and fret about it. =&gt; He would wake up., </i>the parser produces incorrect analyses for the VP <i>would wake up </i>for both T and H. However, these GRs are ignored since they are non-core (not sub­ject or object), and a YES decision is based on the single GR match (nsubj would he). This is not entirely a lucky guess, since the entailment system has correctly ignored the odd analyses of <i>would wake up </i>and focused on the role of <i>he </i>as the subject of the sentence.<page local="3" global="270"/> However, especially since the target content word pair was <i>(he, wake), </i>more positive evidence would be desirable. Of the 22 correct YES decisions, only two were truly lucky guesses in that the single match was a determiner; others had at least one core match.</p><p>Table 3 shows the breakdown of errors. The largest category was false negatives due to un­bounded dependencies not recovered by the parser, for example <i>It required an energy he no longer possessed to be satirical about his father. =&gt; Somebody no longer possessed the energy.. </i>Here the parser fails to recover the direct object re­lation between <i>possess </i>and <i>energy </i>in T. It is known that parsers have difficulty with unbounded depen­dencies (Rimell et al., 2009, from which the un­bounded examples in this dataset were obtained), so this result is not surprising.</p><p>The next category was other parser errors. This is a miscellaneous category including e.g. errors on coordination, parenthetical elements, identify­ing the head of a clausal subject, and one due to the POS tagger. For example, for <i>Then at least he</i> <i>would have a place to hang his tools and some­thing to work on.</i><i> =&gt; He would have something to work on., </i>the parser incorrectly coordinated <i>tools </i>and <i>something </i>for T. As a result (dobj have something) was in grs(H) but not grs(T), yield­ing an incorrect NO.</p><p>Four errors were due to the entailment system rather than the parser; these will be dicsussed in Section 5. We also identified one sentence where the gold standard entailment appears to rely on extra-syntactic information, or at least informa­tion that is difficult for a parser to recover. This is <i>Index-arbitrage trading is "something we want to watch closely," an official at London's Stock Ex­change said. =&gt; We want to watch index-arbitrage trading. </i>Recovering the entailment would require resolving the reference of <i>something, </i>arguably the role of a semantic rather than syntactic module.</p></section><section number="5" title="Entailment System Evaluation"><p>We now consider whether our entailment system was an appropriate tool for evaluating the c&amp;c parser on the PETE dataset. It is easy to imag­ine a poor entailment system that makes incorrect guesses in spite of good parser output, or con­versely one that uses additional reasoning to sup­plement the parser's analysis. To be an appropri­ate <i>parser evaluation tool, </i>the entailment system must decide whether the information in H is also contained in the parse of T, without "introducing" or "correcting" any errors.</p><p>Assuming our GR-based approach is valid, then given gold-standard GRs for T and H, we expect an appropriate entailment system to result in 100% accuracy on the task evaluation. To perform this oracle experiment we annotated the development data with gold-standard GRs.<page local="4" global="271"/> Using our entailment system with the gold GRs we achieved 90.9% task accuracy. Six incorrect entailment decisions were made, of which one was on the arguably extra-syntactic entailment discussed in Section 4.</p><table caption="Table 2: Results on the development data." 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>System</p></td><td class="cell"><p>Score on YES entailments correct   incorrect   accuracy (%)</p></td><td class="cell"><p>Score on NO entailments correct   incorrect   accuracy (%)</p></td><td class="cell"><p>Overall accuracy (%)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cambridge SCHWA Median Low</p></td><td class="cell"><p>98          58 62.8 125           31 80.1 71           85 45.5 68           88 43.6</p></td><td class="cell"><p>120          25 82.8</p><p>87 58 60.0</p><p>88 57 60.7 76           69 52.4</p></td><td class="cell"><p>72.4 70.4 52.8 47.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Table 1 : Results on the test data.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>System</p></td><td class="cell"><p>Score on YES entailments correct   incorrect   accuracy (%)</p></td><td class="cell"><p>Score on NO entailments correct   incorrect   accuracy (%)</p></td><td class="cell"><p>Overall accuracy (%)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Cambridge</p></td><td class="cell"><p>22           16 57.9</p></td><td class="cell"><p>22             6 78.6</p></td><td class="cell"><p>66.7</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 3: Error breakdown on the development data. FN: false negative, FP: false positive." class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Type</p></td><td class="cell"><p>FN</p></td><td class="cell"><p>FP</p></td><td class="cell"><p>Total</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Unbounded dependency</p></td><td class="cell"><p>8</p></td><td class="cell"><p>1</p></td><td class="cell"><p>9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Other parser error</p></td><td class="cell"><p>6</p></td><td class="cell"><p>2</p></td><td class="cell"><p>8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Entailment system</p></td><td class="cell"><p>1</p></td><td class="cell"><p>3</p></td><td class="cell"><p>4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Difficult entailment</p></td><td class="cell"><p>1</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</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>16</p></td><td class="cell"><p>6</p></td><td class="cell"><p>22</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><p>Three errors were due to transformations be­tween T and H which changed the GR label or head. For example, consider <i>Occasionally, the children find steamed, whole-wheat grains for ce­real which they call "buckshot". </i><i>=&gt;</i><i> Grains are steamed.. </i>In T, <i>steamed </i>is a prenominal adjective, with <i>grains </i>as its head; while in H, it is a passive, with <i>grains </i>as its subject. The entailment system did not account for this transformation, although in principle it could have. The other two errors occurred because GRs involving a non-core rela­tion or a pronoun introduced in H, both of which our system ignored, were crucial for the correct entailment decision.</p><p>Table 3 shows that with automatically-generated GRs, four errors on the task evaluation were attributable to the entailment system. Three of these were also found in the oracle experiment. The fourth resulted from a POS change between T and H for <i>There was the revolution in Tibet which we pretended did not exist. </i><i>=&gt;</i><i> The pretended did not exist.. </i>The crucial GR was (nsubj exist pretended) in grs(H), but the entailment system ignored it because the lemmatizer did not give <i>pretend </i>as the lemma for <i>pretended </i>as a noun. This type of error might be prevented by answering NO if the POS of any word changes between T and H, but the implementation is non-trivial since word indices may also change. There were eight POS changes in the development data, most of which did not result in errors. We also observed two cases where the entailment system "corrected" parser errors, yielding a correct entailment decision despite the parser's incorrect analysis of T. When compared with a manual analysis of whether T entailed H based on automatically-generated GRs, the entailment system achieved 89.4% overall accuracy.</p></section><section number="6" title="Conclusion"><p>We achieved a successful result on the PETE task using a state-of-the-art parser and a simple entail­ment system, which tested syntactic entailments by comparing the GRs produced by the parser for T and H. We also showed that our entailment sys­tem had accuracy of approximately 90% as a tool for evaluating the C&amp;C parser (or potentially any parser producing GR-style output) on the PETE development data. This latter result is perhaps even more important than the task score since it suggests that PETE is worth pursuing as a viable approach to parser evaluation.</p><p>The second-highest scoring system, SCHWA (University of Sydney), was also based on the c&amp;c parser and used a similar approach (though using CCG dependency output rather than GRs). It achieved almost identical task accuracy to the Cambridge system, but interestingly with higher accuracy on YES entailments, while our system was more accurate on NO entailments (Table 1). We attribute this difference to the decision crite­ria: both systems required at least one matching relation between T and H for a YES answer; but we additionally answered NO if any core GR in grs(H) was not in grs(T). This difference shows that a GR-based entailment system can be tuned to favour precision or recall.</p><p>Finally, we note that although this was a sim­ple entailment system with some dataset-specific characteristics - such as a focus on subject and object relations rather than, say, PP-attachment -these aspects should be amenable to customization or generalization for other related tasks.</p></section><section title="Acknowledgments"><p>The authors were supported by EPSRC grant EP/E035698/1. We thank Matthew Honnibal for his help in producing the gold-standard GRs.</p></section><references><p>Stephen Clark and James R. Curran. 2007. Wide-coverage efficient statistical parsing with CCG and log-linear models. <i>Computational Linguistics, </i>33(4):493-552.</p><p>Marie-Catherine de Marneffe, Bill MacCartney, and Christopher D. Manning. 2006. Generating typed dependency parses from phrase structure parses. In <i>Proceedings ofLREC, </i>Genoa, Italy.</p><p>Guido Minnen, John Carroll, and Darren Pearce. 2000. Robust, applied morphological generation. In <i>Pro­ceedings oflNLG, </i>Mitzpe Ramon, Israel.</p><p>Laura Rimell, Stephen Clark, and Mark Steedman. 2009. Unbounded dependency recovery for parser evaluation. In <i>Proceedings ofEMNLP, </i>Singapore.</p><p>Deniz Yuret, Ay dm Han, and Zehra Turgut. 2010. Semeval-2010 task 12: Parser evaluation using tex­tual entailments. In <i>Proceedings of SemEval-2010, </i>Uppsala, Sweden.</p></references></body></article>