|
{ |
|
"paper_id": "I05-1025", |
|
"header": { |
|
"generated_with": "S2ORC 1.0.0", |
|
"date_generated": "2023-01-19T07:24:54.224151Z" |
|
}, |
|
"title": "Document Clustering with Grouping and Chaining Algorithms", |
|
"authors": [ |
|
{ |
|
"first": "Yllias", |
|
"middle": [], |
|
"last": "Chali", |
|
"suffix": "", |
|
"affiliation": { |
|
"laboratory": "", |
|
"institution": "University of Lethbridge", |
|
"location": {} |
|
}, |
|
"email": "" |
|
}, |
|
{ |
|
"first": "Soufiane", |
|
"middle": [], |
|
"last": "Noureddine", |
|
"suffix": "", |
|
"affiliation": { |
|
"laboratory": "", |
|
"institution": "University of Lethbridge", |
|
"location": {} |
|
}, |
|
"email": "" |
|
} |
|
], |
|
"year": "", |
|
"venue": null, |
|
"identifiers": {}, |
|
"abstract": "Document clustering has many uses in natural language tools and applications. For instance, summarizing sets of documents that all describe the same event requires first identifying and grouping those documents talking about the same event. Document clustering involves dividing a set of documents into non-overlapping clusters. In this paper, we present two document clustering algorithms: grouping algorithm, and chaining algorithm. We compared them with k-means and the EM algorithms. The evaluation results showed that our two algorithms perform better than the k-means and EM algorithms in different experiments.", |
|
"pdf_parse": { |
|
"paper_id": "I05-1025", |
|
"_pdf_hash": "", |
|
"abstract": [ |
|
{ |
|
"text": "Document clustering has many uses in natural language tools and applications. For instance, summarizing sets of documents that all describe the same event requires first identifying and grouping those documents talking about the same event. Document clustering involves dividing a set of documents into non-overlapping clusters. In this paper, we present two document clustering algorithms: grouping algorithm, and chaining algorithm. We compared them with k-means and the EM algorithms. The evaluation results showed that our two algorithms perform better than the k-means and EM algorithms in different experiments.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Abstract", |
|
"sec_num": null |
|
} |
|
], |
|
"body_text": [ |
|
{ |
|
"text": "Document clustering has many uses in natural language tools and applications. For instance, summarizing sets of documents that all describe the same event requires first identifying and grouping those documents talking about the same event. Document clustering involves dividing a set of texts into non-overlapping clusters, where documents in a cluster are more similar to one another than to documents in other clusters. The term more similar, when applied to clustered documents, usually means closer by some measure of proximity or similarity.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1" |
|
}, |
|
{ |
|
"text": "According to Manning and Schutze [1] , there are two types of structures produced by clustering algorithms, hierarchical clustering and flat or nonhierarchical clustering. Flat clustering are simply groupings of similar objects. Hierarchical clustering is a tree of subclasses which represent the cluster that contains all the objects of its descendants. The leaves of the tree are the individual objects of the clustered set. In our experiments, we used the non-hierarchical clustering k-means and EM [2] and our own clustering algorithms.", |
|
"cite_spans": [ |
|
{ |
|
"start": 33, |
|
"end": 36, |
|
"text": "[1]", |
|
"ref_id": "BIBREF0" |
|
}, |
|
{ |
|
"start": 502, |
|
"end": 505, |
|
"text": "[2]", |
|
"ref_id": "BIBREF1" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1" |
|
}, |
|
{ |
|
"text": "There are several similarity measures to help find out groups of related documents in a set of documents [3] . We use identical word method and semantic relation method to assign a similarity score to each pair of compared texts. For the identical word method, we use k-means algorithm, the EM algorithm, and our own grouping algorithm to cluster the documents. For the semantic relation method, we use our own grouping algorithm and chaining algorithm to do the clustering job. We choose WordNet 1.6 as our background knowledge. WordNet consists of synsets gathered in a hypernym/hyponym hierarchy [4] . We use it to get word senses and to evaluate the semantic relations between word senses.", |
|
"cite_spans": [ |
|
{ |
|
"start": 105, |
|
"end": 108, |
|
"text": "[3]", |
|
"ref_id": "BIBREF2" |
|
}, |
|
{ |
|
"start": 599, |
|
"end": 602, |
|
"text": "[4]", |
|
"ref_id": "BIBREF3" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Introduction", |
|
"sec_num": "1" |
|
}, |
|
{ |
|
"text": "To prepare the texts for the clustering process using identical word similarity, we perform the following steps on each of the selected raw texts:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Identical Word Similarity", |
|
"sec_num": "2" |
|
}, |
|
{ |
|
"text": "1. Preprocessing which consists in extracting file contents from the raw texts, stripping special characters and numbers, converting all words to lower cases and removing stopwords, and converting all plural forms to singular forms. 2. Create document word vectors: each document was processed to record the unique words and their frequencies. We built the local word vector for each document, each vector entry will record a single word and its frequency. We also keep track of the unique words in the whole texts to be tested. After processing all the documents, we convert each local vector to a global vector using the overall unique words. 3. Compute the identical word similarity score among documents: given any two documents, if we have their global vectors x, y, we can use the cosine measure [5] to calculate the identical word similarity score between these two texts.", |
|
"cite_spans": [ |
|
{ |
|
"start": 802, |
|
"end": 805, |
|
"text": "[5]", |
|
"ref_id": "BIBREF4" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Identical Word Similarity", |
|
"sec_num": "2" |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "cos(x, y) = n i=1 x i y i n i=1 x 2 i n i=1 y 2 i", |
|
"eq_num": "(1)" |
|
} |
|
], |
|
"section": "Identical Word Similarity", |
|
"sec_num": "2" |
|
}, |
|
{ |
|
"text": "where x and y are n-dimensional vectors in a real-valued space.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Identical Word Similarity", |
|
"sec_num": "2" |
|
}, |
|
{ |
|
"text": "Now, we determined a global vector for each text. We also have the identical word similarity scores among all texts. We can directly use these global vectors to run the k-means or the EM algorithms to cluster the texts. We can also use the identical word similarity scores to run grouping algorithm (defined later) to do the clustering via a different approach.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Identical Word Similarity", |
|
"sec_num": "2" |
|
}, |
|
{ |
|
"text": "To prepare the texts for clustering process using semantic relation similarity, the following steps are performed on each raw texts:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Semantic Relation Similarity", |
|
"sec_num": "3" |
|
}, |
|
{ |
|
"text": "1. Preprocessing which consists in extracting file contents, and removing special characters and numbers. 2. Extract all the nouns from the text using part-of-speech tagger (i.e. UPennsylvania tagger). The tagger parses each sentence of the input text into several forms with specific tags. We get four kinds of nouns as the results of running the tagger: NN, NNS, NNP and NNPS. We then run a process to group all the nouns into meaningful nouns and non-meaningful nouns. The basic idea is to construct the largest compound words using the possible adjective and following nouns, then check whether or not the compound words have a meaning in WordNet. If not, we break the compound words into possible smaller ones, then check again until we find the ones with meanings in Wordnet. When we get a noun (or a compound noun) existing in WordNet, we insert it into the meaningful word set, which we call set of regular nouns, otherwise we insert it into the non-meaningful word set, which we call set of proper nouns. During the processing of each document, we save the over-all unique meaningful nouns in an over-all regular nouns set. Because of the big overhead related to accessing WordNet, we try to reduce the overall access times to a minimal level. Our approach is to use these over-all unique nouns to retrieve the relevant information from WordNet and save them in a global file. For each sense of each unique noun, we save its synonyms, two level hypernyms, and one level hyponyms. If any process frequently needs the WordNet information, it can use the global file to store the information in a hash and thus provides fast access to its members.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Semantic Relation Similarity", |
|
"sec_num": "3" |
|
}, |
|
{ |
|
"text": "Similarly to Galley and McKeown [6] , we use lexical chain approach to disambiguate the nouns in the regular nouns for each document [7, 8] . A lexical chain is a sequence of related words in the text, spanning short (adjacent words or sentences) or long distances (entire text). WordNet is one lexical resource that may be used for the identification of lexical chains. Lexical chains can be constructed in a source text by grouping (chaining) sets of word-senses that are semantically related. We designate the following nine semantic relations between two senses: (a) Two noun instances are identical, and used in the same sense; (b) Two noun instances are used in the same sense (i.e., are synonyms ); (c) The senses of two noun instances have a hypernym/hyponym relation between them; (d) The senses of two noun instances are siblings in the hypernym/hyponym tree; (e) The senses of two noun instances have a grandparent/grandchild relation in the hypernym/hyponym tree; (f) The senses of two noun instances have a uncle/nephew relation in the hypernym/hyponym tree; (g) The senses of two noun instances are cousins in the hypernym/hyponym tree (i.e., two senses share the same grandparent in the hypernym tree of WordNet); (h) The senses of two noun instances have a great-grandparent/great-grandchild relation in the hypernym/hyponym tree (i.e., one sense's grandparent is another sense's hyponym's great-grandparent in the hypernym tree of WordNet). (i) The senses of two noun instances do not have any semantic relation.", |
|
"cite_spans": [ |
|
{ |
|
"start": 32, |
|
"end": 35, |
|
"text": "[6]", |
|
"ref_id": "BIBREF5" |
|
}, |
|
{ |
|
"start": 133, |
|
"end": 136, |
|
"text": "[7,", |
|
"ref_id": "BIBREF6" |
|
}, |
|
{ |
|
"start": 137, |
|
"end": 139, |
|
"text": "8]", |
|
"ref_id": "BIBREF7" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "To disambiguate all the nouns in the regular nouns of a text, we proceed with the following major steps:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "(a) Evaluate the semantic relation between any two possible senses according to the hypernym/hyponym tree in WordNet. For our experiments, we use the following scoring scheme for the relations defined above as shown in Table 1 . The score between A i (sense i of word A) and B j (sense j of word B) is denoted as score(A i , B j ). These scores are established empirically and give more weight to closer words according to WordNet hierarchy. (b) Build the lexical chains using all possible senses of all nouns. To build the lexical chains, we assume each noun possesses all the possible senses from WordNet. For each sense of each noun in a text, if it is related to all the senses of any existing chain, then we put this sense into this chain, else we create a new chain and push this sense into the new empty chain. After this, we will have several lexical chains with their own scores. (c) Using the lexical chain, try to assign a specific sense to each nouns.", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 219, |
|
"end": 226, |
|
"text": "Table 1", |
|
"ref_id": "TABREF0" |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "We sort the chains by their scores in a non-increasing order. We select the chain with the highest score and assign the senses in that chain to the corresponding words. These words are disambiguated now. Next, we process the next chain with the next highest score. If it contains a different sense of any disambiguated words, we skip it to process the next chain until we reach the chains with a single entry. We mark the chains which we used to assign senses to words as selected. For the single entry chains, if the sense is the only sense of the word, we mark it as disambiguated. For each undisambiguated word, we check each of its senses against all the selected chains. If it has a relation with all the senses in a selected chain, we will then remember which sense-chain pair has the highest relation score, then we assign that sense to the corresponding word.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "After these steps, the leftover nouns will be the undisambiguated words. We save the disambiguated words and the undisambiguated words with their frequencies for calculating the semantic relation scores between texts. 4. Compute the similarity score for each pair of texts. Now, we should have three parts of nouns for each text: disambiguated nouns, undisambiguated nouns and the non-meaningful nouns (proper nouns). We will use all of them to calculate the semantic similarity scores between each pair of texts. For the purpose of calculating the semantic similarity scores among texts, we use only the first three relations (a), (b), and (c) and the last relation (i) and their corresponding scores defined in Table 1 . For a given text pair, we proceed as in the following steps to calculate the similarity scores:", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 713, |
|
"end": 720, |
|
"text": "Table 1", |
|
"ref_id": "TABREF0" |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "-Using the disambiguated nouns, the score score 1 of the similarity between two texts T 1 and T 2 is computed as follows:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "score 1 = n i=1 m j=1 score(A i , B j ) \u00d7 f req(A i ) \u00d7 f req(B j ) n i=1 f req 2 (A i ) m j=1 f req 2 (B j )", |
|
"eq_num": "(2)" |
|
} |
|
], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "where A i is a word sense from T 1 and B j is a word sense from T 2 ; score(A i , B j ) is a semantic relation score defined in Table 1 ; n and m are the numbers of disambiguated nouns in T 1 and T 2 ; f req(x) is the frequency of a word sense x. -For the undisambiguated nouns, if two nouns are identical in their word formats, then the probability that they take the same sense in both texts is 1/s, where s is the number of their total possible senses. The similarity score score 2 between two texts T 1 and T 2 according to the undisambiguated nouns is computed as follows:", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 128, |
|
"end": 135, |
|
"text": "Table 1", |
|
"ref_id": "TABREF0" |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "score 2 = n i=1 log(16)\u00d7freq1(Ai)\u00d7freq2(Ai) si n i=1 f req 2 1 (A i ) n j=1 f req 2 2 (A j )", |
|
"eq_num": "(3)" |
|
} |
|
], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "where A i is a word common to T 1 and T 2 ; n is the number of common words to T 1 and T 2 ; f req 1 (A i ) is the frequency of A i in T 1 ; f req 2 (A i ) is the frequency of A i in T 2 ; s i is the number of senses of A i . -The proper nouns are playing an important role in relating texts to each other. So, we use a higher score (i.e., log(30)) for the identical proper nouns. The similarity score score 3 between two texts T 1 and T 2 among the proper nouns between is computed as follows:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "score 3 = n i=1 log(30) \u00d7 f req 1 (A i ) \u00d7 f req 2 (A i ) n i=1 f req 2 1 (A i ) n j=1 f req 2 2 (A j )", |
|
"eq_num": "(4)" |
|
} |
|
], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "where A i is a proper noun common to T 1 and T 2 ; n is the number of common proper nouns to T 1 and T 2 ; f req 1 (A i ) is the frequency of A i in T 1 ; f req 2 (A i ) is the frequency of A i in T 2 . -Adding all the scores together as the total similarity score of the text pair:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "score = score 1 + score 2 + score 3", |
|
"eq_num": "(5)" |
|
} |
|
], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "Now we make it ready to use the grouping algorithm or chaining algorithm defined shortly to cluster the texts.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Word sense disambiguation.", |
|
"sec_num": "3." |
|
}, |
|
{ |
|
"text": "Generally, every text should have a higher semantic similarity score with the texts from its group than the texts from a different groups [9] . There are a few rare cases where this assumption could fail. One case is that the semantic similarity score does not reflect the relationships among the texts. Another case is that the groups are not well grouped by common used criteria or the topic is too broad in that group.By all means, the texts of any well formed clusters should have stronger relations among its members than the texts in other clusters. Based on this idea, we developed two text clustering algorithms: grouping algorithm and chaining algorithm . They share some common features but with different approaches.", |
|
"cite_spans": [ |
|
{ |
|
"start": 138, |
|
"end": 141, |
|
"text": "[9]", |
|
"ref_id": "BIBREF8" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Clustering Algorithms", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "One major issue in partitioning texts into different clusters is choosing the cutoff on the relation scores. Virtually, all texts are related with each other to some extent. The problem here is how similar (or close) they should be so that we can put them into one cluster and how dissimilar (or far away) they should be so that we can group them into different clusters. Unless the similarity scores among all the texts can be represented as binary values, we will always face this problem with any kind of texts. In order to address this problem, we introduce two reference values in our text clustering algorithms: high-threshold and lowthreshold. The high-threshold means the high standard for bringing two texts into the same cluster. The low-threshold means the minimal standard for possibly bringing two texts into the same cluster. If the score between any two texts reaches or surpasses the high-threshold, then they will go to the same cluster. If the score reaches the low-threshold but is lower than the high-threshold, then we will carry out further checking to decide if we should bring two texts into the same cluster or not, else, the two texts will not go to the same cluster.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Clustering Algorithms", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "We get our high-threshold and low-threshold for our different algorithms by running some experiments using the grouped text data. The high-threshold we used for our two algorithms is 1.0 and the low-threshold we used is 0.6. For our experiment, we always take a number of grouped texts and mix them up to make a testing text set. So, each text must belong to one cluster with certain number of texts.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Clustering Algorithms", |
|
"sec_num": "4" |
|
}, |
|
{ |
|
"text": "The basic idea is that each text could gather its most related texts to form an initial group, then we decide which groups have more strength over other groups, make the stronger groups as final clusters, and use them to bring any possible texts to their clusters. First, we use each text as a leading text (T l ) to form a cluster. To do this, we put all the texts which have a score greater than the high-threshold with T l into one group and add each score to the group's total score. By doing this for all texts, we will have N possible different groups with different entries and group scores, where N is the number of the total texts in the set. Next, we select the final clusters from those N groups. We arrange all the groups by their scores in a non-increasing order. We choose the group with the highest score and check if any text in this group has been clustered to the existing final clusters or not. If not more than 2 texts are overlapping with the final clusters, then we take this group as a final cluster, and remove the overlapping texts from other final clusters. We process the group with the next highest score in the same way until the groups' entries are less than 4. For those groups, we would first try to insert their texts into the existing final clusters if they can fit in one of them. Otherwise, we will let them go to the leftover cluster which holds all the texts that do not belong to any final clusters. The following is the pseudocode for the grouping algorithm: where: member(g i ) is the number of members in group g i ; overlap-mem(g i ) is the number of members that are overlapped with any final clusters; score(c i , t j ) is the sum of scores between t j and each text in c i ; average-score(c i , t j ) is score(c i , t j ) divide by the number of texts in c i .", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Grouping Algorithm", |
|
"sec_num": "4.1" |
|
}, |
|
{ |
|
"text": "This algorithm is based on the observation of the similarities among the texts in groups. Within a text group, not all texts are always strongly related with any other texts. Sometimes there are several subgroups existing in a single group, i.e., certain texts have stronger relations with their subgroup members and have a weaker relation with other subgroup members. Usually one or more texts have stronger relation crossing different subgroups to connect them together, otherwise all the texts in the group could not be grouped together. So, there is a chaining effect in each group connecting subgroups together to form one entire group.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Chaining Algorithm", |
|
"sec_num": "4.2" |
|
}, |
|
{ |
|
"text": "We use this chaining idea in the chaining algorithm. First, for each text T j , we find all the texts which have similarity scores that are greater or equal than the high-threshold with T j and use them to form a closer-text-set. All the texts in that set are called closer-text of T j .", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Chaining Algorithm", |
|
"sec_num": "4.2" |
|
}, |
|
{ |
|
"text": "Next, for each text which has not been assigned to a final chain, we use its initial closer-text-set members to form a new chain. For each of the texts in the chain, if any of its closer-texts are relatively related (i.e., the score >= lowthreshold) to all the texts in the chain, then we add it into the current chain. One thing needs to be noticed here is that we do not want to simply bring all the closer-texts of each current chain's members into the chain. The reason is to eliminate the unwanted over-chaining effect that could bring many other texts which are only related to one text in the existing chain. So, we check each candidate text against all the texts in the chain to prevent the over-chaining effect. We repeat this until the chain's size are not increasing. If the chain has less than 4 members, we will not use this chain for a final cluster and try to re-assign the chain members to other chains.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Chaining Algorithm", |
|
"sec_num": "4.2" |
|
}, |
|
{ |
|
"text": "After the above process, if any text has not been assigned to a chain we check it against all existing chains and find the chain which has highest similarity score between the chain and this text. If the average similarity score with each chain members is over low-threshold, we insert this text into that chain, else we put it into the final leftover chain. The following is the pseudocode for the chaining algorithm:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Chaining Algorithm", |
|
"sec_num": "4.2" |
|
}, |
|
{ |
|
"text": "We chose as our input data the documents sets used in the Document Understanding Conferences [10, 11] , organized by NIST. We collected 60 test document directories for our experiments. Each directory is about a specific topic and has about 10 texts and each text has about 1000 words. Our experiment is to mix up the 60 directories and try to reconstitute them using one of our clustering algorithm. Then, we measure how successful are these algorithms in reconstituting the original directories. We implemented the k-means algorithm and the EM algorithm to compare them with our algorithms.", |
|
"cite_spans": [ |
|
{ |
|
"start": 93, |
|
"end": 97, |
|
"text": "[10,", |
|
"ref_id": "BIBREF9" |
|
}, |
|
{ |
|
"start": 98, |
|
"end": 101, |
|
"text": "11]", |
|
"ref_id": "BIBREF10" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application", |
|
"sec_num": "5" |
|
}, |
|
{ |
|
"text": "In our test, we found out that the chaining algorithm did not work well for identical method. We tested grouping algorithm, chaining algorithm, and EM algorithm with semantic method, and k-means algorithm, EM algorithm, and grouping algorithm with identical methods. We run the k-means and the EM algorithms 4 times with each experiment texts set and take the average performance. As we described before, semantic method represents text relations with scores, so k-means algorithm which needs input data in vector format will not be applied to semantic method.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application", |
|
"sec_num": "5" |
|
}, |
|
{ |
|
"text": "For our testing, we need to compare the system clusters with the testing clusters (original text directories) to evaluate the performance of each system. We first compare each system cluster with all of the testing clusters to find the best matched cluster pair with the maximum number of identical texts. We then use recall, precision, and F-value to evaluate each matching pair. Finally, we use the average F-value to evaluate the whole system performance. For a best matched pair T C j (testing cluster) and SC i (system cluster), the recall (R), precision (P), and F-value (F) are defined as follows:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "R = m t", |
|
"eq_num": "(6)" |
|
} |
|
], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "P = m m + n (7) F (T C j , SC i ) = 2P R P + R", |
|
"eq_num": "(8)" |
|
} |
|
], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "where m is the number of the overlapping texts between T C j and SC i ; n is the number of the non-overlapping texts in SC i ; t is the total number of texts in T C j . For the whole system evaluation, we use the Average F which is calculated using the F-values of each matched pair of clusters.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "EQUATION", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [ |
|
{ |
|
"start": 0, |
|
"end": 8, |
|
"text": "EQUATION", |
|
"ref_id": "EQREF", |
|
"raw_str": "Average F = i,j max(F (SCi, T Cj)) max(m, n)", |
|
"eq_num": "(9)" |
|
} |
|
], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "Where i <= min(m, n), j <= m, m is the number of testing clusters, and n is the number of system clusters.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Evaluation", |
|
"sec_num": "6" |
|
}, |
|
{ |
|
"text": "The performance of grouping algorithm and chaining algorithm are very close using the semantic relation approach and most of their Average F are over 90%. For the identical word approach, the grouping algorithm performance is much better than the performances of the k-means algorithm and the EM algorithm. The poor performance of the k-means algorithm results from randomly selected k initial values. Those initial N-dimensional values usually do not represent the whole data very well. For the semantic relation approach, both grouping and chaining algorithms performed better than the EM algorithm. Table 2 and 3 are the system Average F values for the different algorithms. The identical word similarity method used grouping algorithm, k-means algorithm, and EM algorithm. The semantic similarity method used grouping algorithm, chaining algorithm and EM algorithm. ", |
|
"cite_spans": [], |
|
"ref_spans": [ |
|
{ |
|
"start": 602, |
|
"end": 609, |
|
"text": "Table 2", |
|
"ref_id": null |
|
} |
|
], |
|
"eq_spans": [], |
|
"section": "Results", |
|
"sec_num": "7" |
|
}, |
|
{ |
|
"text": "Document clustering is an important tool for natural language applications. We presented two novel algorithms grouping algorithm and chaining algorithm for clustering sets of documents, and which can handle a large set of documents and clusters. The two algorithms use semantic similarity and identical word measure, and their performance is much better than the performance of the Kmeans algorithm and the performance of the EM algorithm, used as a baseline for our evaluation.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": "8" |
|
}, |
|
{ |
|
"text": "Evaluating the system quality has been always a difficult issue. We presented an evaluation methodology to assess how the system clusters are related to the manually generated clusters using precision and recall measures.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": "8" |
|
}, |
|
{ |
|
"text": "The grouping and the chaining algorithm may be used in several natural language processing applications requiring clustering tasks such as summarizing set of documents relating the same event.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Conclusion", |
|
"sec_num": "8" |
|
} |
|
], |
|
"back_matter": [ |
|
{ |
|
"text": "This work was supported by the Natural Sciences and Engineering Research Council (NSERC) research grant.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Acknowledgments", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "Grouping Algorithm // Get the initial clusters for each text t i construct a text cluster including all the texts(t j ) which score(t i , t j ) >= high-threshold; compute the total score of the text cluster; find out its neighbor with maximum relation score; end for // Build the final clusters sort the clusters by their total score in non-increasing order; for each cluster g i in the sorted clusters if member(g i ) > 3 and overlap-mem(g i ) <= 2 take g i as a final cluster c i ; mark all the texts in c i as clustered; else skip to process next cluster; end if end for // Process the leftover texts and insert them into one of the final clusters for each text t j if t j has not been clustered find cluster c i with the highest score(c i , t j ); if the average-score(c i , t j ) >= low-threshold put t j into the cluster c i ; else if the max score neighbor t m of t j is in c k put t j into cluster c k ; else put t j into the final leftover cluster; end if end if end for output the final clusters and the final leftover cluster;Chaining Algorithm // construct a closer-text-set for each text for each text ti 0 < i <= N for each text tj 0 < j <= N if score(ti, tj) >= high-threshold put tj into closer-text-set si; end if end for end for // Build the chains c = 0; for each text ti of all the texts if it has not been chained in put text ti into chain c and mark it as been chained; bring all the text in closer text-set si into the new chain c; mark si as processed; while (the size of chain c is changing) for each text t k in chain c for each text tm in s k of t k if the score between tm and any text in chain c >= low-threshold put tm into chain c; mark tm as been chained to chain c; end if end for end for end while if the size of chain c < 4 discard chain c; remark the texts in chain c as unchained; end if c++; end if end for // Process the leftover texts and insert them into one of the existing chains for each unchained text tj find chain ci with the highest score(ci, tj ); if the average-score(ci, tj) >= low-threshold put tj into the chain ci; else put tj into the final leftover chain; end if end for output the valid chains and the final leftover chain.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "annex", |
|
"sec_num": null |
|
} |
|
], |
|
"bib_entries": { |
|
"BIBREF0": { |
|
"ref_id": "b0", |
|
"title": "Foundations of Statistical Natural Language Processing", |
|
"authors": [ |
|
{ |
|
"first": "C", |
|
"middle": [ |
|
"D" |
|
], |
|
"last": "Manning", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "H", |
|
"middle": [], |
|
"last": "Schutze", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2000, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Manning, C.D., Schutze, H.: Foundations of Statistical Natural Language Process- ing. MIT Press (2000)", |
|
"links": null |
|
}, |
|
"BIBREF1": { |
|
"ref_id": "b1", |
|
"title": "Survey of clustering data mining techniques", |
|
"authors": [ |
|
{ |
|
"first": "P", |
|
"middle": [], |
|
"last": "Berkhin", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2002, |
|
"venue": "Accrue Software", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Berkhin, P.: Survey of clustering data mining techniques. Technical report, Accrue Software, San Jose, CA (2002)", |
|
"links": null |
|
}, |
|
"BIBREF2": { |
|
"ref_id": "b2", |
|
"title": "Pattern Classification and Scene Analysis", |
|
"authors": [ |
|
{ |
|
"first": "R", |
|
"middle": [], |
|
"last": "Duda", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "P", |
|
"middle": [], |
|
"last": "Hart", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1973, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Duda, R., Hart, P.: Pattern Classification and Scene Analysis. John Wiley & Sons, New York, NY (1973)", |
|
"links": null |
|
}, |
|
"BIBREF3": { |
|
"ref_id": "b3", |
|
"title": "Five papers on wordnet", |
|
"authors": [ |
|
{ |
|
"first": "G", |
|
"middle": [ |
|
"A" |
|
], |
|
"last": "Miller", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "R", |
|
"middle": [], |
|
"last": "Beckwith", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "C", |
|
"middle": [], |
|
"last": "Fellbaum", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "D", |
|
"middle": [], |
|
"last": "Gross", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "K", |
|
"middle": [], |
|
"last": "Miller", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1993, |
|
"venue": "CSL Report", |
|
"volume": "43", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Miller, G.A., Beckwith, R., Fellbaum, C., Gross, D., Miller, K.: Five papers on wordnet. CSL Report 43, Cognitive Science Laboratory, Princeton University (1993)", |
|
"links": null |
|
}, |
|
"BIBREF4": { |
|
"ref_id": "b4", |
|
"title": "Automatic Text Processing: The Transformation, Analysis, and Retrieval of Information by Computer", |
|
"authors": [ |
|
{ |
|
"first": "G", |
|
"middle": [], |
|
"last": "Salton", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1989, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Salton, G.: Automatic Text Processing: The Transformation, Analysis, and Re- trieval of Information by Computer. Addison-Wesley Series in Computer Sciences (1989)", |
|
"links": null |
|
}, |
|
"BIBREF5": { |
|
"ref_id": "b5", |
|
"title": "Improving word sense disambiguation in lexical chaining", |
|
"authors": [ |
|
{ |
|
"first": "M", |
|
"middle": [], |
|
"last": "Galley", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "K", |
|
"middle": [], |
|
"last": "Mckeown", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2003, |
|
"venue": "Proceedings of the 18th International Joint Conference on Artificial Intelligence", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Galley, M., McKeown, K.: Improving word sense disambiguation in lexical chaining. In: Proceedings of the 18th International Joint Conference on Artificial Intelligence, Acapulco, Mexico. (2003)", |
|
"links": null |
|
}, |
|
"BIBREF6": { |
|
"ref_id": "b6", |
|
"title": "Using lexical chains for text summarization", |
|
"authors": [ |
|
{ |
|
"first": "R", |
|
"middle": [], |
|
"last": "Barzilay", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "M", |
|
"middle": [], |
|
"last": "Elhadad", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1997, |
|
"venue": "Proceedings of the 35th Annual Meeting of the Association for Computational Linguistics and the 8th European Chapter Meeting of the Association for Computational Linguistics, Workshop on Intelligent Scalable Text Summarization", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "10--17", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Barzilay, R., Elhadad, M.: Using lexical chains for text summarization. In: Pro- ceedings of the 35th Annual Meeting of the Association for Computational Linguis- tics and the 8th European Chapter Meeting of the Association for Computational Linguistics, Workshop on Intelligent Scalable Text Summarization, Madrid (1997) 10-17", |
|
"links": null |
|
}, |
|
"BIBREF7": { |
|
"ref_id": "b7", |
|
"title": "Efficiently computed lexical chains as an intermediate representation for automatic text summarization", |
|
"authors": [ |
|
{ |
|
"first": "H", |
|
"middle": [ |
|
"G" |
|
], |
|
"last": "Silber", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "K", |
|
"middle": [ |
|
"F" |
|
], |
|
"last": "Mccoy", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2002, |
|
"venue": "Computational Linguistics", |
|
"volume": "28", |
|
"issue": "", |
|
"pages": "487--496", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Silber, H.G., McCoy, K.F.: Efficiently computed lexical chains as an intermediate representation for automatic text summarization. Computational Linguistics 28 (2002) 487-496", |
|
"links": null |
|
}, |
|
"BIBREF8": { |
|
"ref_id": "b8", |
|
"title": "Document clustering with committees", |
|
"authors": [ |
|
{ |
|
"first": "P", |
|
"middle": [], |
|
"last": "Pantel", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "D", |
|
"middle": [], |
|
"last": "Lin", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2002, |
|
"venue": "Proceedings of the ACM SIGIR'02", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Pantel, P., Lin, D.: Document clustering with committees. In: Proceedings of the ACM SIGIR'02, Finland (2002)", |
|
"links": null |
|
}, |
|
"BIBREF9": { |
|
"ref_id": "b9", |
|
"title": "Proceedings of the Document Understanding Conference, NIST", |
|
"authors": [ |
|
{ |
|
"first": "P", |
|
"middle": [], |
|
"last": "Over", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2003, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Over, P., ed.: Proceedings of the Document Understanding Conference, NIST (2003)", |
|
"links": null |
|
}, |
|
"BIBREF10": { |
|
"ref_id": "b10", |
|
"title": "Proceedings of the Document Understanding Conference, NIST", |
|
"authors": [ |
|
{ |
|
"first": "P", |
|
"middle": [], |
|
"last": "Over", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 2004, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Over, P., ed.: Proceedings of the Document Understanding Conference, NIST (2004)", |
|
"links": null |
|
} |
|
}, |
|
"ref_entries": { |
|
"TABREF0": { |
|
"type_str": "table", |
|
"html": null, |
|
"content": "<table><tr><td>Relation</td><td>Score(Ai, Bj)</td></tr><tr><td>Identical</td><td>log(16)</td></tr><tr><td>Synonyms</td><td>log(15)</td></tr><tr><td>Hypernyms/hyponyms</td><td>log(14)</td></tr><tr><td>Siblings</td><td>log(13)</td></tr><tr><td>Grandparent/grandchild</td><td>log(12)</td></tr><tr><td>Uncle/nephew</td><td>log(11)</td></tr><tr><td>Cousins</td><td>log(10)</td></tr><tr><td>Great-grandparent/great-grandchild</td><td>log(9)</td></tr><tr><td>No relation</td><td>0</td></tr></table>", |
|
"text": "Scoring Scheme for Relations", |
|
"num": null |
|
}, |
|
"TABREF1": { |
|
"type_str": "table", |
|
"html": null, |
|
"content": "<table><tr><td colspan=\"3\">Identical Word Similarity</td></tr><tr><td colspan=\"3\">Grouping EM k-means</td></tr><tr><td>0.98</td><td>0.81</td><td>0.66</td></tr><tr><td colspan=\"3\">Semantic Relation Similarity</td></tr><tr><td colspan=\"2\">Grouping Chaining</td><td>EM</td></tr><tr><td>0.92</td><td>0.91</td><td>0.76</td></tr></table>", |
|
"text": "Comparisons of F-value using Identical Word Similarity Comparisons of F-value using Semantic Relation Similarity", |
|
"num": null |
|
} |
|
} |
|
} |
|
} |