<?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="135"/><title>Japanese Word Sense Disambiguation using the Simple Bayes and Support Vector Machine Methods</title><author surname="Murata" givenname="Masaki"><org  name="Communications Research Laboratory" country="Japan" city="Kyoto"/></author><author surname="Utiyama" givenname="Masao"><org  name="Communications Research Laboratory" country="Japan" city="Kyoto"/></author><author surname="Uchimoto" givenname="Kiyotaka"><org  name="Communications Research Laboratory" country="Japan" city="Kyoto"/></author><author surname="Ma" givenname="Qing"><org  name="Communications Research Laboratory" country="Japan" city="Kyoto"/></author><author surname="Isahara" givenname="Hitoshi"><org  name="Communications Research Laboratory" country="Japan" city="Kyoto"/></author></firstpageheader><frontmatter><p>Japanese word sense disambiguation using the simple Bayes and</p><p>support vector machine methods</p><p><b>Masaki Murata, Masao Utiyama, Kiyotaka Uchimoto, Qing Ma, </b>and <b>Hitoshi Isahara</b></p><p>Communications Research Laboratory 2-2-2 Hikaridai, Seika-cho, Soraku-gun, Kyoto, 619-0289, Japan</p></frontmatter><abstract>We submitted four systems to the Japanese dictionary-based lexical-sample task of Senseval-2. They were i) the support vector machine method ii) the simple Bayes method, iii) a method combining the two, and iv) a method combining two kinds of each. The combined methods obtained the best precision among the submitted systems. After the contest, we tuned the parameter used in the simple Bayes method, and it obtained higher precision. An explanation of these systems used in Japanese word sense disambiguation was provided. </abstract></header><body><section number="1" title="Introduction"><p>We participated in the Japanese dictionary-based lexical-sample task of the Senseval-2 contest. We used machine learning approaches and submitted four systems. After the con­test, we tuned the parameter used in the simple Bayes method and carried out additional exper­iments. In this paper, we explain the systems and their experimental results.</p></section><section number="2" title="Task Descriptions"><p>The test data included 10,000 instances for eval­uation. The RWC corpus (Shirai et al., 2001) was given as the training data. It was made from 3000 articles published in the Mainichi Newspaper. The nouns, verbs, and adjectives (the total number of which was about 150,000) were assigned sense tags defined on the basis of the Iwanami dictionary. The purpose of this task was to estimate the sense of a word by us­ing its context.</p></section><section number="3" title="Methods"><p>Because the word sense assigned to each word is dependent on the word itself, estimations were conducted using machine learning meth­ods for each word. That is, we constructed as many learning machines as there were individ­ual words.</p><p>We used the simple Bayes and support vec­tor machine methods as the machine learning method.<footnote anchor="1"/> In this section, we explain each of the machine learning methods and then explain the method combining several of them.</p><subsection number="3.1" title="Simple Bayes Method"><p>This method estimates probability based on the Bayes theory. The category (i.e., the sense tag) with the highest probability is judged to be the desired one. This is a basic approach to the disambiguation of word sense. The probability of category <i>a</i><i> </i>appearing in context <i>b</i><i> </i>is defined as:</p><doubt alpha="30.0" length="20" tooSmall="False" monospace="0.0">P(a\b)=   gp(6|o)(1)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><p>where context 6 is a set of features <i>fj(E</i><i> </i>F, 1 &lt; <i>j</i><i> </i><i>&lt;</i><i> </i><i>k)</i><i> </i>that is defined in advance. <i>p(b) </i>is the probability of context 6, which is not calculated because it is a constant and is not dependent on category <i>a. p(a) </i>and <i>p(fi\a) </i>are the prob­abilities estimated by using the training data and indicate the probability of the occurrence of category <i>a </i>in the examples of the training data and the probability of feature <i>fa </i>occur­ring, given category a, respectively. When we use the maximum likelihood estimation to cal­culate p(/i|a), which often has a value of 0 and is therefore difficult to estimate the desired cat­egory, smoothing process is used. We used this</p><p><b>We made preliminary experiments using various methods: the simple Bayes, the decision list, the max­imum entropy, and the support vector machine. The results showed that the simple Bayes and support vector machine methods were better than the other two (Mu­rata et al., 2001). We used these two methods in the contest.</b></p><page local="2" global="136"/><p><b>Large Margin</b></p><figure caption="Figure 1: Maximizing the margin"></figure><p>equation for smoothing:</p><doubt alpha="53.7" length="54" tooSmall="False" monospace="0.0">freq(fi,a)+e* freq(a)P[flW~   freq(a) + e*freq(a)   'W</doubt><p>where <i>freq(fi, </i><i>a)</i><i> </i>is the number of events that have the feature <i>fa </i>and whose category is <i>a </i>and <i>freq(a) </i>is the number of events whose category is <i>a. e </i>is a constant set by experimentation. In this study, we used 0.01 and 0.0001 as e.<footnote anchor="2"/></p></subsection><subsection number="3.2" title="Support Vector Machine Method"><p>In this method, data consisting of two categories is classified by using a hyperplane to divide a space. When the two categories are, for exam­ple, positive and negative, enlarging the margin between the positive and negative examples in the training data (see Figure l<footnote anchor="3"/>) reduces the possibility of incorrectly choosing categories in test data. The hyperplane that maximizes the margin is thus determined, and classification is carried out using that hyperplane. Although the basics of this method are the same as those described above, in the extended versions of the method, the region between the margins through the training data can include a small number of examples, and the linearity of the hyperplane can be changed to a non-linearity by using kernel functions. The classification in the extended versions is equivalent to the classi­fication using the following function (Equation (4)), and the two categories can be classified on the basis of whether the value output by the function is positive or negative (Cristianini and Shawe-Taylor, 2000; Kudoh, 2000):</p><footnote label="2">In the Senseval -2 contest, we used 0.01 as e. After the contest, we tested several values (0.1 to 0.00000001) as e. We confirmed that e = 0.0001 produced the best results using 10-fold cross validation in the training data.</footnote><footnote label="3">In the figure, the white and black circles indicate positive and negative examples, respectively. The solid line indicates the hyperplane that divides the space, and the broken lines indicate the planes that mark the mar­gins.</footnote><doubt alpha="50.0" length="26" tooSmall="False" monospace="0.0">/(x)   =sgn1aiyiK(xi,x) +b</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">b =</doubt><doubt alpha="65.4" length="26" tooSmall="False" monospace="0.0">maxi,yi=:-ibi + mim,yi=ibi</doubt><p>where x is the context (a set of features) of an input example, indicates the context of a training datum, <i>yi</i><i> (i </i>= l,...,£,y^ G {1,-1}) indicates its category, and the function <i>sgn </i>is</p><doubt alpha="33.3" length="15" tooSmall="False" monospace="0.0">sgn(x) =1(x&gt;0),</doubt><p><b>— 1 </b><i>(otherwise).</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt><p>Each <i>ai</i><i> (i </i>= 1,2...) is fixed as the value of <i>ai</i><i> </i>that maximizes the value of <i>L(a) </i>in Equation (6) under the conditions set by Equations (7) and (8).</p><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">i1i</doubt><doubt alpha="64.5" length="31" tooSmall="False" monospace="0.0">L(ol)=Y2ai~9aiajyiyjKixuXj) (6)</doubt><doubt alpha="66.7" length="3" tooSmall="True" monospace="0.0">t=i</doubt><doubt alpha="23.5" length="17" tooSmall="False" monospace="0.0">0&lt;a»&lt;C(t=l,...,/)</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">OLiyi -0</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>Function <i>K </i>is called a kernel function and var­ious functions are used as kernel functions. We have used the following polynomial function ex­clusively.</p><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">tf(x,y)=(x.y+ l)'</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p><i>C </i>and <i>d </i>are constants set by experimentation. For all of the experiments reported in this pa­per, <i>C </i>was fixed as 1 and <i>d </i>was fixed as 2.</p><p>A set of <b>Xj </b>that satisfies <i>a%</i><i> </i><i>&gt;</i><i> </i>0 is called a support vector <i>(SVS)*. </i>The summation portion of Equation (4) was calculated using only the examples that were support vectors.</p><p>Support vector machine methods are capable of handling data consisting of two categories. In general, data consisting of more than two cate­gories is handled by using the pair-wise method (Kudoh and Matsumoto, 2000).</p><p>In this method, for data consisting of N cat­egories, pairs of two different categories (N(N-l)/2 pairs) are constructed.  The better cate-</p><p><b>^In Figure 1, the circles in the broken lines indicate support vectors.</b></p><page local="3" global="137"/><p>gory is determined by using a 2-category clas­sifier (in this paper, a support vector machine<footnote anchor="5"/>was used as the 2-category classifier), and the correct category is finally determined by "vot­ing" on the N(N-l)/2 pairs that result from analysis using the 2-category classifier.</p><p>The support vector machine method is, in fact, performed by combining the support vec­tor machine and pair-wise methods described above.</p></subsection><subsection number="3.3" title="Combined Method"><p>Our combined method changed the used machine-learning method for each word. The used method for each word was the best one for the word in the 10-fold cross validation<footnote anchor="6"/> on the training data among the given methods for combination.</p><p>We used the following three kinds of combi­nations.</p><p>• Combined method 1</p><p>a combination of the simple Bayes and support vector machine methods a combination of two kinds of the simple Bayes method and two kinds of the support vector machine method (Here, "the two kinds" indicate an instance where all features were used and where the syn­tactic feature alone were not).• Combined method 2</p><p><footnote anchor="7"/> a combination of two kinds of the simple Bayes method (Here, "the two kinds" indicate instance where e = 0.• Combined method 3</p><p>0001 and another where e = 0.01).</p></subsection></section><section number="4" title="Features (information used in classification)"><p>In this paper, the following are defined as fea­tures.</p><p><b>• Features based on strings</b></p><p>- strings in the analyzed morpheme</p><p>- strings of 1 to 3-grams just before the an­alyzed morpheme</p><footnote label="5">We used Kudoh's TinySVM software (Kudoh, 2000) as the support vector machine.</footnote><footnote label="6">In the 10-fold cross validation, we first divide the training data into ten parts. The answers of the in­stances in each part are estimated by using the instances in the remaining nine parts as the training data. We then use all the results in the ten parts for evaluation.</footnote><footnote label="7">We used a case where the syntactic feature alone was not used because it obtained a higher precision than when all the features had been used in our preliminary experiments.</footnote><p>- strings of 1 to 3-grams just after the ana­lyzed morpheme</p><p><b>• Features based on the morphological in­formation given by the RWC tags</b></p><p>- the part of speech (POS), the minor POS, and the more minor POS of the analyzed morpheme <footnote anchor="8"/></p><p>— the previous morpheme, its 5-digit cate­gory number, its 3-digit category number, its POS, its minor POS, and its more mi­nor POS</p><p>— the next morpheme, its 5-digit category number, its 3-digit category number, its POS, its minor POS, and its more minor POS</p><p><b>• Features based on the morphological in­formation given by J UM AN</b></p><p>The corpus was analyzed using the Japanese morphological analyzer, JUMAN (Kurohashi and Nagao, 1998), and the results were used as features.</p><p>- the POS, the minor POS, and the more minor POS of the analyzed morpheme, which were determined from the results of JUMAN.</p><p><b>• Features based on syntactic information</b></p><p>The corpus was analyzed using the Japanese syntactic analyzer KNP (Kurohashi, 1998), and the results were used as features.</p><p>— the <b><i>bunsetsu,<footnote anchor="10"/> </i></b>including the analyzed morpheme information on whether or not the bunsetsu was a noun phrase, the POS of the bunsetsu's particle, the minor POS of the particle, and the more minor POS of the particle<page local="4" global="138"/></p><footnote label="8">The POS, the minor POS, and the more minor POS of a morpheme are the items in the third, fourth, and fifth fields of the RWC corpus, respectively.</footnote><footnote label="9">A Japanese thesaurus, the Bunrui Goi Hyou dictio­nary (NLRI, 1964), was used to determine the category number of each morpheme. This thesaurus is of the ' is­a' hierarchical type, in which each word has a category number, which is a 10-digit number that indicates seven levels of an 'is-a' hierarchy. The top five levels are ex­pressed by the first five digits, the sixth level is expressed by the next two digits, and the final level is expressed by the final three digits.</footnote><footnote label="10">Bunsetsu is a Japanese grammatical term. A bun­setsu is similar to a phrase in English, but is a slightly smaller component. Eki-de "at the station" is a bun­setsu, and sono, which corresponds to "the" or "its," is also a bunsetsu. A bunsetsu is, roughly, a unit of items that refers to entities.</footnote><table caption="Table 1: Experimental results"></table><p>— the main word that the bunsetsu modifies, including the analyzed morpheme and its 5-digit category number, 3-digit category number, POS, minor POS, and more mi­nor POS</p><p>— the main words of the modifiers of the bunsetsu including the analyzed mor­pheme and their 5-digit category numbers, 3-digit category numbers, POSs, minor POSs, and more minor POSs (In this case, the information on the particle, such as <i>ga </i>or o, was used as well).</p><p><b>• Features of all words co-occurring in the same sentence</b></p><p>The corpus was analyzed using the Japanese morphological analyzer JUMAN (Kurohashi and Nagao, 1998), and lists of the results were used as features.</p><p>— each morphology in the same sentence, its 5-digit category number, and its 3-digit category number</p><p><b>• Features of the UDC code in a document</b></p><p>In the RWC corpus, each document has a uni­versal decimal code (UDC), indicating its cat­egory.</p><p>— the first digit, the first two-digits, and the first three-digits of the UDC in the docu­ment</p></section><section number="5" title="Experiments"><p>We submitted the four systems (CRL1 to CRL4), the support vector machine method, the simple Bayes method (e = 0.01), Combined method 1, and Combined method 2. After the contest, we carried out the experiments using the simple Bayes (c = 0.0001) and Combined method 3. Their experimental results are shown in Table 1. "Baseline method" selected the cate­gory that most frequently occurred in the train­ing data as the answer. "The best method in the contest" was the best among all the sys­tems submitted to the contest, which was CRL4 (0.786483). The precisions shown in the table are the mixed-grained scores calculated by soft­ware "scorer2", which was given by the com­mittees of Senseval-2. (In our systems, all the instances were attempted, so the recall rate was equal to its precision rate.)</p><p>We found the following items from the results.</p><p>• All the methods produced higher precision than the baseline method.</p><p>• Among the four submitted systems (CRL1 to CRL4), Combined method 2 was the best.</p><p>• The simple Bayes method using e = 0.0001 and Combined method 3 (the combination of the two simple Bayes methods) obtained higher precision. This indicates that the simple Bayes method was effective.</p></section><section number="6" title="Conclusion"><p>Our methods combining the simple Bayes and support vector machine methods obtained the best precision among all the submitted systems. After the contest, we tuned the parameter used in the simple Bayes method using the 10-fold cross validation in the training data, and it ob­tained higher precision. The best method was the combination of the two simple Bayes, whose precision was 0.793.</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Method</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><b>Baseline method</b></p></td><td class="cell"><p><b>0.726</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Support vector machine (CRL1)</b></p></td><td class="cell"><p><b>0.783</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Simple Bayes method, </b><i>e = </i><b>0.01 (CRL2)</b></p></td><td class="cell"><p><b>0.778</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Simple Bayes method, e = 0.0001</b></p></td><td class="cell"><p><b>0.790</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Combined method 1 (CRL3)</b></p></td><td class="cell"><p><b>0.786</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Combined method 2 (CRL4)</b></p></td><td class="cell"><p><b>0.786</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Combined method 3</b></p></td><td class="cell"><p><b>0.793</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>The best method in the contest</b></p></td><td class="cell"><p><b>0.786</b></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></tr></table></section><references><p>Nello Cristianini and John Shawe-Taylor. 2000. <i>An Introduc­tion to Support Vector Machines and Other Kernel-based Learning Methods. </i>Cambridge University Press.</p><p>Taku Kudoh and Yuji Matsumoto. 2000. Use of support vec­tor learning for chunk identification. <i>CoNLL-2000.</i></p><p>Taku Kudoh. 2000. TinySVM: Support Vector Machines. http://cl.aist-nara.ac.jp/ taku-ku// software/TinySVM/ index.html.</p><p>Sadao Kurohashi and Makoto Nagao, 1998. <i>Japanese Mor­phological Analysis System JUMAN version 3.5. </i>Depart­ment of Informatics, Kyoto University, (in Japanese).</p><p>Sadao Kurohashi, 1998. <i>Japanese Dependency/Case Struc­ture Analyzer KNP version 2.0b6. </i>Department of Infor­matics, Kyoto University, (in Japanese).</p><p>Masaki Murata, Masao Utiyama, Kiyotaka Uchimoto, Qing Ma, and Hitoshi Isahara. 2001. Experiments on word sense disambiguation using several machine-learning meth­ods. In <i>IEICE-WGNLC2001-2. </i>(in Japanese).</p><p>NLRL 1964. <i>Bunrui Goi Hyou. </i>Shuuei Publishing.</p><p>Kiyoaki Shirai, Wakako Kashino, Minako Hashimoto, Takenobu Tokunaga, Eiichi Arita, Hitoshi Isahara, Shiho Ogino, Ryuichi Kobune, HIronobu Takahashi, Katashi Nagao, Kôiti Hasida, and Masaki Murata. 2001. Text database with word sense tags defined by Iwanami Japanese dictionary. <i>Information Processing Society of Japan, WGNL </i><i>141</i><i>-19. </i>(in Japanese).</p></references></body></article>