<?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="410"/><title>UNT: SubFinder: Combining Knowledge Sources for Automatic Lexical Substitution</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 410-413, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Hassan" givenname="Samer"><org  name="University of North Texas" country="USA" city="Denton"/></author><author surname="Csomai" givenname="Andras"><org  name="University of North Texas" country="USA" city="Denton"/></author><author surname="Banea" givenname="Carmen"><org  name="University of North Texas" country="USA" city="Denton"/></author><author surname="Sinha" givenname="Ravi"><org  name="University of North Texas" country="USA" city="Denton"/></author><author surname="Mihalcea" givenname="Rada"><org  name="University of North Texas" country="USA" city="Denton"/></author></firstpageheader><frontmatter><p><b>UNT: SubFinder: Combining Knowledge Sources for Automatic Lexical Substitution</b></p><p><b>Samer Hassan, Andras Csomai, Carmen Banea, Ravi Sinha, Rada Mihalcea*</b></p><p>Department of Computer Science and Engineering University of North Texas samer@unt.edu, csomaia@unt.edu, carmenb@unt.edu, rss0089@unt.edu, rada@cs.unt.edu</p></frontmatter><abstract>This paper describes the University of North Texas SubFinder system. The system is able to provide the most likely set of sub­stitutes for a word in a given context, by combining several techniques and knowl­edge sources. SubFinder has successfully participated in the <i>best </i>and <i>out of ten (oot) </i>tracks in the S EMEVAL lexical substitution task, consistently ranking in the first or sec­ond place. </abstract></header><body><section number="1" title="Introduction"><p>Lexical substitution is defined as the task of identify­ing the most likely alternatives (substitutes) for a tar­get word, given its context (McCarthy, 2002). Many natural language processing applications can bene­fit from the availability of such alternative words, including word sense disambiguation, lexical ac­quisition, machine translation, information retrieval, question answering, text simplification, and others.</p><p>The task is closely related to the problem of word sense disambiguation, with the substitutes acting as synonyms for the input word meaning. Unlike word sense disambiguation however, lexical substitution is not performed with respect to a given sense inven­tory, but instead candidate synonyms are generated "on the fly" for a given word occurrence. Thus, lexi­cal substitution can be regarded in a way as a hybrid task that combines word sense disambiguation and distributional similarity, targeting the identification of <i>semantically similar </i>words that <i>fit the context.</i></p></section><section number="2" title="A system for lexical substitution"><p>SubFinder is a system able to provide the most likely set of substitutes for a word in a given context.</p><p>* Contact author.</p><p>In SubFinder, the lexical substitution task is car­ried out as a sequence of two steps. First, candidates are extracted from a variety of knowledge sources; so far, we experimented with WordNet (Fellbaum, 1998), Microsoft Encarta encyclopedia, Roget, as well as synonym sets generated from bilingual dic­tionaries, but additional knowledge sources can be integrated as well. Second, provided a list of candi­dates, a number of ranking methods are applied in a weighted combination, resulting in a final list of lexical substitutes ranked by their semantic fit with both the input target word and the context.</p></section><section number="3" title="Candidate Extraction"><p>Candidates are extracted using several lexical re­sources, which are combined into a larger compre­hensive resource.</p><p><b>WordNet: </b>WordNet is a large lexical database of English, with words grouped into synonym sets called <i>synsets. </i>A problem we encountered with this resource is that often times the only candidate in the synset is the target word itself. Thus, to enlarge the set of candidates, we use both the synonyms and the hypernyms of the target word. We also remove the target word from the synset, to ensure that only vi­able candidates are considered.</p><p><b>Microsoft Encarta encyclopedia: </b>The Microsoft Encarta is an online encyclopedia and thesaurus re­source, which provides for each word the part of speech and a list of synonyms. Using the part of speech as identified in the context, we are able to ex­tract synsets for the target word. An important fea­ture in the Encarta Thesaurus is that the first word in the synset acts as a definition for the synset, and therefore disambiguates the target word. This defi­nition is maintained as a separate entry in the comprehensive resource, and it is also added to its corre­sponding synset.<page local="2" global="411"/></p><p><b>Other Lexical Resources: </b>We have also experi­mented with two other lexical resources, namely the Roget thesaurus and a thesaurus built using bilingual dictionaries. In evaluations carried out on the devel­opment data set, the best results were obtained using only WordNet and Encarta, and thus these are the resources used in the final SubFinder system.</p><p>All these resources entail different forms ofsynset clustering. In order to merge them, we use the largest overlap among them. It is important to note that the choice of the first resource considered has a bearing on the way the synsets are clustered. In experiments ran on the development data set, the best results were obtained using a lexical resource constructed starting with the Microsoft Encarta The­saurus and then mapping the WordNet synsets to it.</p></section><section number="4" title="Candidate Ranking"><p>Several ranking methods are used to score the can­didate substitutes, as described below.</p><p><b>Lexical Baseline (LB): </b>In this approach we use the pre-existing lexical resources to provide a rank­ing over the candidate substitutes. We rank the can­didates based on their occurrence in the two selected lexical resources WordNet and Encarta, with those occurring in both resources being assigned a higher ranking. This technique emphasizes the resources annotators' agreement that the candidates belong in­deed to the same synset.</p><p><b>Machine Translation (MT): </b>We use machine translation to translate the test sentences back-and-forth between English and a second language. From the resulting English translation, we extract the re­placement that the machine translation engine pro­vides for the target word. To locate the translated word we scan the translation for any of the can­didates (and their inflections) as obtained from the comprehensive resource, and score the candidate synset accordingly.</p><p>We experimented with a range of languages such as French, Italian, Spanish, Simplified Chinese, and German, but the best results obtained on the devel­opment data were based on the French translations. This could be explained because French is part of the Romance languages family and synonyms to En­glish words often find their roots in Latin. If we consider again the word <i>bright, </i>it was translated into French as <i>intelligent </i>and then translated back into English as <i>intelligent </i>for obvious reasons. In one instance, <i>intelligent </i>was the best replacement for <i>bright </i>in the trial data. Despite the fact that we also used Italian and Spanish (which are both Latin-based) we can only assume that French worked bet­ter because translation engines are better trained on French. From the resulting English translation, we extract the replacement that the machine translation engine provides for the target word. To locate the translated word we scan the translation for any ofthe candidates (and their inflections) as obtained from the comprehensive resource, and score the candidate synset accordingly. The translation process was car­ried out using Google and AltaVista translation en­gines resulting in two systems <i>MTG </i>and <i>MTA </i>re­spectively. The translation systems feature high pre­cision when a candidate is found (about 20% of the time), at the cost of low recall. The lexical baseline method is therefore used when no candidates are re­turned by the translation method.</p><p><b>Most Common Sense (MCS): </b>Another method we use for ranking candidates is to consider the first word appearing in the first synset returned by WordNet. When no words other than the target word are available in this synset, the method recur­sively searches the next synset available for the tar­get word. In order to guarantee a sufficient number of candidates, we use the lexical baseline method as a baseline.</p><p><b>Language Model (LM): </b>We model the semantic fit of a candidate substitute within the given context using a language model, expressed using the condi­tional probability:</p><doubt alpha="44.1" length="34" tooSmall="False" monospace="0.0">P(c|g) =P(c, g)/P(g)»Count(c,g)(1)</doubt><p>where c represents a possible candidate and <i>g </i>rep­resents the context. The probability <i>P(g) </i>of the context is the same for all the candidates, hence we can ignore it and estimate <i>P(c| </i><i>g)</i><i> </i>as the N-gram fre­quency of the context where the target word is re­placed by the proposed candidate. To avoid skewed counts that can arise from the different morpholog­ical inflections of the target word or the candidate and the bias that the context might have toward any specific inflection, we generalize P(c|g) to take into account all the inflections of the selected candidate as shown in equation 2.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><doubt alpha="60.9" length="23" tooSmall="False" monospace="0.0">Pn(clg)»ECount(ct,g)(2)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">i=1</doubt><p>where n is the number of possible inflections for the candidate <i>c.</i></p><p>We use the Google N-gram dataset to calculate the term <i>Count(c</i><i>i </i><i>g). </i>The Google N-gram corpus is a collection of English N-grams, ranging from one to five N-grams, and their respective frequency counts observed on the Web (Brants and Franz, 2006).<page local="3" global="412"/> In order for the model to give high preference to the longer N-grams, while maintaining the relative fre­quencies of the shorter N-grams (typically more fre­quent), we augment the counts of the higher order N-grams with the maximum counts of the lower or­der N-grams, hence guaranteeing that the score as­signed to an N-gram of order <i>N </i>is higher than the the score of an N-gram of order <i>N — </i>1.</p><p><b>Semantic Relatedness using Latent Semantic Analysis (LSA): </b>We expect to find a strong se­mantic relationship between a good candidate and the target context. A relatively simple and efficient way to measure such a relatedness is the Latent Se­mantic Analysis (Landauer et al., 1998). Documents and terms are mapped into a 300 dimensional latent semantic space, providing the ability to measure the semantic relatedness between two words or a word and a context. We use the InfoMap package from Stanford University's Center for the Study of Lan­guage and Information, trained on a collection of approximately one million Wikipedia articles. The rank of a candidate is given by its semantic related-ness to the entire context sentence.</p><p><b>Information Retrieval (IR): </b>Although the Lan­guage Model approach is successful in ranking the candidates, it suffers from the small N-gram size im­posed by using the Google N-grams corpus. Such a restriction is obvious in the following 5-gram ex­ample <i>who was a bright boy </i>in which the context is not sufficient to disambiguate between <i>happy </i>and <i>smart </i>as possible candidates. As a result, we adapt an information retrieval approach which uses all the content words available in the given context. Similar to the previous models, the target word in the con­text is replaced by all the generated inflections of the selected candidate and then queried using a web search engine. The resulting rank represents the sum of the total number of pages in which the candidate or any of its inflections occur together with the con­text. This also reflects the semantic relatedness or the relevance of the candidate to the context.</p><p><b>Word Sense Disambiguation (WSD): </b>Since pre­vious work indicated the usefulness of word sense disambiguation systems in lexical substitution (Da-gan et al., 2006), we use the SenseLearner word sense disambiguation tool (Mihalcea and Csomai, 2005) to disambiguate the target word and, accord­ingly, to propose its synonyms as candidates.</p><p><b>Final System: </b>Our candidate ranking methods are aimed at different aspects of what constitutes a good candidate. On one hand, we measure the semantic relatedness of a candidate with the original context (the LSA and WSD methods fall under this cate­gory). On the other hand, we also want to ensure that the candidate fits the context and leads to a well formed English sentence (e.g., the language model method). Given that the methods described earlier aim at orthogonal aspects of the problem, it is ex­pected that a combination of these will provide a better overall ranking.</p><p>We use a voting mechanism, where we consider the reciprocal of the rank of each candidates as given by one of the described methods. The final score of a candidate is given by the decreasing order of the weighted sum of the reciprocal ranks:</p><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">sœre(a)=]T\m-L</doubt><p><i>m£rankings c</i></p><p>To determine the weight <i>X </i>of each individual ranking we run a genetic algorithm on the develop­ment data, optimized for the <i>mode </i>precision and re­call. Separate sets of weights are obtained for the <i>best </i>and <i>oot </i>tasks. Table 1 shows the weights of the individual ranking methods. As expected, for the <i>best </i>task, the language model type of methods obtain higher weights, whereas for the <i>oot </i>task, the semantic methods seem to perform better.</p></section><section number="5" title="Results and Discussion"><p>The SubFinder system participated in the <i>best </i>and the <i>oot </i>tracks of the lexical substitution task. The <i>best </i>track calls for any number of best guesses, with the most promising one listed first. The credit for each correct guess is divided by the number of guesses. The <i>oot </i>track allows systems to make up to 10 guesses, without penalizing, and without being of any benefit if less than 10 substitutes are provided. The ordering of guesses in the <i>oot </i>metric is unim­portant.</p><p>For both tracks, the evaluation is carried out using precision and recall, calculated based on the number of matching responses between the system and the human annotators, respectively. A "mode" evalua­tion is also conducted, which measures the ability of the systems to capture the most frequent response (the "mode") from the gold standard annotations. For details, please refer to the official task descrip­tion document (McCarthy and Navigli, 2007).</p><p>Tables 2 and 3 show the results obtained by Sub-Finder in the <i>best </i>and <i>oot </i>tracks respectively. The tables also show a breakdown of the results based on:<page local="4" global="413"/> only target words that were not identified as multiwords (NMWT); only substitutes that were not identified as multiwords (nmws); only items with sentences randomly selected from the Internet cor­pus (rand); only items with sentences manually se­lected from the Internet corpus (MAN).</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">overall</doubt><p>nmwt nmws rand man</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">WordNet</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">Lin</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">nmwt</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">nmws</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">rand</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">man</doubt><p>Analysis</p><doubt alpha="5.9" length="34" tooSmall="False" monospace="0.0">T346—T3~46"13.79 13.79 12.85 12.85</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">12.69 12.69</doubt><p>Baselines</p><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">"995935"</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">8.84 8.53</doubt><p>Table 2: best results</p><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">—P-R~"</doubt><doubt alpha="53.6" length="28" tooSmall="False" monospace="0.0">49..19 49.19Further Analysis</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">51.13 51.13</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">54.01 54.01</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">51.71 51.71</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">46.26 46.26</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">"2970—2935"</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">27.70 26.72</doubt><doubt alpha="62.5" length="16" tooSmall="False" monospace="0.0">Mode P    Mode R</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">20.73 20.73</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">21.63 21.63</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">21.59 21.59</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">20.18 20.18</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">21.35 21.35</doubt><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">15.28 15.28 14.69 14.23</doubt><doubt alpha="40.0" length="25" tooSmall="False" monospace="0.0">Mode P Mode R 66.26 66.26</doubt><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">68.03 68.03 70.15 70.15</doubt><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">68.04 68.04 64.24 64.24</doubt><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">40.57 40.57 40.47 39.19</doubt><p>Table 3: OOT results</p><p>Compared to other systems participating in this task, our system consistently ranks on the first or second place. SubFinder clearly outperforms all the other systems for the "mode" evaluation, show­ing the ability of the system to find the substitute most often preferred by the human annotators. In addition, the system exceeds by a large margin all the baselines calculated for the task, which select substitutes based on existing lexical resources (e.g., WordNet or Lin distributional similarity).</p><p>Separate from the "official" submission, we ran a second experiment where we optimized the com­bination weights targeting high precision and recall (rather than high <i>mode). </i>An evaluation ofthe system using this new set of weights yields a precision and recall of 13.34 with a <i>mode </i>of 21.71 for the <i>best </i>task, surpassing the best system according to the anony­mous results report. For the <i>oot </i>task, the precision and recall increased to 50.30, still maintaining sec­ond place.</p></section><section number="6" title="Conclusions"><p>The lexical substitution task goes beyond simple word sense disambiguation. To approach such a task, we first need a good comprehensive and precise lexical resource for candidate extraction. Secondly, we need to semantically filter the highly diverse and ambiguous set of candidates, while taking into ac­count their fitness in the context in order to form a proper linguistic expression. To accomplish this, we built a system that incorporates lexical, semantic, and probabilistic methods to capture both the seman­tic similarity with the target word and the semantic fit in the context. Compared to other systems partic­ipating in this task, our system consistently ranks on the first or second place. SubFinder clearly out­performs all the other systems for the "mode" eval­uation, proving its ability to find the substitute most often preferred by the human annotators.</p></section><section title="Acknowledgments"><p>This work was supported in part by the Texas Ad­vanced Research Program under Grant #003594. The authors are grateful to the Language and Infor­mation Technologies research group at the Univer­sity of North Texas for many useful discussions and feedback on this work.</p><table caption="Table 1: Weights of the individual ranking methods" 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></p></td><td class="cell"><p>WSD</p></td><td class="cell"><p>LSA</p></td><td class="cell"><p>IR</p></td><td class="cell"><p>LB</p></td><td class="cell"><p>MCS</p></td><td class="cell"><p>MTA</p></td><td class="cell"><p>MTG</p></td><td class="cell"><p>LM</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>34</p></td><td class="cell"><p>2</p></td><td class="cell"><p>64</p></td><td class="cell"><p>63</p></td><td class="cell"><p>56</p></td><td class="cell"><p>69</p></td><td class="cell"><p>38</p></td><td class="cell"><p>97</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>oot</p></td><td class="cell"><p>6</p></td><td class="cell"><p>82</p></td><td class="cell"><p>7</p></td><td class="cell"><p>28</p></td><td class="cell"><p>46</p></td><td class="cell"><p>14</p></td><td class="cell"><p>32</p></td><td class="cell"><p>68</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></section><references><p>T. Brants and A. Franz. 2006. Web 1t 5-gram version 1. Linguistic Data Consortium.</p><p>I. Dagan, O. Glickman, A. Gliozzo, E. Marmorshtein, and C. Strapparava. 2006. Direct word sense match­ing for lexical substitution. In <i>Proceedings of the In­ternational Conference on Computational Linguistics ACL/COLING 2006.</i></p><p>C. Fellbaum. 1998. <i>WordNet, An Electronic Lexical Database. </i>The MIT Press.</p><p>T. K. Landauer, P. Foltz, and D. Laham. 1998. Introduc­tion to latent semantic analysis. <i>Discourse Processes,</i> 25.</p><p>D. McCarthy and R. Navigli. 2007. The semeval English lexical substitution task. In <i>Proceedings ofthe ACL Semeval workshop.</i></p><p>D. McCarthy. 2002. Lexical substitution as a task for wsd evaluation. In <i>Proceedings ofthe ACL Workshop on Word Sense Disambiguation: Recent Successes and Future Directions, </i>Philadelphia.</p><p>R. Mihalcea and A. Csomai. 2005. Senselearner: Word sense disambiguation for all words in unrestricted text. In <i>Proceedings of the 43nd Annual Meeting of the As­sociation for Computational Linguistics, </i>Ann Arbor,</p><p>MI.</p><doubt alpha="13.3" length="15" tooSmall="False" monospace="0.0">P R12..77 12.77</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Further</doubt></references></body></article>