<?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="154"/><title>Single Document Keyphrase Extraction Using Sentence Clustering and Latent Dirichlet Allocation</title><pubinfo>Proceedings of the 5th International Workshop on Semantic Evaluation, ACL 2010,pages 154-157, Uppsala, Sweden, 15-16 July 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Pasquier" givenname="Claude"><org  name="CNRS" country="France"/></author></firstpageheader><frontmatter><p><b>Task 5: Single document keyphrase extraction using sentence clustering</b></p><p><b>and Latent Dirichlet Allocation</b></p><p><b>Claude Pasquier</b></p><p>Institute of Developmental Biology &amp; Cancer University of Nice Sophia-Antipolis UNSA/CNRS UMR-6543 Parc Valrose 06108 NICE Cedex 2, France claude.pasquier@unice.fr</p></frontmatter><abstract>This paper describes the design of a sys­tem for extracting keyphrases from a sin­gle document The principle of the algo­rithm is to cluster sentences of the doc­uments in order to highlight parts of text that are semantically related. The clusters of sentences, that reflect the themes of the document, are then analyzed to find the main topics of the text. Finally, the most important words, or groups of words, from these topics are proposed as keyphrases. </abstract></header><body><section number="1" title="Introduction"><p>Keyphrases are words, or groups of words, that capture the key ideas of a document. They repre­sent important information concerning a document and constitute an alternative, or a complement, to full-text indexing. Pertinent keyphrases are also useful to potential readers who can have a quick overview of the content of a document and can se­lect easily which document to read.</p><p>Currently, the most powerful keyphrases extrac­tion algorithms are based on supervised learning. These methods address the problem of associat­ing keyphrases to documents as a classification task. However, the fact that this approach requires a corpus of similar documents, which is not al­ways readily available, constitutes a major draw­back. For example, if one encounters a new Web page, one might like to know quickly the main top­ics addressed. In this case, a domain-independent keyword extraction system that applies to a single document is needed.</p><p>Several methods have been proposed for ex­tracting keywords from a single document (Mat-suo and Ishizuka, 2004; Palshikar, 2007). The re­ported performances were slightly higher than that obtained using a corpus and selecting the words with the highest TF-IDF <footnote anchor="1"/> measure (Salton et al., 1975).</p><p>The paper describes a new keyphrase extraction algorithm from a single document. We show that our system performs well without the need for a corpus.</p><p>The paper is organized as follows. The next sec­tion describes the principles of our keyphrase ex­traction system. We present the main parts of the algorithm in section 3, we detail the methods in section 4 and we conclude the paper.</p></section><section number="2" title="Principles"><p>When authors write documents, they have to think first at the way they will present their ideas. Most of the time, they establish content summaries that highlight the main topics of their texts. Then, they write the content of the documents by carefully selecting the most appropriate words to describe each topic. In this paper, we make the assumption that the words, or the set of words, that are repre­sentative of each topic constitute the keyphrases of the document. In the following of this paper, we call <i>terms, </i>the components of a document that con­stitute the vocabulary (see the detail of the identi­fication of terms in subsection 4.3).</p><p>In statistical natural language processing, one common way ofmodeling the contributions ofdif-ferent topics to a document is to treat each topic as a probability distribution over words. Therefore, a document is considered as a probabilistic mixture of these topics (Griffiths and Steyvers, 2004).</p><p>Generative models can be used to relate a set of observations (in our case, the terms used in a doc­ument) to a set of latent variables (the topics). A particular generative model, which is well suited for the modeling of text, is called Latent Dirichlet<page local="2" global="155"/></p><footnote label="1">The TF-IDF weight gives the degree of importance of a word in a collection of documents. The importance increases if the word is frequently used in the set of documents but decreases if it is used by too many documents.</footnote><p>Allocation (LDA) (Blei et al., 2003). Given a set of documents, the algorithms describes each doc­ument as a mixture over topics, where each topic is characterized by a distribution over words.</p><p>The idea is to perform first a clustering of the sentences of the document based on their semantic similarity. Intuitively, one can see each cluster as a part of the text dealing with semantically related content. Therefore, the initial document is divided into a set of clusters and LDA can then be applied on this new representation.</p></section><section number="3" title="Algorithm"><p>The algorithm is composed of 8 steps:</p><p>1. Identification and expansion of abbrevia­tions.</p><p>2. Splitting the content of the document into m sentences.</p><p>3. Identification of the <i>n </i>unique terms in the document that are potential keyphrases.</p><p>4. Creation of a m x <i>n </i>sentence-term matrix <i>X </i>to identify the occurrences of the <i>n </i>terms within a collection of m sentences.</p><p>5. Dimensionality reduction to transform data in the high-dimensional matrix X to a space of fewer dimensions.</p><p>6. Data clustering performed in the reduced space. The result of the clustering is used to build a new representation of the source doc­ument, which is now considered as a set of clusters, with each cluster consisting of a bag of terms.</p><p>7. Execution of LDA on the new document rep­resentation.</p><p>8. Selection of best keyphrases by analyzing LDA's results.</p></section><section number="4" title="Methods"><p>Our implementation is build on UIMA (Un­structured Information Management Architecture) {http://incubator.apache.org/uima/<i>), </i>a robust and flexible framework that facilitates interoperability between tools dedicated to unstructured informa­tion processsing. The method processes one doc­ument at a time by performing the steps described below.</p><subsection number="4.1" title="Abbreviation Expansion"><p>The program <i>ExtractAbbrev </i>(Schwartz and Hearst, 2003) is used to identify abbreviations (short forms) and their corresponding definitions (long forms). Once abbreviations have been identified, each short form is replaced by its corresponding long form in the processed document.</p></subsection><subsection number="4.2" title="Sentence Detection"><p>Splitting the content of a document into sentences is an important step of the method. To per­form this task, we used the OpenNLP's sentence detector module <i>(</i>http://opennlp.sourceforge.net/<i>) </i>trained on a corpus of general English texts.</p></subsection><subsection number="4.3" title="Term Identification"><p>Word categories are identified by using the Ling-Pipe's general English part-of-speech (POS) tag­ger trained on the Brown Corpus <i>(</i>http://alias-<i>i.com/lingpipe/). </i>We leverage POS information to collect, for each sentence, nominal groups that are potential keyphrases.</p></subsection><subsection number="4.4" title="Matrix Creation"><p>Let <i>D</i><i> </i><i>=</i><i> </i><i>{di,</i><i> d</i><i>,2, </i><i>■ ■ ■, dn} </i>be the complete vo­cabulary set of the document identified in subsec­tion 4.3 above. We build <i>amxn</i><i> </i>matrix <i>X</i><i> </i><i>=</i><i> </i><i>[xij] </i>where m is the number of sentences in the doc­ument, <i>n </i>is the number of terms and <i>X'ij </i>is the weight of the <i>jth </i>term in the <i>i</i><i>th </i>sentence. The weight of a term in a sentence is the product of a local and global weight given by <i>Xij </i><i>=</i><i> </i><i>kj</i><i> </i>x <i>gj,</i><i> </i>where <i>kj</i><i> </i>is the local weight of term <i>j</i><i> </i>within sen­tence <i>i, </i>and <i>§j</i><i> </i>is the global weight of term <i>j</i><i> </i>in the document. The local weighting function mea­sures the importance of a term within a sentence and the global weighting function measures the importance of a term across the entire document. Three local weighting functions were investigated: term frequency, log of term frequency and binary. Five global weighting functions were also inves­tigated: Normal, GfIdf (Global frequency x In­verse document frequency, Idf (Inverse document frequency), Entropy and none (details of calcula­tion can be found in Dumais (1991) paper).</p></subsection><subsection number="4.5" title="Dimensionality Reduction"><p>The matrix X is a representation of a document in a high-dimensional space. Singular Value Decom­position (SVD) (Forsythe et al., 1977) and Non-Negative Matrix Factorization (NMF) (Lee and<page local="3" global="156"/></p><p>Seung, 1999) are two matrix decomposition tech­niques that can be used to transform data in the high-dimensional space to a space of fewer dimen­sions.</p><p>With SVD, the original matrix <i>X </i>is decom­posed as a factor of three other matrices <i>U,</i><i> </i>X and <i>V</i><i> </i>such as:</p><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">X = UY/VT</doubt><p>where <i>U </i>is an m x m matrix, X is a m x <i>n </i>diagonal matrix with nonnegative real numbers on the diag­onal, and <i>VT </i>denotes the transpose <i>oîV </i><i>,wnxn</i><i> </i>matrix. It is often useful to approximate <i>X </i>using only <i>r </i>singular values (with <i>r &lt; min(m, n)), </i>so that we have <i>X = U^Vj + E, </i>where <i>E </i>is an error or residual matrix, <i>Ur </i>is an m x <i>r </i>matrix, Sr is a <i>k</i><i> </i>x <i>r</i><i> </i>diagonal matrix, and <i>Vr</i><i> </i>is an <i>n</i><i> </i>x <i>r</i><i> </i>matrix.</p><p>NMF is a matrix factorization algorithm that decomposes a matrix with only positive elements into two positive elements matrices, with <i>X = WH+E. </i>Usually, only <i>r </i>components are fit, so <i>E </i>is an error or residual matrix, <i>W </i>is a non-negative m x <i>r </i>matrix and <i>H </i>is a non-negative <i>r </i>x <i>n </i>ma­trix. There are several ways in which <i>W </i>and <i>H </i>may be found. In our system, we use Lee and Se-ung's multiplicative update method (Lee and Se­ung, 1999).</p></subsection><subsection number="4.6" title="Sentence Clustering"><p>The clustering of sentences is performed in the reduced space by using the cosine similarity be­tween sentence vectors. Several clustering tech­niques have been investigated: k-means cluster­ing, Markov Cluster Process (MCL) (Dongen, 2008) and ClassDens (Guénoche, 2004).</p><p>The latent semantic space derived by SVD does not provide a direct indication of the data par­titions. However, with NMF, the cluster mem­bership of each document can be easily identi­fied directly using the <i>W </i>matrix (Xu et al., 2003). Each value <i>Wij </i>of matrix <i>W,</i><i> </i>indicates, indeed, to which degree sentence <i>i </i>is associated with clus­ter <i>j. </i>If NMF was calculated with the rank <i>r, </i>then <i>r </i>clusters are represented on the matrix. We use a simple rule to determine the content of each cluster: sentence <i>i </i>belongs to cluster <i>j </i>if <i>Wij &gt; </i><i>a   </i>max   <i>Wik- </i>In our system, we fixed <i>a = </i>0.1.</p><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">ke{l...m}</doubt></subsection></section><section number="4" title=".7 Applying Latent Dirichlet Allocation"><p>By using the result of the clustering, the source document is now represented by c clusters of terms. The terms associated with a clus­ter <i>Ci </i>is the sum of the terms belonging to all the sentences in the cluster. JGibbLDA <i>(</i>http://jgibblda.sourceforge.net/<i>) </i>is used to exe­cute LDA on the new dataset. We tried to ex­tract different numbers of topics <i>t </i>(with <i>t </i>g {2, 5,10, 20, 50,100}) and we choose the Dirich­let hyperparameters such as a = 0.1 and <i>ß = </i>50/1 LDA inferences a topic model by estimating the cluster-topic distribution 6 and the topic-word distribution $ (Blei et al, 2003).</p><subsection number="4.8" title="Term Ranking and Keyphrase Selection"><p>We assume that topics covering a significant por­tion of the document content are more important than those covering little content. To reflect this assumption, we calculate the importance of a term in the document (its score) with a function that takes into account the distribution of topics over clusters given by <i>6,</i><i> </i>the distribution of terms over topics given by $ and the clusters' size.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">c</doubt><doubt alpha="46.8" length="47" tooSmall="False" monospace="0.0">score(i) =max ($.,•;V(6fcjp(s(fc)))je{i...n}k=1</doubt><p>where <i>score(i) </i>represents the score of term <i>i </i>and <i>s(k)</i><i> </i>is the size of the cluster <i>k. </i>We tested three different functions for <i>p: </i>the constant function <i>p(i) = </i>1, the linear function <i>p(i) = i </i>and the exponential function <i>p(i) = i<footnote anchor="2"/>.</i></p><p>When a score is attributed to each term of the vocabulary, our system simply selects the top terms with the highest score and proposes them as keyphrases.</p></subsection><subsection number="4.9" title="Setting Tuning Parameters"><p>Numerous parameters have influence on the method: the weighting of the terms in the doc­ument matrix, the dimension reduction method used, the number of dimension retained, the clus­tering algorithm, the number of topics used to ex­ecute LDA and the way best keyphrases are se­lected.</p><p>The parameter that most affects the perfor­mance is the method used to perform the dimen­sion reduction. In all cases, whatever the other parameters, NMF performs better than SVD. We found that using only 10 components for the fac­torization is sufficient. There was no significant performance increase by using more factors.</p><p>The second most important parameter is the clustering method used. When NMF is used, the best results were achieved by retrieving clusters from the <i>W </i>matrix.<page local="4" global="157"/> With SVD, ClassDens gets the best results. We tested the performance of k-means clustering by specifying a number of clus­ters varying from 5 to 100. The best performances were achieved with a number of clusters &gt; 20. However, k-means scores a little bit below Class-Dens and MCL is found to be the worst method.</p><p>The choice of the global weighting function is also important. In our experiments, the use of Idf and no global weighting gave the worst results. Entropy and normal weighting gave the best re­sults but, on average, entropy performs a little bet­ter than normal weight. In the final version, the global weighting function used is entropy.</p><p>The last parameter that has a visible influence on the quality of extracted keyphrases is the selec­tion of keyphrases from LDA's results. In our ex­periments, the exponential function performs best.</p><p>The remaining parameters do not have notable influence on the results. As already stated by Lee et al. (2005), the choice of local weighting func­tion makes relatively little difference. Similarly, the number of topics used for LDA has little in­fluence. In our implementation we used term fre­quency as local weighting and executed LDA with a number of expected topics of 10.</p></subsection></section><section number="5" title="Results and Conclusion"><p>In Task 5, participants are invited to provide the keyphrases for 100 scientific papers provided by the organizers. Performances (precision, recall and F-score) are calculated by comparing the pro­posed keyphrases to keywords given by the au­thors of documents, keywords selected by indé­pendant readers and a combination of both. Com­pared to other systems, our method gives the best results on the keywords assigned by read­ers. By performing the calculation on the first 5 keyphrases, our system ranks 9th out of 20 submit­ted systems, with an F-score of 14.7%. This is be­low the best method that obtains 18.2%, but above the TD-IDF baseline of 10.44%. The same calcu­lation performed on the first 15 kephrases gives a F-score of 17.80% for our method (10th best F-score). This is still below the best method, which obtains an F-score of 23.50%, but a lot better than the TD-IDF baseline (F-score=12.87%).</p><p>The evaluation shows that the performance of our system is near the average of other submitted systems. However, one has to note that our system uses only the information available from a single document. Compared to a selection of keywords based on TF-IDF, which is often used as a refer­ence, our system provides a notable improvement. Therefore, the algorithm described here is an inter­esting alternative to supervised learning methods when no corpus of similar documents is available.</p></section><references><p>David M. Blei, Andrew Y. Ng, and Michael I. Jordan. 2003. Latent dirichlet allocation. <i>J. Mach. Learn. Res., </i>3:993-1022.</p><p>Stijn Van Dongen. 2008. Graph clustering via a dis­crete uncoupling process. <i>SLAM J. Matrix Anal. </i>v4/?/?/.,30(l):121-141.</p><p>Susan T. Dumais. 1991. Improving the retrieval of in­formation from external sources. <i>Behavior Research Methods, Instruments, &amp; Comp., ThQy.ll^-Thd.</i></p><p>George Forsythe, Michael Malcolm, and Cleve Moler. 1977. <i>Computer Methods for Mathematical Com­putations. </i>Englewood Cliffs, NJ: Prentice Hall.</p><p>Thomas L. Griffiths and Mark Steyvers. 2004. Find­ing scientific topics. <i>Proceedings of the National Academy of Sciences, </i>101:5228-5235.</p><p>Alain Guénoche. 2004. Clustering by vertex density in a graph. In <i>Classification, Clustering and Data Mining, D. Banks et al. (Eds.), Springer, 15-23.</i></p><p>Daniel D. Lee and H. Sebastian Seung. 1999. Learning the parts of objects by non-negative matrix factoriza­tion. <i>Nature, </i>401:788.</p><p>Michael D. Lee, Brandon Pincombe, and Matthew Welsh. 2005. A comparison of machine measures of text document similarity with human judgments.</p><p>In <i>proceedings of CogSci2005, </i>pages 1254-1259.</p><p>Yutaka Matsuo and Mitsuru Ishizuka. 2004. Keyword extraction from a single document using word co­occurrence statistical information. <i>Int. Journal on Artificial Intelligence Tools, </i>13(1): 157-169.</p><p>Girish Keshav Palshikar. 2007. Keyword extraction from a single document using centrality measures. <i>LNCS, </i>4815/2007:503-510.</p><p>G Saltan, C. S. Yang, and C. T. Yu. 1975. A theory of term importance in automatic text analysis. <i>Jour­nal of the American Society for Information Science, </i>26(l):33-44.</p><p>ArielS. Schwartz and Marti A. Hearst. 2003. A simple algorithm for identifying abbreviation definitions in biomedical text. In <i>proceedings of PSB 2003, </i>pages 451-462.</p><p>Wei Xu, Xin Liu, and Yihong Gong. 2003. Document clustering based on non-negative matrix factoriza­tion. In <i>proceedings ofSLGLR 03, </i>pages 267-273.</p></references></body></article>