The described technology relates generally to automatically classifying information.
Many search engine services, such as Google and Overture, provide for searching for information that is accessible via the Internet. These search engine services allow users to search for display pages, such as web pages, that may be of interest to users. After a user submits a search request that includes search terms, the search engine service identifies web pages that may be related to those search terms. To quickly identify related web pages, the search engine services may maintain a mapping of keywords to web pages. This mapping may be generated by “crawling” the web (i.e., the World Wide Web) to identify the keywords of each web page. To crawl the web, a search engine service may use a list of root web pages to identify all web pages that are accessible through those root web pages. The keywords of any particular web page can be identified using various well-known information retrieval techniques, such as identifying the words of a headline, the words supplied in the metadata of the web page, the words that are highlighted, and so on. The search engine service may generate a relevance score to indicate how relevant the information of the web page may be to the search request based on the closeness of each match, web page popularity (e.g., Google's PageRank), and so on. The search engine service then displays to the user links to those web pages in an order that is based on their rankings.
Although search engine services may return many web pages as a search result, the presenting of the web pages in rank order may make it difficult for a user to actually find those web pages of particular interest to the user. Since the web pages that are presented first may be directed to popular topics, a user who is interested in an obscure topic may need to scan many pages of the search result to find a web page of interest. To make it easier for a user to find web pages of interest, the web pages of a search result could be presented in a hierarchical organization based on some classification or categorization of the web pages. For example, if a user submits a search request of “court battles,” the search result may contain web pages that can be classified as sports-related or legal-related. The user may prefer to be presented initially with a list of classifications of the web pages so that the user can select the classification of web pages that is of interest. For example, the user might be first presented with an indication that the web pages of the search result have been classified as sports-related and legal-related. The user can then select the legal-related classification to view web pages that are legal-related. In contrast, since sports web pages are more popular than legal web pages, a user might have to scan many pages to find legal-related web pages if the most popular web pages are presented first.
It would be impractical to manually classify the millions of web pages that are currently available. Although automated classification techniques have been used to classify text-based content, those techniques are not generally applicable to the classification of web pages. Web pages have an organization that includes noisy content, such as an advertisement or a navigation bar, that is not directly related to the primary topic of the web page. Because conventional text-based classification techniques would use such noisy content when classifying a web page, these techniques would tend to produce incorrect classifications of web pages.
It would be desirable to have a classification technique for web pages that would base the classification of a web page on the primary topic of the web page and give little weight to noisy content of the web page.
A classification and summarization system classifies display pages such as web pages based on automatically generated summaries of the display pages. In one embodiment, a web page classification system uses a web page summarization system to generate summaries of web pages. The summary of a web page may include the sentences of the web page that are most closely related to the primary topic of the web page. The summarization system may combine the benefits of multiple summarization techniques to identify the sentences of a web page that represent the primary topic of the web page. Once a summary is generated, the classification system may apply conventional classification techniques to the summary to classify the web page.
A method and system for classifying display pages based on automatically generated summaries of display pages is provided. In one embodiment, a web page classification system uses a web page summarization system to generate summaries of web pages. The summary of a web page may include the sentences of the web page that are most closely related to the primary topic of the web page. Once the summary is generated, the classification system may apply conventional classification techniques to the summary to classify the web page. The summarization system may combine the benefits of multiple summarization techniques to identify the sentences of a web page that represent the primary topic of the web page. In one embodiment, the summarization system uses a Luhn summarization technique, a latent semantic analysis summarization technique, a content body summarization technique, and a supervised summarization technique either individually or in combination to generate a summary. The summarization system uses each of the summarization techniques to generate a summarization technique-specific score for each sentence of a web page. The summarization system then combines the summarization technique-specific scores for a sentence to generate an overall score for that sentence. The summarization system selects the sentences of the web page with the highest overall scores to form the summary of the web page. The classification system may use conventional classification techniques such as a Naïve Bayesian classifier or a support vector machine to identify the classifications of a web page based on the summary generated by the summarization system. In this way, web pages can be automatically classified based on automatically generated summaries of the web pages.
In one embodiment, the summarization system uses a modified version of the Luhn summarization technique to generate a Luhn score for each sentence of a web page. The Luhn summarization technique generates a score for a sentence that is based on the “significant words” that are in the sentence. To generate a score for a sentence, the Luhn summarization technique identifies a portion of the sentence that is bracketed by significant words that are not more than a certain number of non-significant words apart. The Luhn summarization technique calculates the score of the sentence as the ratio of the square of the number of significant words contained in the bracketed portion divided by the number of words within the bracketed portion. (See H. P. Luhn, The Automatic Creation of Literature Abstracts, 2 IBM J.
In one embodiment, the summarization system uses a latent semantic analysis summarization technique to generate a latent semantic analysis score for each sentence of a web page. The latent semantic analysis summarization technique uses singular value decomposition to generate a score for each sentence. The summarization system generates a word-sentence matrix for the web page that contains a weighted term-frequency value for each word-sentence combination. The matrix may be represented by the following:
A=UΣVT (1)
where A represents the word-sentence matrix, U is a column-orthonormal matrix whose columns are left singular vectors, Σ is a diagonal matrix whose diagonal elements are non-negative singular values sorted in descending order, and V is an orthonormal matrix whose columns are right singular vectors. After decomposing the matrix into U, Σ, and V, the summarization system uses the right singular vectors to generate the scores for the sentences. (See Y. H. Gong & X. Liu, Generic Text Summarization Using Relevance Measure and Latent Semantic Analysis, in P
In one embodiment, the summarization system uses a content body summarization technique to generate a content body score for each sentence of a web page. The content body summarization technique identifies the content body of a web page and gives a high score to the sentences within the content body. To identify the content body of a web page, the content body summarization technique identifies basic objects and composite objects of the web page. A basic object is the smallest information area that cannot be further divided. For example, in HTML, a basic object is a non-breakable element within two tags or an embedded object. A composite object is a set of basic objects or other composite objects that combine to perform a function. After identifying the objects, the summarization system categorizes the objects into categories such as information, navigation, interaction, decoration, or special function. The information category is for objects that present content information, the navigation category is for objects that present a navigation guide, the interaction category is for objects that present user interactions (e.g., input field), the decoration category is for objects that present decorations, and a special function category is for objects that present information such as legal information, contact information, logo information, and so on. (See J. L. Chen, et al., Function-based Object Model Towards Website Adaptation, P
In one embodiment, the summarization system uses a supervised summarization technique to generate a supervised score for each sentence of a web page. The supervised summarization technique uses training data to learn a summarize function that identifies whether a sentence should be selected as part of a summary. The supervised summarization technique represents each sentence by a feature vector. In one embodiment, the supervised summarization technique uses the features defined in Table 1 where fij represents the value of the ith feature of sentence i.
The summarization system may use a Naïve Bayesian classifier to learn the summarize function. The summarize function can be represented by the following:
where p(sεS) stands for the compression rate of the summarizer (which can be predefined for different applications), p(fj) is the probability of each feature j, and p(fj|sεS) is the conditional probability of each feature j. The latter two factors can be estimated from the training set.
In one embodiment, the summarization system combines the scores of the Luhn summarization technique, the latent semantic analysis summarization technique, the content body summarization technique, and the supervised summarization technique to generate an overall score. The scores may be combined as follows:
S=S
luhn
+S
lsa
+S
cb
+S
sup (3)
where S represents the combined score, Sluhn represents the Luhn score, Slsa represents the latent semantic analysis score, Scb represents the content body score, and Ssup represents the supervised score. Alternatively, the summarization system may apply a weighting factor to each summarization technique score so that not all the summarization technique scores are weighted equally. For example, if the Luhn score is thought to be a more accurate reflection of the relatedness of a sentence to the primary topic of the web page, then the weighting factor for the Luhn score might be 0.7 and the weighting factor for the other scores might be 0.1 each. If a weighting factor for a summarization technique is set to zero, then the summarization system does not use that summarization technique. One skilled in the art will appreciate that any number of the summarization techniques can have their weights set to zero. For example, if a weighting factor of 1 is used for the Luhn score and for zero for the other scores, then the “combined” score would be simply the Luhn score. In addition, the summarization system may normalize each of the summarization technique scores. The summarization system may also use a non-linear combination of the summarization technique scores. The summarization system may select the sentences with the highest combined scores to form the summary of the web page.
In one embodiment, the classification system uses a Naïve Bayesian classifier to classify a web page based on its summary. The Naïve Bayesian classifier uses Bayes' rule, which may be defined as follows:
where P(cj|di;{circumflex over (θ)}) can be calculated by counting the frequency with each category cj occurring in the training data, |C| is the number of categories, p(wi|cj) is a probability that word wi occurs in class cj, N(wk,di) is the number of occurrences of a word wk in di, and n is the number of words in the training data. (See A. McCallum & K. Nigam, A Comparison of Event Models for Naïve Bayes Text Classification, in AAAI-98 W
In an alternate embodiment the classification system uses a support vector machine to classify a web page based on its summary. A support vector machine operates by finding a hyper-surface in the space of possible inputs. The hyper-surface attempts to split the positive examples from the negative examples by maximizing the distance between the nearest of the positive and negative examples to the hyper-surface. This allows for correct classification of data that is similar to but not identical to the training data. Various techniques can be used to train a support vector machine. One technique uses a sequential minimal optimization algorithm that breaks the large quadratic programming problem down into a series of small quadratic programming problems that can be solved analytically. (See Sequential Minimal Optimization, at http://research.micro-soft.com/˜jplatt/smo.html.)
The computing device on which the summarization system is implemented may include a central processing unit, memory, input devices (e.g., keyboard and pointing devices), output devices (e.g., display devices), and storage devices (e.g., disk drives). The memory and storage devices are computer-readable media that may contain instructions that implement the summarization system. In addition, the data structures and message structures may be stored or transmitted via a data transmission medium, such as a signal on a communications link. Various communications links may be used, such as the Internet, a local area network, a wide area network, or a point-to-point dial-up connection.
The summarization system may be implemented in various operating environments. The operating environment described herein is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the summarization system. Other well-known computing systems, environments, and configurations that may be suitable for use include personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The summarization system may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
One skilled in the art will appreciate that although specific embodiments of the summarization system have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. One skilled in the art will appreciate that classification refers to the process of identifying the class or category associated with a display page. The classes may be predefined. The attributes of a display page to be classified may be compared to attributes derived from other display pages that have been classified (e.g., a training set). Based on the comparison, the display page is classified into the class whose display page attributes are similar to those of the display page being classified. Clustering, in contrast, refers to the process of identifying from a set of display pages groups of display pages that are similar to each other. Accordingly, the invention is not limited except by the appended claims.
Number | Date | Country | |
---|---|---|---|
Parent | 10836319 | Apr 2004 | US |
Child | 12145222 | US |