<?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="134"/><title>Combination of Machine Learning Methods for Optimum Chinese Word Segmentation</title><author surname="Asahara" givenname="Masayuki"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Fukuoka" givenname="Kenta"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Azuma" givenname="Ai"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Tsuzuki" givenname="Takashi"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Goh" givenname="Chooi-Ling"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Watanabe" givenname="Yotaro"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author><author surname="Matsumoto" givenname="Yuji"><org  name="Nara Institute of Science and Technology" country="Japan" city="Nara"/></author></firstpageheader><frontmatter><p><b>Combination of Machine Learning Methods for Optimum Chinese Word Segmentation</b></p><p><b>Masayuki Asahara       Kenta Fukuoka             Ai Azuma Takashi Tsuzuki</b></p><p><b>Chooi-Ling Goh        Yotaro Watanabe        Yuji Matsumoto </b>Matsushita Electric</p><p>Nara Institute of Science and Technology, Japan Industrial Co., Ltd. E-mail: cje@is.naist.jp</p></frontmatter><abstract>This article presents our recent work for par­ticipation in the Second International Chi­nese Word Segmentation Bakeoff. Our system performs two procedures: Out-of-vocabulary extraction and word segmenta­tion. We compose three out-of-vocabulary extraction modules: Character-based tag­ging with different classifiers - maximum entropy, support vector machines, and con­ditional random fields. We also com­pose three word segmentation modules -character-based tagging by maximum en­tropy classifier, maximum entropy markov model, and conditional random fields. All modules are based on previously proposed methods. We submitted three systems which are different combination of the modules. </abstract></header><body><section number="1" title="Overview"><p>We compose three systems: <i>Models a, b </i>and <i>c </i>for the closed test tracks on all four data sets.</p><p>For <i>Models a </i>and c, three out-of-vocabulary (OOV) word extraction modules are composed: 1. Maximum Entropy (MaxEnt) classifier-based tagging; 2. Max­imum Entropy Markov Model (MEMM)-based word segmenter with Conditional Random Fields (CRF)-based chunking; 3. MEMM-based word segmenter with Support Vector Machines (SVM)-based chunk­ing. Two lists ofOOV word candidates are constructed either by voting or merging the three OOV word ex­traction modules. Finally, a CRFs-based word seg­menter produces the final results using either of the voted list <i>(Model a) </i>or the merged list <i>(Model c).</i></p><p>Most of the classifiers use surrounding words and characters as the contextual features. Since word and character features may cause data sparse problem, we utilize a hard clustering algorithm (K-means) to define word classes and character classes in order to over­come the data sparse problem. The word classes are used as the hidden states in MEMM and CRF-based word segmenters. The character classes are used as the features in character-based tagging, character-based chunking and word segmentation.</p><p><i>Model b </i>is our previous method proposed in (Goh et al., 2004b): First, a MaxEnt classifier is used to per­form character-based tagging to identify OOV words in the test data. In-vocabulary (IV) word list together with the extracted OOV word candidates is used in Maximum Matching algorithm. Overlapping ambi­guity is denoted by the different outputs from For­ward and Backward Maximum Matching algorithm. Finally, character-based tagging by MaxEnt classifier resolves the ambiguity.</p><p>Section 2 describes <i>Models a </i>and <i>c. </i>Section 3 de­scribes <i>Model b. </i>Section 4 discusses the differences among the three models.</p></section><section number="2" title="Models a and c"><p><i>Models a </i>and <i>c </i>use several modules. First, a hard clustering algorithm is used to define word classes and character classes. Second, three OOV extraction mod­ules are trained with the training data. These modules, then, extract the OOV words in the test data. Third, the OOV word candidates produced by the three OOV extraction modules are refined by voting <i>(Model </i><i>a)</i><i> </i>or merging <i>(Model </i><i>c)</i><i> </i>them. The final word list is com­posed by appending the OOV word candidates to the IV word list. Finally, a CRF-based word segmenter analyzes the sentence based on the new word list.</p><subsection number="2.1" title="Clustering for word/character classes"><p>We perform hard clustering for all words and characters in the training data. K-means algorithm is utilized. We use R 2.2.1 (http://www.r-project.org/) to perform k-means clustering.</p><page local="2" global="135"/><p>Since the word types are too large, we cannot run k-means clustering on the whole data. Therefore, we di­vide the word types into 4 groups randomly. K-means clustering is performed for each group. Words in each group are divided into 5 disjoint classes, producing 20 classes in total. Preceding and succeeding words in the top 2000 rank are used as the features for the cluster­ing. We define the set of the OOV words as the 21st class. We also define two other classes for the begin-of-sentence (BOS) and end-of-sentence (EOS). So, we define 23 classes in total.</p><p>20 classes are defined for characters. K-means clus­tering is performed for all characters in the training data. Preceding and succeeding characters and BIES position tags are used as features for the clustering: "B" stands for 'the first character of a word'; "I" stands for 'an intermediate character of a word'; "E" stands for 'the last character of a word'; "S" stands for 'the single character word'. Characters only in the test data are not assigned with any character class.</p></subsection><subsection number="2.2" title="Three OOV extraction modules"><p>In <i>Models a </i>and <i>c, </i>we use three OOV extraction mod­ules.</p><p>First and second OOV extraction modules use the output of a Maximam Entropy Markov Model (MEMM)-based word segmenter (McCallum et al., 2000) (Uchimoto et al., 2001). Word list is composed by the words appeared in 80% of the training data. The words occured only in the remaining 20% of the training data are regarded as OOV words. All word candidates in a sentence are extracted to form a trel­lis. Each word is assigned with a word class. The word classes are used as the hidden states in the trellis. In encoding, MaxEnt estimates state transition proba­bilities based on the preceding word class (state) and observed features such as the first character, last char­acter, first character class, last character class of the current word. In decoding, a simple Viterbi algorithm is used.</p><p>The output of the MEMM-based word segmenter is splitted character by character. Next, character-based chunking is performed to extract OOV words. We use two chunkers: based on SVM (Kudo and Matsumoto, 2001) and CRF (Lafferty et al., 2001). The chunker annotates BIO position tags: "B" stands for 'the first character of an OOV word'; "I" stands for 'other char­acters in an OOV word'; "O" stands for 'a character outside an OOV word'.</p><p>The features used in the two chunkers are the char­acters, the character classes and the information of other characters in five-character window size. The word sequence output by the MEMM-based word seg­menter is converted into character sequence with BIES position tags and the word classes. The position tags with the word classes are also introduced as the fea­tures.</p><p>The third one is a variation of the OOV module in section 3 which is character-based tagging by MaxEnt classifier. The difference is that we newly introduce character classes in section 2.1 as the features.</p><p>In summary, we introduce three OOV word extrac­tion modules: "MEMM+SVM", "MEMM+CRF" and "MaxEnt classifier".</p></subsection><subsection number="2.3" title="Voting/Merging the OOV words"><p>The word list for the final word segmenter are com­posed by voting or merging. Voting means the OOV words which are extracted by two or more OOV word extraction modules. Merging means the OOV words which are extracted by any of the OOV word extrac­tion modules. The model with the former (voting) OOV word list is used in <i>Model a, </i>and the model with the latter (merging) OOV word list is used in <i>Model </i><i>c.</i></p></subsection><subsection number="2.4" title="CRF-based word segmenter"><p>Final word segmentation is carried out by a CRF-based word segmenter (Kudo and Matsumoto, 2004) (Peng and McCallum, 2004). The word trellis is composed by the similar method with MEMM-based word seg­menter. Though state transition probabilities are esti­mated in the case of MaxEnt framework, the proba­bilities are normalized in the whole sentence in CRF-based method. CRF-based word segmenter is robust to length-bias problem (Kudo and Matsumoto, 2004) by the global normalization. We will discuss the length-bias problem in section 4.</p></subsection><subsection number="2.5" title="Note on MSR data"><p>Unfortunately, we could not complete <i>Models a </i>and <i>c </i>for the MSR data due to time constraints. There­fore, we submitted the following 2 fragmented mod­els: <i>Model a </i>for MSR data is MEMM-based word segmenter with OOV word list by voting; <i>Model c </i>for MSR data is CRF-based word segmenter with no OOV word candidate.</p></subsection></section><section number="3" title="Model b"><p><i>Model b </i>uses a different approach. First, we extract the OOV words using a MaxEnt classifier with only the character as the features. We did not use the character classes as the features. Each character is assigned with BIES position tags. Word segmentation by character-based tagging is firstly introduced by (Xue and Con­verse, 2002). In encoding, we extract characters within five-character window size for each character position in the training data as the features for the classifier. In decoding, the BIES position tag is deterministically annotated character by character in the test data. The words that appear only in the test data are treated as OOV word candidates.<page local="3" global="136"/></p><p>We can obtain quite high unknown word recall with this model but the precision is a bit low. However, the following segmentation model will try to elimi­nate some false unknown words. In the next step, we append OOV word candidates into the IV word list extracted from the training data. The segmentation model is similar to the OOV extraction method, except that the features include the output from the Maximum Matching (MaxMatch) algorithm. The algorithm runs in both forward (FMaxMatch) and backward (BMax-Match) directions using the final word list as the ref­erences. The outputs of FMaxMatch and BMaxMatch are also assigned with BIES tags. The differences be­tween the FMaxMatch and BMaxMatch outputs indi­cate the positions where the overlapping ambiguities occur. The final word segmentation is carried out by MaxEnt classifier again.</p><p>Note, both procedures in <i>Model b </i>use whole train­ing data in the training phase. The dictionary used in the MaxMatch algorithm is extracted from the training data only during the training phase. So, the training of segmentation model does not explicitly consider OOV words. We did not use the word and character classes as features in <i>Model b </i>unlike in the case of <i>Models a </i>and <i>c.</i><i> </i>The details of the model can be found in (Goh et al., 2004b). The difference is that we do not pro­vide character types here because it is forbidden in this round. Besides, we also did not prune the OOV words because this step involve the intervention of hu­man knowledge.</p></section><section number="4" title="Discussions and Conclusions"><p>Table 1 summarizes the results of the three models. The proposed systems employ purely corpus-based statistical/machine learning method. Now, we discuss what we observe in the three models. We remark two problems in word segmentation: OOV word problem and length-bias problem.</p><p>OOV word problem is that simple word-based Markov Model family cannot analyze the words not included in the word list. One of the solutions is character-based tagging (Xue and Converse, 2002) (Goh et al., 2004a). The simple character-based tag­ging <i>(Model </i><i>b)</i><i> </i>achieved high ROOV but the precision is low. We tried to refine OOV extraction by voting and merging <i>(Model a </i>and c). However, the <i>ROOV</i>of <i>Models a </i>and <i>c </i>are not as good as that of <i>Model b. </i>Figure 1 shows type-precision and type-recall of each OOV extraction modules. While voting helps to make the precision higher, voting deteriorates the re­call. Defining some hand written rules to prune false OOV words will help to improve the IV word segmen­tation (Goh et al., 2004b), because the precision of</p><p>OOV word extraction becomes higher. Other types of OOV word extraction methods should be introduced. For example, (Uchimoto et al., 2001) embeded OOV models in MEMM-based word segmenter (with POS tagging). Less than six-character substrings are ex­tracted as the OOV word candidates in the word trel­lis. (Peng and McCallum, 2004) proposed OOV word extraction methods based on CRF-based word seg­menter. Their CRF-based word segmenter can com­pute a confidence in each segment. The high confi­dent segments that are not in the IV word list are re­garded as OOV word candidates. (Nakagawa, 2004) proposed integration of word and OOV word position tag in a trellis. These three OOV extraction method are different from our methods - character-based tagging. Future work will include implementation of these dif­ferent sorts of OOV word extraction modules.</p><p>Length bias problem means the tendency that the lo­cally normalized Markov Model family prefers longer words. Since choosing the longer words reduces the number of words in a sentence, the state-transitions are reduced. The less the state-transitions, the larger the likelihood of the whole sentence. Actually, the length-bias reflects the real distribution in the corpus. Still, the length-bias problem is nonnegligible to achieve high accuracy due to small exceptional cases. We used CRF-based word segmenter which relaxes the prob­lem (Kudo and Matsumoto, 2004). Actually, the CRFbased word segmenter achieved high <i>R1V</i>.</p><p>We could not complete <i>Model a </i>and <i>c </i>for MSR. After the deadline, we managed to complete <i>Model a </i>(CRF + Voted Unk.) and <i>c </i>(CRF + Merged Unk.) The result of <i>Model a </i>was precesion 0.976, recall 0.966, F-measure 0.971, OOV recall 0.570 and IV re­call 0.988. The result of <i>Model c </i>was precesion 0.969, recall 0.963, F-measure 0.966, OOV recall 0.571 and IV recall 0.974. While the results are quite good, un­fortunately, we could not submit the outputs in time.</p><p>While our results for the three data sets (AS, CITYU, MSR) are fairly good, the result for the PKU data is not as good. There is no correlation between scores and OOV word rates. We investigate unseen character distributions in the data set. There is no cor­relation between scores and unseen character distribu­tions.</p><p>We expected <i>Model c </i>(merging) to achieve higher recall for OOV words than <i>Model a </i>(voting). How­ever, the result was opposite. The noises in OOV word candidates should have deteriorated the F-value of overall word segmentation. One reason might be that our CRF-based segmenter could not encode the occurence of OOV words. We defined the 21st word class for OOV words. However, the training data for CRF-based segmenter did not contain the 21st class. We should include the 21st class in the training data<page local="4" global="137"/></p><table caption="Table 1: Our Three Models and Results: F-value/ROOV/R1V(Rank of F-value)"></table><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Model a</doubt><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Model b</doubt><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Model c</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">AS</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">CITYU</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">MSR</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">PKU</doubt><doubt alpha="32.4" length="34" tooSmall="False" monospace="0.0">CRF + Voted Unk. 0.947/0.606/0.971</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(2/11)</doubt><p>Char.-based tagging</p><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0.952/0.696/0.963</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(1/11)</doubt><doubt alpha="34.3" length="35" tooSmall="False" monospace="0.0">CRF + Merged Unk. 0.939/0.445/0.967</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(7/11)</doubt><doubt alpha="32.4" length="34" tooSmall="False" monospace="0.0">CRF + Voted Unk. 0.942/0.629/0.967</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(2/15)</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0.941/0.736/0.953</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">(3/15)</doubt><doubt alpha="28.6" length="42" tooSmall="False" monospace="0.0">CRF + Merged Unk. 0.928/0.598/0.940 (8/15)</doubt><doubt alpha="27.9" length="43" tooSmall="False" monospace="0.0">MEMM + Voted Unk. 0.949/0.378/0.971 (16/29)</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0.958/0.718/0.958</doubt><doubt alpha="17.4" length="46" tooSmall="False" monospace="0.0">(6/29) CRF + No Unk. 0.943/0.025/0.990 (21/29)</doubt><doubt alpha="26.2" length="42" tooSmall="False" monospace="0.0">CRF + Voted Unk. 0.934/0.521/0.955 (10/23)</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">0.941/0.760/0.941</doubt><doubt alpha="24.0" length="50" tooSmall="False" monospace="0.0">(7/23) CRF + Merged Unk. 0.917/0.325/0.940 (14/23)</doubt><p>MEMM+SVM CITYU MEMM+SVM <b>MSR </b>MEMM+SVM</p><doubt alpha="53.3" length="60" tooSmall="False" monospace="0.0">correctly extracted types ^-""^ 150/764A(left side) / 51/406</doubt><doubt alpha="9.7" length="31" tooSmall="False" monospace="0.0">^"\165/48CK&lt;N420/579/\^/958/11^</doubt><doubt alpha="7.7" length="13" tooSmall="True" monospace="0.0">69/599V184™4/</doubt><doubt alpha="76.7" length="30" tooSmall="True" monospace="0.0">extracted types \ (right side)</doubt><doubt alpha="3.6" length="55" tooSmall="True" monospace="0.0">V87/43^^^14/188/ ^N42/352      \109/196 /    206/1059 ,</doubt><doubt alpha="10.0" length="10" tooSmall="False" monospace="0.0">f57/555 \^</doubt><doubt alpha="16.7" length="36" tooSmall="False" monospace="0.0">X""^V93/293X^49/243// X~-/709/79oV-^</doubt><p>MEMM+SVM</p><doubt alpha="0.0" length="9" tooSmall="True" monospace="0.0">67/882 \^</doubt><doubt alpha="12.5" length="32" tooSmall="False" monospace="0.0">v181 /72^X217/424//-/929/1269U-X</doubt><p>MEMM+CRF MaxEnt     MEMM+CRF MaxEnt</p><doubt alpha="39.1" length="64" tooSmall="False" monospace="0.0">Voted Precision = 1528/2827=0.540 Voted Recall = 1528/2863=0.533</doubt><doubt alpha="37.1" length="291" tooSmall="False" monospace="0.0">Merged Precision = 2532/6003=0.421        Merged Precision = 1367/3531=0.387    Merged Precision = 1628/4454=0.365        Merged Precision = 2184/7064=0.309 Merged Recall = 2532/3226=0.784 Merged Recall = 1367/1670=0.818        Merged Recall = 1628/1991=0.817 Merged Recall = 2184/2863=0.762</doubt><figure caption="Figure 1: OOV Extraction Precision and Recall by Type"></figure><doubt alpha="0.0" length="7" tooSmall="True" monospace="0.0">245/333</doubt><doubt alpha="0.0" length="9" tooSmall="True" monospace="0.0">,201/407/</doubt><doubt alpha="0.0" length="6" tooSmall="True" monospace="0.0">40/330</doubt><doubt alpha="0.0" length="10" tooSmall="True" monospace="0.0">335/1910 ,</doubt><doubt alpha="0.0" length="6" tooSmall="True" monospace="0.0">87/720</doubt><doubt alpha="0.0" length="8" tooSmall="True" monospace="0.0">502/2635</doubt><p>MEMM+CRF</p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">MaxEnt</doubt><p>by regarding some words as pseudo OOV words.</p><p>We also found a bug in the CRF-based OOV word extration module. The accuracy of the module might be slightly better than the reported results. However, the effect of the bug on overall F-value might be lim­ited, since the module was only part of the OOV ex­traction module combination - voting and merging.</p><p><b>Acknowledgement</b></p><p>We would like to express our appreciation to Dr. Taku Kudo who developed SVM-based chunker and gave us several fruitful comments.</p></section><references><p>Chooi-Ling Goh, Masayuki Asahara, and Yuji Mat-sumoto. 2004a. Chinese Word Segmentation by Classification of Characters. In <i>Proc. of Third SIGHAN Workshop, </i>pages 57-64.</p><p>Chooi-Ling Goh, Masayuki Asahara, and Yuji Mat-sumoto. 2004b. Pruning False Unknown Words to Improve Chinese Word Segmentation. In <i>Proc. of PACLIC-18, </i>pages 139-149.</p><p>Taku Kudo and Yuji Matsumoto. 2001. Chunking with Support Vector Machines. In <i>Proc. ofNAACL-2001, </i>pages 192-199.</p><p>Taku Kudo and Yuji Matsumoto. 2004. Applying Conditional Random Fields to Japanese Morphological Analysis. In <i>Proc. of EMNLP-2004, </i>pages 230-237.</p><p>John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional Random Fields: Prob­abilistic Models for Segmenting and Labeling Se­quence Data. In <i>Proc. ofICML-2001, </i>pages 282­289.</p><p>Andrew McCallum, Dayne Freitag, and Fernando Pereira. 2000. Maximum Entropy Markov Mod­els for Information Extraction and Segmentation. In <i>Proc. ofICML-2000, </i>pages 591-598.</p><p>Tetsuji Nakagawa. 2004. Chinese and Japanese Word Segmentation Using Word-Level and Character-</p><p>Level Information.  In <i>Proc. ofCOLING-2004,</i> pages 466-472.</p><p>Fuchun Peng and Andrew McCallum. 2004. Chinese Segmentation and New Word Detection using Con­ditional Random Fields. In <i>Proc. ofCOLING-2004,</i> pages 562-568.</p><p>Kiyotaka Uchimoto, Satoshi Sekine, and Hitoshi Isa-hara. 2001. The Unknown Word Problem: a Morphological Analysis of Japanese Using Maxi­mum Entropy Aided by a Dictionary. In <i>Proc. of EMNLP-2001, </i>pages 91-99.</p><p>Nianwen Xue and Susan P. Converse. 2002. Combin­ing Classifiers for Chinese Word Segmentation. In <i>Proc. ofFirst SIGHANWorkshop, </i>pages 63-70.</p><doubt alpha="38.9" length="72" tooSmall="False" monospace="0.0">Voted Precision = 1068/1714=0.623      Voted Precision = 1196/1659=0.720</doubt><doubt alpha="42.4" length="33" tooSmall="False" monospace="0.0">Voted Precision = 1727/2504=0.689</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">V</doubt><doubt alpha="65.6" length="93" tooSmall="True" monospace="0.0">vuieu Recall -   ;i;fo^o-u.3j3 voieu Recall -iuoo/1o/u-u.Goy voiea Recall -i iyo/ lay i-u.ouu</doubt></references></body></article>