<?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="190"/><title>KP-Miner: Participation in SemEval-2</title><pubinfo>Proceedings of the 5th International Workshop on Semantic Evaluation, ACL 2010,pages 190-193, Uppsala, Sweden, 15-16 July 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="El-Beltagy" givenname="Samhaa R."><org  name="German University in Cairo" country="Egypt" city="Cairo"/></author><author surname="Rafea" givenname="Ahmed"><org  name="German University in Cairo" country="Egypt" city="Cairo"/></author></firstpageheader><frontmatter><p><b>KP-Miner: Participation in SemEval-2</b></p><p><b>Samhaa R. El-Beltagy</b></p><p>Cairo University Giza, Egypt.</p><p>samhaa@computer.org</p><p><b>Ahmed Rafea</b></p><p>The American University in Cairo New Cairo, Egypt.</p><p>rafea@aucegypt.edu</p></frontmatter><abstract>This paper briefly describes the KP-Miner sys­tem which is a system developed for the ex­traction of keyphrases from English and Arab­ic documents, irrespective of their nature. The paper also outlines the performance of the sys­tem in the "Automatic Keyphrase Extraction from Scientific Articles" task which is part of SemEval-2. </abstract></header><body><section number="1" title="Introduction"><p>KP-Miner (El-Beltagy, 2006) (El-Beltagy, 2009) is a system for the extraction of keyphrases from English and Arabic documents. When develop­ing the system, the goal was to build a general purpose keyphrase extraction system that can be easily configured by users based on their under­standing of the documents from which keyphras-es are to be extracted and without the need for any training documents or the use of any sophis­ticated natural language processing or linguistic tools. As such, the keyphrase extraction process in KP-Miner is an un-supervised one. When building a general purpose keyphrase extraction system, this was an important objective, as train­ing data is not always readily available for any type of data. The goal of entering the KP-Miner system into the SemEval-2 competition, was to see how well it will perform on a specific task, without making any changes in its default para­meters.</p></section><section number="2" title="System Overview"><p>Keyphrase extraction in the KP-Miner system is a three step process: candidate keyphrase selec­tion, candidate keyphrase weight calculation and finally keyphrase refinement. Each of these steps, is explained in the following sub-sections. More details about the employed algorithm, and justification for using certain values for selected parameters, can be found in (El-Beltagy, 2009).</p><subsection number="2.1" title="Candidate keyphrase selection"><p>In KP-Miner, a set of rules is employed in order to elicit candidate keyphrases. As a phrase will never be separated by punctuation marks within some given text and will rarely have stop words within it, the first condition a sequence of words has to display in order to be considered a candi­date keyphrase, is that it is not be separated by punctuation marks or stop words. A total of 187 common stopwords (the, then, in, above, etc) are used in the candidate keyphrase extraction step. After applying this first condition on any given document, too many candidates will be generated; some of which will make no sense to a human reader. To filter these out, two further conditions are applied. The first condition states that a phrase has to have appeared at least <b><i>n </i></b>times in the document from which keyphrases are to be extracted, in order to be considered a candidate keyphrase. This is called the least al­lowable seen frequency(lasf) factor and in the English version of the system, this is set to 3. However, if a document is short, <b><i>n </i></b>is decre­mented depending on the length of the document.</p><p>The second condition is related to the position where a candidate keyphrase first appears within an input document. Through observation as well as experimentation, it was found that in long documents, phrases occurring for the first time after a given threshold, are very rarely keyphras-es. So a cutoff constant CutOff is defined in terms of a number of words after which if a phrase appears for the first time, it is filtered out and ignored. The initial prototype of the KP-Miner system (El-Beltagy, 2006), set this cutoff value to a constant (850). Further experimenta­tion carried out in (El-Beltagy, 2009) revealed that an optimum value for this constant is 400. In the implementation of the KP-Miner system, the phrase extraction step described above is carried out in two phases.<page local="2" global="191"/> In the first phase, words are scanned until either a punctuation mark or a stop word is encountered. The scanned sequence of words and all possible n-grams within the en­countered sequence where <b><i>n </i></b>can vary from 1 to sequence length-1, are stemmed and stored in both their original and stemmed forms. If the phrase (in its stemmed or original form) or any of its sub-phrases, has been seen before, then the count of the previously seen term is incremented by one, otherwise the previously unseen term is assigned a count of one. Very weak stemming is performed in this step using only the first step of the Porter stemmer (Porter, 1980). In the second phase, the document is scanned again for the longest possible sequence that fulfills the condi­tions mentioned above. This is then considered as a candidate keyphrase. Unlike most of the other keyphrase extraction systems, the devised algorithm places no limit on the length of keyp-hrases, but it was found that extracted keyphrases rarely exceed three terms.</p></subsection><subsection number="2.2" title="Candidate  keyphrases weight calcula­tion"><p>Single key features obtained from documents by models such as TF-IDF (Salton and Buckley, 1988) have already been shown to be representa­tive of documents from which they've been ex­tracted as demonstrated by their wide and suc­cessful use in clustering and classification tasks. However, when applied to the task of keyphrase extraction, these same models performed very poorly (Turney, 1999). By looking at almost any document, it can be observed that the occur­rences of phrases is much less frequent than the occurrence of single terms within the same doc­ument. So it can be concluded that one of the reasons that TF-IDF performs poorly on its own when applied to the task of keyphrase extraction, is that it does not take this fact into consideration which results in a bias towards single words as they occur in larger numbers. So, a boosting fac­tor is needed for compound terms in order to bal­ance this bias towards single terms. In this work for each input document <b><i>d </i></b>from which keyphras-es are to be extracted, a boosting factor Bd is calculated as follows:</p><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">Bd=INdl /(IPdl *«)</doubt><p>and if Bd &gt; <b><i>a </i></b>then Bd = <b>a</b></p><p>Here INdI is the number of all candidate terms in document <b>d, </b>IPdI   is the number of candidate terms whose length exceeds one in document <b><i>d </i></b>and « and <b><i>a </i></b>are weight adjustment constants. The values used by the implemented system are 3 for <b><i>a </i></b>and 2.3 for « .</p><p>To calculate the weights of document terms, the TF-IDF model in conjunction with the intro­duced boosting factor, is used. However, another thing to consider when applying TF-IDF for a general application rather than a corpus specific one, is that keyphrase combinations do not occur as frequently within a document set as do single terms. In other words, while it is possible to col­lect frequency information for use by a general single keyword extractor from a moderately large set of random documents, the same is not true for keyphrase information. There are two possible approaches to address this observation. In the first, a very large corpus of a varied nature can be used to collect keyphrase related frequency information. In the second, which is adopted in this work, any encountered phrase is considered to have appeared only once in the corpus. This means that for compound phrases, frequency within a document as well as the boosting factor are really what determine its weight as the idf value for all compound phrases will be a constant <b><i>c </i></b>determined by the size of the corpus used to build frequency information for single terms. If the position rules described in (El-Beltagy, 2009) are also employed, then the position factor is also used in the calculation for the term weights. In summary, the following equation is used to cal­culate the weight of candidate keyphrases wheth­er single or compound:</p><p><i>w</i><i>ij </i><i>= tf</i><i>i*</i><i> </i><i>idf*</i><i> </i><i>B</i><i>i* </i><i>P</i><i>f </i><b>Where:</b></p><p><i>w</i><i>ij </i>= weight of term <i>t</i><i>j </i>in Document Di<i>tf</i><i>ij </i>= frequency of term <i>t</i><i>j </i>in Document Di<i>idf = log2 </i>N/n where <i>N </i>is the number of doc­uments in the collection and <i>n </i>is num­ber of documents where term <i>t</i><i>j </i>occurs at least once. If the term is compound, <i>n </i>is set to 1.</p><p><i>Bi = the boosting factor associated with doc­ument </i>Di</p><p><i>P</i><i>f= </i><i>the term position associated factor. If position rules are not used this is set to 1.</i></p></subsection><subsection number="2.3" title="Final Candidate Phrase List Refinement"><p>The KP-Miner system, allows the user to specify a number <b><i>n </i></b>of keyphrases s/he wants back and uses the sorted list to return the top <b><i>n </i></b>keyphrases requested by the user. The default number of <b><i>n </i></b>is five. As stated in step one, when generating candidate keyphrases, the longest possible sequence of words that are un­interrupted by possible phrase terminators, are sought and stored and so are sub-phrases con­tained within that sequence provided that they appear somewhere in the text on their own.<page local="3" global="192"/> For example, if the phrase 'excess body weight' is encountered five times in a document, the phrase itself will be stored along with a count of five. If the sub-phrase , 'body weight', is also encoun­tered on its own, than it will also be stored along with the number of times it appeared in the text including the number of times it appeared as part of the phrase 'excess body weight'. This means that an overlap between the count of two or more phrases can exist. Aiming to eliminate this over­lap in counting early on can contribute to the dominance of possibly noisy phrases or to over­looking potential keyphrases that are encoun­tered as sub-phrases. However, once the weight calculation step has been performed and a clear picture of which phrases are most likely to be key ones is obtained, this overlap can be ad­dressed through refinement. To refine results in the KP-Miner system, the top <b><i>n </i></b>keys are scanned to see if any of them is a sub-phrase of another. If any of them are, then its count is decremented by the frequency of the term of which it is a part. After this step is completed, weights are re­calculated and a final list of phrases sorted by weight, is produced. The reason the top <b><i>n </i></b>keys rather than all candidates, are used in this step is so that lower weighted keywords do not affect the outcome of the final keyphrase list. It is im­portant to note that the refinement step is an op­tional one, but experiments have shown that in the English version of the system, omitting this step leads to the production of keyphrase lists that match better with author assigned keyword. In (El-Beltagy, 2009) the authors suggested that employing this step leads to the extraction of higher quality keyphrases. Experimentation car­ried out on the Gold standard dataset provided by the organizers of the SemEval-2 competition on "Keyphrase Extraction from Scientific Docu­ments" and described in the next section, seems to suggest that this idea is a valid one.</p></subsection></section><section number="3" title="Participation in the SemEval-2 Com­petition"><p>One of the new tracks introduced to SemEval this year is a track dedicated entirely to keyp­hrase extraction from scientific articles. The task was proposed with the aim of providing participants with "the chance to compete and bench­mark" this technology (SemEval2, 2010).</p><p>In this competition, participants were provided with 40 trial documents, 144 training documents, and 100 test documents. For the trial and training data, three sets of answers were provided: au­thor-assigned keyphrases, reader-assigned keyp-hrases, and finally a set that is simply a combina­tion between the 2 previous sets. Unlike author-assigned keyphrases, which may or may not oc­cur in the content, all reader-assigned keyphrases were said to have been extracted from the papers. The participants were then asked to produce the top 15 keyphrases for each article in the test doc­ument set and to submit the stemmed version of these to the organizers.</p><p>Evaluation was carried out in the traditional way in which keyphrase sets extracted by each of the participants were matched against answer sets (i.e. author-assigned keyphrases and reader-assigned keyphrases) to calculate precision, re­call and F-score. Participants were then ranked by F-score when extracting all 15 keyphrases.</p><p>Since the KP-miner system is an unsupervised keyphrase extraction system, no use was made of the trial and training data. The system was simp­ly run of the set of test documents, and the output was sent to the organizers. 2 different runs were submitted: one produced used the initial proto­type of the system, (El-Beltagy, 2006), while the second was produced using the more mature ver­sion of the system (El-Beltagy, 2009). Both sys­tems were run without making any changes to their default parameters. The idea was to see how well the KP-Miner would fair among other keyphrase extraction systems without any addi­tional configuration. The more mature version of the system performed better when its results were compared to the author-reader combined keyphrase set and consequently was the one whose final results were taken into consideration in the competition. The system ranked at 2 , with a tie between it and another system when extract­ing 15 keyphrases from the combined keypharse set. The results are shown in table 1.</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><b>Precision</b></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p><b>F-Score</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>HUMB</p></td><td class="cell"><p>27.2%</p></td><td class="cell"><p>27.8%</p></td><td class="cell"><p>27.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WINGNUS</p></td><td class="cell"><p>24.9%</p></td><td class="cell"><p>25.5%</p></td><td class="cell"><p>25.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KP-Miner</b></p></td><td class="cell"><p><b>24.9%</b></p></td><td class="cell"><p><b>25.5%</b></p></td><td class="cell"><p><b>25.2%</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SZTERGAK</p></td><td class="cell"><p>24.8%</p></td><td class="cell"><p>25.4%</p></td><td class="cell"><p>25.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ICL</p></td><td class="cell"><p>24.6%</p></td><td class="cell"><p>25.2%</p></td><td class="cell"><p>24.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SEERLAB</p></td><td class="cell"><p>24.1%</p></td><td class="cell"><p>24.6%</p></td><td class="cell"><p>24.3%</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><page local="4" global="193"/><p>Table 1: Performance of all participating systems over combined keywords when extracting 15 keyphrases</p><p>When evaluating the system on reader as­signed keyphrases only (again when extracting 15 keyphrases), the KP-Miner system ranked at 6 with a tie between it and another system. The system's precision, recall, and f-score were:</p><p>19.3%, 24.1% , 21.5% respectively.</p><p>To test whether the phrase refinement step de­scribed in section 2.3 would improve the results or not, this option was turned on, and the results were evaluated using the script and the golden dataset provided by the competition organizers. The results are shown in tables 2 and 3.</p><p><b>__<u>Precision   Recall</u>__<u>F-Score</u></b></p><doubt alpha="10.3" length="29" tooSmall="False" monospace="0.0">Top 5        37.8%12.9% 19.2%</doubt><doubt alpha="10.3" length="29" tooSmall="False" monospace="0.0">Top 10       30.3%19.4% 21.1%</doubt><doubt alpha="25.0" length="24" tooSmall="False" monospace="0.0">Top 15I20.1%I25.1%I22.3%</doubt><table caption="Table 3: Performance over reader assigned keywords when extracting, 5, 10, and 15 keyphrases"></table><p>Had these results been submitted, the system would have still ranked at number 2 (but more comfortably so) when comparing its results to the combined author-reader set of keywords, but it would jumped to third place for the reader as­signed keyphrases. This improvement confirms what the authors hypothesized in (El-Beltagy, 2009) which is that the usage of the final refine­ment step does lead to better quality keyphrases.</p></section><section number="4" title="Conclusion and future work"><p>Despite the fact that the KP-Miner was de­signed as a general purpose keyphrase extraction system, and despite the simplicity of the system and the fact that it requires no training to func­tion, it seems to have performed relatively well when carrying out the task of keyphrase extrac­tion from scientific documents. The fact that it was outperformed, seems to indicate that for op­timal performance for this specific task, further tweaking of the system's parameters should be carried out. In future work, the authors will in­vestigate the usage of machine learning tech­niques for configuring the system for specific tasks. A further improvement to the system can entail allowing certain stopwords to appear with­in the produced keyphrases. It is worth noting that the organizers stated that 55 of the reader assigned keyphrases and 6 of the author assigned keyphrases (making a total of 61 keyphrases in the combined dataset), contained the "of" stop-word. However, none of these would have been detected by the KP-Miner system as currently "of" is considered as a phrase terminator.</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>KX_FBK</p></td><td class="cell"><p>23.6%</p></td><td class="cell"><p>24.2%</p></td><td class="cell"><p>23.9%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DERIUNLP</p></td><td class="cell"><p>22.0%</p></td><td class="cell"><p>22.5%</p></td><td class="cell"><p>22.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Maui</p></td><td class="cell"><p>20.3%</p></td><td class="cell"><p>20.8%</p></td><td class="cell"><p>20.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DFKI</p></td><td class="cell"><p>20.3%</p></td><td class="cell"><p>20.7%</p></td><td class="cell"><p>20.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BUAP</p></td><td class="cell"><p>19.0%</p></td><td class="cell"><p>19.4%</p></td><td class="cell"><p>19.2%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SJTULTLAB</p></td><td class="cell"><p>18.4%</p></td><td class="cell"><p>18.8%</p></td><td class="cell"><p>18.6%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UNICE</p></td><td class="cell"><p>18.3%</p></td><td class="cell"><p>18.8%</p></td><td class="cell"><p>18.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UNPMC</p></td><td class="cell"><p>18.1%</p></td><td class="cell"><p>18.6%</p></td><td class="cell"><p>18.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>JU_CSE</p></td><td class="cell"><p>17.8%</p></td><td class="cell"><p>18.2%</p></td><td class="cell"><p>18.0%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LIKEY</p></td><td class="cell"><p>16.3%</p></td><td class="cell"><p>16.7%</p></td><td class="cell"><p>16.5%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UvT</p></td><td class="cell"><p>14.6%</p></td><td class="cell"><p>14.9%</p></td><td class="cell"><p>14.8%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NIRAJIIITH</p></td><td class="cell"><p>14.1%</p></td><td class="cell"><p>14.5%</p></td><td class="cell"><p>14.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>POLYU</p></td><td class="cell"><p>13.9%</p></td><td class="cell"><p>14.2%</p></td><td class="cell"><p>14.0%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>UKP</p></td><td class="cell"><p>5.3%</p></td><td class="cell"><p>5.4%</p></td><td class="cell"><p>5.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 2: Performance over combined keywords when extracting, 5, 10, and 15 keyphrases" 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><b>Precision</b></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p><b>F-Score</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top 5</p></td><td class="cell"><p>29.6%</p></td><td class="cell"><p>12.3%</p></td><td class="cell"><p>17.4%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top 10</p></td><td class="cell"><p>23.3%</p></td><td class="cell"><p>20.5%</p></td><td class="cell"><p>24.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Top 15</p></td><td class="cell"><p>25.3%</p></td><td class="cell"><p>26.1%</p></td><td class="cell"><p>25.8%</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></section><references><p>M Porter. 1980. An Algorithm for Suffix Stripping, <i>Program, </i>14, 130-137.</p><p>G. Salton and C. Buckley. 1988. Term-weighting Ap­proaches in Automatic Text Retrieval, <i>Informa­tion Processing and Management, </i>24:513-523.</p><p>Peter D. Turney. 1999. Learning to Extract Keyphras-es from Text, <i>National Research Council, </i>Institute for Information Technology, ERB-1057.</p><doubt alpha="64.6" length="48" tooSmall="False" monospace="0.0">Samhaa. R. El-Beltagy and Ahmed Rafea. 2009. KP-</doubt><p>Miner: A Keyphrase Extraction System for Eng­lish and Arabic Documents <i>Information Systems, </i>34(1):132-144.</p><doubt alpha="65.2" length="46" tooSmall="False" monospace="0.0">Samhaa R. El-Beltagy. 2006. KP-Miner: A Simple</doubt><p>System for Effective Keyphrase Extraction. <i>Pro­ceeding of the 3rd IEEE International Confe­rence on Innovations in Information Technol­ogy (IIT '06), </i>Dubai, UAE.</p><p>SemEval. 2010. http://semeval2.fbk.eu/semeval2.php</p></references></body></article>