<?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="475"/><title>Adapting a Lexicalized-Grammar Parser to Contrasting Domains</title><author surname="Rimell" givenname="Laura"><org  name="Oxford University" country="United Kingdom" city="Oxford"/></author><author surname="Clark" givenname="Stephen"><org  name="York University" country="Canada" city="North York"/></author></firstpageheader><frontmatter><p><b>Adapting a Lexicalized-Grammar Parser to Contrasting Domains</b></p><p><b>Laura Rimell </b>and <b>Stephen Clark</b></p><p>Oxford University Computing Laboratory Wolfson Building, Parks Road Oxford, OX1 3QD, UK {laura.rimell,stephen.clark}@comlab.ox.ac.uk</p></frontmatter><abstract>Most state-of-the-art wide-coverage parsers are trained on newspaper text and suffer a loss of accuracy in other domains, making parser adaptation a pressing issue. In this paper we demonstrate that a CCG parser can be adapted to two new domains, biomedical text and questions for a QA system, by us­ing manually-annotated training data at the POS and lexical category levels only. This ap­proach achieves parser accuracy comparable to that on newspaper data without the need for annotated parse trees in the new domain. We find that retraining at the lexical category level yields a larger performance increase for questions than for biomedical text and analyze the two datasets to investigate why different domains might behave differently for parser adaptation. </abstract></header><body><section number="1" title="Introduction"><p>Most state-of-the-art wide-coverage parsers are based on the Penn Treebank (Marcus et al., 1993), making such parsers highly tuned to newspaper text. A pressing question facing the parsing community is how to adapt these parsers to other domains, such as biomedical research papers and web pages. A re­lated question is how to improve the performance of these parsers on constructions that are rare in the Penn Treebank, such as questions. Questions are particularly important since a question parser is a component in most Question Answering (QA) sys­tems (Harabagiu et al., 2001).</p><p>In this paper we investigate parser adaptation in the context of lexicalized grammars, by using a parser based on Combinatory Categorial Grammar (CCG) (Steedman, 2000). A key property of CCG is that it is lexicalized, meaning that each word in a sentence is associated with an elementary syntactic structure. In the case of CCG this is a lexical cate­gory expressing subcategorization information. We exploit this property of CCG by performing manual annotation in the new domain, but only up to this level of representation, where the annotation can be carried out relatively quickly. Since CC G lexical cat­egories are so expressive, many of the syntactic char­acteristics of a domain are captured at this level.</p><p>The two domains we consider are the biomedical domain and questions for a QA system. We use the term "domain" somewhat loosely here, since ques­tions are best described as a particular set of syn­tactic constructions, rather than a set of documents about a particular topic. However, we consider ques­tion data to be interesting in the context of domain adaptation for the following reasons: 1) there are few examples in the Penn Treebank (PTB) and so PTB parsers typically perform poorly on them; 2) questions form a fairly homogeneous set with re­spect to the syntactic constructions employed, and it is an interesting question how easy it is to adapt a parser to such data; and 3) QA is becoming an impor­tant example of nlp technology, and question pars­ing is an important task for QA systems.</p><p>The ccg parser we use (Clark and Curran, 2007b) makes use of three levels of representation: one, a pos tag level based on the fairly coarse-grained POS tags in the Penn Treebank; two, a lexical category level based on the more fine-grained ccg lexical cat­egories, which are assigned to words by a ccg su-</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">475</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 475-484, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="476"/></p><p>pertagger; and three, a hierarchical level consisting of ccg derivations. A key idea in this paper, follow­ing a pilot study in Clark et al. (2004), is to perform manual annotation only at the first two levels. Since the lexical category level consists of sequences of tags, rather than hierarchical derivations, the anno­tation can be performed relatively quickly.</p><p>For the biomedical and question domains we manually annotated approximately 1,000 and 2,000 sentences, respectively, with ccg lexical categories. We also created a gold standard set of grammati­cal relations (gr) in the Stanford format (de Marn-effe et al., 2006), using 500 of the questions. For the biomedical domain we used the Biolnfer corpus (Pyysalo et al., 2007a), an existing gold-standard gr resource also in the Stanford format. We evaluated the parser on both lexical category assignment and recovery of grs.</p><p>The results show that the domain adaptation ap­proach used here is successful in two very different domains, achieving parsing accuracy comparable to state-of-the-art accuracy for newspaper text. The re­sults also show, however, that the two domains have different profiles with regard to the levels of repre­sentation used by the parser. We find that simply re­training the pos tagger used by the parser leads to a large improvement in performance for the biomed­ical domain, and that retraining the ccg supertag­ger on the annotated biomedical data improves the performance further. For the question data, retrain­ing just the pos tagger also improves parser perfor­mance, but retraining the supertagger has a much greater effect. We perform some analysis of the two datasets in order to explain the different behaviours with regard to porting the ccg parser.</p></section><section number="2" title="The CCG Parser"><p>The ccg parser is described in detail in Clark and Curran (2007b) and so we provide only a brief de­scription. The stages in the ccg parsing pipeline are as follows. First, a maximum entropy pos tagger assigns a single pos tag to each word in a sentence. pos tags are fairly coarse-grained grammatical la­bels indicating part-of-speech; the Penn Treebank set, used here, contains approximately 50 labels.</p><p>Second, a maximum entropy supertagger assigns ccg lexical categories to the words in the sentence.</p><p>Lexical categories can be thought of as fine-grained pos tags expressing subcategorization information, i.e. information about the argument frame of the word. There are 425 categories in the set used by the ccg parser. Supertagging was originally developed for Lexicalized Tree Adjoining Grammar (Banga­lore and Joshi, 1999), but has been particularly suc­cessful for wide-coverage ccg parsing (Clark and Curran, 2007b). Rather than assign a single category to each word, the supertagger operates as a multi-tagger, sometimes assigning more than one category if the context is not sufficiently discriminating to suggest a single tag (Curran et al., 2006). Since the taggers have linear time complexity, the first two stages can be performed extremely quickly.</p><p>Finally, the parsing stage combines the lexical cat­egories, using a small set of combinatory rules that are part of the grammar of ccg, and builds a packed chart representation containing all the derivations which can be built from the lexical categories. The Viterbi algorithm efficiently finds the highest scor­ing derivation from the packed chart, using a log­linear model to score the derivations. The grammar and training data for the newspaper version of the ccg parser are obtained from CCGbank (Hocken-maier and Steedman, 2007), a ccg version of the Penn Treebank.</p><p>The aspect of the pipeline which is most relevant to this paper is the supertagging phase. Figure 1 gives an example sentence from each target domain, with the ccg lexical category assigned to each word shown below the word, and the pos tag to the right. Note that the categories contain a significant amount of grammatical information, in particular subcatego­rization information. The verb <i>acts </i>in the biomedi­cal sentence, for example, looks for a prepositional phrase (PP, <i>as a linkage protein) </i>to its right and a noun phrase (NP, <i>Talin) </i>to its left, with the resulting category a declarative sentence (S[dcl]).</p><p>Bangalore and Joshi (1999) refer to supertagging as <i>almost parsing, </i>because once the correct lexical categories have been assigned, the parser is left with much less work to do. The ccg supertagger is not able to assign a single category to each word with extremely high accuracy — hence the need for it to operate as a multi-tagger — but even in multi-tagger mode it dramatically reduces the ambiguity passed through to the parser (Clark and Curran, 2007b).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">476</doubt><page local="3" global="477"/><p>Talin|NN     perhaps|RB acts|VBZ        as|IN      a|DT     linkage|NN protein|NN .|.</p><doubt alpha="57.1" length="49" tooSmall="False" monospace="0.0">NP(S\NP)/(S\NP) (S[del]\NP)/PPPP/NPNP[nb]/NN/NN."</doubt><p>What|WDT king|NN    signed|VBD       the|DT   Magna|NNP Carta|NNP ?|.</p><doubt alpha="47.3" length="55" tooSmall="False" monospace="0.0">(S[wq]/(S [del ]\NP ))/N (S [del ]\NP )/NPNP[nb]/NN/NN7</doubt><figure caption="Figure 1: Example sentences with lexical category assignment."></figure><p>The parser has been evaluated on DepBank (King et al., 2003), using the gr scheme of Briscoe et al. (2006), and it scores 82.4% labelled precision and 81.2% labelled recall overall (Clark and Curran, 2007a). Section 4.4 describes how the ccg depen­dencies can be mapped into the Stanford gr scheme (de Marneffe et al., 2006) and gives the results of evaluating the parser on biomedical and question gr resources.</p><p>The ccg parser is particularly well suited to the biomedical and question domains. First, use of ccg allows recovery of long-distance dependencies. In the sentence <i>What does target heart rate mean?, </i>the word <i>What </i>is an underlying object of the verb <i>mean. </i>The parser recovers this information despite the dis­tance between the two words. This capability is crucial for question parsing, and also useful in the biomedical field for extraction of relationships be­tween biological entities. Additionally, the speed of the parser (tens of sentences per second) is useful for the large volumes of biomedical data that require processing for biomedical text mining.</p></section><section number="3" title="Approach"><p>Our approach to domain adaptation is to target the coarser-grained, less syntactically complex, levels of representation used by the parser, and to train new models with manually annotated data at these levels. The motivation for this approach is twofold. First, accuracy at each stage of the pipeline depends on ac­curacy at the earlier stages. If the pos tagger assigns incorrect tags, it is unlikely that the supertagger will be able to recover and produce the correct lexical categories, since it relies heavily on pos tags as fea­tures. Without the correct categories, the parser in turn will be unable to find a correct parse.</p><p>In the sentence <i>What year did the Vietnam War end?, </i>the newspaper-trained pos tagger incorrectly assigns the pos tag NN (common noun) to the verb end, since verb-final sentences are atypical for the ptb. As a result, the supertagger is virtually cer­tain (greater than 99% probability) that the correct ccg lexical category for <i>end </i>is N (noun). The parser then assigns <i>the Vietnam War end </i>the structure of a noun phrase, and chooses an unusual subcategoriza-tion frame for <i>did </i>in which it takes three arguments: <i>What, year, </i>and <i>the Vietnam War end.</i></p><p>In the sentence <i>How many siblings does she have? </i>, on the other hand, the supertag­ger assigns an incorrect category to the word <i>How </i>despite it having the correct pos tag (WRB for wh-adverb).   The correct category is <i>many </i>(category <i>NP/N)</i><i> </i>and <i>siblings </i>(category <i>N)</i><i> </i>as arguments. Instead it is tagged as <i>S[wq]/S[q],</i><i> </i>the category for a sentential adverb (i.e. the man­ner reading of <i>how), </i>which prevents a correct parse. Our intention was that creating new training data at the lower levels of representation would improve the accuracy of the pos tagger and supertagger in the target domains, thereby improving the accuracy of later stages in the pipeline as well.</p><doubt alpha="52.5" length="40" tooSmall="False" monospace="0.0">((S[wq]/(S[q]/NP))/N)/(NP/N),which takes</doubt><p>The second motivation for our approach is to re­duce annotation overhead. Full syntactic deriva­tions are costly to produce by hand. pos tags, how­ever, are relatively easy to annotate; even an out-of-domain tagger will provide a good starting point, and manual correction is quick, especially in a do­main without much unfamiliar vocabulary. ccg lex­ical categories require more expertise, but our ex­perience shows that an out-of-domain supertagger can again provide a starting point for correction, and since the annotation is flat rather than hierarchical, we hypothesize that it is not as difficult or time-consuming as annotation of full derivations.</p><p>Our adaptation approach has been partially ex­plored in previous work which targets one or another of the different levels of representation.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">477</doubt><page local="4" global="478"/><p>Lease and Charniak (2005) obtained an improve­ment in the accuracy of the Charniak (2000) parser, as well as pos tagging accuracy, when applied to the biomedical domain, by training a new pos tag­ger model with a combination of newspaper and biomedical data. The parser improvement was due solely to the new pos tagger, without retraining the parser model. Since the Charniak parser does not use a lexicalized grammar with an intermediate level of representation, any further improvements would have to come from the parser model itself.</p><p>Clark et al. (2004) obtained an improvement in ccg supertagging accuracy for What-questions by training a new supertagger model with a combina­tion of newspaper and question data annotated with ccg lexical categories. Because a question resource annotated with grs was not available, they did not perform a parser evaluation, and the effects of the pos tagging level were not compared to the lexi­cal category level. In this paper, we extend the pi­lot experiments performed by Clark et al. (2004) in four ways. First, we use a larger corpus of trec questions covering additional question types, thus extending the experiments to the question domain more broadly, as well as to the biomedical domain. Second, we create a gold standard gr resource en­abling a full parser evaluation on question data. Third, we show that the pos level is important for adaptation, reinforcing the work of Lease and Char-niak (2005). A key finding of the present paper is that the combination of retraining at the pos tag and lexical category levels provides additional improve­ments beyond those gained by retraining at a single level. Finally, we provide analysis comparing the adaptation methodology for question and biomedi­cal data.</p><p>Hara et al. (2007) followed a similar approach to Clark et al. (2004), using the parser of Ninomiya et al. (2006), a version of the Enju parser (Miyao and Tsujii, 2005). Enju is based on hpsg, a lex-icalized grammar formalism. They obtained an im­provement in parsing accuracy in the biomedical do­main by training a new probabilistic model of lexi­cal entry assignments on a combination of newspa­per and biomedical data without changing the orig­inal newspaper-trained parsing model. Hara et al. (2007) did not consider the role of pos tagging. The lexical category data in Hara et al. (2007) was derived from a gold standard treebank, while the an­notation of lexical categories in this paper was per­formed without reference to gold standard syntactic derivations.</p><p>Judge et al. (2006) produced a corpus of 4,000 questions annotated with syntactic trees, and ob­tained an improvement in parsing accuracy for Bikel's reimplementation of the Collins parser (Collins, 1997) by training a new parser model with a combination of newspaper and question data. Our approach differs in retraining only at the levels of representation below parse trees.</p></section><section number="4" title="Experiments and Results 4.1 Resources"><p>We have used a combination of existing resources and new, manually annotated data. The baseline pos tagger, supertagger, and parser are trained on wsj Sections 02-21 of CCGbank. The baseline perfor­mance at each level of representation is on wsj Sec­tion 00 of CCGbank, which contains 1913 sentences and approximately 45,000 words.</p><p>For the biomedical domain, we trained the pos tagger on gold-standard pos tags from genia (Kim et al., 2003), a corpus of 2,000 medline abstracts containing a total of approximately 18,500 sentences and 440,000 words. We also annotated the first 1,000 sentences of genia with ccg lexical cate­gories. This set of 1,000 sentences, containing ap­proximately 27,000 words, was used for pos tagger evaluation and for development and evaluation of a new supertagger model. For parser evaluation, we used BioInfer (Pyysalo et al., 2007a), a corpus of medline abstracts (on a different topic from those in genia) containing 1,100 sentences, and with syn­tactic dependencies encoded as grammatical rela­tions in the Stanford gr format. We used the same evaluation set of 500 sentences as in Pyysalo et al. (2007b), and the remaining 600 for development of the mapping to Stanford format. Two parsers have already been evaluated on BioInfer, which makes it a useful resource for comparative evaluation.</p><p>For the question domain, we extended the dataset described in Clark et al. (2004). That dataset con­tained 1,171 questions beginning with the word <i>What, </i>from the trec 9-12 competitions (2000­2003), manually pos tagged and annotated with<page local="5" global="479"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">478</doubt><p>ccg lexical categories. We annotated all the addi­tional TREC question types and improved the exist­ing annotation, for a total of 1,828 sentences. We ad­ditionally annotated a random subset of 500 of these with GRs in the Stanford format. This subset served as our evaluation set at all levels of representation. It contains approximately 4,000 words, fewer than the other domains because of the significantly shorter sentence lengths of typical questions. The remain­ing 1,328 sentences were used as training data. A set of about a dozen sentences from the evaluation and training sets were used to develop the mapping to Stanford format for lexical categories not occur­ring in the biomedical data.</p><subsection number="4.2" title="POS tagger"><p>We began by training new models at the POS tag level of representation. All datasets use the PTB tagset. As a baseline, we used the original WSJ 02­21 model on the biomedical and question datasets. For comparison we also evaluated on Section 00 us­ing the WSJ-trained model.</p><p>For the question data, the new POS tagger was trained on CCGbank Sections 02-21 plus ten copies of the 1,328 training sentences. The WSJ data pro­vides additional robustness and wide grammatical coverage, and the weighting factor of ten was chosen in preliminary experiments to prevent the newspaper data from "overwhelming" the question data. For the biomedical data, the new POS tagger was trained on the full GENIA corpus, minus the first 1,000 sen­tences. GENIA is large enough that combination with the newspaper data was not needed.</p><p>Table 1 gives the results. For both of the new do­mains the performance of the WSJ model decreased compared to Section 00, but the retrained model per­formed at least as well as the WSJ model did on 00.<footnote anchor="1"/>Improving the POS tagger performance has a posi­tive effect on the performance of the supertagger and parser, which will be discussed in Sections 4.3-4.4.</p><footnote label="1">Since genia does not use the proper noun tag, NNP, for names of genes and other biomedical entities, all figures in this paper collapse the NNP-NN distinction where relevant for biomedical data. The question data uses NNP and the distinc­tion is not collapsed.</footnote><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">WSJ02-21 Retrained</doubt><doubt alpha="25.0" length="28" tooSmall="False" monospace="0.0">Sec. 00I96.7 — Qus 92.2 97.1</doubt><doubt alpha="23.1" length="13" tooSmall="False" monospace="0.0">Bio 93.4 98.7</doubt><p>Table 1: POS tagger accuracy (%) for original and re­trained models.</p><p>Table 2: Supertagging accuracy (%) and the effect of re­training the POS model and the supertagger model.</p></subsection><subsection number="4.3" title="Supertagger"><p>We next trained new models at the ccg lexical cat­egory level. The training data consisted of manu­ally annotated biomedical and question sentences; specifically, lexical categories were automatically assigned by the original parsing pipeline and then manually corrected. Whenever possible we used categories from the parser's original set of 425, al­though occasionally it was necessary to use a new category for a syntactic construction not occurring in CCGbank Sections 02-21. (The parser can be con­figured to recognize additional categories.) Question data in particular requires the use of categories that are rare or unseen in CCGbank.</p><p>For the questions, the new supertagger model, like the POS tagger, was trained on WSJ 02-21 plus ten copies of the 1,328 training sentences. For the biomedical data, a ten-fold cross-validation was per­formed, training each supertagger model on WSJ 02­21 plus ten copies of 90% of the 1,000 annotated sentences. Table 2 gives the supertagger accuracy with and without the retrained POS and supertagger models. The figure for the retrained biomedical su­pertagger is the average of the ten-fold split.</p><p>The results show an improvement in accuracy of lexical category assignment solely from retraining the POS tagger, and an additional improvement from retraining the supertagger. Supertagger accuracy for the two domains with a retrained supertagger was comparable, and in both cases was at least as high (det company What) (nn company car) as for the original pipeline on Section 00.<page local="6" global="480"/> The ques­tion data started from a much lower baseline figure, however.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">479</doubt><table 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></p></td><td class="cell"><p>Orig</p></td><td class="cell"><p>Retrained</p></td><td class="cell"><p>Retrained</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>pipeline</p></td><td class="cell"><p>POS</p></td><td class="cell"><p>POS and</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>super</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sec. 00</p></td><td class="cell"><p>91.5</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>Qus</p></td><td class="cell"><p>71.6</p></td><td class="cell"><p>74.0</p></td><td class="cell"><p>92.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bio</p></td><td class="cell"><p>89.0</p></td><td class="cell"><p>91.2</p></td><td class="cell"><p>93.0</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><figure caption="Figure 2: Example of grammatical relations in the Stan­ford grammatical relation format."></figure></subsection><subsection number="4.4" title="Parser"><p>We evaluated the parser on the 500 questions anno­tated with Stanford grs and on the 500 evaluation sentences from the BioInfer corpus. We used the original newspaper pipeline, a pipeline with a re­trained pos tagger, and a pipeline with both a re­trained pos tagger and supertagger.</p><p>In order to perform these evaluations we devel-ooped a mapping from the parser's native ccg syn­tactic dependencies to grs in the Stanford format. The mapping was based on the same principles as the mapping that produces gr output in the style of Briscoe et al. (2006). These principles are dis­cussed in detail in Clark and Curran (2007a); in summary, the argument slots in the ccg dependen­cies are mapped to argument slots in Stanford grs, a fairly complex, many-to-many mapping. An ad­ditional post-processing script applies some manu­ally developed rules to bring the output closer to the Stanford format. Figure 2 gives an example of Stan­ford grs, where the label of the relation is followed by two arguments, head and dependent.</p><p>Table 3 gives the results of the parser evaluation on grs. Since the parser model was not retrained, the improvements in accuracy are due solely to the new pos and supertaggers. The results are given as an F-score over labelled grs.<footnote anchor="2"/></p><p>The F-scores given in Table 3 are only for sen­tences for which a parse was found. However, there were also improvements in coverage with the re­trained models. For the question data, parser cov-</p><footnote label="2">Only gr s at the lowest level of the Stanford hierarchy were considered in the evaluation; more generic relations such as de­pendent were not considered.</footnote><p>Table 3: Parser F-score on grammatical relations and the effect of retraining the POS and supertagger models.</p><p>erage was 94% for the original pipeline and the pipeline with just the retrained pos tagger, and 99.6% with the retrained pos and supertaggers. For the biomedical data, coverage was 97.2% for the original pipeline, 99.0% for the pipeline with the re­trained pos tagger, and 99.8% for the pipeline with the retrained pos and supertaggers.</p><p>The final accuracy for both domains is in the same range as that of the original parser on newspaper data (81.8%) (Clark and Curran, 2007b), although the results are not directly comparable, since the newspaper resource uses a different gr scheme. For the Biolnfer corpus, the final accuracy is also in line with results reported in the literature for other parsers (Pyysalo et al., 2007b). (No comparable gr results are available for questions.) A score in this range is thought to be near the upper bound when evaluating a ccg parser on grs, since some loss is inherent in the mapping to grs (Clark and Curran, 2007a).</p></subsection></section><section number="5" title="Analysis"><p>Although domain adaptation was successful for both of our target domains, the impact of the different levels of representation on parsing accuracy was not uniform. Table 3 shows that retraining the pos tag­ger accounted for a greater proportion of the im­provement on biomedical data, while retraining the supertagger accounted for a much greater proportion on questions. In this section we discuss some of the differences between the domains which may have contributed to their behaviour in this regard, with the intention of highlighting attributes that may be relevant for domain adaptation in general.</p><p>Informally, we believe that the main difference between newspaper and biomedical text is vocabu­lary, and that their syntactic structures are essentially similar (with some isolated exceptions, such as more frequent use of parentheses and comma-separated<page local="7" global="481"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">480</doubt><table 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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>What car company invented the Edsel?</i></p></td><td class="cell"><p></p></td><td class="cell"><p>Orig pos</p></td><td class="cell"><p>New pos</p></td><td class="cell"><p>New pos</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(nsubj invented company)</p></td><td class="cell"><p></p></td><td class="cell"><p>and super</p></td><td class="cell"><p></p></td><td class="cell"><p>and super</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(det Edsel the)</p></td><td class="cell"><p>Qus</p></td><td class="cell"><p>64.4</p></td><td class="cell"><p>69.4</p></td><td class="cell"><p>86.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(dobj invented Edsel)</p></td><td class="cell"><p>BioInfer</p></td><td class="cell"><p>76.0</p></td><td class="cell"><p>80.4</p></td><td class="cell"><p>81.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Table 4: Tags with the most frequent errors by the newspaper-trained POS tagger and the tags they were most frequently confused with.</p><p>lists in biomedical text). Once the pos tagger had been retrained for biomedical text, accounting for unfamiliar vocabulary, the original supertagger al­ready performed well. The main difference between newspaper and question data, on the other hand, is syntactic. Retraining the pos tagger for questions therefore had less effect; even with the correct pos tags the supertagger was unable to assign the correct lexical categories. Since lexical categories encode syntactic information, the domain with the more di­vergent syntax is likely to benefit most from new training data at the lexical category level.</p><subsection number="5.1" title="POS tagger"><p>Table 1 showed that the accuracy of the newspaper-trained pos tagger was in the same range for both biomedical and question data. However, the distri­bution of errors was different. Table 4 shows the tags with the most frequent errors, accounting for about 75% of all pos tag errors in each domain, and the tags that they were most frequently confused with.</p><p>For the question data, the most frequent error was tagging a wh-determiner (WDT) as a wh-pronoun (WP). A determiner combines with a noun to form a noun phrase, as in the sentence <i><u>What</u> Liverpool club spawned the Beatles? </i>. A pronoun, on the other hand, is a noun phrase in its own right, as in <i><u>What </u>are the colors of the German flag?. </i>This tagger er­ror arises from the fact that the word <i>What </i>occurs only once in wsj 02-21 with a WDT tag. The sec­ond most common error was on bare verbs (VB), be­cause the newspaper model gives a low probability of bare verbs occurring in sentence-final position, or not directly following an auxiliary.</p><p>Unknown word Unknown rate word-pos rate</p><doubt alpha="21.3" length="47" tooSmall="False" monospace="0.0">Sec. 00I3.8 44 Qus 7.5 8.3 Bio        23.6 25.3</doubt><table caption="Table 5: Unknown word rate and word-POStag pair rate (%) compared toWSJ02-21 (by token)."></table><p>For the biomedical data, the most frequent errors by far were confusions of noun (NN) and adjective (JJ). This is most likely due to the prevalence oflong noun phrases in the biomedical data, such as <i>major histocompatibility complex class II molecules. </i>Al­though the words preceding the head noun are rec­ognized as nominal modifiers, the classification into noun and adjective is difficult, especially when the word is previously unseen. There were also prob­lems distinguishing verbal past participles (VBN) from adjectives (JJ) and identifying foreign words (FW), for example the phrase <i>in vitro.</i></p><p>The fact that the newspaper-trained pos tagger performed comparably in the two target domains (Table 1) is surprising, since their lexical profiles are quite different. Lease and Charniak (2005) dis­cussed unknown word rate as a predictor of pos tagger accuracy. However, the unknown word rate compared with wsj 02-21 is much higher for the biomedical data than for the question data, as seen in Table 5. (The unknown word rate for the question data is still higher than that for wsj 00, which may be due to the high proportion of proper nouns in the question data.)</p><p>Some pos tagging errors can be attributed, not to an unknown word, but to the use of a known word with an unfamiliar tag (as in the WDT exam­ple above). However, it is not the case that the ques­tion data contains many known words with unknown tags, since the rate of unknown word-tag pairs is also much higher for biomedical than for question data, as seen in the rightmost column of Table 5.</p><p>We do know that the newspaper-trained pos tag­ger performs better on unknown words for biomedi­cal (84.7%) than for question data (80.4%). We hy­pothesize that the syntactic context of the biomed­ical data, being more similar to newspaper data, provides more information for the pos tagger in<page local="8" global="482"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">481</doubt><table 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></p></td><td class="cell"><p>Tag</p></td><td class="cell"><p>Errors</p></td><td class="cell"><p>Freq confused</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>WDT</p></td><td class="cell"><p>129</p></td><td class="cell"><p>WP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>VB</p></td><td class="cell"><p>46</p></td><td class="cell"><p>NN, VBP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Qus</p><p>Qus</p></td><td class="cell"><p>NNP</p></td><td class="cell"><p>33</p></td><td class="cell"><p>JJ, NN</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>NN</p></td><td class="cell"><p>32</p></td><td class="cell"><p>JJ, NNP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bio</p></td><td class="cell"><p>NN JJ</p><p>VBN FW</p></td><td class="cell"><p>801</p><p>268 113 95</p></td><td class="cell"><p>JJ, CD</p><p>NN, VBN</p><p>JJ, VBD</p><p>NN, IN</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 6: Unknown POS n-gram rate (%) compared to WSJ 02-21, and when in-domain data is added (by token).</p><p>biomedical than in question data. Syntactic differ­ences are discussed in the next section.</p></subsection><subsection number="5.2" title="Supertagger"><p>To quantify the syntactic distance between domains, we propose using the unknown POS n-gram rate compared to WSJ Sections 02-21. In the absence of parse trees, POS n-grams can serve as a rough proxy for the syntactic characteristics of a domain, reflect­ing local word order configurations. POS n-grams have been used in document modeling for text cate­gorization (Baayen et al., 1996; Argamon-Engelson et al., 1998), but we believe our proposed use of the unknown POS n-gram rate is novel.</p><p>The leftmost column of Table 6 gives the un­known POS trigram and 5-gram rates compared to WSJ Sections 02-21. The rates for the biomedical data are quite similar to those for Section 00. The question data, however, shows higher rates of un­known POS n-grams.</p><p>For both biomedical and question data, adding in­domain data to the training set makes its syntactic profile more like that of the evaluation set. The right­most column of Table 6 shows the unknown POS n-gram rates compared to the datasets used for training the new supertagger models, consisting of WSJ 02­21 plus annotated question or biomedical data. (For the biomedical data, the figures are averages of the same ten-fold split used for evaluation). It can be seen that adding in-domain data reduces the rate of unknown POS n-grams to about the same level ob­served for newspaper text.</p><p>The unknown POS n-gram rate requires POS tagged data for a new domain and thus cannot be</p><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">3-grams 5-grams</doubt><doubt alpha="28.6" length="14" tooSmall="False" monospace="0.0">Sec. 00I18 19~</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">Qus 8 5</doubt><doubt alpha="33.3" length="9" tooSmall="False" monospace="0.0">Bio 16 13</doubt><p>Table 7: Number of the 20 most frequent POS n-grams that are also in the 20 most frequent POS n-grams of WSJ Sections 02-21.</p><p>Table 8: Four most frequent POS trigrams for WSJ 02­21; four most frequent POS trigrams for biomedical and question data that are not in the 20 most frequent for WSJ 02-21. The dash represents the sentence boundary.</p><p>used with unlabelled data. However, since POS tag­ging is relatively inexpensive, it might be possible to use this rate as one measure of syntactic distance be­tween a training corpus and a target domain, prior to undertaking parser domain adaptation. The measure does not capture all aspects of syntactic distance, however. As pointed out by an anonymous reviewer, if the syntactic tree structures are similar across do­mains but lexical distributions are different - e.g. a large number of words with unfamiliar categories in the new domain - this measure will not be sensitive to the difference.</p><p>Another useful measure for comparing domain adaptation in the biomedical and question domains is frequent POS n-grams. Table 7 shows how many of the 20 most frequent POS n-grams in each dataset overlap with the 20 most frequent POS n-grams in WSJ 02-21. It can be seen that the overlap is the highest for Section 00, but much lower for the ques­tion data than for the biomedical data, again demon­strating that the question data makes frequent use of syntactic constructions which are rare in the PTB.</p><p>Table 8 shows the four most frequent POS tri-grams in WSJ Sections 02-21,<footnote anchor="3"/> and the four most frequent POS trigrams in the biomedical and ques­tion data that are not among the 20 most frequent for wsj 02-21.<page local="9" global="483"/> The frequent question trigrams in­clude two sentence-initial question words as well as the pattern — WP VBZ, occurring in sentences be­ginning with e.g. <i>What is </i>or <i>Who is. </i>Though not among the top four, the pattern VB . —, represent­ing a sentence-final bare verb, is also frequent. The most frequent biomedical pos trigrams are not dra­matically different from the newspaper trigrams, but do appear to reflect the prevalence of NPs and PPs in the data.</p><footnote label="3">Collapsing the NNP-NN distinction yields a slightly differ­ent set.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">482</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>WSJ 02-21</p></td><td class="cell"><p>New train­ing sets</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3-grams</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sec. 00</p></td><td class="cell"><p>0.4</p></td><td class="cell"><p>—</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Qus</p></td><td class="cell"><p>3.6</p></td><td class="cell"><p>0.7</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bio</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5-grams</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sec. 00</p></td><td class="cell"><p>12.1</p></td><td class="cell"><p>—</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Qus</p></td><td class="cell"><p>22.0</p></td><td class="cell"><p>7.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Bio</p></td><td class="cell"><p>10.9</p></td><td class="cell"><p>9.2</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></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WSJ 02-21</p></td><td class="cell"><p>Bio</p></td><td class="cell"><p></p></td><td class="cell"><p>Qus</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>.    — —</p></td><td class="cell"><p>JJ NN</p></td><td class="cell"><p>NN</p></td><td class="cell"><p>—   — WP</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>IN  DT NN</p></td><td class="cell"><p>IN JJ</p></td><td class="cell"><p>NN</p></td><td class="cell"><p>—   WP VBZ</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NN . —</p></td><td class="cell"><p>NN IN</p></td><td class="cell"><p>JJ</p></td><td class="cell"><p>—   — WDT</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DT JJ NN</p></td><td class="cell"><p>NNSIN</p></td><td class="cell"><p>NN</p></td><td class="cell"><p>WP VBZ DT</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>One final measure of syntactic distance is the frequency with which ccg lexical categories that are rare or unseen in ccgbank are used in a do­main. It is typical to use a few such categories, even for in-domain data, for unusual syntactic con­structions, but each one is usually used only a hand­ful of times. The question data is unique in the frequency with which previously rare or unseen categories are required. For example, the unseen category (S[wq]/S<i>[q</i>])/N, representing the word <i>What </i>in a question such as <i>What day did Nintendo 64 come out? </i>is used 11 times in the evaluation set; the rare category <i>(S[wq</i>]/(S[del]\NP))/N, used in subject questions like <i>Which river runs through Dublin?, </i>is used 61 times; and the rare cat­egory (S[q]/(S<i>[pss</i>]\NP))/NP, representing pas­sive verbs in sentences like <i>What is Jane Goodall known for?, </i>is used 59 times.</p></subsection></section><section number="6" title="Conclusion"><p>We have targeted lower levels of representation in order to adapt a lexicalized-grammar parser to two new domains, biomedical text and questions. Al­though each of the lower levels has been targeted in­dependently in previous work, this is the first study that examines both levels together to determine how they affect parsing accuracy. We achieved an accu­racy on grammatical relations in the same range as that of the original parser for newspaper text, with­out requiring costly annotation of full parse trees.</p><p>Both biomedical and question data are domains in which there is an immediate need for accurate pars­ing. The question dataset is in some ways an ex­treme example for domain adaptation, since the sen­tences are syntactically uniform; on the other hand, it is of interest as a set of constructions where the parser initially performed poorly, and is a realistic parsing challenge in the context of qa systems.</p><p>Interestingly, although an increase in accuracy at each stage of the pipeline did yield an increase at the following stage, these increases were not uni­form across the two domains. The new pos tagger model was responsible for most of the improvement in parsing for the biomedical domain, while the new supertagger model was necessary to see a large im­provement in the question domain. We attribute this to the fact that question syntax is significantly differ­ent from newspaper syntax. We expect these consid­erations to apply to any lexicalized-grammar parser.</p><p>Of course, it would be useful to have a way of predicting which level of annotation would be most effective for adapting to a new domain before the an­notation begins. The utility of measures such as un­known word rate (which can be performed with un-labelled data) and unknown pos n-gram rate (which can be performed with only pos tags) is not yet suffi­ciently clear to rely on them as predictive measures, but it seems a fruitful avenue for future work to in­vestigate the importance of such measures for parser domain adaptation.</p></section><section title="Acknowledgments"><p>We would like to thank Marie-Catherine de Marn-effe for advice on the use of the Stanford gr for­mat, Sampo Pyysalo for sharing information about the BioInfer corpus, and Mark Steedman for advice on encoding question data in ccg. We would also like to thank three anonymous reviewers for their suggestions. This work was supported by epsrc grant EP/E035698/1: Accurate and Efficient Parsing of Biomedical Text.</p></section><references><p>Shlomo Argamon-Engelson, Moshe Koppel, and Galit Avneri. 1998. Style-based text categorization: What newspaper am I reading? In <i>Proceedings of AAAI Workshop on Learning for Text Categorization, </i>pages 1-4.</p><p>Harald Baayen, Hans Van Halteren, and Fiona Tweedie. 1996. Outside the cave of shadows: Using syntactic annotation to enhance authorship attribution. <i>Literary and Linguistic Computing, </i>11(3):121-131.</p><p>Srinivas Bangalore and Aravind Joshi. 1999. Supertag-ging: An approach to almost parsing. <i>Computational Linguistics, </i>25(2):237-265.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">483</doubt><page local="10" global="484"/><p>Ted Briscoe, John Carroll, and Rebecca Watson. 2006. The second release of the RASP system. In <i>Proceed­ings ofthe Interactive Demo Session ofthe Joint Con­ference </i><i>ofthe</i><i> International Committee on Computa­tional Linguistics and the Association for Computa­tional Linguistics (COLING/ACL-06), </i>Sydney, Aus-trailia.</p><p>Eugene Charniak. 2000. A maximum-entropy-inspired parser. In <i>Proceedings of the 1st Meeting of the NAACL, </i>pages 132-139, Seattle, WA.</p><p>Stephen Clark and James R. Curran. 2007a. Formalism-independent parser evaluation with CCG and Dep-Bank. In <i>Proceedings of the 45th Meeting of the ACL, </i>pages 248-255, Prague, Czech Republic.</p><p>Stephen Clark and James R. Curran. 2007b. Wide-coverage efficient statistical parsing with CCG and log-linear models.       <i>Computational Linguistics,</i> 33(4):493-552.</p><p>Stephen Clark, Mark Steedman, and James R. Curran. 2004. Object-extraction and question-parsing using CCG. In <i>Proceedings of the EMNLP Conference, </i>pages 111-118, Barcelona, Spain.</p><p>Michael Collins. 1997. Three generative, lexicalised models for statistical parsing. In <i>Proceedings </i><i>ofthe</i><i> 35th Meeting of the ACL, </i>pages 16-23, Madrid, Spain.</p><p>James R. Curran, Stephen Clark, and David Vadas.</p><p>2006. Multi-tagging for lexicalized-grammar pars­ing. In <i>Proceedings </i><i>ofthe</i><i> Joint Conference </i><i>ofthe</i><i> International Committee on Computational Linguis­tics and the Association for Computational Linguis­tics (COLING/ACL-06), </i>pages 697-704, Sydney, Austrailia.</p><p>Marie-Catherine de Marneffe, Bill MacCartney, and Christopher D. Manning. 2006. Generating typed de­pendency parses from phrase structure parses. In <i>Pro­ceedings </i><i>ofthe</i><i> 5th LREC Conference, </i>pages 449-454, Genoa, Italy.</p><p>Tadayoshi Hara, Yusuke Miyao, and Jun'ichi Tsujii.</p><p>2007. Evaluating impact of re-training a lexical dis­ambiguation model on domain adaptation of an HPSG parser. In <i>Proceedings </i><i>ofIWPT,</i><i> </i>pages 11-22, Prague, Czech Republic.</p><p>Sanda Harabagiu, Dan Moldovan, Marius Pasca, Rada Mihalcea, Mihai Surdeanu, Razvan Bunescu, Roxana Girju, Vasile Rus, and Paul Morarescu. 2001. The role of lexico-semantic feedback in open-domain tex­tual question-answering. In <i>Proceedings of the 39th Meeting of the ACL, </i>pages 274-281, Toulose, France.</p><p>Julia Hockenmaier and Mark Steedman. 2007. CCG-bank: a corpus of CCG derivations and dependency structures extracted from the Penn Treebank. <i>Compu­tational Linguistics, </i>33(3):355-396.</p><p>John Judge, Aoife Cahill, and Josef van Genabith. 2006. Questionbank: Creating a corpus of parse-annotated questions. In <i>Proceedings </i><i>ofthe</i><i> Joint Conference of the International Committee on Computational Lin­guistics and the Association for Computational Lin­guistics, </i>pages 497-504, Sydney, Australia. Jin-Dong Kim, Tomoko Ohta, Yuka Teteisi, and Jun'ichi Tsujii. 2003. GENIA corpus - a semantically an­notated corpus for bio-textmining. <i>Bioinformatics, </i>19:i180-i182.</p><p>Tracy H. King, Richard Crouch, Stefan Riezler, Mary</p><p>Dalrymple, and Ronald M. Kaplan. 2003. The PARC 700 Dependency Bank.   In <i>Proceedings </i><i>ofthe</i><i> 4th International Workshop on Linguistically Interpreted Corpora, </i>Budapest, Hungary. Matthew Lease and Eugene Charniak.  2005. Parsing biomedical literature. In <i>Proceedings </i><i>ofthe</i><i> Second International Joint Conference on Natural Language Processing (IJCNLP-05), </i>Jeju Island, Korea. Mitchell  Marcus,   Beatrice  Santorini,   and Mary Marcinkiewicz. 1993. Building a large annotated cor­pus of English: The Penn Treebank. <i>Computational Linguistics, </i>19(2):313-330. Yusuke Miyao and Jun'ichi Tsujii. 2005. Probabilistic disambiguation models for wide-coverage HPSG pars­ing. In <i>Proceedings </i><i>ofthe</i><i> 43rd meeting </i><i>ofthe</i><i> ACL, </i>pages 83-90, University of Michigan, Ann Arbor. Takashi Ninomiya, Takuya Matsuzaki, Yoshimasa Tsu-ruoka, Yusuke Miyao, and Jun'ichi Tsujii. 2006. Ex­tremely lexicalized models foraccurate and fastHPSG parsing. In <i>Proceedings </i><i>ofthe</i><i> EMNLP Conference. </i>Sampo Pyysalo, Filip Ginter, Juho Heimonen, Jari Bjorne, Jorma Boberg, Jouni Jarvinen, and Tapio Salakoski. 2007a. BioInfer: A corpus for information extraction in the biomedical domain. <i>BMC</i><i> Bioinfor-matics, </i>8:50.</p><p>Sampo Pyysalo, Filip Ginter, Veronika Laippala, Ka-tri Haverinen, Juho Heimonen, and Tapio Salakoski. 2007b. On the unification of syntactic annotations un­der the stanford dependency scheme: A case study on Biolnfer and GENIA. In <i>ACL'07 workshop on Biolog­ical, translational, and clinical language processing, </i>pages 25-32, Prague, Czech Republic. Mark Steedman. 2000. <i>The Syntactic Process. </i>The MIT Press, Cambridge, MA.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">484</doubt></references></body></article>