The present disclosure relates clustering similar data records together in a hierarchical clustering scheme. Each tier in a cluster corresponds to a minimal match score, which reflects a degree of confidence. In this respect, a higher confidence may lead to smaller sized clusters while a lower confidence may lead to larger sized clusters. ordinal classification may be used to generate hierarchical clusters. In some embodiments, hierarchical clustering with conflict resolution is used to resolve user-defined hard conflicts in each tier of the clustering results.
|
7. A method comprising:
classifying a subset of records using an ordinal classifier, the ordinal classifier trained using ordinal training data comprising a set of non-binary ordinal labels, wherein an output of the ordinal classifier comprises a first set of corresponding match scores;
merging at least two records within the subset of records to generate an initial cluster, the merging performed according to the first set of corresponding match scores;
performing a second classification using the ordinal classifier, the second classification performed using the initial cluster and a second subset of the records and generating a subsequent set of corresponding match scores, and
generating a hierarchical clustering for the subset of records, the hierarchical clustering comprising a plurality of tiers, each tier corresponding to a respective ordinal label among the set of ordinal labels, wherein each tier corresponds to a respective threshold match score.
13. One or more non-transitory computer-readable, non-volatile storage memory comprising stored instructions that are executable and, responsive to execution by a computing device, the computing device performs operations comprising:
classifying a subset of records using an ordinal classifier, the ordinal classifier trained using ordinal training data comprising a set of non-binary ordinal labels, wherein an output of the ordinal classifier comprises a set of match scores;
merging at least two records within the subset of records to generate an initial cluster, the merging performed according to the set of match scores;
performing at a second classification using the ordinal classifier, the second classification performed using the initial cluster and a second subset of the records and generating a subsequent set of corresponding match scores, and
generating a hierarchical clustering for the subset of records, the hierarchical clustering comprising a plurality of tiers, wherein each tier corresponds to a respective ordinal label among the set of ordinal labels.
1. A system comprising:
a database that stores at least one database table comprising a plurality of records; and
a memory coupled to a processor, the memory comprising a plurality of instructions that cause the processor to:
identify a subset of records in the plurality of records according to at least one blocking operation;
classify the subset of records using an ordinal classifier, the ordinal classifier trained using ordinal training data comprising a set of non-binary ordinal labels, wherein an output of the ordinal classifier comprises a set of match scores and one or more indications of a hard conflict;
determine to not merge a selected record in the subset of records with a cluster of records in the subset of records when a) a match score associated with the selected record indicates a sufficiently strong match and b) a hard conflict exists between the selected record and the cluster of records; and
generate a hierarchical clustering for the cluster of records, the hierarchical clustering comprising a plurality of tiers, wherein each tier corresponds to a respective threshold match score, wherein a first tier among the plurality of tiers encompasses a second tier among the plurality of tiers.
20. A method comprising:
performing a set of pair-wise comparisons on a subset of records stored in at least one database table, the pair-wise comparisons generating a pair of records and a corresponding score for each record in the subset of records;
generating feature signatures corresponding to each of the pair-wise comparisons;
inputting the feature signatures into an ordinal classifier to obtain a first set of match scores, the ordinal classifier configured by training data comprising a set of non-binary ordinal labels;
merging, based on the first set of match scores, at least two records in the subset of records to generate an initial cluster of records, the initial cluster associated with a cluster match score and remaining un-merged records in the subset of records forming a second subset of individual records;
inputting the initial cluster and the un-merged records into the ordinal classifier to obtain a second set of match scores; and
generating a hierarchical clustering for the subset of records based on the first set of match scores and second set of match scores, the hierarchical clustering comprising a plurality of tiers corresponding to respective ordinal labels in the set of ordinal labels, wherein the initial cluster is assigned to a corresponding tier based on the first set of match scores and the un-merged records are assigned to a corresponding tier based on the second set of match scores.
2. The system of
3. The system of
4. The system of
5. The system of
6. The system of
8. The method of
9. The method of
10. The method of
11. The method of
identifying the subset of records according to a blocking operation, wherein the blocking operation comprises a blocking rule based on whether the plurality of records of a field are an exact match with respect to at least one field in a database table associated with the plurality of records.
12. The method of
14. The one or more non-transitory computer-readable, non-volatile storage memory of
15. The one or more non-transitory computer-readable, non-volatile storage memory of
16. The one or more non-transitory computer-readable, non-volatile storage memory of
17. The one or more non-transitory computer-readable, non-volatile storage memory of
18. The one or more non-transitory computer-readable, non-volatile storage memory of
19. The one or more non-transitory computer-readable, non-volatile storage memory of
|
In the course of business, large amounts of data records are collected and stored in one or more databases. These data records may reflect customer information, business records, events, products, or other records pertinent to a relevant business. These records can accumulate from a number of data sources. For example, a retail company may sell products over different channels such as online e-commerce platforms as well as physical store locations. The retail company may maintain separate customer records for each of its different retail channels.
Records may be maintained in separate database tables. Merging two database tables may be time consuming and costly. The present disclosure describes systems and methods of managing a database that overcomes a number of the drawbacks of prior art solutions. Specifically, the present disclosure relates to clustering data records that likely refer to the same real-world information. The advantages and benefits of the present disclosure will be discussed in further detail.
Many aspects of the present disclosure can be better understood with reference to the attached drawings. The components in the drawings are not necessarily drawn to scale, with emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
Various embodiments of the present disclosure relate to clustering common database records that exist across one or more database tables. Clustering records can be a time consuming and burdensome process. This may be the case where there is a likelihood that redundant records exist within the two or more database tables that are being clustered. For example, two records may reflect the same user account such that they contain overlapping information, but not identical information. The present disclosure describes embodiments that employ machine learning to effectively cluster records.
The present disclosure employs hierarchical clustering of records. Within the hierarchy are different tiers, where each tier corresponds to a particular degree of confidence. For example, one or more database tables may contain records for various customers, with a likelihood of duplicative records. A lower confidence clustering scheme has a lower threshold when clustering duplicative records. This may lead to fewer, but larger, clusters. Under a lower confidence clustering scheme, there is a risk that two records that are deemed duplicative refer to different customers. A higher confidence clustering scheme, on the other hand, will have more clusters that are generally smaller in size. The benefit is that the records within a cluster are more likely to refer to the same customer while the downside is it is more likely to have different clusters represent the same customer.
By applying hierarchical clustering according to embodiments of the present disclosure, users who desire different degrees of confidence for different applications may select clusters appropriately. For example, perhaps for email marketing purposes, a lower confidence of clustering is desirable because reducing the number of clusters is important at the cost of incorrectly assuming that two records refer to the same customer. Similarly, a higher confidence of clustering is desirable in the case of communicating sensitive data in order to avoid the risk of incorrectly assuming that two records refer to the same customer.
According to various embodiments, hierarchical clustering is achieved by using an ordinal classifier to evaluate the degree that two inputs are a match. In addition, in some embodiments, hierarchical clustering involves performing conflict resolution to detect hard conflicts. The presence of a hard conflict strongly suggests an overly broad clustering and is not desirable. After generating a hierarchical clustering, hierarchical cluster identifiers (IDs) are assigned to each record to designate how the record falls within the hierarchy. The hierarchical cluster ID may include a series of values, wherein each value reflects a respective tier within the hierarchical clustering. Users can specify where in the hierarchy they prefer to be when selecting clusters of records. While the foregoing provides a high level summary, the details of the various embodiments may be understood with respect to the Figures.
The computing system 101 may comprise, for example, a server computer or any other system providing computing capability. Alternatively, the computing system 101 may employ a plurality of computing devices that may be arranged, for example, in one or more server banks or computer banks or other arrangements. Such computing devices may be located in a single installation or may be distributed among many different geographical locations. For example, the computing system 101 may include a plurality of computing devices that together may comprise a hosted computing resource, a grid computing resource and/or any other distributed computing arrangement. In some cases, the computing system 101 may correspond to an elastic computing resource where the allotted capacity of processing, network, storage, or other computing-related resources may vary over time. The computing system 101 may implement one or more virtual machines that use the resources of the computing system 101.
Various applications and/or other functionality may be executed in the computing system 101 according to various embodiments. Also, various data is stored in the database 103 or other memory that is accessible to the computing system 101. The database 103 may represent one or more databases 103.
The components executed on the computing system 101 include a software application 106 and a classifier 109, which may access the contents of the database 103. According to various embodiments, the software application 103 is configured to generate hierarchical clusters using conflict resolution. The software application 106 employs a classifier 109 that may be integrated into the software application 109 or a separate module. The classifier 109 may be an ordinal classifier. According to various embodiments, an ordinal classifier is a software component that receives two inputs and generates at least an ordinal label that reflects a degree of match between the two inputs. For example, an ordinal label may include, but is not limited to a “Strong-Match”, “Moderate-Match,” “Weak-Match”, “Unknown”, “Hard-Conflict.” An “Unknown” label represents a case where there is no match and the compared data contains no hard conflict. A “Hard-Conflict” represents a case where there is no match and the compared data is inconsistent in a manner indicative of a hard conflict. Other user-defined ordinal labels may be used to express various classifications for performing hierarchical clustering or conflict resolution.
The data stored in the database 103 includes one or more database tables 112. A database table 112 includes several records, where each record has one or more corresponding fields. When stored in a relational database 103, a database table 112 may be linked to one or more relational tables 115. For example, if an airline company maintained a database table 112 that stored customer records, there may be a relational table 115 storing the flight history for each customer. The contents of the relational table 115 links to a corresponding record using, for example, a record ID or foreign key included in the table 112.
The software application 106 executing in the computing system 101 may generate a processed database table 118 by processing one or more database tables 112. For example, the processed database table 118 may be a merged database table that is generated by de-duplicating at least one database table 112. Thus, the processed database 118 includes information that allows one or more records to be consolidated in the event they are deemed to be a match. According to various embodiments of the present disclosure, the degree of strength in a match is reflected in the merged database using, for example, a cluster ID.
According to various embodiments, the processed database table 118 is a relational database table that maintains the same relational links of the one or more database tables 112 after it is processed.
The computing environment 100 also includes one or more client device(s) 124. A client device 124 allows a user to interact with the components of the computing system 101 over a network 102. A client device 124 may be, for example, a cell phone, laptop, personal computer, mobile device, or any other computing device used by a user. The client device 124 may include an application such as a web browser or mobile application that communicates with the software application 106 to access, manipulate, edit, or otherwise process database tables 112. The software application 106 sends and receives information to and from the client device 124.
Next, a general description of the operation of the various components of the computing system 101 is provided. Various businesses or other entities utilize the computing system to store information in a database 103. For example, businesses may want to store records reflecting customers, products, transactions, events, items, or any other piece of information relevant to the business. Records are collected over time and stored in one or more database tables 112. For example, when a business gets a new customer, a software program may create a record reflecting the new customer. This record may include the customer's name, address, contact information, or any other information that identifies the customer. Such information is stored as fields within a database table.
In practice, a single record is sufficient to represent a customer. However, it is possible that duplicate (e.g., redundant) records are inadvertently or unintentionally created and/or exist within one or more databases 103. For example, a customer may register with a business via an online portal, which creates a customer record for that customer. Later, the same customer may inadvertently register again with the online portal, thereby creating a redundant customer record in the database table 112. Also, a company may have a first database table 112 for its brick and mortar customers and a second database table 112 for its e-commerce customers. It is possible that the same customer has a corresponding record in these two different database tables 112. As another example, two businesses maintaining their own customer records may merge such that the same customer may exist in two different database tables 112. The resulting processed database table could have redundant records reflecting the same customer.
Duplicate records are not necessarily identical. While they possess overlapping information, there may be field values that are different. For example the field values of “Joe” and “Joseph” are not identical, yet they may be part of duplicate records. Because multiple records may represent the same real-world entity, it is desirable to group related records together so that they are clustered. A classifier 109 may be used to determine whether two records should be classified as a match based on the degree of related or common field values between the two records. The classifier 109 may determine the likelihood that a pair of records represent the same real-world entity such as, for example, a particular customer. The classifier 109 may calculate a raw score that quantifies the degree of similarity between two records. The raw score may be converted to a normalized score. An ordinal label may be assigned to the normalized score. An example of this is depicted in Table 1 below, where a normalized score, x, is assigned an ordinal label if it falls within a particular range:
TABLE 1
Normalized Score (X)
Ordinal Label
X ≤ 1
Hard-Conflict
1 < X ≤ 2
Unknown
2 < X ≤ 3
Weak-Match
3 < X ≤ 4
Moderate-Match
4 < X ≤ 5
Strong-Match
When performing a pairwise comparison of records, different combinations of field values among the two records are compared. For example, in one embodiment, the value of F1 of a first record is compared to the value of F1 of a second record, then the value of F2 of the first record is compared to the value of F2 of the second record, and so on. The comparison of two values yields a feature with respect to the record pair. A feature is a programmed calculation taking as inputs M records and/or other data such as external metadata and returns a numeric value as output. The variable M=2 in the case of handling a record pair. That numeric output may be, for example, a real value bounded between 0 and 1, or a binary value with two distinct outputs, 0 being considered “false” and 1 being considered “true.” A feature score is the specific output value generated by a feature for a given set of records or record pair. A feature score refers to the degree that two field values are the same.
For example, comparing the first name field value of “Joseph” to the first name field value of “Joe” may yield a “first_name_match” feature having a feature score of 0.88 on a scale of 0 to 1, where 0 means no-match and 1 means a perfect match. In other embodiments the first name feature may be a binary value of “true/T”, meaning match, or “false/F”, meaning no-match. In addition, features may be determined based on a combination of field values. Here, a feature may be “full_name_match,” which is a feature based on concatenating a first name field value with a last name field value.
Features are combined to form a feature signature. The feature signature quantifies the extent that a pair of records likely represent the same real-world entity. As an example, a feature signature may be made up of features such as “first_name_match,” “last_name_match,” “full_name_match,” “email_address_match,” etc. A feature signature resulting from a pairwise comparison is inputted into a classifier 109 to determine an ordinal label for the two inputs.
While the description above discusses pairwise comparisons between two records, hierarchical clustering, according to various embodiments, performs pairwise comparisons between inputs that may be clusters of records. A cluster may refer to a group of two or more records as well as a single record. A cluster of one record is referred to as a singleton cluster. For example, a pairwise comparison may compare one singleton cluster (a first input) to a cluster of multiple records (a second input). As described in further detail below, using clusters as inputs to a classifier 109 provides hierarchical clustering.
The software application 106 selects a first input 203 and a second input 206 to perform a pairwise comparison 209. An input may be a cluster made up of multiple records or a singleton cluster. The first input 203 and second input 206 may be selected by the software application according to a hierarchical clustering algorithm that iteratively selects inputs, as discussed in various embodiments below.
Once the two inputs are selected, the software application 106 performs a pairwise comparison 209. This may involve comparing the field values between the first input 203 and second input 206 to determine a feature for a particular field or set of fields. The pairwise comparison 209 generates a feature signature 212 which may be made up of various features of the fields' values being compared.
The feature signature 212 reflects how two inputs are similar or dissimilar based on the extent the field values are similar. In other words, the feature signature 212 corresponds to a series of features between a pair of inputs being compared. A first pair of inputs 203a, 206a may have the same feature signature 212 as a different set of inputs 203b, 206b even though the first pair represents a different entity than the second pair. In this case, it is inferred that the first pair of inputs 203a, 206a are similar to each other in the same way that the second pair of inputs 203b, 206b are similar to one another. For example, given the trivial set of features “Fuzzy Last Name match” and “Fuzzy First Name match”, the first pair of inputs 203a, 206a {“Stephen Meyles”, “Steve Myles” } will generate a feature signature of [1 1], where “1” refers to a binary value indicating a match. In addition, a second pair of inputs 203b, 206b {“Derek Slager”, “Derke Slagr”} will also generate a feature signature 212 of [1 1]. This does not necessarily mean that the first pair of inputs 203a, 206a are related to the same real-world identity as the second pair of inputs 203b, 206b. Instead, it suggests that the inputs have the same data variations (fuzzy matches of first and last name). Records with the same data variations will have the same signature.
After generating the feature signature 212, the software application 106 uses a classifier 109 (
In some embodiments, the raw score 223 may be normalized to a normalized score 226. In addition, an ordinal label may be assigned to the raw score 223 or normalized score 226, as discussed above. To elaborate further, after calculating raw score 223 or normalized score 226, the software application 106 compares the raw score 223 or normalized score 226 to predetermined threshold ranges to yield a corresponding ordinal label that classifies the feature signature 212.
According to various embodiments, the classifier 109 is configured using ordinal training data 229 and/or hard conflict rules 231. Ordinal training data 229 is generated from users who manually label test data to build business logic (e.g., a history) of how people would classify two inputs. The classifier 109 is “trained” in the sense that it applies ordinal training data 229 and extrapolates it and applies it to new combinations of input pairs 203a, 206a. For example, if the ordinal training data 229 indicates that a particular feature 212 was repeatedly labeled as a “Moderate-Match” among a plurality of other labels, then the classifier will generate a raw score 223 that corresponds to the ordinal label of “moderate-match.”
According to various embodiments, the classifier 109 can classify a pair of records or a pair of clusters. The classifier 109 allows each field to be a vector, for example, an “email” field may be [“r-1@test-one.com” “r-1@test-two.com” ]. When applying the classifier 109 to cluster pairs, each semantic field is a concatenation of the semantic values from each cluster member. For example, a first input made of two records, R-1 and R-2, may have email address values of “emai-r-1@test.com” and “email-r-2@test.com”, respectively. The email field for this cluster becomes [“email-r-1@test.com”, “email-r-2@test.com” ].
When configured to apply hard conflict rules 231, the classifier may analyze the feature signature 212 or the input pair 203a, 206a and check whether a rule is violated. An example of a hard conflict rule is whether the field values for a “social security number” field is an exact match. If it is not an exact match, the classifier will apply an ordinal label of “Hard-Conflict” regardless of the remainder of the feature signature 212. If there are real-world scenarios where two records should never be clustered, it is appropriate to apply a hard conflict rule.
At 301, the software application 106 accesses a database 103 (
In the event there are multiple database tables 112, at 305, the software application 106 preprocesses the database tables 112. For example, the software application 106 may fuse or otherwise concatenate the database tables in a manner described in co-pending U.S. patent application Ser. No. 15/729,931, which is tided, “EFFECTIVELY FUSING DATABASE TABLES” and which is incorporated by reference in its entirety.
At 307, the software application 106 performs one or more blocking operations 307. A blocking operation is used to identify a block of records among the one or more database tables 112 that are likely to refer to the same real-world entity. A blocking operation may provide a rough estimate of what records should be clustered together. A blocking operation may use a blocking rule that is based on whether the records across one or more database tables 112 contain an exact match with respect to at least one field in the at least one database table. For example, a blocking rule may check whether there is a first name and last name match across all records. This may form a block of records, which serves as a starting point for performing hierarchical clustering.
According to various embodiments, different blocking operations are performed before performing hierarchical clustering. Records in one or more database tables 112 may be blocked according to a first blocking operation such as a name match rule and a second blocking operation such as an email match rule. Thus, a record within a database table 112 may be associated with one or more blocks.
At 308, the software application 106 performs pairwise comparisons and classifications for a given block of records. According to various embodiments, the software application 106 operates in accordance with the discussion above of
At 310, the software application 106 determines a subset of records such as, for example, a a connected component based on the positive edges from the classification results. The concept of a connected component refers to grouping records together based on whether there is a sufficiently strong match between records pairs and by applying transitive association. For example, If R1 and R2 have a match and R2 and R3 have a match, then the software application 106 connects R1, R2, and R3 through transitive association. By performing one or more blocking operations, the software application 106 determines a connected component (e.g., R1, R2, and R3) which is a set of connected records within the blocks.
To elaborate further, the software application 106 collects the positive record pairs (record pairs with the classifier score higher than the pre-specified threshold). After that, connected components are algorithmically constructed from the positive record pairs. In each connected component, every record is connected with others through one or more positive edges (to the extent one exists) directly or transitively. The software application 106 continues across different connected components until there is no positive edge left.
Since records are allowed to be connected through transitivity inside the connected component, sometimes hard conflicts will occur (e.g.,
At 313, the software application 106 generates hierarchical clusters for a given connected component. An example of hierarchical clusters is presented with respect to
The following is an example of applying the flowchart of
A cluster of multiple records is depicted as a cloud bubble drawn around multiple records. Single records form singleton clusters. The strength of a match between two records is depicted by one or more lines between two records. Stronger matches are depicted with more lines while weaker matches are depicted with fewer lines. For example, R1 and R3 form a strong match, as depicted with 3 lines while R2 and R4 depict a weaker match with one line.
The hierarchical clustering in this example is made up of multiple tiers where a bottom tier 401 applies a lower confidence matching, a middle tier 402, applies a moderate confidence matching, and an upper tier 403 applies a higher confidence matching. When a lower confidence matching scheme is applied, the software application 106 is configured to cluster records that have a relatively weaker link. Accordingly, this may yield fewer clusters that are generally larger in size.
In the lower tier 401, the lower confidence matching yields a first cluster 409a made up of records R1-R5, a second cluster 409b made up of record R6 and a third cluster 409c made up of record R7. Within the tier, the seven records R1-R7 have been consolidated into three groups or clusters. Consolidating records can lead to downstream processing efficiency depending on how the end user wishes to use the records. However, the tradeoff is that the clustering may include weaker matches.
In the middle tier 402, the moderate confidence matching yields a first cluster 411a made up of records R1-R4, a second cluster 411b made up of record R5, a third cluster 411c made up of record R6, and a fourth cluster 411d made up of record R7. Within the tier, the seven records R1-R7 have been consolidated into four clusters. When compared to a lower tier 401, the moderate tier 402 has more clusters, where the cluster size is smaller. For example, the first cluster 409a of the lower tier 401 is split into two clusters 411a and 411b in the middle tier 402. Under the moderate matching scheme of the middle tier 402, weaker links, such as the link between R4 and R5 are not permitted to exist within a cluster.
In the upper tier 403, the higher confidence matching yields a first cluster 413a made up of records R1-R3, a second cluster 413b made up of record R4, a third cluster 413c made up of record R5, a fourth cluster 413d made up of record R6, and a fifth cluster 413e made up of record R7. Within the tier, the seven records R1-R7 have been consolidated into five clusters. When compared to a lower tier 401 and moderate tier 402, the upper tier has more clusters, where the cluster size is smaller. Under the upper tier, only strong matches are permitted when forming clusters.
According to various embodiments, the software application 106 connects various records across different tiers 401, 402, 403 using a key value database. A processed database table 118 (
Rather than automatically clustering R2 and R3 based on transitive enclosure, various embodiments of the present disclosure are directed to performing conflict resolution to evaluate whether R2 and R3 should be clustered together. In
Embodiments of the present disclosure seek to avoid hard conflicts. Without proper treatment of the transitivity, a connected component can grow into a long chain or lead to an even more degenerate phenomenon, black hole clusters. A black hole cluster usually starts with records having matches where such records have a variety of different field values. Once formed, it begins to pull in an increasing amount of matched records, and as the cluster continues to grow, the matched records it pulls in grow inordinately. It is very problematic because it will erroneously “match” more and more records, escalating the problem. Thus, by the end of the transitive closure, one might end up with black hole entities with several records belonging to multiple different entities.
Specifically, a database table includes one or more records 601, where each record has one or more fields 613. A record 601 may or may not have all its fields 613 populated. For example, record A2 has a null email field. Each record 601 is intended to be dedicated to a real-world entity. For example, record A1 represents an individual named “John Smith” and record C4 represents an individual named “Amy Brown.” Records 601 contain different information such that the field values are not identical, even though they may reflect the same real-world entity. For example, in the email field of record A1 and record C1 have different values. However, it is possible that records A1 and C1 represent the same real-world entity, which is an individual named John Smith. It is also possible that records A1 and A2 represent different individuals even though some of the field values are the same.
As discussed above with respect to
Preprocessing may involving concatenating multiple database tables 112a-c into a single table for subsequent processing. In various embodiments, the fields of a concatenated database table are semantic fields such that they are normalized across a several database tables 112a-c. For example, one database table 112 may have its F2 field originally called “last_name” while a different database table 112 may have its F2 field originally called “surname.” By using semantic fields, various database tables 112 conform to a universal format of identifying its fields. This way, the software application 106 (
Moreover, field values may be normalized across one or more database tables. The field “Suffix” refers to a general suffix. The values of this field may be normalized to convert all values into an abbreviation format. For example, “JUNIOR” is converted into “Jr”.
As part of the blocking operating 307, the software application 106 may coarsely select records that share some related information and which could represent the same real-world entity. For example, a blocking function may operate to determine if records are sufficiently similar enough that they might be classified as a related record pair.
This may involve determining which field values are similar or are the same. One example of a blocking function is to compare a “social security number (SSN)” field. Two records having the same SSN field values likely means that the two records form a related pair. Another example of a blocking function is to compare the first three characters of a first name field and first three characters of a last name field between two records. By performing a plurality of blocking operations, a relatively large set of records is reduced in a set of blocks that making a clustering analysis more efficient. According to various embodiments, a blocking operation employs a simple rule check as opposed to a more rigorous classification process.
After performing one or more blocking operations, individual records associated with one or more blocks are connected together to form a connected component. In the example of
The classifier 109 may be trained using ordinal training data 229 (
The first set of classifications 902 represents a first iteration in the hierarchical clustering scheme, according to various embodiments. As described in the following figures, an initial cluster is formed as a result of this first set of classifications 902 and then the process is repeated using the records of the connected component and the initial cluster.
As part of the first iteration 1003, the software application 106 performs a first set of classifications 902 among the connected component to generate corresponding match scores. As shown in the first iteration 1003, these match scores range from 0.05 to 4.5. According to some embodiments, the software application 106 determines whether a hard conflict exists in response to performing the plurality of classifications. The software application 106 identifies the strongest match, which may be the pair corresponding to the highest match score. In this example, records R1 and R3 form a pair having the highest match score. The software application merges records R1 and R3 to form an initial cluster. Because R1 and R3 form a “Strong-Match” R1 and R3 will form a cluster within an upper tier of the hierarchical clustering, where the upper tier is reserved for records forming a strong match. A strong match may be defined as records having a match score that has a threshold match score of 4 or greater. Shown next to the first iteration is the initial cluster of R1 and R3 being formed. These two records are linked by three lines indicating a strong match in a nomenclature match discussed above with respect to
After forming an initial cluster, the software application performs a second iteration 1006. The second iteration 1006 includes performing a second set of classifications. As shown in
Next, the software application 106 identifies the highest match score, which is, in this case, a score of 4. This score relates to comparing a first input 203 (
This example also demonstrates how the absence of conflict resolution may lead to undesirable results. For example, R6 and R2 have a high match score of 4. Transitive enclosure without conflict resolution would have let to a cluster of R1, R2, R3, and R6. Based on analyzing the match scores of the second set of comparisons and applying conflict resolution, the software application 106 expands the initial cluster to include R1, R2, and R3 as part of the second iteration 1006. Because R1 and R2 have a high score exceeding the threshold match score of a strong match, records R1, R2, and R3 form at least part of the upper tier in the hierarchical clustering.
The software application 106 then performs a third iteration 1009 based on a third set of classifications that yields corresponding match scores. Like the previous iteration, the combination of input pairs being classified includes the growing initial cluster. This reduces the number of pairwise comparisons. As shown in the third iteration 1009, the highest match score is 3.9 belonging to the pair {R1, R2, R3} and {R4}. This match score corresponds to a “Moderate-Match” based on the applied threshold match scores. Because there are no input pairs yielding a “Strong-Match”, the software application 106 concludes the determination of an upper tier where the upper tier is reserved for strong matches. That is, the upper tier of the hierarchical clustering is known by the third iteration 1009. This upper tier is made up of a cluster including records R1, R2, and R3. The remaining records individually form singleton clusters in the upper tier.
In this example, the software application 106 begins building a tier below the upper tier, which is a middle tier. Record R4 is included with records R1, R2, and R3 as part of the middle tier, but not the upper tier. Record R4 has a moderate-match with respect to R1 and R3.
The software application 106 then performs a fourth iteration 1012 based on a fourth set of classifications that yields corresponding match scores. The highest match in the fourth iteration is 2.2, which corresponds to a weak-match label. Because there are no input pairs yielding a moderate-match, the software application 106 concludes the determination of the middle tier.
In addition, because there are no other input combinations that would yield a minimum match score, the process to determine the hierarchical clustering is complete. Here, record R6, the only remaining input, is associated with a hard conflict with respect to the initial cluster. Thus, the application 106 also concludes the determination of the lower tier.
The example of
The hierarchical cluster ID 1104 encodes the position of a record within a hierarchical cluster. In this respect, the hierarchical cluster ID reflects where a record falls within a cluster among the tiers of a hierarchical cluster. The software application 106 assigns a respective hierarchical cluster ID to each record within the connected component according to the hierarchical clustering. The hierarchical cluster ID 1104 includes a series of values where each value reflects a respective tier among the plurality of tiers. For example, the ordinal classifier is configured to label pairs according to three degrees of match strength: Weak-Match, Moderate-Match, and Strong-Match. The software application 106 clusters the connected component according to hierarchical tiers corresponding to these ordinal classifications. The hierarchical cluster ID 1104 is a concatenation of values that represent which cluster a particular record belongs to for a given tier.
As shown in
Records R1-5 have a hierarchical cluster ID 1104 with a “t1” value of 1. Sharing the same value indicates that these records all belong to the same cluster within the lower tier. Record R6 has a hierarchical cluster ID 1104 with a “t1” value of 2 and record R7 has a hierarchical cluster ID with an “t1” value of 3. This means that R6 and R7 form separate clusters along the lower tier. The “t2” value and “t3” values further differentiate which clusters a record belongs to with respect to higher tiers. This is discussed in more detail with respect to
The user of a client device 124 uses the client device 124 to identify clusters of records within a processed database table 118 for subsequent processing. For example, a user may wish to email various customers identified in a processed database table. Because individual records may be duplicative, the user may access a cluster of records that refer to the same entity in accordance with a particular confidence level. This may lead to sending fewer emails or reducing the risk of sending multiple emails to the same entity.
Depending on the reason why a user wishes to access records, hierarchical cluster IDs that reflect hierarchical clustering allow a user to reference a cluster according to a desired level of confidence. The software application 106 is configured to receive a hierarchical cluster ID from a client device 124, via a user interface 1203, to allow a selection of a cluster among the hierarchical clustering according to the hierarchical cluster ID. According to various embodiments, the hierarchical cluster ID is viable in length such that the length corresponds to a respective tier. In this case, a user may provide a portion of the hierarchical cluster ID 1104 to refer to lower tier clusters. As the user provides more values in the hierarchical cluster ID, the user may reference upper tier clusters. Thus, the length of the hierarchical cluster ID corresponds to a respective tier. An upper tier (one associated with a higher confidence in the strength of match) may be referenced by a complete hierarchical cluster ID while a lower tier (one associated with a lower confidence in the strength of match) may be referenced by a partial hierarchical cluster ID.
If the user submits a longer hierarchical cluster ID 1104b such as “c-1-1,” then the use of additional values allows the software application 106 to identify a higher tier that reflects a moderate confidence level. As shown in
An even longer hierarchical cluster ID such as a complete hierarchical cluster ID 1104c, such as “c-1-1-2”, specifies a cluster on the highest tier. In this case, the singleton cluster R4 is referenced by this hierarchical cluster ID. Users may use complete hierarchical cluster IDs when they want the highest confidence in terms of clustering. In other words, they want clusters only if there is a Strong-Match.
At 1301, the software application derives a connected component from one or more database tables 112 (
At 1306, the software application 106 performs pairwise comparisons and classifications on remaining clusters to generate corresponding match scores. For the first iteration, the pairwise comparisons are performed on the various combinations of record pairs in the connected component. An example of this is presented with respect to
At 1307, the software application 106 removes hard conflicts from consideration. For example, the software application 106 looks for two inputs where a hard conflict arises, such as, for example,
At 1310, the software application 106 identifies the highest score above a minimum threshold. Here, the software application is searching for the strongest match among the remaining clusters. The minimum threshold may be the lowest threshold for an acceptable match, such as a weak-match. Thus, the software application 106 continues iterate as long as there is at least a weak-match in the remaining clusters of the connected component.
At 1313, the software application 106 merges clusters using the highest match score. The inputs having the highest match score are merged into a single cluster. The inputs may be singleton clusters or multi-record clusters. This marks the completion of an iteration. Thereafter, the software application 106 proceeds to 1306 where it performs a subsequent iteration. In a subsequent iteration, the remaining clusters include some initial or intermediate cluster that was generated from a previous iteration.
Referring back to 310, when there are no inputs having a sufficiently high match score, the software application 106 assigns hierarchical cluster IDs 1104 (
At 1320, the software application 106 generates a processed database 118 (
Stored in the memory 1406 are both data and several components that are executable by the processor 1403. In particular, stored in the memory 1406 and executable by the processor 1403 is the software application 106 and classifier 109. Also stored in the memory 1406 may be a database 103 and other data such as, for example a one or more database tables 112 and a processed database table 118. In addition, an operating system may be stored in the memory 1406 and executable by the processor 1403.
It is understood that there may be other applications that are stored in the memory 1406 and are executable by the processor 1403 as can be appreciated. Where any component discussed herein is implemented in the form of software, any one of a number of programming languages may be employed, such as, for example, C, C++, C#, Objective C, Java®, JavaScript®, Perl, PHP, Visual Basic®, Python®, Ruby, Flash®, or other programming languages.
Several software components are stored in the memory 1406 and are executable by the processor 1403. In this respect, the term “executable” means a program file that is in a form that can ultimately be run by the processor 1403. Examples of executable programs may be, for example, a compiled program that can be translated into machine code in a format that can be loaded into a random access portion of the memory 1406 and run by the processor 1403, source code that may be expressed in proper format such as object code that is capable of being loaded into a random access portion of the memory 1406 and executed by the processor 1403, or source code that may be interpreted by another executable program to generate instructions in a random access portion of the memory 1406 to be executed by the processor 1403, etc. An executable program may be stored in any portion or component of the memory 1406 including, for example, random access memory (RAM), read-only memory (ROM), hard drive, solid-state drive, USB flash drive, memory card, optical disc such as compact disc (CD) or digital versatile disc (DVD), floppy disk, magnetic tape, or other memory components.
The memory 1406 is defined herein as including both volatile and nonvolatile memory and data storage components. Volatile components are those that do not retain data values upon loss of power. Nonvolatile components are those that retain data upon a loss of power. Thus, the memory 1406 may comprise, for example, random access memory (RAM), read-only memory (ROM), hard disk drives, solid-state drives, USB flash drives, memory cards accessed via a memory card reader, floppy disks accessed via an associated floppy disk drive, optical discs accessed via an optical disc drive, magnetic tapes accessed via an appropriate tape drive, and/or other memory components, or a combination of any two or more of these memory components. In addition, the RAM may comprise, for example, static random access memory (SRAM), dynamic random access memory (DRAM), or magnetic random access memory (MRAM) and other such devices. The ROM may comprise, for example, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or other like memory device.
Also, the processor 1403 may represent multiple processors 1403 and/or multiple processor cores and the memory 1406 may represent multiple memories 1406 that operate in parallel processing circuits, respectively. In such a case, the local interface 1409 may be an appropriate network that facilitates communication between any two of the multiple processors 1403, between any processor 1403 and any of the memories 1406, or between any two of the memories 1406, etc. The local interface 1409 may comprise additional systems designed to coordinate this communication, including, for example, performing load balancing. The processor 1403 may be of electrical or of some other available construction.
Although the software application 106 described herein may be embodied in software or code executed by general purpose hardware as discussed above, as an alternative the same may also be embodied in dedicated hardware or a combination of software/general purpose hardware and dedicated hardware. If embodied in dedicated hardware, each can be implemented as a circuit or state machine that employs any one of or a combination of a number of technologies. These technologies may include, but are not limited to, discrete logic circuits having logic gates for implementing various logic functions upon an application of one or more data signals, application specific integrated circuits (ASICs) having appropriate logic gates, field-programmable gate arrays (FPGAs), or other components, etc. Such technologies are generally well known by those skilled in the art and, consequently, are not described in detail herein.
The flowcharts discussed above show the functionality and operation of an implementation of the software application 106. If embodied in software, each box may represent a module, segment, or portion of code that comprises program instructions to implement the specified logical function(s). The program instructions may be embodied in the form of source code that comprises human-readable statements written in a programming language or machine code that comprises numerical instructions recognizable by a suitable execution system, such as a processor 1403 in a computer system or other system. The machine code may be converted from the source code, etc. If embodied in hardware, each block may represent a circuit or a number of interconnected circuits to implement the specified logical function(s).
Although the flowcharts show a specific order of execution, it is understood that the order of execution may differ from that which is depicted. For example, the order of execution of two or more boxes may be scrambled relative to the order shown. Also, two or more boxes shown in succession may be executed concurrently or with partial concurrence. Further, in some embodiments, one or more of the boxes may be skipped or omitted. In addition, any number of counters, state variables, warning semaphores, or messages might be added to the logical flow described herein, for purposes of enhanced utility, accounting, performance measurement, or providing troubleshooting aids, etc. It is understood that all such variations are within the scope of the present disclosure.
The software application 106 may also comprise software or code that can be embodied in any non-transitory computer-readable medium for use by or in connection with an instruction execution system such as, for example, a processor 1403 in a computer system or other system. In this sense, the logic may comprise, for example, statements including instructions and declarations that can be fetched from the computer-readable medium and executed by the instruction execution system. In the context of the present disclosure, a “computer-readable medium” can be any medium that can contain, store, or maintain the logic or application described herein for use by or in connection with the instruction execution system.
The computer-readable medium can comprise any one of many physical media such as, for example, magnetic, optical, or semiconductor media. More specific examples of a suitable computer-readable medium would include, but are not limited to, magnetic tapes, magnetic floppy diskettes, magnetic hard drives, memory cards, solid-state drives, USB flash drives, or optical discs. Also, the computer-readable medium may be a random access memory (RAM) including, for example, static random access memory (SRAM) and dynamic random access memory (DRAM), or magnetic random access memory (MRAM). In addition, the computer-readable medium may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or other type of memory device.
Further, any logic or application described herein, including software application 106, may be implemented and structured in a variety of ways. For example, one or more applications described may be implemented as modules or components of a single application. Further, one or more applications described herein may be executed in shared or separate computing devices or a combination thereof. For example, the software application described herein may execute in the same computing device 1400, or in multiple computing devices in the same computing system 101. Additionally, it is understood that terms such as “application,” “service,” “system,” “engine,” “module,” and so on may be interchangeable and are not intended to be limiting.
Disjunctive language such as the phrase “at least one of X, Y, or Z,” unless specifically stated otherwise, is otherwise understood with the context as used in general to present that an item, term, etc., may be either X, Y, or Z, or any combination thereof (e.g., X, Y, and/or Z). Thus, such disjunctive language is not generally intended to, and should not, imply that certain embodiments require at least one of X, at least one of Y, or at least one of Z to each be present.
It should be emphasized that the above-described embodiments of the present disclosure are merely possible examples of implementations set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
Yan, Yan, Suciu, Dan, Roche, Graeme Andrew Kyle, Meyles, Stephen Keith, Stokes, Jeffrey Allen, Sakoda, Carlos Minoru
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10298910, | Jun 29 2018 | Zoox, Inc. | Infrastructure free intrinsic calibration |
8595038, | Jun 07 2007 | OPTUMINSIGHT, INC. | System and method for grouping claim records associated with a procedure |
9946958, | Oct 14 2016 | CLOUDERA, INC | Image processing system and method |
9953372, | May 22 2017 | INSURANCE ZEBRA INC | Dimensionality reduction of multi-attribute consumer profiles |
20040117449, | |||
20040172393, | |||
20050182764, | |||
20060242147, | |||
20090198686, | |||
20090271363, | |||
20120023107, | |||
20120226692, | |||
20130124474, | |||
20140037214, | |||
20150205846, | |||
20160117600, | |||
20160342678, | |||
20170255617, | |||
20190235978, | |||
20200097997, | |||
20200349174, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 30 2019 | AMPERITY, INC. | (assignment on the face of the patent) | / | |||
Jun 03 2019 | MEYLES, STEPHEN KEITH | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 | |
Jun 03 2019 | ROCHE, GRAEME ANDREW KYLE | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 | |
Jun 03 2019 | SAKODA, CARLOS MINORU | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 | |
Jun 03 2019 | STOKES, JEFFREY ALLEN | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 | |
Jun 03 2019 | SUCIU, DAN | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 | |
Jun 03 2019 | YAN, YAN | AMPERITY, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 049469 | /0843 |
Date | Maintenance Fee Events |
Apr 30 2019 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
May 13 2019 | SMAL: Entity status set to Small. |
Date | Maintenance Schedule |
May 11 2024 | 4 years fee payment window open |
Nov 11 2024 | 6 months grace period start (w surcharge) |
May 11 2025 | patent expiry (for year 4) |
May 11 2027 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 11 2028 | 8 years fee payment window open |
Nov 11 2028 | 6 months grace period start (w surcharge) |
May 11 2029 | patent expiry (for year 8) |
May 11 2031 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 11 2032 | 12 years fee payment window open |
Nov 11 2032 | 6 months grace period start (w surcharge) |
May 11 2033 | patent expiry (for year 12) |
May 11 2035 | 2 years to revive unintentionally abandoned end. (for year 12) |