<?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="313"/><title>SCHWA: PETE Using CCG Dependencies with the C&amp;C Parser</title><pubinfo>Proceedings of the 5th International Workshop on Semantic Evaluation, ACL 2010,pages 313-316, Uppsala, Sweden, 15-16 July 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Ng" givenname="Dominick"><org  name="University of Sydney" country="Australia" city="Sydney"/></author><author surname="Constable" givenname="James W.D."><org  name="University of Sydney" country="Australia" city="Sydney"/></author><author surname="Honnibal" givenname="Matthew"><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>schwa: pete </b><b>using </b><b>ccg </b><b>Dependencies with the c&amp;c Parser</b></p><p><b>Dominick Ng, James W. D. Constable, Matthew Honnibal </b>and <b>James R. Curran</b></p><p>9-lab, School of Information Technologies University of Sydney NSW 2006, Australia {dong7223,jcon6353,mhonn,james}@it.usyd.edu.au</p></frontmatter><abstract>This paper describes the schwa system entered by the University of Sydney in Se-mEval 2010 Task 12 - Parser Evaluation using Textual Entailments (Yuret et al., 2010). Our system achieved an overall ac­curacy of 70% in the task evaluation. We used the c&amp;c parser to build ccg de­pendency parses of the truth and hypothe­sis sentences. We then used partial match heuristics to determine whether the sys­tem should predict entailment. Heuristics were used because the dependencies gen­erated by the parser are construction spe­cific, making full compatibility unlikely. We also manually annotated the develop­ment set with ccg analyses, establishing an upper bound for our entailment system of 87%. </abstract></header><body><section number="1" title="Introduction"><p>The SemEval 2010 Parser Evaluation using Tex­tual Entailments (pete) task attempts to address the long-standing problems in parser evaluation caused by the diversity of syntactic formalisms and analyses in use. The task investigates the feasibility of a minimalist extrinsic evaluation -that of detecting textual entailment between a truth sentence and a hypothesis sentence. It is extrin­sic in the sense that it evaluates parsers on a task, rather than a direct comparison of their output against some gold standard. However, it requires only minimal task-specific logic, and the proposed entailments are designed to be inferrable based on syntactic information alone.</p><p>Our system used the c&amp;c parser (Clark and Curran, 2007a), which uses the Combinatory Cat-egorial Grammar formalism (ccg, Steedman, 2000). We used the CCGbank-style dependency output of the parser (Hockenmaier and Steedman, 2007), which is a directed graph of head-child re­lations labelled with the head's lexical category and the argument slot filled by the child.</p><p>We divided the dependency graphs of the truth and hypothesis sentences into <i>predicates </i>that con­sisted of a head word and its immediate children. For instance, the parser's analysis of the sentence <i>Totals include only vehicle sales reported in pe­riod </i>might produce predicates like <i>include(Totals, sales), only (include), </i>and <i>reported(sales). </i>If at least one such predicate matches in the two parses, we predict entailment. We consider a single pred­icate match sufficient for entailment because the lexical categories and slots that constitute our de­pendency labels are often different in the hypothe­sis sentence due to the generation process used in the task.</p><p>The single predicate heuristic gives us an over­all accuracy of 70% on the test set. Our precision and recall over the test set was 68% and 80% re­spectively giving an F-score of 74%.</p><p>To investigate how many of the errors were due to parse failures, and how many were failures of our entailment recognition process, we manually annotated the 66 development truth sentences with gold standard ccg derivations. This established an upper bound of 87% F-score for our approach.</p><p>This upper bound suggests that there is still work to be done before the system allows trans­parent evaluation of the parser. However, cross-framework parser evaluation is a difficult problem: previous attempts to evaluate the c&amp;c parser on grammatical relations (Clark and Curran, 2007b) and Penn Treebank-trees (Clark and Curran, 2009) have also produced upper bounds between 80 and 90% F-score. Our pete system was much easier to produce than either of these previous attempts at cross-framework parser evaluation, suggesting that this may be a promising approach to a diffi­cult problem.</p><page local="2" global="314"/><p><i>Totals    include only        vehicle sales reported in period.</i></p><doubt alpha="53.8" length="80" tooSmall="False" monospace="0.0">NP(S\NP)/NP(S\NP)\(S\NP)N/NNS\NP((S\NP)\(S\NP))/NPNP(S\NP)/NP&lt;N=&gt;NP(S\NP)\(S\NP)</doubt><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">S\NPNP\NP&lt;NP&lt;S\NP&gt;</doubt><p>Figure 1: An example ccg derivation, showing how the categories assigned to words are combined to form a sentence. The arrows indicate the direction of application.</p></section><section number="2" title="Background"><p>Combinatory Categorial Grammar (ccg, Steed­man, 2000) is a lexicalised grammar formalism based on combinatory logic. The grammar is di­rectly encoded in the lexicon in the form of combi­natory categories that govern how each word com­bines with its neighbours. The parsing process de­termines the most likely assignment of categories to words, and finds a sequence of combinators that allows them to form a sentence.</p><p>A sample ccg derivation for a sentence from the test set is shown in Figure 1. The category for each word is indicated beneath it. It can be seen that some categories take other categories as ar­guments; each argument slot in a category is num­bered based on the order of application, from latest to earliest. For example:</p><doubt alpha="42.9" length="21" tooSmall="False" monospace="0.0">((S/NPi)/(S/NP)2)\NP3</doubt><p>Figure 2 shows how the argument slots are mapped to dependencies. The first two columns list the predicate words and their categories, while the second two show how each argument slot is filled. For example, in the first row, <i>only </i>has the category <i>(S\NP)\(S\NP),</i><i> </i>with argument slot 1 filled by <i>include). </i>It is these dependencies that form the basis for our predicates in this task.</p><p>Recent work has seen the development of high-performance parsers built on the ccg formalism. Clark and Curran (2007a) demonstrate the use of techniques like adaptive supertagging, parallelisa-tion and a dynamic-programming chart parsing al­gorithm to implement the c&amp;c parser, a highly efficient ccg parser that performs well against parsers built on different formalisms (Rimell et al., 2009). We use this parser for the pete task.</p><p>The performance of statistical parsers is largely a function of the quality of the corpora they are trained on. For this task, we used models derived from the CCGbank corpus - a transformation of the Penn Treebank (Marcus et al., 1993) including ccg derivations and dependencies (Hockenmaier, 2003a). It was created to further ccg research by providing a large corpus of appropriately anno­tated data, and has been shown to be suitable for the training of high-performance parsers (Hocken­maier, 2003b; Clark and Curran, 2004).</p></section><section number="3" title="Method"><p>Our system used the c&amp;c parser to parse the truth and hypothesis sentences. We took the dependen­cies generated by the parser and processed these to generate predicates encoding the canonical form of the head word, its required arguments, and their order. We then attempted to unify the predicates from the hypothesis sentence with the predicates in the truth sentence. A successful unification of predicates <i>a </i>and <i>b </i>occurs when the head words of <i>a </i>and <i>b </i>are identical and their argument slots are also identical. If any predicate from the hypothe­sis sentence unified with a predicate from the truth sentence, our system returned yes, otherwise the system returned no.</p><p>We used the 66 sentence development set to tune our approach. While analysing the hypoth­esis sentences, we noticed that many examples re-<page local="3" global="315"/></p><table caption="Figure 2: The dependencies represented by the derivation in Figure 1." 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><i>only</i></p></td><td class="cell"><p><i>(S\NP)\(S\NP)</i></p></td><td class="cell"><p>1</p></td><td class="cell"><p><i>include</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>vehicle</i></p></td><td class="cell"><p><i>N/N</i></p></td><td class="cell"><p>1</p></td><td class="cell"><p><i>sales</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>in</i></p></td><td class="cell"><p><i>((S\NP)\(S\NP))/NP</i></p></td><td class="cell"><p>2</p></td><td class="cell"><p><i>period</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>in</i></p></td><td class="cell"><p><i>((S\NP)\(S\NP))/NP</i></p></td><td class="cell"><p>1</p></td><td class="cell"><p><i>reported</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>reported</i></p></td><td class="cell"><p><i>S\NP</i></p></td><td class="cell"><p>1</p></td><td class="cell"><p><i>sales</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>include</i></p></td><td class="cell"><p><i>(S\NP)/NP</i></p></td><td class="cell"><p>2</p></td><td class="cell"><p><i>sales</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>include</i></p></td><td class="cell"><p><i>(S\NP)/NP</i></p></td><td class="cell"><p>1</p></td><td class="cell"><p><i>Totals</i></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>Table 1 : Final results over the test set placed nouns from the truth sentence with indefi­nite pronouns such as <i>someone </i>or <i>something </i>(e.g. <i>Someone bought something).</i><i> </i>In most of these cases the indefinite would not be present in the truth sen­tence at all, so to deal with this we converted in­definite pronouns into wildcard markers that could be matched to any argument. We also incorporated sensitivity to passive sentences by adjusting the ar­gument numbers of dependents.</p><p>In its most naive form our system is heavily biased towards excellent recall but poor preci­sion. We evaluated a number of heuristics to prune the predicate space and selected those which im­proved the performance over the development set. Our final system used the part-of-speech tags gen­erated by the parser to remove predicates headed by determiners, prepositions and adjectives. We note that even after predicate pruning our system is still likely to return better recall performance than precision, but this discrepancy was masked in part by the nature of the development set: most hy­potheses are short and so the potential number of predicates after pruning is likely to be small. The final predicates generated by the system for the ex­ample derivation given in Figure 1 after heuristic pruning are:</p><p>only(include) reported(sales) include(totals, sales)</p></section><section number="4" title="Results"><p>We report results over the 301 sentence test set in Table 1. Our overall accuracy was 70%, and per­formance over yes entailments was roughly 20% higher than accuracy over no entailments. This bias towards yes entailments is a reflection of our single match heuristic that only required one pred­icate match before answering yes. Our system performed nearly 20% better than the baseline sys­tem (all YES responses) and placed second overall in the task evaluation.</p><p>Table 2 shows our results over the development corpus. The 17% drop in accuracy and 8% drop in F-score between the development data and the test data suggests that our heuristics may have over-fitted to the limited development data. More so­phisticated heuristics over a larger corpus would be useful for further fine-tuning our system.</p><subsection number="4.1" title="Results with Gold Standard Parses"><p>Our entailment system's errors could be broadly divided into two classes: those due to incorrect parses, and those due to incorrect comparison of the parses. To investigate the relative contribu­tions of these two classes of errors, we manually annotated the 66 development sentences with ccg derivations. This allowed us to evaluate our sys­tem using gold standard parses. Only one anno-tator was available, so we were unable to calcu­late inter-annotator agreement scores to examine the quality of our annotations.</p><p>The annotation was prepared with the annota­tion tool used by Honnibal et al. (2009). The tool presents the user with a ccg derivation produced by the c&amp;c parser. The user can then correct the lexical categories, or add bracket constraints to the parser using the algorithm described by Djordjevic and Curran (2006), and reparse the sentence until the derivation desired is produced.</p><p>Our results with gold standard dependencies are shown in Table 2.<page local="4" global="316"/> The accuracy is 87%, establish­ing a fairly low upper bound for our approach to the task. Manual inspection of the remaining er­rors showed that some were due to incorrect parses for the hypothesis sentence, and some were due to entailments which the parser's dependency anal­yses could not resolve, such as <i>They ate whole steamed grains </i><i>=&gt;</i><i> The grains were steamed. </i>The largest source of errors was our matching heuris­tics, suggesting that our approach to the task must be improved before it can be considered a trans­parent evaluation of the parser.</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>System</p></td><td class="cell"><p>yes entailment correct   incorrect   A (%)</p></td><td class="cell"><p>no entailment correct incorrect</p></td><td class="cell"><p>A(%)</p></td><td class="cell"><p>Overall accuracy (%)</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>schwa</p></td><td class="cell"><p>125</p></td><td class="cell"><p>31</p></td><td class="cell"><p>80</p></td><td class="cell"><p>87</p></td><td class="cell"><p>58</p></td><td class="cell"><p>60</p></td><td class="cell"><p>70</p></td><td class="cell"><p>74</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>median</p></td><td class="cell"><p>71</p></td><td class="cell"><p>85</p></td><td class="cell"><p>46</p></td><td class="cell"><p>88</p></td><td class="cell"><p>57</p></td><td class="cell"><p>61</p></td><td class="cell"><p>53</p></td><td class="cell"><p>50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>baseline</p></td><td class="cell"><p>156</p></td><td class="cell"><p>0</p></td><td class="cell"><p>100</p></td><td class="cell"><p>0</p></td><td class="cell"><p>145</p></td><td class="cell"><p>0</p></td><td class="cell"><p>52</p></td><td class="cell"><p>68</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>low</p></td><td class="cell"><p>68</p></td><td class="cell"><p>88</p></td><td class="cell"><p>44</p></td><td class="cell"><p>76</p></td><td class="cell"><p>69</p></td><td class="cell"><p>52</p></td><td class="cell"><p>48</p></td><td class="cell"><p>46</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 2: Results over the development set" 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>yes entailment</p></td><td class="cell"><p>no entailment</p></td><td class="cell"><p>Overall</p></td><td class="cell"><p></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>correct   incorrect   A (%)</p></td><td class="cell"><p>correct   incorrect   A (%)</p></td><td class="cell"><p>accuracy (%)</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>Gold deps</p></td><td class="cell"><p>34            6 85</p></td><td class="cell"><p>22            4 90</p></td><td class="cell"><p>87</p></td><td class="cell"><p>87</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Parsed deps</p></td><td class="cell"><p>32            8 80</p></td><td class="cell"><p>20             6 77</p></td><td class="cell"><p>79</p></td><td class="cell"><p>82</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></section><section number="5" title="Conclusion"><p>We constructed a system to evaluate the c&amp;c parser using textual entailments. We converted the parser output into a set of predicate structures and used these to establish the presence of entailment. Our system achieved an overall accuracy of 79% on the development set and 70% over the test set. The gap between our development and test accu­racies suggests our heuristics may have been over-fitted to the development data.</p><p>Our investigation using gold-standard depen­dencies established an upper bound of 87% on the development set for our approach to the task. While this is not ideal, we note that previous ef­forts at cross-parser evaluation have shown that it is a difficult problem (Clark and Curran (2007b) and Clark and Curran (2009)). We conclue that the concept of a minimal extrinsic evaluation put forward in this task is a promising avenue for formalism-independent parser comparison.</p></section><references><p>Stephen Clark and James R. Curran. Parsing the wsj using ccg and log-linear models. In <i>Pro­ceedings of the 42nd Annual Meeting of the As­sociation for Computational Linguistics, </i>pages 104-111,2004.</p><p>Stephen Clark and James R. Curran. Wide-Coverage Efficient Statistical Parsing with CCG and Log-Linear Models. <i>Computational Lin­guistics, </i>33(4):493-552, 2007a.</p><p>Stephen Clark and James R. Curran. Formalism-independent parser evaluation with CCG and DepBank. In <i>Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics, </i>pages 248-255, Prague, Czech Re­public, 25-27 June 2007b.</p><p>Stephen Clark and James R. Curran. Compar­ing the accuracy of CCG and Penn Treebank Parsers. In <i>Proceedings of the ACL-IJCNLP 2009 Conference Short Papers, </i>pages 53-56, Suntec, Singapore, August 2009.</p><p>Bojan Djordjevic and James R. Curran. Faster wide-coverage ccg parsing. In <i>Proceedings of the Australasian Language Technology Work­shop 2006, </i>pages 3-10, Sydney, Australia, De­cember 2006.</p><p>Julia Hockenmaier. <i>Data and models for sta­tistical parsing with Combinatory Categorial Grammar. </i>PhD thesis, 2003a.</p><p>Julia Hockenmaier. Parsing with generative mod­els of predicate-argument structure. In <i>Proceed­ings of the 41st Annual Meeting of the Associa­tion for Computational Linguistics, </i>pages 359-366. Association for Computational Linguistics Morristown, NJ, USA, 2003b.</p><p>Julia Hockenmaier and Mark Steedman. CCG-bank: a corpus of CCG derivations and depen­dency structures extracted from the Penn Tree-bank. <i>Computational Linguistics, </i>33(3):355-396,2007.</p><p>Matthew Honnibal, Joel Nothman, and James R. Curran. Evaluating a Statistical ccg Parser on Wikipedia. In <i>Proceedings of the 2009 Work­shop on The People's Web Meets NLP: Collabo­ratively Constructed Semantic Resources, </i>pages 38^1, Singapore, August 2009.</p><p>Mitchell P. Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large an­notated corpus of English: The Penn Tree-bank. <i>Computational Linguistics, </i>19(2):313-330,1993.</p><p>Laura Rimell, Stephen Clark, and Mark Steedman. Unbounded Dependency Recovery for Parser Evaluation. In <i>Proceedings of the 2009 Con­ference on Empirical Methods in Natural Lan­guage Processing, </i>volume 2, pages 813-821, 2009.</p><p>Mark Steedman. <i>The Syntactic Process. </i>MIT Press, Massachusetts Institute of Technology, USA, 2000.</p><p>Deniz Yuret, Aydin Han, and Zehra Turgut. SemEval-2010 Task 12: Parser Evaluation us­ing Textual Entailments. In <i>Proceedings of the SemEval-2010 Evaluation Exercises on Seman­tic Evaluation, </i>2010.</p></references></body></article>