<?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="165"/><title>HIT-IR-WSD: A WSD System for English Lexical Sample Task</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 165-168, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Guo" givenname="Yuhang"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Che" givenname="Wanxiang"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Hu" givenname="Yuxuan"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Zhang" givenname="Wei"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author><author surname="Liu" givenname="Ting"><org  name="Harbin Institute of Technology" country="China" city="Harbin"/></author></firstpageheader><frontmatter><p><b>HIT-IR-WSD: A WSD System for English Lexical Sample Task</b></p><p><b>Yuhang Guo, Wanxiang Che, Yuxuan Hu, Wei Zhang and Ting Liu</b></p><p>Information Retrieval Lab Harbin Institute of technology Harbin, China, 150001</p><p>{yhguo,wxche}@ir.hit.edu.cn</p></frontmatter><abstract>HIT-IR-WSD is a word sense disambigua­tion (WSD) system developed for English lexical sample task (Task 11) of Semeval 2007 by Information Retrieval Lab, Harbin Institute of Technology. The system is based on a supervised method using an SVM classifier. Multi-resources including words in the surrounding context, the part-of-speech of neighboring words, colloca­tions and syntactic relations are used. The final micro-avg raw score achieves 81.9% on the test set, the best one among partici­pating runs. </abstract></header><body><section number="1" title="Introduction"><p>Lexical sample task is a kind of WSD evaluation task providing training and test data in which a small pre-selected set of target words is chosen and the target words are marked up. In the training data the target words' senses are given, but in the test data are not and need to be predicted by task par­ticipants.</p><p>HIT-IR-WSD regards the lexical sample task as a classification problem, and devotes to extract effective features from the instances. We didn't use any additional training data besides the official ones the task organizers provided. Section 2 gives the architecture of this system. As the task pro­vides correct word sense for each instance, a su­pervised learning approach is used. In this system, we choose Support Vector Machine (SVM) as classifier. SVM is introduced in section 3. Know­ledge sources are presented in section 4. The last section discusses the experimental results and present the main conclusion of the work performed.</p></section><section number="2" title="The Architecture of the System"><p>HIT-IR-WSD system consists of 2 parts: feature extraction and classification. Figure 1 portrays the architecture of the system.</p><doubt alpha="87.5" length="8" tooSmall="True" monospace="0.0">Rcsu Its</doubt><figure caption="Figure 1: The architecture of HIT-IR-WSD"></figure><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><footnote anchor="1"/></p></td><td class="cell"><p></p></td><td class="cell"><p><footnote anchor="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>Selector using a window</p></td><td class="cell"><p></p></td><td class="cell"><p>Morphy</p></td><td class="cell"><p></p></td><td class="cell"><p>Parser</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></tr></table><page local="2" global="166"/><p>Features are extracted from original instances and are made into digitized features to feed the SVM classifier. The classifier gets the features of training data to make a model of the target word. Then it uses the model to predict the sense of target word in the test data.</p></section><section number="3" title="Learning Algorithm"><p>SVM is an effective learning algorithm to WSD (Lee and Ng, 2002). The SVM tries to find a hyperplane with the largest margin separating the training samples into two classes. The instances in the same side of the hyperplane have the same class label. A test instance's feature decides the position where the sample is in the feature space and which side of the hyperplane it is. In this way, it leads to get a prediction. SVM could be extended to tackle multi-classes problems by using one-against-one or one-against-rest strategy.</p><p>In the WSD problem, input of SVM is the fea­ture vector of the instance. Features that appear in all the training samples are arranged as a vector space. Every instance is mapped to a feature vector. If the feature of a certain dimension exists in a sample, assign this dimension 1 to this sample, else assign it 0. For example, assume the feature vector space is <i>&lt;x1, x2, x3, x4, x5, x6, x7&gt;; </i>the instance is <i>"x2 x6 x5 x7". </i>The feature vector of this sample should be <i>&lt;0, 1, 0, 0, 1, 1, 1&gt;.</i></p><p>The implementation of SVM here is libsvm<footnote anchor="1"/>(Chang and Lin, 2001) for multi-classes.</p></section><section number="4" title="Knowledge Sources"><p>We used 4 kinds of features of the target word and its context as shown in Table 1.</p><p>Part of the original text of an example is "<i>.</i>..</p><p><i>This is the &lt;head&gt;age&lt;/head&gt; of new media , the <u>era </u></i><i><u>of...".</u></i></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">Name</doubt><p>Surrounding words</p><p>Part-of-speech</p><p>WordNet <u>(morph)<footnote anchor="2"/></u></p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Example</doubt><p>this, be, age, new, <u>medium,   era, ...</u></p><p>SVMTool<footnote anchor="3"/></p><doubt alpha="40.5" length="42" tooSmall="False" monospace="0.0">DT_0, VBZ_0, DT_0, NN_t, IN_1, JJ_1,NNS 1_</doubt><p>http://www.csie.ntu.edu.tw/~cjlin/libsvm/ <footnote anchor="2"/> http://wordnet.princeton.edu/man/morph.3WN.html</p><subsection number="4.1" title="Words in the Surrounding Context"><p>We take the neighboring words in the context of the target word as a kind of features ignoring their exact position information, which is called bag-of-words approach.</p><p>Mostly, a certain sense of a word is tend to ap­pear in a certain kind of context, so the context words could contain some helpful information to disambiguate the sense of the target word.</p><p>Because there would be too many context words to be added into the feature vector space, data sparseness problem is inevitable. We need to re­duce the sparseness as possible as we can. A sim­ple way is to use the words' morphological root forms. In addition, we filter the tokens which con­tain no alphabet character (including punctuation symbols) and stop words. The stop words are tested separately, and only the effective ones would be added into the stop words list. All re­maining words in the instance are gathered, con­verted to lower case and replaced by their morpho­logical root forms. The implementation for getting the morphological root forms is WordNet (morph).</p></subsection><subsection number="4.2" title="Part-of-Speechs of Neighboring Words"><p>As mentioned above, the data sparseness is a se­rious problem in WSD. Besides changing tokens to their morphological root forms, part-of-speech is a good choice too. The size of POS tag set is much smaller than the size of surrounding words set. And the neighboring words' part-of-speeches also contain useful information for WSD. In this part, we use a POS tagger (Giménez and Marquez, 2004) to assign POS tags to those tokens.</p><p>We get the left and right 3 words' POS tags to­gether with their position information in the target words' sentence.</p><p>For example, the word <i>age </i>is to be disambi-guated  in the  sentence  of  <i>".</i><i>    This  is the</i> <b>Extraction</b> <i>&lt;head&gt;age&lt;/head&gt; of new media , the era of.</i><page local="3" global="167"/><i>..". </i>The features then will be added to the feature vec­tor are <i>"DT0,</i><i> </i><i>VBZ0,</i><i> </i><i>DT0,</i><i> NN_t, IN_1, </i><i>JJ1,</i><i> NNS_1", </i>in which <i>_0/_1 </i>stands for the word with current POS tag is in the left/right side of the target word. The POS tag set in use here is Penn Tree-bank Tagset<footnote anchor="5"/>.</p><footnote>http://www.lsi.upc.es/~nlp/SVMTool/</footnote><footnote>http://w3.msi.vxu.se/~nivre/research/MaltParser.html</footnote><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Tools</doubt><table caption="Table 1: Features the system extracted The next 4 subsections elaborate these features." 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>Collocation</p></td><td class="cell"><p></p></td><td class="cell"><p>this_0, be_0, the_0, age_t, of_1, new_1, medium_1, ,_1, the_1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Syntactic relation</p></td><td class="cell"><p>MaltParser<footnote anchor="4"/></p></td><td class="cell"><p>SYN HEAD is SYN HEADPOS VBZ SYN RELATION PRD SYN HEADRIGHT</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></subsection><subsection number="4.3" title="Collocations"><p>Different from bag-of-words, collocation feature contains the position information of the target words' neighboring words. To make this feature in the same form with the bag-of-words, we appended a symbol to each of the neighboring words' mor­phological root forms to mark whether this word is in the left or in the right of the target word. Like POS feature, collocation was extracted in the sen­tence where the target word belongs to. The win­dow size of this feature is 5 to the left and 5 to the right of the target word, which is attained by em­pirical value. In this part, punctuation symbol and stop words are not removed.</p><p>Take the same instance last subsection has men­tioned as example. The features we extracted are <i>"this_0, be_0, the_0, age_t, of_1, new_1, me­dium </i><i>l".</i><i> </i>Like POS, <i>_0/_1 </i>stands for the word is in the left/right side of the target word. Then the features were added to the feature vector space.</p></subsection><subsection number="4.4" title="Syntactic Relations"><p>Many effective context words are not in a short distance to the target word, but we shouldn't en­large the window size too much in case of includ­ing too many noises. A solution to this problem is to use the syntactic relations of the target word and its parent head word.</p><p>We use Nivre et al., (2006)'s dependency parser. In this part, we get 4 features from every instance: head word of the target word, the head word's POS, the head word's dependency relation with the tar­get word and the relative position of the head word to the target word.</p><p>Still take the same instance which has been mentioned in the las subsection as example. The features we extracted are <i>"SYN_HEAD_is, SYN_HEADPOS_VBZ, SYN_RELATION_PRD, SYNHEADRIGHT", </i>in which <i>SYN_HEAD_is </i>stands   for   <i>is   </i>is   the   head   word   of age; <i>SYN_HEADPOS_VBZ </i>stands for the POS of the head word <i>is </i>is VBZ; <i>SYN_RELATION_PRD </i>stands for the relationship between the head word <i>is   </i>and   target   word   <i>age   </i>is   <i>PRD; </i>and <i>SYN_HEADRIGHT </i>stands for the target word <i>age</i> is in the right side of the head word <i>is.</i><i></i></p></subsection></section><section number="5" title="Data Set and Results"><p>This English lexical sample task: Semeval 2007 task 11<footnote anchor="6"/> provides two tracks of the data set for par­ticipants. The first one is from LDC and the second from web.</p><p>We took part in this evaluation in the second track. The corpus is from web. In this track the task organizers provide a training data and test data set for 20 nouns and 20 adjectives.</p><p>In order to develop our system, we divided the training data into 2 parts: training and development sets. The size of the training set is about 2 times of the development set. The development set contains 1,781 instances.</p><p>4 kinds of features were merged into 15 combi­nations. Here we use a vector (V) to express which features are used. The four dimensions stand for syntactic relations, POS, surrounding words and collocations, respectively. For example, <i>1010 </i>means that the syntactic relations feature and the</p><p>From Table 2, we can conclude that the sur­rounding words feature is the most useful kind of features. It obtains much better performance than other kinds of features individually. In other words, without it, the performance drops a lot. Among these features, syntactic relations feature is the most unstable one (the improvement with it is un­stable), partly because the performance of the de­pendency parser is not good enough. As the ones with the vector 0111 and 1111 get the best perfor-</p><p>' http://www.lsi.upc.es/~nlp/SVMTool/PennTreebank.html<page local="4" global="168"/></p><footnote label="6">http://nlp.cs.swarthmore.edu/semeval/tasks/task11/descript ion.shtml</footnote><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><b>V</b></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"><p><b>V</b></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0001</p></td><td class="cell"><p>78.6%</p></td><td class="cell"><p>1001</p></td><td class="cell"><p>78.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0010</p></td><td class="cell"><p>80.3%</p></td><td class="cell"><p>1010</p></td><td class="cell"><p>81.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0011</p></td><td class="cell"><p>82.0%</p></td><td class="cell"><p>1011</p></td><td class="cell"><p>82.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0100</p></td><td class="cell"><p>70.4%</p></td><td class="cell"><p>1100</p></td><td class="cell"><p>73.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0101</p></td><td class="cell"><p>79.0%</p></td><td class="cell"><p>1101</p></td><td class="cell"><p>79.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0110</p></td><td class="cell"><p>82.1%</p></td><td class="cell"><p>1110</p></td><td class="cell"><p>82.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0111</p></td><td class="cell"><p><b>82.9%</b></p></td><td class="cell"><p>1111</p></td><td class="cell"><p><b>82.9%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1000</p></td><td class="cell"><p>72.6%</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>Table 2: Results of Combinations o</p></td><td class="cell"><p>'Features</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><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">82.9%</doubt><p>mance, we chose all of these kinds of features for our final system.</p><p>A trade-off parameter C in SVM is tuned, and the result is shown in Figure 2. We have also tried 4 types of kernels of the SVM classifier (parame­ters are set by default). The experimental results show that the linear kernel is the most effective as Table 3 shows.</p><p><b>Performance Curve with C Parameter</b></p><doubt alpha="0.0" length="13" tooSmall="True" monospace="0.0">52-30% 82.30%</doubt><figure caption="Figure 2: Accuracy with different C parameters"></figure><p><b>Kernel Function Type</b> <b>Accuracy</b></p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Linear</doubt><p><b>Poly­nomial</b> able 3: Accuracy with different kernel function</p><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">68.3%</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">RBF</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">68.3% 68.3%</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">types</doubt><p>Another experiment (as shown in Figure 3) also validate that the linear kernel is the most suitable one. We tried using polynomial function. Unlike the parameters set by default above (g=1/k, d=3), here we set its Gama parameter as 1 (g=1) but oth­er parameters excepting degree parameter are still set by default. The performance gets better when the degree parameter is tuned towards 1. That means the closer the kernel function to linear func­tion the better the system performs.</p><p><b>Performance Curve with Degree Parameter</b></p><doubt alpha="0.0" length="8" tooSmall="True" monospace="0.0">84.00% -</doubt><doubt alpha="46.7" length="15" tooSmall="True" monospace="0.0">B2.oo% eo.oo% -</doubt><doubt alpha="0.0" length="60" tooSmall="True" monospace="0.0">78.00% -76.00% -!-\ 00% 72.00% -70.00% 68.00% -66.00% 64.00%</doubt><figure caption="Figure 3: Accuracy with different degree in po­lynomial function"></figure><p>In order to get the relation between the system performance and the size of training data, we made several groups of training-test data set from the training data the organizers provided. Each of them has the same test data but different size of training data which are 2, 3, 4 and 5 times of the test data respectively. Figure 4 shows the performance curve with the training data size. Indicated in Fig­ure 4, the accuracy increases as the size of training data enlarge, from which we can infer that we could raise the performance by using more training data potentially.</p><p><b>Performance curve</b></p><doubt alpha="76.2" length="42" tooSmall="True" monospace="0.0">Sizcof training data (1e.ildflla size is1]</doubt><figure caption="Figure 4: Accuracy's trend with the training da­ta size"></figure><p>Feature extraction is the most time-consuming part of the system, especially POS tagging and parsing which take 2 hours approximately on the training and test data. The classification part (using libsvm) takes no more than 5 minutes on the train­ing and test data. We did our experiment on a PC with 2.0GHz CPU and 960 MB system memory.</p><p>Our official result of HIT-IR-WSD is: micro-avg raw score 81.9% on the test set, the top one among the participating runs.</p><p><b>Acknowledgement</b></p><p>We gratefully acknowledge the support for this study provided by the National Natural Science Foundation of China (NSFC) via grant 60435020, 60575042, 60575042 and 60675034.</p></section><references><p>Lee, Y. K., and Ng, H. T. 2002. <i>An empirical evaluation of knowledge sources and learning algorithms for word sense disambiguation. </i>In <i>Proceedings of EMNLP02, </i>41-48.</p><p>Chih-Chung Chang and Chih-Jen Lin, 2001. <i>LIBSVM: a library for support vector machines.</i></p><p>Jesus Giménez and Lluis Marquez. 2004. <i>SVMTool: A general POS tagger generator based on Support Vec­tor Machines. </i>Proceedings of the 4th International Conference on Language Resources and Evaluation (LREC'04). Lisbon, Portugal.</p><p>Nivre, J., Hall, J., Nilsson, J., Eryigit, G. and Marinov, S. 2006. <i>Labeled Pseudo-Projective Dependency Pars­ing with Support Vector Machines. </i>In <i>Proceedings of the Tenth Conference on Computational Natural Language Learning (CoNLL).</i></p><p><b>Sig­moid</b></p></references></body></article>