<?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="774"/><title>Scalable Term Selection for Text Categorization</title><pubinfo>Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning,pp. 774-782, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Li" givenname="Jingyang"><org  name="Tsinghua University" country="China" city="Beijing"/></author><author surname="Sun" givenname="Maosong"><org  name="Tsinghua University" country="China" city="Beijing"/></author></firstpageheader><frontmatter><p><b>Scalable Term Selection for Text Categorization</b></p><p><b>Jingyang Li</b></p><p>National Lab of Intelligent Tech. &amp; Sys. Department of Computer Sci. &amp; Tech. Tsinghua University, Beijing, China</p><p>lijingyang@gmail.com</p><p><b>Maosong Sun</b></p><p>sms@tsinghua.edu.cn</p></frontmatter><abstract>In text categorization, term selection is an important step for the sake of both cate­gorization accuracy and computational ef­ficiency. Different dimensionalities are ex­pected under different practical resource re­strictions of time or space. Traditionally in text categorization, the same scoring or ranking criterion is adopted for all target dimensionalities, which considers both the discriminability and the coverage of a term, such as %<footnote anchor="2"/> or IG. In this paper, the poor ac­curacy at a low dimensionality is imputed to the small average vector length of the docu­ments. Scalable term selection is proposed to optimize the term set at a given dimen­sionality according to an expected average vector length. Discriminability and cover­age are separately measured; by adjusting the ratio of their weights in a combined cri­terion, the expected average vector length can be reached, which means a good com­promise between the specificity and the ex-haustivity of the term subset. Experiments show that the accuracy is considerably im­proved at lower dimensionalities, and larger term subsets have the possibility to lower the average vector length for a lower com­putational cost. The interesting observations might inspire further investigations. </abstract></header><body><section number="1" title="Introduction"><p>Text categorization is a classical text information processing task which has been studied adequately (Sebastiani, 2002). A typical text categorization pro­cess usually involves these phases: document in­dexing, dimensionality reduction, classifier learn­ing, classification and evaluation. The vector space model is frequently used for text representation (document indexing); dimensions of the learning space are called <i>terms, </i>or <i>features </i>in a general ma­chine learning context. Term selection is often nec­essary because:</p><p>• Many <i>irrelevant </i>terms have detrimental effect on categorization accuracy due to <i>overfitting</i></p><p>(Sebastiani, 2002).</p><p>• Some text categorization tasks have many rel­evant but <i>redundant </i>features, which also hurt the categorization accuracy (Gabrilovich and Markovitch, 2004).</p><p>• Considerations on computational cost:</p><p>(i) Many sophisticated learning machines are very slow at high dimensionalities, such as LLSF (Yang and Chute, 1994) and SVMs.</p><p>(ii) In Asian languages, the term set is often very large and redundant, which causes the learning and the predicting to be really slow.</p><p>(iii) In some practical cases the computational resources (time or space) are restricted, such as hand-held devices, real-time applications and frequently retrained systems. (iv) Some deeper analysis or feature reconstruction techniques rely on matrix factorization (e.g. LSA based on SVD), which might be computationally in­tractable while the dimensionality is large.</p><p>Sometimes an aggressive term selection might be needed particularly for (iii) and (iv). But it is no­table that the dimensionality is not always directly connected to the computational cost; this issue will be touched on in Section 6.<page local="2" global="775"/> Although we have many general feature selection techniques, the do­main specified ones are preferred (Guyon and Elis-seeff, 2003). Another reason for ad hoc <i>term </i>se­lection techniques is that many other pattern clas­sification tasks has no <i>sparseness problem </i>(in this study the sparseness means a sample vector has few nonzero elements, but not the high-dimensional learning space has few training samples). As a ba­sic motivation of this study, we hypothesize that the low accuracy at low dimensionalities is mainly due to the sparseness problem.</p><p>Many term selection techniques were presented and some of them have been experimentally tested to be high-performing, such as Information Gain, %<footnote anchor="2"/>(Yang and Pedersen, 1997; Rogati and Yang, 2002) and Bi-Normal Separation (Forman, 2003). Every­one of them adopt a criterion scoring and ranking the terms; for a target dimensionality d, the term se­lection is simply done by picking out the top-d terms from the ranked term set. These high performing cri­teria have a common characteristic — both discrim-inability and coverage are implicitly considered.</p><p><i>• discriminability: </i>how unbalanced is the distri­bution of the term among the categories.</p><p><i>• coverage: </i>how many documents does the term occur in.</p><p>(Borrowing the terminologies from document index­ing, we can say the <i>specificity </i>of a term set corre­sponds to the discriminability of each term, and the <i>exhaustivity </i>of a term set corresponds to the cov­erage of each term.) The main difference among these criteria is to what extent the discriminability is emphasized or the coverage is emphasized. For in­stance, empirically <i>IG </i>prefers high frequency terms more than %<footnote anchor="2"/> does, which means <i>IG </i>emphasizes the coverage more than %<footnote anchor="2"/> does.</p><p>The problem is, these criteria are nonparametric and do the same ranking for any target dimensional­ity. Small term sets meet the specificity-exhaustivity dilemma. If really the sparseness is the main rea­son of the low performance of a small term set, the specificity should be moderately sacrificed to im­prove the exhaustivity for a small term set; that is to say, the term selection criterion should consider coverage more than discriminability. Contrariwise, coverage could be less considered for a large term set, because we need worry little about the sparse-ness problem and the computational cost might de­crease.</p><p>The remainder of this paper is organized as fol­lows: Section 2 describes the document collections used in this study, as well as other experiment set­tings; Section 3 investigates the relation between sparseness (measured by <i>average vector length) </i>and categorization accuracy; Section 4 explains the basic idea of scalable term selection and proposed a poten­tial approach; Section 5 carries out experiments to evaluate the approach, during which some empirical rules are observed to complete the approach; Sec­tion 6 makes some further observations and discus­sions based on Section 5; Section 7 gives a conclud­ing remark.</p></section><section number="2" title="Experiment Settings"><subsection number="2.1" title="Document Collections"><p>Two document collections are used in this study.</p><p><b>CE (Chinese Encyclopedia): </b>This is from the electronic version of the Chinese Encyclopedia. We choose a Chinese corpus as the primary document collection because Chinese text (as well as other Asian languages) has a very large term set and a satisfying subset is usually not smaller than 50000 (Li et al., 2006); on the contrary, a dimensional­ity lower than 10000 suffices a general English text categorization (Yang and Pedersen, 1997; Rogati and Yang, 2002). For computational cost reasons mentioned in Section 1, Chinese text categorization would benefit more from an high-performing ag­gressive term selection. This collection contains 55 categories and 71674 documents (9:1 split to train­ing set and test set). Each documents belongs to only one category. Each category contains 399­3374 documents. This collection was also used by</p><p>Li et al. (2006).</p><p><b>20NG (20 Newsgroups<footnote anchor="1"/>): </b>This classical English document collection is chosen as a secondary in this study to testify the generality of the proposed ap­proach. Some figures about this collection are not shown in this paper as the figures about CE, viz. Fig­ure 1—4 because they are similar to CE's.</p><footnote label="1">http://people.csail.mit.edu/jrennie/ 2 0Newsgroups</footnote><page local="3" global="776"/></subsection><subsection number="2.2" title="Other Settings"><p>For CE collection, character bigrams are chosen to be the indexing unit for its high performance (Li et al., 2006); but the bigram term set suffers from its high dimensionality. This is exactly the case we tend to tackle. For 20NG collection, the indexing units are stemmed<footnote anchor="2"/> words. Both term set are df-cut by the most conservative threshold <i>(df</i><i> </i><i>&gt;</i><i> </i>2). The sizes of the two candidate term sets are |7Ce| = 1067717 and |72ong| = 30220.</p><p>Term weighting is done by <i>tfidf</i><i>(ti,d</i><i>j</i>) = log(f <i>(t</i><i>i,</i><i> </i><i>d3</i>) + 1) <i>• </i>log (<i>^N</i><i>d</i><i>r)</i><footnote anchor="3"/>, in which <i>t% </i>de­notes a term, <i>d</i><i>j </i>denotes a document, <i>Nd </i>denotes the total document number.</p><p>The classifiers used in this study are support vector machines (Joachims, 1998; Gabrilovich and Markovitch, 2004; Chang and Lin, 2001). The ker­nel type is set to linear, which is fast and enough for text categorization. Also, Brank et al. (2002) pointed out that the complexity and sophistication of the criterion itself is more important to the success of the term selection method than its compatibility in design with the classifier.</p><p>Performance is evaluated by microaveraged <i>Fi-</i>measure. For single-label tasks, microaveraged <i>pre­cision, recall </i>and Fi have the same value.</p><p>X<footnote anchor="2"/> is used as the term selection baseline for its popularity and high performance. <i>(IG </i>was also re­ported to be good. In our previous experiments, <i>xX </i>is generally superior to <i>IG.) </i>In this study, features are always selected <i>globally, </i>which means the maxi­mum are computed for category-specific values (Sebastiani, 2002).</p></subsection></section><section number="3" title="Average Vector Length (AVL)"><p>In this study, <i>vector length </i>(how many different terms does the document hold after term selection) is used as a straightforward sparseness measure for a document (Brank et al., 2002). Generally, document sizes have a <i>lognormal distribution </i>(Mitzenmacher, 2003). In our experiment, vector lengths are also found to be nearly lognormal distributed, as shown in Figure 1. If the correctly classified documents</p><footnote label="2">Stemming by Porter's Stemmer ( http://www . tartarus.org/ martin/PorterStemmer/).</footnote><footnote label="3">In our experiments this form of tfidf always outperforms the basic tfidf (t i ,d j ) = tf (t i ,d j ) • log ( df(t N d +1 ) form.</footnote><p><b><i>vector length</i></b></p><figure caption="Figure 1: Vector Length Distributions (smoothed), on CE Document Collection"></figure><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">0.7-■</doubt><doubt alpha="0.0" length="13" tooSmall="False" monospace="0.0">1 10 100 1000</doubt><figure caption="Figure 2: Error Rate vs. Vector Length (smoothed), on CE Collection, 5000 Dimensions byx2"></figure><p>and the wrongly classified documents are separately investigated, they both yield a nearly lognormal dis­tribution.</p><p>Also in Figure 1, wrongly classified documents shows a relatively large proportion at low dimen­sionalities. Figure 2 demonstrates this with more clarity. Thus the hypothesis formed in Section 1 is confirmed: there is a strong correlation between the sparseness degree and the categorization error rate.</p><p>Therefore, it is quite straightforward a thought to measure the "sparseness of a term subset" (or more precisely, the exhaustivity) by the corresponding <i>av­erage vector length (AVL) </i>of all documents.<footnote anchor="4"/> In the remainder of this paper, (log) <i>avl</i><i> </i>is an important metric used to assess and control the sparseness of a term subset.<page local="4" global="777"/></p><footnote label="4">Due to the lognormal distribution of vector length, it seems more plausible to average the logarithmic vector length. How­ever, for a fixed number of documents , log ^D&gt;\ 1  should hold a nearly fixed ratio to ^-yDy^ , in which \D\ denotes the doc­ument number and \d j \  denotes the document vector length.</footnote></section><section number="4" title="Scalable Term Selection (STS)"><p>Since the performance droping down at low dimen­sionalities is attributable to low AVLs in the previous section, a scalable term selection criterion should <i>automatically </i>accommodate its favor of high cov­erage to different target dimensionalities.</p><subsection number="4.1" title="Measuring Discriminability and Coverage"><p>The first step is to separately measure the discrim­inability and the coverage of a term. A basic guide­line is that these two metrics should not be highly (positive) correlated; intuitively, they should have a slight negative correlation. The correlation of the two metrics can be visually estimated by the joint distribution figure. A bunch of term selection met­rics were explored by Forman (2003). <i>df (document </i><i>frequency)</i><i> </i>is a straightforward choice to measure coverage. Since <i>df </i>follows the Zipf's law (inverse power law), log(df) is adopted. High-performing term selection criterion themselves might not be good candidates for the discriminability metric be­cause they take coverage into account. For exam­ple, Figure 3 shows that %<footnote anchor="2"/> is not satisfying. (For readability, the grayness is proportional to the log probability density in Figure 3, Figure 4 and Fig­ure 12.) Relatively, <i>probability ratio </i>(Forman, 2003) is a more straight metric of discriminability.</p><doubt alpha="54.5" length="55" tooSmall="False" monospace="0.0">PR(tc)=P(tj|c+)=df(ti&gt;c+)/dfU'jP(tilc-)df(ti,C-)/df(c-)</doubt><p>It is a symmetric ratio, so log(PR) is likely to be more appropriate. For multi-class categorization, a global value can be assessed by PRmax(ti) = maxc<i>PR</i><i>(U</i><i>,c),</i><i> </i>like %max for X<footnote anchor="2"/> (Yang and Ped-ersen, 1997; Rogati and Yang, 2002; Sebastiani, 2002); for brief, <i>PR </i>denotes <i>PR</i>max hereafter. The joint distribution of log<i>(PR)</i><i> </i>and log<i>(df)</i><i> </i>is shown in Figure 12. We can see that the distribution is quite even and they have a slight negative correlation.</p></subsection><subsection number="4.2" title="Combined Criterion"><p>Now we have the two metrics: log(PR) for discrim-inability and log<i>(df)</i><i> </i>for coverage, and a parametric term selection criterion comes forth:</p><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">42033.0</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">x2</doubt><doubt alpha="27.8" length="18" tooSmall="False" monospace="0.0">1.10 log(df) 10.59</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">0.40</doubt><doubt alpha="66.7" length="48" tooSmall="False" monospace="0.0">Figure 4: (log(df), log(PR)) Distribution, on CE</doubt><doubt alpha="50.0" length="36" tooSmall="False" monospace="0.0">Z(ti;A)= (log(PR(ti))+ log(df (ti)))</doubt><p>A <i>weighted harmonic averaging </i>is adopted here be­cause either metric's being <i>too small </i>is a severe detriment. <i>X £ </i>[0,1] is the weight for log(PR), which denotes how much the discriminability is emphasized. When the dimensionality is fixed, a smaller <i>X </i>leads to a larger <i>AVL </i>and a larger <i>X </i>leads to a smaller <i>AVL. </i>The optimal <i>X </i>should be a function of the expected dimensionality (k):<page local="5" global="778"/></p><doubt alpha="60.9" length="23" tooSmall="False" monospace="0.0">X*(k)= argmaxFi(Sk(X))x</doubt><p>in which the term subset <i>Sk </i>(X) <i>£ T </i>is selected by <i>Z</i>(o; X) , <i>lSkl </i>= k, and Fi is the default evaluation criterion. Naturally, this optimal <i>X </i>leads to a corre­sponding optimal <i>AVL:</i></p><doubt alpha="40.0" length="15" tooSmall="False" monospace="0.0">AVL*(k)&lt;—&gt;X*(k)</doubt><p>For a concrete implementation, we should have an (empirical) function to estimate <i>X*</i><i> </i>or <i>AVL*</i>:</p><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">AVL°(k)=AVL*(k)</doubt><p>In the next section, the values of <i>AVL* </i>(as well as X*) for some k-s are figured out by experimental search; then an empirical formula, AVL°(k), comes forth. It is interesting and inspiring that by adding the "cor­pus AVL" as a parameter this formula is universal for different document collections, which makes the whole idea valuable.</p></subsection></section><section number="5" title="Experiments and Implementation 5.1 Experiments"><p>The expected dimensionalities <i>(k)</i><i> </i>chosen for exper­imentation are</p><doubt alpha="4.7" length="86" tooSmall="False" monospace="0.0">CE: 500, 1000, 2000, 4000,..., 32000, 64000; 20NG: 500, 1000, 2000,..., 16000, 30220.5</doubt><p>For a given document collection and a given target dimensionality, there is a corresponding <i>AVL </i>for a <i>X,</i><i> </i>and vice versa (for the possible value range of <i>AVL). </i>According to the observations in Section 5.2, <i>AVL </i>other than <i>X </i>is the direct concern because it is more intrinsic, but <i>X </i>is the one that can be tuned directly. So, in the experiments, we vary <i>AVL </i>by tuning <i>X </i>to produce it, which means to calculate <i>X(AVL).</i></p><p><i>AVL(X)</i><i> </i>is a monotone function and fast to cal­culate. For a given <i>AVL, </i>the corresponding <i>X </i>can be quickly found by a Newton iteration in [0,1]. In fact, <i>AVL( </i><i>X)</i><i> </i>is not a continuous function, so <i>X</i><i> </i>is only tuned to get an acceptable match, e.g. within</p><footnote label="5">STS is tested to the whole T on 20NG but not on CE, be­cause (i) T C E  is too large and time consuming for training and testing, and (ii) \ 2 was previously tested on larger k and the performance (F 1 )  is not stable while k  &gt;  64000.</footnote><p>For each k, by the above way of fitting X, we manually adjust <i>AVL </i>(only in integers) until Fi(Sk(X(AVL))) peaks. By this way, Figure 5-11 are manually tuned best-performing results as obser­vations for figuring out the empirical formulas.</p><p>Figure 5 shows the <i>F</i>i peaks at different dimen­sionalities. Comparing to %<footnote anchor="2"/>, STS has a consid­erable potential superiority at low dimensionalities. The corresponding values of <i>AVL* </i>are shown in Fig­ure 6, along with the AVLs of x<footnote anchor="2"/>-selected term sub­sets. The dotted lines show the trend of <i>AVL*</i>; at the overall dimensionality, |TCE| = 1067717, they have the same <i>AVL </i>= 898.5. We can see that log(AVL*) is almost proportional to log<i>(k) </i>when <i>k </i>is not too large. The corresponding values of <i>X* </i>are shown in Figure 7; the relation is nearly linear between <i>X* </i>and log<i>(k).</i><i></i></p><p>Now it is necessary to explain why an empirical <i>AVL</i><i>°(k) </i>derived from the straight line in Figure 6 can be used instead of <i>AVL</i><i>*(k) </i>in practice. One important but not plotted property is that the per­formance of STS is not very sensitive to a small value change of AVL. For instance, at <i>k </i>= 4000, <i>AVL* </i>= 120 and the Fi peak is 85.8824%, and for <i>AVL </i>= 110 and 130 the corresponding <i>Fi</i><i> </i>are of <i>x<footnote anchor="2"/></i><i> </i>selection is 82.3950%. This characteristic of STS guarantee that the empirical <i>AVL</i><i>°(k) </i>has a very close performance to <i>AVL* </i><i>(k); </i>due to the limited space, the performance curve of <i>AVL</i><i>°(k) </i>will not be plotted in Section 5.2.</p><doubt alpha="43.9" length="41" tooSmall="False" monospace="0.0">85.8683% and 85.6583%; at the samek,theFi</doubt><p>Same experiments are done on 20NG and the re­sults are shown in Figure 8, Figure 9 and Figure 10. The performance improvements is not as signifi­cant as on the CE collection; this will be discussed in Section 6.2. The conspicuous relations between <i>AVL* </i>, <i>X*</i><i> </i>and <i>k</i><i> </i>remain the same.</p><subsection number="5.2" title="Algorithm Completion"><p>In Figure 6 and Figure 9, the ratios of log(AVL*(k)) to log<i>(k) </i>are not the same on CE and 20NG. Tak­ing into account the <i>corpus AVL </i>(the <i>AVL </i>produced by the whole term set): AVLtce = 898.5286 and</p><p>AVLt^ng = 82.1605, we guess <i>^ml^ </i>is ca­pable of keeping the same ratio to log<i>(k) </i>for both CE and 20NG. This hypothesis is confirmed (not for too high dimensionalities) by Figure 11; Section 6.2<page local="6" global="779"/></p><doubt alpha="13.9" length="36" tooSmall="False" monospace="0.0">-1—I—......i-1—I—......I-1—■—......i</doubt><doubt alpha="0.0" length="21" tooSmall="False" monospace="0.0">100 1000 10000 100000</doubt><p><b><i>dimensionality (k)</i></b></p><figure caption="Figure 5: Performance Comparison, on CE"></figure><figure caption="Figure 8: Performance Comparison, on 20NG"></figure><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">s</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">—•— STS</doubt><doubt alpha="34.9" length="43" tooSmall="False" monospace="0.0">10000      100000 1000000dimensionality (k)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="57.7" length="26" tooSmall="False" monospace="0.0">100 1000dimensionality (k)</doubt><doubt alpha="0.0" length="12" tooSmall="False" monospace="0.0">10000 100000</doubt><p>Figure 6: <i>AVL </i>Comparison, on CE</p><p>Figure 9: <i>AVL </i>Comparison, on 20NG</p><p>0.06-.......................!.......................i.....................</p><doubt alpha="16.3" length="49" tooSmall="False" monospace="0.0">■ I• 11-1-1   I I M ll|-1-1   ■ -1-1   I M • 111-</doubt><doubt alpha="0.0" length="41" tooSmall="False" monospace="0.0">100 1000        10000      100000 1000000</doubt><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">100 1000</doubt><figure caption="Figure 7: Optimal Weights of log(PR), on CE Figure 10: Optimal Weights of log(PR), on 20NG"></figure><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">119</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">ioo</doubt><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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>___</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>*</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><i>.y</i></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>/</i></b></p></td><td class="cell"><p><b>*'</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>■</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>1</i></b></p><p><b><i>1</i></b></p><p><b><i>1</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b><i>-■*--z</i></b></p><p><b>-•- STS</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>1</i></b></p><p><b><i>1</i></b></p><p><b><i>1</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>*</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>t</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>/t</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>/ i </i></b><b><i>/1 </i></b><b><i>/ i</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>i </i></b><b><i>i</i></b></p><p><b><i>t</i></b></p></td><td class="cell"><p></p></td><td class="cell"><p><b><i>- *- X </i></b><b>-•- STS</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>/</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>........</p></td><td class="cell"><p>........</p></td><td class="cell"><p>........</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></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><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></p></td><td class="cell"><p><i>&gt;</i></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><b><i>*</i></b></p></td><td class="cell"><p><i>—</i>&lt;</p></td><td class="cell"><p><b>&gt;— STS</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="7" global="780"/><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">0.40</doubt><p><b><i>dimensionality (k)</i></b></p><p><b>5.</b></p><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">00</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">20.2</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">STS</doubt><doubt alpha="0.0" length="40" tooSmall="False" monospace="0.0">100 1000       10000      100000 1000000</doubt><p>Figure 11: <i>^^vl^ </i>, on Both CE and 20NG contains some discussion on this.</p><p>From the figure, we get the value of this ratio (the base of log is set to e):</p><doubt alpha="55.6" length="27" tooSmall="False" monospace="0.0">log(AVL*(k))/log(AVLr)—0n85</doubt><footnote label="7"> —--——- = U.U8fc&gt;</footnote><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">log(k)</doubt><p>which should be a universal constant for all text cat­egorization tasks.</p><p>So the empirical estimation of <i>AVL</i><i>*(k) </i>is given and the final STS criterion is in which A(o) can be calculated as in Section 5.1. The target dimensionality, <i>k, </i>is involved as a param­eter, so the approach is named <i>scalable </i>term selec­tion. As stated in Section 5.1, <i>AVL</i><i>°(k) </i>has a very close performance to <i>AVL</i><i>*(k) </i>and its performance is not plotted here.</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">by</doubt><doubt alpha="56.2" length="32" tooSmall="False" monospace="0.0">AVL°(k)—  exp(7log(AVLr)•log(k))</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">Ylog(k)</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">— AVL</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">r</doubt><doubt alpha="49.0" length="49" tooSmall="False" monospace="0.0">Z (ti,k)—Z (ti; A(AVL°(k))) —Z (ti;X(avlylog(k)))</doubt></subsection></section><section number="6" title="Further Observation and Discussion"><subsection number="6.1" title="Comparing the Selected Subsets"><p>An investigation shows that for a quite large range of A, term rankings by <i>Z</i>(ti; A) and x<footnote anchor="2"/>(ti) have a strong correlation (the <i>Spearman's rank correlation coefficient </i>is bigger than 0.999). In order to com-</p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">o o o</doubt><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">o o o o o o o</doubt><p><b>o ooooooo</b></p><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">^ C^^DOOOOO</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">9.46</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1.10</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">log(df)</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">10.59</doubt><figure caption="Figure 12: Selection Area Comparison of STS andX2on Various Dimensionalities, on CE"></figure><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">8.04</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">0.11</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">9.14</doubt><figure caption="Figure 13: Selection Area Comparison of STS andX2on Various Dimensionalities, on 20NG"></figure><p>pare the two criteria's preferences for discriminabil-ity and coverage, the selected subsets of different dimensionalities are shown in Figure 12 (the cor­responding term density distribution was shown in Figure 4) and Figure 13. For different dimensionalities, the selection areas of STS are represented by boundary lines, and the selection areas of<i>X<footnote anchor="2"/> </i>are rep­resented by different grayness.<page local="8" global="781"/></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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>........p.........</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><i>................</i><i>z</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>-K--20NG</p></td><td class="cell"><p></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>........</p></td><td class="cell"><p>........</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>i—t</p></td><td class="cell"><p>.......</p></td><td class="cell"><p>■ <footnote anchor="1"/></p></td><td class="cell"><p>.....i</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>In Figure 12, STS shows its superiority at low di­mensionalities by more emphasis on the coverage of terms. In Figure 13, STS shows its superior­ity at high dimensionalities by more emphasis on the discriminability of terms; lower coverage yields smaller index size and lower computational cost. At any dimensionality, STS yields a relatively fixed bound for either discriminability or coverage, other than a compromise between them like <i>X<footnote anchor="2"/>; </i>this is at­tributable to the harmonic averaging.</p></subsection><subsection number="6.2" title="Adaptability of STS"><p>There are actually two kinds of sparseness in a (vec­torized) document collection: <i>collection sparseness: </i>the high-dimensional learn­ing space contains few training samples; <i>document sparseness: </i>a document vector has few</p><p>nonzero dimensions. In this study, only the document sparseness is inves­tigated. The collection sparseness might be a back­room factor influencing the actual performance on different document collections. This might explain why the explicit characteristics of STS are not the same on CE to 20NG: (comparing with <i>X<footnote anchor="2"/>, </i>see Fig­ure 5, Figure 6, Figure 8 and Figure 9)</p><p><b>CE. </b>The significant <i>F1</i><i> </i>improvements at low di­mensionalities sacrifice the short of AVL. In some learning process implementations, it is <i>AVL </i>other than <i>k </i>that determines the computational cost; in many other cases, <i>k </i>is the determinant. Further more, possible post-processing, like matrix factor­ization, might benefit from a low k.</p><p><b>20NG. </b>The Fi improvements at low dimension­alities is not quite significant, but <i>AVL </i>remains a lower level. For higher <i>k, </i>there is less difference in <i>F</i>i , but the smaller <i>AVL </i>yield lower computational cost than <i>X<footnote anchor="2"/>.</i></p><p>Nevertheless, STS shows a stable behavior for various dimensionalities and quite different docu­ment collections. The existence of the universal constant <i>7 </i>empowers it to be adaptive and practi­cal. As shown in Figure 11, STS draws the <i>rela­tive </i>log <i>AVL</i><i>*(k) </i>to the same straight line, <i>7 </i>log(k), for different document collections. This might means that the <i>relative AVL </i>is an intrinsic demand for the term subset size <i>k.</i><i> </i><b>7 Conclusion</b></p><p>In this paper, Scalable Term Selection (STS) is pro­posed and supposed to be more adaptive than tra­ditional high-performing criteria, viz. <i>X<footnote anchor="2"/>, </i><i>IG,</i><i> </i><i>BNS,</i><i> </i>etc. The basic idea of STS is to separately measure discriminability and coverage, and adjust the relative importance between them to produce a optimal term subset of a given size. Empirically, the constant re­lation between target dimensionality and the optimal relative average vector length is found, which turned the idea into implementation.</p><p>STS showed considerable adaptivity and stability for various dimensionalities and quite different doc­ument collections. The categorization accuracy in­creasing at low dimensionalities and the computa­tional cost decreasing at high dimensionalities were observed.</p><p>Some observations are notable: the loglinear rela­tion between optimal average vector length (AVL*) and dimensionality <i>(k), </i>the semi-loglinear relation between weight <i>A </i>and dimensionality, and the uni­versal constant <i>7. </i>For a future work, STS needs to be conducted on more document collections to check if <i>7 </i>is really universal.</p><p>In addition, there could be other implementations of the general STS idea, via other metrics of discrim-inability and coverage, other weighted combination forms, or other term subset evaluations.</p><p><b>Acknowledgement</b></p><p>The research is supported by the National Natural Science Foundation of China under grant number 60573187,60621062 and 60520130299.</p></subsection></section><references><p>Janez Brank, Marko Grobelnik, Natasa Milic-Fraylingand, and Dunjia Mladenic. 2002. Interaction of feature selection methods and linear classifica­tion models. <i>Workshop on Text Learning held at ICML-2002.</i></p><p>Chih-Chung Chang and Chih-Jen Lin, 2001. <i>LIBSVM: a library for support vector machines. </i>Software avail­able at http://www.csie.ntu.edu.tw/~cjlin/libsvm.</p><page local="9" global="782"/><p>George Forman. 2003. An extensive empirical study of feature selection metrics for text classification. <i>Jour­nal of Machine Learning Research, </i>3:1289-1305.</p><p>Evgeniy Gabrilovich and Shaul Markovitch. 2004. Text categorization with many redundant features: using aggressive feature selection to make svms competitive with c4.5. In <i>ICML '04: Proceedings of the twenty-first international conference on Machine learning, </i>page 41, New York, NY, USA. ACM Press.</p><p>Isabelle Guyon and Andre Elisseeff. 2003. An intro­duction to variable and feature selection. <i>Journal of Machine Learning Research, </i>3:1157-1182.</p><p>Thorsten Joachims. 1998. Text categorization with sup­port vector machines: learning with many relevant fea­tures. In <i>Proceedings of ECML '98, </i>number 1398, pages 137-142. Springer Verlag, Heidelberg, DE.</p><p>Jingyang Li, Maosong Sun, and Xian Zhang. 2006. A comparison and semi-quantitative analysis of words and character-bigrams as features in chinese text cat­egorization. In <i>Proceedings of COLING-ACL '06, </i>pages 545-552. Association for Computational Lin­guistics, July.</p><p>Michael Mitzenmacher. 2003. A brief history of genera­tive models for power law and lognormal distributions. <i>Internet Mathematics, </i>1:226-251.</p><p>Monica Rogati and Yiming Yang. 2002. High-performing feature selection for text classification. In <i>Proceedings of CIKM '02, </i>pages 659-661. ACM Press.</p><p>Fabrizio Sebastiani. 2002. Machine learning in auto­mated text categorization. <i>ACM Computing Surveys (CSUR), </i>34(1):1-47.</p><p>Yiming Yang and Christopher G. Chute. 1994. An example-based mapping method for text categoriza­tion and retrieval. <i>ACM Transactions on Information</i> <i>Systems (TOIS), </i>12(3):252-277.</p><p>Yiming Yang and Jan O. Pedersen. 1997. A compara­tive study on feature selection in text categorization. In Douglas H. Fisher, editor, <i>Proceedings ofICML-97, 14th International Conference on Machine Learn­ing, </i>pages 412-420, Nashville, US. Morgan Kauf­mann Publishers, San Francisco, US.</p></references></body></article>