<?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="1107"/><title>Automatic Determination of a Domain Adaptation Method for Word Sense Disambiguation Using Decision Tree Learning</title><pubinfo>Proceedings of the 5th International Joint Conference on Natural Language Processing,pages 1107-1115, Chiang Mai, Thailand, November 8 - 13, 2011. ©2011 AFNLP</pubinfo><author surname="Komiya" givenname="Kanako"><org  name="Tokyo Institute of Technology" country="Japan" city="Tokyo"/></author><author surname="Okumura" givenname="Manabu"><org  name="Tokyo Institute of Technology" country="Japan" city="Tokyo"/></author></firstpageheader><frontmatter><p><b>Automatic Determination of a Domain Adaptation Method for Word Sense Disambiguation Using Decision Tree Learning</b></p><p><b>Kanako Komiya</b></p><p>Tokyo University of Agriculture and Technology 2-24-16 Naka-cho, Koganei Tokyo, 184-8588 Japan</p><p>kkomiya@cc.tuat.ac.jp</p><p><b>Manabu Okumura</b></p><p>Tokyo Institute of Technology 4259 Nagatsuta Modori-ku Yokohama 226-8503 Japan oku@pi.titech.ac.jp</p></frontmatter><abstract>Domain adaptation (DA), which involves adapting a classifier developed from source to target data, has been studied intensively in recent years. However, when DA for word sense disambiguation (WSD) was carried out, the optimal DA method varied according to the properties of the source and target data. This pa­per describes how the optimal method for DA was determined depending on these properties using decision tree learning, given a triple of the target word type of WSD, the source data, and the target data, and discusses what properties affected the determination of the best method when Japanese WSD was performed. </abstract></header><body><section number="1" title="Introduction"><p>Classifiers in standard supervised machine learn­ing have been trained for data in domain A using manually annotated data in domain A, e.g., to train classifiers for newswires using newswires. How­ever, classifiers for data in domain B have some­times been necessary when there have been no or few manually annotated data, and there have only been manually annotated data in domain A, which have been related to domain B. Domain adapta­tion (DA) involves adapting the classifier that have been trained from data in domain A (source do­main) to data in domain B (target domain). This has been studied intensively in recent years.</p><p>However, the optimal method of DA varied ac­cording to the properties of the data in the source domain (the source data) and the data in the target domain (the target data) when DA for word sense disambiguation (WSD) was carried out. (We will show it in Section 4.)</p><p>We define a case as a triple of the target word type of WSD, the source data, and the target data.</p><p>This paper describes how the optimal method for DA was determined depending on these properties using decision tree learning given a case and dis­cusses what properties affected the determination of the best method when Japanese WSD was per­formed.</p><p>This paper is organized as follows. Section 2 reviews related works on DA and Section 3 ex­plains how a DA method is automatically deter­mined. Section 4 describes the data we used. How to label the data and how to train the classifiers us­ing these are explained in Section 5. We present the results in Section 6 and discuss them in Sec­tion 7. Finally, we conclude the paper in Section 8.</p></section><section number="2" title="Related Work"><p>The DA problem can be categorized into three types depending on the information for learning, i.e., supervised, semi-supervised, and unsuper-vised approaches. A classifier in a supervised ap­proach is developed from a large amount of la­beled source data and a small amount of labeled target data with the aim of classifying target data better than a classifier developed only from the target data. A classifier in a semi-supervised ap­proach is developed from large amounts of labeled source data and unlabeled target data with the aim of classifying target data better than a classifier de­veloped only from the source data. Finally, a clas­sifier is developed from a large amount of labeled source data with the aim of classifying target data accurately in the unsupervised approach. We fo­cused on the supervised DA of WSD in this paper.</p><p>Many researchers have investigated DA within or outside the area of natural language process­ing. Chan and Ng (2006) carried out the DA of WSD by estimating class priors using an EM al­gorithm. Chan and Ng (2007) also conducted the DA of WSD by estimating class priors using the EM algorithm, but this was supervised DA using active learning.<page local="2" global="1108"/></p><p>In addition, Daume III (2007) worked on the supervised DA. He augmented an input space and made triple length features that were gen­eral, source-specific, and target-specific. This was easy to implement, could be used with various DA methods, and could easily be extended to multi­domain adaptation problems. Daume III et al. (2010) extended the work in (Daume III, 2007) to semi-supervised DA. It inherited the advantages of the supervised version and outperformed it by us­ing unlabeled target data.</p><p>Agirre and de Lacalle (2008) worked on the semi-supervised DA of WSD. They applied sin­gular value decomposition (SVD) to a matrix of unlabeled target data and a large amount of un-labeled source data, and trained a classifier with them. Agirre and de Lacalle (2009) worked on the supervised DA using almost the same method, but they used a small amount of labeled source data in­stead of the large amount of unlabeled source data.</p><p>Jiang and Zhai (2007) demonstrated that perfor­mance increased as examples were weighted when DA was applied. This method could be used with various other supervised or semi-supervised DA methods. In addition, they tried to identify and remove source data that misled DA, but they con­cluded that it was only effective if examples were not weighted.</p><p>Zhong et al. (2009) proposed an adaptive kernel approach that mapped the marginal distribution of source and target data into a common kernel space. They also conducted sample selection to make the conditional probabilities between the two domains closer.</p><p>Raina et al. (2007) proposed self-taught learn­ing that utilized sparse coding to construct higher level features from the unlabeled data collected from the Web. This method was based on unsu-pervised learning.</p><p>Tur (2009) proposed a co-adaptation algorithm where both co-training and DA techniques were used to improve the performance of the model.</p><p>The research by Blitzer et al. (2006) involved work on semi-supervised DA, where they calcu­lated the weight of words around the pivot features (words that frequently appeared both in source and target data and behaved similarly in both) to model some words in one domain that behaved similarly in another. They applied SVD to the matrix of the weights, generated a new feature space, and used the new features with the original features.</p><p>The closest work to ours is that by McClosky et al. (2010) who focused on the problem where the best model for each document is not obvious when parsing a document collection of heteroge­neous domains. They studied it as a new task of <i>multiple source parser adaptation. </i>They proposed a method of parsing a sentence that first predicts accuracies for various parsing models using a re­gression model, and then uses the parsing model with the highest predicted accuracy. The main dif­ference is that their work was about parsing but ours discussed here is about Japanese WSD. They also assumed that they had labeled corpora in het­erogeneous domains but we have not. We de­termined the best DA method using the decision tree learning given a triple of the target word type of WSD, the source data, and the target data and found what features affected the determination of the best method.</p><p>Harimoto et al. (2010) measured the distance between domains to conduct DA using a suitable corpus in parsing. In addition, van Asch and Daelemans (2010) reported that performance in DA could be predicted depending on the similar­ity between source and target data using automat­ically annotated corpus in parsing. They focused on how corpora were selected for use as source data according to the distance between domains, but here we focus on how to select a method of DA depending on properties such as the distance between domains.</p></section><section number="3" title="Automatic determination of DA method"><p>We expected the average accuracy of WSD, when DA methods that were determined automatically were used for all cases, to be higher than when the original methods were used collectively. Hence, we would be able to determine the best DA method automatically using decision tree learning. A de­cision tree would indicate what features affect the determination of the optimal method of DA.</p><subsection number="3.1" title="DA methods for WSD"><p>Two methods were used as the DA methods for WSD in this study.</p><p><i>• Target Only: </i>Train a classifier with a small amount of target data that are randomly selected and manually labeled but without source data.</p><page local="3" global="1109"/><p>• <i>Random Sampling: </i>Train a classifier with source data and a small amount of target data that are randomly selected and manually la­beled.</p><p>Ten word tokens of the target data were ran­domly selected and manually labeled in all the ex­periments.</p><p>Libsvm (Chang and Lin, 2001), which supports multi-class classification, was used as the classi­fier for WSD. A linear kernel was used according to the results obtained from preliminary experi­ments. Seventeen features were introduced to train the classifier.</p><p>• Morphological features</p><p><b>- </b>Bag-of-words (4 features) <b>- </b>Part-of-speech (POS) (4 features) <b>- </b>Finer subcategory of POS (4 features)• Syntactic feature ( 1 feature)</p><p><b>- </b>If the POS of a target word is a noun, the verb which the target word modifies</p><p><b>- </b>If the POS of a target word is a verb, the case element of <b>"5" </b>(wo, objective) for the verb• Semantic features</p><p><b>- </b>Semantic classification code (4 fea­tures)</p><p>Morphological features and semantic features were extracted from the surrounding words (two words to the right and left) of the target word. POS and finer subcategory of POS can be obtained us­ing a morphological analyzer. We used ChaSen <footnote anchor="1"/> as a morphological analyzer, the Bunruigoihyo thesaurus (National Institute for Japanese Lan­guage and Linguistics, 1964) for semantic classifi­cation codes, and CaboCha <footnote anchor="2"/> as a syntactic parser. Five-fold cross validation was used in the experi­ments.</p></subsection><subsection number="3.2" title="Labels of Decision Tree"><p>One of the following labels was given to every case depending on the most accurate method and as we shall explain later, two labels (TO and RS) or three labels (TO, RS, and SA) were used for classification. Note that the decision tree deter­mines which DA method should be used, <i>Random</i> <i>Sampling </i>or <i>Target Only, </i>given the properties of the source and target data for each case.</p><footnote label="1"> http://sourceforge.net/projects/masayu-a/  2 http://sourceforge.net/projects/cabocha/</footnote><p>• TO: The cases in which <i>Target Only </i>had higher accuracy than <i>Random Sampling.</i></p><p>• RS: The cases in which <i>Random Sampling </i>had higher accuracy than <i>Target Only.</i></p><p>• SA: The cases in which <i>Random Sampling </i>and <i>Target Only </i>had the same accuracy.</p></subsection><subsection number="3.3" title="Features of Decision Tree"><p>We think the optimal method for DA varies de­pending on the distribution of the source data and the target data, the distance between them, and so on. The following 40 features (consisting of 24 types) in total were used for decision tree learn­ing.</p><p>1. Simulation accuracy of <i>theOther: </i>The accu­racy of WSD when a classifier was trained with the source data and tested with ten la­beled word tokens of the target data.</p><p>2. Simulation accuracy of <i>Target Only: </i>The ac­curacy of WSD when a classifier was trained with ten labeled word tokens of the target data and tested using a leave-one-out cross-validation method.</p><p>3. Ratio of two simulation accuracies: (1) / (2).</p><p>4. Number of source data: The number of word tokens in the whole source data.</p><p>5. Number of target data: The number of word tokens in the whole target data.</p><p>6. Number of source data / target data: (4) / (5).</p><p>7. The number of word senses that appeared in the whole source data set.</p><p>8. The number of word senses that appeared in ten word tokens of the target data.</p><p>9. The number of word senses of the WSD tar­get words in the dictionary.</p><p>10. The number of word tokens of the most fre­quent sense (MFS) of the whole source data.</p><p>11. The number of word tokens of MFS in the ten labeled word tokens of the target data.</p><page local="4" global="1110"/><p>12. Whether the MFS of the whole source data and the ten labeled word tokens of the target data were the same or not.</p><p>13. Percentage of MFS in source data: (10) / (4).</p><p>14. Percentage of MFS in ten word tokens of tar­get data: (11) / the number of word tokens in the labeled target data (=10).</p><p>15. Percentage of MFS in ten word tokens of tar­get data in source data: The number ofsource data word tokens with MFS in ten labeled word tokens of the target data / (4).</p><p>16. Percentage of MFS of source data in ten word tokens of target data: The number of word tokens with MFS in the source data in ten la­beled word tokens of the target data / the ten word tokens.</p><p>17. The JS divergence between the distribution of word sense IDs of 4/5 of the whole source data and the distribution of word sense IDs of ten labeled word tokens of target data. Ab­breviated as "JSD (word sense)".</p><p>18. The JS divergence between the feature distri­butions for WSD of the whole source and the whole target data (17 kinds, cf. Section 3.1) Abbreviated as "JSD (*)". *is a feature name in Section 3.1.</p><p>19. The summation of 17 kinds of JS divergences (18). Abbreviated as "JSD (Feature_plus)".</p><p>20. The JS divergence between the distribution of the whole source data and the whole target data feature units, when a unit is the sequence of 17 kinds of WSD features. Abbreviated as "JSD (Feature-all)".</p><p>21. The number of word senses that did not ap­pear in ten labeled word tokens of the target data but did in the whole source data.</p><p>22. The number of common word senses be­tween the whole source data and ten labeled word tokens of the target data.</p><p>23. Percentage of common word senses between whole source data and ten word tokens of tar­get data in ten word tokens: the number of word tokens whose word senses appeared in both the whole source data and ten labeled word tokens of the target data in the ten word tokens / the ten word tokens.</p><p>24. Percentage of common word senses between whole source data and ten word tokens of tar­get data in source data: the number of word tokens whose word senses appeared in both the whole source data and ten labeled word tokens of the target data in the source data/ (4).</p><p>The C4.5 of Quinlan (1993) was used as the algo­rithm for decision tree learning and a binary tree was generated. The experiments were conducted with five-fold cross validation. The threshold val­ues for pruning were optimized with preliminary experiments using 1/4 of the training data set as a development data set. Here, the entropy of a node was tuned as the threshold value in 0.1 increments. The value of a smaller tree was used when more than one threshold value gave the same accuracy.</p><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">4 Data</doubt><p>Three data were used for the experiments: (1) the sub-corpus of white papers in the Balanced Corpus of Contemporary Japanese (BCCWJ) (Maekawa, 2008), (2) the sub-corpus of documents from a Q&amp;A site on the WWW of BCCWJ, and (3) Real World Computing (RWC) text databases (news­paper articles) (Hashida et al., 1998). DAs were conducted in six directions according to various source and target data. Word senses were anno­tated in these corpora according to a Japanese dic­tionary, i.e., the Iwanami Kokugo Jiten (Nishio et al., 1994). It has three levels for sense IDs, and we used the fine-level sense in the experi­ments. Multi-sense words that appeared equal or more than 50 times in both source and target data were selected as the target words in the experi­ment. There were 24 word types for white papers Q&amp;A site, 22 for white papers newspaper ar­ticles, and 26 for Q&amp;A site newspaper articles. Twenty-eight word types and 144 cases were used in the experiments in total. Table 1 lists the mini­mum, maximum, and average number of word to­kens in each case. Table 2 shows the list of target words.</p><p>Table 3 summarizes the results from the DA experiments when the source data and the target data were swapped <footnote anchor="3"/>. These results were the average accuracies of all the target words of WSD.<page local="5" global="1111"/> <i>Self, </i>which is standard supervised learning with the target data, assuming that fully annotated data were obtained and could be used for learning and <i>theOther, </i>which is standard supervised learning only with the source data, were tested as refer­ences. We found that the optimal method of DA varied depending on the corpora that were used as the source and target data.</p><footnote label="3">Multi-sense words that appeared less than 50 times in source or target data were included as the target words in the</footnote><table caption="Table 1: Minimum, maximum, and average num­ber of word tokens in each caseGenre Min.     Max. Ave."></table><doubt alpha="38.6" length="70" tooSmall="False" monospace="0.0">BCCWJ white papers 58 7,610 2074.50 BCCWJ Q&amp;A site 82   13,976 2300.43</doubt><doubt alpha="36.4" length="33" tooSmall="False" monospace="0.0">RWC newspaper 50       374 164.46</doubt></subsection></section><section number="5" title="Labeling of data and learning of decision tree"><p>We tried to generate decision trees in various ways and compared their accuracies to find the most ef­fective way of generating the best decision tree.</p><subsection number="5.1" title="Labeling of data"><p>TO, RS, or SA was given to every case depend­ing on the most accurate method. SA was partic­ularly given to cases in which <i>Random Sampling </i>and <i>Target Only </i>had the same accuracy.</p><p>The difference between accuracies and the def­inition of SA was treated in two ways.</p><p><i>• Equal: </i>The SA label was assigned when the WSD accuracies of <i>Target Only </i>and <i>Random Sampling </i>were totally equal.</p><p><i>• Chi-square: </i>The SA label was assigned when the WSD accuracies of <i>Target Only </i>and <i>Random Sampling </i>were not significantly dif­ferent according to a chi-square test. The level of significance in the test was 0.05.</p><p>Table 4 indicates the number of cases and the total word types given TO or RS labels according to <i>Equal </i>and <i>Chi-square.</i></p></subsection><subsection number="5.2" title="Treatment of SA in decision tree learning"><p>The third label, SA, was assigned to cases with no difference between the accuracies of <i>Random Sampling </i>and <i>Target Only </i>and was treated in two ways in the experiments.</p><p>experiment of this figure.</p><table caption="Table 2: The list of target words"></table><p><i>• Ternary classification with SA: </i>Perform ternary classification of TO, RS, and SA in training and the testing.</p><p><i>• Binary classification without SA: </i>Remove cases with SA labels from training data set and perform binary classification of TO and RS. All the cases are used for the testing.</p><p>Figure 1 shows the frame format for five-fold cross validation of decision tree learning when <i>Bi­nary classification without SA </i>was used. There was a total of 144 cases, and only data with TA or RS labels were used as a training data set for de­cision tree learning. There were 129 cases when <i>Equal </i>was used and 69 cases when <i>Chi-square </i>was used (dark gray parts). A classifier was de­veloped from 4/5 of the training data set (white parts)andtestedusing1/5 ofthewholecases (light gray part) in one execution of five-fold cross val­idation.<page local="6" global="1112"/> (Three-quarter of the training data (3/5 of the whole data set) and 1/4 of the training data (1/5 of the whole data set) was used for the train­ing data and the test data of the parameter tuning respectively.)</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>Number</p></td><td class="cell"><p>Target words</p></td><td class="cell"><p>Sense example</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>of senses</p></td><td class="cell"><p>(in Japanese)</p></td><td class="cell"><p>in English</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p></p></td><td class="cell"><p>case</p></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>self</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p></p></td><td class="cell"><p>project</p></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>information</p></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>area</p></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>society</p></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>suppose</p></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>child</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p><b>^5</b></p></td><td class="cell"><p>understand</p></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>think</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p></p></td><td class="cell"><p>contain</p></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>use</p></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>technique</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>6</p></td><td class="cell"><p></p></td><td class="cell"><p>connection</p></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>time</p></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>general</p></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>present</p></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>make</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>7</p></td><td class="cell"><p><i>—</i></p></td><td class="cell"><p>now</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>8</p></td><td class="cell"><p></p></td><td class="cell"><p>before</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10</p></td><td class="cell"><p></p></td><td class="cell"><p>have</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>11</p></td><td class="cell"><p><b>It</b></p></td><td class="cell"><p>advance</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>12</p></td><td class="cell"><p></p></td><td class="cell"><p>see</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>14</p></td><td class="cell"><p><b>A5</b></p></td><td class="cell"><p>enter</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>16</p></td><td class="cell"><p><b>W?</b></p></td><td class="cell"><p>say</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>21</p></td><td class="cell"><p></p></td><td class="cell"><p>serve</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>22</p></td><td class="cell"><p><i>¥</i></p></td><td class="cell"><p>hand</p></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>leave</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><table caption="Table 3: Results from DA experiments when source and target data were swapped"></table><p>We calculated the accuracies of WSD using the DA method for the labels <i>(Target Only </i>for TO and <i>Random Sampling </i>for RS). We used <i>Random Sam­pling </i>for cases with SA labels when <i>Ternary clas­sification with SA </i>was used. When <i>Binary clas­sification without SA </i>was used, we had no correct answers for the cases of SA in the test phase. How­ever, either label could be given to them because they were cases in which <i>Random Sampling </i>and <i>Target Only </i>had the same accuracy. Therefore, we assigned TO or RS to them depending on the de­cision tree that was generated.</p></subsection><subsection number="5.3" title="Classification"><p>As Table 1 indicates, some cases had many word tokens and some had few. For example, a case had 58 word tokens when the source data were from the RWC newspaper articles, the target data were from the BCCWJ white papers, and the target</p><doubt alpha="61.9" length="21" tooSmall="False" monospace="0.0">All cases (144 cases)</doubt><p>Cases with TO or RA label 69 or 129 cases are included in 144 cases.</p><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">(69 or 129 cases)</doubt><doubt alpha="33.3" length="15" tooSmall="False" monospace="0.0">I   I   I   I I</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">■ ■■■</doubt><p>Figure 1: Five-fold cross validation of decision tree learning when <i>Binary classification without SA </i>was used word type was <b>"Hf</b><b> </b><b>5</b><b> </b>". (This case had 58 word to­kens because the word appeared 58 times). There­fore, the average accuracy of WSD could be im­proved if cases that had more word tokens could be predicted more precisely. We also classified cases with weighted word tokens, as well as just classified cases, in two ways.</p><p><i>• Case classification: </i>Perform decision tree learning on the assumption that every case has the same weight.</p><p><i>• Classification with weighting of word tokens: </i>Perform decision tree learning with weight­ing on the assumption that every case has the weight of the number of word tokens in the case.</p><p>The weights of the cases were used to calculate entropy.</p></subsection></section><section number="6" title="Results"><p>Table 5 lists the average accuracies of WSD when the original methods were used collectively. The average accuracies were calculated from 232,116 word tokens in 144 cases. (They were micro-averaged over the word tokens.) Table 5 indi­cates that <i>Target Only </i>outperformed <i>Random Sam­pling </i>and its accuracy was 81.23%. Here, <i>Selected Source Only </i>is a DA method where train a classi­fier with only selected source data that are simi­lar to the target data. We used 0.8 of cosine dis­tance as a threshold value. We did not include this method as a DA method that is automatically de­termined but showed as reference.</p><p>Table 6 summarizes the average accuracies of WSD when the DA methods that were determined were used for every case. There were nine ways of determining the DA methods: eight automatic and one manual. The eight automatic approaches were all combinations of the two choices in Sec­tions 5.<page local="7" global="1113"/>1, 5.2, and 5.3. Abbreviations of the ways in Table 6 are in the format of a_b_c where a is the choice for Section 5.1, b is that for Section 5.2 and c is that for Section 5.3. The "3" and "2" represent <i>Ternary classification with SA </i>and <i>Binary classi­fication without SA, </i>and "case" and "token" rep­resent <i>Case classification </i>and <i>Classification with weighting ofword tokens, </i>respectively. When the manual approach was used, the DA method with the highest accuracy was chosen manually for ev­ery case. Its average accuracy was in the upper bound for our proposed method.</p><table caption="Table 4: Number of cases and total word types given TO or RS labels according toEqualandChi-square" 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>DA method</p></td><td class="cell"><p>Accuracy</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Source data</p></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"><p>white papers</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Target data</p></td><td class="cell"><p>white papers</p></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>theOther</i></p></td><td class="cell"><p>79.65%</p></td><td class="cell"><p>83.35%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Random sampling</i></p></td><td class="cell"><p>85.40%</p></td><td class="cell"><p>83.86%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Target Only</i></p></td><td class="cell"><p>88.20%</p></td><td class="cell"><p>77.74%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>self</i></p></td><td class="cell"><p>95.97%</p></td><td class="cell"><p>91.65%</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><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>Source data</p></td><td class="cell"><p>Target data</p></td><td class="cell"><p><i>Equal</i></p></td><td class="cell"><p><i>Chi</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>white papers</p></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"><p>21</p></td><td class="cell"><p>13</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>white papers</p></td><td class="cell"><p>newspaper</p></td><td class="cell"><p>18</p></td><td class="cell"><p>9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"><p>newspaper</p></td><td class="cell"><p>25</p></td><td class="cell"><p>12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"><p>white papers</p></td><td class="cell"><p>25</p></td><td class="cell"><p>12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>newspaper</p></td><td class="cell"><p>white papers</p></td><td class="cell"><p>20</p></td><td class="cell"><p>11</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>newspaper</p></td><td class="cell"><p>Q&amp;A site</p></td><td class="cell"><p>20</p></td><td class="cell"><p>12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total cases</p></td><td class="cell"><p>129</p></td><td class="cell"><p>69</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total word types</p></td><td class="cell"><p>27</p></td><td class="cell"><p>20</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><table caption="Table 5: Average accuracy of WSD when methods were used collectively"></table><p>Table 6 shows that the automatic way with the highest average accuracy was Equal^2_case. The accuracy was 83.50%, and it significantly outper­formed <i>Target Only </i>and <i>Selected Source Only </i>in Table 5 (81.23% and 82.27%) . This means that the average accuracy of WSD when DA methods that were determined automatically were used was higher than when the original methods were used collectively.</p></section><section number="7" title="Discussion"><subsection number="7.1" title="Comparison of ways of determining DA methods"><p>We compare the results for ways of determining DA methods in this section. First, usually <i>Chi-</i> <i>square </i>was better for labeling of data, but <i>Equal </i>was better when <i>Binary classification without SA </i>and <i>Case classification </i>were used simultaneously. Second, usually <i>Ternary classification with SA </i>was better for treating SA in decision tree learn­ing, but <i>Binary classification without SA </i>was bet­ter when <i>Equal </i>and <i>Case classification </i>were used simultaneously. Finally, we could not find any pat­terns of the results for <i>Case classification </i>or <i>Clas­sification with weighting of word tokens.</i></p><p>The approach with the highest accuracy in the eight automatic ways was where SA la­bels were applied when the accuracies of WSD for the two methods were totally equal, binary classification was performed without SA, and cases were classified without weighted word to­kens (Equal_2_case). Significant differences were found in the three comparisons above when they were evaluated with a Chi-square test when the other conditions were the same.</p><p>The accuracy of decision tree learning was 60.42% when the Equal_2_case was used. This value was not very high, which may be due to the optimizing threshold value of pruning with a development data set. We think the reason low classification accuracy with decision trees did not critically influence the average accuracy of WSD was that most errors were for cases where <i>Random Sampling </i>and <i>Target Only </i>had almost the same ac­curacy.</p></subsection><subsection number="7.2" title="Discussion on learned decision tree"><p>We present the decision tree with the highest accu­racy in an appendix in five executions of five-fold cross validation in the decision tree learning of the Equal^2_case, whose average WSD accuracy was the highest in the eight automatic ways of learn­ing, and we discuss the features and their values that contributed to the generation of the tree.</p><p>First, TO was assigned when the "ratio of two simulation accuracies &gt;= 0.40" was false in the root node of the decision tree. Therefore, TO was assigned to cases whose ratio of "Simulation ac­curacy of <i>theOther </i>/ Simulation accuracy of <i>Tar­get Only" </i>was lower than 0.40. That is, TO was assigned to the cases when the accuracy of WSD when a classifier was trained with ten labeled word tokens of the target data and tested using a leave-one-out cross-validation method was higher than the accuracy of WSD when a classifier was trained with the source data and tested using ten labeled word tokens of the target data.<page local="8" global="1114"/> In other words, this indicates that the simulation using ten manually labeled word tokens of the target data was an im­portant clue in predicting the optimal DA method.</p><table caption="Table 6: Average accuracy of WSD when methods that were determined automatically were used" 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>DA method</p></td><td class="cell"><p>Accuracy of WSD</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Target Only</i></p></td><td class="cell"><p>81.23 %</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Random Sampling</i></p></td><td class="cell"><p>80.28 %</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Selected Source Only</i></p></td><td class="cell"><p>82.27 %</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><table class="main" frame="box" rules="all" border="0" 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>Way to determine a method</p></td><td class="cell"><p>Accuracy of WSD</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Equal_3_case</p></td><td class="cell"><p>82.36%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Equal_3_token</p></td><td class="cell"><p>82.44%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chi_3_case</p></td><td class="cell"><p>83.49%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chi_3_token</p></td><td class="cell"><p>83.42%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Equal _2_case</p></td><td class="cell"><p><b>83.50%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Equal _2_token</p></td><td class="cell"><p>81.88%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chi_2_case</p></td><td class="cell"><p>82.55%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chi_2_token</p></td><td class="cell"><p>82.92%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>manually</p></td><td class="cell"><p>85.25%</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><p>Next, TO was selected when JSD (bag-of-words of one word to the left of the target word) was equal to or more than 0.61 in the node with level one. This indicated that a classifier should only be trained with ten labeled word tokens of target data, without source data, when the distributions of the feature of bag-of-words of one word to the left of the WSD target word differed between the source and target data.</p><p>Moreover, TO was selected when JSD (seman­tic classification code of one word to the right of the target word) was equal to or more than 1.00 in the node with level two. This indicated that a classifier should only be trained with ten labeled word tokens of target data, without source data, when the distributions of the semantic classifica­tion code features of one word to the right of the WSD target word differed between the source and target data.</p><p>The decision tree in the appendix is small and simple, but the second best tree (there is a differ­ence in only one case) consists of 13 questions. According to the tree, TO tends to be assigned when JS divergences such as JSD (word sense), JSD (Feature_plus), and JSD (Syntactic feature) are large, and RS tends to be assigned when they are small. Large JS divergence indicates that the distributions of a feature are different, and small JS divergence indicates that the distributions of a feature are close. This indicates that when the dis­tributions of the important feature for WSD are different and the source data are not sufficiently close to the target data, the source data should not be used.</p><p>case with RS should be trained with source data and a small amount of target data, and SA repre­sents a case with no difference between the accu­racies for the two methods. The average accuracy of WSD when the DA methods that were deter­mined automatically were used was significantly higher than when the original methods were used collectively. We automatically generated a deci­sion tree in eight ways, the most accurate of which was with SA label when the WSD accuracies of the two methods were totally equal, performed bi­nary classification without SA, and classified cases without weighted word tokens. The top node in the tree that was generated indicated that simula­tion using ten manually labeled word tokens of the target data was an important clue enabling the op­timal DA method to be predicted.</p></subsection></section><section title="Acknowledgments"><p>We would like to thank the reviewers for very con­structive and detailed comments. This research is supported by Grants-in-Aid for Scientific Re­search, Priority Area "Japanese Corpus".</p><p><b>A  Generated decision tree</b></p><p>Upper edge represents true and lower edge repre­sents false.</p><p><b>i</b>— TO: 3 cases <b>I</b>— JSD (bag-of-words of one word to the left <b>I     I     </b>of the target word) &gt;= 0.61 <b>I     I </b><b>I</b>— TO: 3 cases <b>I <footnote anchor="1"/></b>— JSD (semantic classification code <b>I I </b>of one word to the right of</p><doubt alpha="60.0" length="25" tooSmall="False" monospace="0.0">I Ithe target word)&gt;=1.00</doubt><doubt alpha="62.7" length="83" tooSmall="False" monospace="0.0">I1—TO: 28 cases RS: 62 cases Ratio of two simulation accuracies&gt;=0.401— TO: 7 cases</doubt></section><section number="8" title="Conclusion"><p>We described how the optimal method of DA could be determined depending on the properties of the source and target data using decision tree learning and found what properties affected the determination of the best method when Japanese WSD was performed. We defined a case as a triple of the target word type of WSD, the source data, and the target data, all of which were classified into two labels (TO and RS) or three labels (TO, RS, and SA). Here, the case with TO should only be trained with a small amount of target data, the<page local="9" global="1115"/></p></section><references><p>Eneko Agirre and Oier Lopez de Lacalle. 2008. On robustness and domain adaptation using svd for word sense disambiguation. In <i>Proceedings of the 22nd International Conference on Computational Linguistics, </i>pages 17-24.</p><p>Eneko Agirre and Oier Lopez de Lacalle. 2009. Su­pervised domain adaption for wsd. In <i>Proceedings of the 12th Conference of the European Chapter of the Association ofComputational Linguistics, </i>pages 42-50.</p><p>John Blitzer, Ryan McDonald, and Fernando Pereira. 2006. Domain adaptation with structural coppe-spondence learning. In <i>Proceedings of the 2006 Conference on Empirical Methods in Natural Lan­guage Processing, </i>pages 120-128.</p><p>Yee Seng Chan and Hwee Tou Ng. 2006. Estimat­ing class priors in domain adaptation for word sense disambiguation. In <i>Proceedings ofthe 21st Interna­tional Conference on Computational Linguistics and 44th Annual Meeting of the Association for Compu­tational Linguistics, </i>pages 89-96.</p><p>Yee Seng Chan and Hwee Tou Ng. 2007. Domain adaptation with active learning for word sense dis­ambiguation. In <i>Proceedings of the 45th Annual Meeting ofthe Association ofComputational Lin­guistics, </i>pages 49-56.</p><p>Chih-Chung Chang and Chih-Jen Lin, 2001. <i>LIBSVM: a library for support vector   machines. </i>Software   available at http://www.csie.ntu.edu.tw/ cjlin/libsvm.</p><p>Hal Daume III, Abhishek Kumar, and Avishek Saha. 2010. Frustratingly easy semi-supervised domain adaptation. In <i>Proceedings ofthe 2010 Workshop on Domain Adaptation for Natural Language Pro­cessing, ACL 2010, </i>pages 23-59.</p><p>Hal Daume III. 2007. Frustratingly easy domain adap­tation. In <i>Proceedings ofthe 45th Annual Meeting of the Association ofComputational Linguistics, </i>pages 256-263.</p><p>Keiko Harimoto, Yusuke Miyao, and Jun'ichi Tsu-jii. 2010. Kobunkaiseki no bunyatekiou ni okeru seido teika youin no bunseki oyobi bunyakan kyori no sokutei syuhou, in japanese. In <i>Proceedings of</i></p><p><i>NLP2010, </i>pages 27-30.</p><p>Koichi Hashida, Hitoshi Isahara, Takenobu Tokunaga, Minako Hashimoto, Shiho Ogino, and Wakako Kashino. 1998. The rwc text databases. In <i>Proceed­ings ofthe First International Conference on Lan­guage Resource and Evaluation, </i>pages 457-461.</p><p>Jing Jiang and ChengXiang Zhai. 2007. Instance weighting for domain adaptation in nlp. In <i>Proceed­ings ofthe 45th Annual Meeting ofthe Association ofComputational Linguistics, </i>pages 264-271.</p><p>Kikuo Maekawa. 2008. Balanced corpus of con­temporary written japanese. In <i>Proceedings ofthe 6th Workshop on Asian Language Resources (ALR), </i>pages 101-102.</p><p>David McClosky, Eugene Charniak, and Mark John­son. 2010. Automatic domain adaptation for pars­ing. In <i>Proceedings ofthe 2010 Annual Conference ofthe North American Chapter ofthe Association for Computational Linguistics, </i>pages 28-36.</p><p>National Institute for Japanese Language and Linguis­tics. 1964. <i>Bunruigoihyo. </i>Shuuei Shuppan, In Japanese.</p><p>Minoru Nishio, Etsutaro Iwabuchi, and Shizuo Mizu-tani. 1994. <i>Iwanami Kokugo Jiten Dai Go Han. </i>Iwanami Publisher, In Japanese.</p><p>John Ross Quinlan. 1993. <i>C4.5: Programs for Ma­chine Learning. </i>Morgan Kaufmann Publishers.</p><p>Rajat Raina, Alexis Battle, Honglak Lee, Benjamin Packer, and Andrew Y. Ng. 2007. Self-taught learn­ing: Transferlearningfromunlabeleddata. In<i>ICML '07: Proceedings of the 24th international confer­ence on Machine learning, </i>pages 759-766.</p><p>Gokhan Tur. 2009. Co-adaptation: Adaptive co-training for semi-supervised learning. In <i>Proceed­ings ofthe IEEE International Conference on Acous­tics, Speech and Signal Processing, 2009. ICASSP 2009., </i>pages 3721-3724.</p><p>Vincent van Asch and Walter Daelemans. 2010. Us­ing domain similarity for performance estimation.</p><p>In <i>Proceedings of the 2010 Workshop on Domain Adaptation for Natural Language Processing, ACL 2010, </i>pages 31-36.</p><p>Erheng Zhong, Wei Fan, Jing Peng, Kun Zhang, Jiang-tao Ren, Deepak Turaga, and Olivier Verscheure. 2009. Cross domain distribution adaptation via ker­nel mapping. In <i>Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining, </i>pages 1027-1036.</p></references></body></article>