<?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="237"/><title>MELB-MKB: Lexical Substitution system based on Relatives in Context</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 237-240, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Martinez" givenname="David"><org  name="University of Melbourne" country="Australia" city="Melbourne"/></author><author surname="Kim" givenname="Su Nam"><org  name="University of Melbourne" country="Australia" city="Melbourne"/></author><author surname="Baldwin" givenname="Timothy"><org  name="University of Melbourne" country="Australia" city="Melbourne"/></author></firstpageheader><frontmatter><p><b>MELB-MKB: Lexical Substitution System based on Relatives in Context</b></p><p><b>David Martinez, Su Nam Kim and Timothy Baldwin</b></p><p>LT Group, CSSE University of Melbourne Victoria 3010 Australia</p><p>{davidm,snkim,tim}@csse.unimelb.edu.au</p></frontmatter><abstract>In this paper we describe the MELB-MKB system, as entered in the SemEval-2007 lex­ical substitution task. The core of our sys­tem was the "Relatives in Context" unsuper-vised approach, which ranked the candidate substitutes by web-lookup of the word se­quences built combining the target context and each substitute. Our system ranked third in the final evaluation, performing close to the top-ranked system. </abstract></header><body><section number="1" title="Introduction"><p>This paper describes the system we developed for the SemEval lexical substitution task, a new task in SemEval-2007. Although we tested different con­figurations on the trial data, our basic system relied on WordNet relatives (Fellbaum, 1998) and Google queries in order to identify the most plausible sub­stitutes in the context.</p><p>The main goal when building our system was to study the following factors: (i) substitution candi­date set, (ii) settings of the relative-based algorithm, and (iii) syntactic filtering. We analysed these fac­tors over the trial data provided by the organisation, and used the BEST metric to tune our system. This metric accepts multiple answers, and averages the score across the answers. We did not experiment with the oot (top 10 answers) and Multiword metrics.</p><p>In the remainder of this paper we briefly intro­duce the basic Relatives in Context algorithm in Sec­tion 2. Next we describe our experiments on the trial data in Section 3. Our final system and its results are described in Section 4. Finally, our conclusions are outlined in Section 5.</p></section><section number="2" title="Algorithm"><p>Our basic algorithm is an unsupervised method pre­sented in Martinez et al. (2006). This technique makes use of the WordNet relatives of the target word for disambiguation, by way of the following steps: (i) obtain a set of close relatives from Word­Net for each sense of the target word; (ii) for each test instance define all possible word sequences that include the target word; (iii) for each word sequence, substitute the target word with each relative, and then query Google; (iv) rank queries according to the following factors: length of the query, distance of the relative to the target word, and number of hits; and (v) select the relative from the highest ranked query.<footnote anchor="1"/></p><p>For the querying step, first we tokenise each tar­get sentence, and then we apply sliding windows of different sizes (up to 6 tokens) that include the tar­get word. For each window and each relative in the pool, we substitute the target word for the relative, and query Google. The algorithm stops augment­ing the window for the relative when one of its sub­strings returns zero hits. The length of the query is measured as the number of words, and the distance of the relative to the target words gives preference to synonyms over hypernyms, and immediate hyper-nyms over further ones.</p><p>One important parameter in this method is the candidate set. We performed different experiments to measure the expected score we could achieve from WordNet relatives, and the contribution of dif­ferent types of filters (syntactic, frequency-based, etc.<page local="2" global="238"/>) to the overall result. We also explored other settings of the algorithm, such as the ranking crite­ria, and the number of answers to return. These ex­periments and some other modifications of the basic algorithm are covered in Section 3.</p><footnote label="1">In the case of WSD we would use the relative to chose the sense it relates to.</footnote></section><section number="3" title="Development on Trial data"><p>In this section we analyse the coverage of WordNet over the data, the basic parameter exploration pro­cess, a syntactic filter, and finally the extra experi­ments we carried out before submission. The trial data consisted on 300 instances of 34 words with gold-standard annotations.</p><subsection number="3.1" title="WordNet coverage"><p>The most obvious resource for selecting substitution candidates was WordNet, due to its size and avail­ability. We used version 2.0 throughout this work. In our first experiment, we tried to determine which kind of relationships to use, and the coverage of the gold-standard annotations that we could expect from WordNet relations only. As a basic set of relations, we used the following: synonymy, similar-to, entailment, cause, also-see, and instance.</p><p>We created two extended candidate sets using im­mediate and 2-step hypernyms (hype and hype2, re­spectively, in Table 1).</p><p>Given that we are committed to using Word­Net, we set out to measure the percentage of gold­standard substitutes that were "reachable" using dif­ferent WordNet relations. Table 1 shows the cov­erage for the three sets of candidates. Instance-coverage indicates the percentage of instances that have at least one of the gold-standard instances cov­ered from the candidate set. We can see that the per­centage is surprisingly low.</p><p>Any shortcoming in coverage will have a direct impact on performance, suggesting the need for al­ternate means to obtain substitution candidates. One possibility is to extend the candidates from Word­Net by following links from the relatives (e.g. col­lect all synonyms of the synonymous words), but this could add many noisy candidates. We can also use other lexical repositories built by hand or auto­matically, such as the distributional theusauri built</p><p>Table 1: WordNet coverage for different candidate sets, based on substitute (Subs.) and instance (Inst.) coverage.</p><p>in Lin (1998). A different approach that we are test­ing for future work is to adapt the algorithm to work with wildcards instead of explicit candidates. Due to time constraints, we only relied on WordNet for our submission.</p></subsection><subsection number="3.2" title="Parameter Tuning"><p>In this experiment we tuned different parameters of the basic algorithm. First, we observed the data in order to identify the most relevant variables for this task. We tried to avoid including too many parame­ters and overfitting the system to the trial dataset. At this point, we separated the instances by PoS, and studied the following parameters:</p><p><b>Candidate set: </b>From WordNet, we tested four possible datasets for each target word: basic-set, 1st-sense (basic relations from the first sense only), hype (basic set and immediate hypernyms), and hype2 (basic set and up to two-step hypernyms).</p><p><b>Semcor-based filters: </b>Semcor provides frequency information for WordNet senses, and can be used to identify rare senses. As each candidate is ob­tained via WordNet semantic relations with the tar­get word, we can filter out those candidates that are related with unfrequent senses in Semcor. We tested three configurations: (1) no filter, (2) filter out candi­dates when the <i>candidate-sense </i>in the relation does not occur in Semcor, (3) and filter out candidates when the target-sense in the relation does not oc­cur in Semcor. The filters can potentially lead to the removal of all candidates, in which case a back-off is applied (see below).</p><p><b>Relative-ranking criteria: </b>Our algorithm ranks relatives according to the length in words of their context-match. In the case of ties, the number of re­turned hits from Google is applied. The length can be different depending on whether we count punc­tuation marks as separate tokens, and whether the word-length of substitute multiwords is included.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Candidate Set</b></p></td><td class="cell"><p><b>Subs. Cov.</b></p></td><td class="cell"><p><b>Inst. Cov.</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>basic hype hype2</p></td><td class="cell"><p>344/1152(30%) 404/1152(35%) 419/1152(36%)</p></td><td class="cell"><p>197/300 (66%)</p><p>229/300 (76%) 229/300 (76%)</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><page local="3" global="239"/><p>We tested three options: including the target word, not including the target word (multiwords count as a single word), and not counting punctuation marks.</p><p><b>Back-off: </b>We need a back-off method in case the basic algorithm does not find any matches. We tested the following: sense-ordered synonyms from WordNet (highest sense first, randomly breaking ties), and most frequent synonyms from the first sys­tem (using two corpora: Semcor and BNC).</p><p><b>Number of answers: </b>We also measured the per­formance for different numbers of system outputs (1,2, or 3).</p><p>All in all, we performed 324 (4x3x3x3x3) runs for each PoS, based on the different combinations. The best scores for each PoS are shown in Table 2, together with the baselines. We can see that the pre­cision is above the official WordNet baseline, but is still very low. The results illustrate the difficulty of the task. In error analysis, we observed that the per­formance and settings varied greatly depending on the PoS of the target word. Adverbs produced the best performance, followed by nouns. The scores were very low for adjectives and verbs (the baseline score for verbs was only 2%).</p><p>We will now explain the main conclusions ex­tracted from the parameter analysis. Regarding the candidate set, we observed that using synonyms only was the best approach for all PoS, except for verbs, where hypernyms helped. The option of limiting the candidates to the first sense only helped for adjec­tives, but not for other PoS.</p><p>For the Semcor-based filter, our results showed that the target-sense filter improved the performance for verbs and adverbs. For nouns and adjectives, the candidate-sense filter worked best. All in all, apply­ing the Semcor filters was effective in removing rare senses and improving performance.</p><p>The length criteria did not affect the results signif­icantly, and only made a difference in some extreme cases. Not counting the length of the target word helped slightly for nouns and adverbs, and removing punctuation improved results for adjectives. Regard­ing the back-off method, we observed that the count of frequencies in Semcor was the best approach for all PoS except verbs, which reached their best per­formance with BNC frequencies.</p><p>Table 2: Experiments to tune parameters on the trial data, based on the Best metric. Scores correspond to precision (which is the same as recall).</p><p>Finally, we observed that the performance for the Best score decreased significantly when more than one answer was returned, probably due to the diffi­culty of the task.</p></subsection><subsection number="3.3" title="Syntactic Filter"><p>After the basic parameter analysis, we studied the contribution of a syntactic filter to remove those can­didates that, when substituted, generate an ungram-matical sentence. Intuitively, we would expect this to have a high impact for verbs, which vary consid­erably in their subcategorisation properties. For ex­ample, in the case of the (reduced) target <i>If we <b>order </b>our lives well</i>the syntactic filter should ideally disallow candidates such as <i>If we <b>range </b>our lives well ...</i></p><p>In order to apply this filter, we require a parser which has an explicit notion of grammaticality, rul­ing out the standard treebank parsers. We experi­mented briefly with RASP, but found that the En­glish Resource Grammar (ERG: Flickinger (2002)), combined with the PET run-time engine, was the best fit for out needs. Unfortunately we could not get unknown word handling working within the ERG for our submission, such that we get a meaningful output for a given input string only in the case that the ERG has full lexical coverage over that string (we will never get a spanning parse for an input where we are missing lexical entries). As such, the syntactic filter is limited in coverage only to strings where the ERG has lexical coverage.</p><p>Ideally, we would have tested this filter on trial data, but unfortunately we ran out of time. Thus, we simply eyeballed a sample of examples, and we de­cided to include this filter in our final submission. As we will see in Section 4, its effect was minimal. We plan to perform a complete evaluation of this module in the near future.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PoS</b></p></td><td class="cell"><p><b>Relatives in Context</b></p></td><td class="cell"><p><b>WordNet Baseline</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Nouns</p></td><td class="cell"><p>18.4</p></td><td class="cell"><p>14.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verbs</p></td><td class="cell"><p>6.7</p></td><td class="cell"><p>2.0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Adjectives</p></td><td class="cell"><p>9.6</p></td><td class="cell"><p>7.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Adverbs</p></td><td class="cell"><p>31.1</p></td><td class="cell"><p>29.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overall</p></td><td class="cell"><p>14.4</p></td><td class="cell"><p>10.4</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><page local="4" global="240"/></subsection><subsection number="3.4" title="Extra experiments"><p>One of the limitations of the "Relatives in Context" algorithm is that it only relies on the local con­text. We wanted to explore the contribution of other words in the context for the task, and we performed an experiment including the Topical Signatures re­source (Agirre and Lopez de Lacalle, 2004). We simply counted the overlapping of words shared be­tween the context and the different candidates. We only tested this for nouns, for which the results were below baseline. We then tried to integrate the topic-signature scores with the "Relatives in Context" al­gorithm, but we did not improve our basic system's results on the trial data. Thus, this approach was not included in our final submission.</p><p>Another problem we observed in error analysis was that the Semcor-based filters were too strict in some cases, and it was desirable to have a way of penalising low frequency senses without removing them completely. Thus, we weighted senses by the inverse of their sense-rank. As we did not have time to test this intuition properly, we opted for applying the sense-weighting only when the candidates had the same context-match length, instead of using the number of hits. We will see the effect of this method in the next section.</p></subsection></section><section number="4" title="Final system"><p>The test data consisted of 1,710 instances. For our final system we applied the best configuration for each PoS as observed in the development experi­ments, and the syntactic filter. We also incorpo­rated the sense-weighting to solve ties. The results of our system, the best competing system, and the best baseline (WordNet) are shown in Table 3 for the Best metric. Precision and recall are provided for all the instances, and also for the "Mode" instances (those that have a single preferred candidate).</p><p>Our method outperforms the baseline in all cases, and performs very close to the top system, ranking third out of eight systems. This result is consistent in the "further analysis" tables provided by the task organisers for subsets of data, where our system al­ways performs close to the top score. The overall scores are below 13% recall for all systems when targeting all instances. This illustrates the difficulty of the task, and the similarity of the top-3 scores suggests that similar resources (i.e. WordNet) have been used in the development of the systems.</p><table caption="Table 3: Official results based on theBestmetric."></table><p>After the release of the gold-standard data, we tested two extra settings to measure the effect of the syntactic filter and the sense-weighting in the final score. We observed that our application of the syn­tactic filter had almost no effect in the performance, but sense-weighting increased the overall recall by 0.4% (from 12.3% to 12.7%).</p></section><section number="5" title="Conclusions"><p>Although the task was difficult and the scores were low, we showed that by using WordNet and the lo­cal context we are able to outperform the baselines and achieve close to top performance. For future work, we would like to integrate a parser with un­known word handling in our system. We also aim to adapt the algorithm to match the target context with wildcards, in order to avoid explicitly defining the candidate set.</p></section><section title="Acknowledgments"><p>This research was carried out with support from Australian Re­search Council grant no. DP0663879.</p><table caption="Table 3: Official results based on the Best metric." 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><b>All instances</b></p></td><td class="cell"><p><b>Mode</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>System</b></p></td><td class="cell"><p><b>P R</b></p></td><td class="cell"><p><b>P R</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Best</p></td><td class="cell"><p>12.90 12.90</p></td><td class="cell"><p>20.65 20.65</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Relat. in Context</b></p></td><td class="cell"><p><b>12.68 12.68</b></p></td><td class="cell"><p><b>20.41 20.41</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WordNet baseline</p></td><td class="cell"><p>9.95 9.95</p></td><td class="cell"><p>15.28 15.28</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></section><references><p>Eneko Agirre and Oier Lopez de Lacalle. 2004. Publicly avail­able topic signatures for all WordNet nominal senses. In <i>Proc. of the 4rd International Conference on Languages Re­sources and Evaluations (LREC 2004), </i>pages 1123-6, Lis­bon, Portugal.</p><p>Christiane Fellbaum, editor. 1998. <i>WordNet: An Electronic Lexical Database. </i>MIT Press, Cambridge, USA.</p><p>Dan Flickinger. 2002. On building a more efficient grammar by exploiting types. In Stephan Oepen, Dan Flickinger, Jun'ichi Tsujii, and Hans Uszkoreit, editors, <i>Collaborative Language Engineering. </i>CSLI Publications, Stanford, USA.</p><p>Dekang Lin. 1998. Automatic retrieval and clustering of simi­lar words. In <i>Proceedings ofCOLING-ACL, </i>pages 768-74, Montreal, Canada.</p><p>David Martinez, Eneko Agirre, and Xinglong Wang. 2006. Word relatives in context for word sense disambiguation. In <i>Proc. of the 2006 Australasian Language Technology Work­shop, </i>pages 42-50, Sydney, Australia.</p></references></body></article>