<?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="733"/><title>Unsupervised Domain Adaptation based on Text Relatedness</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 733-739, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Petasis" givenname="Georgios"><org  name="Software and Knowledge Engineering Laboratory" country="Greece"/></author></firstpageheader><frontmatter><p><b>Unsupervised Domain Adaptation based on Text Relatedness</b></p><p><b>Georgios Petasis</b></p><p>Software and Knowledge Engineering Laboratory, Institute of Informatics and Telecommunications, National Centre for Scientific Research "Demokritos",</p><p>Athens, Greece</p><p>petasis@iit.demokritos.gr</p></frontmatter><abstract>In this paper an unsupervised approach to do­main adaptation is presented, which exploits external knowledge sources in order to port a classification model into a new thematic do­main. Our approach extracts a new feature set from documents of the target domain, and tries to align the new features to the original ones, by exploiting text relatedness from external knowledge sources, such as WordNet. The ap­proach has been evaluated on the task of document classification, involving the classifi­cation of newsgroup postings into 20 news groups. </abstract></header><body><section number="1" title="Introduction"><p>The portability of natural language processing (NLP) systems to new thematic domains is still a research area that attracts a significant research interest. During the last two decades, the use of machine learning has greatly improved the adaptability to new domains, or even languages. However, the vast majority of machine learning algorithms operate under a basic assumption: both the training and test data should use the same feature space, and follow the same distribu­tion, suggesting that both should originate from the same thematic domain. When the distribution changes, the models must be re-generated from newly collected data. The adaptation can be separated into three large categories, according to the available data from the new domain. In supervised approaches, there is an adequate number of labelled data to train the model from scratch, on the new domain. When a limited number of labelled data are available, usually too few to train a model with satisfactory perform­ance, along with unlabeled ones, the adaptation process is characterised as semi-supervised. Fi­nally, unsupervised approaches must adapt their model to a new domain by learning solely from unlabelled examples.</p><p><i>Transfer learning </i>or <i>knowledge transfer </i>is a research area, which tries to extract knowledge from previous experience and apply it on new learning tasks. Based on the idea that prior knowledge (i.e. identifying oranges) can be used on new tasks (i.e. identifying lemons), transfer learning researches three main central problems (Zhang and Shakya, 2009): 1) how to extract the prior knowledge that is related, 2) how to repre­sent the knowledge, and 3) how to apply the knowledge in the new learning task. <i>Domain ad­aptation </i>is a sub-category of transfer learning, where (Pan and Yang, 2010):</p><p>1. The source and target domains are differ­ent, but related.</p><p>2. The source and target tasks are the same (i.e. classification or regression).</p><p>3. Labelled examples are available for the source domain.</p><p>4. Only unlabeled examples are available for the target domain.</p><p>In this paper, we propose a novel approach for the task of domain adaptation. Our method con­centrates on the <i>feature space, </i>by trying to ex­pand the features of the source domain with fea­tures that appear only in the target domain. Fea­tures that originate from the two different do­mains are aligned or linked to each other, through text relatedness. Text relatedness can take many forms, but we have opted for a simple relatedness measure, based on WordNet (Miller, 1995) synonymity.</p><p>The rest of the paper is organized as follows: in section 2 related work is presented, where our method is compared to existing approaches. In section 3 our approach to model adaptation based on text relatedness is presented, while section 4 presents evaluation on the 20-newsgroup corpus (Lang, 1995). Finally, section 5 concludes this paper and presents some future directions.</p><page local="2" global="734"/></section><section number="2" title="Related work"><p>The task of transfer learning can be defined as follows: given a source domain , a source task Ts, a target domain DT <b><i>Ds</i></b>, and a target task , transfer learning aims in learning a function that accomplishes task , by exploiting knowledge derived from Ds and Ts. A fairly re­cent overview of the area of transfer learning is given in the survey of (Pan and Yang, 2010), including the definition of transfer learning, its relation to traditional machine learning, a catego­risation of transfer learning approaches, and practical applications of transfer learning. More recent approaches that target the task of domain adaptation can be found on the ACL 2010 Work­shop on Domain Adaptation for Natural Lan­guage Processing (DANLP 2010) (Daumé III et al., 2010).</p><p>A lot of approaches exist that perform model adaptation in a fully supervised way (i.e. requir­ing labelled examples for both the source and target domains). For example, EASYADAPT (Daumé III, 2007) augments the source domain feature space using features extracted from la­belled data in target domain. Prior work on semi-supervised approaches to domain adaptation also exists in literature. Recent work in domain adap­tation has focused on approaches such as <i>self-training </i>and <i>structural correspondence learning </i>(SCL). The former approach involves adding self-labelled data from the target domain pro­duced by a model trained in-domain (McClosky, Charniak and Johnson, 2006). The latter ap­proach focuses on ways of generating shared source-target representations based on good pivot features (Blitzer, McDonald and Pereira, 2006); (Ando, 2004); (Daumé III, Kumar and Saha, 2010).</p><p>However, the approach presented in this paper follows an <i>unsupervised </i>approach, thus requiring no labelled examples from the target domain. Unsupervised approaches try to exploit knowl­edge either from external knowledge sources, like our approach and (Gabrilovich and Markovitch, 2005), or from the distribution fol­lowed by the target domain (Thrun and Pratt, 1998); (Dai et al., 2007). The work presented in this paper can be categorised as an "unsupervised feature construction" approach, according to (Pan and Yang, 2010). Thus, approaches that try to extend a feature set through the unsupervised extraction of new features share some common ground with our approach. In (Gabrilovich and Markovitch, 2005) an approach that extracts new features by exploiting world knowledge is pre­sented. World knowledge is represented through publically available ontologies, such as the Open Directory Project (ODP), where features from the source domain are mapped to appropriate ontology concepts, and "is-a" relations are ex­ploited in order to acquire new features that augment the original feature set. Finally, the most appropriate features are selected through a feature selection phase. The work presented in (Zhang and Shakya, 2009) is also closely related to our approach: <i>feature correlation </i>is used in order to group features into <i>correlated groups. </i>For example, words like "orange", "lemon", "apple" and "pear" may often appear together in documents: aggregating them into a new corre­lated group "fruits", creates a new feature. If enough evidence exists in a document from the target domain (i.e. some of the features of the correlated group appear in the document), the feature that corresponds to the correlated group may help the task in the target domain. In a sense, both approaches exploit information that can be characterised as "text relatedness" (or "feature relatedness"), as both "is-a" relations and correlation can be viewed as a relatedness measure between features. However, our method has also some important differences with these two methods. Our text relatedness measure is based on synonymity, as provided by an elec­tronic dictionary such as WordNet. An electronic dictionary may be an easier resource to find than an ontology or hierarchy, thus our approach may have a small advantage in initial requirements when compared to (Gabrilovich and Markovitch, 2005). On the other hand, the calculation of fea­ture correlation has no initial requirements in resources, but requires a corpus of adequate size, in order to extract the correlated groups. In addi­tion, mining correlated groups may be computa­tionally intensive if the feature set from the source domain is large enough (a problem tack­led by limiting the source domain feature set to 2000 features, selected through mutual informa­tion, as reported in (Zhang and Shakya, 2009)). Finally, synonymity is a slightly more restricted text relatedness measure, compared to "is-a" re­lations (that can have many levels in the concept hierarchy) or correlation (which can relate possi­ble unrelated features). Being a slightly more accurate text relatedness metric, it constitutes the need for feature selection, after the expansion of the source feature set, less important. In fact, our approach does not have a feature selection phase at all, in contrary to the two related approaches.</p><page local="3" global="735"/></section><section number="3" title="Domain adaptation based on text re-latedness"><p>The proposed methodology assumes a source domain    , a target domain , a task common for both domains, a feature space for the source domain , a label space common for both domains, and a set of labelled examples originating   from  the   source domain</p><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">, where , ,</doubt><p>Zj £ L. In addition, our approach assumes a bi­nary   function ,</p><p>, which decides if two features are re­lated, according to a text relatedness metric. Fi­nally, a function is assumed, that can extract a feature space from the target domain . The function can be even a naive one, i.e. a function that returns all words in a corpus from the target domain .</p><subsection number="3.1" title="Text relatedness based on synonymity"><p>Our approach assumes a binary relatedness func­tion , that can compare two features (either from the source or from the target feature spaces), and return whether the two features are related or not. Although many relatedness met­rics can be devised and used, we have opted for a simple one, based on synonymity. Assuming an electronic dictionary, which contains synonyms, our text relatedness that is based on synonymity can be described with the following algorithm:</p><p>• If xa and Xß are the same, return 1.</p><p>• Let Sa be the set of synonyms of xa, and</p><p>the set of synonyms of   , according to the dictionary.</p><p>• If or , return 1.</p><p>• If , return 1.</p><p>• Else, return 0.</p><p>In simple words, our synonymity relatedness metric returns true, if the two features are syno­nyms, or when they have at least one common synonym. The electronic dictionary that has been chosen is WordNet (Miller, 1995), as has already been mentioned. It should be noted that all syno­nyms for all senses are treated equally, without performing any kind of word sense disambigua­tion (Navigli, 2009), as is performed for example in the approach described in (Gabrilovich and</p><p>Markovitch, 2005).</p></subsection><subsection number="3.2" title="Extracting features from the target do­main"><p>Our approach assumes that there is a function , which can extract features from the target domain . Since no further requirements are assumed about this function, the function can be as naive or complex as the task requires. We have considered two feature extraction proce­dures, one naive, and one slightly more complex. The naive feature extraction (the aim of which is to be applied on the target domain ) simply extracts all the words that can be found on a cor­pus from , minus the words that are consid­ered as "stop words", and are filtered by using a stop word list. For the purposes of the experi­ments that will be presented in subsequent sec­tions, the stop word filtering facilities offered by the Ellogon (Petasis et al., 2002) language engi­neering platform have been used.</p><p>A second feature extraction procedure has been additionally devised, aiming to be applied on the source domain , in case such a need arises. This procedure examines all documents of a corpus, and calculates the TF-IDF score for every word of the document. "Stop words" are also rejected, and the rest of the remaining words are sorted according to their TF-IDF score, in a descending list. Then, an amount of the best scoring words, specified through a parameter (interpreted as a percent of the total words in a document), is extracted from each document, and added to the feature space that will be returned as the result.</p></subsection><subsection number="3.3" title="Extracting new features"><p>Once we have a method for extracting possible new features from the target domain , through the function , and a text relatedness metric , we can apply these two functions in order to acquire a feature set from the target do­main:</p><p>• Let be the feature space, as ex­tracted from the target domain by the function .</p><p>• Each feature from the source fea­ture set is compared to each feature</p><p>in the extracted from the tar­get domain feature set. The function is used for comparing the pair of features.</p><p>• Features from the that are not re­lated to any feature in    , are eliminated</p><page local="4" global="736"/><p>from , leading to a new feature space .</p><p>• As a final step, all features xT £ X?elatedare examined: every feature xT that is re­lated to more than one features in , is removed from , leading to the fi-</p><p>nal feature space that relates to the target domain .</p><p>The result of this procedure, the final feature space that should be used for performing task T on the target domain     is the union of the two feature spaces: .</p></subsection><subsection number="3.4" title="Representing the extracted knowledge"><p>The augmented feature space that has been extracted as described in the previous subsection, contains all features of the source domain , and new features from the target domain, each of which is unambiguously related to a single fea­ture from . The only unsolved issue is how this augmented feature space is going to be repre­sented as vectors, which can be used with a ma­chine learning algorithm. Although this decision may rely on the particular machine learning algo­rithm that will be used, empirical evaluation sug­gested that the best alternative is to form "groups of features", where each old feature is replaced by two features: the original one, plus the related one from the target feature space, if one exists. This representation has been proved beneficial, at least for the task we have chosen to evaluate our approach (document classification), the cho­sen representation (bag-of-words) and the chosen classifier (kNN with and cosine similarity as the distance metric).</p></subsection></section><section number="4" title="Empirical evaluation"><p>This section will present an empirical evaluation of the proposed approach for domain adaptation based on text relatedness, with the help of the 20-newsgroup dataset (Lang, 1995): the 20-newsgroup dataset is a collection of approxi­mately 20000 newsgroup documents, partitioned (nearly) evenly across 20 different newsgroups, and is a standard evaluation corpus in many works related to domain adaptation or transfer learning. The task chosen for the empirical evaluation is document classification.</p><subsection number="4.1" title="The 20-newsgroup corpus"><p>The 20-newsgroup corpus is preconfigured in training and testing material. Despite the fact that it is a popular evaluation corpus for domain adaptation approaches, it is unclear to us if all works that report results on the corpus use the same train/test partitioning, as different results are reported even for the base cases, as in (Pan and Yang, 2010) for example. In order to ease comparison with other approaches we opted in using the predefined train/test segmentation of the corpus, as it is distributed. Regarding the task, we will limit evaluation to the three more popular evaluation pairs: "rec vs talk", "rec vs sci", "sci vs talk".</p><p>The main idea behind the separation of these pairs, is that newsgroup posts from relevant but different newsgroups are put in the source/target domains. The "rec vs talk" class for example, may contain posts from the newsgroups "talk.politics.misc", "talk.politics.guns", "rec. motorcycles", and "rec.sport.hockey" as training material representing the source domain, while the test data (representing the target domain) may comprise from posts of the following news­groups: "talk.politics.mideast", "talk.religion. misc", "rec.autos" and "rec.sport.baseball".</p><p>All posts in the three pairs of interest were pre-processed, in order for words to be recog­nised. A feature space from the posts constituting the training material was extracted, using the second method described in subsection 3.2, the one that extracts the top scoring words according to their TF-IDF weights, the number of which is controlled through a percentage of the total words of each post. This parameter was set to 0.003%, as it was found to roughly correspond to about one word from each post, leading for ex­ample to 4564 features for "rec vs sci", whose training material contains 4762 newsgroup posts. The reason behind this choice was to avoid pos­sible over-fitting in the presence of too many features, and to provide our domain adaptation approach a chance to discover a large number of features from the target domain. As a measure of comparison, in (Zhang and Shakya, 2009) an initial feature space of 2000 features was se­lected.</p><p>Another point of interest is the choice of the machine learning algorithm, which will be used in order to learn from vectors. Support Vector Machines (SVMs) are quite popular as a base case in model adaptation problems, since prior studies found SVMs to offer the best perform­ance, at least for document classification using a bag-of-words representation (Dumais et al., 1998); (Yang and Liu, 1999). However, since our approach expands the feature space, we wanted to evaluate the effect of the augmented feature <u>SVM (LIBLINEAR)</u> <b>Table 1:</b><page local="5" global="737"/><b> </b>Corpus characteristics and base case evaluation for the 20-newsgroup corpus.</p><p><b><u>Domain adaptation based on text relatedness</u></b> <b>Table 2:</b><b> </b>Evaluation results on domain adaptation for the 20-newsgroup corpus. Results from (Shi, Fan and Ren, 2008) are also shown for comparison purposes (evaluated on different data partitioning).</p><doubt alpha="56.2" length="16" tooSmall="False" monospace="0.0">Precision 65.75%</doubt><doubt alpha="28.6" length="21" tooSmall="False" monospace="0.0">Recall 50.69% (+8.47)</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">57.25%</doubt><doubt alpha="4.8" length="21" tooSmall="False" monospace="0.0">65.11%I59.01% (+5.12)</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">61.91%</doubt><doubt alpha="4.8" length="21" tooSmall="False" monospace="0.0">63.18%I52.69% (+9.11)</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">57.46%</doubt><p>space with the least possible intervention from the chosen machine learning algorithm. Thus, we selected one of the simplest machine learning algorithms available, the k-nearest neighbour algorithm (kNN). kNN does not have a training phase, it just classifies test instances using a similarity metric to measure distances from the training instances. In all experiments reported in this work, a kNN implementation was used with k=1, and cosine similarity as the distance metric.</p><p>The bag-of-words representation was used for all experiments in this paper. Under this repre­sentation, each document (newsgroup post) is represented with a single vector, which has the same dimension as the feature namespace in use. The value for each feature is binary: 1 represents that this feature exists in the document, 0 repre­sents that this feature does not exist in the docu­ment. The characteristics of the 20-newsgroup corpus, as well as evaluation results for the base classifier are shown in Table 1. Despite the fact that kNN is the chosen classifier due to reasons already discussed, we have also applied an SVM algorithm with linear kernel, as implemented by</p><doubt alpha="63.0" length="46" tooSmall="False" monospace="0.0">the LIBLINEAR library (Fan et al., 2008). LIB-</doubt><p>LINEAR has been applied in order to ease com­parisons with other approaches employing SVMs for classification.</p><p>The evaluation results of our approach are shown in Table 2. The upper part of Table 2 con­tains the evaluation results of our approach. The rows correspond to the examined pairs of news­groups, while columns include information about the performance of both the kNN and LIBLIN-</p><p>EAR classifiers, in terms of precision, recall and F-measure ( ). In table columns concerning recall, the improvement from the base case is also displayed, as difference between percent­ages. The lower part of Table 2 contains evalua­tion results from (Shi, Fan and Ren, 2008), where two model adaptation approaches were evaluated and compared with SVMs, used as a base case. While experiments in (Shi, Fan and Ren, 2008) use a different partitioning of the corpus as training and testing data, suggesting that the performance of these approaches are not directly comparable to our approach, the im­provement in performance provides a good indi­cation of the contribution of the approaches, and can be compared to the improvement achieved by our approach.</p><p>As we can see from Table 2, the kNN classi­fier is able to provide answers for a much larger number of documents after the feature space has been augmented with features from the target domain. This is evident by the increase in recall. However, another aspect of feature space expan­sion should be noted: the classifier is able to pro­vide an answer for a much larger number of newsgroup posts, even if the answer is not cor­rect. For example, only 1600 (out of 3169) posts of the target domain contained features from the feature space of the source domain, in the case of the "rec vs sci" pair. However, after our ap­proach expands the feature space with features from the target domain, 2289 posts of the target domain contained at least one feature from the augmented feature space, offering the possibility for classifying a larger number of posts.<page local="6" global="738"/></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><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>Pair</p></td><td class="cell"><p>Source Domain Posts</p></td><td class="cell"><p>Target Do­main Posts</p></td><td class="cell"><p>kNN (k = 1, cosine similarity)</p></td><td class="cell"><p>SVM (LIBLINEAR)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Fx</p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Fx</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs sci</p></td><td class="cell"><p>4762</p></td><td class="cell"><p>3169</p></td><td class="cell"><p>83.00%</p></td><td class="cell"><p>41.90%</p></td><td class="cell"><p>55.69%</p></td><td class="cell"><p>83.62%</p></td><td class="cell"><p>42.22%</p></td><td class="cell"><p>56.11%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs talk</p></td><td class="cell"><p>4341</p></td><td class="cell"><p>2891</p></td><td class="cell"><p>83.35%</p></td><td class="cell"><p>51.61%</p></td><td class="cell"><p>55.51%</p></td><td class="cell"><p>87.04%</p></td><td class="cell"><p>53.89%</p></td><td class="cell"><p>66.57%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>sci vs talk</p></td><td class="cell"><p>4325</p></td><td class="cell"><p>2880</p></td><td class="cell"><p>78.98%</p></td><td class="cell"><p>41.63%</p></td><td class="cell"><p>54.52%</p></td><td class="cell"><p>82.67%</p></td><td class="cell"><p>43.58%</p></td><td class="cell"><p>57.07%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><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>Pair</p></td><td class="cell"><p>kNN (k = 1, cosine similarity)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Fx</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs sci</p></td><td class="cell"><p>64.88%</p></td><td class="cell"><p>50.02% (+8.12)</p></td><td class="cell"><p>56.49%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs talk</p></td><td class="cell"><p>61.17%</p></td><td class="cell"><p>55.44% (+3.83)</p></td><td class="cell"><p>58.17%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>sci vs talk</p></td><td class="cell"><p>59.60%</p></td><td class="cell"><p>49.70% (+8.07)</p></td><td class="cell"><p>54.20%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>(Shi, Fan and Ren, 2008)</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Pair</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Recall</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(base/SVM)</p></td><td class="cell"><p>(TrAdaBoost)</p></td><td class="cell"><p>(AcTraK)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs sci</p></td><td class="cell"><p>59.1%</p></td><td class="cell"><p>67.4% (+8.3)</p></td><td class="cell"><p>70.6% (+11.5)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>rec vs talk</p></td><td class="cell"><p>60.2%</p></td><td class="cell"><p>72.3% (+12.1)</p></td><td class="cell"><p>75.4% (+15.2)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>sci vs talk</p></td><td class="cell"><p>57.6%</p></td><td class="cell"><p>71.3% (+13.7)</p></td><td class="cell"><p>75.1% (+17.5)</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><p>The increase in performance achieved by our approach ranges from 4% (for "rec vs talk") to 8% (for "rec vs sci"). In comparison, the algo­rithm TrAdaBoost (Dai et al., 2007) achieved an increase ranging from 8% to 14%. The algorithm TrAdaBoost employs boosting in a semi-supervised approach, which exploits a small set of labelled data from the target domain, in addi­tion to a large labelled data set from the source domain., in order to minimise the importance of labelled data from source domain (through weighting) whose distribution does not match the one of the target domain. Considering the fact that our approach employs a simple classification algorithm (kNN, , binary features), along with a fairly simple text relatedness similarity (synonymity), our approach performed surpris­ingly well. AcTraK (Shi, Fan and Ren, 2008) achieves an additional improved of about 4% compared to TrAdaBoost, with the help of active learning in a semi-supervised approach, where labelled data may be asked when necessary.</p></subsection><subsection number="4.2" title="Representing the augmented feature space"><p>Given the specific choices we have done regard­ing the task of document classification for the representation and the machine learning algo­rithm in use, we have performed an empirical evaluation in order to examine the effect of dif­ferent ways in representing the acquired knowl­edge. We have examined three cases, concerning the incorporation of the augmented features in to the vectorial representation:</p><p><b><i>Expanding training vectors: </i></b>under this sce­nario, the new features are also represented in the vectors, increasing the dimensionality of the vec­tors. A new dimension is created for each feature in the feature space. The value for each new feature is the value of its related, original feature in this vector.</p><p><b><i>Expanding and duplicating vectors: </i></b>this case is very similar to the previous one regarding di­mensionality: the dimensionality also increases, identical to the previous case. However, there is a difference in how the values of new features are set: instead of placing the value 1 to the original training vector, if the linked original fea­ture is also 1, the original vector is duplicated, and the value 1 is set in the copy, for the new feature. As a result, each original vector is dupli­cated as many times as there are augmented features whose value should be 1 for this vector. Each copy differs from the original one only at the value of one feature.</p><p><b><i>Grouping features: </i></b>under this scenario, the dimensionality of the vectors is not increased. Instead some of the features become "grouped features": they occupy a single dimension in vec­tors, but they represent different words, when matched in documents. This case was used in the evaluation presented in the previous subsection.</p><p>The evaluation has been performed only for the "rec vs sci" pair of newsgroups, using the same classifier as in subsection 4.1. The results are shown in Table 3. Our approach managed to achieve an improvement in accuracy (recall) in all three cases. However, the improvement was significantly better for case 3, while case 2 per­formed worse than the other two methods. The reason for the worst improvement can be attrib­uted to the fact that the number of vectors that were added was not enough to cover all possible permutations. Assuming augmented features whose value must be 1 (as there are also origi­nal features whose value is 1), vectors must be inserted, in order to cover all possible permutations. However, adding so many vectors can quickly lead to an intractable problem. In­stead our approach followed a more conservative path, adding only vectors to the original training set, covering unfortunately only a part of possible cases, and not fully exploiting the poten­ti<u>al of the augmented features.</u>__ <b>Table 3:</b><b> </b>Evaluation results for various representa-</p><p>tions of the augmented feature space. Case 1 was not too far from case 2. The reason for this behaviour can be attributed to the classi­fication algorithm we have used. Cosine similar­ity depends on the number of common features with value 1 between the two vectors, divided by the magnitude of the two vectors. We can easily image a case where in a post, some of the origi­nal features without augmented ones exist in the post, but from the related features, only some of the augmented features exists, and none of the original related features exists. Trying to match such a test vector to a training one that has the augmented, but also their original related fea­tures set to 1, may be misclassified in favour of a vector with less magnitude, and possibly with no related features (both original and augmented) set to one.<page local="7" global="739"/> Thus, also this case is unable to fully exploit the augmented features, as it may favour classifying test vectors with augmented features into training vectors without augmented features.</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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"><p>Fx</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Case 1</p></td><td class="cell"><p>79.26%</p></td><td class="cell"><p>45.69%</p></td><td class="cell"><p>57.96%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Case 2</p></td><td class="cell"><p>76.79%</p></td><td class="cell"><p>44.27%</p></td><td class="cell"><p>56.16%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Case 3</p></td><td class="cell"><p>64.88%</p></td><td class="cell"><p>50.02%</p></td><td class="cell"><p>56.94%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Base case</p></td><td class="cell"><p>83.00%</p></td><td class="cell"><p>41.90%</p></td><td class="cell"><p>55.69%</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></subsection></section><section number="5" title="Conclusions and future work"><p>In this paper, a domain adaptation approach was presented, that exploits text relatedness in the form of WordNet synonymity, in order to aug­ment an initial feature space, derived from the source domain, with new features from the target domain. The proposed approached was empiri­cally evaluated with the help of a manually anno­tated corpus. Evaluation results suggest that our approach can achieve an improvement compara­ble to other approaches that can be found in the bibliography, despite the fact that it employs kNN as its classifier to the task of document classification.</p><p>Since our current implementation of text relat-edness is quite simple, based on WordNet syn­onymity, trying out more complex relatedness functions would be an interesting future direction to explore. A particularly interesting text related-ness function is Omiotis (Tsatsaronis, Varlamis and Vazirgiannis, 2010), which exploits many knowledge sources in order to estimate the relat-edness between two words.</p></section><section title="Acknowledgments"><p>The author would like to acknowledge partial support of this work from the European Commu­nity Seventh Framework Programme, as part of the FP7 - 231854 SYNC3 project.</p></section><references><p>Ando, R.K. (2004) 'Exploiting unannotated corpora for tagging and chunking', Proceedings of the ACL 2004 on Interactive poster and demonstration ses­sions (ACLdemo '04), Stroudsburg, PA, USA.</p><p>Blitzer, J., McDonald, R. and Pereira, F. (2006) 'Domain Adaptation with Structural Correspon­dence Learning', Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP '06), Sydney, Australia, 120-­128.</p><p>Dai, W., Yang, Q., Xue, G.-R. and Yu, Y. (2007) 'Boosting for transfer learning', Proceedings of the Twenty-Fourth International Conference (ICML 2007), Corvalis, Oregon, USA, 193-200.</p><p>Daumé III, H. (2007) 'Frustratingly Easy Domain Adaptation', Proceedings of the 45th Annual Meet­ing of the Association of Computational Linguis­tics, Prague, Czech Republic, 256--263.</p><p>Daumé III, H., Deoskar, T., McClosky, D., Plank, B. and Tiedemann, J. (2010) Proceedings of the 2010 Workshop on Domain Adaptation for Natural Language Processing, Uppsala, Sweden: Association for Computational Linguistics. Daumé III, H., Kumar, A. and Saha, A. (2010) 'Frustratingly Easy Semi-Supervised Domain Adaptation', Proceedings of the 2010 Workshop on Domain   Adaptation   for   Natural Language</p><p>Processing (DANLP 2010), Uppsala, Sweden, 53-­59.</p><p>Dumais, S., Platt, J., Sahami, M. and Heckerman, D. (1998) 'Inductive Learning Algorithms and Repre­sentations for Text Categorization', CIKM'98, 148­-155.</p><p>Fan, R.-E., Chang, K.-W., Hsieh, C.-J., Wang, X.-R. and Lin, C.-J. (2008) 'LIBLINEAR: A Library for Large Linear Classification', Journal of Machine Learning Research, vol. 9, Aug, pp. 1871--1874.</p><p>Gabrilovich, E. and Markovitch, S. (2005) 'Feature Generation for Text Categorization Using World Knowledge', Proceedings of The Nineteenth Inter­national Joint Conference for Artificial Intelli­gence, Edinburgh, Scotland, 1048--1053.</p><p>Lang, K. (1995) 'NewsWeeder: Learning to filter net­news', Proceedings of the Twelfth International Conference on Machine Learning, 331-339.</p><p>McClosky, D., Charniak, E. and Johnson, M. (2006) 'Reranking and self-training for parser adaptation', Proceedings of ACL-COLING, Sydney, Australia, 337--344.</p><p>Miller, G.A. (1995) 'WordNet: a lexical database for English', Commun. ACM, vol. 38, no. 11, Novem­ber, pp. 39--41, Available: 0001-0782.</p><p>Navigli, R. (2009) 'Word sense disambiguation: A survey', ACM Comput. Surv., vol. 41, no. 2, Feb­ruary, pp. 10:1--10:69, Available: 0360-0300.</p><p>Pan, S.J. and Yang, Q. (2010) 'A Survey on Transfer Learning ', IEEE Transactions on Knowledge and Data Engineering, vol. 22, no. 10, October, pp. 1345 - 1359.</p><p>Petasis, G., Karkaletsis, V., Paliouras, G., Androutso-poulos, I. and Spyropoulos, C.D. (2002) 'Ellogon: A New Text Engineering Platform', LREC 2002, Canary Islands, 72--78.</p><p>Shi, X., Fan, W. and Ren, J. (2008) 'Actively Transfer Domain Knowledge', Proceedings of the European conference on Machine Learning and Knowledge</p><p>Discovery in Databases (ECML PKDD '08) - Part II, Berlin, Heidelberg, 342--357.</p><p>Thrun, S. and Pratt, L. (1998) Learning To Learn, Kluwer Academic Publishers.</p><p>Tsatsaronis, G., Varlamis, I. and Vazirgiannis, M. (2010) 'Text Relatedness Based on a Word Thesau­rus', Journal of Artificial Intelligence Research, vol. 37, pp. 1--39.</p><doubt alpha="58.3" length="48" tooSmall="False" monospace="0.0">Yang, Y. and Liu, X. (1999) 'A Re-Examination of</doubt><p>Text Categorization Methods', SIGIR'99, 42--49. Zhang, J. and Shakya, S.S. (2009) 'Knowledge Trans­fer for Feature Generation in Document Classifica­tion', Proceedings of the 2009 International Confe­rence on Machine Learning and Applications (IC-</p><p>MLA '09), Washington, DC, USA, 255--260.</p></references></body></article>