The disclosed embodiments generally relate to fact databases or repositories. Specifically, the disclosed embodiments relate to methods of learning entity type models from objects in fact repositories and using these models to assign entity types to objects of unknown entity type in the fact repository.
Computational techniques such as information extraction are used to automatically identify and extract information in the form of facts. Information extraction can be performed on a variety of sources such as web pages to extract fact data. A set of facts collected from a source describing the same entity may be organized and can be stored as an object in a repository of facts.
Facts contain an attribute that describes an entity. The entity type of the entity is the type of real world thing the object represents (e.g. Person, Dog, Book, Movie). Entity type can be defined in a fact associated with the object. This entity type information is necessary to understand relationships between sets of facts associated with different objects. For example, an object with entity name “Hillary Clinton” is associated with a fact, “spouse Bill Clinton” and it is known that the attribute “spouse” always has a value with entity type “Person”. Knowing that an object with entity name “Bill Clinton” has an entity type of “Person” enables the identification of a relationship between the two objects.
These relationships can be used to organize the sets of facts. Similarly, in cases where it is unclear whether or not a fact is valid, entity type is used in association with the attribute defined by the fact to assign a confidence to the fact. For example, an object with entity name “Bill Clinton” has an attribute “genre” with an associated value “political”. If we know “genre” is only is used to describe a closed set of entity types such as “Book” and “Movie”, knowing that “Bill Clinton” is of entity type “Book” can provide a better confidence in that fact.
Often the entity type of the entity represented by the object is unknown or confounded for a number of reasons. For instance, entity type information may not be available in the source data. Due to inherent error in information extraction, entity type information may not be extracted. The entity type of an object may also be confounded by several objects having the same name. For example, an object with entity name “Bill Clinton” could be either an object with entity type “Person” or an object with entity type “Book”.
What is needed then is a computational method of assigning entity types to objects.
The above and other needs are met by methods, systems, and computer program products that assign entity types to objects with unknown entity type. Embodiments of the method comprise identifying a plurality of objects derived from electronic documents, each object including one or more facts describing an entity with which the object is associated, wherein each fact comprises an attribute. The method generates a set of features describing the facts included with the object for each of the plurality of objects. The method further identifies a subset of the plurality of objects of a known entity type. The method further generates an entity type model based on the sets of features generated for the objects in the identified subset. The method also generates a value based on an object of unknown entity type and the entity type model, wherein the value indicates whether the object of unknown entity type is of the known entity type. The method assigns the known entity type to the object of unknown entity type responsive to a determination that the value indicates the object of unknown entity type is of the known entity type and stores the object to which the known entity type was assigned.
Embodiments of the system and computer program product comprise a repository which stores a plurality of objects derived from electronic documents, each object including one or more facts describing an entity with which the object is associated, wherein each fact comprises an attribute. The system and computer program product also comprise a feature generation module adapted to generate, for each of the plurality of objects, a set of features describing the facts included with the object. An entity type model module adapted to generate an entity type model based on the sets of features generated for a subset of objects of a known entity type. The system and computer product further comprise an entity type model module adapted to generate an entity type model based on the sets of features generated for a subset of objects of a known entity type. The system and computer product further comprise an entity type assignment module adapted to generate a value based on an object of unknown entity type and the entity type model, wherein the value indicates whether the object of unknown entity type is of the known entity type. Finally, an object update module stores the object to which the known entity type was assigned.
a)-2(d) are block diagrams illustrating a data structure for facts within a repository of
e) is a block diagram illustrating an alternate data structure for facts and objects in accordance with some embodiments.
a)-5(d) are flow charts illustrating several methods of performing entity type assignment.
The figures depict various embodiments of the present invention for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles of the invention described herein.
Embodiments are now described with reference to the figures where like reference numbers indicate identical or functionally similar elements.
Document hosts 102 store documents and provide access to documents. A document is comprised of any machine-readable data including any combination of text, graphics, multimedia content, etc. A document may be encoded in a markup language, such as Hypertext Markup Language (HTML), i.e., a web page, in a interpreted language (e.g., JavaScript) or in any other computer readable or executable format. A document can include one or more hyperlinks to other documents. A typical document will include one or more facts within its content. A document stored in a document host 102 may be located and/or identified by a Uniform Resource Locator (URL), or Web address, or any other appropriate form of identification and/or location. A document host 102 is implemented by a computer system, and typically includes a server adapted to communicate over the network 104 via networking protocols (e.g., TCP/IP), as well as application and presentation protocols (e.g., HTTP, HTML, SOAP, D-HTML, JAVA®). The documents stored by a host 102 are typically held in a file directory, a database, or other data repository. A host 102 can be implemented in any computing device (e.g., from a PDA or personal computer, a workstation, mini-computer, or mainframe, to a cluster or grid of computers), as well as in any processor architecture or operating system.
Janitors 110 operate to process facts extracted by the importer 108. This processing can include but is not limited to, data cleansing, object merging, and fact induction. In one embodiment, there are a number of different janitors 110 that perform different types of data management operations on the facts. For example, one janitor 110 may traverse some set of facts in the repository 115 to find duplicate facts (that is, facts that convey the same factual information) and merge them. Another janitor 110 may also normalize facts into standard formats. Another janitor 110 may also remove unwanted facts from the repository 115, such as facts related to pornographic content. Other types of janitors 110 may be implemented, depending on the types of data management functions desired, such as translation, compression, spelling or grammar correction, and the like.
Various janitors 110 act on facts to normalize attribute names, and values and delete duplicate and near-duplicate facts so an object does not have redundant information. For example, we might find on one page that Britney Spears' birthday is “12/2/1981” while on another page that her date of birth is “December 2, 1981.” Birthday and Date of Birth might both be rewritten as Birthdate by one janitor and then another janitor might notice that 12/2/1981 and December 2, 1981 are different forms of the same date. It would choose the preferred form, remove the other fact and combine the source lists for the two facts. As a result, one source page for this fact will contain an exact match of the fact while another source page will contain text that is considered synonymous with the fact.
The build engine 112 builds and manages the repository 115. The service engine 114 is an interface for querying the repository 115. The service engine 114's main function is to process queries, score matching objects, and return them to the caller but it is also used by the janitor 110.
The repository 115 stores factual information extracted from a plurality of documents that are located on document hosts 102. A document from which a particular fact may be extracted is a source document (or “source”) of that particular fact. In other words, a source of a fact includes that fact (or a synonymous fact) within its contents.
The repository 115 contains one or more facts. In one embodiment, each fact is associated with exactly one object. One implementation for this association includes in each fact an object ID that uniquely identifies the object of the association. In this manner, any number of facts may be associated with an individual object, by including the object ID for that object in the facts. In one embodiment, objects themselves are not physically stored in the repository 115, but rather are defined by the set or group of facts with the same associated object ID, as described below. Further details about facts in the repository 115 are described below, in relation to
Some embodiments operate on the facts and/or objects in different orders than described above. For example, in one embodiment the importer 108 provides facts directly to the build engine 112 and/or repository 115. The janitors 110, in turn, operate on the facts and/or objects in the repository 115. It should also be appreciated that in practice at least some of the components of the data processing system 106 will be distributed over multiple computers, communicating over a network. For example, the repository 115 may be deployed over multiple servers. As another example, the janitors 110 may be located on any number of different computers. For convenience of explanation, however, the components of the data processing system 106 are discussed as though they were implemented on a single computer.
In another embodiment, some or all of document hosts 102 are located on the data processing system 106 instead of being coupled to the data processing system 106 by a network. For example, importer the 108 may import facts from a database that is a part of or associated with the data processing system 106.
a) shows an example format of a data structure for facts within the repository 115, according to some embodiments. As described above, the repository 115 includes facts 204. Each fact 204 includes a unique identifier for that fact, such as a fact ID 210. Each fact 204 includes at least an attribute 212 and a value 214. For example, a fact associated with an object representing George Washington may include an attribute of “date of birth” and a value of “February 22, 1732.” In one embodiment, all facts are stored as alphanumeric characters since they are extracted from web pages. In another embodiment, facts also can store binary data values. Other embodiments, however, may store fact values as mixed types, or in encoded formats.
As described above, each fact is associated with an object ID 209 that identifies the object that the fact describes. Thus, each fact that is associated with a same entity (such as George Washington), will have the same object ID 209. In one embodiment, objects are not stored as separate data entities in memory. In this embodiment, the facts associated with an object contain the same object ID, but no physical object exists. In another embodiment, objects are stored as data entities in memory, and include references (for example, pointers or IDs) to the facts associated with the object. The logical data structure of a fact can take various forms; in general, a fact is represented by a tuple that includes a fact ID, an attribute, a value, and an object ID. The storage implementation of a fact can be in any underlying physical data structure.
b) shows an example of facts having respective fact IDs of 10, 20, and 30 in the repository 115. Facts 10 and 20 are associated with an object identified by object ID “1.” Fact 10 has an attribute of “Name” and a value of “China.” Fact 20 has an attribute of “Category” and a value of “Country.” Thus, the object identified by object ID “1” has a name fact 205 with a value of “China” and a category fact 206 with a value of “Country.” Fact 30208 has an attribute of “Property” and a value of ““Bill Clinton was the 42nd President of the United States from 1993 to 2001.” Thus, the object identified by object ID “2” has a property fact with a fact ID of 30 and a value of “Bill Clinton was the 42nd President of the United States from 1993 to 2001.” In the illustrated embodiment, each fact has one attribute and one value. The number of facts associated with an object is not limited; thus while only two facts are shown for the “China” object, in practice there may be dozens, even hundreds of facts associated with a given object. Also, the value fields of a fact need not be limited in size or content. For example, a fact about the economy of “China” with an attribute of “Economy” would have a value including several paragraphs of text, numbers, and perhaps even tables of figures. This content can be formatted, for example, in a markup language. For example, a fact having an attribute “original html” might have a value of the original html text taken from the source web page.
Also, while the illustration of
c) shows an example object reference table 210 that is used in some embodiments. Not all embodiments include an object reference table. The object reference table 210 functions to efficiently maintain the associations between object IDs and fact IDs. In the absence of an object reference table 210, it is also possible to find all facts for a given object ID by querying the repository 115 to find all facts with a particular object ID. While
d) shows an example of a data structure for facts within the repository 115, according to some embodiments, showing an extended format of facts. In this example, the fields include an object reference link 216 to another object. The object reference link 216 can be an object ID of another object in the repository 115, or a reference to the location (e.g., table row) for the object in the object reference table 210. The object reference link 216 allows facts to have as values other objects. For example, for an object “United States,” there may be a fact with the attribute of “president” and the value of “George W. Bush,” with “George W. Bush” being an object having its own facts in the repository 115. In some embodiments, the value field 214 stores the name of the linked object and the link 216 stores the object identifier of the linked object. Thus, this “president” fact would include the value 214 of “George W. Bush”, and an object reference link 216 that contains the object ID for the “George W. Bush” object. In some other embodiments, facts 204 do not include a link field 216 because the value 214 of a fact 204 may store a link to another object.
Each fact 204 also may include one or more metrics 218. A metric provides an indication of the quality of the fact. In some embodiments, the metrics include a confidence level and an importance level. The confidence level indicates the likelihood that the fact is correct. The importance level indicates the relevance of the fact to the object, compared to other facts for the same object. The importance level may optionally be viewed as a measure of how vital a fact is to an understanding of the entity or concept represented by the object.
Each fact 204 includes a list of one or more sources 220 that include the fact and from which the fact was extracted. Each source may be identified by a Uniform Resource Locator (URL), or Web address, or any other appropriate form of identification and/or location, such as a unique document identifier.
The facts illustrated in
Some embodiments include one or more specialized facts, such as a name fact 207 and a property fact 208. A name fact 207 is a fact that conveys a name for the entity or concept represented by the object ID. A name fact 207 includes an attribute 224 of “name” and a value, which is the name of the object. For example, for an object representing the country Spain, a name fact would have the value “Spain.” A name fact 207, being a special instance of a general fact 204, includes the same fields as any other fact 204; it has an attribute, a value, a fact ID, metrics, sources, etc. The attribute 224 of a name fact 207 indicates that the fact is a name fact, and the value is the actual name. The name may be a string of characters. An object ID may have one or more associated name facts, as many entities or concepts can have more than one name. For example, an object ID representing Spain may have associated name facts conveying the country's common name “Spain” and the official name “Kingdom of Spain.” As another example, an object ID representing the U.S. Patent and Trademark Office may have associated name facts conveying the agency's acronyms “PTO” and “USPTO” as well as the official name “United States Patent and Trademark Office.” If an object does have more than one associated name fact, one of the name facts may be designated as a primary name and other name facts may be designated as secondary names, either implicitly or explicitly.
A property fact 208 is a fact that conveys a statement about the entity or concept represented by the object ID. Property facts are generally used for summary information about an object. A property fact 208, being a special instance of a general fact 204, also includes the same fields (such as attribute, value, fact ID, etc.) as other facts 204. The attribute field 226 of a property fact 208 indicates that the fact is a property fact (e.g., attribute is “property”) and the value is a string of text that conveys the statement of interest. For example, for the object ID representing Bill Clinton, the value of a property fact may be the text string “Bill Clinton was the 42nd President of the United States from 1993 to 2001.” Some object IDs may have one or more associated property facts while other objects may have no associated property facts. It should be appreciated that the data structures shown in
As described previously, a collection of facts is associated with an object ID of an object. An object may become a null or empty object when facts are disassociated from the object. A null object can arise in a number of different ways. One type of null object is an object that has had all of its facts (including name facts) removed, leaving no facts associated with its object ID. Another type of null object is an object that has all of its associated facts other than name facts removed, leaving only its name fact(s). Alternatively, the object may be a null object only if all of its associated name facts are removed. A null object represents an entity or concept for which the data processing system 106 has no factual information and, as far as the data processing system 106 is concerned, does not exist. In some embodiments, facts of a null object may be left in the repository 115, but have their object ID values cleared (or have their importance set to a negative value). However, the facts of the null object are treated as if they were removed from the repository 115. In some other embodiments, facts of null objects are physically removed from the repository 115.
e) is a block diagram illustrating an alternate data structure 290 for facts and objects in accordance with embodiments of the invention. In this data structure, an object 290 contains an object ID 292 and references or points to facts 294. Each fact includes a fact ID 295, an attribute 297, and a value 299. In this embodiment, an object 290 actually exists in memory 107.
As described above, an object may explicitly exist in the repository 115, or it may exist merely as a collection of facts with a common object ID. Reference is made to particular objects for the purposes of illustration; one of skill in the art will recognized that the systems and methods described herein are applicable to a variety of implementations and that such references are not limiting. When reference is made to a fact being associated with an object, it should be understood that in at least one embodiment a fact is associated with an object by sharing a common object ID with other facts. For example, a fact could be associated with an object of a given type by sharing a common object ID at least with a type fact indicating the given type (or as another example, with a category fact indicating a particular category of object). Furthermore, in various embodiments, facts and objects can be stored in a variety of structures, such as fact and/or object repositories. When reference is made herein to the repository 115, it should be understood that various embodiments may store facts and/or objects in a variety of data structures.
According to the embodiment, an entity may have a single entity type or multiple entity types. Some pairs or sets of entity types may be specified as conflicting. For instance, an object cannot be both a “Book” and a “Person”. In some embodiments, non-conflicting entity types may be associated with an object. For instance, an object can have entity types for both a “Person” and a “Politician”.
The entity type assignment engine 300 identifies objects in the repository 115 with unknown entity type and assigns entity types to these objects. Once assigned an entity type, objects are either stored in the repository 115 in place of, or in addition to the original objects with unknown entity type. Depending on the embodiment, additional information may be added to the repository 115 such as a new or updated metric 218 representing improved quality of the facts 204. New or updated metrics 218 can include the confidence level and the importance level of the facts 104.
An embodiment of the entity type assignment engine 300 is implemented as a janitor 110. However, the entity type assignment engine 300 can also be implemented by other entities shown in
An entity type model module 301 identifies the objects in the repository 115 with known entity types and generates entity type models representing each entity type. According to the embodiment, the entity type model module 301 may generate entity type models once or continuously regenerate entity type models to incorporate new objects with known or assigned entity type. Entity type models can be rebuilt continuously or at set time intervals such as every hour, day or week. Additionally, entity type models may be rebuilt based on the addition of new objects with known or assigned entity type to the repository.
Depending on the particular embodiment, different kinds of entity type models may be built by the entity type model module 301. In one embodiment, a binary classifier is built for each entity type (e.g. “Dog”, “Book”, “Country”) providing an entity type model of each entity type relative to all other entity types. For example, a binary classifier for entity type “Dog” would classify objects as either “Dogs” or “Non-Dogs”. Binary classifiers can be created with any type of binary classification algorithm such as support vector machines, neural networks, maximum entropy, boosting, bagging, and online gradient descent learning. Other binary classification algorithms will be apparent to those skilled in the art.
In some embodiments, a multi-class classifier is created by the entity type model module 301 created in place of, or in conjunction with, binary classifiers. As opposed to a binary classifier, a multi-class classifier creates a classification model or models for all entity types. Using the above example, a multi-class classifier creates models for and classifies an object as one of “Dog”, “Book” and “Country”. Though any multi-class classification algorithm may be employed in this method, some embodiments may include multi-class classification algorithms such as multi-class support vector machines, or maximum entropy.
In some embodiments, the entity type model module 301 uses generative techniques to create entity type models. Generative techniques can incorporate unsupervised or semi-supervised approaches to learn models of data. Unsupervised approaches such as clustering, expectation maximization or self-organizing maps automatically group data based on pattern recognition. Semi-supervised approaches such as n-means clustering, or transductive support vector machines contain some portion of data which is labeled according to entity type which directs pattern recognition. Other techniques for generative learning will be apparent to those skilled in the art.
The groups of data created using generative techniques are combined by the entity type model module 301 to form entity type models. One method of combining data from generative models is to generate a prototype for each group or cluster which can be used as an entity type model. A prototype may be created by combining group data in any suitable way such as averaging data, weighting data, probabilistic methods or any combination thereof.
The entity type assignment module 302 identifies objects of unknown entity type in the repository and assigns entity types to the objects of unknown entity type. The entity type assignment module 302 uses the classifiers and generative models computed by the entity type model module 301 to generate values used to assign entity type. According to the entity type model used, the values can represent a similarity to an entity type, the probability of an object having an entity type or a confidence value that the object has an entity type.
According to the embodiment, the object of unknown entity type is assigned an entity type by the entity type assignment module 302 based on a single value generated based on a single entity type model such as a binary classifier. If the generated single value is greater or less than a specified cutoff value, the object of unknown entity type is assigned the entity type of the model.
In some embodiments, the entity type assignment module 302 compares the object of unknown entity type to multiple classification models representing multiple entity types and assigns entity type based on multiple values. In embodiments where multiple values are generated, the entity type with the highest or lowest value can be selected for assigning an entity to the object of unknown entity type. Again, a threshold or cutoff value can be applied to the highest or lowest value to increase the stringency.
Using cutoff values, the entity type assignment module 302 will not assign objects of unknown entity an entity type due to weak probability or similarity values. Similarly, objects with same or close values for conflicting entity types will be identified as having conflicting values and will not be assigned an entity type.
The object update module 304 uses information from the entity type assignment module 302 to update the objects in the repository 115 with assigned entity types. In embodiments where entity type is represented by a fact, a new fact specifying entity type is added to the object. The object update module 304 may perform additional actions to clean up the repository. According to the embodiment, the object update module 304 may perform these actions as part of the entity type assignment engine 300 or in communication with another janitor 110.
In addition to updating entity types, the object update module 304 can update other object information such as the metrics 218 associated with the facts 204. The metrics 218 contain values representative of the confidence and importance of the fact. Newly assigned entity types can be used to reweigh other facts associated with the entities based on strong correlations between entity types and attributes 212 or values 214. In embodiments where entity type is represented as a fact 204, the confidence of the entity type fact can be increased due to entity type assignment.
In some embodiments, the object update module 304 identifies relationships between objects based on assigned entity type. Relationships can be represented as facts where the value 214 is another entity represented by another object, for instance, (spouse Hillary Clinton Bill Clinton). If we know that the value 214 described by the attribute 212 ‘spouse’ is supposed to be a Person, then an object for Bill Clinton with entity type Person can be associated with the value.
The feature vector module 303 processes object data into feature vectors for use by the entity type assignment 302 and entity type model 301 modules. The feature vector module 303 creates several data points or features from the fact data associated with an object in the repository 115. Features can be represented in any way, such as text strings or alphanumeric symbols.
Features can incorporate any data contained in or associated with the fact or objects. Name facts 207 and property facts 209 are special types of facts which also may be incorporated into features. In most embodiments, feature vectors will contain features derived from data contained in the attribute 212 fields of the facts. Attributes 212 are represented within a field or slot in a feature vector.
Features can also incorporate value 214 data in conjunction with attribute 212 data. Attribute 212 and value 214 data can be combined or concatenated into one representative feature. Numerical value 214 data may be binned or discretized in feature generation. Additionally, values may be incorporated which represent a closed set of categorical values such as genre or color.
Additional annotation information can be associated with the attribute 212. Attribute annotations may include various data associated with the attribute such as the entity type of the value they describe. For instance, the attribute “dateOfBirth” can have an annotation of “Date” representing the type of the value it describes. Attribute and annotation information can be combined in a single feature.
In additional to information contained within facts, features can also represent any information associated with the fact. An example of this is the source 220 of the fact such as the Uniform Resource Locator or the website from which the fact was collected or extracted.
The feature vector can also contain a weight representing the significance of a feature. Features may be weighted according to the metrics 218 associated with facts from with they were derived. Similarly, features may be weighted by the source 220 or importer 108 used to generate the fact. Features may also be weighted according to the type of fact from which they were derived. Different types of facts may be assigned different weights. For instance, special types of facts such as entity type facts or name facts 207 may be given a higher weight.
In this embodiment, features 405 contain symbols ‘a’, ‘av’, and ‘s’ respectively used to denote that the feature contains an attribute 212, an attribute value 214, and the sources 220 of the facts 403 contained in the objects. The symbols are separated from the attribute with colons. In features containing values in addition to attributes, the values are further separated from the attributes by colons.
The embodiment illustrated provides an example of value discretization or “binning”. The translation of the values 214 for attribute 212 ‘height’ from facts into features transforms the fact values into an order to magnitude in meters. For instance, as George Bush is over 1 meter, the feature describing his height in magnitude of meters has a value of 0. Likewise, as the book Grapes of Wrath is less than 1 meter, the feature describing the height of the book in magnitude of meters has a value of −1.
a)-5(d) are flow charts illustrating steps performed by the entity type assignment engine 300 to assign entity types to objects in the repository 115 according to various embodiments of the present invention. Other embodiments perform different and/or additional steps than the ones shown in the figures described below. In addition, other embodiments perform the steps in different orders.
a) is a flow chart illustrating the high level steps of assigning entity types according to an embodiment. Initially, the entity type model module 301 and the entity type assignment module 302 respectively identify 510 the objects in the repository with known and unknown entity types.
The feature vector module 303 generates 512 feature vectors for all the objects in the repository 115. The feature vector module identifies 512 facts associated with the objects and generates 512 features based on these facts. As discussed above, the feature vector module 303 generates 512 features that contain the attribute and value of the facts. The feature vector module 303 also generates 512 features that contain information associated with the facts such as annotations or the source of the facts.
The entity type model module 301 generates 514 entity type models based on the entity type of the model. Embodiments that use binary classifiers, multi-class classifiers and generative techniques to generate 514 entity type models are illustrated in
The entity type assignment module 302 applies 516 the set of entity type models generated by the entity type model module 301 to the objects of unknown entity type in order to generate 516 values which indicate the probability that the object of unknown entity type is of an entity type. The entity type assignment module 302 selects the highest value of the generated values for entity type assignment 516. The entity type assignment module also compares 516 the values with known conflicting entity types. If the object of unknown entity has similar values for two conflicting types, the object will not be assigned 516 a value. Otherwise, if the highest value generated is above a certain threshold, the object will be assigned 516 the entity type of the model used to generate that value.
The object update module 304 stores 518 the objects with assigned entity type in the repository 115. The object update module creates 518 a new fact specifying entity type which is associated with the objects of unknown entity to which entity type was assigned in step 512.
The process of assigning entity types may be iterated 519 to include the objects with assigned entity type in the entity type models.
In the embodiment illustrated in
The entity type assignment module 302 applies 526 the function learned by the gradient descent algorithm for each entity type to each of the objects of unknown entity type. The entity type assignment module calculates a set of probability values for each object indicative of the probability the object is of each entity type (e.g. Dog 10%, Person 50%, Book 85%, Movie 92%).
c) is a flow chart illustrating an embodiment using multi-class classifiers. Using the objects of known entity type, a multi-class classifier is built 534 by the entity type model module 301. In a specific embodiment, the multi-class classifier is built using a maximum entropy algorithm. Using the set of features associated with objects of different entity type, the maximum entropy algorithm learns an entity type model represented by a set of “constraints” or expected values for the features associated with each entity type that characterize the distribution of features for the entity type.
These learned models are then applied 536 by the entity type assignment module 302 as a multi-class classifier to estimate the conditional distribution of an object with unknown entity type. From the conditional distribution, a value indicative of the probability the object of unknown entity type has the entity type of the learned model is generated.
d) is a flow chart illustrating the use of generative models such as mixture models to create entity type models according to one embodiment. Objects with known entity type are used learn groups or clusters of data representing entity types. The entity type model module 301 identifies all objects with known entity type and clusters them using, for example, simple bucketing. These techniques create a fixed number of clusters representing the number of different entity types. The resultant clusters are given a semantic label representing the entity type of the cluster 542.
Clusters with semantic labels are used to generate 544 entity type cluster prototypes. The entity type cluster prototypes are represented as vectors of probabilities, each probability associated with a feature. Each probability is determined by looking up the number of objects that have the feature and determining the fraction of occurrences of the feature over the different entity types associated with the objects. For example, the attribute ‘mother’ is identified as occurring 30 times in objects with entity type “Person”, 14 times in objects with entity type “Dog” and 1 time in an object with entity type “Country”. These numbers are then normalized to sum up to one. Using the above example would provide the following values: 0.66 for Person, 0.31 for Dog and 0.03 for Country. These normalized numbers are then associated with the features in the entity type cluster prototypes to represent the probability of the feature given the entity type of the entity type cluster prototype.
The entity type cluster prototypes are used by the entity type assignment module 302 to calculate 546 similarity values for objects of unknown entity type. The feature vectors created for the objects of unknown entity type are compared to the entity type cluster prototypes to calculate a similarity metric for each cluster prototype. The value of each feature associated with an object of unknown entity is identified as a probability in the cluster prototype. The identified probability values are then summed or combined to create a similarity value or “distance” between the object of unknown entity type and the entity type cluster prototypes. The similarity values are used to assign entity type to objects of unknown entity type based on the nearest cluster prototype as defined by the similarity values or “distances”.
Semi-supervised learning approaches use both labeled and unlabelled data to learn statistical models for classification. According to the embodiment, the objects of unknown entity type may be used to refine 545 the cluster prototypes using semi-supervised learning such as expectation maximization. Expectation maximization is a two step learning algorithm, which is repeated until convergence.
In the expectation step, the feature vectors for each object are compared to the cluster prototypes using a set distance metric. The distances between the object of unknown entity type (e.g. object X) and the cluster prototypes are then normalized 545 to 1 representing the posterior probabilities that object X has each entity type. Object X is now fractionally assigned to several different clusters. Consequently, the features contained within object X now fractionally occur in the different entity type cluster prototypes.
In the maximization step, the entity type cluster prototypes are re-generated as in step 544 incorporating the posterior probabilities. The fractional assignment of objects to entity type clusters is used to weight the features in the entity type cluster prototype generation.
The expectation and maximization steps are iterated 545 until the cluster prototypes are stable, that is the probabilities associated with the features do not change over iterations between the two steps and the posterior probabilities associated with the objects of unknown entity type do not change. The refined entity type cluster prototypes are used by the entity type assignment module 302 to calculate 546 similarity values for objects of unknown entity type.
Through the construction of entity type models based on generated feature vectors, entity types are assigned to objects with unknown entity type. Various embodiments of generating entity type models, generating feature vectors and assigning entity types are disclosed herein. The process of assigning entity type to objects with unknown entity type may be performed iteratively.
Reference in the specification to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiments are included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
Some portions of the above are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps (instructions) leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic or optical signals capable of being stored, transferred, combined, compared and otherwise manipulated. It is convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Furthermore, it is also convenient at times, to refer to certain arrangements of steps requiring physical manipulations of physical quantities as modules or code devices, without loss of generality.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or “determining” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Certain aspects of the present invention include process steps and instructions described herein in the form of an algorithm. It should be noted that the process steps and instructions of the present invention can be embodied in software, firmware or hardware, and when embodied in software, can be downloaded to reside on and be operated from different platforms used by a variety of operating systems.
The present invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. Furthermore, the computers referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any references below to specific languages are provided for disclosure of enablement and best mode of the present invention.
While the invention has been particularly shown and described with reference to a preferred embodiment and several alternate embodiments, it will be understood by persons skilled in the relevant art that various changes in form and details can be made therein without departing from the spirit and scope of the invention.
Finally, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5010478 | Deran | Apr 1991 | A |
5133075 | Risch | Jul 1992 | A |
5347653 | Flynn et al. | Sep 1994 | A |
5440730 | Elmasri et al. | Aug 1995 | A |
5475819 | Miller et al. | Dec 1995 | A |
5519608 | Kupiec | May 1996 | A |
5560005 | Hoover et al. | Sep 1996 | A |
5574898 | Leblang | Nov 1996 | A |
5680622 | Even | Oct 1997 | A |
5694590 | Thuraisingham et al. | Dec 1997 | A |
5701470 | Joy et al. | Dec 1997 | A |
5717911 | Madrid et al. | Feb 1998 | A |
5717951 | Yabumoto | Feb 1998 | A |
5778373 | Levy et al. | Jul 1998 | A |
5778378 | Rubin | Jul 1998 | A |
5787413 | Kauffman et al. | Jul 1998 | A |
5793966 | Amstein et al. | Aug 1998 | A |
5802299 | Logan et al. | Sep 1998 | A |
5815415 | Bentley et al. | Sep 1998 | A |
5819210 | Maxwell, III et al. | Oct 1998 | A |
5819265 | Ravin et al. | Oct 1998 | A |
5822743 | Gupta et al. | Oct 1998 | A |
5826258 | Gupta et al. | Oct 1998 | A |
5909689 | Van Ryzin | Jun 1999 | A |
5920859 | Li | Jul 1999 | A |
5943670 | Prager | Aug 1999 | A |
5956718 | Prasad et al. | Sep 1999 | A |
5974254 | Hsu | Oct 1999 | A |
5987460 | Niwa et al. | Nov 1999 | A |
6006221 | Liddy et al. | Dec 1999 | A |
6018741 | Howland et al. | Jan 2000 | A |
6038560 | Wical | Mar 2000 | A |
6044366 | Graffe et al. | Mar 2000 | A |
6052693 | Smith et al. | Apr 2000 | A |
6064952 | Imanaka et al. | May 2000 | A |
6073130 | Jacobson et al. | Jun 2000 | A |
6078918 | Allen et al. | Jun 2000 | A |
6112203 | Bharat et al. | Aug 2000 | A |
6112210 | Nori et al. | Aug 2000 | A |
6122647 | Horowitz et al. | Sep 2000 | A |
6134555 | Chadha et al. | Oct 2000 | A |
6138270 | Hsu | Oct 2000 | A |
6202065 | Wills | Mar 2001 | B1 |
6212526 | Chaudhuri et al. | Apr 2001 | B1 |
6240546 | Lee et al. | May 2001 | B1 |
6263328 | Coden et al. | Jul 2001 | B1 |
6285999 | Page | Sep 2001 | B1 |
6289338 | Stoffel et al. | Sep 2001 | B1 |
6311194 | Sheth et al. | Oct 2001 | B1 |
6327574 | Kramer et al. | Dec 2001 | B1 |
6349275 | Schumacher et al. | Feb 2002 | B1 |
6377943 | Jakobsson | Apr 2002 | B1 |
6397228 | Lamburt et al. | May 2002 | B1 |
6473898 | Waugh et al. | Oct 2002 | B1 |
6487495 | Gale et al. | Nov 2002 | B1 |
6502102 | Haswell et al. | Dec 2002 | B1 |
6519631 | Rosenschein et al. | Feb 2003 | B1 |
6556991 | Borkovsky | Apr 2003 | B1 |
6567846 | Garg et al. | May 2003 | B1 |
6567936 | Yang et al. | May 2003 | B1 |
6572661 | Stern | Jun 2003 | B1 |
6584464 | Warthen | Jun 2003 | B1 |
6606625 | Muslea et al. | Aug 2003 | B1 |
6606659 | Hegli et al. | Aug 2003 | B1 |
6609123 | Cazemier et al. | Aug 2003 | B1 |
6643641 | Snyder | Nov 2003 | B1 |
6665659 | Logan | Dec 2003 | B1 |
6665666 | Brown et al. | Dec 2003 | B1 |
6665837 | Dean et al. | Dec 2003 | B1 |
6693651 | Biebesheimer et al. | Feb 2004 | B2 |
6704726 | Amouroux | Mar 2004 | B1 |
6738767 | Chung et al. | May 2004 | B1 |
6745189 | Schreiber | Jun 2004 | B2 |
6754873 | Law et al. | Jun 2004 | B1 |
6799176 | Page | Sep 2004 | B1 |
6804667 | Martin | Oct 2004 | B1 |
6820081 | Kawai et al. | Nov 2004 | B1 |
6823495 | Vedula et al. | Nov 2004 | B1 |
6832218 | Emens et al. | Dec 2004 | B1 |
6845354 | Kuo et al. | Jan 2005 | B1 |
6850896 | Kelman et al. | Feb 2005 | B1 |
6873982 | Bates et al. | Mar 2005 | B1 |
6886005 | Davis | Apr 2005 | B2 |
6886010 | Kostoff | Apr 2005 | B2 |
6901403 | Bata et al. | May 2005 | B1 |
6904429 | Sako et al. | Jun 2005 | B2 |
6957213 | Yuret | Oct 2005 | B1 |
6963880 | Pingte et al. | Nov 2005 | B1 |
6965900 | Srinivasa et al. | Nov 2005 | B2 |
7003506 | Fisk et al. | Feb 2006 | B1 |
7003522 | Reynar et al. | Feb 2006 | B1 |
7003719 | Rosenoff et al. | Feb 2006 | B1 |
7007228 | Carro | Feb 2006 | B1 |
7013308 | Tunstall-Pedoe | Mar 2006 | B1 |
7020662 | Boreham et al. | Mar 2006 | B2 |
7043521 | Eitel | May 2006 | B2 |
7051023 | Kapur et al. | May 2006 | B2 |
7076491 | Tsao | Jul 2006 | B2 |
7080073 | Jiang et al. | Jul 2006 | B1 |
7080085 | Choy et al. | Jul 2006 | B1 |
7143099 | Leheler-Moore et al. | Nov 2006 | B2 |
7146536 | Bingham et al. | Dec 2006 | B2 |
7158980 | Shen | Jan 2007 | B2 |
7162499 | Lees et al. | Jan 2007 | B2 |
7165024 | Glover et al. | Jan 2007 | B2 |
7174504 | Tsao | Feb 2007 | B2 |
7181471 | Ibuki et al. | Feb 2007 | B1 |
7194380 | Barrow et al. | Mar 2007 | B2 |
7197449 | Hu et al. | Mar 2007 | B2 |
7216073 | Lavi et al. | May 2007 | B2 |
7277879 | Varadarajan | Oct 2007 | B2 |
7302646 | Nomiyama et al. | Nov 2007 | B2 |
7305380 | Hoelzle et al. | Dec 2007 | B1 |
7325160 | Tsao | Jan 2008 | B2 |
7363312 | Goldsack | Apr 2008 | B2 |
7376895 | Tsao | May 2008 | B2 |
7409381 | Steel et al. | Aug 2008 | B1 |
7472182 | Young et al. | Dec 2008 | B1 |
7483829 | Murakami et al. | Jan 2009 | B2 |
7493308 | Bair, Jr. et al. | Feb 2009 | B1 |
7493317 | Geva | Feb 2009 | B2 |
7587387 | Hogue | Sep 2009 | B2 |
7672971 | Betz et al. | Mar 2010 | B2 |
7685201 | Zeng et al. | Mar 2010 | B2 |
7797282 | Kirshenbaum et al. | Sep 2010 | B1 |
20010021935 | Mills | Sep 2001 | A1 |
20020022956 | Ukrainczyk et al. | Feb 2002 | A1 |
20020038307 | Obradovic et al. | Mar 2002 | A1 |
20020042707 | Zhao et al. | Apr 2002 | A1 |
20020065845 | Naito et al. | May 2002 | A1 |
20020073115 | Davis | Jun 2002 | A1 |
20020083039 | Ferrari et al. | Jun 2002 | A1 |
20020087567 | Spiegler et al. | Jul 2002 | A1 |
20020107861 | Clendinning et al. | Aug 2002 | A1 |
20020147738 | Reader | Oct 2002 | A1 |
20020169770 | Kim et al. | Nov 2002 | A1 |
20020174099 | Raj et al. | Nov 2002 | A1 |
20020178448 | Te Kiefte et al. | Nov 2002 | A1 |
20020194172 | Schreiber | Dec 2002 | A1 |
20030018652 | Heckerman et al. | Jan 2003 | A1 |
20030058706 | Okamoto et al. | Mar 2003 | A1 |
20030069880 | Harrison et al. | Apr 2003 | A1 |
20030078902 | Leong et al. | Apr 2003 | A1 |
20030097357 | Ferrari et al. | May 2003 | A1 |
20030120644 | Shirota | Jun 2003 | A1 |
20030120675 | Stauber et al. | Jun 2003 | A1 |
20030126102 | Borthwick | Jul 2003 | A1 |
20030126152 | Rajak | Jul 2003 | A1 |
20030149567 | Schmitz et al. | Aug 2003 | A1 |
20030149699 | Tsao | Aug 2003 | A1 |
20030154071 | Shreve | Aug 2003 | A1 |
20030177110 | Okamoto et al. | Sep 2003 | A1 |
20030182310 | Charnock et al. | Sep 2003 | A1 |
20030195872 | Senn | Oct 2003 | A1 |
20030195877 | Ford et al. | Oct 2003 | A1 |
20030196052 | Bolik et al. | Oct 2003 | A1 |
20030208354 | Lin et al. | Nov 2003 | A1 |
20040003067 | Ferrin | Jan 2004 | A1 |
20040024739 | Copperman et al. | Feb 2004 | A1 |
20040059726 | Hunter et al. | Mar 2004 | A1 |
20040064447 | Simske et al. | Apr 2004 | A1 |
20040069880 | Samelson et al. | Apr 2004 | A1 |
20040088292 | Dettinger et al. | May 2004 | A1 |
20040107125 | Guheen et al. | Jun 2004 | A1 |
20040122844 | Malloy et al. | Jun 2004 | A1 |
20040122846 | Chess et al. | Jun 2004 | A1 |
20040123240 | Gerstl et al. | Jun 2004 | A1 |
20040128624 | Arellano et al. | Jul 2004 | A1 |
20040143600 | Musgrove et al. | Jul 2004 | A1 |
20040153456 | Charnock et al. | Aug 2004 | A1 |
20040167870 | Wakefield et al. | Aug 2004 | A1 |
20040177015 | Galai et al. | Sep 2004 | A1 |
20040177080 | Doise et al. | Sep 2004 | A1 |
20040199923 | Russek | Oct 2004 | A1 |
20040243552 | Titemore et al. | Dec 2004 | A1 |
20040255237 | Tong | Dec 2004 | A1 |
20040260979 | Kumai | Dec 2004 | A1 |
20040267700 | Dumais et al. | Dec 2004 | A1 |
20040268237 | Jones et al. | Dec 2004 | A1 |
20050076012 | Manber et al. | Apr 2005 | A1 |
20050080613 | Colledge et al. | Apr 2005 | A1 |
20050086211 | Mayer | Apr 2005 | A1 |
20050086222 | Wang et al. | Apr 2005 | A1 |
20050097150 | McKeon et al. | May 2005 | A1 |
20050108630 | Wasson et al. | May 2005 | A1 |
20050125311 | Chidiac et al. | Jun 2005 | A1 |
20050149576 | Marmaros et al. | Jul 2005 | A1 |
20050149851 | Mittal | Jul 2005 | A1 |
20050187923 | Cipollone | Aug 2005 | A1 |
20050240615 | Barsness et al. | Oct 2005 | A1 |
20050256825 | Dettinger et al. | Nov 2005 | A1 |
20060036504 | Allocca et al. | Feb 2006 | A1 |
20060041597 | Conrad et al. | Feb 2006 | A1 |
20060047838 | Chauhan | Mar 2006 | A1 |
20060053171 | Eldridge et al. | Mar 2006 | A1 |
20060053175 | Gardner et al. | Mar 2006 | A1 |
20060064411 | Gross et al. | Mar 2006 | A1 |
20060074824 | Li | Apr 2006 | A1 |
20060074910 | Yun et al. | Apr 2006 | A1 |
20060085465 | Nori et al. | Apr 2006 | A1 |
20060112110 | Maymir-Ducharme et al. | May 2006 | A1 |
20060123046 | Doise et al. | Jun 2006 | A1 |
20060136585 | Mayfield et al. | Jun 2006 | A1 |
20060143227 | Helm et al. | Jun 2006 | A1 |
20060143603 | Kalthoff et al. | Jun 2006 | A1 |
20060152755 | Curtis et al. | Jul 2006 | A1 |
20060224582 | Hogue | Oct 2006 | A1 |
20060238919 | Bradley | Oct 2006 | A1 |
20060242180 | Graf et al. | Oct 2006 | A1 |
20060248045 | Toledano et al. | Nov 2006 | A1 |
20060248456 | Bender et al. | Nov 2006 | A1 |
20060253418 | Charnock et al. | Nov 2006 | A1 |
20060259462 | Timmons | Nov 2006 | A1 |
20060277169 | Lunt et al. | Dec 2006 | A1 |
20060288268 | Srinivasan et al. | Dec 2006 | A1 |
20060293879 | Zhao et al. | Dec 2006 | A1 |
20070005593 | Self et al. | Jan 2007 | A1 |
20070005639 | Gaussier et al. | Jan 2007 | A1 |
20070016890 | Brunner et al. | Jan 2007 | A1 |
20070038610 | Omoigui | Feb 2007 | A1 |
20070055656 | Tunstall-Pedoe | Mar 2007 | A1 |
20070073768 | Goradia | Mar 2007 | A1 |
20070094246 | Dill et al. | Apr 2007 | A1 |
20070100814 | Lee et al. | May 2007 | A1 |
20070130123 | Majumder | Jun 2007 | A1 |
20070143282 | Betz et al. | Jun 2007 | A1 |
20070143317 | Hogue et al. | Jun 2007 | A1 |
20070150800 | Betz et al. | Jun 2007 | A1 |
20070198451 | Kehlenbeck et al. | Aug 2007 | A1 |
20070198480 | Hogue et al. | Aug 2007 | A1 |
20070198481 | Hogue et al. | Aug 2007 | A1 |
20070198503 | Hogue et al. | Aug 2007 | A1 |
20070198577 | Betz et al. | Aug 2007 | A1 |
20070198598 | Betz et al. | Aug 2007 | A1 |
20070198600 | Betz | Aug 2007 | A1 |
20070203867 | Hogue et al. | Aug 2007 | A1 |
20070208773 | Tsao | Sep 2007 | A1 |
20070271268 | Fontoura et al. | Nov 2007 | A1 |
20080071739 | Kumar et al. | Mar 2008 | A1 |
20090006359 | Liao | Jan 2009 | A1 |
20090119255 | Frank et al. | May 2009 | A1 |
Number | Date | Country |
---|---|---|
5-174020 | Dec 1991 | JP |
WO 0127713 | Apr 2001 | WO |
WO 2004114163 | Dec 2004 | WO |
WO 2006104951 | Oct 2006 | WO |